summaryrefslogtreecommitdiff
path: root/test/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] Suppress network requests for invisible tilesMikhail Pozdnyakov2019-10-021-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 sourceMikhail Pozdnyakov2019-09-181-0/+18
|
* [tests] Update expression unit test for feature stateJuha Alanen2019-09-181-2/+1
|
* [test] Added style light setProperty testsBruno de Oliveira Abinader2019-09-111-0/+23
|
* Indroduce clusterProperty option for aggregation (#15287)zmiao2019-08-162-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-releaseAlexander Shalamov2019-08-161-0/+7
|
* [core] Fix render tile set source updateMikhail Pozdnyakov2019-08-011-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 expressionJuha Alanen2019-06-271-3/+1
|
* [core] Fix most identity function with default legacy expression testsAnder Conselvan de Oliveira2019-05-211-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 FileSourceMikhail Pozdnyakov2019-05-141-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 timeMikhail Pozdnyakov2019-05-141-1/+1
| | | | Avoid unnecessary glyph manager presence check in `Renderer::Impl::()`.
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-103-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 alphabeticallyKonstantin Käfer2019-05-021-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 Pozdnyakov2019-04-171-15/+33
|
* [core] Move should not call destructorsAlexander Shalamov2019-04-051-0/+100
|
* [core] clang-tidy fixesKonstantin Käfer2019-04-051-4/+4
|
* [core] Traverse expression tree when checking for property overridesAlexander Shalamov2019-03-281-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 Shalamov2019-03-132-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.0Mikhail Pozdnyakov2019-03-061-1/+4
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-2/+2
|
* [test] Fixed headers in source.test.cppMikhail Pozdnyakov2018-12-191-2/+2
|
* [core] Cleanup Transform, use {jump,ease}To() insteadBruno de Oliveira Abinader2018-11-271-1/+1
|
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-272-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 Pozdnyakov2018-11-191-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.0Bruno de Oliveira Abinader2018-11-131-3/+3
|
* Remove style::Layer::is()/as()Mikhail Pozdnyakov2018-10-312-8/+8
|
* [core] remove some uses of <iostream> and <sstream>Konstantin Käfer2018-10-231-1/+1
|
* [test] Enable 'format' Expression test.Chris Loer2018-10-151-2/+1
|
* [core, tests] Don't break text-field support "identity functions"Chris Loer2018-10-151-0/+18
|
* [core] Read style's transition from parserBruno de Oliveira Abinader2018-10-031-0/+8
|
* [core] Do not constrain on X axis in ConstrainMode::HeightOnlyBruno de Oliveira Abinader2018-10-021-9/+12
|
* [core] For string-valued properties, do coercion rather than assertionJohn Firebaugh2018-09-191-5/+5
|
* [core] add exception for unimplemented expressions in testsMolly Lloyd2018-08-211-1/+5
|
* [core] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-192-2/+2
|
* [core] add test for comparing filter name to idKonstantin Käfer2018-08-141-0/+4
|
* [core] Add lineMetrics to GeoJSONOptionsMikhail Pozdnyakov2018-08-081-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 boundsAsheem Mamoowala2018-08-021-0/+10
|
* [core] Merge DataDrivenPropertyValue into PropertyValue (#12513)John Firebaugh2018-07-313-17/+16
|
* Keep original input for filters using legacy syntax.Asheem Mamoowala2018-07-231-0/+55
|
* [core] Convert token strings to expressionsJohn Firebaugh2018-07-201-1/+19
|
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-207-104/+72
|
* [core] Convert legacy functions directly to expressionsJohn Firebaugh2018-07-132-40/+0
|
* [core] Introduce "collator" expressionsChris Loer2018-07-031-1/+1
| | | | Cross platform parsing and evaluation code.
* [core] Add assertions to expression constructorsJohn Firebaugh2018-06-291-1/+1
|
* [core] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-295-191/+97
|
* [core] fix crash when trying to parse legacy filtersKonstantin Käfer2018-06-291-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 warningsZsolt Bölöny2018-06-252-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 Thakker2018-06-061-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 Thakker2018-05-231-0/+21
| | | Closes #11940
* Clamp TileJSON.bounds latitudes to [-90, 90] (#11964)Asheem Mamoowala2018-05-211-1/+1
| | | Fixes #11963.