Commit Graph

5798 Commits

Author SHA1 Message Date
Brad Leege
9361669fb3 [android] #2847 - Updating version to 2.2.0 for release and Fabric 2015-10-28 17:07:04 -05:00
Jason Wray
dd56e832b5 [docs] update INSTALL.md dependencies [skip ci]
Drops mason-installed packages Boost, zlib, libpng, libuv and glfw.
Adds libtool and automake, which may be needed when mason binaries
are not available.

Drops ImageMagick, which was replaced with pixelmatch in
aaf090b87d &
https://github.com/mapbox/mapbox-gl-test-suite/pull/50
2015-10-28 13:20:36 -04:00
Konstantin Käfer
b9452bcbba [core] refactor test server startup 2015-10-28 16:51:13 +01:00
Tom MacWright
c80c823da2 [core] Ensure URL normalization is safe. Fixes #2695 2015-10-28 10:44:33 -04:00
Leith Bade
6bb709ef42 [android] Update test app icon
Fixes #2838
2015-10-28 22:36:35 +11:00
Tobrun
8fdc033eab [android] #2797 - addLocationBearing part one 2015-10-28 11:22:50 +01:00
Leith Bade
a2ac435171 [android] Grey out GPS marker when location is stale
Fixes #2694
2015-10-28 21:10:13 +11:00
Tobrun
a67645cb39 [android] #2224 inflate children map view through xml
[android] - #2224 make UserLocationView inflatable through xml. using setter to attach MapView

[android] #2224 - renamed fragment layout file, reordered views in layout file map view
2015-10-28 07:28:19 +01:00
Leith Bade
3e999eeda0 [android] Remove NullPointerException from MapView
Fixes #2831
2015-10-28 14:11:24 +11:00
John Firebaugh
4ef2bcc01a Don't create libuv objects on the stack 2015-10-27 17:49:10 -07:00
Leith Bade
bd0f5ae5e2 [android] Fix NullPointerException in editor mode
Fixes #2830
2015-10-28 11:10:11 +11:00
Tom MacWright
3fca2455ad [docs] Recreate structure of documentation 2015-10-27 16:43:54 -04:00
John Firebaugh
af5271cd3e [core] Fix gdb check for CI 2015-10-27 12:52:07 -07:00
Justin R. Miller
1421755434 remove metrics tests 2015-10-27 10:45:10 -07:00
Justin R. Miller
48d6d039ed remove heading tests as unreliable 2015-10-27 10:43:20 -07:00
Justin R. Miller
2d8e29294c remove dead, broken code 2015-10-27 10:40:52 -07:00
Justin R. Miller
1c57039365 adjust enabled tests 2015-10-27 10:40:52 -07:00
Justin R. Miller
e0194901eb more explicitly name build configs & do Debug for sim/testing 2015-10-27 10:40:52 -07:00
Justin R. Miller
56ede35c0f test in Debug 2015-10-27 10:36:31 -07:00
Justin R. Miller
7d8655baf3 tighten up non-location tests 2015-10-27 10:36:31 -07:00
Leith Bade
43dde0f204 [android] Fix crash on Marshmallow
Fixes #2813
2015-10-28 00:40:27 +11:00
Konstantin Käfer
32c0fb468f [http] don't retry when there's already a request in progress 2015-10-27 12:11:16 +01:00
Tobrun
f3ffb45cf6 [android] #2809 - addPolylines and removeAnnotations in JNI, added feature activity + sanity test case 2015-10-27 11:16:55 +01:00
Leith Bade
fd33dfcd73 [android] Restore old GL context after createSurface
Fixes #2807
2015-10-27 15:27:08 +11:00
Minh Nguyễn
d48c640b5c More natural style names in iosapp
ref #2740
2015-10-26 14:55:19 -07:00
Leith Bade
5f081701df [android] Improve Javadoc for the new MapView methods. 2015-10-27 08:52:45 +11:00
Minh Nguyễn
1f21bbc0eb Updated changelog for #2770 2015-10-26 13:34:40 -07:00
Ansis Brammanis
750c72f324 improve gestures in perspective view
The location under your finger stays under your finger as you pan.
The location you double tap to zoom stays at the same point.
The location at the center of a pinch zoom stays at the center.
The location at the center of a rotation stays at the center.
2015-10-26 12:48:03 -07:00
John Firebaugh
bb6241844a [core] Extract PaintPropertiesMap 2015-10-26 12:00:11 -07:00
Brad Leege
e257ad284b [android] #2801 - Spelling fix for log statement 2015-10-26 13:42:10 -05:00
Brad Leege
ff07d32ca6 [android] #2801 - Log null centerCoordinate instead of throwing NullPointerException 2015-10-26 13:42:09 -05:00
Konstantin Käfer
6dd07c3f70 [node] create npm test and npm run test-suite targets 2015-10-26 18:02:29 +01:00
Mike Morris
9173589cc0 [node] include node headers in binding.gyp, undef libuv_cflags 2015-10-26 18:02:29 +01:00
Mike Morris
f6af65770d [node] make task for building node via Xcode 2015-10-26 18:02:29 +01:00
Thiago Marcos P. Santos
c65f809651 [core] Move parseCacheControl() up in the class hierarchy
Avoid duplicating it on all the ports.
2015-10-26 18:37:51 +02:00
Konstantin Käfer
75dec6ffac [core] always reparse with the freshest possible placement config
Fixes an issue where updates to stale tiles would remove labels altogether until the map was rotated.
2015-10-26 16:44:55 +01:00
Konstantin Käfer
c0c554e36f [core] reparse tiles when new data arrives
We're now reparsing tiles when they expire. We're also swapping out buckets atomically to avoid flickering data; i.e. we're displaying the old data as long as we don't have a new parsed bucket for that layer yet. The parsed buckets now live in the *TileData objects rather than in the TileWorker; only partially parsed == pending buckets will remain in the TileWorker. Once they're parsed, they're moved to the *TileData object.
2015-10-26 15:54:27 +01:00
Konstantin Käfer
5173bf1bb8 [core] Make response data shared to avoid excessive copying 2015-10-26 15:54:27 +01:00
Konstantin Käfer
4e3503ea6c [core] do not use std::atomic_* with shared_ptrs
It's not implemented in GCC 4.9.2's stdlib (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57250). Instead, we're now always using a mutex to protect access; we previously created a mutex only on cancelation, but since we're always canceling now, it makes sense to allocate it right away.
2015-10-26 15:54:27 +01:00
Konstantin Käfer
9bbd9aba3a [core] set a timer and auto-refresh requests when they expire
When we get a request with an explicit expiration time, we're now starting a timer, and will trigger a refresh once the data expires. This gives requesters a chance to update their data.
2015-10-26 15:54:27 +01:00
Konstantin Käfer
6a7334b882 [core] add support for stale responses
We're now returning stale responses from cache. Those responses will have the `stale` flag set to true. Currently, all requesters in the core code discard stale responses, and cancel the request immediately after they got a non-stale response.
2015-10-26 15:54:27 +01:00
Konstantin Käfer
096a3edf39 [core] use RAII-style lifetime tracking of Request objects 2015-10-26 15:54:27 +01:00
Konstantin Käfer
94a5ac857f [core] all requests have to be canceled explicitly now
By not automatically destroying Request objects after the result has been delivered, we are making sure that we can potentially fire the callback multiple times without adverse effects. This means that you have to hold on to the result of fs->request(), can explicitly cancel it if you don't want to be notified of data changes anymore. Not doing so will monitor the request indefinitely and will prevent the app from exiting.
2015-10-26 15:54:27 +01:00
Leith Bade
5406048a57 [android] Use hi res icons in test app menu 2015-10-26 23:19:38 +11:00
Leith Bade
5e5348c286 [android] Remove unused permission 2015-10-26 23:18:17 +11:00
Tobrun
a638b8ed38 [android] #2758 - add my location tracking mode 2015-10-26 11:52:34 +01:00
Tobrun
388636b058 [android] #2726 - finalise BulkAddMarkers activity 2015-10-26 10:53:14 +01:00
Tobrun
bf8c5feb0b [android] #2726 - moved utility classes to separate package 2015-10-26 10:53:14 +01:00
Thiago Marcos P. Santos
1007dc9754 [core] Initialize attributes before using them
Spotted by valgrind.
2015-10-26 10:41:16 +02:00
Tobrun
8ca818f1ce [android] #2523 - fix toolbar alignment issue 2015-10-25 10:22:12 +01:00