Commit Graph

11633 Commits

Author SHA1 Message Date
Jordan Kiley
f89afa0b27 [ios, macos] Rename the iOS and macOS SDKs (#10610) 2017-12-06 10:13:17 -05:00
Chris Loer
966b6a53ce [core, ios, qt, android] Close race condition in RunLoop (issue #9620)
Because a message we queue from the foreground may cause the background to complete, exit, and tear down the AsyncTask, we have to block queue processing until we've finished our call to AsyncTask::send().
Broadening the scope of a mutex is scary, but I audited the code of our four implementations of AsyncTask and I don't see any way this could cause a deadlock.
2017-12-06 12:37:48 +01:00
Tobrun
2a13bfd2c4 [android] - add FileSource activation/deactivation to MapSnapshotter, handle multiple deactivate scenario in FileSource (#10556) 2017-12-06 12:37:48 +01:00
Tobrun
bc27322853 [android] - handle destroying activity programmatically as part of theme switching (#10589) 2017-12-06 12:37:48 +01:00
Tobrun
8ad3759b9c [android] - use concurrent lists for camera change listeners (#10542) 2017-12-06 12:37:48 +01:00
Tobrun
f64475f76c [android] - harden MarkerView integration by checking for null bitmap (#10532) 2017-12-06 12:37:48 +01:00
Tobrun
7b7b2c53fb [android] - activate filesource to list offline regions (#10531) 2017-12-06 12:37:48 +01:00
Ivo van Dongen
65d2e0b8f2 [android] Enable map rendering when app is paused 2017-12-06 12:37:48 +01:00
Julio Cesar Fausto
6893888435 [ios, macos] Snapshot classes added to jazzy 2017-12-05 17:24:41 -05:00
Pablo Guardiola
1ce3d2e5ef [android] remove unnecessary jar generation from gradle-publish.gradle (#10625) 2017-12-05 10:12:16 +01:00
Fabian Guerra
784b71a81c [ios, macos] Refactor snapshot attribution. 2017-12-04 17:04:40 -05:00
Minh Nguyễn
5086c76997 [macos] Fixed logo view distortion on macOS High Sierra
Only the logo view’s baseline is aligned to the attribution view’s baseline; the X-height doesn’t need to be aligned. Previously, macOS ignored the X-height constraint inferred from the alignment rect, but now it honors it in addition to the baseline.
2017-11-30 17:11:34 -08:00
Fabian Guerra
06a0c03605 [ios, macos] Update changelogs. 2017-11-30 14:31:30 -05:00
Fabian Guerra
0c50da6913 [ios, macos] Fix an issue that triggers didSelectAnnotations for MGLAnnotationImage based annotations. 2017-11-30 14:31:30 -05:00
Fabian Guerra
787c782749 [ios] Fix minimumZoomLevel is not getting set. 2017-11-29 19:11:35 -05:00
Tobrun
8cebab09ba [android] - attribtuion anchor point calculation fix for short text with full logo on a MapSnapshot (#10558) 2017-11-29 12:21:54 +01:00
Pablo Guardiola
a1f207b090 [android] use location engine abstraction instead of location source (lost) in MyLocationView#init (#10579) 2017-11-29 08:31:46 +01:00
Bruno de Oliveira Abinader
3f962574ed [build] Added CircleCI macos-release-node{4,6} jobs 2017-11-28 12:16:05 -05:00
Antonio Zugaldia
85bc035be3 [android] Set a larger limit for the HTTP dispatcher (#10567) 2017-11-27 10:33:14 -05:00
Tobrun
7c8fbc8232 [android] - bump okhttp, remove workaround for Android Oreo (#10515) 2017-11-23 08:49:01 +01:00
Jesse Bounds
bcfe51c16c [ios] Add easy to use demo app for developers (#10524)
This updates the package script to include a pre-built iOS app in the published assets of the dynamic SDK. It symlinks the Mapbox.framework in that dynamic build to the demo app so the only real increase in size is the demo Xcode project itself.

The addtional step in the publish script checks that the Mapbox.framework that is symlinked in for building in the demo project can actually be built. If it cannot, then the step is skipped and the build will continue as it normally would. Since the demo app is currently not required for publishing it should not block publishing a build.
2017-11-22 10:28:43 -08:00
Bruno de Oliveira Abinader
8f4c07c5b8 [build] Added CircleCI macos-debug-qt5 job 2017-11-21 12:27:52 -05:00
Pablo Guardiola
9206e46154 release android v5.2.0 (#10487) 2017-11-20 20:10:04 +01:00
Jason Wray
34fe323924 [node, build] Don't fail on non-node tags 2017-11-20 12:31:59 -05:00
Jason Wray
a8ad619104 [build] Set clang-tidy timeout to 20 minutes
Default is 10 minutes, but suddenly we're exceeding that.
2017-11-20 11:41:51 -05:00
Victor Akap Oben
1d78c04484 Update comment from onDestroy to onDestroyView (#10501)
Updated comment to reflect that MapView's lifecycle callback in a fragment should be called from onDestroyView rather than on onDestroy. This is consistent with that MapFragment is doing.
2017-11-20 16:00:05 +01:00
Fabian Guerra
131167e1d3 [ios] Update changelog and bump podspec to 3.7.0 2017-11-17 17:28:14 -05:00
Fabian Guerra
5eb050dc35 [ios, macos] Update the attribution format for small snapshots. 2017-11-17 16:40:12 -05:00
Pablo Guardiola
84fbb7c576 release v5.2.0-beta.5 (#10464) 2017-11-17 16:39:36 +01:00
Jason Wray
f6c9dd6b25 [ios] Update puck arrow stroke color when tint changes
🤤
2017-11-16 17:15:59 -05:00
Pablo Guardiola
30e59ce738 Monkey crashes (#10440) (#10472)
* [android] - avoid null map from trackballevent

* [android] - fixup animated marker test activity from monkey runs

* [android] - harden NativeMapView OnMapChangeListener

* [android] - harden against destroyed wrapper activity while moving touch pointers

* [android] - harden bulk marker activity for monkey runner

* [android] - harden scale end gesture event for null velocity tracker

* [android] - invalid mapboxMap invocation

* [android] - reset test setup
2017-11-16 16:06:22 +01:00
Minh Nguyễn
1049c01225 Deploy macosapp as part of releases (#10191)
* [macos] Deploy macosapp as part of releases

Added steps to the packaging script to archive and export macosapp. Upload the exported, compressed application bundle to the GitHub release when deploying a release.

* [macos] Explicitly named function argument

* [macos] Consolidated xcodebuild invocations
2017-11-14 19:14:12 -08:00
Fabian Guerra
739f88e61f [ios] Update podspecs to v3.7.0-rc.1 2017-11-14 16:04:54 -05:00
Minh Nguyễn
43c6f6b3b0 [ios] Updated Spanish, Vietnamese translations 2017-11-14 11:53:49 -08:00
Fabian Guerra Soto
addefe539a [ios] Fix toCamera.centerCoordinate in shouldChangeFromCamera (#10433)
* [ios] Fix toCamera.centerCoordinate in shouldChangeFromCamera has same center as oldCamera.

* [ios] Update changelog.

* [ios] Remove unnecessary variables.

* [ios] Clarify changelog doc.
2017-11-14 13:37:45 -05:00
Tobrun
f0f113bafc MapSnapshot attribution (#10362)
* [android] - add attribution

* [android] - optimise attribution sources

* [android] - rework datamodel to attribution class

* [android] - refactor Attribution, add tests

* [android] - add getter for attribution string

* [android] - rework attribution to include small logo, add layout placement

* [android] - finalise integration and layout logic
2017-11-14 11:13:34 +01:00
Tobrun
a9bd09c015 Downgrade min sdk to 14 (#10355)
* [android] - downgrade minimum sdk version to 14

* [android] bump MAS version to the one which includes min sdk version 14

* bump lost version to 3.0.4
2017-11-13 13:20:41 +01:00
Jordan Kiley
a0cfac4c1a Update MGLMapSnapshotter docs (#10438) 2017-11-10 10:02:45 -08:00
Tobrun
199c0cac25 [android] - harden deselection mechanism for markers (#10403) 2017-11-10 16:34:09 +01:00
Pablo Guardiola
b5140cb342 [android] Cherry picks to agua (#10442)
* [android] fix map snapshotter marker example

The reference to the MapSnapshotter needs to be held for the duration of the snapshot, otherwise it might be GC'd

* [android] MapRendererRunnable - avoid weak reference table overflow

Apparently on some devices the weak reference table is limited (numbers around 52000). Even though we don't use that many weak references, when GC is not called for a while they can stack up and a crash will occur before the GC has had the time to clear the references. The C++ peer now holds on to a global ref (strong) which can be obtained to queue the java peer and then release automatically so that the GC can take over after the runnable has been executed.
2017-11-10 12:56:06 +01:00
Jordan Kiley
91dabd01df [ios] Silence smart invert warnings (#10425) 2017-11-09 13:09:16 -08:00
Nadia Barbosa
bfdd0c5031 [ios] Doc fixes for "Adding Points to a Map" guide 2017-11-09 13:11:09 -05:00
Fabian Guerra
a936fd6f8a [ios, macos] Cleanup duplicated snapshotter frame code. 2017-11-08 16:40:50 -05:00
Pablo Guardiola
46fcc83097 [android] release 5.2.0-beta.4 (#10384) 2017-11-08 01:58:51 -08:00
Tobrun
cc67335499 [android] - add config file for excluding generated tests, refactor generation script output 2017-11-08 09:58:31 +01:00
Fabian Guerra
3efb740b42 [ios] Bump podspec to beta.4 2017-11-07 18:41:47 -05:00
Fabian Guerra
93e363bd8c [ios, macos] Add attribution to snapshots. 2017-11-07 17:56:09 -05:00
tobrun
24de48b772 [android] - update android unit tests, update test make target to SDK 2017-11-06 18:53:50 +01:00
tobrun
4d486e10ce [android] - check for null value when calling mapboxMap.clear 2017-11-06 17:16:27 +01:00
Jordan Kiley
d29ebe3d3f [ios, macos] noted how to update shape source (#10383) 2017-11-03 18:29:03 -07:00