summaryrefslogtreecommitdiff
path: root/test/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] Add stretches and content to style::ImageKonstantin Käfer2020-01-151-6/+79
|
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-133-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Introduce FileSourceManager and use it for default platform impl - Add `FileSourceManager` interface that provides access to `FileSource` instances and means of registering / unregistering `FileSource` factories - Split `DefaultFileSource` into smaller parts - Add `DatabaseFileSource` interface and it's default implementation - Remove inter-dependencies between concrete `FileSource` classes * [build] Add files to next build system * [core] Add generic property setters / getters * [core] Remove setOnlineStatus from OnlineFileSource interface * [core] Hide threading implementation details from DatabaseFileSource interface * [core] Make DB file source methods virtual * [core] Add documentation for DatabaseFileSource and rename one method * [core] Use simple callback instead of ActorRef * [core] Remove ActorRef from OnlineFileSource public header * [core] Add callback to FileSource::forward async API * [core] Pass OfflineRegionDefinition by value * [core] Update tests to use modular file sources * [core] Update unit tests * [core] Update unit tests after rebase * [core] Backport low prio fix for cached requests * [core] Backport pack database * [core] Return removed factory from unRegisterFileSourceFactory * [core] Rename shadowed args in onlinefilesource * [core] Remove simple std::function callback aliases * [core] Expose online file source property keys in public header file * [test-runner] Add proxy file source test runner * [cache] Update mbgl-cache utility to use new file source * [metrics] Rebaseline binary size metrics * [offline] Update offline utility * [core] Update changelog
* [test] Skip number-format expression tests on AndroidJuha Alanen2020-01-101-0/+6
|
* [core] Add image sections to format expressionAlexander Shalamov2019-12-021-2/+5
|
* [core][android][darwin] Fix GeoJSONOptions handlingMikhail Pozdnyakov2019-11-291-5/+3
| | | | | | - share the `GeoJSONOptions` instances using `Immutable<GeoJSONOptions>` - avoid extra copying - fix wrapping of the `GeoJSONOptions` instances in supercluster map/reduce lambdas. Previously, local variables were wrapped by reference.
* [core] Update Source.GeoJSONSourceTilesAfterDataReset unit testMikhail Pozdnyakov2019-11-261-96/+46
|
* [core] Add Style.SourceImplsOrder testMikhail Pozdnyakov2019-11-191-0/+22
|
* [core] Add Source.GeoJSONSourceTilesRemainAfterDataReset unit testMikhail Pozdnyakov2019-11-121-10/+34
|
* [core] Implement image expression (#15877)Alexander Shalamov2019-11-113-19/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Bump gl-js version * [core] Implement image expression * [core] Use new image expression * [core] Coerce image expression to / from string * [core] Serialize evaluated image * [core] Pass available images to layout * [core] Pass images to evaluation context * [core] Set available flag value based on image availability * [core] Allow image coercion to boolean to indicate image availability * [core] Coalesce image expression * [core] Add image expression to next build system * [core] Align serialization format and evaluated type with gl-js * [core] Add images to expression evaluation method * [core] Add support for Image expression to expression test runner * [core] Unskip image expression tests * [core] Update unit tests * [core] Use image expression in annotation manager * [core] Add string to ImageExpression conversion * [core] Add image expression to expression dsl * [core] Convert tokens for implicitly created Image literal * [core] Fix clang format * [core] Split generated style code lines that are over 120 characters * [core] Add unit test for image expression equality * [core] Add image property expression evaluation unit test * [core] Unskip image expression render test * [core] Skip 'in' expression tests * [core] Ignore fill-pattern/update-feature-state render test * [core] Rename Image::serialize to Image::toValue
* [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
|