Dane Springmeyer
93264c6e41
add test for #284 - passes as 6eda91a
and fails in master
2013-07-02 19:00:33 -04:00
Young Hahn
45b5c107af
Merge pull request #279 from mapbox/dataonly
...
Allow Layer-only rendering without corresponding styles
2013-06-24 08:58:48 -07:00
Young Hahn
15ab78a3a8
Allow custom map parameters.
2013-06-14 18:25:55 -04:00
Young Hahn
bb153521e2
Allow Layer-only rendering without corresponding styles.
2013-06-14 12:21:13 -04:00
Young Hahn
ff0fc2b1c8
Revert "Dimensions." Refs #258 .
...
This reverts commit 0f65b869fd
.
2013-06-14 10:47:43 -04:00
Dane Springmeyer
cfc90da91e
Add regression test for issue #247 - broken in master at 4d4abb2
, works in 6eda91a
2013-05-31 17:15:45 -07:00
Tom MacWright
b113bfea99
Prevent image filter duplication. Fixes #270
2013-04-16 10:24:48 -04:00
Tom MacWright
0f65b869fd
Dimensions.
2013-04-15 16:10:00 -04:00
Tom MacWright
49b2324ea1
Handle errant zoom-as-field better. Fixes #269 .
2013-04-15 15:45:53 -04:00
Tom MacWright
435452ba50
Merge pull request #265 from strk/master-quote-amp
...
Quote ampersend chars in XML text. Closes #263 .
2013-03-29 08:44:59 -07:00
Tom MacWright
5d626d3c10
Do not output references to empty styles. Fixes #244
2013-03-27 11:59:09 -04:00
Tom MacWright
49c81edd3a
Tolerate single-stop colorizers. Fixes #251
2013-03-27 11:48:47 -04:00
Tom MacWright
05797dd711
Tolerate commas in values. Fixes #266
2013-03-27 11:30:51 -04:00
Sandro Santilli
d6585d3691
Quote all needed XML chars. See #263 .
...
Includes testcase.
2013-03-27 12:36:25 +01:00
Sandro Santilli
acf94e5fab
Quote ampersend chars in XML text. Closes #263 .
...
Includes testcase.
2013-03-22 11:11:16 +01:00
Tom MacWright
60661b68c3
Add failing identity nesting case, refs #262
2013-03-17 19:31:22 -04:00
Tom MacWright
5e2ea67df9
Fix repeated comments in selectors. Fixes #260
2013-03-13 11:27:00 -04:00
Tom MacWright
26dbcf3ca3
Fix test for missing brackets
2013-03-11 16:34:43 -04:00
Tom MacWright
3382bfa29f
Merge branch 'missing-bracket'
2013-03-11 16:32:48 -04:00
Dane Springmeyer
039031b68d
fix failing tests in master
2013-03-01 15:22:22 -05:00
Dane Springmeyer
19bf87cf3a
fix expected result so test passes because it appears #239 is not actually a regression
2013-03-01 15:14:23 -05:00
Dane Springmeyer
8efc1c5d5e
output both path to json mismatches to make debugging test failures easier
2013-03-01 15:08:29 -05:00
Tom MacWright
c5a67fa938
Missing bracket. Refs #254
2013-02-25 09:17:56 -05:00
Young Hahn
be78202e0b
Allow layers to be rendered without datasources.
2013-02-21 15:29:33 -05:00
Tom MacWright
0e0bac0e5c
Fix fadeout
2013-02-18 17:34:49 -05:00
Dane Springmeyer
74fa914c8c
updated raster colorizer support
2013-02-01 15:57:29 -05:00
Dane Springmeyer
633754306e
add testcase for issue #239
2013-01-23 16:59:22 -08:00
Dane Springmeyer
3f70b8a36c
avoid unneeded whitespace in style XML output
2013-01-23 16:57:27 -08:00
Tom MacWright
e2764d12f1
Add rendering tests for units
2013-01-23 16:01:03 -05:00
Stefan Klug
cf8c11f038
replace dpi by ppi
2013-01-23 10:20:04 +01:00
Stefan Klug
56ac678c0a
add support for the units m, mm, cm, pt, pc
...
these are converted to pixels depending on env.dpi (defaulting to 90.714)
adding and subtracting percentages works also
2013-01-21 16:40:15 +01:00
Dane Springmeyer
0d686bb8d8
fixup code comments - amends 87d4f9627b
2013-01-06 11:58:14 -08:00
Dane Springmeyer
bfc9d40f43
fix testcase issue # 214 -> 204 - previously incorrectly referenced 214 - refs #214 and #204
2013-01-03 18:47:10 -08:00
Tom MacWright
87d4f9627b
Rename eval to ev to fix many jshint problems and future safari problems
2013-01-03 16:19:25 -05:00
Tom MacWright
29b641c72d
Detect and report basic self-conflicting filters.
...
This does not yet report anything for more complex cases. We were also testing for
tolerance of self-conflicting filters, which this breaks, in
partial_overrides. This patch may want to wait for warning reporting
since it may break stylesheets in the wild.
2013-01-03 15:06:07 -05:00
Tom MacWright
6f687ff9e3
Remove throws in function evaluation and handle color function arguments
...
correctly.
2013-01-03 13:47:51 -05:00
Tom MacWright
ece3eb3b0e
Remove throw in zoom evaluation
2013-01-03 13:20:49 -05:00
Tom MacWright
c1e8c3b8f3
Support mapnik keywords in filters and error on bare keywords. Fixes
2013-01-03 10:11:30 -05:00
Tom MacWright
f87e8adc95
Unswap specificity tests: ordering is now same as master
2012-12-26 18:24:17 -05:00
Tom MacWright
3f31bcbe5f
Fix absolute paths in other symbolizer types
2012-12-26 18:19:39 -05:00
Tom MacWright
6fed91d728
Update chunker, fixes #184 .
2012-12-26 17:48:01 -05:00
Dane Springmeyer
06b147323f
add currently failing test for handling of quoted attributes with :
2012-12-21 18:57:56 -08:00
Dane Springmeyer
47882ccb00
Add another empty rendering test
2012-12-21 18:37:39 -08:00
Dane Springmeyer
73e5178f1f
re-enable the standalone-mss rendering tests and fix them by avoiding empty styles and empty rules - closes #219
2012-12-21 18:34:30 -08:00
Dane Springmeyer
800122e1af
error handling tests should rethrow if the test itself does not throw at all
2012-12-21 17:35:48 -08:00
Dane Springmeyer
bd17eed9f5
fix race condition in specificity tests and change expected result so all specificity tests now pass
2012-12-21 16:29:59 -08:00
Dane Springmeyer
c707188ed5
serialize json representation rather than mapnik xml for easier comparision
2012-12-21 16:12:02 -08:00
Dane Springmeyer
539d293388
fix failing zoomselector test by adjusting expected test output as it appears we were testing a bug
2012-12-21 16:11:35 -08:00
Dane Springmeyer
12cd05764b
Revert "partially fix regex nest test"
...
This reverts commit 92d239b7f8
.
2012-12-21 15:39:18 -08:00
Dane Springmeyer
92d239b7f8
partially fix regex nest test
2012-12-21 15:32:59 -08:00
Dane Springmeyer
a7c1e0bc49
Merge branch 'condense' of github.com:mapbox/carto into condense
2012-12-21 15:22:25 -08:00
Dane Springmeyer
a55b4ca0e9
disable mss tests for now since they are intentionally failing - lets focus on unintential failures
2012-12-21 15:22:14 -08:00
Tom MacWright
958b61c343
Fix specificity tests
2012-12-21 18:17:59 -05:00
Dane Springmeyer
0a9cb6afe7
Merge branch 'condense' of github.com:mapbox/carto into condense
2012-12-21 15:16:26 -08:00
Tom MacWright
67b66b5568
Fix zoom interpretation in helper
2012-12-21 18:15:31 -05:00
Dane Springmeyer
9967393820
cleanup old failures that now pass
2012-12-21 15:14:36 -08:00
Tom MacWright
75f55f8d04
Update specificity test helper
2012-12-21 18:13:36 -05:00
Dane Springmeyer
2aba917e3d
merge master into condense to bring in further race condition fixes in errorhandling tests
2012-12-21 15:13:22 -08:00
Dane Springmeyer
f2a6922586
fix race condition in renderer test and write failures instead of diffing since this can crash on large diffs like the fontset dupe test
2012-12-21 15:05:17 -08:00
Tom MacWright
b3b7fec337
Compare filters numerically if possible
2012-12-20 15:45:43 -05:00
Tom MacWright
5145655c46
Remove oneline tests for now, update external image
2012-12-20 15:37:12 -05:00
Tom MacWright
04cf9013a8
Rewrite zoom filters as objects, support variables in zoom definitions.
2012-12-20 12:37:38 -05:00
Tom MacWright
3c4baaf8cb
Update filtervariable test
2012-12-20 11:13:18 -05:00
Tom MacWright
f693f062ec
Allow for filters which compare fields.
2012-12-19 18:59:16 -05:00
Tom MacWright
73f544333a
Remove straggling import stuff
2012-12-19 18:24:35 -05:00
Tom MacWright
84a34be10a
Add filter test
2012-12-19 17:37:17 -05:00
Tom MacWright
180cd0cc6e
Add field test
2012-12-19 17:34:34 -05:00
Tom MacWright
9eee907467
Simplify filter system, support numeric variables in filters
2012-12-19 17:01:35 -05:00
Tom MacWright
8603799fa7
Add oneline test
2012-12-19 14:19:13 -05:00
Dane Springmeyer
0d294c1075
add standalone mss rendering tests for desired empty style dropping behavior - refs #219
2012-12-18 18:25:13 -08:00
Dane Springmeyer
23d11fedc6
skip mss that is valid
2012-12-18 16:40:11 -08:00
Dane Springmeyer
675158cba9
call path.basename on mss filename input
2012-12-18 16:24:14 -08:00
Dane Springmeyer
75875e2781
add tests for #214 - test 'a' currently fails for me
2012-12-18 16:12:47 -08:00
Dane Springmeyer
cd948535a5
add test for #218
2012-12-18 16:09:31 -08:00
Dane Springmeyer
4825f9aee8
only call done when the test is actually finished, whether error or not - refs #210
2012-12-18 16:02:44 -08:00
Dane Springmeyer
7d7cc2653c
add tests specifically of error handling of parsing standalone mss files
2012-12-18 15:51:39 -08:00
Tom MacWright
f41312597c
Move .is to prototype, start testing quoteds
2012-12-18 17:16:40 -05:00
Tom MacWright
4181df378f
Rewrite filterset in more vanilla-javascript style, add more tests
2012-12-18 16:50:53 -05:00
Tom MacWright
13bc8c3488
Start on a condense branch. This is related to #20
...
See https://gist.github.com/4329932 for more detail.
2012-12-18 13:27:04 -05:00
Tom MacWright
25a2940ebc
Fix regex nesting inheritance
2012-12-06 12:48:09 -05:00
Tom MacWright
2fcbdaacfd
Stricter equality for empty string arguments to functions, and tests.
2012-11-29 15:17:06 -05:00
Dane Springmeyer
8ef4efbe39
fix handling of no errors from error handling tests - closes #210
2012-11-29 11:36:39 -08:00
Dane Springmeyer
dc798c0e07
Merge branch 'master' of github.com:mapbox/carto
2012-10-24 13:06:02 -07:00
Dane Springmeyer
410f47b5ce
report correct, current carto version via package.json - closes #205
2012-10-24 13:04:25 -07:00
Tom MacWright
8fc2c06b45
Evaluate calls before keywords. Fixes #203
2012-10-21 17:57:45 -04:00
Tom MacWright
f9fcffeeba
Fix nested class behavior. This changes the output of complex_cascades
...
and changes current behavior, but to the best of my sleep-deprived
cognition I think we were testing for incorrect behavior.
2012-10-15 10:16:27 -07:00
Tom MacWright
00e797dc2d
Did you mean for properties, with proper levenstein distance for
...
better matching. Fixes #199
2012-10-09 21:30:42 -04:00
Tom MacWright
e7658c618e
Much better error reporting, did you mean
2012-10-09 09:09:17 -04:00
Tom MacWright
45657268f9
More verbose and informative error messages, especially when dealing
...
with keyword values. Fixes #109
2012-10-08 18:39:09 -04:00
Tom MacWright
1d9b5d93ca
Permit keywords as strings. Fixes #193
2012-10-08 18:28:27 -04:00
Tom MacWright
4b7fc5fb57
Fix concatenation of strings with variables and other strings
2012-10-08 18:12:54 -04:00
Tom MacWright
3d216f6295
Test for #192 to keep it closed
2012-09-29 16:54:10 -04:00
Tom MacWright
101026fe3c
Fix parsing of selectors with comments between elements.
...
This brings over cloudhead/less.js@3331637913 and fixes #179
2012-09-21 14:52:47 -04:00
Tom MacWright
912988e174
Fix parsing of whitespace in calls.
...
This brings over cloudmade/less.js@333d1def4 to permit whitespace in
front of arguments of function calls, and tweaks the related test to
make sure it stays that way. This fixes #154
2012-09-21 14:27:19 -04:00
Tom MacWright
033a5cd5a5
Add missing MML file for transforms test
2012-09-21 14:20:21 -04:00
Dane Springmeyer
6a794cd610
add raster-mesh-size test and bump to 0.9.2
2012-09-06 22:33:27 -07:00
Dane Springmeyer
63152ef4e3
fix tests
2012-09-06 22:31:31 -07:00
Tom MacWright
829fe84baf
Add unsigned support and test code
2012-09-04 12:57:25 -04:00
Dane Springmeyer
874f51870a
adapt to Mapnik 2.1 syntax for new features that are settling out - specifically now using commas to separate chained transforms or image-filters and using () in agg-stack-blur image filter - refs #171 and #140
2012-08-14 13:26:33 -07:00
Dane Springmeyer
53e7ece4cc
finish update to use mapnik-reference 0.4.0
2012-08-01 18:16:48 -07:00