summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* [core] Privatize Interpolate<T>John Firebaugh2018-06-282-102/+30
|
* [core] Move non-polymorphic Interpolate methods to baseJohn Firebaugh2018-06-281-17/+16
|
* [core] Split Interpolator into a separate fileJohn Firebaugh2018-06-283-43/+52
|
* [core] Fix issues in unique_anyJohn Firebaugh2018-06-251-10/+6
| | | | | | | * Eliminate unnecessary temporary in VTableStack::move, which also fixes calling the destructor on the incorrect instance * Make move consistent: it destructs the src, not the dest, which is always empty * delete doesn't need a null guard * Conversions to void* don't need a cast
* [core] add raster-resampling property (#12176)upstream/rcleeMolly Lloyd2018-06-212-0/+11
| | | | | | | | | | * update style-code for raster-resampling * implement user-defined raster-resampling * invert filter condition * raster-resampling -> raster-resampling-mode for darwin language conventions
* [core] Measuring tiles requesting/parsing time using logging (#12152)Lloyd Sheng2018-06-211-0/+1
| | | | | | | | | | | | * Tile timing * Refactor logging code * Keep the scope of `messageStream` constrained * Make log message more clear * Fix crash issue if onlineResponse.data is null
* [core] allow logging error codes and formatting strings at the same timeKonstantin Käfer2018-06-121-2/+2
|
* [core] don't use floating point versions of pow/logKonstantin Käfer2018-06-042-14/+1
| | | | | | GLIBC 2.27 added new versioned symbols of powf and logf, while the double versions of pow and log remained stable. Prefer the double version to avoid introducing a dependency on a newer version of GLIBC than strictly necessary. See https://lists.gnu.org/archive/html/info-gnu/2018-02/msg00000.html
* Accept constant expressions in non-dds properties (#11960)Anand Thakker2018-05-231-3/+11
| | | Closes #11940