Commit Graph

14961 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
c507cc4c8a [build] Disable a test that requires a debug build
Overdraw debug layer is only available on debug builds.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
3cc026dc16 [build] Remove Qt test dependency on core
This test is testing the Qt bindings and should only
link with QMapboxGL.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
5cf2c7eb50 [build] Use the system CURL on Linux
And we don't need to use Mason anymore.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
a849b38390 [build] Mark explicitly visible symbols
Easier to maintain than a linker script. We build
everything with visibility hidden by default.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
79670593de [build] Make test/util.hpp a public interface
We will build the tests as a library and platforms will
provide the test runner.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
d424850257 [build] Make the default styles part of GL Native
The reason is applications using it, like GLFW, don't need
to depend on code inside platform/default.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
8ee6cfa8fb [build] Cosmetics on vendor packages
- Add include guards on all the files
- Add a vendor package for sqlite and gtest
- Use relative paths to all the files
2019-09-17 12:28:55 +03:00
Alexander Shalamov
e3421e042f [core] Fix for FormatSectionOverrides::hasOverride 2019-09-17 11:16:42 +03:00
Julian Rex
a99240a54f [ios] Add support for running tests (that require an access token) individually. (#15629) 2019-09-16 21:30:54 -04:00
Nadia Barbosa
8331b7adfe [ios, macos] Introduce custom drawing overlays for MGLMapSnapshotter 2019-09-16 12:55:36 -07:00
Julian Rex
40b0cb74cb [ios] Update change log. (#15626) 2019-09-16 13:32:35 -04:00
Jordan Kiley
e5ae7187d9 [ios] Small fixes to the Swift Playground (#15603) 2019-09-16 10:22:42 -07:00
Julian Rex
99492ff5e7 [ios] Add custom XCTestSuite to check for "pending" tests and tests requiring a valid access token. (#15477) 2019-09-13 23:20:17 -04:00
Langston Smith
7db7d64270 [android] Adjusted 8.4.0-alpha.2 changelog to fix since section (#15610) 2019-09-13 08:50:13 -07:00
Mikhail Pozdnyakov
048e2c8e8e [ios][android] Add a change log entry 2019-09-13 13:45:48 +03:00
Mikhail Pozdnyakov
0d9e4afd20 [core] Coalesce buckets updates from several tiles 2019-09-13 13:45:48 +03:00
Mikhail Pozdnyakov
fc741cdd21 [core] Initiate new placement only when a new bucket appeares 2019-09-13 13:45:48 +03:00
Mikhail Pozdnyakov
796cc3a4d6 [core] Bitmask operations for enums 2019-09-13 13:45:48 +03:00
Mikhail Pozdnyakov
f9c15f708e [core] Fix placement for updated buckets
Buckets update initiates new placement, so that
newly added symbols are placed and shown immediately.
2019-09-13 13:45:48 +03:00
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