Commit Graph

66 Commits

Author SHA1 Message Date
Tom MacWright
b0cec7ca1d Support values separated only by commas, and fix multi-font validation. Fixes #70. 2011-01-27 11:35:29 -05:00
Tom MacWright
01035a8805 Handling float values in filters. 2011-01-27 09:24:15 -05:00
Konstantin Käfer
daeba23782 call the right function 2011-01-26 12:44:03 -05:00
Konstantin Käfer
fca6f37a7f rename ZoomFilter to Zoom to reflect that it's no longer treated as a Filter 2011-01-26 11:36:07 -05:00
Konstantin Käfer
51f12c9198 split up zoomlevels into a separate thing. they are no longer in the filters array 2011-01-26 11:34:51 -05:00
Konstantin Käfer
1f9553968f fix #57: correctly chunk comments that are not separate by whitespace 2011-01-25 13:39:10 -05:00
Konstantin Käfer
19482586f9 remove options that no longer work, fix #55 2011-01-25 09:46:35 -05:00
Tom MacWright
d54b36729b Catch syntax errors. Also, don't let comment regex make weird behavior. Also, only let error() record, never let it throw. 2011-01-24 18:32:18 -05:00
Tom MacWright
d1c660bf96 Removing returnErrors indirection 2011-01-24 15:20:18 -05:00
Tom MacWright
93f66ec41a Fixing variable support, removing annoying
toString method on rule, more to go.
2011-01-24 15:08:47 -05:00
Tom MacWright
d938bf7dde Catching but not catching errors is weird behavior 2011-01-24 13:53:38 -05:00
Tom MacWright
76122df6f2 First pass at tilemill-friendly validation 2011-01-24 12:50:42 -05:00
Young Hahn
ca3a4a8b0a Fix syntax error. 2011-01-22 14:02:19 -05:00
Konstantin Käfer
8fabfc0f6a Merge branch 'unstable'
Conflicts:
	.ndistro
	bin/messc
	lib/mess/index.js
	lib/mess/parser.js
	lib/mess/renderer.js
	lib/mess/tree/comparison.js
	lib/mess/tree/dimension.js
	lib/mess/tree/filter.js
	lib/mess/tree/operation.js
	lib/mess/tree/reference.js
	lib/mess/tree/rule.js
	lib/mess/tree/ruleset.js
	lib/mess/tree/variable.js
	test/mess-test.js
2011-01-21 19:00:00 -05:00
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
Konstantin Käfer
f899909e1d 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
2011-01-19 12:16:50 -05:00