83 Commits
Author SHA1 Message Date
Konstantin Käfer ed38a3d3ae bump to version v0.2.0 2012-03-08 22:44:09 +01:00
Konstantin Käfer 0e9bfffbe9 update dependencies 2012-03-08 22:43:44 +01:00
Konstantin Käfer c7c4304567 add putDuplicateTile function 2012-03-08 21:56:57 +01:00
Konstantin Käfer 6c5047843d add close method 2012-03-05 16:18:42 +01:00
Konstantin Käfer 659da32749 bump to version v0.1.12 2011-09-22 17:15:11 +02: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 222414b187 bump to version v0.1.11 2011-09-20 22:58:42 +02:00
Konstantin Käfer fb30fb0ee5 fix hang after previous request failed 2011-09-20 22:45:23 +02:00
Konstantin Käfer 556fde0a20 bump to version v0.1.10 2011-09-20 17:35:06 +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
Konstantin Käfer 4a2aa38533 bump to version v0.1.8 2011-09-14 16:53:16 +02:00
Konstantin Käfer 5d2474f831 require at least sqlite 2.0.17 (fixed memory leak) 2011-09-14 16:52:55 +02:00
Konstantin Käfer aea1baf24f bump to version v0.1.4 2011-07-26 16:50:49 +02: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 235d21939a bump to version v0.1.3 2011-07-26 13:54:26 +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
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 1426060f44 update readme 2011-07-13 16:52:44 +02:00
Konstantin Käfer 1d7f9104c1 Merge branch 'tilelive-refactoring'
Conflicts:
	lib/mbtiles.js
	package.json
2011-07-13 16:49:04 +02:00
Konstantin Käfer 69ba7cbbb1 add reloading of database and test 2011-07-11 17:51:39 +02:00
Konstantin Käfer c767df7ee6 remove race condition from parallel writing 2011-07-11 15:44:56 +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 bdb387ce10 add grid writing test 2011-07-07 22:54:25 +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 75bbccab9b parse in the try/catch 2011-06-29 20:57:08 +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 537a70611f don't call the callback twice in case it fails 2011-06-28 23:44:44 +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
Konstantin Käfer 413ecb3b57 update bin/mb* utils 2011-06-28 15:12:56 +02:00
Konstantin Käfer 50c87fbee4 update version number and add changelog 2011-06-28 15:04:40 +02:00
Konstantin Käfer fcca6a4dc3 update test to reflect new arguments order 2011-06-28 14:52:48 +02:00
Konstantin Käfer 13f73ee769 Merge branch 'master' into tilelive-refactoring 2011-06-28 14:45:45 +02:00
Konstantin Käfer e87e8a89ab add test mbtiles file to gitignore 2011-06-28 14:43:32 +02:00
Konstantin Käfer fdcbfcbb7a add gitignore 2011-06-28 14:43:00 +02:00
Konstantin Käfer 36bdc51821 change x, y, z, to z, x, y 2011-06-27 20:34:10 +02:00
Konstantin Käfer d87ca40681 safe handling of malformed databases 2011-06-27 19:57:07 +02:00
Konstantin Käfer 9f08ae3e26 add tests with empty/non-existent database 2011-06-27 19:39:41 +02:00
Konstantin Käfer e643a5bbc0 change tests to new interface 2011-06-27 19:29:08 +02:00
Konstantin Käfer c85cd5d6de update main entry point 2011-06-27 15:37:39 +02:00
Konstantin Käfer 4a8b9ad111 use new tilesource interface 2011-06-27 15:31:56 +02:00
Konstantin Käfer 4d8da2dbae Merge branch 'master' of github.com:mapbox/node-mbtiles into tilelive-refactoring
Conflicts:
	lib/mbtiles.js
2011-06-27 09:34:32 +02:00
Konstantin Käfer fc8164249e add missing require 2011-06-24 10:01:56 +02:00
Konstantin Käfer 19cf7bee5d add dependency to sphericalmercator so that we can move the .info method to mbtiles 2011-06-24 09:56:45 +02:00
Konstantin Käfer c5660f598d first stab at online tiles 2011-06-21 21:45:38 +02:00
Konstantin Käfer 6fe47f5fa9 return real error objects 2011-06-21 16:39:14 +02:00
Konstantin Käfer 603f9bde1e create mbtiles file 2011-05-13 18:57:34 -04:00
Konstantin Käfer 4a8b27e5fe test for new amount of files 2011-05-13 18:11:13 -04:00
Konstantin Käfer 22cd331ef7 add rest of the grids too 2011-05-13 18:10:58 -04:00
Konstantin Käfer ed9eeaff50 also fix different schema 2011-05-13 17:29:41 -04:00
Konstantin Käfer d265bf2525 test non-existant grid 2011-05-13 15:57:37 -04:00
Konstantin Käfer 14d969e810 add grid tests and return error with invalid grid 2011-05-13 15:51:52 -04:00
Konstantin Käfer e02b1a84bd use correct amount of test images 2011-05-13 14:04:01 -04:00
Konstantin Käfer 89bbaed82e add test images 2011-05-13 14:03:47 -04:00
Konstantin Käfer 686f1f5916 test tile retrieval 2011-05-13 14:01:22 -04:00
Konstantin Käfer 8cbfd47d37 crushed mbtiles files 2011-05-13 12:47:12 -04:00
Konstantin Käfer fe05fc2e74 add first test 2011-05-13 12:42:39 -04:00
Konstantin Käfer b5fbf4642f change version numbers to x.x.x format 2011-05-13 12:33:14 -04:00
Konstantin Käfer 9cb9ad771d forward zlib decompression errors instead of failing hard 2011-05-12 16:24:40 -04:00