Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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. | ||||
* | [build] Make the default styles part of GL Native | Thiago Marcos P. Santos | 2019-09-17 | 1 | -0/+30 |
| | | | | | The reason is applications using it, like GLFW, don't need to depend on code inside platform/default. | ||||
* | [core] Bitmask operations for enums | Mikhail Pozdnyakov | 2019-09-13 | 2 | -16/+35 |
| | |||||
* | [core] Update MapObserver::onDidFinishRenderingFrame() API | Mikhail Pozdnyakov | 2019-09-12 | 1 | -1/+7 |
| | |||||
* | [core] Expose mbgl::style::Light::setProperty | Bruno de Oliveira Abinader | 2019-09-11 | 2 | -0/+8 |
| | | | | Works the same way as mbgl::style::set{Paint,Layout}Property functions. | ||||
* | [core] Use mapbox::base::TypeWrapper instead of utils::peer | Mikhail Pozdnyakov | 2019-09-10 | 3 | -38/+4 |
| | |||||
* | [core, ios, macos] SDK objects should hold weak pointers to the core style ↵ | Mikhail Pozdnyakov | 2019-09-09 | 7 | -4/+39 |
| | | | | objects (#15539) | ||||
* | [core] Add requiredTileCount to OfflineRegionStatus | Bruno de Oliveira Abinader | 2019-08-29 | 1 | -0/+5 |
| | |||||
* | [core] make padding optional when camera position is requested. | Łukasz Paczos | 2019-08-29 | 1 | -1/+1 |
| | | | | When padding is not provided, the current one that's cached in the TransformState is going to be returned. | ||||
* | [core] Remove programCacheDir parameter from ProgramParameters | Ander Conselvan de Oliveira | 2019-08-27 | 1 | -1/+0 |
| | | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore. | ||||
* | [core] Export symbol placement update status from MapObserver | Mikhail Pozdnyakov | 2019-08-23 | 2 | -3/+3 |
| | |||||
* | Indroduce clusterProperty option for aggregation (#15287) | zmiao | 2019-08-16 | 4 | -19/+30 |
| | | | | | | | | | | * indroduce clusterProperty option for aggregation * remove unnecessary codes * update geojson_option conversion * fix reviewing findings | ||||
* | [core][node] Serialize formatted expression's text-color option | Alexander Shalamov | 2019-08-15 | 1 | -0/+2 |
| | | | | This enables proper round-tripping for serialized format expression. | ||||
* | [core] Add style bindings for "text-writing-mode" layout property | Alexander Shalamov | 2019-08-13 | 2 | -0/+9 |
| | |||||
* | [core] Limit pitch based on edge insets. Fix max Z calculation in getProjMatrix. | Aleksandar Stojiljkovic | 2019-08-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | Patch partly fixes #15163 in a way that it doesn't allow loading tens of thousands of tiles and attempt to show area above horizon: Limit pitch based on edge insets. It is not too bad - current limit of 60 degrees stays active until center of perspective is moved towards the bottom, to 84% of screen height. The plan is to split removal of 60 degrees limit to follow up patch. Fix max Z calculation in getProjMatrix. TransformState::getProjMatrix calculation of farZ was complex with possibility to lead to negative z values. Replacing it with simpler, precise calculation: furthestDistance = cameraToCenterDistance / (1 - tanFovAboveCenter * std::tan(getPitch())); TransformState::getProjMatrix calculation of farZ was an aproximation. Replacing it with simpler, but precise calculation. Related to: #15163 | ||||
* | [docs] Remove references to increasing offline tile limit | Heather Stenson | 2019-07-18 | 1 | -2/+1 |
| | |||||
* | [core] Synchronize render passes and render tiles | Mikhail Pozdnyakov | 2019-07-11 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | Before this change render passes were assigned for the whole layer at properties evaluation stage. This caused problems, as layer render data are bound to the tile and these data might differ from tile to tile, depending on which tile has been updated by the tile worker and which has not been yet updated. This change takes into consideration the actual render passes required for each tile and combines them for the layer render passes. Naturally, this change also introduces render pass check for each render layer in `RenderLayer::render()` implementations. | ||||
* | [core] Introduce LayerProperties::constantsMask() | Mikhail Pozdnyakov | 2019-07-02 | 1 | -1/+2 |
| | | | | | | Constants mask for data-driven paint properties is a reliable criteria of whether the given updated properties can still be used with the existing bucket (and the gl program instance). | ||||
* | [core] Minor change to silence documentation warning on iOS. | Julian Rex | 2019-07-02 | 1 | -2/+2 |
| | |||||
* | [core] Add number-format expression | Juha Alanen | 2019-06-27 | 3 | -1/+45 |
| | |||||
* | [core] DefaultFileSource dynamic support for cache-only requests | Bruno de Oliveira Abinader | 2019-06-25 | 2 | -12/+20 |
| | |||||
* | [core] Add method for setting a maximum size for the ambient cache | Thiago Marcos P. Santos | 2019-06-18 | 1 | -6/+24 |
| | | | | | | | - Removed this parameter from the constructor, now that we have a method to set it. - Add the method and enforce the limits if the ambient cache exceeds the size. | ||||
* | [core] Clear/Invalidate should also work on non-tile resources | Thiago Marcos P. Santos | 2019-06-18 | 1 | -7/+13 |
| | | | | | These methods were only affecting tiles, but they should really work on every resource like style, glyphs, etc. | ||||
* | [core] Rename resetCache to resetDatabase | Thiago Marcos P. Santos | 2019-06-18 | 1 | -1/+1 |
| | | | | | Avoid confusion about what is being reset. In this case, the whole database and not only the ambient cache. | ||||
* | [core] Surface cache management APIs | Thiago Marcos P. Santos | 2019-06-13 | 1 | -0/+28 |
| | | | | | These APIs need to be on the DefaultFileSource in order to be visible for the SDKs bindings. |