summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix LocationIndicator Layerupstream/galinelle_locationIndicatorFixupGali Nelle2020-04-0954-354/+488
| | | | | | | | | 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.
* Update baselines after addition of Location Indicator layerGali Nelle2020-04-0849-41/+1357
|
* Add unit tests for Rotation interpolatorGali Nelle2020-04-083-3/+27
|
* Make location indicator bearing a paint propertyGali Nelle2020-04-0826-68/+231
| | | | | | 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-0875-18/+3843
| | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo.
* Add change log entryMikhail Pozdnyakov2020-04-081-0/+9
|
* Update render tests expectationsMikhail Pozdnyakov2020-04-083-1/+2
|
* [core][tile mode] Fix placement mismatch for the labels with same geomertyMikhail Pozdnyakov2020-04-081-2/+9
|
* [core][tile mode] Improve placement algorithm for variable labelsMikhail Pozdnyakov2020-04-082-17/+26
|
* [core][tile mode] Placement algorithm improvementsMikhail Pozdnyakov2020-04-083-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 intersectionsMikhail Pozdnyakov2020-04-082-57/+70
|
* [core] Introduce PlacementContextMikhail Pozdnyakov2020-04-082-371/+434
| | | | Make `placeSymbol()` a method and introduce copiable `PlacementContext`.
* [test] Rename deprecated gtest methodThiago Marcos P. Santos2020-04-082-42/+44
| | | | The old name was marked as deprecated and failing to build with clang.
* [build] Bump googletest to 1.10.0Thiago Marcos P. Santos2020-04-081-0/+0
| | | | Reason: gmock supports better syntax for defining mock methods.
* [build] Fix undefined behavour sanitizer (#16375)zmiao2020-04-0721-51/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* [render tests][tile mode] Check symbol icons cut-offsMikhail Pozdnyakov2020-04-063-41/+62
|
* [render tests][tile mode] Enable automatic labels cut-off detectionMikhail Pozdnyakov2020-04-064-4/+68
|
* [build] Add option to disable -WerrorThiago Marcos P. Santos2020-04-061-1/+2
| | | | mkdir build && cd build && cmake .. -DMBGL_WITH_WERROR=OFF
* Refactor tileCover to support lod tilesMikko Pulkki2020-04-0616-192/+947
|
* [android] Remove forgotten JNI bindgings from android platform. (#16374)Igor Tarasov2020-04-032-302/+0
| | | Cleanup after PR #16356.
* Update change log for the maps-v1.5.1 releaseJuha Alanen2020-04-031-0/+2
|
* [android] [build] [ci] Move Android JNI bindings code to ↵Igor Tarasov2020-04-02182-14124/+17
| | | | mapbox-gl-native-android repo. (#16356)
* [build] Make the docker image smallerThiago Marcos P. Santos2020-04-021-44/+52
| | | | | It could be made even smaller by splitting Android and Linux builds, but so far CircleCI is handling it fine.
* Add change log entryMikhail Pozdnyakov2020-04-021-0/+9
|
* Add Map.PlacedSymbolData unit testMikhail Pozdnyakov2020-04-021-1/+71
|
* [core] PlacedSymbolData includes viewport paddingMikhail Pozdnyakov2020-04-024-4/+11
|
* [core][tile mode] Implement API to collect placed symbols dataMikhail Pozdnyakov2020-04-022-4/+56
|
* [core] Introduce API to collect placed symbols dataMikhail Pozdnyakov2020-04-026-6/+70
| | | | | | | | | | The following methods are added to the `Renderer` class: - `collectPlacedSymbolData()` enables or disables collecting of the placed symbols data - `getPlacedSymbolsData()` if collecting of the placed symbols data is enabled, returns the reference to the `PlacedSymbolData` vector holding the collected data.
* Update changelogAlexander Shalamov2020-04-011-4/+8
|
* [core] Add unit testsAlexander Shalamov2020-04-012-4/+119
|
* [android] Add Android bindingsAlexander Shalamov2020-04-012-7/+30
|
* [core] Add setMaxOverscaleFactorForParentTilesAlexander Shalamov2020-04-0113-14/+92
|
* [build] Cascade some bots so we trigger less jobsThiago Marcos P. Santos2020-04-011-28/+58
| | | | | | | | | Now that we have clang-tidy with more checks enable, make sure the code is tidy before we can move forward with the pipeline. Also cascade macOS bots, which are way slower after basic compilation is done on Linux.
* Update changelogAlexander Shalamov2020-04-011-0/+6
|
* Hillshade bucket fix https://github.com/mapbox/mapbox-gl-native-ios/issues/240Aleksandar Stojiljkovic2020-04-011-2/+4
| | | | Fixes: https://github.com/mapbox/mapbox-gl-native-ios/issues/240
* [build] Remove misc-non-private-member-variables-in-classes checkThiago Marcos P. Santos2020-04-011-4/+1
| | | | It is warning about protected members which are not a big deal.
* Update changelogJuha Alanen2020-04-011-0/+4
|
* [test] Disable logging threadJuha Alanen2020-04-011-0/+1
| | | | | some tests are counting the number of logs to determine pass/fail so disable separate logging thread for them.
* [core] Move logging off the main threadJuha Alanen2020-04-012-7/+62
|
* [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.
* [darwin] Remove debug leftoverThiago Marcos P. Santos2020-03-311-3/+0
| | | | Remove debug leftover added by 9009089a93.
* [build] Make the code tidy!Thiago Marcos P. Santos2020-03-302-4/+31
| | | | Now the bot will fail when clang-tidy fails. All warnings are fatal.
* [core] Fix misc-* errorsThiago Marcos P. Santos2020-03-304-5/+4
| | | | As reported by clang-tidy-8.
* [core] Fix readability-* errorsThiago Marcos P. Santos2020-03-3063-424/+479
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-string-integer-assignment errorsThiago Marcos P. Santos2020-03-301-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-integer-division errorsThiago Marcos P. Santos2020-03-301-1/+4
| | | | As reported by clang-tidy-8.too_small
* [core] Fix bugprone-virtual-near-miss errorsThiago Marcos P. Santos2020-03-302-10/+10
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-exception-escape errorsThiago Marcos P. Santos2020-03-302-2/+10
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-macro-parentheses errorsThiago Marcos P. Santos2020-03-302-6/+3
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-move-forwarding-reference errorsThiago Marcos P. Santos2020-03-304-60/+51
| | | | As reported by clang-tidy-8.