Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Suppress network requests for invisible tiles | Mikhail Pozdnyakov | 2019-10-02 | 1 | -1/+75 |
| | | | | If the render source does not need rendering, we set necessity for its tiles to `optional`, and thus suppress network requests on tiles expiration. | ||||
* | [core] Check layer compatibility with source | Mikhail Pozdnyakov | 2019-09-18 | 1 | -0/+18 |
| | |||||
* | [tests] Update expression unit test for feature state | Juha Alanen | 2019-09-18 | 1 | -2/+1 |
| | |||||
* | [test] Added style light setProperty tests | Bruno de Oliveira Abinader | 2019-09-11 | 1 | -0/+23 |
| | |||||
* | Indroduce clusterProperty option for aggregation (#15287) | zmiao | 2019-08-16 | 2 | -3/+12 |
| | | | | | | | | | | * indroduce clusterProperty option for aggregation * remove unnecessary codes * update geojson_option conversion * fix reviewing findings | ||||
* | [core] Check type of a convertible value when constructing legacy filterupstream/node-release | Alexander Shalamov | 2019-08-16 | 1 | -0/+7 |
| | |||||
* | [core] Fix render tile set source update | Mikhail Pozdnyakov | 2019-08-01 | 1 | -0/+39 |
| | | | | | | Before this change, the `RenderTileSetSource` implementation ignored update calls for the sources whose description was not yet loaded and it lead to missing of relayout requests. | ||||
* | [core] Add number-format expression | Juha Alanen | 2019-06-27 | 1 | -3/+1 |
| | |||||
* | [core] Fix most identity function with default legacy expression tests | Ander Conselvan de Oliveira | 2019-05-21 | 1 | -1/+1 |
| | | | | | Add handling of default value to the conversion of legacy identity functions. The color and enum tests still don't pass though. | ||||
* | [core] GeometryTile and TileLoader keep strong reference to FileSource | Mikhail Pozdnyakov | 2019-05-14 | 1 | -41/+41 |
| | | | | Thus we fix a potential bug: if `Renderer` outlives the `Map` it will hold a stale reference to the `FileSource` instance. | ||||
* | [core] Create glyph manager at renderer construction time | Mikhail Pozdnyakov | 2019-05-14 | 1 | -1/+1 |
| | | | | Avoid unnecessary glyph manager presence check in `Renderer::Impl::()`. | ||||
* | [core] Make the BackgroundScheduler a singleton | Thiago Marcos P. Santos | 2019-05-10 | 3 | -15/+5 |
| | | | | | | | | | | - Do not carry it over everywhere as parameter, it is a shared instance anyway and the lifecycle is pretty much the app lifecycle from the moment we instantiate a map. - Rename to BackgroundScheduler because it is a Scheduler that will do tasks in the background, we don't make assumptions if it is a thread pool or a single thread. - Most importantly, remove the dependency from `core` on `platform`. | ||||
* | [build] change style code generator to sort properties alphabetically | Konstantin Käfer | 2019-05-02 | 1 | -1/+1 |
| | | | | JSON keys in our style specification don't have a defined order. This change sorts them alphabetically so that we can rely on the order remaining them same across code generation runs. | ||||
* | [core] Introduce `LayerRenderData`. Source::update() accepts layer properties. | Mikhail Pozdnyakov | 2019-04-17 | 1 | -15/+33 |
| | |||||
* | [core] Move should not call destructors | Alexander Shalamov | 2019-04-05 | 1 | -0/+100 |
| | |||||
* | [core] clang-tidy fixes | Konstantin Käfer | 2019-04-05 | 1 | -4/+4 |
| | |||||
* | [core] Traverse expression tree when checking for property overrides | Alexander Shalamov | 2019-03-28 | 1 | -0/+12 |
| | | | | | | | | | | Before this change, symbol layer was only checking whether top level 'text-field' layout property expression is FormatExpression and if it has paint property overrides. This change takes into account that 'text-field' might have nested expressions, thus, requires traversal over child expressions. Fixes: #14254 | ||||
* | [core] Add possibility of overriding paint properties inside format ↵ | Alexander Shalamov | 2019-03-13 | 2 | -3/+134 |
| | | | | | | | | | | | | | | | | | | expression #14062 * [core] Add format override expression and formatted section to evaluation context * [core] Add textColor to TaggedString's formatted section * [core] Add FormatSectionOverrides and introduce overridable properties * [core] Populate symbol layer paint properties for text sections * [core] Add benchmark for style that uses text-color override * [core] Add unit test for FormatOverrideExpression * [core] Add unit test for FormatSectionOverrides | ||||
* | Update mapbox-gl-js submodule to v0.53.0 | Mikhail Pozdnyakov | 2019-03-06 | 1 | -1/+4 |
| | |||||
* | [core] Transform{State}: s/angle/bearing/ | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -2/+2 |
| | |||||
* | [test] Fixed headers in source.test.cpp | Mikhail Pozdnyakov | 2018-12-19 | 1 | -2/+2 |
| | |||||
* | [core] Cleanup Transform, use {jump,ease}To() instead | Bruno de Oliveira Abinader | 2018-11-27 | 1 | -1/+1 |
| | |||||
* | [core][Android][Darwin] LayerManager creates RenderLayer instances | Mikhail Pozdnyakov | 2018-11-27 | 2 | -6/+6 |
| | | | | | | | | `LayerManager` is now responsible for `RenderLayer` instances creation, so that there is a single entry point for creating of objects, which correspond to a certain layer type. The `LayerType type` field is dropped from `Layer::Impl`. | ||||
* | Refactor util::fontStacks() | Mikhail Pozdnyakov | 2018-11-19 | 1 | -17/+22 |
| | | | | | | So that it does not downcast `Layer::Impl` instances. Also, an unneeded `std::vector` construction was removed from `Parser::fontStacks()`. | ||||
* | [build] Update to geometry v1.0.0 | Bruno de Oliveira Abinader | 2018-11-13 | 1 | -3/+3 |
| | |||||
* | Remove style::Layer::is()/as() | Mikhail Pozdnyakov | 2018-10-31 | 2 | -8/+8 |
| | |||||
* | [core] remove some uses of <iostream> and <sstream> | Konstantin Käfer | 2018-10-23 | 1 | -1/+1 |
| | |||||
* | [test] Enable 'format' Expression test. | Chris Loer | 2018-10-15 | 1 | -2/+1 |
| | |||||
* | [core, tests] Don't break text-field support "identity functions" | Chris Loer | 2018-10-15 | 1 | -0/+18 |
| | |||||
* | [core] Read style's transition from parser | Bruno de Oliveira Abinader | 2018-10-03 | 1 | -0/+8 |
| | |||||
* | [core] Do not constrain on X axis in ConstrainMode::HeightOnly | Bruno de Oliveira Abinader | 2018-10-02 | 1 | -9/+12 |
| | |||||
* | [core] For string-valued properties, do coercion rather than assertion | John Firebaugh | 2018-09-19 | 1 | -5/+5 |
| | |||||
* | [core] add exception for unimplemented expressions in tests | Molly Lloyd | 2018-08-21 | 1 | -1/+5 |
| | |||||
* | [core] make style/conversion.hpp implementation private | Konstantin Käfer | 2018-08-19 | 2 | -2/+2 |
| | |||||
* | [core] add test for comparing filter name to id | Konstantin Käfer | 2018-08-14 | 1 | -0/+4 |
| | |||||
* | [core] Add lineMetrics to GeoJSONOptions | Mikhail Pozdnyakov | 2018-08-08 | 1 | -1/+4 |
| | | | | | This patch also bumps geojson-vt-cpp version to 6.6.0, which enables the `lineMetrics` option. | ||||
* | Fix TileJSON conversion to allow single point bounds | Asheem Mamoowala | 2018-08-02 | 1 | -0/+10 |
| | |||||
* | [core] Merge DataDrivenPropertyValue into PropertyValue (#12513) | John Firebaugh | 2018-07-31 | 3 | -17/+16 |
| | |||||
* | Keep original input for filters using legacy syntax. | Asheem Mamoowala | 2018-07-23 | 1 | -0/+55 |
| | |||||
* | [core] Convert token strings to expressions | John Firebaugh | 2018-07-20 | 1 | -1/+19 |
| | |||||
* | [core] Replace {Source,Camera,Composite}Function with PropertyExpression | John Firebaugh | 2018-07-20 | 7 | -104/+72 |
| | |||||
* | [core] Convert legacy functions directly to expressions | John Firebaugh | 2018-07-13 | 2 | -40/+0 |
| | |||||
* | [core] Introduce "collator" expressions | Chris Loer | 2018-07-03 | 1 | -1/+1 |
| | | | | Cross platform parsing and evaluation code. | ||||
* | [core] Add assertions to expression constructors | John Firebaugh | 2018-06-29 | 1 | -1/+1 |
| | |||||
* | [core] Replace use of *Stops with expressions DSL | John Firebaugh | 2018-06-29 | 5 | -191/+97 |
| | |||||
* | [core] fix crash when trying to parse legacy filters | Konstantin Käfer | 2018-06-29 | 1 | -0/+4 |
| | | | | Legacy filters aren't part of the style specification, but you can generate them by parsing a legacy filter in a stylesheet, and obtaining the parsed Filter and serializing it. | ||||
* | [core] Fix GCC8's new -Wcatch-value warnings | Zsolt Bölöny | 2018-06-25 | 2 | -2/+2 |
| | | | Polymorphic types shouldn't be caught by value, as the warning message says. Catch them by constant reference instead. | ||||
* | [core] Fix crash due to mixing legacy filters and expressions (#12065) | Anand Thakker | 2018-06-06 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | * Fix crash due to mixing legacy filters and expressions In some cases, (invalid) nested filters that used a mix of legacy filter syntax and expression syntax caused a crash due to a failure to propagate parsing errors from deeper within the filter expression. These errors went undetected in part because these conversion functions returned unique_ptr<Expression> values (or vectors thereof), using {nullptr} to represent a parsing error, but the core expression classes expect unique_ptr<Expression> that are never null. This changes over to using expression::ParseResult (aka optional<unique_ptr<Expression>>), to represent conversion failure the same way we do in the rest of the expression system. * Fix clang 3.8 / gcc 4.9 issue | ||||
* | Accept constant expressions in non-dds properties (#11960) | Anand Thakker | 2018-05-23 | 1 | -0/+21 |
| | | | Closes #11940 | ||||
* | Clamp TileJSON.bounds latitudes to [-90, 90] (#11964) | Asheem Mamoowala | 2018-05-21 | 1 | -1/+1 |
| | | | Fixes #11963. |