Commit Graph

7159 Commits

Author SHA1 Message Date
Peng Liu
69bc5244ea [android] Fix MapSnapshotter regression and add activity sanity tests (#15580)
* [android] Include more generated sanity tests for Android test app.

* [android] Add null check for camera position padding.

* [android] Skip map load tests if no mapView is found, include more generated sanity tests for Android test app.

* [android] Set mapboxMap to null during the mapView destroy process, fix failed sanity tests.

* [android] Add file source related activities to the sanity test exclude list.

* [android] Fixes according to @tobrun's review.

* [android] Add more activities to exclude list, keep MapSnapshotterActivity for regression test.
2019-09-12 18:17:45 +03:00
Peng Liu
1b35d39cc1 [android] Fix debugTree path for generating JacocoReport. (#15620) 2019-09-12 15:46:46 +03:00
Peng Liu
f0d3d459b8 [android] Keep CompassView's state up to date when compass is enabled. (#15606)
* [android] Keep CompassView's state up to date when compass is enabled.

* [android] Add unit test for updating compass view.

* [android] Add change log.
2019-09-12 11:59:56 +03:00
Rebecca Rice
53e56945eb [node] release v4.3.0 (#15428) 2019-09-11 21:48:34 -04:00
Mikhail Pozdnyakov
a84a3f05c9 [ios][android] Add change log entries 2019-09-12 00:40:08 +03:00
Mikhail Pozdnyakov
8af78ddbb9 [core] Update MapObserver::onDidFinishRenderingFrame() API 2019-09-12 00:40:08 +03:00
Julian Rex
3f1d7ede66 [ios] Update podspecs (#15611) 2019-09-11 17:11:44 -04:00
Langston Smith
9a1e8d3ebb [android] updated android changelog for 8.4.0-alpha.2 release (#15609) 2019-09-11 10:15:46 -07:00
Thiago Marcos P. Santos
102a07cc63 [build] Remove CXX11 flag
No longer needed after we vendorized so many deps.
2019-09-11 11:33:34 +03:00
Peng Liu
208f82fbe2 [android] Fix leaked window in test app's BulkMarkerActivity. (#15597) 2019-09-10 19:00:31 +03:00
Mikhail Pozdnyakov
151ea331f8 [core] Use mapbox::base::TypeWrapper instead of utils::peer 2019-09-10 11:51:17 +03:00
Mikhail Pozdnyakov
5207a36074 [core, ios, macos] SDK objects should hold weak pointers to the core style objects (#15539) 2019-09-09 23:55:38 -04:00
Jason Wray
45140af7cb [ios] Refactor way location permissions are requested 2019-09-09 17:25:42 -07:00
Jason Wray
8ccf15069d [darwin] Use en_US as default test locale/language 2019-09-09 10:26:01 -07:00
Julian Rex
b041488c20 [ios] Fix change log typos and re-order (#15571)
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>
2019-09-09 10:33:54 -04:00
Tobrun
b482d1b216 [android] update tooling and gradle wrapper to latest stable version (#15434) 2019-09-09 12:13:45 +02:00
Tobrun
529ebc7df7 [android] - increase timeout of offline download test (#15419) 2019-09-09 12:08:13 +02:00
zmiao
81e62c8cc0 [Core] Update ChangeLog of Integer Overflow fix of pr #15560 (#15586)
*  Update ChangeLog

* Fix extra space
2019-09-09 11:52:47 +03:00
Langston Smith
b391679799 [android] Bumped Java SDK dependency to 4.9.0-alpha.1 (#15570) 2019-09-06 08:31:07 -07:00
Thiago Marcos P. Santos
1bd439ad82 [core] Fix build with old ICU versions
Use the old API for number formatting.
2019-09-06 16:23:15 +03:00
Tom Payne
d2368bef2e [linux] Fix run test instructions 2019-09-06 11:01:36 +03:00
zmiao
f53143f1a1 [core] Fix Integer overflow when converting tileCoordinates to LatLon (#15560)
* [core] fix integer overflow

* [core] Add change log
2019-09-05 11:08:21 +03:00
Julian Rex
96581fd3ff [core, ios] Call transitionFinishFn for jumpTo. (#15473) 2019-09-05 00:21:58 -04:00
Julian Rex
fa3bf5855b [ios] Update pod specs and change log for ristretto alpha.1 (#15564) 2019-09-04 22:28:32 -04:00
Jordan Kiley
becdde170f [ios] Add changelog entry for #15562 (#15563) 2019-09-04 16:50:26 -07:00
Jordan Kiley
39af6b48c5 [ios] Remove feature flag for rotation threshold (#15562) 2019-09-04 14:35:56 -07:00
Fabian Guerra Soto
74d6fdb533 [ios, macos] Fix content inset documentation. (#15552) 2019-09-04 12:18:22 -07:00
m-stephen
b07217bbdd [ios] Fix compass font weight being too light on iOS 13 2019-09-04 11:29:05 -07:00
Langston Smith
71ea9495fd [android] Update changelog for the v8.4.0-alpha.1 release (#15561) 2019-09-04 10:56:08 -07:00
Tobrun
a691db5343 [android] Call callback.onFinish() when camera is already at the correct position
[android] Call callback.onFinish() when camera is already at the correct position
2019-09-04 18:13:31 +03:00
Tobrun
ed964fc16b [android] avoid converting float to long in android_conversion.hpp (#15557) 2019-09-04 18:12:12 +03:00
Alexander Shalamov
907aaba93d [darwin] Reset number formatter digits for currency style
As we are using singleton formatter, fraction digits must be reset
when number formatter is used when initialized for decimal / currency
style.
2019-09-04 10:37:50 +03:00
Mikhail Pozdnyakov
1ef763c98e [android][ios] Change log entries 2019-09-03 11:45:17 +03:00
Mikhail Pozdnyakov
35733f44ab [Darwin] Update MGLSymbolStyleLayer documentation 2019-09-03 11:45:17 +03:00
Mikhail Pozdnyakov
3b5a43c722 [core] Enable text-offset with variable label placement
Port of https://github.com/mapbox/mapbox-gl-js/pull/8642
2019-09-03 11:45:17 +03:00
Tobrun
0fa5944f39 Add number format expression (#15424)
* [android] add number format expression
2019-09-02 14:48:11 +02:00
Mikhail Pozdnyakov
4af4081fcf [build] Use jni.hpp from mapbox-base 2019-09-02 14:09:08 +03:00
Nadia Barbosa
2984535804 [ios] Allow MGLScaleBar to support dark mode on iOS 13
Add changelog PR link
2019-08-30 13:48:05 -07:00
Aleksandar Stojiljkovic
4ba1270dcc [core] DEMData: do decode on GPU (port mapbox/mapbox-gl-js#8694)
This is first part of work on porting mapbox/mapbox-gl-js#8694 - in follow up patch(es) it is required to remove CPU side copy using 2d canvas support on all supported platforms, similar to approach taken in gl.js  https://github.com/mapbox/mapbox-gl-js/pull/8694/files#diff-34dbe5f7de34dc4b9a8745dcde9bdc37R48

Decoding on CPU removed.
Padding is still done in DEMData() but, instead od doing it wwhile decoding, it is using memcpy to pad original values.

Rebase to latest mapbox-gl-js master and re-generate shaders.

Partly fixes: #15503
2019-08-30 11:18:55 +03:00
zmiao
6ef2710e5c [core] fix collisionBox alignment when Icon/text translation is enabled (#15467)
* add initial fix

* fix bug for collision circle

* refind code structure

* fix indentation

* update test

* refind code structure

* Add changelog

* Add comment for boolean
2019-08-30 08:24:03 +03:00
Langston Smith
29b11a5037 [android] Javadoc changes to clarify OfflineManager methods (#15519) 2019-08-29 17:21:31 -07:00
Bruno de Oliveira Abinader
544aabd020 [core] Add requiredTileCount to OfflineRegionStatus 2019-08-29 18:22:59 +03:00
Mikhail Pozdnyakov
e9d0fd14dc [ios][android] Add change log entry 2019-08-29 17:28:51 +03:00
Mikhail Pozdnyakov
42ba8a7d12 [core] const variables for OfflineDownload batch sizes 2019-08-29 17:28:51 +03:00
Mikhail Pozdnyakov
f84e46ad26 [core] Mark offline region resources in batches 2019-08-29 17:28:51 +03:00
Mikhail Pozdnyakov
0c80f3a383 [core] Add OfflineDatabase::markUsedResources() 2019-08-29 17:28:51 +03:00
Mikhail Pozdnyakov
62e1e03c09 [core] Move semantics for OfflineDownload::ensureResource() 2019-08-29 17:28:51 +03:00
Łukasz Paczos
becc705f05 [android] expose camera padding option
This removes the cached insets on the Android side, making the core TransformState the source of truth. This still leaves an option to lazily set the padding which is going to be applied only when the next camera animation is started.
2019-08-29 14:51:24 +02:00
Łukasz Paczos
6a4e431dbe [android] do not clear native layers and sources when style is reloading
This prevents unnecessary layers blink when the same components are re-added after the style reload.
2019-08-29 10:38:48 +02:00
Jordan Kiley
6998e9a8ed [ios] Prepare v5.3.0 release (#15516) 2019-08-28 14:44:40 -07:00