Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | follow-up fixes after 16416 | Mikhail Pozdnyakov | 2020-04-22 | 1 | -2/+3 |
| | |||||
* | [core] Add Resource::StoragePolicy and consider it in resource loader | Mikhail Pozdnyakov | 2020-04-22 | 1 | -0/+3 |
| | |||||
* | [core] Add style::Source::setVolatile()/isVolatile() API | Mikhail Pozdnyakov | 2020-04-22 | 1 | -2/+5 |
| | |||||
* | [core] Introduce distance expression | zmiao | 2020-04-22 | 3 | -2/+40 |
| | | | | | | | | | | | | | | | | | | Add distance unit choices Fix cmake and add license Add support for LineString Features Add template to geometry helper function Only support line and point Rename geometry_within.cpp hpp file to geometry_util.cpp .hpp Remove incorrect indexFilter, fix pointSetsDistance Fix distance expression | ||||
* | [core] Introduce Source::setMinimumTileUpdateInterval API | Mikhail Pozdnyakov | 2020-04-20 | 1 | -4/+15 |
| | | | | | | The `Source::setMinimumTileUpdateInterval()` method sets the minimum tile update interval, which is used to throttle the tile update network requests. Default value is `Duration::zero()`. | ||||
* | [core] Introduce `Resource::minimumUpdateInterval` | Mikhail Pozdnyakov | 2020-04-20 | 1 | -0/+1 |
| | | | | | | Introduce `Resource::minimumUpdateInterval` and consider it in the online file source. The `minimumUpdateInterval` is used to throttle the requests, which were initiated due to resource expiration. | ||||
* | [core] Add platform abstractions for utils::now() | Thiago Marcos P. Santos | 2020-04-20 | 2 | -1/+16 |
| | | | | | Some platforms might require special permissions or custom APIs to access the current time of the day. | ||||
* | [core] Fix performance-no-automatic-move (bonus) | Thiago Marcos P. Santos | 2020-04-17 | 3 | -5/+6 |
| | | | | | | As reported by clang-tidy-10. We don't run clang-tidy-10 yet. We should probably consider moving the bots at some point so errors like this won't return. | ||||
* | [core] Fix performance-noexcept-move-constructor in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -12/+8 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-value-param errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -3/+5 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-use-equals-default errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -2/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-default-arguments errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -2/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-use-override errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 12 | -12/+12 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-container-size-empty errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -1/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-redundant-smartptr-get errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -4/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-redundant-declaration errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -0/+4 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-const-return-type errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -6/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-return-braced-init-list errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -15/+8 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-value-param errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 8 | -44/+29 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-move-const-arg errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -1/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-forwarding-reference-overload errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -0/+1 |
| | | | | | | This was a false positive. As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-forward-declaration-namespace errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -1/+0 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-inefficient-vector-operation errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -0/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-redundant-member-init errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 14 | -17/+16 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-avoid-const-params-in-decls errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 9 | -14/+11 |
| | | | | As reported by clang-tidy-8. | ||||
* | Add generic setter for 'source' property | Alexander Shalamov | 2020-04-16 | 1 | -0/+1 |
| | | | | | - Add setter for 'source' property - Test generic setters via setProperty method | ||||
* | Enable 'circle-sort-key' layout property | Andrew Hay Kurtz | 2020-04-14 | 2 | -1/+9 |
| | |||||
* | Fix LocationIndicator Layer | Gali Nelle | 2020-04-10 | 1 | -8/+12 |
| | | | | | | | | | This changes image size properties to be scales instead of pixel sizes. The commit also adds fixes for handling image updates with the same ID, adds tests for expressions in paint properties, as well as tests for using images with pixel ratio greater than 1. Finally it moves image-tilt-displacement and perspective-compensation properties from layout to paint properties, and includes other minor cleanups. | ||||
* | [core] PlacedSymbolData contains layer id | Mikhail Pozdnyakov | 2020-04-09 | 1 | -0/+2 |
| | |||||
* | Add unit tests for Rotation interpolator | Gali Nelle | 2020-04-08 | 1 | -3/+3 |
| | |||||
* | Make location indicator bearing a paint property | Gali Nelle | 2020-04-08 | 15 | -15/+93 |
| | | | | | | This change introduces a new property type, Rotation, that uses a custom interpolator, and that is currently applied to all style properties named "bearing", with a period attribute. | ||||
* | Add LocationIndicatorLayer | Gali Nelle | 2020-04-08 | 5 | -1/+140 |
| | | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo. | ||||
* | [core] PlacedSymbolData includes viewport padding | Mikhail Pozdnyakov | 2020-04-02 | 1 | -1/+5 |
| | |||||
* | [core] Introduce API to collect placed symbols data | Mikhail Pozdnyakov | 2020-04-02 | 1 | -2/+37 |
| | | | | | | | | | | The following methods are added to the `Renderer` class: - `collectPlacedSymbolData()` enables or disables collecting of the placed symbols data - `getPlacedSymbolsData()` if collecting of the placed symbols data is enabled, returns the reference to the `PlacedSymbolData` vector holding the collected data. | ||||
* | [core] Add setMaxOverscaleFactorForParentTiles | Alexander Shalamov | 2020-04-01 | 1 | -0/+14 |
| | |||||
* | [core] Move logging off the main thread | Juha Alanen | 2020-04-01 | 1 | -1/+15 |
| | |||||
* | [core] Fix readability-* errors | Thiago Marcos P. Santos | 2020-03-30 | 1 | -1/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Use const& for the OfflineRegion object | Thiago Marcos P. Santos | 2020-03-25 | 1 | -5/+5 |
| | | | | | | | | | | It is used as const and also fixes a build issue on iOS: ``` Non-const lvalue reference to type ‘mbgl::OfflineRegion’ cannot bind to a temporary of type ‘typename remove_reference<OfflineRegion &>::type’ (aka ‘mbgl::OfflineRegion’) ``` | ||||
* | [core] Ability to set source-layer setProperty method | Mikhail Pozdnyakov | 2020-03-24 | 1 | -1/+0 |
| | |||||
* | [core] Layer::setProperty() can set min/max zoom and filter | Mikhail Pozdnyakov | 2020-03-24 | 1 | -0/+2 |
| | |||||
* | [core] Move generic setProperty() parts to the base Layer class | Mikhail Pozdnyakov | 2020-03-24 | 12 | -73/+72 |
| | |||||
* | [core] Fix modernize-pass-by-value errors | Thiago Marcos P. Santos | 2020-03-23 | 1 | -13/+4 |
| | | | | As reported by clang-tidy-8. | ||||
* | Bump mapbox-base to 1.2.0 | Alexander Shalamov | 2020-03-23 | 9 | -11/+11 |
| | |||||
* | [core] Fix performance-unnecessary-value-param errors | Thiago Marcos P. Santos | 2020-03-23 | 15 | -29/+36 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Introduce Renderer::clearData() instead of keepRenderData map options | Mikhail Pozdnyakov | 2020-03-20 | 2 | -22/+1 |
| | | | | | | | | | | `Renderer::clearData()` is a better API than the removed `MapOptions::keepRenderData()`: - gives more flexibility to the client - similar to the existing `Renderer::reduceMemoryUse()` - the `MapOptions::keepRenderData()` API implementation could not handle the raise condition, which happened if the new still image request had come before all tiles from the previous requests were loaded. Co-authored-by: Dane Springmeyer <dane@mapbox.com> | ||||
* | [core] Using TileCoordinates for geometry comparison | zmiao | 2020-03-19 | 1 | -2/+1 |
| | |||||
* | [core][tile|static mode] Introduce MapOptions::keepRenderData() flag | Mikhail Pozdnyakov | 2020-03-18 | 1 | -0/+22 |
| | | | | Render orchestrator stores the render data between render frames if this flag is set. | ||||
* | [core] Follow-up on the platform integration callback PR | Thiago Marcos P. Santos | 2020-03-12 | 1 | -5/+6 |
| | | | | Addressing review comments that arrived after the PR was merged. | ||||
* | [core] Add a callback for platform RunLoop integration | Thiago Marcos P. Santos | 2020-03-11 | 1 | -0/+12 |
| | | | | | | | | Platform integration callback for platforms that do not have full run loop integration or don't want to block at the Mapbox GL Native loop. It will be called from any thread and is up to the platform to, after receiving the callback, call RunLoop::runOnce() from the same thread as the Map object lives. | ||||
* | [core] Fix within expression serialization + fix within expression equal ↵ | zmiao | 2020-03-05 | 1 | -1/+1 |
| | | | | operator |