summaryrefslogtreecommitdiff
path: root/src/mbgl/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] Distance expression: Refine logiczmiao2020-04-301-103/+174
|
* [test] Distance expression: Update unit testszmiao2020-04-301-13/+12
|
* Add support for polygon in distance expressionzmiao2020-04-301-33/+293
|
* [core] Distance expression: Remove code and comments related to unit argumentzmiao2020-04-281-9/+7
|
* [core] Distance expression: remove unit argument (#16434)zmiao2020-04-241-92/+25
|
* [core] Factored out default fontsMinh Nguyễn2020-04-241-8/+5
|
* [core] Add style::Source::setVolatile()/isVolatile() APIMikhail Pozdnyakov2020-04-222-1/+15
|
* [core] Distance expression: Fix expression serializationzmiao2020-04-222-12/+16
|
* [core] Distance expression: Add index range checker, fix geojson type conversionzmiao2020-04-222-15/+40
|
* [core] Distance expression: Change template class into template function in ↵zmiao2020-04-222-82/+58
| | | | | | geometry_util, add range assertion for distance contaniner IndexRange Change distance units to small letters, update tests accordingly
* [core] Distance expression: add unit tests for distance expressionzmiao2020-04-221-4/+4
|
* [core] Introduce distance expressionzmiao2020-04-224-3/+635
| | | | | | | | | | | | | | | | | | Add distance unit choices Fix cmake and add license Add support for LineString Features Add template to geometry helper function Only support line and point Rename geometry_within.cpp hpp file to geometry_util.cpp .hpp Remove incorrect indexFilter, fix pointSetsDistance Fix distance expression
* [core] Introduce Source::setMinimumTileUpdateInterval APIMikhail Pozdnyakov2020-04-203-3/+21
| | | | | | The `Source::setMinimumTileUpdateInterval()` method sets the minimum tile update interval, which is used to throttle the tile update network requests. Default value is `Duration::zero()`.
* [core] Fix -Werror={pessimizing,redundant}-move from GCC 9Bruno de Oliveira Abinader2020-04-201-1/+1
|
* [core] Fix clang-analyzer-optin.cplusplus.VirtualCallThiago Marcos P. Santos2020-04-171-4/+6
| | | | Detected by clang-tidy-8.
* [core] Fix performance-no-automatic-move (bonus)Thiago Marcos P. Santos2020-04-172-3/+3
| | | | | | As reported by clang-tidy-10. We don't run clang-tidy-10 yet. We should probably consider moving the bots at some point so errors like this won't return.
* [core] Fix modernize-return-braced-init-list errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-171-4/+1
| | | | As reported by clang-tidy-8.
* [core] Fix readability-redundant-member-init errors in header filesThiago Marcos P. Santos2020-04-172-2/+2
| | | | As reported by clang-tidy-8.
* Add generic setter for 'source' propertyAlexander Shalamov2020-04-161-1/+24
| | | | | - Add setter for 'source' property - Test generic setters via setProperty method
* Enable 'circle-sort-key' layout propertyAndrew Hay Kurtz2020-04-145-7/+45
|
* when removing an image use the correct list ptr for presence verificationŁukasz Paczos2020-04-101-1/+1
| | | | This fixes an issues where calling `removeImage` would crash if the image was not present and the original list was not empty.
* Fix LocationIndicator LayerGali Nelle2020-04-102-66/+106
| | | | | | | | | This changes image size properties to be scales instead of pixel sizes. The commit also adds fixes for handling image updates with the same ID, adds tests for expressions in paint properties, as well as tests for using images with pixel ratio greater than 1. Finally it moves image-tilt-displacement and perspective-compensation properties from layout to paint properties, and includes other minor cleanups.
* Make location indicator bearing a paint propertyGali Nelle2020-04-086-34/+95
| | | | | | This change introduces a new property type, Rotation, that uses a custom interpolator, and that is currently applied to all style properties named "bearing", with a period attribute.
* Add LocationIndicatorLayerGali Nelle2020-04-0812-6/+882
| | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo.
* [build] Fix undefined behavour sanitizer (#16375)zmiao2020-04-071-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [build] Fix integer overflow runtime error for core part Temporarily remove circle ci UBSAN build precondition * [build] Enable all of the ubsans [build] Check runtime error [build] Update UBSAN_OPTION * [build] Add UBSAN blacklist [build] Ignore system libraries [build] Ignore vendor library * [build] Fix implicit conversion runtime error in core * [build] Fix division by zero runtime error * [build] Add unfixed error to ubsan blacklist * [build] Make UBSAN halt on error Revert "Temporary remove build precondition" * [build] Fix division by zero error * [build] Make UBSAN officially work without FIXME prefix * [build] Fix implicit conversion from int64_t to uint64_t * [build] Rename style test json file name * Address review findings
* [core] Add setMaxOverscaleFactorForParentTilesAlexander Shalamov2020-04-013-0/+36
|
* [build] Disable clang-format for generated code (#16358)Thiago Marcos P. Santos2020-03-3110-0/+40
| | | | | | The code should be human readable but it is more important if the code in the generator itself is easier to understand. Nobody wants to play clang-format golf with these generators.
* [core] Fix readability-* errorsThiago Marcos P. Santos2020-03-304-9/+9
| | | | As reported by clang-tidy-8.
* [core] Fix google-build-explicit-make-pair errorsThiago Marcos P. Santos2020-03-301-9/+9
| | | | As reported by clang-tidy-8.
* [core] Fix google-explicit-constructor errorsThiago Marcos P. Santos2020-03-302-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix google-readability-casting errorsThiago Marcos P. Santos2020-03-301-1/+1
| | | | As reported by clang-tidy-8.
* Address review findingzmiao2020-03-261-7/+13
| | | | Remove unncessary condition check
* [core] Fix within meridian issuezmiao2020-03-261-6/+33
|
* [core] Ability to set source-layer setProperty methodMikhail Pozdnyakov2020-03-242-0/+16
|
* [core] conversion::Layer uses setProperty API to set max/min zoom & filterMikhail Pozdnyakov2020-03-241-22/+16
|
* [core] Layer::setProperty() can set min/max zoom and filterMikhail Pozdnyakov2020-03-241-2/+19
|
* [core] Move generic setProperty() parts to the base Layer classMikhail Pozdnyakov2020-03-2411-50/+27
|
* [core] Fix modernize-pass-by-value errorsThiago Marcos P. Santos2020-03-232-15/+8
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-deprecated-headers errorsThiago Marcos P. Santos2020-03-231-1/+2
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-return-braced-init-list errorsThiago Marcos P. Santos2020-03-233-23/+14
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-2327-193/+249
| | | | As reported by clang-tidy-8.
* [core] Fix performance-for-range-copy errorsThiago Marcos P. Santos2020-03-231-1/+1
| | | | As reported by clang-tidy-8.
* Refactor within functionzmiao2020-03-191-77/+54
|
* [core] Using TileCoordinates for geometry comparisonzmiao2020-03-191-86/+147
|
* start using tname variableDane Springmeyer2020-03-161-6/+6
|
* [core] Not filter express `in` in `filter`.kevin2020-03-111-1/+6
|
* [core] Remove unnecessary intermediate PolygonFeaturezmiao2020-03-051-41/+8
|
* [core] Fix within expression serialization + fix within expression equal ↵zmiao2020-03-051-17/+29
| | | | operator
* [core] Make within expression support generic geoJSON datazmiao2020-03-051-22/+51
|