a1bc8c766d
add HeadlessView::readPixels, fixes#480
Mike Morris
2014-10-08 15:31:41 -04:00
799ca683df
Merge branch 'libuv-0.10-headless-display' of github.com:mapbox/mapbox-gl-native into libuv-0.10-headless-display
Mike Morris
2014-10-08 14:47:48 -04:00
7aea160760
throw std::runtime_error instead of fprintf in HeadlessView, closes#481
Mike Morris
2014-10-08 14:47:41 -04:00
f807926f5e
report a permanent error instead of aborting on unknown error codes
Konstantin Käfer
2014-10-08 16:05:27 +02:00
91f40daa69
don't do concurrent access to a static member variable
Konstantin Käfer
2014-10-08 15:27:33 +02:00
36b7bb0c09
clean up shared_ptr usage in HeadlessView
Mike Morris
2014-10-07 16:26:21 -04:00
5cc6b26229
clean up shared_ptr usage
Mike Morris
2014-10-06 18:24:01 -04:00
41dac96408
use shared_ptr for HeadlessDisplay in HeadlessView
Mike Morris
2014-10-06 18:05:10 -04:00
8b06b65f35
wrap GL/glx.h with undef None, use 0 instead, h/t @jfirebaugh
Mike Morris
2014-10-06 16:53:57 -04:00
170ce422ce
forward declare HeadlessDisplay in headless_view.hpp
Mike Morris
2014-10-06 15:45:14 -04:00
0f1d33f5ee
break out HeadlessDisplay from HeadlessView, ref #478
Mike Morris
2014-10-03 18:31:38 -04:00
708194cb1a
define variable outside of loop scope
Konstantin Käfer
2014-10-01 05:20:23 -07:00
6b1a86c37c
fix gcc cannot call member function without object error
Konstantin Käfer
2014-10-01 05:20:12 -07:00
d03b7aa31a
properly ref/unref the handle and run the loop again for shutdown purposes
Konstantin Käfer
2014-10-01 13:26:49 +02:00
c4c4b3318a
log CGLErrorString for CGLChoosePixelFormat, enable OpenGL multithreading
Mike Morris
2014-09-30 17:42:27 -04:00
848dccbcae
make view active/inactive around Map::setup, don't leave active after view.resize()
Mike Morris
2014-09-30 12:06:51 -04:00
8fcc74e253
fix headless tests
Konstantin Käfer
2014-09-30 17:28:42 +02:00
a9039cf5d7
move file request baton to its own file
Konstantin Käfer
2014-09-30 10:46:53 +02:00
5d34c18c80
disable URLcache for NSURLRequests
Konstantin Käfer
2014-09-29 15:31:26 +02:00
8ebe1bc360
add more possible errors returned by glCheckFramebufferStatusEXT
Mike Morris
2014-09-29 16:33:26 -04:00
5c6863c540
add missing include
Konstantin Käfer
2014-09-29 08:10:31 -07:00
9e44c0eae8
add reachability
Konstantin Käfer
2014-09-29 14:02:42 +02:00
135f68e249
add retries in case of connection failures
Konstantin Käfer
2014-09-29 13:18:50 +02:00
46e06bf378
don't pass the loop through all function calls
Konstantin Käfer
2014-09-29 12:27:34 +02:00
b9628c8654
add etag support and if-none-match/if-modified-since to cocoa http handling
Konstantin Käfer
2014-09-26 16:10:39 +02:00
8e6967669a
make inactive at end of clear_buffers()
Mike Morris
2014-09-25 18:06:55 -04:00
4056259408
implement make_inactive in mapbox-gl-cocoa
Mike Morris
2014-09-25 12:17:26 -04:00
67a86d9f28
Merge branch 'libuv-0.10-fix-context-shutdown' of github.com:mapbox/mapbox-gl-native into libuv-0.10-fix-context-shutdown
Mike Morris
2014-09-25 12:05:43 -04:00
dffeaa0787
make active after resize
Mike Morris
2014-09-24 23:03:50 -04:00
11f9081274
Merge branch 'libuv010' into libuv-0.10-fix-context-shutdown
Mike Morris
2014-09-24 22:40:07 -04:00
92d00347a8
remove travis conditional in darwin_configure.sh
Mike Morris
2014-09-24 18:51:52 -04:00
768e23069c
build iPhoneSimulator64 against libuv 0.10.28
Mike Morris
2014-09-24 17:11:18 -04:00
735d245697
fix ios builds?
Mike Morris
2014-09-24 16:40:10 -04:00
86b7367994
Revert "add debugging"
Mike Morris
2014-09-24 16:30:01 -04:00
c9a9f23c30
Merge branch 'libuv010' into libuv-0.10-fix-context-shutdown
Mike Morris
2014-09-24 16:10:47 -04:00
47c6bb5bd4
update MP_HASH
Mike Morris
2014-09-24 16:10:36 -04:00
3dec4933a9
Merge branch 'libuv010' into libuv-0.10-fix-context-shutdown
Mike Morris
2014-09-24 15:58:52 -04:00
8a19896c3a
Merge branch 'master' into libuv010
Mike Morris
2014-09-24 15:40:08 -04:00
c5a7738dd6
move make_active call into MBGL_USE_CGL block
Mike Morris
2014-09-24 15:17:42 -04:00
0cdaf58027
add debugging
Mike Morris
2014-09-24 14:40:49 -04:00
1209744b38
use the default cache location on ios to avoid writing to unwritable file system locations
Konstantin Käfer
2014-09-24 17:08:44 +02:00
992d9ff051
add back CURL requesting
Konstantin Käfer
2014-09-24 16:09:26 +02:00
0fc1f66868
whitespace fixes
Konstantin Käfer
2014-09-23 15:03:39 +02:00
ec3183754e
move cocoa nsurlrequest code to common folder
Konstantin Käfer
2014-09-22 15:01:02 +02:00
3f38c7650e
add retry timers
Konstantin Käfer
2014-09-22 13:06:40 +02:00
a142fd5e3a
convert http(s)://*.tiles.mapbox.com/ to mapbox:// for unified caching
Konstantin Käfer
2014-09-18 12:20:19 +02:00
daa22d6b0f
use asynchronous worker termination
Konstantin Käfer
2014-09-17 18:10:45 +02:00
19129cbd02
make SourceInfo object noncopyable and use a shared_pointer for it
Konstantin Käfer
2014-09-17 16:01:35 +02:00
111fccb76c
option to pass data parameter, and add more explanation
Konstantin Käfer
2014-09-17 15:39:16 +02:00
ba18c08524
add a callback to stop() to allow running the current thread's event loop
Konstantin Käfer
2014-09-17 15:29:24 +02:00
89cd310cf6
notifications on request cancellation
Konstantin Käfer
2014-09-17 12:10:08 +02:00
fd2b2e2082
use separate workers for tile parsing to avoid blocking the threadpool for other libuv actions
Konstantin Käfer
2014-09-16 18:23:42 +02:00
f26bb724dc
use util::ptr as a wrapper around std::shared_ptr that asserts nonemptiness
Konstantin Käfer
2014-09-16 16:38:32 +02:00
6c526e5637
make sure all of our async handles are stopped before stopping the map thread
Konstantin Käfer
2014-09-16 14:48:46 +02:00
d9fc7708a2
do 304 requests and cache them in sqlite
Konstantin Käfer
2014-09-15 17:26:44 +02:00
062e911c6d
remove shared_from_this() usage
Konstantin Käfer
2014-08-26 16:55:17 +02:00
cc4799510b
add -g
Konstantin Käfer
2014-08-26 15:53:23 +02:00
8a84cdb617
pass libuv, libcurl and boost headers down to dependents
Konstantin Käfer
2014-08-26 14:33:09 +02:00
91f8318981
fix build issues
Konstantin Käfer
2014-08-26 13:34:46 +02:00
2f088b5938
add libcurl build
Konstantin Käfer
2014-08-26 12:51:42 +02:00
b757805ffb
fix issue that deleted the data part of a std::string as a std::string object
Konstantin Käfer
2014-08-26 02:49:06 -07:00
934cb7cd0a
link dependencies with sqlite3
Konstantin Käfer
2014-08-25 17:57:48 +02:00
c2eb6502c8
add missing headers
Konstantin Käfer
2014-08-25 17:14:47 +02:00
a6fc961e2f
don't report SQLITE_OK as an error
Konstantin Käfer
2014-08-25 17:12:24 +02:00
b94635f704
parse cache-control and last-modified headers
Konstantin Käfer
2014-08-25 16:56:56 +02:00
28446bed24
compress data and store type
Konstantin Käfer
2014-08-25 14:02:40 +02:00
83fe11e0fc
also store other response codes in the cache
Konstantin Käfer
2014-08-25 12:50:01 +02:00
a9a2b3ad33
remove access token from URL
Konstantin Käfer
2014-08-25 12:42:34 +02:00
34fe7dc627
add basic request caching with sqlite
Konstantin Käfer
2014-08-22 18:50:09 +02:00
9b6cff4301
Merge branch 'libuv010' into libuv-0.10-fix-context-shutdown
Mike Morris
2014-09-22 18:07:46 -04:00
8e1bbae81f
bump mapnik-packaging
Mike Morris
2014-09-22 18:06:24 -04:00
ee3e0827a2
transition-* ⇢ *-transition
John Firebaugh
2014-09-22 11:36:30 -07:00
96736d83df
Merge branch 'master' into libuv010
Mike Morris
2014-09-22 17:26:14 -04:00
4b98870e99
Support pixelRatio parameter for render tests
John Firebaugh
2014-09-22 14:05:15 -07:00
896379daa5
Refactor tile cover to match JS
John Firebaugh
2014-09-22 13:39:43 -07:00