Commit Graph

5687 Commits

Author SHA1 Message Date
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
Brad Leege
a48a5ee161 #2784 - Restoring API minimum to 15 for TestApp 2015-10-24 21:55:18 -05:00
Brad Leege
17d9461bfb #2784 - Restoring API minimum to 15 2015-10-24 21:51:28 -05:00
Leith Bade
39911e581c [android] Move android files
Fixes #2032
2015-10-25 01:07:16 +11:00
Leith Bade
d2e01290eb [android] Remove the WRITE_EXTERNAL_STORAGE permission from test app
Fixes #2655
2015-10-25 00:01:18 +11:00
Leith Bade
77b0e240a3 [android] [ios] [linux] [osx] Update many mason modules 2015-10-24 19:33:42 +11:00
Leith Bade
6c71e12963 [android] Use ViewCompat in CompassView for pre-Jelly Bean animation 2015-10-24 18:54:31 +11:00
Leith Bade
e3517641d8 [android] Fix TEXTREL dlopen error on Android 6.0 x86
Update libcurl to 7.45.0 and OpenSSL to 1.0.1p
Fixes #2772
2015-10-24 14:50:00 +11:00
Justin R. Miller
847cee0c89 re-bump for ios-v3.0.0-pre.2 2015-10-23 16:33:37 -07:00
Justin R. Miller
cf46b2f770 bump iOS version for 2.2.0-pre.2 2015-10-23 16:08:34 -07:00
John Firebaugh
ffb02d1b83 Optimize Travis build order: start osx builds first
Travis seems to queue jobs in the order listed in .travis.yml, so put the
slower jobs first in an attempt to reduce the overall time for a build.
2015-10-23 15:41:10 -07:00
John Firebaugh
a243f41cb4 [iOS] Don't build iOS on Travis, it's too slow 2015-10-23 15:17:59 -07:00