Commit Graph

15503 Commits

Author SHA1 Message Date
zmiao
7424c4eecb Bump GL-JS
Backport GL-JS fix 'Hide glyphs behind the camera'(https://github.com/mapbox/mapbox-gl-js/pull/9229)
2020-02-11 11:05:18 +02:00
Alexander Shalamov
e0b1642825 [core] Update changelog 2020-02-11 10:40:30 +02:00
Alexander Shalamov
0475c89140 [core] Update baselines 2020-02-11 10:40:30 +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
07c0c63fda [core] Clear tile pyramid for custom source only if there is a significant change
Clear tile pyramid only if updated source has different tile options,
zoom range or initialization state for a custom tile loader.
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
Alexander Shalamov
fce4129435 [core] Add runtime API for setting tile prefetch delta for Source
New setPrefetchZoomDelta(optional<uint8_t> delta) method allow overriding
default tile prefetch setting that is defined by the Map instance. The
method can be moved to generic style specification if found to be useful
for gl-js engine.
2020-02-11 10:40:30 +02:00
Ansis Brammanis
a231005860 fix submodule update command (#16186) 2020-02-10 10:00:11 -05:00
Thiago Marcos P. Santos
97cab6365b [documentation] Updated README and DEVELOPING
To reflect changes in the buildsystem.
2020-02-07 20:12:44 +02:00
Thiago Marcos P. Santos
021e48f35e [build] Run cmake-format on all the CMake files
Unify and enforce a CMake coding style.
2020-02-07 20:12:44 +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
489adb8d87 Add change log entry 2020-02-07 14:39:03 +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
Mikhail Pozdnyakov
c04551a4e3 Expose READ_ONLY_MODE_KEY property for DatabaseFileSource 2020-02-07 14:39:03 +02:00
Alexander Shalamov
d915e7748a [core] Update changelog 2020-02-06 23:54:19 +02:00
Alexander Shalamov
534003495b [core] Switch unordered_map to map
Change container types where number of elements expected
to be rather small. For instance, number of offline packs
or sql statements.
2020-02-06 23:54:19 +02:00
Alexander Shalamov
bb85ec442d [core] Add hooks for setting experimental thread priorities for mbgl threads 2020-02-06 23:54:19 +02:00
Alexander Shalamov
4be2fa4f9a [core] Add platform::setCurrentThreadPriority(double) 2020-02-06 23:54:19 +02:00
Alexander Shalamov
5789faf11a [core] Add unit test for global settings object 2020-02-06 23:54:19 +02:00
Alexander Shalamov
f30aec6c1a [core] Add 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
Juha Alanen
ce5b7ad113 [android] Implement watch handler in RunLoop 2020-02-06 17:52:12 +02:00
Juha Alanen
38d80dd3e1 [build] Add curl-android-ios submodule
Static libcurl to be used in Android and iOS apps.

Used for testing.
2020-02-06 17:52:12 +02:00
Preston A Elder
c28ffe0d4a Made number format work for newer versions of ICU (#16176) 2020-02-04 12:23:57 -05:00
Alexander Shalamov
86cd344bbe [core] Prepare changelog for maps-v1.0.1 (2020.01-release-unicorn) patch release 2020-02-03 22:28:34 +02:00
Mikhail Pozdnyakov
1f5c6beb64 [tile mode] Improvements in symbol placement on tile borders
This change fixes the following problems:
1) Before this change, when multiple symbols were grouped close to the
tile borders, different tiles could place different symbols, because each
tile arbitrary assigned feature ids, and these ids defined the placement
order being applied. This caused artifacts at the tile boundaries.

With this change, in tile mode the placement order of two symbols crossing
a tile border is defined by their anchor `y` values. It means that the
symbols are being placed the same order across all the tiles.

2) Before this change, the engine did not place with priority the symbols
crossing the borders between two neighboring tiles. Now it does, and it
improves a lot symbol placement stability in the tile map mode.
2020-02-03 21:26:35 +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
zmiao
2e10d3548a Add back ios-test-runner for beseline job (#16167) 2020-02-03 19:01:31 +02:00
Alexander Shalamov
0b727108c8 [core] Add getSharedExpression to property expression
New method can be used for aggregating property expressions from
multiple properties(layers) into single match / case expression.
2020-02-03 16:45:42 +03:00
Alexander Shalamov
a600a1c318 [core] Update changelog 2020-02-03 16:45:23 +03:00
Alexander Shalamov
1334de089f [core] Use std::list instead of std::map for factory instance
Factory 'get' method can be invoked recursively and stable iterators
are required to guarantee safety.
2020-02-03 16:45:23 +03:00
Thiago Marcos P. Santos
edd3e49533 [build] Remove baseline bot dependency on iOS tests
The iOS test bot is failing because auth is failing.
2020-02-03 15:42:41 +03:00
Juha Alanen
1688130809 [build] Use all available cores for CI builds 2020-01-30 13:52:09 +02:00
Juha Alanen
ce59c56f9f [build] Disable TSAN checks for the test HTTP server in CI builds 2020-01-30 13:52:09 +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
eb9d0067ca [build] Fix test linking for MacOS and Qt 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
Juha Alanen
ad18b0d789 [build] Add cpp-httplib as submodule
A C++ header-only HTTP/HTTPS server and client library.

Used for testing.
2020-01-30 13:52:09 +02:00
Thiago Marcos P. Santos
5584fe26e1 [build] Make it possible to enable RTTI on the new buildsystem 2020-01-29 18:44:50 +02:00
Siarhei Fedartsou
e211b40a82 [build] Add WITH_NO_RTTI CMake option to be able to build gl-native with RTTI if needed 2020-01-29 18:44:50 +02:00
zmiao
d7c8104dec [test-runner] Enable rebaseline for next-ios-render-test-runner (#16147) 2020-01-28 21:48:22 +02:00
Thiago Marcos P. Santos
0de6ffc383 [build] Cleanup CircleCI configuration
- Remove the legacy build jobs
- Remove the next- namespace.
2020-01-28 00:44:07 +02:00
Alexander Shalamov
8ddb0a9590 [core] Prepare changelog for maps-v1.0.0 (2020.01-release-unicorn) release 2020-01-27 19:35:13 +03:00
Mikhail Pozdnyakov
951b90c778 [tile mode] Fix variable symbols placement
This commit allows the variable symbols to cross the tile border only
if their anchor is the first anchor from the `text-variable-anchor` list.
2020-01-27 17:51:07 +02:00
Alexander Shalamov
391a5642e0 [core] Update changelog 2020-01-27 15:08:32 +03:00