Commit Graph

503 Commits

Author SHA1 Message Date
Tom MacWright
28ab872e72 Support operations between strings and fields, support concatenating
strings.
2012-06-26 12:14:13 -04:00
Tom MacWright
ea89af6ae2 Add field type, parsing, and failing test. 2012-06-22 18:35:00 -04:00
Tom MacWright
265554813b Update results for temporary image-transform renaming, update
reference to mapnik-reference to point to the transforms branch,
prep a changelog message
2012-06-22 18:06:15 -04:00
Tom MacWright
a941bda795 Add backwards compatibility for transforms tests 2012-06-22 12:38:20 -04:00
Tom MacWright
e27ce12ea0 Support variables and expressions as the arguments to functions. 2012-06-22 12:32:36 -04:00
Tom MacWright
42784dcca2 Revert last, still in transforms branch 2012-06-20 19:04:18 -04:00
Tom MacWright
5ff9051104 Support named transforms in Carto with variable interpolation. Removes
Anonymous type.
2012-06-20 17:34:27 -04:00
Tom MacWright
4c3aa03012 Version 0.7.0: adds style level opacity support. Fixes #146. 2012-06-19 17:33:42 -04:00
Tom MacWright
c7a3ded1a2 Version 0.6.0, push mapnik-reference dep 2012-06-19 16:11:45 -04:00
Tom MacWright
b839983a9f Bump mapnik-reference dependency, add result for image_filters operation 2012-06-18 16:28:51 -04:00
Tom MacWright
40b032c9bb Remove reference.json in favor of adding a mapnik-reference
dependency which will update easily from the other repository.
Also update tests for 2.1.0 compatibility
2012-06-18 15:35:19 -04:00
Tom MacWright
fef914cdc2 Support future syntax of agg-stack-blur 2012-05-22 16:19:28 -04:00
Tom MacWright
3e3b4f09bc Add comp-op support. 2012-05-10 18:28:57 -04:00
Tom MacWright
66012862db Working push. Still needs agg-gradient 2012-05-10 18:12:51 -04:00
Tom MacWright
5efa4bd40e First push toward compositing 2012-05-10 17:08:09 -04:00
Tom MacWright
262ef7e722 Add regex filter, tests, clean up code more. Fixes #66 2012-05-08 15:26:08 -04:00
Tom MacWright
9960cd2667 Add maximum-extent property. Fixes #43. 2012-05-08 12:30:28 -04:00
Tom MacWright
afad11d3fe XML-escape quotes in quoted values. 2012-05-02 14:05:38 -04:00
Tom MacWright
a7748e6392 Port tests to mocha, remove many global variable leaks. 2012-05-02 12:56:38 -04:00
Tom MacWright
34deb99997 Add test suite for #32 2012-05-02 12:08:10 -04:00
Tom MacWright
c48a02196e Adding error tests for 119 and 124. Fixes #124 2012-05-01 15:48:01 -04:00
Tom MacWright
d17416b54f Test for 123 fix. Fixes #123 2012-05-01 15:17:46 -04:00
Young Hahn
b644e9588b Add test for parameter rendering. 2012-04-30 02:48:22 -04:00
Young Hahn
5e63b49558 Remove irrelevant/unused MML keys. 2012-04-30 02:22:47 -04:00
Dane Springmeyer
c1b4903c0f remove unused 'sys' module usage avoiding deprecation warning 2012-04-16 15:33:31 -07:00
Dane Springmeyer
d01c45d714 carto works fine with node v6, so allow it 2012-03-07 12:42:16 -08:00
Tom MacWright
90fbe75213 Adding quick test case for not-enough-args error 2011-12-07 22:58:51 -05:00
Tom MacWright
f03aee60c6 Ignoring more 2011-10-20 11:33:31 -07:00
Tom MacWright
e830559d81 Fixing other test cases for new textsymbolizer syntax 2011-10-20 04:42:36 -04:00
Tom MacWright
5b3e00af97 Fix complexfontset test 2011-10-20 04:25:53 -04:00
Tom MacWright
9b295d6909 Fix tests for layer-less output, and fix background_attributes test for no-layer-when-not-needed change. 2011-10-13 11:47:55 -04:00
Tom MacWright
d607326cc7 Don't tolerate no-selector elements, tolerate Map, adds tests 2011-10-13 11:12:50 -04:00
Tom MacWright
b1da1af86c Nopound tests 2011-10-13 10:59:54 -04:00
Konstantin Käfer
79abfa1436 allow adding multiple instances of a symbolizer by prefixing new
instances with name/ (where name can be any string)
2011-09-12 10:22:18 +02:00
Will White
3a7f7d4375 Merge branch 'master' of github.com:mapbox/carto 2011-09-06 12:52:35 -04:00
Will White
db733702e9 Rename attributes to properties. 2011-09-06 12:49:50 -04:00
Tom MacWright
5785d4d63a Adding test case for #100 2011-09-06 11:08:28 -04:00
Tom MacWright
70cc208e62 Add new tests, tree.Filter fix. 2011-09-06 11:00:14 -04:00
Tom MacWright
fbf9b22931 Supporting attributes: {} on layers. Includes tests. 2011-08-30 18:20:13 -04:00
Tom MacWright
dec481c76c Adding Issue #60 tests 2011-08-30 18:19:39 -04:00
Tom MacWright
73ab87dcce Updating tests to deal with correct symbolizer order. Fixes #60 2011-08-30 16:51:24 -04:00
Tom MacWright
42e3260386 Addressing #60, but this could be cleaner 2011-08-30 16:42:20 -04:00
Tom MacWright
ac00f32e0d Cheap addition of node order. Fixes #94 2011-08-30 16:01:10 -04:00
Tom MacWright
754221fd2e Fix color variable test 2011-08-30 15:30:05 -04:00
Tom MacWright
94df025cc6 Adding test that includes HSL colors 2011-08-26 16:17:09 -04:00
Tom MacWright
d3b2bfc199 Adding should-be-failing test for #60 2011-08-24 12:25:02 -04:00
Tom MacWright
7c2a5aa9a1 Fix multiple inheritance, fixes #74. Introduces Filterset.clone() 2011-08-24 11:22:44 -04:00
Tom MacWright
4ccd95aaee Adding failing test for #74 2011-08-23 16:14:18 -04:00
Tom MacWright
e8d985efd4 Adding zoomselector test 2011-08-23 16:09:56 -04:00
Tom MacWright
f6b5f5785a Adding nested classes test and fixed specificity test runner 2011-08-22 16:21:57 -04:00
Tom MacWright
86e79b9b2c Fixing high zoom levels, adding test. Addresses #48, needs confirmation 2011-08-19 14:46:43 -04:00
Young Hahn
25e1757597 Accept valid Map properties directly from input mml object. 2011-07-27 17:16:01 -04:00
Young Hahn
e14d8f3720 Use Error objects. 2011-07-25 02:26:20 -04:00
Young Hahn
5375ca0540 Initial gutting of externals. 2011-07-22 13:48:52 -04:00
Tom MacWright
eea30fe6bb Merge branch 'master' of github.com:mapbox/carto 2011-07-21 10:34:09 -04:00
Tom MacWright
209df3edc5 Adding filter variable result 2011-07-21 10:34:01 -04:00
Young Hahn
51d6768ac4 Update md5sum for couchsurf.kml 2011-07-20 19:09:18 -04:00
Tom MacWright
02b4ff4008 Support variables in filters on the lhs 2011-07-01 13:26:45 -04:00
Tom MacWright
6b9e97f87c Fixes #21: de-dedup fontsets beyond the first. 2011-06-15 18:13:51 -04:00
Tom MacWright
c8b9051faf Support keyword arguments with underscores: Fixes
#57
2011-06-15 18:02:20 -04:00
Young Hahn
25008d9121 Node 0.2-friendly require paths. 2011-05-26 14:07:50 -04:00
Young Hahn
26ae82fb23 Fix test requires. 2011-05-26 11:04:31 -04:00
Young Hahn
210d0be7bd Node 0.4 compatibility. 2011-05-26 11:04:20 -04:00
Young Hahn
dfa2af8a23 Fix require paths for test. 2011-05-25 13:57:35 -04:00
Tom MacWright
4c30131e4f Merging package. Supporting variables in filters 2011-05-17 13:54:44 -04:00
Dane Springmeyer
f5fee15c91 add +wktext to all spherical mercator proj4 strings 2011-05-12 11:33:58 -07:00
Dane Springmeyer
c03b6334c6 add +over to proj4 mercator definitions - see https://github.com/mapbox/tilemill/issues/330 2011-05-10 17:07:23 -07:00
Dane Springmeyer
a57b08dc95 add +over to proj4 mercator definitions - see https://github.com/mapbox/tilemill/issues/330 2011-05-10 17:05:07 -07:00
Tom MacWright
0e005fe21d Tagging 0.1.5 2011-05-03 11:12:36 -04:00
Tom MacWright
9a473d38ed Marker type is now marker-type 2011-04-14 10:21:07 -04:00
Tom MacWright
6626b3257e Catch several more classes of undefined variable errors. Fixes TM#278 2011-03-14 11:15:36 -04:00
Tom MacWright
bc8e0e5131 Fix raster rendering test. 2011-02-18 14:44:28 -05:00
Tom MacWright
7c1cea7f0a Ignore dotfiles and dot-directories. TM #210 related. 2011-02-17 10:08:21 -05:00
Tom MacWright
27ec5bb47c Adding VIM syntax generation 2011-02-11 09:59:07 -05:00
Konstantin Käfer
59fe61267f remove id in favor of name and make sure only valid rules are added to <Map> 2011-02-07 14:22:10 -05:00
Tom MacWright
f71f5bca71 Raster rending test 2011-02-07 13:38:51 -05:00
Konstantin Käfer
1f4f2a1340 reverse output rules 2011-02-07 12:51:38 -05:00
Konstantin Käfer
7f1e1be32c rename _ to - 2011-02-07 12:50:41 -05:00
Konstantin Käfer
0b5d35c8d0 print errors when tests fail 2011-02-07 12:50:04 -05:00
Konstantin Käfer
7760bbabec replace xml2js 2011-02-07 12:41:00 -05:00
Konstantin Käfer
e9974c2a11 test filterset 2011-02-07 11:26:04 -05:00
Konstantin Käfer
34b6a4bdc0 Merge branch 'master' of github.com:mapbox/carto 2011-02-07 11:23:53 -05:00
Tom MacWright
3147a89a48 Rename mess to carto. 2011-02-07 11:22:14 -05:00
Konstantin Käfer
17ee133fe5 update test case to the change that put selectors at the position of their first own rule 2011-02-07 11:17:39 -05:00
Konstantin Käfer
5f48e6a92b use color variables without the @ sign. You can still do operations with colors, like "green + #222" 2011-02-07 11:17:10 -05:00
Konstantin Käfer
3e0f28b421 fix test for proper variable quoting 2011-02-02 18:02:00 -05:00
Konstantin Käfer
460b44eeeb fix remaining test and remove outdated tests 2011-02-02 17:10:17 -05:00
Konstantin Käfer
50b9e86037 fix test 2011-02-02 16:45:14 -05:00
Konstantin Käfer
03417147e3 test fixes due to other formatting 2011-02-02 16:17:43 -05:00
Konstantin Käfer
4dcf61fead Merge branch 'master' of github.com:developmentseed/mess.js into unstable 2011-02-02 16:07:23 -05:00
Konstantin Käfer
b64965c9be make specificity tests run again 2011-02-02 14:01:40 -05:00
Tom MacWright
f3ad935c28 Re-add color variable support and add test to make sure that it isn't regressed again 2011-02-02 13:19:46 -05:00
Konstantin Käfer
c48e0ee2bf saving state of work 2011-02-01 19:49:22 -05:00
Konstantin Käfer
3bd44e909f move afghanistan to renderer test, as it is no longer a benchmark :) 2011-01-31 12:11:17 -05:00
Konstantin Käfer
f58baab3bd remove Comparison object in favor of a plain string 2011-01-30 16:25:36 -05:00
Konstantin Käfer
7a21f1bbfe convert values to numbers when comparing ranges 2011-01-28 22:54:29 -05:00
Konstantin Käfer
92e4713d60 test filter simplification 2011-01-28 22:19:02 -05:00
Konstantin Käfer
9cf819e695 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-28 21:01:04 -05:00
Konstantin Käfer
6b66e23ddc correct soundness check and add tests for it 2011-01-28 21:00:36 -05:00
Tom MacWright
c01b57eb07 KML test 2011-01-28 17:09:32 -05:00
Tom MacWright
2991e1db27 Cleaning up external and external tests 2011-01-28 17:00:31 -05:00
Tom MacWright
23c6b954e2 Adding symbolizer order test 2011-01-28 16:58:46 -05:00
Konstantin Käfer
9ceba57511 only calculate the selector ID when we need it. down to 600ms for the opened benchmark 2011-01-28 16:54:16 -05:00
Konstantin Käfer
c0ac2e477f replace __default__ with undefined/empty string 2011-01-28 16:09:50 -05:00
Konstantin Käfer
c5108fb786 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-28 15:46:22 -05:00
Konstantin Käfer
d347665f10 make condition resolving less complex 2011-01-28 15:46:07 -05:00
Tom MacWright
39681dcae5 Adding invalid value test 2011-01-28 11:27:56 -05:00
Tom MacWright
4e8542ec3a Adding undefined variable test 2011-01-28 11:26:40 -05:00
Tom MacWright
a3526d90a0 Clean up helper code style 2011-01-28 11:10:09 -05:00
Tom MacWright
1782e81407 Adding first error test, and error testing framework 2011-01-28 11:08:38 -05:00
Konstantin Käfer
c2931d8983 add an id to selectors 2011-01-27 22:10:31 -05:00
Konstantin Käfer
4e0fee38b4 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-27 21:50:31 -05:00
Konstantin Käfer
7acc9ac89c simplify filters as we go 2011-01-27 21:50:15 -05:00
Konstantin Käfer
d06ea5e4fc filters are now indexed by hash as opposed to throwing them in an array 2011-01-27 20:50:53 -05:00
Tom MacWright
0fffe3d249 Adding text overrides test 2011-01-27 16:59:31 -05:00
Konstantin Käfer
0065de0e64 change tree.Zoom to use bitmasks instead of arrays 2011-01-27 16:52:07 -05:00
Konstantin Käfer
8f8b014dc0 move to benchmarkm folder to have tests running fast 2011-01-27 10:06:08 -05:00
Tom MacWright
91b07aded3 Adding result file for afg 2011-01-27 10:04:27 -05:00
Tom MacWright
8716ba68dd Updating example to new syntax and adding required parameter 2011-01-27 09:58:43 -05:00
Tom MacWright
f7708e2e62 Adding harder benchmarking style 2011-01-27 09:30:44 -05:00
Tom MacWright
01035a8805 Handling float values in filters. 2011-01-27 09:24:15 -05:00
Konstantin Käfer
a8c55d0b0a rename 2011-01-26 18:54:14 -05:00
Konstantin Käfer
2e09386b4c remove unneeded sort 2011-01-26 18:24:52 -05:00
Konstantin Käfer
bab332e1be move xml comparison to helper 2011-01-26 17:56:16 -05:00
Tom MacWright
e812970561 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-26 17:23:37 -05:00
Tom MacWright
034ac56b3d Adding speed tests 2011-01-26 17:13:19 -05:00
Konstantin Käfer
2ab2160f9d complex test that partially overrides other rules and includes many edge cases 2011-01-26 17:07:19 -05:00
Konstantin Käfer
abbc323fee completely rework selector splitting to accomodate for all edge cases 2011-01-26 16:59:18 -05:00
Tom MacWright
2462db72ec Adding external image tests 2011-01-26 12:55:00 -05:00
Tom MacWright
0c6830b13e Test for remote resources. Fixes #27. 2011-01-26 12:53:57 -05:00
Konstantin Käfer
d772884d13 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-26 11:35:10 -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
Tom MacWright
314035e5d7 Fixing renderer code style. 2011-01-26 11:31:35 -05:00
Tom MacWright
5b73415aeb Adding background color attribute test. 2011-01-26 11:19:10 -05:00
Tom MacWright
9c63244438 Adding cross-stylesheet variable tests. 2011-01-26 11:14:09 -05:00
Tom MacWright
345f3ddf97 Adding simple variable test 2011-01-26 10:57:04 -05:00
Konstantin Käfer
5bd5b0fe9d handle partial overrides correctly 2011-01-25 19:09:02 -05:00
Konstantin Käfer
d155a5ad5e add individual rules in the test for now until we implemented merging 2011-01-25 18:41:47 -05:00
Konstantin Käfer
d27a9cf2d1 test zoomlevels 2011-01-25 18:38:46 -05:00
Konstantin Käfer
7798757cb6 always assert 2011-01-25 18:14:40 -05:00
Konstantin Käfer
27c52cd77c use .result instead of .xml 2011-01-25 18:09:46 -05:00
Konstantin Käfer
903f6ffa92 test comments without spaces 2011-01-25 18:06:07 -05:00
Konstantin Käfer
4ea6e22626 use console.warn instead of console.log for error messages 2011-01-25 18:04:31 -05:00
Konstantin Käfer
5efdd4adec Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-25 17:42:34 -05:00
Konstantin Käfer
5c9f7e7446 remove old tests 2011-01-25 17:41:53 -05:00
Tom MacWright
bf349d6799 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-25 17:38:36 -05:00
Tom MacWright
9a308f6568 Fontset tests. 2011-01-25 17:38:32 -05:00
Konstantin Käfer
62baf1c12d support running individual tests 2011-01-25 17:37:55 -05:00
Konstantin Käfer
2cac316875 make test works when there is only one layer in the mml file 2011-01-25 17:12:45 -05:00
Konstantin Käfer
cdeeeb4bbe change external to local 2011-01-25 17:09:06 -05:00
Konstantin Käfer
d4815d9386 don't use localhost 2011-01-25 17:08:27 -05:00
Konstantin Käfer
21be74b487 ignore absolute paths in test 2011-01-25 15:49:22 -05:00
Konstantin Käfer
53ba7f6bd6 use smaller test file to have tests run faster 2011-01-25 14:54:03 -05:00
Konstantin Käfer
86ffbd87a1 test file 2011-01-25 14:43:45 -05:00
Konstantin Käfer
1e17152cf0 use different callbacks for error and success 2011-01-25 14:38:37 -05:00
Konstantin Käfer
5a4184882a fix #60: don't download the same file twice 2011-01-25 14:17:08 -05:00
Konstantin Käfer
b5dbd8f3b3 update test to reflect changes in filter simplification 2011-01-25 14:16:25 -05:00
Konstantin Käfer
5d95476950 test for file contents with md5 and also test remote non-unzipped file 2011-01-25 11:16:05 -05:00
Konstantin Käfer
8bd0442794 test remote zip files 2011-01-25 10:56:00 -05:00
Konstantin Käfer
02b0aedb1b test External more thoroughly 2011-01-25 10:47:31 -05:00
Konstantin Käfer
f313d50ef1 adapt test to new External api 2011-01-25 10:11:49 -05:00
Konstantin Käfer
f4f960770c pass in an env object 2011-01-24 19:06:01 -05:00
Konstantin Käfer
73044781e2 parse xml for comparison 2011-01-24 18:50:27 -05:00
Konstantin Käfer
ed38139c0b refactor external to make tests working 2011-01-24 17:23:18 -05:00
Konstantin Käfer
f7c0b71fbe Merge branch 'master' of github.com:developmentseed/mess.js
Conflicts:
	test/specificity.js
	test/specificity/filters_and_ids.result
2011-01-24 10:39:45 -05:00
Tom MacWright
559e755699 Fixing filters and ids test for attachments 2011-01-24 10:28:26 -05:00
Tom MacWright
c46da8ac5e Fixing spec test for toMSS - toList transition 2011-01-24 10:26:22 -05:00
Tom MacWright
e18ae539fc Cleanining up unzip test 2011-01-24 10:23:58 -05:00
Konstantin Käfer
9fd287ef77 cleanup test a bit 2011-01-24 09:59:27 -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
3948da7091 move shared functionality to test helper 2011-01-21 13:20:57 -05:00
Konstantin Käfer
76c51a34d6 fix tests to accomodate for updated zoom level parsing 2011-01-21 13:00:59 -05:00
Konstantin Käfer
40f7cfbc7a Use diff to visualize results 2011-01-21 12:59:09 -05:00
Dane Springmeyer
1423859aca add files for support for node-unzip, new espresso test, and support for reading local zipped shapefiles 2011-01-20 19:06:38 -05:00
Dane Springmeyer
3d6443c6c5 support for node-unzip, new espresso test, and support for reading local zipped shapefiles 2011-01-20 18:56:54 -05:00
Konstantin Käfer
91a15e7008 test specificity sort for filters 2011-01-20 18:10:59 -05:00
Konstantin Käfer
7c45abd005 refactor test so that we run a separate test for each file 2011-01-20 18:05:35 -05:00
Konstantin Käfer
03df74d7a0 more tests 2011-01-20 18:05:27 -05:00
Konstantin Käfer
b444f5d8cf test specificitiy 2011-01-20 17:54:51 -05:00
Konstantin Käfer
55ffc3a53d we don't want that in the root folder 2011-01-20 15:11:44 -05:00
Konstantin Käfer
48a2caba3b don't run this test, we're currently refactoring the whole generation anyway 2011-01-20 15:07:49 -05:00
Konstantin Käfer
1c1055cae6 add fake result. we're reworking the tests in the unstable branch
Conflicts:

	test/mess/nested_multiple.mss
2011-01-20 14:59:46 -05:00
Konstantin Käfer
c72aed5b11 update test framework to use expresso 2011-01-20 14:59:07 -05:00
Konstantin Käfer
34d15daf29 add fake result. we're reworking the tests in the unstable branch 2011-01-20 14:56:39 -05:00
Konstantin Käfer
d0ab75f84b update test framework to use expresso 2011-01-20 14:41:27 -05:00
Konstantin Käfer
e588ad601f scales added to example 2011-01-19 15:51:31 -05:00
Konstantin Käfer
f10e8a6cd8 more complex example with listing what values each layer should get 2011-01-19 14:06:46 -05:00
Konstantin Käfer
1e92b20101 split up multiple selectors into separate styles 2011-01-19 12:27:51 -05:00
Konstantin Käfer
2952bc1930 selector_cache is gone in this branche 2011-01-19 12:23:55 -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
Tom MacWright
e6f33a8ba3 Adding negation example 2011-01-19 12:10:03 -05:00
Tom MacWright
89b94aa044 Aggregation test 2011-01-19 12:05:37 -05:00
Tom MacWright
88b384caf4 Adding zoom levels example 2011-01-19 11:46:37 -05:00
Tom MacWright
20f0ed366d Adding flattenRules function. 2011-01-18 15:35:46 -05:00
Tom MacWright
1f8a449a7f Adding filter fallback example 2011-01-18 14:47:14 -05:00
Tom MacWright
3ca728ae96 Updating nested multiple selectors 2011-01-18 14:31:29 -05:00
Tom MacWright
d248372172 Starting AST work 2011-01-17 16:17:00 -05:00
Konstantin Käfer
6d72ffe07a only use .mss files; ignore files with further endings 2011-01-17 15:59:38 -05:00
Tom MacWright
b6e8148a84 Adding specificity code 2011-01-17 14:22:02 -05:00
Tom MacWright
96d19204cf Simplifying nested example, removing compress variables and frames code. 2011-01-17 13:52:13 -05:00
Tom MacWright
8e615e549f Updating testing, adding docs 2011-01-17 13:19:14 -05:00
Tom MacWright
06a0e56e90 Rewriting, updating test framework 2011-01-17 12:08:16 -05:00
Tom MacWright
008abe40d7 Adding support for multiple filtered selectors 2011-01-14 18:42:58 -05:00
Tom MacWright
e035a8986e Adding default tilemill stylesheet to testing dir 2011-01-13 14:25:12 -05:00
Tom MacWright
7c0d065f9c Removing old test files 2011-01-13 14:14:48 -05:00
Tom MacWright
97a4e8ae85 Removing old less and css files. 2011-01-13 14:11:06 -05:00
Tom MacWright
e5ba37d71e Full rename to mess 2011-01-05 14:23:28 -05:00
Tom MacWright
6cf86b1a64 Updating world samples 2011-01-05 13:11:36 -05:00
Tom MacWright
41904a668a Support embedded styles. Fixes #10. Needs testing for non-embedded styles 2011-01-05 12:46:31 -05:00
Tom MacWright
5d9d41a815 Adding json map examples 2011-01-04 13:07:49 -05:00
Tom MacWright
094628e295 Less-confusing test file 2011-01-03 15:28:45 -05:00
Tom MacWright
177322708f Adding examples for testing purposes 2011-01-03 14:46:31 -05:00
James A. Rosen
c58d8aa156 fixed @media and @page parsing problem 2010-11-27 06:34:17 +08:00
Ian Beck
f4437cb8f3 Modified selector regexen to support CSS character escapes, added test files to verify change
Closes #78, closes #105
2010-11-27 06:07:14 +08:00
cloudhead
a985924d68 (new) support for unquoted data URIs in url() 2010-11-20 02:17:35 -05:00
Felix Geisendörfer
8e846a3b11 Fix test suite
Replaced old fs.open/read wrapper with fs.readFile.
2010-10-13 14:09:00 +08:00
cloudhead
4d6335b4e2 make strings behave like other nodes.
- rename 'content' to 'value'
2010-07-25 16:41:05 -04:00
cloudhead
ba2cfe9265 cleanup ruleset evaluation
- remove eval() from ruleset.toCSS
- fix multiple mixin calls with different arguments yeilding the same
  output.
2010-07-23 19:46:48 -04:00
cloudhead
b71942966d explicit evaluation of variables within js 2010-07-09 21:31:26 +02:00
cloudhead
4e46b104f1 test e() with javascript 2010-07-08 19:30:36 +02:00
cloudhead
bf6d68345d preliminary support for evaluating JavaScript code inside LESS 2010-07-08 19:04:36 +02:00
cloudhead
00bbf81471 support parametric mixins with # 2010-07-08 00:27:32 +02:00
cloudhead
7d51a71ac0 change scope.less back, to test late binding 2010-07-08 00:22:34 +02:00
cloudhead
b5d74f8e38 fix compound variable substitutions 2010-07-08 00:22:01 +02:00
cloudhead
f7be8f515d fix font shorthand with % 2010-07-08 00:21:36 +02:00
cloudhead
45b97a6054 big refactoring of ruleset.js, move eval code to eval() 2010-07-07 13:53:09 +02:00
cloudhead
38272c7f85 (test) mixin closures 2010-07-06 16:52:33 +02:00
cloudhead
3664f26c06 support functions in operations 2010-07-05 01:19:04 +02:00
cloudhead
8a4a9a471a support variables in url() 2010-07-04 10:45:55 +02:00
cloudhead
d1c16908b6 fix syntax error with semi-colons in strings 2010-07-01 10:46:31 +02:00
cloudhead
1a56c6d225 proper chunkification of comments.
comments are preserved even with chunkified input now.
2010-07-01 01:31:48 +02:00
cloudhead
075523e96d fix '!important' in certain scenarios 2010-06-27 16:40:12 -04:00
cloudhead
2aa945c98c fix some issues with alpha getting lost 2010-06-19 14:35:37 -04:00
cloudhead
f272611137 fixed hsla => rgba conversion 2010-06-19 13:42:33 -04:00
cloudhead
7a80774960 fix comments in mixins. 2010-06-16 02:13:59 -04:00
cloudhead
e2a6228ff5 (new) Additions & improvements to color functions.
- Added spin() to change hue.
- Fixed darken/lighten to be additive.
- Added color extraction functions.
2010-06-15 20:13:19 -04:00
cloudhead
b1b8701c38 (test) mixin calls throw an error now, if no patterns match 2010-06-07 18:22:23 -04:00
cloudhead
23a4d55d04 fix optimizations, and errors on multi-line comments 2010-06-01 21:21:59 -04:00
cloudhead
8ab4d0aac0 treat Directive like a Ruleset 2010-05-23 12:50:20 -04:00
cloudhead
51ca5adb5c @media tests 2010-05-22 18:24:57 -04:00
cloudhead
a3f252b727 don't cache return values. %() plays nice with strings 2010-05-13 20:15:59 -04:00
cloudhead
3cff4636dc test cases for recent fixes 2010-05-07 00:49:03 -07:00
cloudhead
565fdf4705 tests for value.length > 1 bug 2010-05-07 00:40:39 -07:00
cloudhead
94780c2f72 moved index.js to lib/less 2010-05-05 00:23:45 -04:00
cloudhead
472da6ff23 whitespace 2010-05-04 20:37:14 -04:00
cloudhead
7155f44f43 be more flexible, pattern matching 2010-05-04 20:37:06 -04:00
cloudhead
0ec53f74e0 make operations left-associative Closes #20 2010-05-03 14:25:12 -04:00
cloudhead
1d9b95f9e6 Evaluate function calls properly.
- `fun(f())` is now possible
- Anonymous can take normal strings
- Tests for `%()`
2010-04-30 14:07:05 -04:00
cloudhead
0aaf715232 fixed selector attributes not parsing with a '-' 2010-04-28 17:29:22 -04:00