Commit Graph

16897 Commits

Author SHA1 Message Date
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
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
Kevin Li
fbea14a8bc bump telemetry to 5.0.0, core to 2.0.0 (#293) 2020-03-26 16:24:55 +08: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
Tobrun
4b0cd4025f [glyph] rework local glyph generation to use RGB values vs alpha (#289) 2020-03-25 14:58:59 +01: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
6984dbf155 Add getLayer and getSource snapshotter methods (#292)
* Expose snapshotter layer and source objects

* Add example snapshotter + within activity

* Bump vendor/mapbox-gl-native
2020-03-25 13:42:23 +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
Kevin Li
da6d8a2b06 Add runtime styling APIs on MapSnapshotter (#268)
* Add styleable snapshotter.

* Add style API for snapshotter

* Add observer interface to snapshotter

* WIP Add styling to snapshotter activity

* Update interface and implement addlayer functions.

* Deprecate methods instead of removing

* Implement addSource functions.

* Implement addImage function

* Still use the previous callback interface.

* Expose onStyleDidloaded interface

* Add setStyle method

* Start native snapshotter from start method

* Fix snapshotter test.

* Fix check style

* Keep the original interface

* Update gl-native

* Add demo for snapshotter heatmap layer

* bump gl-native

Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com>
2020-03-25 09:59:38 +08: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