Commit Graph

1074 Commits

Author SHA1 Message Date
Tom MacWright
d607326cc7 Don't tolerate no-selector elements, tolerate Map, adds tests 2011-10-13 11:12:50 -04:00
Tom MacWright
8ce57f8a90 Stashing nohash while master is broken 2011-10-13 10:59:01 -04:00
Konstantin Käfer
816ed030d3 sort styles by first rule's index 2011-10-09 14:06:50 +02:00
Konstantin Käfer
bd89122a57 only output layer when we have something to draw 2011-10-09 13:23:44 +02: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
AJ Ashton
fe752160da Proper JSON syntax 2011-09-10 16:47:37 -06:00
AJ Ashton
371dd20114 Expose new line-rasterizer option. 2011-09-09 17:46:51 -06:00
Tom MacWright
5db72d0375 Adding shield-wrap-width and wrap-character 2011-09-08 13:42:01 -04:00
Tom MacWright
c320619cc9 Adding shield-avoid-edges. Fixes #102 2011-09-08 13:30:10 -04:00
Tom MacWright
7295b2f9fd Adding missing shieldsymbolizer properties with reference.json update.
Fixes #103.
2011-09-08 13:21:43 -04: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
70cc208e62 Add new tests, tree.Filter fix. 2011-09-06 11:00:14 -04:00
Konstantin Käfer
80b88d4ba8 use the same description as in the official reference.json 2011-09-05 13:17:10 +02:00
Konstantin Käfer
3d5f324c3d fix parse error 2011-09-04 11:29:56 +02:00
Konstantin Käfer
1bab02eca6 add min-path-length (not yet in mapnik) 2011-09-04 11:23:35 +02:00
Will White
20b06e0d46 Add filename to filter error. 2011-09-02 18:57:00 -04:00
Tom MacWright
d9bb086302 Report correct errors in multi-file errors. Fixes #96, but takes up more memory. 2011-09-02 16:46:40 -04:00
Will White
2e70fa9e10 Use env.error instead of throw. 2011-09-02 16:18:37 -04:00
Tom MacWright
fbf9b22931 Supporting attributes: {} on layers. Includes tests. 2011-08-30 18:20:13 -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
07db7bdf59 Minor touchups 2011-08-26 17:42:43 -04:00
Tom MacWright
fd32a1a50c Straighten out layer formatting. Fixes #93. 2011-08-24 12:40:05 -04:00
Tom MacWright
7c2a5aa9a1 Fix multiple inheritance, fixes #74. Introduces Filterset.clone() 2011-08-24 11:22:44 -04:00
Tom MacWright
963418abb5 Porting c5cb070e05e87e9a70e7d305e460f2b9127282c0 from less.js 2011-08-24 11:06:39 -04:00
Tom MacWright
19e77cd8ab Refining syntax, reducing jslint warnings 2011-08-22 17:19:11 -04:00
Tom MacWright
cbc34d3fbb Fixing rare op-precedence caused bug with zoom levels. Fixes #81 2011-08-22 17:18:48 -04:00
Tom MacWright
86e79b9b2c Fixing high zoom levels, adding test. Addresses #48, needs confirmation 2011-08-19 14:46:43 -04:00
Tom MacWright
2a9f4d5523 Report correct version number when next tag is made. Fixes #88 2011-08-19 13:42:51 -04:00
AJ Ashton
322ece44de Clarifying font-directory situation. 2011-08-18 00:42:24 -03:00
Young Hahn
d3b16a4f12 Add text-align. 2011-08-04 17:10:26 -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
9165b20d53 Fix bad undefined errors var. 2011-07-22 17:14:03 -04:00
Young Hahn
5375ca0540 Initial gutting of externals. 2011-07-22 13:48:52 -04:00
Young Hahn
fa17fb5a8a Use relative require paths. 2011-07-22 12:27:38 -04:00
Konstantin Käfer
700a27ab0f Merge branch 'tilelive-refactoring'
Conflicts:
	lib/carto/renderer.js
2011-07-22 13:11:15 +02:00
Konstantin Käfer
c5c21aadc1 use process.nextTick to prevent race condition 2011-07-22 13:07:56 +02:00
Young Hahn
ff2142f2ab Fix bad destPath reference. 2011-07-21 11:48:20 -04:00
Young Hahn
193c99e4f8 Consistify local caching logic and allow local, non-relative shapefiles to be cached properly. 2011-07-20 19:20:21 -04:00
Young Hahn
42de6fc05b Treat non-extension paths as directories. 2011-07-20 16:32:52 -04:00
Young Hahn
b780ec7a43 Fix for Step group error. 2011-07-20 13:51:19 -04:00
Dane Springmeyer
1b06ce330e actually attempt to get the right .prj rather that just the first - closes #77 2011-07-15 18:26:13 -07:00
Konstantin Käfer
7433cbcdfe pass errors so that we have stack traces 2011-07-12 15:42:32 +02:00
Konstantin Käfer
6f5d62473d pass errors so that we have stack traces 2011-07-12 15:40:42 +02:00
Tom MacWright
02b4ff4008 Support variables in filters on the lhs 2011-07-01 13:26:45 -04:00
Tom MacWright
4d542319ad Merge branch 'master' of github.com:mapbox/carto 2011-06-30 13:35:44 -04:00
Tom MacWright
1285ddcccc Correctly noting incorrect operations on strings. 2011-06-30 13:35:31 -04:00
Dane Springmeyer
a8cbac9c78 sync with reference.json repo 2011-06-28 19:19:17 -07:00
Alexander Clausen
7484dd5a8d Add support for shield-halo-radius and shield-halo-fill 2011-06-29 04:08:29 +02: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
Tom MacWright
4eac533d4f Update reference.json to support text placement-type, and built syntaxes. p=jeffschuler 2011-06-14 15:06:10 -04:00
Dane Springmeyer
9da2281b27 sync latest reference.json at 79fdabfc2f 2011-06-02 10:37:38 -07:00
Talin Salway
747845e647 fix .rss and .* types to call callbacks correctly (set err to null, and filename to the second argument) 2011-06-01 16:33:36 -07:00
Tom MacWright
7c48b75bd8 Permit optional-file datasources, including OGR. 2011-06-01 10:16:44 -04:00
Young Hahn
277d6a520c Derive datasource type from 'External' if possible. 2011-05-26 22:51:15 -04:00
Young Hahn
5657da290c Proper handling of relative paths in local datasources. 2011-05-26 16:30:57 -04:00
Young Hahn
7001b8d4bb Write an .origin file in localized directories. 2011-05-26 14:28:22 -04:00
Young Hahn
9529575662 Improve externals handling of local files and clarify concepts of tmp files, data cache and local basepath. 2011-05-26 14:08:43 -04:00
Young Hahn
0942f5bd1a Don't use External() for non-file datasources. 2011-05-25 13:59:24 -04:00
Young Hahn
bb04c13873 More descriptive error for missing files. 2011-05-25 03:12:14 -04:00
Young Hahn
b32d7140f4 Final step should not throw error. 2011-05-25 03:12:03 -04:00
Young Hahn
756d5fb913 Use on() instead of once() for node 0.2.x compatibility. 2011-05-25 01:29:24 -04:00
Young Hahn
a4f2d4af00 Update initialize to not use parallel(). 2011-05-24 22:19:52 -04:00
Young Hahn
6e2d0e1b22 Add manual aliasing to External. 2011-05-24 15:09:58 -04:00
Young Hahn
a29f407c3e Cleanup flow for localization, ensureSRS. 2011-05-24 11:34:33 -04:00
AJ Ashton
d3da3d1b27 Adding text-opacity. Refs #50 2011-05-22 16:45:02 -04:00
AJ Ashton
c985e85d6d Adding support for point-opacity. Closes #51. 2011-05-22 15:00:14 -04:00
Will White
70488bb610 Pass by files that don't have downloadable datasources. 2011-05-19 14:26:51 -04:00
Tom MacWright
4c30131e4f Merging package. Supporting variables in filters 2011-05-17 13:54:44 -04:00
Tom MacWright
3212f74ff7 Never call console.log in carto 2011-05-17 13:52:59 -04:00
Tom MacWright
b57ca6b54d Javascript: whoah, what is up with your number system. 2011-05-13 08:36:44 -04:00
Tom MacWright
8e12df5252 Merge branch 'master' of github.com:mapbox/carto 2011-05-12 14:43:37 -04:00
Tom MacWright
8e8eaba3c1 Fixing bad-mode-as-string problem. 2011-05-12 14:43:25 -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
ba332becd3 JSHint cleanup 2011-05-10 17:34:07 -04:00
Tom MacWright
54f1bb0eed Small formatting tweaks 2011-05-10 17:22:37 -04:00
Tom MacWright
ac0d834785 Reverting part of f5287805b1 to eliminate catastrophic backtracking. Fixes #11. 2011-05-10 17:22:17 -04:00
Tom MacWright
0b4bd04a41 Throw if a stylesheet is asked for but not downloadable 2011-05-01 19:08:57 -04:00
Tom MacWright
d87d25dc11 Ignore dot-files and dot-directories. 2011-05-01 18:59:03 -04:00
Tom MacWright
4535fe09f1 Don't call ensureSRS contents when only_validate is true. Fixes #30. 2011-04-29 15:13:06 -04:00
Tom MacWright
13b62bfc15 Be careful with scope 2011-04-29 14:58:47 -04:00
Tom MacWright
2bbebd306f Don't require() in code bodies. 2011-04-29 14:53:43 -04:00
Tom MacWright
77f4812ccc node-get is now get 2011-04-29 14:53:19 -04:00
Dane Springmeyer
7b8e7474c3 update reference.json at 5cc859cc66b 2011-04-25 18:48:26 -07:00
Tom MacWright
bcd39d82ef Fixing number multiplication, which was broken in reformatting. Fixes #26. 2011-04-14 12:56:21 -04:00
Tom MacWright
820f16e30c The opposite of that. 2011-04-07 12:54:01 -04:00
Tom MacWright
8dfda52792 Merge branch 'master' of github.com:mapbox/carto 2011-04-07 12:49:36 -04:00
Tom MacWright
cfa72706d0 Switching server-side checking to process instead of window. 2011-04-07 12:49:20 -04:00
AJ Ashton
bad9eaf067 Adding polygon-pattern-alignment 2011-03-29 14:38:47 -04:00
Tom MacWright
c4c78ab36d Updating reference.json with shield fixes. 2011-03-15 14:28:04 -04:00
Tom MacWright
6626b3257e Catch several more classes of undefined variable errors. Fixes TM#278 2011-03-14 11:15:36 -04:00
Young Hahn
646b23e0b4 Accept .json extension as geojson. 2011-02-27 15:20:03 -05:00
Dane Springmeyer
2000ce728f sync reference.js with https://github.com/mapnik/reference.json/ 2011-02-23 08:13:56 -08:00
AJ Ashton
6e1b526880 Add transform to PointSymbolizer. 2011-02-21 12:48:37 -05:00
AJ Ashton
cb5fa34e94 Support TextSymbolizer's vertical-alignment style. 2011-02-19 17:10:03 -05:00
Tom MacWright
c4b35bf4f2 Fix percentages in color functions. Fixes TM#217. 2011-02-18 15:08:06 -05:00
Tom MacWright
7c1cea7f0a Ignore dotfiles and dot-directories. TM #210 related. 2011-02-17 10:08:21 -05:00
Konstantin Käfer
94507ac552 some cleanup 2011-02-08 10:09:22 -05:00
Konstantin Käfer
80db063b58 try to reparse srs when it fails. works around https://github.com/springmeyer/node-srs/issues#issue/1 2011-02-07 16:50:49 -05:00
Konstantin Käfer
870f25bf67 apply * rules to all layers 2011-02-07 15:13:24 -05:00
Konstantin Käfer
d6255165c7 validate properties on xml objects. fixes #6 2011-02-07 14:56:11 -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
Konstantin Käfer
9ad3b540f8 fix color parsing 2011-02-07 12:49:35 -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
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
Young Hahn
1c1192fad0 Update reference.json. 2011-02-07 10:57:19 -05:00
Young Hahn
eadd5285af Fix for stray underscore. 2011-02-07 10:57:11 -05:00
Konstantin Käfer
1d56d2f37b Merge branch 'master' of github.com:developmentseed/mess.js 2011-02-04 15:06:51 -05:00
Konstantin Käfer
d165ff4302 allow concatenating attachments with / 2011-02-04 15:06:31 -05:00
Tom MacWright
eaa34807f9 De-doup map properties. Fixes #85. 2011-02-04 13:08:29 -05:00
Konstantin Käfer
88cf786b48 Merge branch 'master' of github.com:developmentseed/mess.js 2011-02-04 12:26:06 -05:00
Konstantin Käfer
5b041c70a7 assign random id/name when there are none defined 2011-02-04 12:25:45 -05:00
Konstantin Käfer
6d143b1160 allow defining attachments before the __default__ attachments as child selectors 2011-02-04 12:24:56 -05:00
Tom MacWright
a73965fd63 Switch to node-get instead of netlib 2011-02-03 15:42:03 -05:00
Konstantin Käfer
76ae45312f correct sort function: they have to return negative or positive values, not false or true (false maps to 0, not -1) 2011-02-03 15:38:35 -05:00
Konstantin Käfer
86516824d6 whitespace in wrong string broke xml parsing in mapnik 2011-02-03 13:24:23 -05:00
Konstantin Käfer
87287fb089 properly quote variables and keys 2011-02-02 17:55:17 -05:00
Konstantin Käfer
2438a134f2 Merge branch 'master' of github.com:developmentseed/mess.js into unstable
Conflicts:
	lib/mess/renderer.js
	lib/mess/tree/definition.js
	lib/mess/tree/filter.js
	lib/mess/tree/zoom.js
2011-02-02 17:46:52 -05:00
Konstantin Käfer
ed03f791fd clone rules that are already attached to a definition 2011-02-02 17:01:10 -05:00
Tom MacWright
90fdaab9d7 Document tree items as well, fix up a few of their documentations 2011-02-02 16:47:33 -05:00
Konstantin Käfer
338fc6957d don't output filters twice if the zoom level has already been covered 2011-02-02 16:44:54 -05:00
Tom MacWright
3a57822e7d Fixing mess.Reference 2011-02-02 16:24:50 -05:00
Tom MacWright
490b51c6fd Adding make doc command, making renderer docs better for docco, writing some docs. 2011-02-02 16:24:20 -05:00
Tom MacWright
10088c473f Removing dead browser code 2011-02-02 16:23:56 -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
Konstantin Käfer
ff6ef86790 some fixes for proper rule inheritance 2011-02-02 13:47:12 -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
d562e23206 YaY! we don't need split symbolizers into multiple styles anymore 2011-02-02 12:59:24 -05:00
Tom MacWright
6e04976efc Moving reference data to independent JSON file. 2011-02-02 12:53:27 -05:00
Konstantin Käfer
b0a636c4df split up loop for better readability 2011-02-02 11:48:32 -05:00
Konstantin Käfer
dfe487459b another function we don't need anymore 2011-02-02 11:48:12 -05:00
Konstantin Käfer
ca76e45e0c output correct zoomlevels 2011-02-02 11:34:53 -05:00
Konstantin Käfer
b1533c3fe3 remove unused code 2011-02-02 11:34:37 -05:00
AJ Ashton
90785a9ca4 Making stroke-gamma consistent with other line-properties. 2011-02-02 10:29:12 -05:00
Tom MacWright
32ac11d655 Support keywords with numbers. Fixes #77. 2011-02-02 10:25:49 -05:00
Dane Springmeyer
9c385c0b22 add dx,dy for both text and shield on shield symbolizer 2011-02-01 20:45:36 -08:00
Dane Springmeyer
afe4c82b1e sync minimum_distance property with mapnik trunk and add minimum_padding for text 2011-02-01 20:29:55 -08:00
Dane Springmeyer
0498898495 'ratio' should be 'text-ratio' 2011-02-01 19:54:49 -08:00
Dane Springmeyer
fe60d3e65e standardize on single quotes (trying to parse this from python) 2011-02-01 19:25:37 -08:00
Konstantin Käfer
a67e48061f should output correct xml now 2011-02-01 21:35:40 -05:00
Dane Springmeyer
b26b0e42cd add stroke gamma 2011-02-01 18:01:12 -08:00
Konstantin Käfer
c48e0ee2bf saving state of work 2011-02-01 19:49:22 -05:00
Dane Springmeyer
d39d3cb0b2 Merge branch 'master' of github.com:developmentseed/mess.js 2011-02-01 15:17:29 -08:00
Dane Springmeyer
6aa10cdd0b update reference.js with new interior placement option in mapnik for point and text symbolizers 2011-02-01 15:17:15 -08:00
Konstantin Käfer
4143a0308a Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-31 17:35:35 -05:00
Konstantin Käfer
87873c0a4c we don't have winners here 2011-01-31 17:35:10 -05:00
Tom MacWright
71aa80bfbc Fixing everything-regex 2011-01-31 16:53:19 -05:00
Tom MacWright
021b3560a7 KML and geojson support 2011-01-31 16:40:16 -05:00
Tom MacWright
237880e6fa Adding findDataFile, raster support. 2011-01-31 15:06:37 -05:00
Konstantin Käfer
dbef7372f5 updated debug function to accomodate for light selectors 2011-01-31 12:07:14 -05:00
Konstantin Käfer
e1f44f9ff5 simplify more complex filters too 2011-01-31 12:06:57 -05:00
Konstantin Käfer
eff5b3312f add mergeSelectors back in 2011-01-31 11:36:47 -05:00
Konstantin Käfer
ad48269a7a Using a simple loop speeds this up by 70ms for opened.mml 2011-01-31 09:38:40 -05:00
Young Hahn
80e24517ae Add missing return. 2011-01-31 00:13:19 -05:00
Young Hahn
89731ed7ca Merge basic URL checking from tilelive.js netlib. 2011-01-30 23:28:04 -05:00
Konstantin Käfer
444577f548 fix escaping 2011-01-30 17:27:14 -05:00
Konstantin Käfer
dc03272d34 simplify filter.val 2011-01-30 17:20:17 -05:00
Konstantin Käfer
7c0b33d946 we don't need the index 2011-01-30 16:53:20 -05:00
Konstantin Käfer
7c9619f36c we never call it without an operator. 2011-01-30 16:27:56 -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
caec1412fb only continue with sound filters 2011-01-30 16:00:47 -05:00
Konstantin Käfer
7a21f1bbfe convert values to numbers when comparing ranges 2011-01-28 22:54:29 -05:00
Konstantin Käfer
561b4973db simplify selectors correctly 2011-01-28 22:15:36 -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
ace2767273 Proper error handling for HTTP >= 400. 2011-01-28 17:54:57 -05:00
Konstantin Käfer
1010cb5f24 add superset detection and fix soundness check 2011-01-28 17:41:20 -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
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
448516d002 use prototype directly instead of Object.getPrototypeOf. This breaks cloning of subclasses which we don't have anyway.
also do lightweight clones of the selector object
2011-01-28 16:36:19 -05:00
Konstantin Käfer
17e926df0b move elements parameter to third position 2011-01-28 16:17:20 -05:00
Konstantin Käfer
73dbcaed0d create instances on the fly 2011-01-28 16:15:02 -05:00
Konstantin Käfer
d2bc9c18d0 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-28 16:10:07 -05:00
Konstantin Käfer
c0ac2e477f replace __default__ with undefined/empty string 2011-01-28 16:09:50 -05:00
Tom MacWright
a7e7c3388e Adding BuildingSymbolizer 2011-01-28 15:47:59 -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
3617d41b9e toString of filter comparison needs to be XML-safe. possibly should be renamed toXML, but right now causes mapnik failure 2011-01-28 13:02:39 -05:00
Tom MacWright
8b731764a0 Adding type for variable error 2011-01-28 11:23:50 -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
Dane Springmeyer
e1726ccbbf skip directories rather than throwing 2011-01-27 16:56:18 -08:00
Tom MacWright
2fe17cf5e3 Support external images for background-images 2011-01-27 19:01:38 -05:00
Tom MacWright
bb765146f1 Support JPEG as well 2011-01-27 19:01:21 -05:00
Tom MacWright
fb7b73a8d0 Re-adding all-equal optimization 2011-01-27 17:14:31 -05:00
Konstantin Käfer
d6f3f6b2f8 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-27 16:52:24 -05:00
Konstantin Käfer
0065de0e64 change tree.Zoom to use bitmasks instead of arrays 2011-01-27 16:52:07 -05:00
Tom MacWright
7833b26ade Properly handle no-closing } parser failures. 2011-01-27 16:39:35 -05:00
Tom MacWright
b8d4735179 Complete refactor of error reporting, which needs
the attendant commit in TM. Fixes #71, breaks
one error: closing brackets.
2011-01-27 16:11:58 -05:00
Konstantin Käfer
f889597358 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-27 16:00:07 -05:00
Tom MacWright
18471b2ab5 Validate font if any font in a fontset is available 2011-01-27 11:44:05 -05:00
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
10cf45f423 Tweak validation fail language 2011-01-27 10:58:21 -05:00
Tom MacWright
c2ad0c0d88 Fixing tricky syntax error in font validation. 2011-01-27 10:52:28 -05:00
Konstantin Käfer
2012d1a99a more instrumentation 2011-01-27 10:17:45 -05:00
Konstantin Käfer
4c40bcc2c5 add some time instrumentation 2011-01-27 10:06:56 -05:00
Tom MacWright
b5625ff29d Micro-optimization for large rule #s 2011-01-27 09:58:22 -05:00
Tom MacWright
047fc6e88b Outputting errors in messc again. 2011-01-27 09:56:39 -05:00
Konstantin Käfer
2590b987d6 microoptimizations for shortcut 2011-01-27 09:38:46 -05:00
Tom MacWright
01035a8805 Handling float values in filters. 2011-01-27 09:24:15 -05:00
Konstantin Käfer
b699baaa71 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-26 18:50:02 -05:00
Konstantin Käfer
bfc5b90c7c microoptimizations 2011-01-26 18:49:43 -05:00
Tom MacWright
19fbde80d6 Fix tests with shortcut 2011-01-26 18:43:54 -05:00
Tom MacWright
71e33ad325 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-26 18:34:07 -05:00
Tom MacWright
04a60bfba5 Add gnarly optimizations for single-selector equality lines 2011-01-26 18:34:03 -05:00
Konstantin Käfer
2e09386b4c remove unneeded sort 2011-01-26 18:24:52 -05:00
Tom MacWright
b2c8d2800a Adding req_prop_list_cache 2011-01-26 18:04:53 -05:00
Tom MacWright
9506b27515 Adding rules cache. 2011-01-26 17:56:46 -05:00
Tom MacWright
facc5b7b94 First tiny performance stub 2011-01-26 17:41:14 -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
1f97c050bf Remove external dependency 2011-01-26 16:19:08 -05:00
Tom MacWright
b42cee2dff Documenting new arg 2011-01-26 14:20:17 -05:00
Tom MacWright
104c2e09f3 Switching to non-blocking version of zipfile
bindings. Requires re-ndistro. Fixes #66.
2011-01-26 14:03:58 -05:00
Tom MacWright
3a20bea0dd Adding dy/dx to shield 2011-01-26 13:34:16 -05:00
Tom MacWright
155438fe7c Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-26 12:51:42 -05:00
Tom MacWright
b1cb94e904 Fix rendering of stylesheets without deffered stuff 2011-01-26 12:51:36 -05:00
Konstantin Käfer
b02d2f9625 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-26 12:44:29 -05:00
Konstantin Käfer
daeba23782 call the right function 2011-01-26 12:44:03 -05:00
Tom MacWright
b05c3e99ec Adding support for external URLs. Test on deck. 2011-01-26 12:24:35 -05:00
Konstantin Käfer
7e2d2366df resolve some more potential race conditions with Step 2011-01-26 11:58:50 -05:00
Konstantin Käfer
103ac1b4b9 move merging code into separate function 2011-01-26 11:55:04 -05:00
Konstantin Käfer
b49e0be3e2 resolve race condition with multiple stylesheets:
The group() that is incrementing the wait counter was called in the readFile callback. This means that depending on IO speed, it sometimes fired before the others, sometimes after the others. This lead to situations where sometimes, stylesheets were not decoded correctly.
2011-01-26 11:49:53 -05:00
Konstantin Käfer
7f033b640d include the renamed file 2011-01-26 11:49:38 -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
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
f0bab393f0 Fixing multiple on-disk stylesheets. Fixes #67. 2011-01-26 11:12:42 -05:00
Konstantin Käfer
5bd5b0fe9d handle partial overrides correctly 2011-01-25 19:09:02 -05:00
Konstantin Käfer
cfac34fef8 fix #63: support = for zoomlevels 2011-01-25 18:21:53 -05:00
Tom MacWright
925ead096b Never print debugging to stdout. Fixes #64 2011-01-25 17:37:09 -05:00
Tom MacWright
fec9ff60ac Re-add required properties. Fixes #61. 2011-01-25 16:44:18 -05:00
Tom MacWright
00d144bc08 Gracefully handle failing XML files, for error reporting 2011-01-25 16:15:20 -05:00
Konstantin Käfer
cc746a591e make sure we're not iterating over filters other than zoomfilter 2011-01-25 16:10:37 -05:00
Konstantin Käfer
57eddba1ca Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-25 15:42:35 -05:00
Konstantin Käfer
dc659fef8d find shapefiles asynchronously in unzipped folders 2011-01-25 15:42:14 -05:00
Young Hahn
948710c151 Add External to mess exports. 2011-01-25 15:28:33 -05:00
Konstantin Käfer
9358b8b58f add names to functions to be more descriptive 2011-01-25 14:40:39 -05:00