Commit Graph

18056 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
461c414748 [core] Follow-up on the platform integration callback PR
Addressing review comments that arrived after the PR was merged.
2020-03-12 13:35:45 +02:00
Kevin Li
c8108edc29 Add test demo for filter with expression in (#218)
* Add test demo for filter with expression in

* Update gl-native
2020-03-12 19:03:08 +08:00
Chloe Krawczyk
5c7a432bd6 Add skip changelog label to PR template (#272) 2020-03-11 20:04:56 -07:00
Minh Nguyễn
dc3470b993 [ios, macos] Only set stretchable regions for stretch resizing mode 2020-03-11 16:55:18 -07:00
Minh Nguyễn
a18d5211a6 [ios, macos] Roundtrip resizable image cap insets 2020-03-11 16:55:18 -07:00
Minh Nguyễn
c225a50f25 [ios, macos] Added image stretching tests 2020-03-11 16:55:18 -07:00
Minh Nguyễn
9c4b5ee557 [ios, macos] Nine-part resizable images
The MGLSymbolStyleLayer.iconTextFit property now respects the cap insets of any nine-part stretchable image passed into the -[MGLStyle setImage:forName:] method.

The “Manipulate Style” command in macosapp demonstrates the stretchable image feature by adding a single Ohio state route shield image, which has cap insets defined in the asset catalog, and labeling each Ohio state route with that image, stretched to fit the route number without widening the icon’s stroke.
2020-03-11 16:55:18 -07:00
Thiago Marcos P. Santos
639434b3ef [metrics] Updated baselines 2020-03-11 21:53:12 +02:00
kevin
93e1279de1 Bump mapbox-gl-js 2020-03-11 21:53:12 +02:00
kevin
f98cf0cd4b [core] Not filter express in in filter. 2020-03-11 21:53:12 +02:00
Chloe Krawczyk
33ee616396 Add pr template for drafting changelogs (#203) 2020-03-11 11:22:36 -07:00
Mikhail Pozdnyakov
901a960487 Update baselines 2020-03-11 16:51:45 +02:00
Mikhail Pozdnyakov
b83de65813 [core] Adjust mapbox-gl-native for the updated debug shader semantics 2020-03-11 16:51:45 +02:00
Mikhail Pozdnyakov
6c26e141a8 Bump mapbox-gl-js 2020-03-11 16:51:45 +02:00
Thiago Marcos P. Santos
410e583db6 [core] Add a callback for platform RunLoop integration
Platform integration callback for platforms that do not have full
run loop integration or don't want to block at the Mapbox GL Native
loop. It will be called from any thread and is up to the platform
to, after receiving the callback, call RunLoop::runOnce() from the
same thread as the Map object lives.
2020-03-11 12:35:20 +02:00
Kevin Li
d9bcd52a44 [doc] Update changelog for v9.0.1 (#223)
* [doc] Update changelog for v9.0.1

* Update CHANGELOG.md

* Update CHANGELOG.md
2020-03-11 17:56:18 +08:00
Chloe Krawczyk
1dedece852 Add PR template for drafting changelogs (#270) 2020-03-10 17:10:56 -07:00
Mikhail Pozdnyakov
09ab9420a9 Add change log entry 2020-03-10 20:32:34 +02:00
Mikhail Pozdnyakov
cc5e86b186 [core][tile mode] Fix assertion at line-center placement handling
The `symbolIntersectsTileEdges` algorithm should not be applied to the symbols with `line-center` placement
2020-03-10 20:32:34 +02:00
Minh Nguyễn
20730e122e mbgl v1.3.1+ios 2020-03-09 22:07:49 -07:00
Thiago Marcos P. Santos
deb1161366 [ios] Disable ccache 2020-03-09 17:25:37 -07:00
Thiago Marcos P. Santos
26a878a7a0 [build] Include an internal/internal.cmake if exists
Useful for including extra modules in forks.
2020-03-09 19:57:10 +02:00
Thiago Marcos P. Santos
bb5c4e81c5 [build] Make curl for Android a vendor package
This will make it easier to add it as dependencies of different targets.
2020-03-09 19:57:10 +02:00
Kevin Li
ea7bc213a2 Enable ccache for android studio. (#269) 2020-03-09 22:00:06 +08:00
Thiago Marcos P. Santos
e6024a2e02 [build] Do not do license check on core only builds (#16276)
Users will add more dependencies and the script will break the build.
2020-03-08 17:43:45 +02:00
Alexander Shalamov
33b4fea105 [core] Update baselines 2020-03-07 10:14:18 +02:00
Alexander Shalamov
c5f9f3811b [core] Update changelog 2020-03-07 10:14:18 +02:00
Alexander Shalamov
30aaa76910 [core] Add unit tests for ambient cache size 2020-03-07 10:14:18 +02:00
Alexander Shalamov
202b5a8ecc [core] Calculate size of an ambient cache without offline resources 2020-03-07 10:14:18 +02:00
Minh Nguyễn
0776d48503 [macos] Install Node packages before running checks 2020-03-06 15:19:41 -08:00
Minh Nguyễn
c95c4eaccd [ios] Updated Slack notifications 2020-03-06 15:19:08 -08:00
Mikhail Pozdnyakov
35fc402d34 [render tests] Temporarily ignore tile-mode/streets-v11
Due to flaky metrics results
2020-03-06 23:46:52 +02:00
Mikhail Pozdnyakov
47ce65b496 Add change log entry 2020-03-06 23:46:52 +02:00
Mikhail Pozdnyakov
bd1fcfd314 [render tests] Add resources for tile-mode/streets-v11 2020-03-06 23:46:52 +02:00
Mikhail Pozdnyakov
b5eed1cd19 Bump mapbox-gl-js
so that it includes `tile-mode/streets-v11` test
2020-03-06 23:46:52 +02:00
Mikhail Pozdnyakov
260148878c [core] CollisionIndex::intercectsTileEdges -> intersectsTileEdges 2020-03-06 23:46:52 +02:00
Mikhail Pozdnyakov
42068691c8 [core] Tile mode placement algorithm must consider icons bounding boxes
Tile mode placement algorithm now checks if bounding boxes for both label text and icon are intersecting the edges of the tiles.

Before, it checked only text bounding boxes and thus label icons might have got cut off.
2020-03-06 23:46:52 +02:00
Thiago Marcos P. Santos
0565b899ae [build] Removed unused misc code
This BUCK code is not used by our CI.
2020-03-06 15:57:38 +02:00
Juha Alanen
987f214273 [build] Collect code coverage from macOS builds
Collect coverage from development builds and add a nightly build
to collect metrics.
2020-03-06 13:52:00 +02:00
Kevin Li
04722fdefd Update generate-style-code and add sort key api for LineLayer and FillLayer. (#209) 2020-03-06 16:59:32 +08:00
Minh Nguyễn
7320eea5bc ios-v5.8.0-alpha.1, macos-v0.15.0-alpha.1 2020-03-05 17:20:46 -08:00
Minh Nguyễn
3cbdee8a29 [macos] Fixed typos 2020-03-05 17:20:41 -08:00
Minh Nguyễn
e6a667bf6b mapbox-gl-native v1.3.1 2020-03-05 16:23:02 -08:00
zmiao
c9c03b092b Update changelog 2020-03-05 20:53:16 +02:00
zmiao
f23599c41d [core] Remove unnecessary intermediate PolygonFeature 2020-03-05 20:53:16 +02:00
zmiao
aa0c9c267f [core] Fix within expression serialization + fix within expression equal operator 2020-03-05 20:53:16 +02:00
zmiao
c69d3b46b1 [core] Fix within case when point is on polygon boundary 2020-03-05 20:53:16 +02:00
zmiao
9fbcb45c89 [core] Make within expression support generic geoJSON data 2020-03-05 20:53:16 +02:00
Alexander Shalamov
9ff1435aaa [core] Change GeoJSONOptions.clusterProperties to std::map
The clusterProperties contain only few elements at most.
2020-03-05 17:43:37 +02:00
Alexander Shalamov
f5b9716030 [core] Update changelog 2020-03-05 17:43:37 +02:00