Commit Graph

4985 Commits

Author SHA1 Message Date
Mike Morris
cef04fcfa7 PLATFORM=node make node 2015-08-21 16:34:21 -04:00
Mike Morris
dd71d8f681 Merge branch 'master' into node 2015-08-21 16:24:02 -04:00
Mike Morris
6e6387e089 move node-mbgl to platform/node/ directory 2015-08-21 16:22:04 -04:00
Justin R. Miller
c0fc8160f7 Merge pull request #2118 from mapbox/productquest
tighten up repo docs for contributor focus (make distinction between library & product)
2015-08-21 11:39:40 -07:00
Justin R. Miller
4a4ca9b061 rename zip product 2015-08-21 11:18:51 -07:00
Konstantin Käfer
e2fadf3157 don't clip glyphs with the frustum 2015-08-21 14:16:43 -04:00
Justin R. Miller
af92e59fc7 move to 2.0.0-style versioning 2015-08-21 11:05:26 -07:00
Justin R. Miller
3f99f5e712 GL is the library, SDK is the product 2015-08-21 11:01:07 -07:00
Minh Nguyễn
6d1c10dc18 Increased timeouts for failing metrics tests
ref #1887
2015-08-21 09:36:23 -04:00
Mike Morris
a8d9b921d7 require 'ratio' in mbgl.Map options, mbgl::Update::Dimensions in main thread 2015-08-20 16:41:05 -04:00
Konstantin Käfer
5989ff4eb7 use the global animationTime instead of querying our own time
this reduces the amount of std::chrono::steady_clock::now() calls
2015-08-20 16:40:31 -04:00
Mike Morris
783b6de305 bump to mbgl@0.5.1, attempt to resize HeadlessView directly
resize the framebuffer on the map thread
2015-08-20 16:14:43 -04:00
Konstantin Käfer
fd98607c5f only update the render order array when there are changes to tiles 2015-08-20 16:13:46 -04:00
Konstantin Käfer
038b65eded move RenderPass check to the StyleLayer object 2015-08-20 16:13:45 -04:00
Ansis Brammanis
19d42acc84 remove unused gaussian shader 2015-08-20 11:38:56 -04:00
Konstantin Käfer
d400fe0c91 use glClear to draw solid background fills 2015-08-19 18:49:36 -04:00
Konstantin Käfer
c53a9fd00d fix debugging names on iOS 2015-08-19 18:21:12 -04:00
Konstantin Käfer
bb0ae37c25 disable debugging groups in non-debug builds
Use a macro to completely remove all instantiations of mbgl::gl::debugging::group so that we aren't executing the code to generate the arguments to the object instantiation
2015-08-19 18:21:12 -04:00
Konstantin Käfer
85908c3381 reset the ThreadContext after the last loop iteration 2015-08-19 17:47:05 -04:00
Konstantin Käfer
90bae75838 remove mutex from LineAtlas
we're only ever accessing it from the Map thread, so there's no need for a mutex, even less for a recursive one
2015-08-19 14:42:09 -04:00
Konstantin Käfer
31555bccca set correct environment vars 2015-08-19 11:33:23 -04:00
Konstantin Käfer
34dde71c22 never delete intermediate targets 2015-08-19 11:33:23 -04:00
Konstantin Käfer
6807d75777 explicitly tell make that the subcommand is also make
it seems that some make versions can't correctly detect that the subcommand is also a make and pass on the required options if the invocation is expanded from a variable. prepending `+` makes this explicit
2015-08-19 11:33:23 -04:00
Konstantin Käfer
4f6ec93c19 build only the requested Android architecture
[skip ci]
2015-08-19 11:33:23 -04:00
Bruno de Oliveira Abinader
fa18f1afd0 Trigger a view invalidation upon resume
Causes view to repaint when returning from pause state, fixing the black
screen perceived in some scenarios.

Fixes #2071.
2015-08-19 04:54:07 -04:00
Leith Bade
4dd16a7e7f Add missing Andorid support design library dependency
Fix various warning
2015-08-19 13:03:20 +10:00
Mike Morris
64110c5def concurrency test is no longer concurrent 2015-08-18 12:35:04 -04:00
Mike Morris
04652b7f4b fail silently on canceled requests 2015-08-18 12:34:53 -04:00
Minh Nguyễn
bfd17e2d27 Avoid deprecated CLLocationManagerDelegate method
Fixes #2097.
2015-08-18 09:30:30 -07:00
Leith Bade
39c545c7e7 Install only needed Android SDK components on Travis 2015-08-18 21:22:28 +10:00
Leith Bade
6ad2006d3f Improve support for Andrioid M
Checks for and requests runtime location permissions (fixes #2110)
Improved the styling of the location FAB
Removed redudant drawables
Fixed various Java and Android warnings and deprecated functions
A few other tweaks
2015-08-18 19:15:42 +10:00
Leith Bade
ac86ce39ad Fixes preview of Android Acticity in the Studio XML editor 2015-08-18 17:21:08 +10:00
Leith Bade
a093182c27 Merge pull request #2030 from mapbox/2029-log-threadcontext
Fix ThreadContext to check for valid current pointer
2015-08-18 16:38:01 +10:00
Leith Bade
ea609df0c4 Update to Android API 23 for Android M
Closes #2104
2015-08-18 16:17:24 +10:00
Leith Bade
8e51c550b2 Adds getAnnotations to Android
Also adds Collections.unmodifiableList to returned lists from public methods
Fixes #1998
2015-08-18 11:29:21 +10:00
Justin R. Miller
d3160ca4db fixes #1907: skip MGLPolyline/MGLPolygons with zero points 2015-08-17 12:22:41 -07:00
Leith Bade
e1291fe094 Fix state saving on Android 2015-08-17 17:29:51 +10:00
Leith Bade
39e1e81b8c Move validateAccessToken to onCreate 2015-08-17 15:38:07 +10:00
Leith Bade
adab9a6b3f Merge branch 'android-remove-apache' 2015-08-17 15:02:21 +10:00
Leith Bade
134f926eba Replace Apache URL validation with OkHTTP
Also add some missing MapView constructors.
2015-08-17 13:55:25 +10:00
Leith Bade
1e14057b0d Merge pull request #2089 from erf/remove-annotations-in-mapview
removing annotations in mapview, not only in nativemapview
2015-08-17 13:46:46 +10:00
Erlend Fagerheim
63710ffdac removing annotations in mapview, not only in nativemapview 2015-08-16 11:48:46 +02:00
Mike Morris
6ec82900a5 Merge pull request #146 from mapbox/146-remove_request_coalescing
Remove request coalescing
2015-08-14 18:00:49 -04:00
Mike Morris
7b72f9e563 pin mapbox-gl-test-suite 2015-08-14 17:47:35 -04:00
Minh Nguyễn
20ad0d51f6 Added UI for course tracking 2015-08-14 10:09:44 -07:00
Minh Nguyễn
dfeb479011 MGLUserTrackingModeFollowWithCourse
Added course-tracking. However, rotation has to happen atomically without animation until #1834 is fixed.

Fixes #1605.
2015-08-14 10:09:43 -07:00
Thiago Marcos P. Santos
d80d2d5eee Remove request coalescing
Each NodeMap has its own NodeFileSource so we should not get multiple
requests of for the same resource anymore, making the coalescing
code path useless.

We still need to keep a list of pending requests indexed by Resources
for the same reason it was introduced before: Resources don't hold
a reference to a uv_loop_t, so it is fine to keep it around, unlike
mbgl::Requests. Otherwise it would cause deadlocks.

The mutex was also kept because the NodeFileSource is accessed by
some arbitrary thread created by mbgl::Map and also by the main
thread coming from the JavaScript engine. More precisely,
NodeFileSource::notify() is called from the main thread while
NodeFileSource::request() and NodeFileSource::cancel() are not,
but they all access the same data structure.
2015-08-14 20:08:07 +03:00
Leith Bade
2f31687844 Use uv::async in HTTPAndroidRequest to ensure the correct thread deletes request object
Fixes #2058
2015-08-14 13:55:42 +10:00
Thiago Marcos P. Santos
b312820be8 Restore geojsonvt version to 995ffc72c5
It was downgraded on 34d1c023de.
2015-08-13 17:29:05 +03:00
Thiago Marcos P. Santos
d053b222c3 Restore mason version to d8597d9445
It was downgraded on 34d1c023de.
2015-08-13 16:57:44 +03:00