summaryrefslogtreecommitdiff
path: root/src/mbgl/style
Commit message (Collapse)AuthorAgeFilesLines
* Reserve vector storage in the convert filter codeupstream/mikhail_filter_reserve_vector_sizeMikhail Pozdnyakov2018-10-102-4/+7
|
* [core] Read style's transition from parserBruno de Oliveira Abinader2018-10-032-3/+3
|
* [core] For string-valued properties, do coercion rather than assertionJohn Firebaugh2018-09-196-36/+58
|
* [core] Auto-convert concat arguments to stringsJohn Firebaugh2018-09-192-9/+13
|
* [core] Make "to-number" of null behave as documentedJohn Firebaugh2018-09-131-0/+1
|
* [core] Implement array assertion fallback behaviorJohn Firebaugh2018-09-134-124/+77
| | | | This was added in gl-js in #7095.
* [core] to-color should be idempotentJohn Firebaugh2018-09-131-0/+3
| | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/7260.
* [core] ["to-array", <item type>, <empty array>] should work for any item typeJohn Firebaugh2018-09-131-4/+12
| | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/7261.
* [android] add support for gnustlKonstantin Käfer2018-09-111-1/+1
|
* Port symbol-z-order symbol layout style-spec property to Nativeupstream/sort-by-yryanhamley2018-09-077-0/+53
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-3110-7/+31
| | | | expressions in `*-pattern` properties
* [core] move PaintProperty::Attribute to TypeList and pass to Binder constructorsKonstantin Käfer2018-08-311-0/+1
|
* [core] introduce TypeListConcat and TypeList::ExpandIntoKonstantin Käfer2018-08-311-7/+2
|
* [node] capture invalid input data as `ParseError` objectsKonstantin Käfer2018-08-272-2/+4
| | | | This allows us to distinguish them from other types of errors
* [core] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-234-2/+72
| | | | | | | | Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303 See the link above for the description of the feature and its limitations). Based on patch from @lbud (Lauren Budorick).
* fixed validation message for boundsJustyna Janczyszyn2018-08-221-2/+2
|
* [core] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-1948-17/+253
|
* [core] Evict unused font stacks from GlyphManagerJohn Firebaugh2018-08-171-24/+4
|
* [core] Fix out of range exception for string compareVladimir Kondrashov2018-08-141-2/+2
|
* [core] Factor out setVisibility conversionJohn Firebaugh2018-08-1311-130/+29
|
* [core] Optimize generated set{Paint,Layout}Property codeJohn Firebaugh2018-08-1312-1292/+2249
|
* [core] Eliminate setProperty & co.John Firebaugh2018-08-1316-381/+2313
|
* [core] Replace remaining dynamic_cast with static_castBruno de Oliveira Abinader2018-08-086-6/+6
|
* [core] Add lineMetrics to GeoJSONOptionsMikhail Pozdnyakov2018-08-082-0/+11
| | | | | This patch also bumps geojson-vt-cpp version to 6.6.0, which enables the `lineMetrics` option.
* Rename `EvaluationContext::heatmapDensity` to `colorRampParameter`Mikhail Pozdnyakov2018-08-072-4/+4
| | | | | More generic name as the same class member is to be used by the linear gradient properties.
* Fix TileJSON conversion to allow single point boundsAsheem Mamoowala2018-08-021-2/+2
|
* Relax typing for comparison operators (#12537)Anand Thakker2018-08-025-137/+294
| | | | | | | | | | * Relax typing for comparison operators Ports https://github.com/mapbox/mapbox-gl-js/pull/6961 * Review comments * Lint fixes
* [core] Merge DataDrivenPropertyValue into PropertyValue (#12513)John Firebaugh2018-07-3114-283/+266
|
* [core] Tweak conversions to reduce binary sizeJohn Firebaugh2018-07-3014-292/+409
| | | | | * return {} → return nullopt * error = { "..." } → error.message = "..."
* [core] Simplify CompoundExpression implementationJohn Firebaugh2018-07-304-55/+110
|
* [core] Avoid unnecessary template instantiationsJohn Firebaugh2018-07-301-32/+23
|
* Fix compilation errors with libc++ on QNX 7Sudarsana Babu Nagineni2018-07-303-15/+15
| | | | | | | | | | This patch fixes the compilation errors on QNX 7: 1) QNX 7 compiler (i.e qcc based GCC 5.4.0 with libc++ from LLVM) has a limited c++11 feature support and causing the compilation errors with the inheriting constructors. This fixes the issues by providing the required constructors explicitly. 2) Resolves an ambiguous overload error with optional<T>
* [core] Replace expressions RTTI with enums + static castBruno de Oliveira Abinader2018-07-2414-37/+70
|
* [core] Add `symbol-placement: line-center`Chris Loer2018-07-231-0/+1
| | | | | - Remove unused/vestigial 'maxCameraDistance' - Create a single collision circle for line labels that are less than half the width of a collision circle
* Keep original input for filters using legacy syntax.Asheem Mamoowala2018-07-231-1/+20
|
* [core] Convert token strings to expressionsJohn Firebaugh2018-07-206-34/+93
|
* [core] Move expression.cpp to expression directoryJohn Firebaugh2018-07-201-0/+0
|
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-204-185/+143
|
* fixed typo in error messageJustyna Janczyszyn2018-07-191-1/+1
|
* [core] Convert legacy functions directly to expressionsJohn Firebaugh2018-07-135-170/+708
|
* [core] Simplify Value conversionsJohn Firebaugh2018-07-121-66/+19
| | | | | | Use a single template function for each of {to,from}ExpressionValue, always dispatching to ValueConverter. Remove unused ValueConverter::ExpressionType typedefs.
* [core] Comparison expressions can have 4th memberMinh Nguyễn2018-07-091-1/+1
| | | | When detecting an expression used as a filter, relax the check for expressions to allow comparison expressions to contain a fourth member for the collator.
* Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue`Mikhail Pozdnyakov2018-07-057-16/+21
| | | | | | | | Based on patch from @lbud (Lauren Budorick). Give `HeatmapColorPropertyValue` a more generic name, since the same value type will be used for both `heatmap-color` and `line-gradient` properties.
* [core] Avoid blocking in Thread<Object> constructor (#12151)Anand Thakker2018-07-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce AspiringActor, EstablishedActor This pair of objects represents the two-phase (parent-thread / child-thread) construction that's needed to support constructing Thread<Object> without blocking until the child thread is up and running. An `AspiringActor<O>` is responsible for: - ownership of the actor's `Mailbox` - allocating the memory for (but *not* constructing) the target object `O` Using these two pieces--the mailbox and a stable address for `O`--an `AspiringActor<O>` can accept messages for the target object, or provide `ActorRef<O>`s that do so, before the object has actually been constructed by the corresponding `EstablishedActor<O>`. (Such messages are queued in the mailbox until after the object is constructed.) This allows for an `AspiringActor<O>` to be created and safely used by a thread other than the one on which the target object will (eventually) live. An `EstablishedActor<O>` is responsible for managing the lifetime of the target object `O` and the open/closed state of the parent's `mailbox`. The `O` object's lifetime is contained by that of its owning `EstablishedActor<O>`: the `EstablishedActor` constructor executes the `O` constructor via "placement new", constructing it at the address provided by the parent `AspiringActor`, and the `~EstablishedActor` destructor similarly executes the `~O` destructor (after closing the mailbox). `EstablishedActor` should therefore live entirely on the thread intended to own `O`. * Remove Actor#{invoke,ask}
* [core] Introduce "collator" expressionsChris Loer2018-07-037-14/+199
| | | | Cross platform parsing and evaluation code.
* [core] Add assertions to expression constructorsJohn Firebaugh2018-06-295-7/+39
|
* [core] Remove stops-based *Function constructorsJohn Firebaugh2018-06-291-0/+40
|
* [darwin] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-291-0/+27
|
* [core] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-293-92/+208
|
* [core] A filter expression that errors should be treated as false, not trueJohn Firebaugh2018-06-291-1/+1
|