Commit Graph

14942 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
Ming Li
14d23a3a4b [core] Fix compilation failure caused by compilation warning for gcc 8
When compiling with gcc 8.3 under linux, I've got compiler error caused
by the following warning:
../src/mbgl/util/chrono.cpp:26:26: error: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Werror=format-truncation=]
I need to slightly increase the buffer size to get rid of the warning.
2019-09-12 12:33:42 +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
6899337f86 [core] Add Map.Issue15342 unit test
The newly added test checks the fix for constant repaint,
caused by `RenderSource::hasFadingTiles()` returning `true` all the time.
2019-09-12 00:40:08 +03:00
Mikhail Pozdnyakov
8af78ddbb9 [core] Update MapObserver::onDidFinishRenderingFrame() API 2019-09-12 00:40:08 +03:00
Mikhail Pozdnyakov
03dadb1cea [core] Set fading tiles flag at TilePyramid::updateFadingTiles() 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
Bruno de Oliveira Abinader
6fdf07e3a7 [core] Use mbgl::underlying_type in style properties 2019-09-11 14:29:26 +03:00
Bruno de Oliveira Abinader
788508984f [test] Added style light setProperty tests 2019-09-11 14:29:26 +03:00
Bruno de Oliveira Abinader
dfaa859d99 [core] Expose mbgl::style::Light::setProperty
Works the same way as mbgl::style::set{Paint,Layout}Property functions.
2019-09-11 14:29:26 +03: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
Alexander Shalamov
92b3386dec [core] Add unit test to verify that Offline usage tag is not set
New unit test checks that Offline usage flag is not set for invalidated
offline region resource requests.
2019-09-11 10:47:55 +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
Tom Payne
0707d02291 [core] Ignore file generated by tests 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
Alexander Shalamov
3c5cdf1943 [build] Enable mbgl-expression-test on CI 2019-09-04 10:37:50 +03:00
Alexander Shalamov
631bc4f6a3 [core] Add native expression test runner 2019-09-04 10:37:50 +03:00
Konstantin Käfer
c7be3d52a7 Always call onSourceLoaded observers (#15548)
* [core] add sources to source collection before triggering load

* [test] add testcase for #15514

* [core] also call onSourceLoaded observers when no network request was necessary
2019-09-03 17:02:23 -07: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
3c23a29e27 [build] Update mapbox-base version 2019-09-02 14:09:08 +03:00
Mikhail Pozdnyakov
d1c87d2cb0 [build] Exclude mapbox-base targest from default build 2019-09-02 14:09:08 +03:00
Mikhail Pozdnyakov
26ea9798b7 [build] Use rapidjson from mapbox-base 2019-09-02 14:09:08 +03:00