Commit Graph

5798 Commits

Author SHA1 Message Date
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
Konstantin Käfer
aa06a9d587 query the monitor's resolution instead of forcing 1024x768 2015-08-11 16:40:40 +03:00
Konstantin Käfer
5a79bd832d allow setting a location and print the location on exit 2015-08-11 16:40:40 +03:00
Konstantin Käfer
21ec505648 add benchmark mode that shows the real frame time rather than the vsync time 2015-08-11 16:40:40 +03:00
Leith Bade
0cbe7e07f5 Use OkHTTP to implement HTTPContext on Android.
Closes #823
2015-08-11 11:59:08 +10:00
Leith Bade
ca8ffcc456 Merge pull request #2031 from mapbox/android-api-check
Check API level for totalMemory
2015-08-11 10:10:46 +10:00
Leith Bade
7325000edb Check API level for totalMemory 2015-08-11 09:44:49 +10:00
Leith Bade
9534d6256b Fix ThreadContext to check for valid current pointer 2015-08-11 09:41:21 +10:00
Brad Leege
b4eb1662c5 #1856 - Removing GPS Toggle from Navigation Drawer 2015-08-10 17:36:05 -05:00
Brad Leege
bfb44846c0 #1856 - Adding Location FAB to TestApp with color toggle to show state 2015-08-10 17:32:26 -05:00
Jason Wray
dc11b8132b Improve accuracy ring update checks 2015-08-10 17:36:23 -04:00
Jason Wray
26d300b4f4 Refactor user location annotation
Adds:
- Accuracy ring
- Heading indicator

Fixes:
- Pulse sync
- Visual appearance (removes slight aliasing)

Closes #1222 (squashed)
2015-08-10 17:36:22 -04:00
Brad Leege
9cd4a7ccb7 #1856 - Removing FAB from SDK and replacing with intial tracking mode API. Making Compass visible under Toolbar. 2015-08-10 15:41:02 -05:00
Konstantin Käfer
0a527f623e don't constantly repaint by setting needsRepaint to false
fix by @brunoabinader
2015-08-10 22:39:08 +03:00
Konstantin Käfer
76c937f119 set thread priority on Linux 2015-08-10 12:01:26 +03:00