Commit Graph

117 Commits

Author SHA1 Message Date
Konstantin Käfer
087d04292a Merge branch 'master' of github.com:mapbox/mapbox-gl-native 2014-10-22 15:18:30 +02:00
Konstantin Käfer
905c4294be Merge branch 'libuv-0.10-headless-display' into mason
Conflicts:
	common/http_request_baton_curl.cpp
	include/mbgl/map/map.hpp
	include/mbgl/util/uv_detail.hpp
	scripts/travis_before_install.sh
	setup-libraries.sh
	src/map/map.cpp
	src/storage/file_request_baton.cpp
	src/storage/http_request.cpp
	src/util/uv-messenger.c
2014-10-22 15:14:21 +02:00
Konstantin Käfer
253bbd1c5b New mason-based build system 2014-10-22 15:13:35 +02:00
Konstantin Käfer
159130a058 silence warning; GCC needs this parameter, but Clang says its unused 2014-10-22 12:01:56 +02:00
Konstantin Käfer
2f3952b305 fix compile warnings 2014-10-22 11:00:34 +02:00
Konstantin Käfer
a1c5e0cdc1 don't omit parameter name
[skip ci]
2014-10-21 03:06:11 -07:00
Konstantin Käfer
9103d84ace ios build system fixes
[skip ci]
2014-10-21 11:41:30 +02:00
Konstantin Käfer
5a87fb337d first attempt at using mason to install packages
[skip ci]
2014-10-20 17:55:49 +02:00
John Firebaugh
4603ca037c background-image support 2014-10-17 10:44:38 -07:00
Mike Morris
aa4828762c add int status arg to uv_messenger_callback 2014-10-13 16:10:47 -04:00
Mike Morris
2d1219fa51 Merge branch 'master' into libuv-0.10-headless-display
Conflicts:
	common/curl_request.cpp
	common/glfw_view.cpp
	common/glfw_view.hpp
	include/mbgl/platform/request.hpp
	ios/mapbox-gl-cocoa
	setup-libraries.sh
	src/map/map.cpp
	src/platform/request.cpp
	test/fixtures/fixture_request.cpp
2014-10-10 12:24:45 -04:00
Konstantin Käfer
708194cb1a define variable outside of loop scope 2014-10-01 05:20:23 -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
992d9ff051 add back CURL requesting 2014-09-24 16:19:47 +02:00
Konstantin Käfer
3f38c7650e add retry timers 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
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
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
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
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
81c9615122 more fixes for libuv v0.10 2014-08-27 15:58:06 -04:00
Mike Morris
fa85352612 switch uv_cwd back to &max 2014-08-27 15:25:16 -04:00
Mike Morris
f05610b9ab Merge branch 'master' into libuv010 2014-08-27 14:41:30 -04:00
Konstantin Käfer
98c092ec0a add missing header 2014-08-27 14:43:03 +02:00
Konstantin Käfer
953e5524a9 fix basepath for headless stylesheets 2014-08-27 14:28:56 +02:00
Mike Morris
5833f8af25 Revert "fix uv_cwd call"
This reverts commit 1882884c9e.
2014-08-26 18:45:42 -04:00
Mike Morris
1882884c9e fix uv_cwd call 2014-08-26 17:38:34 -04:00
Mike Morris
050b00cb58 Merge branch 'master' into libuv010
Conflicts:
	setup-libraries.sh
2014-08-26 16:55:08 -04:00
Konstantin Käfer
0f73a0192e Merge pull request #439 from mapbox/clipping
Compute unique clip IDSs per tile
2014-08-26 17:42:53 +02:00
Konstantin Käfer
7dcc061ac5 Merge pull request #437 from mapbox/fix-gcc
Make linux fails
2014-08-26 17:42:34 +02:00
Mike Morris
7ae3b8e8ee Merge branch 'master' into libuv010 2014-08-25 16:13:24 -04:00
John Firebaugh
3d9a293258 Support for Mapbox fontstack API 2014-08-22 17:14:51 -07:00
Konstantin Käfer
6730beec0e remove unused threadpool class 2014-08-21 15:51:10 +02:00
Konstantin Käfer
671e3910d6 don't duplicate function 2014-08-21 15:14:00 +02:00
Konstantin Käfer
9c5f9218ac add missing file 2014-08-21 15:10:01 +02:00
Konstantin Käfer
863b4577e4 compute unique clip ids per tile, taking covering children into account
fixes #206
fixes #220
refs #229
2014-08-21 15:02:08 +02:00
Mike Morris
3466f36412 bump mapnik-packaging, conform to libuv 0.10 api 2014-08-20 19:43:29 -04:00
John Firebaugh
b9c7e1bdd9 Consolidate duplicate interpolation definitions
While here, do not interpolate style properties that
are not transitionable. The previous behavior was to
switch from old to new value halfway through the transition;
now the new value is used immediately, as in JS.
2014-08-20 13:58:37 -07:00
Konstantin Käfer
5a59b5f5fc fix warnings 2014-08-18 14:05:52 +02:00
Konstantin Käfer
1799c1b04c fix image pattern rendering 2014-08-14 12:58:41 +02:00
Konstantin Käfer
22e179aa37 remove trailing whitespace
[skip ci]
2014-08-12 16:30:27 +02:00