Konstantin Käfer
a50042349c
Merge branch 'master' into platform-image
2014-10-31 16:33:45 -04:00
Konstantin Käfer
80366bc615
allow providing a callback to uv_messenger_stop to prevent mismatched new/free
2014-10-30 17:47:34 -04:00
Konstantin Käfer
e3bc69b7e7
use CoreImage for decoding/encoding images on osx/ios
2014-10-30 12:02:28 -04:00
Konstantin Käfer
414ccaaf93
use unique_ptr for automatic deallocation
2014-10-30 11:54:52 -04:00
Konstantin Käfer
dbddd3c904
gyp fixes
2014-10-28 12:47:58 -04:00
artemp
c3f3b9ddd5
canonical move ctor
2014-10-27 14:18:12 -04:00
artemp
dcf643fb4b
add new line at the end
2014-10-27 14:18:12 -04:00
artemp
efeaba832d
c++ - don't test if pointer is nullptr before deleting
2014-10-27 14:18:11 -04:00
artemp
5508285424
prefer c++ style memory alloc
2014-10-27 14:18:11 -04:00
Konstantin Käfer
10cb83579f
gcc fixes
2014-10-23 02:46:15 -07:00
Konstantin Käfer
214f99673f
fix variable shadowing
2014-10-22 18:19:01 +02:00
Konstantin Käfer
02e88e445d
fixes for libuv 0.11
2014-10-22 15:29:28 +02:00
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