Konstantin Käfer
10cb83579f
gcc fixes
2014-10-23 02:46:15 -07:00
Konstantin Käfer
40a933ddce
add missing header
2014-10-22 18:22:43 +02:00
Konstantin Käfer
214f99673f
fix variable shadowing
2014-10-22 18:19:01 +02:00
Konstantin Käfer
74387c54e3
add missing include header
2014-10-22 16:37:59 +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
f701fb340f
GCC doesn't like {} initialization
2014-10-22 04:18:05 -07:00
Konstantin Käfer
352bd095d4
GCC doesn't like #pragmas between the function declaration and definition
2014-10-22 04:17:43 -07:00
Konstantin Käfer
5d6748f8fe
fix compile warnings in libtess2
2014-10-22 12:41:10 +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
3a39d69504
link boost when the boost variable is set
2014-10-22 10:45:50 +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
ee68c091a8
adjust file_request_baton and http_request for libuv 0.10 api
2014-10-10 13:25:26 -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
bf9435a2c4
remove outdated comment
...
[skip ci]
2014-10-08 15:59:05 +02:00
Konstantin Käfer
91f40daa69
don't do concurrent access to a static member variable
...
in situations where the renderer is used from multiple threads, this causes memory corruption.
fixes mapbox/node-mapbox-gl-native#7
2014-10-08 15:27:33 +02: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
Mike Morris
848dccbcae
make view active/inactive around Map::setup, don't leave active after view.resize()
2014-09-30 12:06:51 -04: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
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
Mike Morris
3dec4933a9
Merge branch 'libuv010' into libuv-0.10-fix-context-shutdown
...
Conflicts:
common/headless_view.cpp
test/headless.cpp
2014-09-24 15:58:52 -04:00
Mike Morris
8a19896c3a
Merge branch 'master' into libuv010
2014-09-24 15:40:08 -04: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