Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Tile pyramid passes minimum update interval to tiles | Mikhail Pozdnyakov | 2020-04-20 | 1 | -7/+6 |
| | |||||
* | [core] TilePyramid::update accepts source impl | Mikhail Pozdnyakov | 2020-04-20 | 8 | -67/+53 |
| | |||||
* | [core] Introduce Source::setMinimumTileUpdateInterval API | Mikhail Pozdnyakov | 2020-04-20 | 3 | -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] Introduce Tile::setMinimumUpdateInterval() | Mikhail Pozdnyakov | 2020-04-20 | 9 | -13/+51 |
| | |||||
* | [core] Introduce `Resource::minimumUpdateInterval` | Mikhail Pozdnyakov | 2020-04-20 | 1 | -3/+3 |
| | | | | | | Introduce `Resource::minimumUpdateInterval` and consider it in the online file source. The `minimumUpdateInterval` is used to throttle the requests, which were initiated due to resource expiration. | ||||
* | [core] Add platform abstractions for utils::now() | Thiago Marcos P. Santos | 2020-04-20 | 1 | -1/+2 |
| | | | | | Some platforms might require special permissions or custom APIs to access the current time of the day. | ||||
* | [core] Fix -Werror={pessimizing,redundant}-move from GCC 9 | Bruno de Oliveira Abinader | 2020-04-20 | 4 | -7/+4 |
| | |||||
* | Add a name to CustomLayer LayerTypeInfo | Gali Nelle | 2020-04-20 | 1 | -1/+1 |
| | | | | | | This to prevent confusion and enable proper error logging when registering layers with missing name in LayerTypeInfo where the name should instead be present. | ||||
* | Add missing cast for unsigned long to int conversion | Gali Nelle | 2020-04-20 | 1 | -2/+2 |
| | |||||
* | [core] Fix clang-analyzer-optin.cplusplus.VirtualCall | Thiago Marcos P. Santos | 2020-04-17 | 1 | -4/+6 |
| | | | | Detected by clang-tidy-8. | ||||
* | [core] Fix android-cloexec-fopen warning | Thiago Marcos P. Santos | 2020-04-17 | 1 | -1/+1 |
| | | | | Detected by clang-tidy-8. | ||||
* | Introduce a mean to add render features in layers with no sources | Gali Nelle | 2020-04-17 | 6 | -11/+122 |
| | | | | | | This change also uses the support in the LocationIndicator layer, to return a point feature when queried in correspondence of the location indicator. | ||||
* | Use unique_ptr for RenderLocationIndicatorImpl | Gali Nelle | 2020-04-17 | 2 | -2/+2 |
| | |||||
* | Better structure fix. | Luke Seelenbinder | 2020-04-17 | 1 | -4/+4 |
| | |||||
* | Fix segfault resulting from an invalid geometry. | Luke Seelenbinder | 2020-04-17 | 1 | -2/+5 |
| | |||||
* | [core] Fix performance-no-automatic-move (bonus) | Thiago Marcos P. Santos | 2020-04-17 | 3 | -4/+4 |
| | | | | | | 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 performance-noexcept-move-constructor in header files | Thiago Marcos P. Santos | 2020-04-17 | 4 | -5/+8 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-value-param errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 6 | -6/+9 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-use-equals-default errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -3/+3 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-default-arguments errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -6/+6 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix misc-unconventional-assign-operator errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -2/+6 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-build-namespaces errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -12/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-use-override errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 5 | -5/+5 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-type-promotion-in-math-fn errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -10/+15 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-return-braced-init-list errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -3/+3 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-value-param errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -6/+3 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-move-const-arg errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -2/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-pass-by-value errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -11/+12 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-forward-declaration-namespace errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -4/+0 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-copy-initialization errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -2/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-redundant-member-init errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 5 | -4/+6 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-avoid-const-params-in-decls errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 39 | -201/+248 |
| | | | | As reported by clang-tidy-8. | ||||
* | Add generic setter for 'source' property | Alexander Shalamov | 2020-04-16 | 1 | -1/+24 |
| | | | | | - Add setter for 'source' property - Test generic setters via setProperty method | ||||
* | Fix LocationIndicator not updating image sizes when image manager content ↵ | Gali Nelle | 2020-04-16 | 1 | -19/+27 |
| | | | | changes | ||||
* | [core] RenderCircleLayer fixes | Mikhail Pozdnyakov | 2020-04-14 | 1 | -68/+52 |
| | |||||
* | [core] CircleLayout fixes | Mikhail Pozdnyakov | 2020-04-14 | 1 | -37/+33 |
| | |||||
* | Enable 'circle-sort-key' layout property | Andrew Hay Kurtz | 2020-04-14 | 11 | -98/+337 |
| | |||||
* | when removing an image use the correct list ptr for presence verification | Łukasz Paczos | 2020-04-10 | 1 | -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 Layer | Gali Nelle | 2020-04-10 | 4 | -97/+151 |
| | | | | | | | | | 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. | ||||
* | [core] PlacedSymbolData contains layer id | Mikhail Pozdnyakov | 2020-04-09 | 2 | -2/+6 |
| | |||||
* | [core][tile mode] Support variable placement + icon-text-fit | Mikhail Pozdnyakov | 2020-04-08 | 1 | -1/+15 |
| | |||||
* | Make location indicator bearing a paint property | Gali Nelle | 2020-04-08 | 7 | -36/+96 |
| | | | | | | 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 LocationIndicatorLayer | Gali Nelle | 2020-04-08 | 17 | -11/+1733 |
| | | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo. | ||||
* | [core][tile mode] Fix placement mismatch for the labels with same geomerty | Mikhail Pozdnyakov | 2020-04-08 | 1 | -2/+9 |
| | |||||
* | [core][tile mode] Improve placement algorithm for variable labels | Mikhail Pozdnyakov | 2020-04-08 | 2 | -17/+26 |
| | |||||
* | [core][tile mode] Placement algorithm improvements | Mikhail Pozdnyakov | 2020-04-08 | 3 | -29/+81 |
| | | | | | | | | | | | Now, the intersecting symbols are placed across all layers according to the following rules: 1) First we look, which of the tile border(s) the symbol intersects and prioritize the the symbol accordingly (high priority -> low priority): vertical & horizontal -> vertical -> horizontal 2) For the symbols that intersect the same tile border(s), assuming the tile border split symbol into several sections, we look at the minimal section length. The symbol with a larger minimal section length is placed first. 3) Finally, for the symbols that intersect the same tile border(s), and have equal minimal section length, we look at the anchor Y cordinate. | ||||
* | [core] Symbol by symbol placement for intersections | Mikhail Pozdnyakov | 2020-04-08 | 2 | -57/+70 |
| | |||||
* | [core] Introduce PlacementContext | Mikhail Pozdnyakov | 2020-04-08 | 2 | -371/+434 |
| | | | | Make `placeSymbol()` a method and introduce copiable `PlacementContext`. | ||||
* | [build] Fix undefined behavour sanitizer (#16375) | zmiao | 2020-04-07 | 12 | -32/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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 | ||||
* | Refactor tileCover to support lod tiles | Mikko Pulkki | 2020-04-06 | 10 | -44/+511 |
| |