summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Minimal darwin wrappers of 'format' expressionChris Loer2018-10-151-1/+5
| | | | Add support for `MGL_FUNCTION('format', <text>, <options dictionary>)`
* [core] Initial implementation of 'format' expressionChris Loer2018-10-1519-10/+156
|
* [core] For string-valued properties, do coercion rather than assertionJohn Firebaugh2018-09-191-10/+23
|
* [core] Auto-convert concat arguments to stringsJohn Firebaugh2018-09-191-0/+2
|
* [core] Implement array assertion fallback behaviorJohn Firebaugh2018-09-133-48/+1
| | | | This was added in gl-js in #7095.
* [core] Port "collision group" plumbing to gl-native.Chris Loer2018-09-121-1/+2
| | | | | [node] Hook up map-wide "crossSourceCollisions" option, defaulting to true. [test] Pass "crossSourceCollisions" test option through test harness; enable cross-source-collisions tests on native.
* [android] add support for gnustlKonstantin Käfer2018-09-111-0/+11
|
* Port symbol-z-order symbol layout style-spec property to Nativeupstream/sort-by-yryanhamley2018-09-072-0/+9
|
* [core] Fix cubic-bezier interpolation for zooms outside stop range.Chris Loer2018-09-061-1/+7
| | | | | Fixes issue #12812. Using `util::interpolationFactor` handles the case where inputLevels.min == inputLevels.max, so it returns an interpolation factor of "0" instead of dividing by 0.
* [windows, qt] fix windows compiler errors, remove tao + tuple polyfillMolly Lloyd2018-08-312-24/+14
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-311-2/+3
| | | | expressions in `*-pattern` properties
* [core] introduce TypeListConcat and TypeList::ExpandIntoKonstantin Käfer2018-08-311-2/+26
|
* [core] simplify attribute/location typesKonstantin Käfer2018-08-311-0/+3
|
* Enforce Offline tile limit when merging sideloaded databasesAsheem Mamoowala2018-08-281-3/+9
|
* [core] Add DefaultFileSource::mergeRegions API and CLI support in the ↵Asheem Mamoowala2018-08-281-0/+17
| | | | mbgl-offline tool.
* [core] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-232-1/+8
| | | | | | | | 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).
* [core] offline region definition - add support for arbitrary geometriesIvo van Dongen2018-08-201-7/+27
|
* [core] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-1922-393/+335
|
* [core] Evict unused font stacks from GlyphManagerJohn Firebaugh2018-08-171-0/+7
|
* WIP: use expected<T, E> for passing on errorsKonstantin Käfer2018-08-142-8/+9
|
* [core] harden OfflineDatabaseKonstantin Käfer2018-08-141-1/+1
|
* [build] vendor std::expected polyfillKonstantin Käfer2018-08-141-0/+16
|
* [core] Factor out setVisibility conversionJohn Firebaugh2018-08-131-0/+1
|
* [core] Eliminate setProperty & co.John Firebaugh2018-08-1313-3/+49
|
* [core] Fix build when building Qt Location plugin for AndroidSudarsana Babu Nagineni2018-08-101-0/+16
| | | | | | | - log2 is not available on Android before API 18. - Android doesn't have 'round' on the std:: namespace when using g++. Co-authored-by: Thiago Marcos P. Santos <thiago@mapbox.com>
* [core] Replace unique_any with peer from mapbox-bindgenBruno de Oliveira Abinader2018-08-084-275/+115
|
* [core] Add lineMetrics to GeoJSONOptionsMikhail Pozdnyakov2018-08-081-0/+1
| | | | | 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-071-4/+4
| | | | | More generic name as the same class member is to be used by the linear gradient properties.
* Relax typing for comparison operators (#12537)Anand Thakker2018-08-024-36/+70
| | | | | | | | | | * 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-3116-342/+223
|
* [core] Tweak conversions to reduce binary sizeJohn Firebaugh2018-07-306-126/+29
| | | | | * return {} → return nullopt * error = { "..." } → error.message = "..."
* [core] Simplify CompoundExpression implementationJohn Firebaugh2018-07-302-102/+21
|
* Fix compilation errors with libc++ on QNX 7Sudarsana Babu Nagineni2018-07-301-1/+4
| | | | | | | | | | 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-2415-27/+68
|
* [core] Add `symbol-placement: line-center`Chris Loer2018-07-231-1/+2
| | | | | - 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-3/+17
|
* [core] Convert token strings to expressionsJohn Firebaugh2018-07-207-29/+41
|
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-2011-293/+164
|
* [core] Convert legacy functions directly to expressionsJohn Firebaugh2018-07-1312-966/+64
|
* [core] Simplify Value conversionsJohn Firebaugh2018-07-121-41/+23
| | | | | | Use a single template function for each of {to,from}ExpressionValue, always dispatching to ValueConverter. Remove unused ValueConverter::ExpressionType typedefs.
* [core] Harden Projection::project()Bruno de Oliveira Abinader2018-07-091-1/+2
|
* Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue`Mikhail Pozdnyakov2018-07-054-23/+23
| | | | | | | | 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-036-70/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-035-1/+86
| | | | Cross platform parsing and evaluation code.
* Add pitch argument to cameraThatFits functions (#12213)Bobby Sudekum2018-07-021-3/+3
|
* [core] Add assertions to expression constructorsJohn Firebaugh2018-06-293-20/+7
|
* [core] Remove stops-based *Function constructorsJohn Firebaugh2018-06-295-155/+81
|
* [darwin] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-291-0/+7
|
* [core] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-295-20/+68
|
* [core] InterpolateBase → Interpolate; Interpolate → InterpolateImplJohn Firebaugh2018-06-284-9/+9
|