Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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. | ||||
* | Merge branch 'release-boba' into masterupstream/fabian-merge-release-4.0.1-master | Fabian Guerra | 2018-05-17 | 3 | -5/+71 |
|\ | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # mapbox-gl-js # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/gradle/dependencies.gradle # platform/darwin/src/MGLVectorTileSource.mm # platform/darwin/src/MGLVectorTileSource_Private.h # platform/ios/CHANGELOG.md # src/mbgl/style/expression/compound_expression.cpp | ||||
| * | [core] Convert "legacy" filters directly into expressions (#11610) | Lucas Wojciechowski | 2018-05-10 | 3 | -5/+71 |
| | | | | | | Ports the specialized filter-* expressions from GL JS, adding them to src/mbgl/style/expression/compound_expression.cpp | ||||
* | | [core] Rework spec function/expression taxonomy | Lauren Budorick | 2018-05-14 | 1 | -3/+3 |
| | | | | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/6521, updating codegen scripts to parse new expression taxonomy. | ||||
* | | [core] Port is-supported-script to native. | Chris Loer | 2018-04-27 | 1 | -1/+1 |
| | | | | | | | | Native port is much simpler because RTL text support is always enabled. | ||||
* | | Bump GL JS pin to get tests for global symbol querying. | Chris Loer | 2018-04-25 | 1 | -0/+4 |
|/ | | | | | | - Pulls over an update to line.vertex.glsl (looks like a no-op?) - Add test ignores for collator, is-supported-script, line-gradient - Exclude collator, is-supported-script, line-gradient from code generation. | ||||
* | Don't enforce ["zoom"] constraints for filters (#11672) | Anand Thakker | 2018-04-12 | 2 | -3/+13 |
| | | | | | | | | | | | | * Don't enforce ["zoom"] constraints for filters Fixes #11594 * Add a couple of comments * Fix ambiguous constructor call * ParsingContext(optional<Type>) => ParsingContext(Type) | ||||
* | [core] Round-trip linear interpolators | Minh Nguyễn | 2018-03-30 | 1 | -1/+3 |
| | |||||
* | [core] Stringify expression syntax, not function syntax | John Firebaugh | 2018-03-14 | 1 | -12/+13 |
| | |||||
* | [core] TileJSON conversion clamps bounds longitude to [-180,180], per spec | Asheem Mamoowala | 2018-03-09 | 1 | -0/+10 |
| |