summaryrefslogtreecommitdiff
path: root/src/mbgl/style/expression/compound_expression.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-231-0/+9
| | | | | | | | 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] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-191-0/+1
|
* Rename `EvaluationContext::heatmapDensity` to `colorRampParameter`Mikhail Pozdnyakov2018-08-071-2/+2
| | | | | 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-021-13/+0
| | | | | | | | | | * Relax typing for comparison operators Ports https://github.com/mapbox/mapbox-gl-js/pull/6961 * Review comments * Lint fixes
* [core] Simplify CompoundExpression implementationJohn Firebaugh2018-07-301-47/+102
|
* [core] Avoid unnecessary template instantiationsJohn Firebaugh2018-07-301-32/+23
|
* [core] Introduce "collator" expressionsChris Loer2018-07-031-7/+26
| | | | Cross platform parsing and evaluation code.
* [core] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-291-83/+61
|
* [core] don't use floating point versions of pow/logKonstantin Käfer2018-06-041-1/+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
* Merge branch 'release-boba' into masterupstream/fabian-merge-release-4.0.1-masterFabian Guerra2018-05-171-35/+290
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # mapbox-gl-js # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/gradle/dependencies.gradle # platform/darwin/src/MGLVectorTileSource.mm # platform/darwin/src/MGLVectorTileSource_Private.h # platform/ios/CHANGELOG.md # src/mbgl/style/expression/compound_expression.cpp
| * [core] Convert null to empty string, not “null”Minh Nguyễn2018-05-141-0/+1
| |
| * [core] Convert "legacy" filters directly into expressions (#11610)Lucas Wojciechowski2018-05-101-37/+291
| | | | | | Ports the specialized filter-* expressions from GL JS, adding them to src/mbgl/style/expression/compound_expression.cpp
* | [qt] Fix build when building the Qt Location pluginThiago Marcos P. Santos2018-05-141-1/+1
| | | | | | | | | | - MinGW has to explicitly know that is building a static library. - Android doesn't have 'round' on the std:: namespace when using g++.
* | [core] Port is-supported-script to native.Chris Loer2018-04-271-0/+5
|/ | | | Native port is much simpler because RTL text support is always enabled.
* Add abs, round, floor, ceil operators (#11653)Anand Thakker2018-04-111-0/+6
| | | | | | | | | | | | | | | | | | | | * Add abs, round, floor, ceil operators Port of https://github.com/mapbox/mapbox-gl-js/pull/6496 * [ios, macos] Simplified abs, ceiling, floor expressions * [ios, macos] Added rounding expression function * [android] - binding integration for round, ceil, floor and abs expressions * Update mapbox-gl-js to include non-integer rounding test * Drop extra braces * mapbox-gl-js -> master * Update style-spec docs -> PropertyFactory.java
* [core] Fixed to-rgba with zero opacityMinh Nguyễn2018-03-301-6/+1
|
* Relax type checking for "length"John Firebaugh2018-03-011-7/+0
|
* [core] Implement Expression::serialize()Chris Loer2018-02-281-22/+20
| | | | | | | | Issue #10714 - Each expression stores its operator as a string, and default serialization is [operator, serialize(child1), ...] - Custom implementations of `serialize` for Expression types that don't follow the pattern - expression::Value -> mbgl::Value converter - node_expression bindings to expose `serialize`
* [core] Fix alpha handling in rgba and to-rgba operatorsJohn Firebaugh2018-01-091-1/+6
|
* [core] Improve typing for !=, == expressionsJohn Firebaugh2018-01-091-16/+0
|
* [core] Migrated upcase, downcase to platform codeMinh Nguyễn2017-12-141-8/+3
| | | | Replaced manual, per-character upper- and lowercasing code with calls to platform-specific code that affects a wider range of characters.
* [core] Fix build on Android + GCC and Android + armeabiThiago Marcos P. Santos2017-11-121-3/+5
| | | | Sadly we don't have bots for these two setups.
* Implement Expressions (#9439)Anand Thakker2017-11-081-0/+571
Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)