Commit Graph

47 Commits

Author SHA1 Message Date
Konstantin Käfer
8c302b64d1 underscore to camelCase 2011-01-21 17:42:46 -05:00
Tom MacWright
87a91cfe77 Rename toMSS, remove toCSS 2011-01-21 17:31:30 -05:00
Konstantin Käfer
7c4933dc71 remove unused matching functions 2011-01-21 17:17:55 -05:00
Konstantin Käfer
6dee926fd5 cleanup parsing selectors 2011-01-21 17:16:16 -05:00
Konstantin Käfer
81f8a7b298 change new(name) to new name 2011-01-21 16:17:52 -05:00
Konstantin Käfer
3230af084e rename ambiguous symbolizer to 'attachment' 2011-01-21 16:12:52 -05:00
Konstantin Käfer
52c45a022e remove symbolizer object; we just store the string. that's easier for sorting 2011-01-21 16:00:08 -05:00
Konstantin Käfer
f3f714b437 use errorMessage() function also for other syntax errors 2011-01-21 15:50:05 -05:00
Konstantin Käfer
bda86d9ee8 use correct position for error message 2011-01-21 15:43:00 -05:00
Konstantin Käfer
7d43564707 throw proper error messages when encountering invalid symbolizers 2011-01-21 15:38:49 -05:00
Konstantin Käfer
f042b3bd7a add symbolizer support 2011-01-21 15:25:27 -05:00
Konstantin Käfer
41ed66e962 revert the change; pass proper tree.Comparison objects into the constructor 2011-01-21 12:47:07 -05:00
Konstantin Käfer
f6fa2c1a29 cleanup 2011-01-21 12:42:49 -05:00
Tom MacWright
9e2ed8aabe Removing Shorthand construct; doesn't have an equivalent in Mapnik XML 2011-01-21 11:43:28 -05:00
Tom MacWright
cd053f88c3 Correctly handle negation filters in stylesheets 2011-01-20 20:13:03 -05:00
Konstantin Käfer
120e37bd8b add support for descendant selectors without class/id 2011-01-20 17:21:30 -05:00
Konstantin Käfer
5423bf706f remove combinators 2011-01-20 17:10:17 -05:00
Konstantin Käfer
0a5af927e3 Merge branch 'unstable' of github.com:developmentseed/mess.js into unstable 2011-01-20 14:11:58 -05:00
Konstantin Käfer
dff0af3fdf add the index of the selector declaration to the specificity for correct ordering. rules that appear later in the file appear earlier in the resulting array 2011-01-20 14:11:16 -05:00
Tom MacWright
54141df94d Document 2011-01-20 12:47:35 -05:00
Tom MacWright
3ded111f7e Merging, adding zoomfilter element type 2011-01-20 11:55:03 -05:00
Tom MacWright
6571489ef9 Adding zoomfilter type to alleviate filter complexity 2011-01-20 11:53:28 -05:00
Konstantin Käfer
ef597af7c0 rename rulesets to definitions 2011-01-20 11:48:00 -05:00
Konstantin Käfer
004578c2b6 add definition class for flattened rulesets 2011-01-20 11:45:29 -05:00
Konstantin Käfer
a8a91949fa doc 2011-01-20 11:15:17 -05:00
Konstantin Käfer
15fd744a54 split up selectors 2011-01-20 11:12:51 -05:00
Konstantin Käfer
b6f4ef57e3 change toMSS so that it returns the AST and remove some of the _ dependency 2011-01-20 10:35:01 -05:00
Konstantin Käfer
ca180ccc59 starting to process the styles from the layer's perspective 2011-01-20 09:59:28 -05:00
Tom MacWright
73e8cc8b7e Rewrite specificity to not break at > 10, rewrite specificitySort 2011-01-19 18:17:02 -05:00
Tom MacWright
ea5f76c8cf Adding reduceRules - see commented code to check out 2011-01-19 16:28:52 -05:00
Tom MacWright
cdf63cb997 Add matchingRulesets function for determing rulesets 2011-01-19 16:02:09 -05:00
Tom MacWright
066ba365fc Selector matching 2011-01-19 15:36:35 -05:00
Tom MacWright
37292a0c22 Remove parser.toAST, remove ruleset.toAST 2011-01-19 15:18:57 -05:00
Tom MacWright
e48bb6073b Start unstable branch - kkaefer's flatten work 2011-01-19 15:06:42 -05:00
Konstantin Käfer
5241f62bfd update test runner to be more verbose and show what failed on errors
uses node-xml2js to compare xml files
use ndistro to install dependencies

Conflicts:

	lib/mess/parser.js
	test/mess-test.js
2011-01-19 12:22:24 -05:00
Tom MacWright
248f09cdf6 Sadface sorting code. 2011-01-18 15:58:06 -05:00
Tom MacWright
20f0ed366d Adding flattenRules function. 2011-01-18 15:35:46 -05:00
Tom MacWright
d248372172 Starting AST work 2011-01-17 16:17:00 -05:00
Tom MacWright
b0e35f4441 Merge branch 'master' of github.com:developmentseed/mess.js into cascade 2011-01-17 15:39:59 -05:00
Konstantin Käfer
1fbcaf2164 Automatically close comments at the end of input instead of throwing a "Syntax Error on line 1" 2011-01-17 15:31:15 -05:00
Tom MacWright
cf003944b5 Google code style, not cloudhead's. Sorry, cloudhead 2011-01-17 14:46:22 -05:00
Tom MacWright
96d19204cf Simplifying nested example, removing compress variables and frames code. 2011-01-17 13:52:13 -05:00
Tom MacWright
51e9bd3ce8 Requirements for prior commit 2011-01-14 18:51:36 -05:00
Tom MacWright
c82a1fa260 Zoom support. Fixes #21 2011-01-10 18:10:23 -05:00
Tom MacWright
c59615245d Filters support 2011-01-10 11:47:34 -05:00
Tom MacWright
f833d9e589 Support attributes with numbers in their names 2011-01-10 11:47:10 -05:00
Tom MacWright
e5ba37d71e Full rename to mess 2011-01-05 14:23:28 -05:00