Commit Graph

15865 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
6559fa82a7 [core] Fix readability-redundant-smartptr-get errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
a1e5bffa90 [core] Fix performance-type-promotion-in-math-fn errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
e688a847a2 [core] Fix readability-redundant-declaration errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
2cd06fb0e3 [core] Fix readability-const-return-type errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
4cdc067636 [core] Fix modernize-return-braced-init-list errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
46fa691596 [core] Fix performance-unnecessary-value-param errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
563d4b6cac [core] Fix performance-move-const-arg errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
09d58c0f86 [core] Fix bugprone-forwarding-reference-overload errors in header files
This was a false positive.

As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
83b43bb38c [core] Fix modernize-pass-by-value errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
ee2eb13a55 [core] Fix bugprone-forward-declaration-namespace errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
aab575263f [core] Fix performance-unnecessary-copy-initialization errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
c21cf413b8 [core] Fix performance-inefficient-vector-operation errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
c4cb026fa4 [core] Fix readability-redundant-member-init errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
dffe00feea [core] Fix readability-avoid-const-params-in-decls errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
2eebd7170a [build] Make the code tidy
Now clang-tidy runs for all the mbgl-core.
2020-04-17 13:36:50 +03:00
Alexander Shalamov
a71e672dfa Update changelog 2020-04-16 13:52:54 -04:00
Alexander Shalamov
ffea0af9bf Add generic setter for 'source' property
- Add setter for 'source' property
- Test generic setters via setProperty method
2020-04-16 13:52:54 -04:00
Thiago Marcos P. Santos
7f0c13967d [baselines] Update binary size baselines
New image, new libraries we link against.
2020-04-16 19:31:23 +03:00
Thiago Marcos P. Santos
aa2e8fbb6a [build] Move to Ubuntu Eoan
Disco has reached EOL and apt-get fails.
2020-04-16 19:31:23 +03:00
Gali Nelle
545a09fcb3 Fix LocationIndicator not updating image sizes when image manager content changes 2020-04-16 11:56:02 +03:00
Thiago Marcos P. Santos
4da54d61cc [build] Ignore location indicator on iOS until we port to ::gfx
Remove the ignore after https://github.com/mapbox/mapbox-gl-native/issues/16401 is done.
2020-04-15 20:37:10 +03:00
Juha Alanen
f3df304a20 [build] Compare benchmark results to baseline 2020-04-15 19:11:28 +03:00
Juha Alanen
3a91597c5d [benchmark] Add script for comparing benchmark results to baseline
Benchmark will fail if the average time is more than 5% higher
than the baseline.
2020-04-15 19:11:28 +03:00
Juha Alanen
36175d57b4 [build] Disable benchmark for MacOS debug CI builds 2020-04-15 19:11:28 +03:00
Juha Alanen
4a8dea7527 [metrics] Add baselines for benchmark tests 2020-04-15 19:11:28 +03:00
Juha Alanen
39329516dd [android, ios] Increase benchmark repetition count
More repetitions give more stable results.
2020-04-15 19:11:28 +03:00
Juha Alanen
07d7afd6c9 [benchmark] Increase iteration count for some benchmarks
Some benchmarks were run less than 5 iterations, which is not enough
for stable results.
2020-04-15 19:11:28 +03:00
Juha Alanen
8c499c9955 [benchmark] Add new benchmark for rendering a map 2020-04-15 19:11:28 +03:00
Juha Alanen
5d8ad4c99e [build] Bump benchmark to v1.5.0 2020-04-15 19:11:28 +03:00
Juha Alanen
7ead748f6c [build] Save rebaselined metrics as artifacts 2020-04-15 19:11:28 +03:00
Alexander Shalamov
81e1f89c8c Update baselines for macos bot 2020-04-15 10:42:11 -04:00
Alexander Shalamov
51000f6d6d Use single threaded fixture log 2020-04-15 10:42:11 -04:00
Rinigus
42ceb70365 [build] Drop unused modules from .gitmodules 2020-04-15 12:11:47 +03:00
Mikhail Pozdnyakov
66ac554459 Add change log entry 2020-04-14 22:30:40 +03:00
Mikhail Pozdnyakov
cf2bccdcc2 Update baselines 2020-04-14 22:30:40 +03:00
Mikhail Pozdnyakov
364ea4b3b7 [core] RenderCircleLayer fixes 2020-04-14 22:30:40 +03:00
Mikhail Pozdnyakov
3ba2fc6ea2 [core] CircleLayout fixes 2020-04-14 22:30:40 +03:00
Andrew Hay Kurtz
0c95acf103 Enable 'circle-sort-key' layout property 2020-04-14 22:30:40 +03:00
Łukasz Paczos
08ad742164 [core] add regression test for #16391 2020-04-14 17:32:00 +02:00
Łukasz Paczos
f79334c124 when removing an image use the correct list ptr for presence verification
This fixes an issues where calling `removeImage` would crash if the image was not present and the original list was not empty.
2020-04-10 16:55:17 +02:00
Kevin Li
be9ca95e9a [android] Fix onStyleImageMissing callback in Snapshotter not fired issue. (#16386) 2020-04-10 18:13:57 +08:00
Gali Nelle
209857f8ac Fix LocationIndicator Layer
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.
2020-04-10 00:15:43 +03:00
Mikhail Pozdnyakov
e6c156420d [core] PlacedSymbolData contains layer id 2020-04-09 17:18:21 +03:00
Mikhail Pozdnyakov
718dd295ab Add change log entry 2020-04-08 17:00:21 +03:00
Mikhail Pozdnyakov
5a9fa44d55 [core][tile mode] Support variable placement + icon-text-fit 2020-04-08 17:00:21 +03:00
Gali Nelle
fe9ba477a8 Update baselines after addition of Location Indicator layer 2020-04-08 14:00:26 +03:00
Gali Nelle
cd91664935 Add unit tests for Rotation interpolator 2020-04-08 14:00:26 +03:00
Gali Nelle
8e581c88ea Make location indicator bearing a paint property
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.
2020-04-08 14:00:26 +03:00
Gali Nelle
9a55c282fe Add LocationIndicatorLayer
New key is "G" in mbgl-glfw, cycling between no puck, centered
in the viewport and positioned in Tokyo.
2020-04-08 14:00:26 +03:00
Mikhail Pozdnyakov
7f53cec17b Add change log entry 2020-04-08 11:19:37 +03:00