Mikhail Pozdnyakov
91437d8101
Add OfflineDownload.NoFreezingOnNotFoundError unit test
2020-02-28 12:52:26 +02:00
Juha Alanen
4b148dc202
[build][ios] Refactor iOS test runner CI job configs
2020-02-27 10:09:35 +02:00
Juha Alanen
18e9ed1c0b
[build] Build files related to OpenGL renderer only when the flag is enabled
2020-02-27 10:09:35 +02:00
Mikhail Pozdnyakov
1374f94795
Add Pass.NoCopy unit test
2020-02-26 22:31:59 +02:00
Mikhail Pozdnyakov
ba4f5efa09
[core] OnlineFileSource is never accessed directly
2020-02-26 22:31:59 +02:00
Mikhail Pozdnyakov
aad13f6a3f
[core] FileSourceManager::getFileSource() returns PassRefPtr
2020-02-26 22:31:59 +02:00
Alexander Shalamov
d49284776b
[core] Update Map.UniversalStyleGetter test
2020-02-26 18:15:23 +02:00
Alexander Shalamov
fb5be4c80c
[core] Add unit test for layer serialization
2020-02-26 18:15:23 +02:00
Juha Alanen
096570e737
[test] Verify pitch bounds
2020-02-26 11:21:04 +02:00
Mikhail Pozdnyakov
c85e7cbce0
Add OfflineDownload.NoFreezingOnCachedTilesAndNewStyle unit test
2020-02-25 23:15:47 +02:00
Mikhail Pozdnyakov
7c48611f9e
[core] Consolidate file source keys in the generic FileSource header
...
Thus we do not need to include specific headers to use `{set|get}Property`
API with key constants.
2020-02-25 23:15:47 +02:00
Juha Alanen
ba315b4bbb
[test] Add test for min and max pitch options
2020-02-25 16:54:44 +02:00
zmiao
b9425dd4ec
[core] Remove unnecessary includes, fix comments
...
This reverts commit b5c386ad7708ca9fe14f219b0ffc94cf6ce8fc88.
2020-02-21 21:39:48 +02:00
zmiao
351f421080
[core] Update unti tests. Remove unnecessary debugging code
2020-02-21 21:39:48 +02:00
Juha Alanen
a5ec862a2a
[test-runner] Share common code between test runners
...
Also remove some unnecessary files.
2020-02-18 16:10:23 +02:00
Alexander Shalamov
d0dfd40b0a
[core] Add unit test for Style::Impl::onSpriteLoaded
2020-02-17 10:14:05 +02:00
Kevin Li
02274e7601
[core] Implement 'in' expression. ( #16162 )
...
* Implement in.cpp
* Fix review comments.
* Add expression_equality test for 'in'
* Fix review comments.
* [core] Update changelog.
* [core] Update mapbox-gl-js
* [core] Ignore render-tests/debug/padding
* [core] Update baseline.
2020-02-15 17:36:57 +08:00
Juha Alanen
6d815401b1
[test-runner] Share common code between iOS test runners
2020-02-14 12:01:52 +02:00
Juha Alanen
632c5f9d4c
[test] Add iOS unit test runner
2020-02-14 12:01:52 +02:00
Juha Alanen
a4c4de2828
[test] Fix failing tests on iOS
2020-02-14 12:01:52 +02:00
Alexander Shalamov
f42b5e94ed
[core] Add unit test
2020-02-14 11:54:02 +02:00
Alexander Shalamov
efb7dd0b7b
[core] Use atomic int in Map.PrefetchDelta* unit tests
2020-02-12 20:43:24 +02:00
zmiao
2963afa010
Add support for expression test
...
Fix polygon within algorithm
Add Unit tests
Fix incorrect metrics folder for ios-render-test-runner job
2020-02-12 12:24:05 +02:00
zmiao
3e99c08ea6
Enable parse within expression
...
Add geometry type checker
2020-02-12 12:24:05 +02:00
Ansis Brammanis
4f18d5fa92
[core] sort symbols using symbol-sort-key before placement ( #16023 )
...
fix #15964
partially port mapbox/mapbox-gl-js#9054
2020-02-11 11:24:14 -05:00
Mikhail Pozdnyakov
f38330a9f5
Add Style.AddRemoveImage unit test
2020-02-11 14:34:46 +02:00
Mikhail Pozdnyakov
64e2bcdf43
[core] Loading images to style optimization
...
This change enables attaching images to the style with batches and
avoids massive re-allocations. Thus, it improves UI performance
especially at start-up time.
2020-02-11 14:34:46 +02:00
Alexander Shalamov
3b1a8b8c30
[core] Add unit test for Source::setPrefetchZoomDelta
...
Test verifies that tile pyramid will request only 4 tiles for
current zoom level, if Source's setPrefetchZoomDelta is 0.
2020-02-11 10:40:30 +02:00
Alexander Shalamov
ac50f5275b
[core] Make CustomGeometrySource::TileOptions immutable
2020-02-11 10:40:30 +02:00
Alexander Shalamov
def38cf4db
[core] Override default prefetch delta if source has it's own setting
2020-02-11 10:40:30 +02:00
Thiago Marcos P. Santos
47f2b20435
[build] Remove unused files
...
Buck build is no longer needed, neither is the previous
CMake buildsystem.
2020-02-07 20:12:44 +02:00
Thiago Marcos P. Santos
f7fef70e9d
[build] Move the next buildsystem to the root
...
This will make the `next` buildsystem no longer the `next`, but the
`actual`. The idea is to simplify the build, removing scripts, to
make the platform buildsystem generated by CMake more compatible
with IDEs and make development more streamlined. It will also make
cross compilation easier.
2020-02-07 20:12:44 +02:00
Mikhail Pozdnyakov
bdd7324d62
Add OfflineDatabase.UpdateDatabaseReadOnlyMode unit test
2020-02-07 14:39:03 +02:00
Mikhail Pozdnyakov
2365cab58c
Add OfflineDatabase.PutResourceReadOnlyMode unit test
2020-02-07 14:39:03 +02:00
Alexander Shalamov
5789faf11a
[core] Add unit test for global settings object
2020-02-06 23:54:19 +02:00
Juha Alanen
d4d96fd88c
[test] Enable HTTP server on Android
2020-02-06 17:52:12 +02:00
Juha Alanen
aed25c0438
[test] Improve the stability of a test on Android
2020-02-06 17:52:12 +02:00
Thomas Moenicke
b64ed75444
[build] Adding a build flag to build without GL if needed ( #16120 )
...
* [build] Adding a build flag to build without GL if needed
* [build] Moving custom layer to mbgl/gl
2020-02-03 19:10:57 +02:00
Juha Alanen
4778c0ab6b
[build] Enable unit tests for Qt MacOS builds in CI
2020-01-30 13:52:09 +02:00
Juha Alanen
f2845990bb
[test] Remove node.js based HTTP server
2020-01-30 13:52:09 +02:00
Juha Alanen
b0e16ec9cb
[test] Switch to C++ HTTP server
2020-01-30 13:52:09 +02:00
Alexander Shalamov
96dd401f3e
[core] Add unit test for pausing & resuming database fs
2020-01-27 14:25:37 +03:00
Mikhail Pozdnyakov
a2edfc79f0
Add CrossTileSymbolLayerIndex.offscreenSymbols test
2020-01-22 14:30:26 +02:00
Mikhail Pozdnyakov
a9d04d7b1a
[core] Do not index and place the off-screen symbols for overscaled tiles
...
For overscaled tiles the viewport might be showing only a small part of the
tile, so we filter out the off-screen symbols to improve the performance.
2020-01-22 14:30:26 +02:00
Mikhail Pozdnyakov
e6ddcf9beb
[core] Simplify CrossTileSymbolIndex::addLayer()
2020-01-22 14:30:26 +02:00
Konstantin Käfer
5a1e4c6b81
[core] implement stretchable icons for icon-text-fit
2020-01-15 15:02:11 +02:00
Konstantin Käfer
027e803b72
[core] move icon rotation from shaping to quad generation to mirror JS
2020-01-15 15:02:11 +02:00
Konstantin Käfer
1342cb44b3
[core] Remove unused WritingMode from getIconQuads
2020-01-15 15:02:11 +02:00
Konstantin Käfer
7d8d13ce04
[core] Change ImagePosition from storing non-padded rect to padded rect to mirror the JS implementation
2020-01-15 15:02:11 +02:00
Konstantin Käfer
47dc5727ab
[core] parse stretchX, stretchX, and content from sprite JSON files
2020-01-15 15:02:11 +02:00