Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Remove RenderLinePaintProperties | Mikhail Pozdnyakov | 2019-04-02 | 4 | -0/+20 |
| | | | | | | | This patch removes the `RenderLinePaintProperties` by making `LineFloorWidth` part of the `style::LinePaintProperties`. It normalizes paint properties evaluation for the line layer. | ||||
* | [core] Single line optimization for variable label placement | Mikhail Pozdnyakov | 2019-03-29 | 1 | -5/+0 |
| | |||||
* | [core] auto value for 'text-justify' field | Mikhail Pozdnyakov | 2019-03-29 | 1 | -0/+1 |
| | |||||
* | [core] Enable 'text-radial-offset' property | Mikhail Pozdnyakov | 2019-03-29 | 2 | -1/+30 |
| | |||||
* | [core] Enable text-variable-anchor property | Mikhail Pozdnyakov | 2019-03-29 | 7 | -1/+70 |
| | |||||
* | [core] Traverse expression tree when checking for property overrides | Alexander Shalamov | 2019-03-28 | 2 | -14/+53 |
| | | | | | | | | | | 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] Remove file source from public Map ctor | Bruno de Oliveira Abinader | 2019-03-20 | 1 | -3/+0 |
| | |||||
* | [core] remove a_/u_ prefix from attribute/uniform types | Konstantin Käfer | 2019-03-20 | 6 | -34/+34 |
| | |||||
* | [core] Add possibility of overriding paint properties inside format ↵ | Alexander Shalamov | 2019-03-13 | 14 | -39/+282 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | [core] Transform{State}: s/angle/bearing/ | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -1/+1 |
| | |||||
* | [core] extract attribute structs and gl::Vertex to separate namespace | Konstantin Käfer | 2019-03-01 | 3 | -7/+6 |
| | |||||
* | [core] change loop variable type to auto | Konstantin Käfer | 2019-01-30 | 1 | -1/+1 |
| | | | | We used `const std::pair<T, std::shared_ptr<Expression>>`, but the actual type is `const std::pair<const T, std::shared_ptr<Expression>>` which resulted in an implicit copy | ||||
* | [core] return constexpr strings from functions to avoid ODR compile failures | Konstantin Käfer | 2019-01-11 | 4 | -43/+43 |
| | |||||
* | [core] Use eternal::hash_map in style::Layers | Mikhail Pozdnyakov | 2018-12-19 | 10 | -1214/+311 |
| | |||||
* | [core] Share GeoJSONData pointer as weak_ptr instead of raw ptr | Alexander Shalamov | 2018-12-12 | 2 | -7/+7 |
| | |||||
* | [core] Expose getChildren, getLeaves, getClusterExpansionZoom on ↵ | Alexander Shalamov | 2018-12-12 | 2 | -0/+35 |
| | | | | SuperclusterData | ||||
* | [core, android, darwin] Move layer factories to separate files | Mikhail Pozdnyakov | 2018-12-10 | 11 | -257/+0 |
| | |||||
* | [android] expose Formatted text-field setter | Łukasz Paczos | 2018-12-04 | 1 | -3/+57 |
| | |||||
* | [core] convert CompoundExpressionRegistry to constexpr hash map | Konstantin Käfer | 2018-12-04 | 3 | -110/+420 |
| | |||||
* | [core] use constexpr map using eternal for expression lookups | Konstantin Käfer | 2018-12-04 | 2 | -39/+44 |
| | |||||
* | [core] layermanager folder | Mikhail Pozdnyakov | 2018-11-30 | 2 | -59/+2 |
| | | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder. | ||||
* | [core] Support fill-extrusion-vertical-gradient | Bruno de Oliveira Abinader | 2018-11-29 | 2 | -1/+62 |
| | |||||
* | [core][Android][Darwin] LayerManager creates RenderLayer instances | Mikhail Pozdnyakov | 2018-11-27 | 31 | -203/+279 |
| | | | | | | | | `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 | 6 | -4/+37 |
| | | | | | | So that it does not downcast `Layer::Impl` instances. Also, an unneeded `std::vector` construction was removed from `Parser::fontStacks()`. | ||||
* | [core] Add static layer properties to mbgl::style::LayerTypeInfo | Alexander Shalamov | 2018-11-19 | 11 | -16/+114 |
| | |||||
* | [core][android] Introduce mbgl::style::LayerTypeInfo | Mikhail Pozdnyakov | 2018-11-15 | 24 | -188/+120 |
| | | | | | | | | | The `LayerTypeInfo` contains static meta data about certain layer type. Each layer module should have a single immutable `LayerTypeInfo` instance for the represented layer type. Both `LayerImpl` and `LayerFactory` from the module always refer to the same `LayerTypeInfo` instance, so address of this instance can be used as a layer module Id during the process life time. | ||||
* | [build] Update to geometry v1.0.0 | Bruno de Oliveira Abinader | 2018-11-13 | 4 | -19/+14 |
| | |||||
* | noexcept specifier for layer factory methods | Mikhail Pozdnyakov | 2018-11-07 | 24 | -46/+46 |
| | |||||
* | Refer corresponding LayerFactory instance from the Layer::Impl | Mikhail Pozdnyakov | 2018-11-07 | 24 | -78/+230 |
| | |||||
* | Introduce the style::Layer factory classes | Mikhail Pozdnyakov | 2018-10-31 | 12 | -112/+281 |
| | | | | | | | | | This patch introduces the initial implementation of - A `LayerFactory` abstract class that creates `style::Layer` instances of a certain layer type (line, hillshade, round, ..) - A singleton `LayerManager` class, which is responsible for initializing the `LayerFactory` instances and forwarding the `create()` calls to the corresponding factory. | ||||
* | Remove style::Layer::is()/as() | Mikhail Pozdnyakov | 2018-10-31 | 1 | -5/+0 |
| | |||||
* | Consolidate `style::Layer` properties API | Mikhail Pozdnyakov | 2018-10-25 | 13 | -537/+97 |
| | | | | | | | | The `style::Layer` class now exposes all the properties contained at `style::LayerImpl`. This allowed to drop `style::Layer::accept()` method usage, avoid the repeated generated code and thus save some binary size. This patch is a part of the layers modularization effort. | ||||
* | [core] remove some uses of <iostream> and <sstream> | Konstantin Käfer | 2018-10-23 | 2 | -10/+2 |
| | |||||
* | [core, tests] Don't break text-field support "identity functions" | Chris Loer | 2018-10-15 | 1 | -0/+3 |
| | |||||
* | [core] Initial implementation of 'format' expression | Chris Loer | 2018-10-15 | 12 | -20/+368 |
| | |||||
* | [core,test] Update expression style parsing test fixture. | Chris Loer | 2018-10-15 | 1 | -18/+14 |
| | | | | Always clear errors before trying automatic coercion for a new compound expression overload. | ||||
* | [core] Add automatic argument coercion for compound expressions with ↵ | Chris Loer | 2018-10-15 | 1 | -64/+91 |
| | | | | multiple overloads. | ||||
* | Reserve vector storage in the convert filter code | Mikhail Pozdnyakov | 2018-10-10 | 2 | -4/+7 |
| | |||||
* | [core] Read style's transition from parser | Bruno de Oliveira Abinader | 2018-10-03 | 2 | -3/+3 |
| | |||||
* | [core] For string-valued properties, do coercion rather than assertion | John Firebaugh | 2018-09-19 | 6 | -36/+58 |
| | |||||
* | [core] Auto-convert concat arguments to strings | John Firebaugh | 2018-09-19 | 2 | -9/+13 |
| | |||||
* | [core] Make "to-number" of null behave as documented | John Firebaugh | 2018-09-13 | 1 | -0/+1 |
| | |||||
* | [core] Implement array assertion fallback behavior | John Firebaugh | 2018-09-13 | 4 | -124/+77 |
| | | | | This was added in gl-js in #7095. | ||||
* | [core] to-color should be idempotent | John Firebaugh | 2018-09-13 | 1 | -0/+3 |
| | | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/7260. | ||||
* | [core] ["to-array", <item type>, <empty array>] should work for any item type | John Firebaugh | 2018-09-13 | 1 | -4/+12 |
| | | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/7261. | ||||
* | [android] add support for gnustl | Konstantin Käfer | 2018-09-11 | 1 | -1/+1 |
| | |||||
* | Port symbol-z-order symbol layout style-spec property to Nativeupstream/sort-by-y | ryanhamley | 2018-09-07 | 7 | -0/+53 |
| | |||||
* | [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵ | Molly Lloyd | 2018-08-31 | 10 | -7/+31 |
| | | | | expressions in `*-pattern` properties | ||||
* | [core] move PaintProperty::Attribute to TypeList and pass to Binder constructors | Konstantin Käfer | 2018-08-31 | 1 | -0/+1 |
| | |||||
* | [core] introduce TypeListConcat and TypeList::ExpandInto | Konstantin Käfer | 2018-08-31 | 1 | -7/+2 |
| |