Commit Graph

16768 Commits

Author SHA1 Message Date
Alexander Shalamov
ca1ae7604c [android] Add Android bindings 2020-04-01 16:18:55 -04:00
Alexander Shalamov
15f73a06f2 [core] Add setMaxOverscaleFactorForParentTiles 2020-04-01 16:18:55 -04:00
Thiago Marcos P. Santos
09f7bbcf7c [build] Cascade some bots so we trigger less jobs
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.
2020-04-01 20:34:21 +03:00
Alexander Shalamov
bd5932a964 Update changelog 2020-04-01 18:21:04 +03:00
Aleksandar Stojiljkovic
881d5dab6a Hillshade bucket fix https://github.com/mapbox/mapbox-gl-native-ios/issues/240
Fixes: https://github.com/mapbox/mapbox-gl-native-ios/issues/240
2020-04-01 18:21:04 +03:00
Thiago Marcos P. Santos
9de0bacf7d [build] Remove misc-non-private-member-variables-in-classes check
It is warning about protected members which are not a big deal.
2020-04-01 14:41:23 +03:00
Kevin Li
dceba08311 Fix Expression can't convert within json error (#305) 2020-04-01 18:09:15 +08:00
Juha Alanen
09a5ee2d8b Update changelog 2020-04-01 11:17:43 +03:00
Juha Alanen
4daa6baa20 [test] Disable logging thread
some tests are counting the number of logs to determine pass/fail
so disable separate logging thread for them.
2020-04-01 11:17:43 +03:00
Juha Alanen
a67aaca56b [core] Move logging off the main thread 2020-04-01 11:17:43 +03:00
Thiago Marcos P. Santos
349c6153de [build] Disable clang-format for generated code (#16358)
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.
2020-03-31 22:48:56 +03:00
Thiago Marcos P. Santos
9e189e02b4 [darwin] Remove debug leftover
Remove debug leftover added by 9009089a93.
2020-03-31 01:59:41 +03:00
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
Julian Rex
4dbff0ff55 Fix compilation errors when compiling tests in release. (#245) 2020-03-30 16:27:05 -04: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
Kevin Li
dbdc053db1 Update ccache config (#298) 2020-03-30 21:29:03 +08:00
Minh Nguyễn
9401f340e7 ios-v5.8.0-beta.2, macos-v0.15.0-beta.2 2020-03-27 15:43:02 -07:00
Minh Nguyễn
9dcbadeba3 [ios, macos] Increase snapshot test timeout 2020-03-27 15:43:02 -07: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
Julian Rex
171ff9484a Adds delegate to MGLNetworkConfiguration (#228) 2020-03-27 10:28:21 -04: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
Kevin Li
dbace6a779 Update change log for 9.1.0-beta.2 (#295) (#297)
* Update change log for 9.1.0-beta.2

* Update CHANGELOG.md

Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com>

* Update CHANGELOG.md

Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com>

* Update CHANGELOG.md

Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com>

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com>

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Chloe Krawczyk <chloe.krawczyk@mapbox.com>
(cherry picked from commit ab1aed9b04)
2020-03-27 16:38:47 +08:00
Kevin Li
ab1aed9b04 Update change log for 9.1.0-beta.2 (#295)
* Update change log for 9.1.0-beta.2

* Update CHANGELOG.md

Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com>

* Update CHANGELOG.md

Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com>

* Update CHANGELOG.md

Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com>

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-Authored-By: Chloe Krawczyk <chloe.krawczyk@mapbox.com>

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Chloe Krawczyk <chloe.krawczyk@mapbox.com>
2020-03-27 12:58:44 +08:00
Kevin Li
585253ed0d Bump gl-native to 1.5.0 (#296) 2020-03-27 12:54:53 +08:00
Julian Rex
be6574d0df Updates gl-native submodule to 1.5.0 release (#242) 2020-03-26 19:18:34 -04:00
Minh Nguyễn
1d466465a5 [macos] Match snapshotted style with main map
Copy layer visibility settings and translated labels from the main map to the snapshotted map.
2020-03-26 15:29:33 -07:00
Minh Nguyễn
3a55330765 [ios, macos] Snapshot-test runtime styling in snapshots 2020-03-26 15:29:33 -07:00
Minh Nguyễn
ecf9a141a0 [ios, macos] Unit-test snapshotter 2020-03-26 15:29:33 -07:00
Minh Nguyễn
63bf91125a [ios, macos] Snapshotter (runtime styling) delegates
Added a protocol and property for MGLMapSnapshotter’s delegate, which it uses for runtime styling. Generalized MGLStyle to be usable in the absence of MGLMapView. Moved MGLOpenGLStyleLayer code around to compile.
2020-03-26 15:29:33 -07:00
Minh Nguyễn
180ab72055 [macos] Call overlay handler when snapshotting 2020-03-26 15:29:33 -07:00
Alexander Shalamov
77466d23d6 Update change log for the maps-v1.5.0 release 2020-03-26 15:28:53 -04:00