Commit Graph

  • 34acea5366 Merge pull request #821 from tschaub/generated-file-linting Tim Schaub 2013-06-25 12:20:45 -07:00
  • 4e5ef05e5e Expression for evaluating feature ids Tim Schaub 2013-06-25 11:55:01 -06:00
  • 1eaf82ead5 Enum for checking built-in lib functions internally Tim Schaub 2013-06-25 11:54:34 -06:00
  • 70fef73869 Testing operator precedence Tim Schaub 2013-06-24 16:22:19 -06:00
  • c81057780a More tests for binary operators Tim Schaub 2013-06-23 17:11:57 -06:00
  • 1f23a245e4 More tests for unary expression Tim Schaub 2013-06-23 16:27:16 -06:00
  • 2577d3f7d6 Rename ol.expression to ol.expr Tim Schaub 2013-06-21 17:29:16 -06:00
  • 9928730bd3 Tests for ol.expression.register() Tim Schaub 2013-06-21 16:36:07 -06:00
  • 233595ac75 Allow registration of custom functions for expressions Tim Schaub 2013-06-21 11:13:20 -06:00
  • 8e8b26805f Uniformly support evaluating symbolizers without features Tim Schaub 2013-06-21 10:42:11 -06:00
  • cab983f826 We are guarnteed that all TextLiteral properties are defined (see #770) Tim Schaub 2013-06-21 09:53:28 -06:00
  • c7da7e4c2e Using new expressions in text symbolizer Tim Schaub 2013-06-21 09:50:55 -06:00
  • b04a36ede7 Replace use of filter with expressions Tim Schaub 2013-06-18 13:37:06 -06:00
  • a663d8fcae Accept an expression string for rule filter Tim Schaub 2013-06-17 17:30:44 -06:00
  • 38b784d672 Support +/- unary operators for literals Tim Schaub 2013-06-17 16:17:09 -06:00
  • d70a9eba01 Lib for well-known functions Tim Schaub 2013-06-14 17:32:54 -06:00
  • bd5d9d572e Lint Tim Schaub 2013-06-12 21:42:12 -06:00
  • 5e309e244b Using ol.expression.parse Tim Schaub 2013-06-12 17:45:17 -06:00
  • 53abedaada Correct doc and arg order Tim Schaub 2013-06-12 17:43:57 -06:00
  • 72d32ec71a Correct index for tokens Tim Schaub 2013-06-12 17:00:43 -06:00
  • f0567f5053 Expect the unexpected Tim Schaub 2013-06-12 17:00:16 -06:00
  • 36d10bef11 Custom error for unexpected token Tim Schaub 2013-06-12 16:55:02 -06:00
  • 62eb0dd72b Give token an index and throw unexpected token from a common place Tim Schaub 2013-06-12 14:52:31 -06:00
  • bb1b0cba95 Getter for not expression argument Tim Schaub 2013-06-11 22:56:48 -06:00
  • c05fb8c61b Getters for member expression properties Tim Schaub 2013-06-11 22:56:17 -06:00
  • 2528581642 Getters for math expression properties Tim Schaub 2013-06-11 22:55:13 -06:00
  • 4a617871da Getters for logical expression properties Tim Schaub 2013-06-11 22:54:37 -06:00
  • 3de330eb99 Getter for literal expression value Tim Schaub 2013-06-11 22:54:07 -06:00
  • 6d6ec357e1 Getter for identifier expression name Tim Schaub 2013-06-11 22:53:39 -06:00
  • 582a52849c Getters for comparison expression properties Tim Schaub 2013-06-11 22:53:04 -06:00
  • be636d7f46 Getters for call expression properties Tim Schaub 2013-06-11 22:52:20 -06:00
  • 6458f98996 Describing the extent of support for ES-5 expressions Tim Schaub 2013-06-11 22:05:32 -06:00
  • 2fd8f4cb00 Integration testing for binary logical operators Tim Schaub 2013-06-11 21:42:00 -06:00
  • 973606e67a Integration tests for equality operators Tim Schaub 2013-06-11 18:22:50 -06:00
  • d5e133b7d8 Satisfy the build/check-requires-timestamp task (see #785) Tim Schaub 2013-06-11 18:14:48 -06:00
  • 3a3f9bc20b Integration testing for relational operators Tim Schaub 2013-06-11 16:12:13 -06:00
  • 9d5424236c Integration testing for additive operators Tim Schaub 2013-06-11 16:11:35 -06:00
  • 7c2550fefa Integration testing for multiplicative operators Tim Schaub 2013-06-11 16:11:06 -06:00
  • 2492515e8f Integration testing for unary operators Tim Schaub 2013-06-11 16:10:18 -06:00
  • e6f03c8f22 Confirm whitespace is consumed as expected Tim Schaub 2013-06-11 16:09:26 -06:00
  • 26a7d907a2 Test unary expression parsing Tim Schaub 2013-06-11 15:45:16 -06:00
  • a0bd736948 Left-hand-side expression parsing Tim Schaub 2013-06-11 15:37:36 -06:00
  • 803b3a3f7d Binary expression parsing Tim Schaub 2013-06-11 14:38:04 -06:00
  • 40b12410f0 Increment after scanning >= and <= (and expect EOF in tests) Tim Schaub 2013-06-11 14:37:46 -06:00
  • 379ac82688 Test argument parsing Tim Schaub 2013-06-11 13:28:10 -06:00
  • 38c8927ae2 Doc and method reorg Tim Schaub 2013-06-11 13:24:01 -06:00
  • 6d0badcf2a Optional scope (works for expressions without identifiers) Tim Schaub 2013-06-11 13:22:35 -06:00
  • d920d8e578 Test left-hand-side expression parsing Tim Schaub 2013-06-11 11:37:17 -06:00
  • 13d0b8b084 Provide ol.expression.parse method Tim Schaub 2013-06-11 11:09:23 -06:00
  • 3643ea164f Cast boolean and null before creating literal expression Tim Schaub 2013-06-11 11:07:50 -06:00
  • ce67aa2617 Make way for convenience functions in ol.expression package Tim Schaub 2013-06-11 10:31:11 -06:00
  • 737d669e4a Correct types Tim Schaub 2013-06-11 10:19:12 -06:00
  • 7a1e69e288 Initial parsing tests Tim Schaub 2013-06-10 17:33:51 -06:00
  • cb9725bdfb Provide static method to check for valid operators Tim Schaub 2013-06-10 17:31:06 -06:00
  • 29b77a2dac Member expressions Tim Schaub 2013-06-10 16:37:21 -06:00
  • fbb028e15e Call expressions Tim Schaub 2013-06-10 16:17:21 -06:00
  • 2f7e74ab35 Create binary expressions when parsing Tim Schaub 2013-06-10 12:18:46 -06:00
  • f050546fe2 Logical expressions Tim Schaub 2013-06-10 12:14:00 -06:00
  • 153df45f95 Math expressions Tim Schaub 2013-06-10 12:06:31 -06:00
  • b2ff793ea1 Comparison expressions Tim Schaub 2013-06-10 11:52:58 -06:00
  • c4867bafec Smaller subset of binary operators Tim Schaub 2013-06-10 10:53:01 -06:00
  • 7800e9b0cc Comments, links, copyrights Tim Schaub 2013-06-10 10:51:37 -06:00
  • 052b973b39 Reduce to a single literal Tim Schaub 2013-06-10 10:05:10 -06:00
  • 20b66fc447 Proper specs Tim Schaub 2013-06-10 01:46:18 -06:00
  • 0abcbb9854 Stray not Tim Schaub 2013-06-10 01:38:53 -06:00
  • ed2e21dffa Parsing Tim Schaub 2013-06-10 01:12:10 -06:00
  • 1f68522837 Utility methods on the lexer Tim Schaub 2013-06-10 01:11:44 -06:00
  • a87ebfe97b Specific expression types Tim Schaub 2013-06-10 01:11:11 -06:00
  • d7e0d043f3 Consistently number Tim Schaub 2013-06-09 00:30:38 -06:00
  • 063b461ffd Fewer calls to charCodeAt Tim Schaub 2013-06-09 00:21:55 -06:00
  • 9edc9ebcc5 Use next instead Tim Schaub 2013-06-09 00:12:33 -06:00
  • f272350e00 Expose next and peek methods Tim Schaub 2013-06-09 00:11:41 -06:00
  • 5baa38b82c Test punctuator scanning Tim Schaub 2013-06-09 00:02:21 -06:00
  • 957b6db3d7 Skip whitespace Tim Schaub 2013-06-07 16:29:21 -06:00
  • 50f94911b1 Scan string literals Tim Schaub 2013-06-07 16:14:22 -06:00
  • 4d62cea700 Escape sequences in our identifiers have already been handled Tim Schaub 2013-06-07 12:05:45 -06:00
  • 0844df8cc2 Scanning identifiers Tim Schaub 2013-06-07 11:52:34 -06:00
  • a748665646 Space and comment Tim Schaub 2013-06-07 11:50:33 -06:00
  • 040c80a5ad Expectations about token type Tim Schaub 2013-06-07 10:56:51 -06:00
  • 193cf4de50 Scan numeric literals Tim Schaub 2013-06-05 19:05:56 -06:00
  • 81b344715a Renaming for clarity Tim Schaub 2013-06-05 19:05:40 -06:00
  • a5343161bf Separate lexer Tim Schaub 2013-06-05 14:57:20 -06:00
  • 84a9fb40ef More char code tests Tim Schaub 2013-06-04 23:47:47 -06:00
  • 88fd0fda64 Initial bits for parser Tim Schaub 2013-06-04 16:52:03 -06:00
  • 48130670ca Create separate target for linting generated files Tim Schaub 2013-06-25 10:43:27 -06:00
  • ca3e1f0843 Merge pull request #819 from twpayne/fix-819 Tom Payne 2013-06-25 08:07:03 -07:00
  • 40b10c13dc Merge pull request #802 from tschaub/802-multilinstring-typo Tim Schaub 2013-06-25 07:33:08 -07:00
  • 23e54e4543 Stop other interactions when dragging Tom Payne 2013-06-25 15:46:00 +02:00
  • 38893eaf8c Merge pull request #818 from twpayne/view2d-properties Tom Payne 2013-06-25 04:50:30 -07:00
  • cd13e700ac Pass options to the base class Frederic Junod 2013-06-25 12:12:03 +02:00
  • fab12b10c1 Handle projection being undefined in getView2DState Tom Payne 2013-06-25 12:26:35 +02:00
  • f462adbe53 Set default View2D rotation in constructor and getView2DState instead of in getRotation Tom Payne 2013-06-25 12:19:30 +02:00
  • e5d6ccd6ba Use getView2DState instead of getResolution/getRotation in interactions Tom Payne 2013-06-25 12:18:31 +02:00
  • 99ba5a0da8 Store rings so exerior is clockwise and interior is counter-clockwise Tim Schaub 2013-06-24 17:46:36 -06:00
  • e292d8fa12 Add method to determine winding order of linear rings Tim Schaub 2013-06-24 17:43:22 -06:00
  • a427719a22 Merge pull request #816 from ahocevar/tilegrid-units ahocevar 2013-06-24 16:05:56 -07:00
  • a14b21d80c Use ol.Projection#.getMetersPerUnit() ahocevar 2013-06-25 00:29:50 +02:00
  • d1eec80324 Merge pull request #815 from tschaub/override Tim Schaub 2013-06-24 14:38:26 -07:00
  • bb915cbf3d Less code Tim Schaub 2013-06-24 12:25:09 -06:00
  • 129e4d5704 Fix doc bug Tim Schaub 2013-06-24 12:21:56 -06:00