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
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
3b102afc8e
use full URL for status messages
2011-01-25 14:16:03 -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
bd7e9ee36c
remove accidental function name
2011-01-25 12:41:46 -05:00
Konstantin Käfer
dcad607704
Merge branch 'master' of github.com:developmentseed/mess.js
2011-01-25 12:40:03 -05:00
Konstantin Käfer
7e33846de5
fix #54 : simplify filters for contradicting rules and ignore unsound rules alltogether
2011-01-25 12:39:20 -05:00
Tom MacWright
4342f98a11
Fixing markerssymbolizer properties
2011-01-25 12:37:58 -05:00
Konstantin Käfer
bbcca46f6f
make objects easier recognizable with obj.constructor.name
2011-01-25 11:56:07 -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
Konstantin Käfer
8ba60b3e0d
only fire callback when we're really ready
2011-01-24 18:28:07 -05:00
Konstantin Käfer
986624accc
don't create directory tree for caching files
2011-01-24 18:17:35 -05:00
Konstantin Käfer
32510d8fd0
use the .shp file from extracted zipfiles
2011-01-24 18:14:54 -05:00
Konstantin Käfer
ed38139c0b
refactor external to make tests working
2011-01-24 17:23:18 -05:00
AJ Ashton
32b81b142d
Proper mapnik syntax for text-transform.
2011-01-24 16:49:04 -05:00
Tom MacWright
05a782a370
Unique fontsets.
2011-01-24 16:14:28 -05:00
Tom MacWright
49bb63d666
Switching up toString method in getMapProperties
2011-01-24 15:21:42 -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
6882f772c8
Cleaning up renderer exception handling
2011-01-24 14:33:30 -05:00
Tom MacWright
a2732bbe9b
Reasonable defaults in selectors
2011-01-24 14:32:39 -05:00
Tom MacWright
d938bf7dde
Catching but not catching errors is weird behavior
2011-01-24 13:53:38 -05:00
Tom MacWright
3a87423e9d
Comment no longer applies
2011-01-24 13:42:56 -05:00
Tom MacWright
e20b6be6cd
Cleaning up renderer, fixing zoom denominators for multiple symbolizers. Fixes #53 .
2011-01-24 13:42:14 -05:00
Tom MacWright
76122df6f2
First pass at tilemill-friendly validation
2011-01-24 12:50:42 -05:00
Tom MacWright
3a727b1e47
Remove sys inspect on errors, not very user-friendly
2011-01-24 12:50:12 -05:00
Tom MacWright
b05b2c285a
Removing final traces of compress, cleaning up zoomfilter
2011-01-24 12:49:19 -05:00
Konstantin Käfer
c3d0f91410
don't overwrite values in the passed in env variable
2011-01-24 12:38:12 -05:00
Tom MacWright
ab0e95385c
Catch non-zipfile errors
2011-01-24 10:46:35 -05:00
Tom MacWright
80aff7b18a
Cleanup of unzip, still need to rewrite locateShp
2011-01-23 18:59:42 -05:00
Tom MacWright
c63e009acb
Partially fix external-syncing.
2011-01-23 18:46:42 -05:00
Tom MacWright
87fae5ae0a
Fontset support.
2011-01-23 17:07:52 -05:00
Tom MacWright
c670f51004
XML cleanup
2011-01-22 17:43:17 -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
Tom MacWright
dcb12ea092
Merge branch 'unstable' of github.com:developmentseed/mess.js into unstable
2011-01-21 18:42:06 -05:00
Tom MacWright
fc9ace9a31
Catch errors for TM
2011-01-21 18:41:10 -05:00
Konstantin Käfer
465bdd428f
rename toCSS to toString or toXML
2011-01-21 18:28:54 -05:00
Konstantin Käfer
946a7f141a
order attachments by the order they appear in the source
2011-01-21 18:11:41 -05:00
Tom MacWright
656f3bcedc
Remove cruft
2011-01-21 18:02:39 -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
Tom MacWright
616ba20b1b
Fix quotes
2011-01-21 16:55:05 -05:00
Tom MacWright
63f2de46d8
Merging reference.js from TileMill.
2011-01-21 16:54:05 -05:00
Konstantin Käfer
29194a4aee
fix code error
2011-01-21 16:30:43 -05:00
Konstantin Käfer
5139ba1c82
Merge branch 'unstable' of github.com:developmentseed/mess.js into unstable
2011-01-21 16:28:04 -05:00
Konstantin Käfer
6dd557f834
also split definitions by attachment name
2011-01-21 16:27:41 -05:00
Tom MacWright
202ccff12d
No console log here.
2011-01-21 16:24:54 -05:00
Tom MacWright
c692f3de99
Parens needed here
2011-01-21 16:24:01 -05:00
Konstantin Käfer
81f8a7b298
change new(name) to new name
2011-01-21 16:17:52 -05:00
Konstantin Käfer
90ac51a804
output layers again
2011-01-21 16:16:29 -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
Tom MacWright
ba7206d87d
Merge branch 'unstable' of github.com:developmentseed/mess.js into unstable
2011-01-21 15:32:09 -05:00
Tom MacWright
c1a066a492
Removing inline and outline
2011-01-21 15:32:01 -05:00
Konstantin Käfer
2d16adef44
Merge branch 'unstable' of github.com:developmentseed/mess.js into unstable
2011-01-21 15:25:37 -05:00
Konstantin Käfer
f042b3bd7a
add symbolizer support
2011-01-21 15:25:27 -05:00
Tom MacWright
b15ae8a1a2
Handle duplicate definitions again. Fixes #52 .
2011-01-21 14:54:01 -05:00
Konstantin Käfer
7b5b0d86c1
Merge branch 'unstable' of github.com:developmentseed/mess.js into unstable
2011-01-21 13:25:49 -05:00
Konstantin Käfer
6905aa3dff
reverse min/max for scale denominators
2011-01-21 13:25:19 -05:00
Tom MacWright
a521b7b454
Re-support background colors and images
2011-01-21 13:24:35 -05:00