Commit Graph

16768 Commits

Author SHA1 Message Date
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
Mike Morris
9b6cff4301 Merge branch 'libuv010' into libuv-0.10-fix-context-shutdown
Conflicts:
	setup-libraries.sh
2014-09-22 18:07:46 -04:00
Mike Morris
8e1bbae81f bump mapnik-packaging 2014-09-22 18:06:24 -04:00
John Firebaugh
ee3e0827a2 transition-* ⇢ *-transition
https://github.com/mapbox/mapbox-gl-style-spec/issues/148
2014-09-22 14:32:30 -07:00
Mike Morris
96736d83df Merge branch 'master' into libuv010
Conflicts:
	setup-libraries.sh
2014-09-22 17:26:14 -04: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
Mike Morris
65df83ce4c bump mapnik-packaging, remove unnecessary view.make_active calls 2014-09-19 16:16:44 -04:00
Justin R. Miller
0039479d6e bump Cocoa one more time 2014-09-18 10:29:25 -07:00
Justin R. Miller
eb1f1a7052 bump Cocoa for location fixes 2014-09-18 09:57:33 -07:00
Justin R. Miller
647335c218 bump Cocoa 2014-09-17 18:51:55 -07:00
Justin R. Miller
5788714e3b fix 64-bit iOS builds 2014-09-17 18:26:33 -07:00
AJ Ashton
65185ca377 Update Ubuntu instructions in README [skip ci] 2014-09-17 14:10:40 -07:00
Mike Morris
d48e5e7221 make_active only for CGL in clear_buffers 2014-09-16 18:06:24 -04:00
Mike Morris
9d369ec742 dont make_active when clearing buffers, call make_inactive at end of Map::prepare() 2014-09-16 18:00:52 -04:00
John Firebaugh
e26020ccac Add gcc back to build matrix (fixes #465) 2014-09-15 11:34:12 -07:00
Mike Morris
70aaf8d343 pass NULL instead of nullptr to glXMakdeCurrent 2014-09-11 10:09:30 -04:00
Mike Morris
1f7c591bc4 clear_buffers in make_inactive, call make_inactive in destructor 2014-09-11 09:59:08 -04:00
Mike Morris
f93a230e97 drop clear_buffers and glx make_inactive from descrtuctor 2014-09-11 09:48:12 -04:00
Mike Morris
d9ccc501c3 add GLX support to HeadlessView::make_inactive 2014-09-10 19:42:06 -04:00
Mike Morris
57fb4b984d don't terminate after Map::run 2014-09-10 19:23:40 -04:00
Mike Morris
c03beb070b fix Map::terminate? 2014-09-10 19:15:03 -04:00
Mike Morris
89f54e8789 update Painter::deleteShaders 2014-09-10 19:00:28 -04:00
Mike Morris
15564b81a3 Merge branch 'fix-context-shutdown-merge' into libuv-0.10-fix-context-shutdown
Conflicts:
	src/map/map.cpp
2014-09-10 18:53:20 -04:00
Leith Bade
7a4c914d05 Move notify_map_change() from a global callback, to a callback in
View.

This allows for their to me more than one Map object alive at a
time.

Fixes mapbox/mapbox-gl-native#346

Conflicts:
	common/glfw_view.hpp
	include/llmr/map/view.hpp
	include/mbgl/map/transform.hpp
	src/map/map.cpp
	src/map/transform.cpp
	test/headless.cpp
2014-09-10 18:47:13 -04:00