Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Remove Map::cycleDebugOptions | Bruno de Oliveira Abinader | 2019-12-04 | 1 | -1/+0 |
| | |||||
* | [core] Merge style::Layer::set{Layout,Paint}Property | Mikhail Pozdnyakov | 2019-12-03 | 12 | -25/+12 |
| | |||||
* | [core] Add image sections to format expression | Alexander Shalamov | 2019-12-02 | 2 | -19/+24 |
| | |||||
* | [core] Introduce Pass<> class and use it for Scheduler | Mikhail Pozdnyakov | 2019-12-02 | 1 | -2/+19 |
| | | | | Thus we enforce client to retain the returned `Scheduler` objects. | ||||
* | [core] Add OfflineDatabase.Pack unit test | Mikhail Pozdnyakov | 2019-12-02 | 1 | -3/+3 |
| | |||||
* | [core] Introduce OfflineDatabase::runPackDatabaseAutomatically() API | Mikhail Pozdnyakov | 2019-12-02 | 1 | -9/+21 |
| | | | | | - added a unit test - Updated inline comments in default_file_source.hpp | ||||
* | [core] Retain thread pool in GeoJSONSource | Mikhail Pozdnyakov | 2019-11-29 | 1 | -1/+2 |
| | | | | Otherwise, the construction of the `Immutable<Source::Impl>` in background thread might never yeld. | ||||
* | [core] Calculate GeoJSON tile geometries in a background thread | Mikhail Pozdnyakov | 2019-11-29 | 1 | -5/+7 |
| | | | | | Call `mapbox::geojsonvt::GeoJSONVT::getTile()` in a background thread, so that the rendering thread is not blocked. | ||||
* | [core][android][darwin] Fix GeoJSONOptions handling | Mikhail Pozdnyakov | 2019-11-29 | 1 | -2/+5 |
| | | | | | | - 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] Introduce Scheduler::GetSequenced() API | Mikhail Pozdnyakov | 2019-11-28 | 1 | -0/+13 |
| | | | | | | The newly introduced `Scheduler::GetSequenced()` returns sequenced schedulers from the cache limited to 10 instances, preventing from spawning too many threads. | ||||
* | [core] Add new method to DefaultFileSource | Juha Alanen | 2019-11-21 | 1 | -0/+1 |
| | | | | | Add setMaximumConcurrentRequests() method for setting it on the OnlineFileSource. | ||||
* | [core] Fix MapSnapshotter build failure on Windows | Ander Conselvan de Oliveira | 2019-11-13 | 1 | -7/+2 |
| | | | | | | | | MSVC implementation of std::promise is buggy and only works with types that can be default-constructed. To avoid a compilation failure in the instantiation of ask() inside MapSnapshotter::getRegion(), which creates a std::promise<LanLngBounds>, make LatLngBounds' default constructor public. | ||||
* | [core] Extend DefaultFileSource API | Mikhail Pozdnyakov | 2019-11-12 | 1 | -3/+17 |
| | | | | Add `packDatabase()` method and `bool pack` argument to the `deleteOfflineRegion()` method. | ||||
* | [core] Implement image expression (#15877) | Alexander Shalamov | 2019-11-11 | 17 | -55/+188 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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] Use expected.hpp from mapbox-base | Mikhail Pozdnyakov | 2019-11-08 | 2 | -22/+16 |
| | |||||
* | [core] Add batch conversion of latLngs to/from screenCoords (#15891) | zmiao | 2019-11-07 | 1 | -0/+2 |
| | | | | | | * [core] Add batch conversion of latLng vs screenCoord * [core] Take the simple approach | ||||
* | [core] Add Scheduler::scheduleAndReplyValue() API | Mikhail Pozdnyakov | 2019-11-05 | 1 | -0/+27 |
| | |||||
* | [android] Convert GeoJSON features to tiles in background | Mikhail Pozdnyakov | 2019-10-31 | 1 | -0/+1 |
| | | | | | | | | | Composing tiles from the GeoJSON features is an expensive operation that might block UI thread on updating the `GeoJsonSource` with the new data. This change moves tile composing to the background thread and thus unblocks the UI thread. | ||||
* | [core] Introduce and apply GeoJSONData::create() API | Mikhail Pozdnyakov | 2019-10-31 | 1 | -0/+16 |
| | |||||
* | [render-test] Add resource usage tracking to gfx context | Mikko Pulkki | 2019-10-30 | 1 | -0/+22 |
| | |||||
* | [core,android,darwin,qt] Add fields related to feature-state | Juha Alanen | 2019-10-28 | 1 | -1/+15 |
| | | | | | Move the fields from geometry.hpp/feature.hpp as they are not part of the GeoJSON specification. | ||||
* | [render-test] Implement fps benchmarking tests (#15803) | Mikko Pulkki | 2019-10-22 | 1 | -0/+24 |
| | |||||
* | [core] Introduce Scheduler::bindOnce() and use it in ImageManager | Mikhail Pozdnyakov | 2019-10-10 | 1 | -0/+10 |
| | |||||
* | [core] Introduce Scheduler::makeWeakPtr() | Mikhail Pozdnyakov | 2019-10-09 | 2 | -0/+6 |
| | |||||
* | [core] Decouple Scheduler interface from actor model | Mikhail Pozdnyakov | 2019-10-04 | 3 | -12/+8 |
| | | | | So that it is possible to schedule normal `std::function` and use `mapbox::base::WeakPtr`. | ||||
* | [core] Enable move semantics for StyleProperty | Mikhail Pozdnyakov | 2019-09-27 | 1 | -3/+9 |
| | |||||
* | [core] Return enum layer property values as string | Ander Conselvan de Oliveira | 2019-09-27 | 1 | -1/+1 |
| | | | | | | | | | | The output of Layer::getProperty is a mapbox::base::Value which is equivalent to JSON. When setting the value of an enum property via JSON its value would be a string, so it would be natural to return a string too. Also, the numbers generated depend on the enum definition. They are not part of the style spec. | ||||
* | [core] Introduce Light::getProperty() | Mikhail Pozdnyakov | 2019-09-27 | 3 | -0/+11 |
| | |||||
* | [core] ValueFactory for `expression::formatted`, other improvements | Mikhail Pozdnyakov | 2019-09-27 | 4 | -21/+39 |
| | |||||
* | [core] Layer::getPaintProperty() -> Layer::getProperty() | Mikhail Pozdnyakov | 2019-09-26 | 12 | -12/+12 |
| | |||||
* | [core] Separate header for StyleProperty | Mikhail Pozdnyakov | 2019-09-26 | 2 | -9/+21 |
| | |||||
* | [core] LayerProperty -> StyleProperty | Mikhail Pozdnyakov | 2019-09-26 | 13 | -25/+25 |
| | |||||
* | [core] Introduce Layer::getPaintProperty() generic getter | Mikhail Pozdnyakov | 2019-09-26 | 13 | -8/+67 |
| | |||||
* | [core] type aliases and conversion traits for mapbox::base::Value | Mikhail Pozdnyakov | 2019-09-26 | 2 | -6/+58 |
| | |||||
* | [core][android][darwin] Move number format to i18n | Alexander Shalamov | 2019-09-26 | 2 | -3/+15 |
| | |||||
* | [core][android][darwin] Move platform specific Collator impls from expression | Alexander Shalamov | 2019-09-26 | 2 | -4/+26 |
| | | | | Platform specific Collator implementations should not be part of an expression APIs. | ||||
* | [core] Fix performance-move-const-arg | Thiago Marcos P. Santos | 2019-09-25 | 7 | -22/+14 |
| | |||||
* | [build] Disable clang-format on generated code | Thiago Marcos P. Santos | 2019-09-25 | 12 | -0/+48 |
| | | | | Nice to have, but would make maintain the templates a lot harder. | ||||
* | [build] Fix builds with -pedantic | Thiago Marcos P. Santos | 2019-09-20 | 1 | -2/+2 |
| | |||||
* | [core] Add LayerTypeInfo::TileKind | Mikhail Pozdnyakov | 2019-09-18 | 1 | -0/+6 |
| | |||||
* | [core] Check layer compatibility with source | Mikhail Pozdnyakov | 2019-09-18 | 7 | -1/+13 |
| | |||||
* | [build] Fix clang format and tidy checks | Juha Alanen | 2019-09-18 | 3 | -31/+12 |
| | |||||
* | [core] Add removeFeatureState API | Juha Alanen | 2019-09-18 | 1 | -1/+4 |
| | |||||
* | [core] Add support for set/getFeatureState APIs | Juha Alanen | 2019-09-18 | 1 | -0/+12 |
| | |||||
* | [core] Add feature state support to bucket classes | Juha Alanen | 2019-09-18 | 1 | -0/+24 |
| | |||||
* | [core] Add feature state support to expression | Juha Alanen | 2019-09-18 | 2 | -0/+13 |
| | |||||
* | [core] Add new types for feature states | Juha Alanen | 2019-09-18 | 1 | -0/+3 |
| | |||||
* | [Core] Fix wrong `maxzoom` setting of tileSet when using URL source (#15581) | zmiao | 2019-09-17 | 1 | -1/+4 |
| | | | | | | | | | | | | * [core] Take max/min zoom option from style if they are set * [core] std::move input value * [Core] Add changelogs * [Core] Fix clang-format reported error * [Core] fix clang-tidy reported error | ||||
* | [build] Fix clang format and tidy checks | Thiago Marcos P. Santos | 2019-09-17 | 2 | -5/+10 |
| | |||||
* | [build] Mark explicitly visible symbols | Thiago Marcos P. Santos | 2019-09-17 | 1 | -0/+21 |
| | | | | | Easier to maintain than a linker script. We build everything with visibility hidden by default. |