Commit Graph

7032 Commits

Author SHA1 Message Date
John Firebaugh
d1a0d7a273 Update styles and test-suite 2015-08-20 11:59:07 -07:00
Lucas Wojciechowski
a85fd681fc Support new glyph URL syntax 2015-08-20 11:59:07 -07:00
John Firebaugh
3598b166bd Remove constants
Fixes #2046
2015-08-20 11:59:07 -07:00
John Firebaugh
8d7d770bbc Update styles 2015-08-20 11:59:07 -07:00
Bruno de Oliveira Abinader
98534631e0 Add circle render type
As specified in:
https://github.com/mapbox/mapbox-gl-style-spec/blob/v8-circle/reference/v8.json

Part of #1740.
2015-08-20 11:59:07 -07:00
Tom MacWright
d1100f34de Rename some style properties
symbol-min-distance ⇢ symbol-spacing
background-image ⇢ background-pattern
line-image ⇢ line-pattern
fill-image ⇢ fill-pattern
2015-08-20 11:58:57 -07:00
Tom MacWright
6df50dba45 Font stacks as arrays 2015-08-20 11:58:57 -07:00
Lauren Budorick
58d6b84b2b Check for v8 2015-08-20 11:58:57 -07:00
John Firebaugh
e42cfa239f Update test-suite and test fixtures for v8 2015-08-20 11:58:57 -07:00
Brad Leege
b6d6e4c663 #934 - Raising Min SDK to API 10 2015-08-20 11:12:14 -05: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
Erlend Fagerheim
4fdffa4e8a added click, longclick, scroll, fling events 2015-08-13 13:29:13 +02:00
Leith Bade
2d670632e5 Merge branch '1683-no-mips' 2015-08-13 21:13:20 +10:00
Leith Bade
503d8364fd Remove MIPS target from Travis build matrix
See #1683
2015-08-13 20:34:02 +10:00
Leith Bade
55fe35af8d Fix xcpretty from swallowing xcodebuild error codes 2015-08-13 20:08:28 +10:00