Commit Graph

15139 Commits

Author SHA1 Message Date
Fabian Guerra
910a67cc2e Temporary configuration. 2019-10-16 21:21:26 -07:00
Fabian Guerra
0d66f9ce43 Update cmake to track the next config files. 2019-10-16 21:21:04 -07:00
Fabian Guerra
23d99bc073 Update CMakeLists.txt with the new build system. 2019-10-16 16:32:44 -07:00
Fabian Guerra
f01c9e1dd9 Add build configuration 2019-10-16 13:47:02 -07:00
Fabian Guerra
3f1d027d70 Update make file. 2019-10-15 21:19:15 -07:00
Jason Wray
4c563da6d0 Add mapbox-gl-native submodule 2019-10-15 21:19:15 -07:00
Jason Wray
7871abf84f Delete non-iOS files 2019-10-15 21:19:10 -07:00
Jason Wray
ee2b803315 [build] Update to Xcode 11.1 2019-10-15 14:38:43 -07:00
zmiao
e829d1ae6f [test-runner] make render-test a shared lib (#15816)
* [test-runner] make render-test a shared lib

[test-runner] nit

[test-runner] nit again

* [test-runner] Remove redundant linked file in cmake
2019-10-15 19:16:32 +03:00
tobrun
0f9666ebf3 [android] - remove snapshot and release builds, disable broken metric collection script 2019-10-15 12:08:22 +02:00
Thiago Marcos P. Santos
465d4e8cfa [render-test] Add test for file size tolerance 2019-10-14 21:15:21 +03:00
Thiago Marcos P. Santos
8b3a222c81 [render-test] Add tolerance to file-size tests 2019-10-14 21:15:21 +03:00
Konstantin Käfer
2187980a87 [core] fix icon-text-fit
This fixes rendering by account for the 1px texture padding around icons that were stretched with icon-text-fit. We've added the 1px padding before, but didn't scale it accordingly when we are resizing the icon when it is stretched to fit the text. Adjusts the code to match the logic in GL JS.
2019-10-14 18:46:12 +02:00
Konstantin Käfer
9cac122c5c [core] map image type to string until we have a dedicated implementation 2019-10-14 18:46:12 +02:00
Konstantin Käfer
8206ce0e02 [core] map image type to string until we have a dedicated implementation 2019-10-14 18:46:12 +02:00
Jordan Kiley
e4e2a78033 Add iOS bindings for cluster properties (#15515) 2019-10-11 13:46:41 -07:00
Julian Rex
a1f124c394 [ios] Fix for iOS 9 crash (seen in simulator) (#15771)
* [ios] Fix for iOS 9 crash (seen in simulator)

* [ios] Update change log

* [ios, macos] Add #if around new function.
2019-10-11 15:16:12 -04:00
Thiago Marcos P. Santos
2fb1e47b75 [render-test] No camelCase on the metrics.json tag
It is ugly.
2019-10-11 18:29:52 +03:00
Thiago Marcos P. Santos
307f9cede1 [render-test] Prettyfy metrics output 2019-10-11 18:29:52 +03:00
Thiago Marcos P. Santos
acd7fba3d5 [render-test] Add more probe tests for file size
Also make the tests simpler.
2019-10-11 18:29:52 +03:00
Thiago Marcos P. Santos
7f5c630613 [render-test] Fix UPDATE_METRICS=1 changing the path of file size tests
Should use the exact same path as described on style.json
2019-10-11 18:29:52 +03:00
Thiago Marcos P. Santos
0752e26055 [render-test] Fix bots not running the render tests self checks 2019-10-11 18:29:52 +03:00
Thiago Marcos P. Santos
a4e1707f6b [offline] Document the database schema 2019-10-11 16:06:28 +03:00
Thiago Marcos P. Santos
990fdc43fa [build] Make sure offline_schema.hpp is up-to-date
- Get the bots to verify that.
 - Fix the paths.
2019-10-11 16:06:28 +03:00
Alexander Shalamov
bebc49949a [render-test] Update location of render / query test html page 2019-10-10 23:33:36 +03:00
Julian Rex
bf61274b2a [ios, android] Update curl command to indicate there is no password (as per https://circleci.com/docs/api/#authentication) (#15796) 2019-10-10 16:27:02 -04:00
tobrun
1dc01f6644 [android] update changelog for 8.5.0-alpha.2 2019-10-10 19:19:14 +02:00
Thiago Marcos P. Santos
63116154fe [render-test] Only write metrics if they are available
Otherwise the file will have an empty tag.
2019-10-10 19:54:51 +03:00
Thiago Marcos P. Santos
629c0e1142 [render-test] Add tests for filesize probe
And make sure we run it on the bots
2019-10-10 19:54:51 +03:00
Thiago Marcos P. Santos
2e002746eb [render-test] Make clang-format happy 2019-10-10 19:54:51 +03:00
Thiago Marcos P. Santos
a9f06f3b52 [render-test] Add instruction for verifying file size
For a given absolute or relative path, measure the size of the file.

This is useful for measuring if the cache has increased as expected
after moving a camera or decreased after cleaning up.

In a more hackish manner, could be used for collecting binary size
statistics of shared libraries.
2019-10-10 19:54:51 +03:00
Thiago Marcos P. Santos
026e15fe3d [render-test] Fix rootPath parameter being ignored
It was doing nothing and always using the default root path.
2019-10-10 19:54:51 +03:00
Thiago Marcos P. Santos
2a3cc96c42 [tests] Do not run tests in parallel
Introduces too much flakeness.
2019-10-10 19:41:27 +03:00
Thiago Marcos P. Santos
5f371d5e39 [build] Check for code generation on Darwin
Sadly, it can only be done inside macOS because
of how examples are generated.
2019-10-10 19:41:27 +03:00
Thiago Marcos P. Santos
d0e6f9df44 [build] Remove redundant bots
We have something equivalent on the `next` workspace for these bots.
2019-10-10 19:41:27 +03:00
Łukasz Paczos
3e06965f33 [android] - manually write and read camera's padding array to parcel
This avoids relying on Parcel's util methods that do not handle null arrays gracefully.
2019-10-10 17:52:29 +02:00
Mikhail Pozdnyakov
e909997a31 [android][ios] Change log entries 2019-10-10 15:39:34 +03:00
Mikhail Pozdnyakov
2f973e9646 [core] Introduce Scheduler::bindOnce() and use it in ImageManager 2019-10-10 15:39:34 +03:00
Mikhail Pozdnyakov
76346944f3 [ci] Fixed duplicated render tests run on MacOS 2019-10-10 15:39:34 +03:00
Mikhail Pozdnyakov
ef8540b683 [core] Update ImageManager.OnStyleImageMissingBeforeSpriteLoaded unit test
So that it checks missing images requests coalescing.
2019-10-10 15:39:34 +03:00
Mikhail Pozdnyakov
71047ab853 [core] Disallow coalesced requests for patterns
Unlike icons, pattern changes are not caught with
style-diff meaning that the existing request could
be from the previous style and we cannot coalesce
requests for them.
2019-10-10 15:39:34 +03:00
Mikhail Pozdnyakov
76bbc42fa6 [core] Coalesce requests for the same missing image
This commit coalesces the repeated `onStyleImageMissing` calls
for the same image.

It also simplifies the image manager code.
2019-10-10 15:39:34 +03:00
Mikhail Pozdnyakov
f62e5b00c9 [core] Introduce Scheduler::makeWeakPtr() 2019-10-09 23:46:11 +03:00
Dane Springmeyer
da490c2b90 bump to v5 (#15781) 2019-10-09 13:30:17 -07:00
Nadia Barbosa
32a73a5be5 [ios] Podspec & changelog updates for v5.5.0-alpha.2 2019-10-09 13:20:04 -07:00
Mikhail Pozdnyakov
b4e0224a57 [test runner] Fix finding of expected images paths
Before this change, the found paths to the expected images
erroneously included the path to the `metrics.json` file
(if this file was present) leading to raising of an
unhandled exception.
2019-10-09 14:35:08 +03:00
Dane Springmeyer
d0281e3ca4 node package improvements (#15748)
* node package improvements

* npm run test-suite does not do anything anymore
2019-10-08 16:27:04 -07:00
Julian Rex
563f9d0534 [ios] Skip metrics.sh step (#15779) 2019-10-08 17:49:45 -04:00
Peng Liu
7139abdbf5 [android] Expose pre-fetching zoom delta. (#15769)
* [android] Expose pre-fetching zoom delta.

* [android] Fix Clang format.

* [android] Add MapboxMap unit test.

* [android] Add prefetching zoom delta into MapboxMapOptions.

* [android] Deprecate setPrefetchesTiles to migrate to setPrefetchZoomDelta.

* [android] Deprecate getPrefetchesTiles() and migrate to setPrefetchZoomDelta().

* [android] Add unit test to NativeMapViewTest.

* [android] Add IntRange annotation to getPrefetchZoomDelta.
2019-10-08 16:21:46 +03:00
Juha Alanen
4eaaa9046e [tests] Share common code between test runners 2019-10-08 15:33:30 +03:00