Commit Graph

17582 Commits

Author SHA1 Message Date
tobrun
b15e9f88fc [location] add location permission 2020-01-30 10:53:22 +01:00
tobrun
834c8310a5 [deps] update telemetry dependency and update vendor submodule 2020-01-30 10:53:22 +01: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
Peng Liu
aea886e741 Lazy load view components in MapView. (#141)
* Lazy load view components in MapView.

* Fix failing tests.

* Fix style.

* Lazy inflating view components.

* Remove debug logging.

* Fix android ui tests.
2020-01-29 15:03:42 +02:00
tobrun
a5477963ae [deps] update accounts library to 0.7.0 to include androidX optimised library 2020-01-29 11:30:20 +01: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
Alexander Shalamov
96dd401f3e [core] Add unit test for pausing & resuming database fs 2020-01-27 14:25:37 +03:00
Alexander Shalamov
7e88e04d60 [metrics] Upbdate baselines for test app binary size 2020-01-27 14:25:37 +03:00
Alexander Shalamov
9ec2e2aff7 [core] Add pause and resume to database filesource implementation 2020-01-27 14:25:37 +03:00
tobrun
4defb4769d [docs] update changelog for v9.0.0-beta.1 2020-01-27 11:13:19 +01:00
tobrun
c4d4f5d10a [android] - expose UiSettings configuration for disabling horizontall scroll gestures 2020-01-24 16:45:12 +01:00
zmiao
429292fb98 [test-runner] Add iOS RenderTestRunner test metrics (#16139)
* [test-runner] Add iOS RenderTestRunner test metrics

* [test-runner] Add ios probe metrics
2020-01-24 15:45:47 +02:00
Mikhail Pozdnyakov
61ab64906e GeoJSONSource is re-using the existing scheduler
Thus avoiding spawing new threads on `setGeoJSONData()` calls.
2020-01-24 14:15:37 +02:00
Jordan Kiley
88e281b7d5 Update podspecs and changelog for v5.7.0-beta.1 (#152)
* [ios] update podspecs

* [ios] Update changelog
2020-01-23 13:08:24 -08:00
Alexander Shalamov
9e1bcc4fdc [core] Update changelog 2020-01-23 12:55:57 +03:00
Alexander Shalamov
84b0b35f6d [core] Use weak scheduler inside mailbox
There is no guarantee that scheduler is alive when message
is pushed to the mailbox.
2020-01-23 12:55:57 +03:00
Alexander Shalamov
7bf4de9f39 [core] Move resource loader to dedicated thread with scheduler 2020-01-23 12:55:57 +03:00
Julian Rex
e62a7cade3 Updates mapbox-gl-native submodule to release-unicorn branch (#151)
* Update submodule

* [ios] Ignore patches

* Use new FileSourceManager interface

* Remove filesource-files.json

* Update submodule

* Remove http_file_source.mm from this repo for clarity.

* Adds set of MGLNativeNetworkManager (via MGLMapView and MGLOfflineStorage); includes tests.

* - Create testing methods, so that we don't need to export MGLNativeNetworkManager in GL
- Singleton accessors now set the delegate with each call; tests modified accordingly.

* Add test for expected properties

* [ios] Update MGLResourceTests for SKU changes

Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com>
Co-authored-by: Jordan Kiley <jmkiley@users.noreply.github.com>
2020-01-22 15:09:18 -08:00
galinelle
4678b3d70c [core] remove std::vector copy step in SymbolLayout::anchorIsTooClose (#16131)
A const reference is enough here.
2020-01-22 16:04:31 +02:00
Mikhail Pozdnyakov
04edb1dbaa Add change log entry 2020-01-22 14:30:26 +02: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
4dac2f61c2 [core] Simplify Placement::addLayer() 2020-01-22 14:30:26 +02:00
Mikhail Pozdnyakov
e6ddcf9beb [core] Simplify CrossTileSymbolIndex::addLayer() 2020-01-22 14:30:26 +02:00
Mikhail Pozdnyakov
5a4568b2ac [core] Avoid repeated calculations in symbol placement 2020-01-22 14:30:26 +02:00
Mikhail Pozdnyakov
f70cadf2e0 [core] Cache showCollisionBoxes in Placement 2020-01-22 14:30:26 +02:00
Mikhail Pozdnyakov
769a822fec [core] Pass UpdateParameters to Placement constructor 2020-01-22 14:30:26 +02:00
Mikhail Pozdnyakov
d24c1d625a [core] Pass std::shared_ptr<UpdateParameters> to the render orchestrator
So that it can retain ownership of the given parameters.
2020-01-22 14:30:26 +02:00
Mikhail Pozdnyakov
5af128f205 [core] Pass placement commit parameters in constructor 2020-01-22 14:30:26 +02:00
Mikhail Pozdnyakov
4735845a6e [core] Consider symbol bucket leader id in cross-tile symbol indexing
Only buckets with the same leader id participate in `TileLayerIndex::findMatches()`
in order to improve its performace.

`TileLayerIndex` constness is fixed.
2020-01-22 14:30:26 +02:00
tobrun
37df74d746 [docs] update changelog for v8.6.2 2020-01-22 13:13:14 +01:00
zmiao
93f19b8daa avoid restore sanity ccache since it will cause unarchive error for new added macos job (#16135) 2020-01-22 14:10:09 +02:00
Jordan Kiley
942d9566d3 [ios, macos] Include SKU token for offline requests (#16130) 2020-01-21 13:35:57 -08:00
zmiao
1ade6c7784 [test-runner] Enable IOS RenderTestRunner and run it on Firebase (#16111)
* [test-runner] Setup iOS RenderTestRunner

* [test-runner] Make app runnable on firebase

* Add iOS platform dependent expectation and ignores; Run prepare script via cmake

* Make RenderTestRunner report test status
2020-01-21 23:23:35 +02:00
Alexander Shalamov
6dc435f664 [ios][macos] Disable document generation for obsolete targets 2020-01-21 17:52:17 +03:00
Antonio Zugaldia
c7af6c9f15 add stale bot settings file (#150) 2020-01-21 09:20:43 -05:00
tobrun
c275ad2e6d [sku] append sku token to offline download requests 2020-01-17 15:22:20 +01:00
Alexander Shalamov
9bb1f89803 [core] Update changelog 2020-01-15 15:02:11 +02:00
Alexander Shalamov
96f953c5b2 [test-runner] Add stretchable icons resources to cache 2020-01-15 15:02:11 +02:00
Alexander Shalamov
adda95c510 [metrics] Baselines for stretchable icons feature 2020-01-15 15:02:11 +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
c80baa35b3 [core] add stretches + content to ImagePosition 2020-01-15 15:02:11 +02:00