Thiago Marcos P. Santos
fc29ddc6c2
[build] Make the code tidy!
...
Now the bot will fail when clang-tidy fails. All warnings are fatal.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
1c5e0ee31e
[core] Fix misc-* errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
94d1c10727
[core] Fix readability-* errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
2ca3fc24a1
[core] Fix bugprone-string-integer-assignment errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
31975e6083
[core] Fix bugprone-integer-division errors
...
As reported by clang-tidy-8.too_small
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
879a906efa
[core] Fix bugprone-virtual-near-miss errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
ea19e817c0
[core] Fix bugprone-exception-escape errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
0f235ac6d5
[core] Fix bugprone-macro-parentheses errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
5bb7ebd7de
[core] Fix bugprone-move-forwarding-reference errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
b4e9c0bd11
[core] Fix bugprone-too-small-loop-variable errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
31338c5d88
[core] Fix google-readability-casting errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
4362e27ab2
[core] Fix google-explicit-constructor errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
7f422e8696
[core] Fix google-build-explicit-make-pair errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
2280a8a752
[core] Fix google-default-arguments errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
62b543e44a
[core] Fix google-explicit-constructor errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Thiago Marcos P. Santos
65f4df5190
[core] Fix google-readability-casting errors
...
As reported by clang-tidy-8.
2020-03-30 23:37:44 +03:00
Mikko Pulkki
5fa7ff3b63
Update changelog
2020-03-30 18:01:39 +03:00
Mikko Pulkki
a6ba6c0e85
Fix assert on gfx resource cleanup
2020-03-30 18:01:39 +03:00
Juha Alanen
488e550895
[build] Enable ccache for iOS CI builds
...
Now ccache can be optionally enabled. Enable it for CI builds.
By default it is disabled due to issues in some environments.
2020-03-27 17:57:28 +02:00
Bruno de Oliveira Abinader
7cf5350e3c
[build] Use cheap-ruler-cpp provided via mapbox-base
2020-03-27 14:46:40 +02:00
Juha Alanen
bc80e5bacf
[build] Add steps to build curl for Android
...
Add steps to build curl with openssl for Android.
Prebuilt libraries will be used by default.
2020-03-27 11:27:24 +02:00
Juha Alanen
2a6b2f6638
[build] Add mapbox-gl-native-curl submodule
2020-03-27 11:27:24 +02:00
Juha Alanen
364ade830b
[build] Remove submodule curl-android-ios
2020-03-27 11:27:24 +02:00
Alexander Shalamov
77466d23d6
Update change log for the maps-v1.5.0 release
2020-03-26 15:28:53 -04:00
zmiao
debf117360
Add changelog
2020-03-26 14:13:59 +02:00
zmiao
e9b99a5233
Address review finding
...
Remove unncessary condition check
2020-03-26 14:13:59 +02:00
zmiao
25ad9d184d
Add unit tests
2020-03-26 14:13:59 +02:00
zmiao
848f48ac27
[core] Fix within meridian issue
2020-03-26 14:13:59 +02:00
Julian Rex
9009089a93
Add NSURLSession delegation to http_file_source.mm ( #16321 )
2020-03-25 17:56:40 -04:00
Thiago Marcos P. Santos
0998ffbab8
[core] Use const& for the OfflineRegion object
...
It is used as const and also fixes a build issue on iOS:
```
Non-const lvalue reference to type ‘mbgl::OfflineRegion’ cannot bind
to a temporary of type ‘typename remove_reference<OfflineRegion &>::type’
(aka ‘mbgl::OfflineRegion’)
```
2020-03-25 22:09:07 +02:00
Mikhail Pozdnyakov
d4db3b1126
Add change log entry
2020-03-25 15:11:41 +02:00
Mikhail Pozdnyakov
735fc0a4dc
[core][tile mode] Share seenCrossTileIDs across all placeLayer() calls
...
Thus we obviate lots of repeated operations for already placed symbols.
2020-03-25 15:11:41 +02:00
Mikhail Pozdnyakov
313844b1da
[core][tile mode] Place tile intersecting labels first, across all layers
...
Thus, we reduce the amount of label cut-offs in Tile mode.
Before, labels were arranged within one symbol layer (one bucket),
which was not enough for several symbol layers being placed at the
same time.
2020-03-25 15:11:41 +02:00
Mikhail Pozdnyakov
f5430ca33c
[core] Introduce map mode specific Placement implementations
2020-03-25 15:11:41 +02:00
Mikhail Pozdnyakov
7ba5d5e2dd
[core] Introduce Placement::placeLayers()
2020-03-25 15:11:41 +02:00
Alexander Shalamov
fd1f8703cd
Update changelog
2020-03-25 07:01:42 -04:00
Alexander Shalamov
2b37d81d73
[android] Expose getLayer, getSource and Observer interface for snapshotter
...
So that users can modify properties of an existing layer / source objects
2020-03-25 07:01:42 -04:00
Mikhail Pozdnyakov
77d95d27ce
Add change log entry
2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
371af12e1f
StyleConversion.SetGenericProperties test
2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
7234cb3968
[core] Ability to set source-layer setProperty method
2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
5f1847d9a2
[core] conversion::Layer uses setProperty API to set max/min zoom & filter
2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
20d960ed51
[core] Layer::setProperty() can set min/max zoom and filter
2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
280b806777
[core] Move generic setProperty() parts to the base Layer class
2020-03-24 20:53:55 +02:00
tobrun
99dbb3eed5
[android] - use RGB values instead of alpha values for local glyph generation
2020-03-24 06:03:03 -04:00
Kevin Li
3f45b0a24b
[android] Add jni binding for styleable snapshotter ( #16286 )
...
* [android] Add jni binding for styleable snapshotter
* Remove Map parameter from factories
- remove unused map from factory interfaces. Map is only needed for repaint.
* implement addlayer function
* Implement addsource function for snapshotter
* Implement addImages function
* format codes
* Apply baseline
* Update CHANGELOG.md
* Update map_snapshotter.cpp
* Destroy snapshotter on the thread it was created
* Activate file sources in start
* Use custom deleter for snapshotter
* format codes
* Release snapshotter pointer to deleting lambda
* Clang format
* Update CHANGELOG.md
* Fix review comments
* FIx review comments
Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com >
2020-03-24 14:33:54 +08:00
Thiago Marcos P. Santos
1adc436c9d
[test] Include cpp-httplib as a system library
...
This way it will not get warnings by linters and -Werror.
2020-03-23 23:04:51 +02:00
Thiago Marcos P. Santos
3e173e1b71
[build] Deprecated GCC 4.9 and set the minimum to GCC 5
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
463876a7b1
[build] Prevent future modernize-* regressions
...
Also ignore modernize-avoid-c-arrays, not such a
big deal at the moment.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
d446a1cf63
[core] Fix modernize-use-override errors
...
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
9dbd0a666a
[core] Fix modernize-pass-by-value errors
...
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00