Commit Graph

16325 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
b190e12f5b [metrics] Ignore location indicator on iOS until we move to gfx::
After that, it will be more portable.
2020-04-17 17:09:16 +03:00
Gali Nelle
cbb3a56c2a Use unique_ptr for RenderLocationIndicatorImpl 2020-04-17 16:52:56 +03:00
Luke Seelenbinder
efe604c392 Better structure fix. 2020-04-17 16:50:11 +03:00
Luke Seelenbinder
40cfb77b7d Fix segfault resulting from an invalid geometry. 2020-04-17 16:50:11 +03:00
Thiago Marcos P. Santos
0d0ae229eb [glfw] Fix clang-10 build
Implicit conversion from int to float.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
c570c7322d [node] Fix clang-tidy errors on the Node bindings headers
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
ea2477f2ea [core] Fix performance-no-automatic-move (bonus)
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.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
cc8b0e1746 [core] Fix performance-noexcept-move-constructor in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
b49517b737 [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
542c11ae63 [core] Fix modernize-use-equals-default errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
7751e4be76 [core] Fix google-default-arguments errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
c92be2965c [core] Fix misc-unconventional-assign-operator errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
ed99a7781a [core] Fix google-build-namespaces errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
63ef5298cd [core] Fix modernize-use-override errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
47b8fc703b [core] Fix readability-container-size-empty errors in header files
As reported by clang-tidy-8.
2020-04-17 13:36:50 +03:00
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
Kevin Li
1cb8fb7a01 Add interface for stretchable image (#314)
* Add interface for stretch image

* Add demo for stretch image api

* Add stretchable image demp

* Update stretchable image test activity.

* Revert change for SymbolLayerActivity

This reverts commit 22bbb798
2020-04-16 14:31:38 +08: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
Chloe Krawczyk
77d0d5e5cf Add bindings for circle-sort-key (#322)
* Update generate-style-code.js

* add jni bindings for circle-sort-key

* update mapbox-gl-native to latest

* Revert "add jni bindings for circle-sort-key"

This reverts commit cdd6049d

Co-authored-by: kevin <kevin.li@mapbox.com>
2020-04-15 17:56:54 +08:00
Kevin Li
d32133790c Export all activities. (#323) 2020-04-15 17:53:30 +08:00