Commit Graph

1739 Commits

Author SHA1 Message Date
Mike Morris
6bd63c565e Merge pull request #486 from mapbox/mphash-libuv-pkgconfig
bump mapnik-packaging
2014-10-10 18:25:39 -04:00
Mike Morris
8a97cf42a9 bump mapnik-packaging 2014-10-10 17:07:57 -04:00
John Firebaugh
62927bd762 Protect all possibly-unset env vars 2014-10-10 10:16:23 -07:00
Mike Morris
8db6325b8a fix TRAVIS unbound var error 2014-10-10 12:49:27 -04:00
John Firebaugh
f390dab0ea Upload library tarball only on travis (fixes #485) 2014-10-09 10:58:55 -07:00
Konstantin Käfer
f807926f5e report a permanent error instead of aborting on unknown error codes
fixes #479
2014-10-08 16:05:27 +02:00
Konstantin Käfer
bf9435a2c4 remove outdated comment
[skip ci]
2014-10-08 15:59:05 +02:00
Konstantin Käfer
708194cb1a define variable outside of loop scope 2014-10-01 05:20:23 -07:00
Konstantin Käfer
6b1a86c37c fix gcc cannot call member function without object error 2014-10-01 05:20:12 -07:00
Konstantin Käfer
d03b7aa31a properly ref/unref the handle and run the loop again for shutdown purposes 2014-10-01 13:26:49 +02:00
Konstantin Käfer
8fcc74e253 fix headless tests 2014-09-30 17:29:10 +02:00
Konstantin Käfer
a9039cf5d7 move file request baton to its own file 2014-09-30 17:29:09 +02:00
Konstantin Käfer
5d34c18c80 disable URLcache for NSURLRequests 2014-09-30 17:29:09 +02:00
Konstantin Käfer
5c6863c540 add missing include 2014-09-29 08:10:31 -07:00
Konstantin Käfer
9e44c0eae8 add reachability 2014-09-29 14:02:42 +02:00
Konstantin Käfer
135f68e249 add retries in case of connection failures 2014-09-29 13:18:50 +02:00
Konstantin Käfer
46e06bf378 don't pass the loop through all function calls 2014-09-29 12:27:34 +02:00
Konstantin Käfer
b9628c8654 add etag support and if-none-match/if-modified-since to cocoa http handling 2014-09-26 16:10:39 +02:00
Konstantin Käfer
1209744b38 use the default cache location on ios to avoid writing to unwritable file system locations 2014-09-24 17:08:44 +02:00
Konstantin Käfer
992d9ff051 add back CURL requesting 2014-09-24 16:19:47 +02:00
Konstantin Käfer
0fc1f66868 whitespace fixes 2014-09-24 16:16:30 +02:00
Konstantin Käfer
ec3183754e move cocoa nsurlrequest code to common folder 2014-09-24 16:16:30 +02:00
Konstantin Käfer
3f38c7650e add retry timers 2014-09-24 16:16:29 +02:00
Konstantin Käfer
a142fd5e3a convert http(s)://*.tiles.mapbox.com/ to mapbox:// for unified caching 2014-09-24 16:16:29 +02:00
Konstantin Käfer
daa22d6b0f use asynchronous worker termination
instead of waiting until all threads have joined, we are now supplying a callback that will be invoked once all threads have terminated. you can use this callback to free the worker struct
2014-09-24 16:16:29 +02:00
Konstantin Käfer
19129cbd02 make SourceInfo object noncopyable and use a shared_pointer for it 2014-09-24 16:16:29 +02:00
Konstantin Käfer
111fccb76c option to pass data parameter, and add more explanation 2014-09-24 16:14:10 +02:00
Konstantin Käfer
ba18c08524 add a callback to stop() to allow running the current thread's event loop 2014-09-24 16:14:10 +02:00
Konstantin Käfer
89cd310cf6 notifications on request cancellation 2014-09-24 16:14:10 +02:00
Konstantin Käfer
fd2b2e2082 use separate workers for tile parsing to avoid blocking the threadpool for other libuv actions 2014-09-24 16:14:09 +02:00
Konstantin Käfer
f26bb724dc use util::ptr as a wrapper around std::shared_ptr that asserts nonemptiness 2014-09-24 16:14:09 +02:00
Konstantin Käfer
6c526e5637 make sure all of our async handles are stopped before stopping the map thread 2014-09-24 16:14:09 +02:00
Konstantin Käfer
d9fc7708a2 do 304 requests and cache them in sqlite 2014-09-24 16:14:09 +02:00
Konstantin Käfer
062e911c6d remove shared_from_this() usage 2014-09-24 16:14:09 +02:00
Konstantin Käfer
cc4799510b add -g 2014-09-24 16:14:09 +02:00
Konstantin Käfer
8a84cdb617 pass libuv, libcurl and boost headers down to dependents 2014-09-24 16:14:09 +02:00
Konstantin Käfer
91f8318981 fix build issues 2014-09-24 16:14:09 +02:00
Konstantin Käfer
2f088b5938 add libcurl build 2014-09-24 16:12:54 +02:00
Konstantin Käfer
b757805ffb fix issue that deleted the data part of a std::string as a std::string object 2014-09-24 16:12:03 +02:00
Konstantin Käfer
934cb7cd0a link dependencies with sqlite3 2014-09-24 16:12:03 +02:00
Konstantin Käfer
c2eb6502c8 add missing headers 2014-09-24 16:12:03 +02:00
Konstantin Käfer
a6fc961e2f don't report SQLITE_OK as an error 2014-09-24 16:12:03 +02:00
Konstantin Käfer
b94635f704 parse cache-control and last-modified headers 2014-09-24 16:12:03 +02:00
Konstantin Käfer
28446bed24 compress data and store type 2014-09-24 16:12:02 +02:00
Konstantin Käfer
83fe11e0fc also store other response codes in the cache 2014-09-24 16:12:02 +02:00
Konstantin Käfer
a9a2b3ad33 remove access token from URL 2014-09-24 16:12:02 +02:00
Konstantin Käfer
34fe7dc627 add basic request caching with sqlite 2014-09-24 16:12:02 +02:00
John Firebaugh
ee3e0827a2 transition-* ⇢ *-transition
https://github.com/mapbox/mapbox-gl-style-spec/issues/148
2014-09-22 14:32:30 -07:00
John Firebaugh
4b98870e99 Support pixelRatio parameter for render tests 2014-09-22 14:05:15 -07:00
John Firebaugh
896379daa5 Refactor tile cover to match JS 2014-09-22 13:39:43 -07:00