Commit Graph

68 Commits

Author SHA1 Message Date
Young Hahn
cca4271aa3 Move setup step to #startWriting method. 2012-02-24 17:15:50 -05:00
Ian Ward
db5fc04e0d send content-type, last-modified, etag headers w/ grids, not just tiles 2012-02-06 11:42:04 -05:00
Ian Ward
41d42ad32e last-modified header should be in rfc2822 format 2012-02-06 10:40:27 -05:00
Young Hahn
599c519447 Remove memory cache, file watcher. 2011-11-10 15:26:47 -05:00
Young Hahn
2ea555e5dc Don't run _getInfo in constructor. 2011-11-10 00:42:03 -05:00
Young Hahn
7d430f77e5 Use persistent:false on watchFile to allow tests to exit. 2011-10-31 02:40:47 -04:00
Tom MacWright
3ba458a58d 0.1.14 tag with template key 2011-10-12 17:14:56 -04:00
Will White
12a2b6ab31 Doh. Only delete from cache if there is an error. 2011-10-06 11:57:28 -04:00
Will White
d546f64668 Don't cache mbtiles that we can't open. 2011-10-06 11:35:38 -04:00
Konstantin Käfer
411c92c304 Revert "cache file access"
This reverts commit fde3538493.

Conflicts:

	lib/directoryindex.js
2011-09-22 17:02:08 +02:00
Konstantin Käfer
1b5b66e760 cache mbtiles info 2011-09-20 17:33:26 +02:00
Konstantin Käfer
fde3538493 cache file access 2011-09-20 16:58:51 +02:00
Konstantin Käfer
d3145213aa prevent maxlisteners error
we only attach with .once() and always .emit(). Debugging as shown that
there are no "memory leaks" with listeners being added infinitely.
2011-09-14 21:13:16 +02:00
Will White
0fad3c0724 Revert "Add toString method."
This reverts commit 804aabae74.
2011-08-31 14:21:17 -04:00
Will White
083c7bb25c Fix error handling for corrupt MBTiles. 2011-08-29 18:51:20 -04:00
Will White
856c83993c Delete center if center zoom is NaN. 2011-08-26 13:34:06 -04:00
Will White
804aabae74 Add toString method. 2011-08-25 23:29:01 -04:00
Young Hahn
c2b27463ed Add legend, attribution to allowed keys for metadata. 2011-08-02 22:23:11 -04:00
Konstantin Käfer
ad1f87512f cast to number 2011-07-26 15:56:07 +02:00
Konstantin Käfer
0c177e1c35 make the batchsize configurable 2011-07-26 15:54:57 +02:00
Konstantin Käfer
e60dd402a6 Another bug found by @yhahn that lead to comitting too often 2011-07-26 15:44:39 +02:00
Konstantin Käfer
44e9c7ebf7 also set _pending to 0 to prevent calling COMMIT too frequently 2011-07-26 13:53:25 +02:00
Young Hahn
a294f350cb putInfo: Don't exit on invalid keys. 2011-07-25 12:12:27 -04:00
Konstantin Käfer
1afaec43d7 add putInfo method 2011-07-18 19:45:17 +02:00
Konstantin Käfer
64888c7e56 fix handling of empty files 2011-07-18 16:36:11 +02:00
Konstantin Käfer
a0c816c691 check that the file is in write mode 2011-07-18 14:21:50 +02:00
Konstantin Käfer
84509fd0dd unwatch files when removing them from the cache 2011-07-13 21:58:11 +02:00
Konstantin Käfer
69ba7cbbb1 add reloading of database and test 2011-07-11 17:51:39 +02:00
Konstantin Käfer
a647e84431 convert to eventemitter format with caching 2011-07-08 21:40:40 +02:00
Konstantin Käfer
4abe725ed8 typo 2011-07-08 16:24:05 +02:00
Konstantin Käfer
0dc04d0840 support .. as well 2011-07-08 16:22:12 +02:00
Konstantin Käfer
732033fc5c add protocol register function 2011-07-08 16:03:16 +02:00
Konstantin Käfer
491f49570d allow using relative paths 2011-07-08 16:03:08 +02:00
Konstantin Käfer
c6dc413816 more docs 2011-07-07 23:16:18 +02:00
Konstantin Käfer
a1b02f2cf2 add docs and remove old write methods 2011-07-07 23:09:19 +02:00
Konstantin Käfer
1e38f3d1a9 fix errors 2011-07-07 22:54:10 +02:00
Konstantin Käfer
f244fe5517 refactor tile writing 2011-07-07 22:52:29 +02:00
Konstantin Käfer
c0fb0fd2a6 first shot at putTile 2011-07-07 21:04:11 +02:00
Konstantin Käfer
bce3cfcc58 rename non-public functions and variables to begin with an underscore 2011-07-07 15:10:26 +02:00
Konstantin Käfer
49d99af3bd fix for center 2011-07-06 14:17:14 +02:00
Konstantin Käfer
e4f47b91a2 load center 2011-07-06 13:53:06 +02:00
Konstantin Käfer
be5f442f7f add first new-world putTile() function 2011-07-05 19:27:44 +02:00
Konstantin Käfer
49cf70c0ab mbtiles are tms 2011-06-30 19:36:13 +02:00
Konstantin Käfer
3f4044a02b the header name is ETag, not E-Tag 2011-06-30 12:09:53 +02:00
Konstantin Käfer
c1c56a244f fix tests 2011-06-29 20:56:32 +02:00
Konstantin Käfer
096408f44e don't call the callback twice in case it fails
Conflicts:

	lib/mbtiles.js
2011-06-29 14:44:24 +02:00
Konstantin Käfer
b20f0937b8 change interface to XYZ 2011-06-28 20:11:35 +02:00
Konstantin Käfer
92fe4ae9db reformat 2011-06-28 18:09:12 +02:00
Konstantin Käfer
0e637e27e6 add size 2011-06-28 18:08:56 +02:00
Konstantin Käfer
f5c87a14fa pass header information with a .getTile() request 2011-06-28 16:47:23 +02:00