Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] remove some uses of <iostream> and <sstream> | Konstantin Käfer | 2018-10-23 | 1 | -1/+1 |
| | |||||
* | [test] Enable 'format' Expression test. | Chris Loer | 2018-10-15 | 1 | -2/+1 |
| | |||||
* | [core, tests] Don't break text-field support "identity functions" | Chris Loer | 2018-10-15 | 1 | -0/+18 |
| | |||||
* | [core] Read style's transition from parser | Bruno de Oliveira Abinader | 2018-10-03 | 1 | -0/+8 |
| | |||||
* | [core] Do not constrain on X axis in ConstrainMode::HeightOnly | Bruno de Oliveira Abinader | 2018-10-02 | 1 | -9/+12 |
| | |||||
* | [core] For string-valued properties, do coercion rather than assertion | John Firebaugh | 2018-09-19 | 1 | -5/+5 |
| | |||||
* | [core] add exception for unimplemented expressions in tests | Molly Lloyd | 2018-08-21 | 1 | -1/+5 |
| | |||||
* | [core] make style/conversion.hpp implementation private | Konstantin Käfer | 2018-08-19 | 2 | -2/+2 |
| | |||||
* | [core] add test for comparing filter name to id | Konstantin Käfer | 2018-08-14 | 1 | -0/+4 |
| | |||||
* | [core] Add lineMetrics to GeoJSONOptions | Mikhail Pozdnyakov | 2018-08-08 | 1 | -1/+4 |
| | | | | | This patch also bumps geojson-vt-cpp version to 6.6.0, which enables the `lineMetrics` option. | ||||
* | Fix TileJSON conversion to allow single point bounds | Asheem Mamoowala | 2018-08-02 | 1 | -0/+10 |
| | |||||
* | [core] Merge DataDrivenPropertyValue into PropertyValue (#12513) | John Firebaugh | 2018-07-31 | 3 | -17/+16 |
| | |||||
* | Keep original input for filters using legacy syntax. | Asheem Mamoowala | 2018-07-23 | 1 | -0/+55 |
| | |||||
* | [core] Convert token strings to expressions | John Firebaugh | 2018-07-20 | 1 | -1/+19 |
| | |||||
* | [core] Replace {Source,Camera,Composite}Function with PropertyExpression | John Firebaugh | 2018-07-20 | 7 | -104/+72 |
| | |||||
* | [core] Convert legacy functions directly to expressions | John Firebaugh | 2018-07-13 | 2 | -40/+0 |
| | |||||
* | [core] Introduce "collator" expressions | Chris Loer | 2018-07-03 | 1 | -1/+1 |
| | | | | Cross platform parsing and evaluation code. | ||||
* | [core] Add assertions to expression constructors | John Firebaugh | 2018-06-29 | 1 | -1/+1 |
| | |||||
* | [core] Replace use of *Stops with expressions DSL | John Firebaugh | 2018-06-29 | 5 | -191/+97 |
| | |||||
* | [core] fix crash when trying to parse legacy filters | Konstantin Käfer | 2018-06-29 | 1 | -0/+4 |
| | | | | Legacy filters aren't part of the style specification, but you can generate them by parsing a legacy filter in a stylesheet, and obtaining the parsed Filter and serializing it. | ||||
* | [core] Fix GCC8's new -Wcatch-value warnings | Zsolt Bölöny | 2018-06-25 | 2 | -2/+2 |
| | | | Polymorphic types shouldn't be caught by value, as the warning message says. Catch them by constant reference instead. | ||||
* | [core] Fix crash due to mixing legacy filters and expressions (#12065) | Anand Thakker | 2018-06-06 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | * Fix crash due to mixing legacy filters and expressions In some cases, (invalid) nested filters that used a mix of legacy filter syntax and expression syntax caused a crash due to a failure to propagate parsing errors from deeper within the filter expression. These errors went undetected in part because these conversion functions returned unique_ptr<Expression> values (or vectors thereof), using {nullptr} to represent a parsing error, but the core expression classes expect unique_ptr<Expression> that are never null. This changes over to using expression::ParseResult (aka optional<unique_ptr<Expression>>), to represent conversion failure the same way we do in the rest of the expression system. * Fix clang 3.8 / gcc 4.9 issue | ||||
* | Accept constant expressions in non-dds properties (#11960) | Anand Thakker | 2018-05-23 | 1 | -0/+21 |
| | | | Closes #11940 | ||||
* | Clamp TileJSON.bounds latitudes to [-90, 90] (#11964) | Asheem Mamoowala | 2018-05-21 | 1 | -1/+1 |
| | | | Fixes #11963. | ||||
* | Merge branch 'release-boba' into masterupstream/fabian-merge-release-4.0.1-master | Fabian Guerra | 2018-05-17 | 3 | -5/+71 |
|\ | | | | | | | | | | | | | | | | | | | | | | | # 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 "legacy" filters directly into expressions (#11610) | Lucas Wojciechowski | 2018-05-10 | 3 | -5/+71 |
| | | | | | | Ports the specialized filter-* expressions from GL JS, adding them to src/mbgl/style/expression/compound_expression.cpp | ||||
* | | [core] Rework spec function/expression taxonomy | Lauren Budorick | 2018-05-14 | 1 | -3/+3 |
| | | | | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/6521, updating codegen scripts to parse new expression taxonomy. | ||||
* | | [core] Port is-supported-script to native. | Chris Loer | 2018-04-27 | 1 | -1/+1 |
| | | | | | | | | Native port is much simpler because RTL text support is always enabled. | ||||
* | | Bump GL JS pin to get tests for global symbol querying. | Chris Loer | 2018-04-25 | 1 | -0/+4 |
|/ | | | | | | - Pulls over an update to line.vertex.glsl (looks like a no-op?) - Add test ignores for collator, is-supported-script, line-gradient - Exclude collator, is-supported-script, line-gradient from code generation. | ||||
* | Don't enforce ["zoom"] constraints for filters (#11672) | Anand Thakker | 2018-04-12 | 2 | -3/+13 |
| | | | | | | | | | | | | * Don't enforce ["zoom"] constraints for filters Fixes #11594 * Add a couple of comments * Fix ambiguous constructor call * ParsingContext(optional<Type>) => ParsingContext(Type) | ||||
* | [core] Round-trip linear interpolators | Minh Nguyễn | 2018-03-30 | 1 | -1/+3 |
| | |||||
* | [core] Stringify expression syntax, not function syntax | John Firebaugh | 2018-03-14 | 1 | -12/+13 |
| | |||||
* | [core] TileJSON conversion clamps bounds longitude to [-180,180], per spec | Asheem Mamoowala | 2018-03-09 | 1 | -0/+10 |
| | |||||
* | [core] Add expression filter support (#11251) | Lucas Wojciechowski | 2018-03-09 | 1 | -76/+64 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * WIP * WIP * Remove Filter::operator()(const Feature&) * WIP * WIP * WIP * WIP * Hook up expression filter evaluator * Replace `shared_ptr` with &reference * Fill in implementation of `void operator()(const ExpressionFilter&)` * Fix failing tests * Switch back to a shared_ptr per chat with @anandthakker * Fix benchmark compilation * Shot in the dark to fix CI * Shot in the dark to fix CI (part 2) * Shot in the dark to fix CI (part 3) * In src/mbgl/style/conversion/filter.cpp, add a port of isExpressionFilter and use it to decide in Converter<Filter>::operator() whether to parse the incoming JSON as an ExpressionFilter or one of the legacy filter types * Remove bool Filter::operator()(const GeometryTileFeature&) const * Ensure the map zoom is passed into filtering operations wherever applicable * Add expression filter tests * Addressed PR feedback * Implement `NSPredicate *operator()(mbgl::style::ExpressionFilter filter)` * Fix formatting& nit | ||||
* | TileJSON Bounds allows values inclusive of world extents | Asheem Mamoowala | 2018-02-12 | 1 | -0/+10 |
| | |||||
* | [core] don't force downloading of Open Sans fonts | Konstantin Käfer | 2018-01-25 | 1 | -0/+21 |
| | | | | When a SymbolLayer doesn't have a text-font defined, we automatically add Open Sans/Arial Unicode MS. However, when the SymbolLayer is only used for rendering icons, it doesn't have text-field defined either. In those cases, we still force downloading Open Sans/Arial Unicode MS during offline pack creation. If the user doesn't use this font, this change should save ~15MB and a few seconds in download time. | ||||
* | [core] add raster-dem source type and hillshade layer type (#10642) | Molly Lloyd | 2018-01-23 | 1 | -0/+194 |
| | |||||
* | [core, ios, macos, android] Add data-driven-styling support for `text-font` | John Firebaugh | 2018-01-10 | 1 | -0/+75 |
| | |||||
* | Support TileJSON bounds property (#10701) | Asheem Mamoowala | 2018-01-05 | 1 | -0/+72 |
| | | | | | | | | * [core] Parse TileJSON bounds property * [core] Add TileRange and LatLngBounds::contains(CanonicalTileID) Move LatLngBounds::contains impl to cpp file * [core] Skip tile creation outside of tileset bounds * [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles. | ||||
* | [core] Use Actors for CustomTileLoader invocation from bindings. | Asheem Mamoowala | 2017-11-22 | 1 | -2/+2 |
| | |||||
* | [core] Custom Geometry Sources | Asheem Mamoowala | 2017-11-22 | 1 | -0/+37 |
| | |||||
* | Implement Expressions (#9439) | Anand Thakker | 2017-11-08 | 3 | -0/+142 |
| | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups) | ||||
* | [core] Use convertJSON instead of RapidJSON directly | John Firebaugh | 2017-10-16 | 5 | -50/+23 |
| | |||||
* | [core] Move SourceType to the 'style' namespace | Anand Thakker | 2017-10-16 | 1 | -0/+1 |
| | |||||
* | [core] Add minzoom to GeoJSONOptions | Konstantin Käfer | 2017-09-28 | 1 | -0/+2 |
| | |||||
* | [core] Added Style::getDefaultCamera() | Bruno de Oliveira Abinader | 2017-08-11 | 1 | -9/+9 |
| | |||||
* | [core] mutate style on annotation mutations immediately | Ivo van Dongen | 2017-07-18 | 1 | -1/+3 |
| | |||||
* | [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵ | Asheem Mamoowala | 2017-07-17 | 1 | -1/+1 |
| | | | | and ImageSource, un-premultiply in the shader for blending | ||||
* | [core] Use shared pointer to manage Image source raster data and speed up ↵ | Asheem Mamoowala | 2017-07-17 | 1 | -1/+1 |
| | | | | change detection | ||||
* | [core] GCC 4.9 bracket initialization issues | Bruno de Oliveira Abinader | 2017-07-12 | 1 | -3/+6 |
| |