Commit Graph

7083 Commits

Author SHA1 Message Date
Minh Nguyễn
71f6773208 [ios] Copyedited changelog
Changes are generally arranged by descending developer or user impact.
2016-03-26 22:08:30 -07:00
Brad Leege
1b842ca823 [android] #4478 - Returning to 4.0.0-SNAPSHOT 2016-03-25 20:35:23 -05:00
Brad Leege
616a77202d [android] #4478 - Updating CHANGELOG for 4.0.0-rc.1 2016-03-25 17:24:27 -05:00
Brad Leege
75d18dac65 [android] #4478 - Updating version to 4.0.0-rc.1 2016-03-25 17:04:01 -05:00
Brad Leege
7a9a58f4fb [android] #4475 - Only wrapping when needed in LatLng.wrap(). Making Javadoc more clear. Making tests consistent. 2016-03-25 16:55:07 -05:00
Brad Leege
464c29f043 [android] #4475 - Dialing down logs 2016-03-25 16:55:07 -05:00
Brad Leege
01dfd3c15d [android] #4475 - Only wrap Telemetry longitude when it's outside bounds 2016-03-25 16:55:07 -05:00
Brad Leege
ef90e2286f [android] #4475 - Wrap all Longitude Telemetry data 2016-03-25 16:55:07 -05:00
Brad Leege
335e346ed1 [android] #4475 - Introducing LatLng.wrap() and removing usage of wrap() in JNI's nativeLatLngForPixel() 2016-03-25 16:55:07 -05:00
Minh Nguyễn
8cdb4f74e1 [ios] Fixed changelog processing
Fixed a regression introduced in #4466 in which the changelog is essentially empty.

Fixes #4469.
2016-03-25 12:24:14 -07:00
Brad Leege
75913a5dae [android] #4473 - Fixing toString() tests for LatLng.toString() 2016-03-25 14:22:21 -05:00
Minh Nguyễn
85297e2c6b [ios] Use current Swift version with jazzy
Fixes #4468.
2016-03-25 11:19:29 -07:00
Minh Nguyễn
2a56565a9c [ios, osx] Wrap coordinates converted from points
ref #4444
2016-03-25 11:03:06 -07:00
Minh Nguyễn
2e01da1d71 [ios] Define C nullability block type qualifiers for Xcode 6.4
This change fixes the build in Xcode 6.4.
2016-03-25 10:25:08 -07:00
Brad Leege
376d968725 [android] [ios] #4432 - Switch links to blob instead of tree 2016-03-25 11:19:53 -05:00
Brad Leege
68c0c79095 [node] #4432 - Adding Node.js to primary CHANGELOG and listing platforms alphabetically 2016-03-25 11:06:55 -05:00
Brad Leege
abec88642b [android] [ios] #4432 - Splitting the CHANGELOG into iOS and Android specific CHANGELOGS 2016-03-25 10:17:57 -05:00
Tobrun
b4d365c3c8 [android] #4424 - NativeMapView null pointer bug when updating CompassView 2016-03-24 18:48:27 -05:00
Cameron Mace
48cc510d29 [android] #4429 Removed NonNull from OnMapReady 2016-03-24 18:38:51 -05:00
Brad Leege
24216ce51a Merge branch '4444-out-of-bounds' into release-ios-3.2.0-android-4.0.0 2016-03-24 17:17:17 -05:00
Brad Leege
6a29e7e624 [android] #4444 - Wrapping all LatLng from nativeLatLngForPixel() to solve problem and mirror Android Google Maps API 2016-03-24 16:59:47 -05:00
Vacxe
34cea826b9 TelemetryService: Catch IllegalArgumentException exception when unregisterReceiver 2016-03-24 14:46:21 -05:00
John Firebaugh
47ebf0fd59 [node] Build OS X on Bitrise 2016-03-24 10:09:55 -07:00
Tobrun
79069d13b4 [android] #4398 - Default value bug fix for MapboxMapOptions 2016-03-24 17:32:38 +01:00
John Firebaugh
38e6d518d7 [node] Drop OS X build from Travis 2016-03-23 09:42:01 -07:00
Antonio Zugaldia
a7fedcb604 [android] Add Javadoc for offline package
Fixes #4295
2016-03-23 12:20:35 -04:00
Minh Nguyễn
b57f0fb987 [ios] Fix up center coordinate after lopsided pinch gesture
The gesture recognizer only reports the gesture’s current center point, so use the previous center point to anchor the transition.

Fixes #4315.
2016-03-22 10:52:10 -07:00
Brad Leege
bbe13b8cc6 [android] #4419 - Re-enabling development on 4.0.0-SNAPSHOT 2016-03-21 18:59:33 -05:00
John Firebaugh
ca8212de92 [all] Set maximum maxZoom to 21
Numbers greater than 21 trigger various bugs.
2016-03-21 16:38:54 -07:00
Brad Leege
a6012a1cb5 [android] #4419 - Beta 2 Changelog 2016-03-21 17:49:38 -05:00
Brad Leege
6fb87fb0ee [android] #4419 - Updating version name for artifact and fabric 2016-03-21 17:31:25 -05:00
Tobrun
a0225d6ef7 [android] #4326 - making the code compatible with unit tests again 2016-03-21 16:58:49 -05:00
Tobrun
d329800806 [android] #4326 - using the camera API vs getCameraPosition should return same output 2016-03-21 16:58:49 -05:00
John Firebaugh
8dd6c063bd [node] Drop Node 5 from build matrix (fixes #4370) 2016-03-21 14:42:39 -07:00
Jesse Bounds
b163e99499 [iOS] Send turnstile event as much as once per day
Previously, the post of the turnstile event was a side effect of the
map.load event and would happen when the host app was started from a
terminated state at the first initialization of MGLMapView. The
turnstile event post was guarded with dispatch_once so that it would
only ever be sent once during the lifecycle of the application after
it started from the terminated state.

This changes that behavior by:

- Allowing a new turnstile event to be posted as much as once per
day
- Only triggering a map.view event when a map is initialized if the map
is loaded outside of the 'background' application state
- Sending a map.view event whenever a MGLMapView is instantiated
and the application did become active or enters foreground

iOS turnstile event sending behavior is now:

- A map.view event is generated whenever a map is loaded and also
when a map is shown again when the host app becomes active and moves
into the foreground
- Turnstile events are still triggered by mapviews and will be sent as
frequently as once per day for a host app that is not terminated and
also whenever a host app is terminated and restarted
w
2016-03-21 14:09:11 -07:00
Brad Leege
fb4d9d083d Merge branch '4327-OnDoubleTap-trigger-camera-invalidation' into release-ios-3.2.0-android-4.0.0 2016-03-21 15:45:51 -05:00
Brad Leege
1856b3aeea [android] #4328 - Adding check of userAgent to see if it's still in initial state before prepending app meta data to it 2016-03-21 15:08:42 -05:00
John Firebaugh
967b6c7248 [core] Stop any OfflineDownload before deleting a region
No progress events should be processed after deleting a region.
2016-03-21 12:41:17 -07:00
Brad Leege
f992c12e5e Merge branch '4327-OnDoubleTap-trigger-camera-invalidation' of https://github.com/mapbox/mapbox-gl-native into 4327-OnDoubleTap-trigger-camera-invalidation 2016-03-21 14:26:30 -05:00
Tobrun
8508aea6fb [android] #4327 - OnDoubleTap needs to trigger camera invalidation after a zoom occurs 2016-03-21 14:25:14 -05:00
Antonio Zugaldia
ead63abadd [android] Make sure we always load mapbox-gl when a native method is loaded
Fixes #4175
2016-03-21 14:34:04 -04:00
Antonio Zugaldia
682b404bf6 [android] Unify cache and offline databases
See #4362
2016-03-21 10:55:54 -07:00
Tobrun
ca565a2cb2 [android] #4327 - OnDoubleTap needs to trigger camera invalidation after a zoom occurs 2016-03-21 15:08:06 +01:00
John Firebaugh
90d271709f [core] Add additional logging for exceptions during database connection / creation
Refs #4382
2016-03-18 17:09:43 -07:00
Minh Nguyễn
7155c9bb81 ios-v3.2.0-beta.2 2016-03-18 14:34:22 -07:00
Brad Leege
d33cee7fd8 [android] #4328 - Make Telemetry start only when savedInstanceState is null 2016-03-18 17:26:38 -04:00
Jesse Bounds
4f816dcfbe [iOS] Increase distance filter to 5 m 2016-03-18 14:20:18 -07:00
Minh Nguyễn
b493bdc649 [ios, osx] Unified offline and ambient caches
There is now only one instance of mbgl::OfflineFileSource, created when the shared MGLOfflineStorage object is initialized. Also create and use the shared MGLOfflineStorage object when initializing an MGLMapView object. The unified cache file is located in a subdirectory of Application Support, where the SDK has control over the file’s lifetime. The subdirectory is already named after the host application’s bundle identifier, ensuring that each Mapbox-powered application has an independent tile limit. If there’s an ambient cache in a subdirectory of Caches, delete it. If there’s an offline cache in a subdirectory of Documents on iOS or Caches on OS X, move it to the unified cache location in a subdirectory of Application Support.

Fixes the iOS/OS X side of #4338.
2016-03-18 14:02:32 -07:00
Brad Leege
fff13d0976 [android] #4294 - JavaDocs for Telemetry classes 2016-03-18 14:26:07 -04:00
Minh Nguyễn
0a26d8448a Merge pull request #4378 from mapbox/1ec5-offline-umbrella
Include offline headers in static umbrella header
2016-03-18 01:24:27 -07:00