summaryrefslogtreecommitdiff
path: root/test/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] Distance expression: Refine logiczmiao2020-04-301-1/+1
|
* [test] Distance expression: Update unit testszmiao2020-04-301-33/+156
|
* [core] Distance expression: remove unit argument (#16434)zmiao2020-04-241-76/+0
|
* [core] Add TileUpdateParameters and use itMikhail Pozdnyakov2020-04-221-3/+3
|
* [core] Distance expression: Change template class into template function in ↵zmiao2020-04-221-15/+15
| | | | | | geometry_util, add range assertion for distance contaniner IndexRange Change distance units to small letters, update tests accordingly
* [core] Distance expression: add unit tests for distance expressionzmiao2020-04-221-1/+369
|
* Add Source.SourceMinimumUpdateInterval unit testMikhail Pozdnyakov2020-04-201-0/+49
|
* [core] TilePyramid::update accepts source implMikhail Pozdnyakov2020-04-201-12/+9
|
* Add generic setter for 'source' propertyAlexander Shalamov2020-04-162-1/+25
| | | | | - Add setter for 'source' property - Test generic setters via setProperty method
* [core] add regression test for #16391Łukasz Paczos2020-04-141-0/+18
|
* [test] Rename deprecated gtest methodThiago Marcos P. Santos2020-04-082-42/+44
| | | | The old name was marked as deprecated and failing to build with clang.
* [core] Add unit testsAlexander Shalamov2020-04-011-4/+56
|
* Address review findingzmiao2020-03-261-1/+1
| | | | Remove unncessary condition check
* Add unit testszmiao2020-03-261-0/+72
|
* StyleConversion.SetGenericProperties testMikhail Pozdnyakov2020-03-241-0/+24
|
* update testzmiao2020-03-191-0/+48
|
* [core] Remove unnecessary intermediate PolygonFeaturezmiao2020-03-051-1/+2
|
* [core] Fix within case when point is on polygon boundaryzmiao2020-03-051-0/+4
|
* [core] Use weak annotation managerAlexander Shalamov2020-03-051-1/+1
| | | | | | | Map and renderer / orchestrator should be able to run on a separate threads, however, legacy AnnotationManager is shared between Map and Renderer, therefore is not a thread safe. Until AnnotationManager is deprecated and removed from a code-base, use it only via weak pointers.
* [core] Add unit test for layer serializationAlexander Shalamov2020-02-261-1/+95
|
* [core] Remove unnecessary includes, fix commentszmiao2020-02-211-3/+3
| | | | This reverts commit b5c386ad7708ca9fe14f219b0ffc94cf6ce8fc88.
* [core] Update unti tests. Remove unnecessary debugging codezmiao2020-02-211-6/+26
|
* [core] Implement 'in' expression. (#16162)Kevin Li2020-02-151-2/+1
| | | | | | | | | | | | | | | | | | * Implement in.cpp * Fix review comments. * Add expression_equality test for 'in' * Fix review comments. * [core] Update changelog. * [core] Update mapbox-gl-js * [core] Ignore render-tests/debug/padding * [core] Update baseline.
* Add support for expression testzmiao2020-02-121-0/+98
| | | | | | | Fix polygon within algorithm Add Unit tests Fix incorrect metrics folder for ios-render-test-runner job
* Add Style.AddRemoveImage unit testMikhail Pozdnyakov2020-02-111-0/+16
|
* [core] Override default prefetch delta if source has it's own settingAlexander Shalamov2020-02-111-9/+11
|
* [build] Adding a build flag to build without GL if needed (#16120)Thomas Moenicke2020-02-031-2/+2
| | | | | | * [build] Adding a build flag to build without GL if needed * [build] Moving custom layer to mbgl/gl
* [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
|