Commit Graph

5812 Commits

Author SHA1 Message Date
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
Bruno de Oliveira Abinader
5ff855bb00 Fix Update flags in mbgl::Transform
Transform::{_moveBy,_setAngle} were returning Update::Nothing, causing
the render to not repaint. Replacing with Update::Repaint fixes the
issue.

Fixes #2036.
2015-08-13 10:17:08 +03:00
Bruno de Oliveira Abinader
ac9d5886f0 Added operator implementations for mbgl::Update enum class 2015-08-13 10:12:48 +03:00
Leith Bade
5abb18a99c Implement setGestureInProgress on Android 2015-08-13 13:36:41 +10:00
Leith Bade
dbaac73e2c Replace deprecated gradle --parallel-threads flag 2015-08-13 13:36:24 +10:00
Brad Leege
50ea965b93 #1856 - Readding the removal of Shadow for Lollipop using borderWidth and elevation 2015-08-12 18:29:17 -05:00
Brad Leege
b61aabd2d9 Merge branch '1856-material-take-2' 2015-08-12 18:24:56 -05:00
Brad Leege
72aaf3934a Merge branch 'master' into 1856-material-take-2
# Conflicts:
#	android/java/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxgl/views/MapView.java
2015-08-12 18:22:17 -05:00
Brad Leege
05a7e29d2f #1856 - Getting menu item checked based on style selection 2015-08-12 17:21:50 -05:00
Justin R. Miller
772238a229 fixes #2044: add -showAnnotations:animated: 2015-08-12 14:45:37 -07:00
Brad Leege
9b975c267a #1856 - Adding My Location icons for FAB 2015-08-12 11:52:28 -05:00
Brad Leege
1c74bc23c3 #1856 - Setting more detailed zoom level for location toggle on centering 2015-08-12 11:17:44 -05:00
Brad Leege
f5a95e18d9 #1856 - Enabling and setting clickable state for features in Navigation Drawer menu 2015-08-12 11:13:33 -05:00
Brad Leege
91cf989d8c #1856 - Move Map display to user location when location is enabled 2015-08-12 10:33:35 -05:00
Leith Bade
d4159d5141 Merge branch 'android-okhttp' 2015-08-12 14:58:33 +10:00
Justin R. Miller
c472717b60 Merge pull request #2040 from mapbox/annotation-title-check
fixes #1951: check for support of title before querying
2015-08-11 15:21:39 -07:00
Justin R. Miller
01b5636df0 fixes #1951: check for support of title before querying 2015-08-11 15:10:55 -07:00
Brad Leege
c1d796bbc1 #1856 - Added CoordinatorLayout back in to support Snackbar widget 2015-08-11 16:16:13 -05:00
Brad Leege
7563e11eee #1856 - Adjusting compas layout back to 10dp 2015-08-11 15:51:01 -05:00
Brad Leege
5b787455dd #1856 - Using fixed Toolbar with no content scrolling underneath 2015-08-11 15:26:24 -05:00
Brad Leege
64b5e506c4 #1856 - Adding TrackingMode TODO for update display 2015-08-11 11:40:45 -05:00