Commit Graph

13198 Commits

Author SHA1 Message Date
Tobrun
cd031be68e [android] - bump snapshot version to v6.6.0 2018-09-19 15:15:06 +02:00
Molly Lloyd
80bdbebdfe [core] prevent crash when expression for pattern evaluates to "" (#12896)
when a source-expression like `["get", "property"]` evaluates to null and the default pattern value (empty string) is used, make sure attribute buffers get populated to avoid crashing the app
2018-09-18 17:31:44 -07:00
Fabian Guerra Soto
a938c3ef68 [ios, macos] Offline regions merge. (#12791)
* [ios, macos] Add offline regions merge.

* [ios, macos] Update changelogs.

* [ios, macos] Fix refreshing the offline packs after new content is added.

* [ios, macos] Update MGLOfflineStorage's add contents of file documentation.

* [ios, macos] Add MGLOfflineStorage test cases for adding file contents.

* [ios, macos] Add offline merge test database.

* [ios, macos] Add packs parameter to MGLBatchedOfflinePackAdditionCompletionHandler.

* [core] Fix a query mege duplication.

* [ios, macos] Remove unnecessary pack iteration.

* [ios, macos] Fix packs update KVO notifications.

* [ios, macos] Add localization strings.

* [core] Fix query readability.

* [ios, macos] Fix MGLOfflineStorageTest, cleanup the cache database after the test.

* [ios, macos] Fix offline packs, updating triggers a crash.
2018-09-17 15:31:43 -07:00
Jason Wray
153e97c8e7 [ios, build] Remove broken link from deploy Slack notification 2018-09-17 13:12:14 -07:00
Jason Wray
12809db596 [ios, build] Bump timeout for ios-release to 5m 2018-09-17 12:32:23 -07:00
Jason Wray
f3efa628c0 [build] Reduce CircleCI timeouts for iOS/macOS builds
These jobs have constant output and don't need the default 10 minute timeout, so failing sooner (in the event of an npm outage/bug, for example) is advantangeous for us.
2018-09-17 10:48:56 -07:00
Ander Conselvan de Oliveira
68d463ec28 [core] Disable debugging extension when running on ANGLE over Direct3D
The ANGLE implementation of GL_KHR_debug on Direct3D seems to be broken
leading to a bad_alloc being thrown when running with a debug build, so
disable it in that platform.
2018-09-14 15:26:45 +03:00
Ander Conselvan de Oliveira
1c53dc9ca8 [core] Refactor vertex array object extension initialization
Currently the vertex object extension is disabled through an ifdef for
the Windows platform due to an issue with ANGLE, while there is a
blacklist for other platforms. Unify those by adding ANGLE to that
blacklist and some small refactoring.
2018-09-14 15:26:45 +03:00
Ander Conselvan de Oliveira
b9ef805ae0 [build] Run cmake again when source file lists changes
Since commit bded6c65d5 ([build] use plain text files for file lists
to simplify integration with other build systems) adding new source
files would not cause cmake to be re-ran since it doesn't automatically
track the plain text files. Fix that by explicitly adding those files to
CMAKE_CONFIGURE_DEPENDS.
2018-09-14 13:36:47 +03:00
Jason Wray
235f789688 [ios] Update changelog and podspecs for ios-v4.4.1 2018-09-13 16:43:21 -07:00
John Firebaugh
29f940dd3f [android, ios, macos, node] Update CHANGELOGs 2018-09-13 15:55:34 -07:00
John Firebaugh
20adb486f7 [core] Make "to-number" of null behave as documented 2018-09-13 15:55:34 -07:00
John Firebaugh
b64b4cd1f7 [tests] Update mapbox-gl-js 2018-09-13 15:55:34 -07:00
John Firebaugh
2c48b5a292 [core] Implement array assertion fallback behavior
This was added in gl-js in #7095.
2018-09-13 15:55:34 -07:00
John Firebaugh
c044dd88b2 [core] to-color should be idempotent
Ports https://github.com/mapbox/mapbox-gl-js/pull/7260.
2018-09-13 15:55:34 -07:00
John Firebaugh
df93047d40 [core] ["to-array", <item type>, <empty array>] should work for any item type
Ports https://github.com/mapbox/mapbox-gl-js/pull/7261.
2018-09-13 15:55:34 -07:00
Randall Lee
9efdc4c6c3 [iOS] Update events library (#12889)
Updates EventsSDK to patch a crash that happens with offline use.
2018-09-13 17:09:37 -04:00
Minh Nguyễn
c63e628acc [ios, macos] Look even more widely for IB designables agent
The IBDesignablesAgent helper process has been renamed to IBAgent as of the Xcode 10 GM seed, so cast an even wider net when trying to detect it.
2018-09-13 12:52:26 -07:00
John Firebaugh
c470bd26df [node] v4.0.0 2018-09-13 10:55:23 -07:00
Minh Nguyễn
862b4ff75b [ios, macos] Copyedited changelogs 2018-09-13 10:32:39 -07:00
Minh Nguyễn
cc75530c79 [ios, macos] Fixed changelogs 2018-09-13 10:32:39 -07:00
John Firebaugh
28b14f097f [build] Don't let the binary size query get confused by post-dated commits 2018-09-13 09:01:10 -07:00
Konstantin Käfer
071129bf61 [linux,qt] Remove remainder of WebP support 2018-09-13 13:27:44 +02:00
Ander Conselvan de Oliveira
6367fcb2a8 [node] Ignore custom layer tests in node platform
Custom layers are not implemented in node platform so ignore tests that
require it.
2018-09-13 08:42:36 +03:00
Bruno de Oliveira Abinader
5b1925d521 [core] Enable face culling for fill extrusion layers
Use face culling for fill extrusion layers. Winding order is changed to
ensure correct rendering.
2018-09-13 08:42:36 +03:00
Bruno de Oliveira Abinader
05a7b78aa8 [core] Add face culling mode parameter to Program::draw
Add a parameter to Program::draw to control whether face culling should
be enabled. This will be used in a follow up commit to enable face
culling for fill extrusion layers.
2018-09-13 08:42:36 +03:00
John Firebaugh
e4e43bb54f [node] Release cadence for npm package 2018-09-12 16:14:04 -07:00
Nadia Barbosa
32633871bd [ios, macos] Update Podspecs & changelog for 4.4.0
[macos] Update Podspecs

[ios] Update changelog

[macos] Add changelog

Add dates to changelog

[ios, macos] Changelog copy edits

[ios, macos] 😩 changelog edits
2018-09-12 14:42:28 -07:00
Chris Loer
46853dce15 [docs] Experiment: stage changelog entry. 2018-09-12 14:10:46 -07:00
tobrun
5238c77696 [android] - add binding integration for cross source collision 2018-09-12 14:10:46 -07:00
Chris Loer
d735d89835 [core] Port "collision group" plumbing to gl-native.
[node] Hook up map-wide "crossSourceCollisions" option, defaulting to true.
[test] Pass "crossSourceCollisions" test option through test harness; enable cross-source-collisions tests on native.
2018-09-12 14:10:46 -07:00
Łukasz Paczos
079ba0209e [android] improved render timeouts in LocationComponent tests 2018-09-12 13:59:11 +02:00
Łukasz Paczos
229e35e9c3 [android] use the SparseArray instead of the HashMap in location animator coordinator 2018-09-12 13:59:11 +02:00
Łukasz Paczos
b2d4b82cdf [android] updated location tracking gestures management tests 2018-09-12 13:59:11 +02:00
Łukasz Paczos
d625993da2 [android] prevent from reloading the location layer drawables on every location update 2018-09-12 13:59:11 +02:00
Łukasz Paczos
caebcd08e3 [android] LocationComponent - javadoc fixes, improved initialization, removed location save state 2018-09-12 13:59:11 +02:00
Łukasz Paczos
d4a2123bec [android] location saved state tests, default location engine deactivation test 2018-09-12 13:59:11 +02:00
Łukasz Paczos
8cd86fe1b4 [android] improved gestures management while tracking location 2018-09-12 13:59:11 +02:00
Łukasz Paczos
907612e93d [android] updated naming scheme and packages structure for LocationLayerPlugin, now called LocationComponent 2018-09-12 13:59:11 +02:00
Łukasz Paczos
cf7752c80c [android] save location state 2018-09-12 13:59:11 +02:00
Łukasz Paczos
fa3f6f055c [android] deactivating default location engine when the map is destroyed 2018-09-12 13:59:11 +02:00
Łukasz Paczos
bfe0b67572 [android] LocationLayer example activities 2018-09-12 13:59:11 +02:00
Łukasz Paczos
465316b4ce [android] adapt LocationLayerPlugin's test suite 2018-09-12 13:59:11 +02:00
Łukasz Paczos
cb771f6aca [android] initialize LocationLayerPlugin with Map 2018-09-12 13:59:11 +02:00
Łukasz Paczos
5d000d090f [android] merge LocationLayerPlugin to Maps SDK 2018-09-12 13:59:11 +02:00
tobrun
e70fe05756 [android] - update changelog for v6.5.0 2018-09-12 09:49:55 +02:00
Jason Wray
511fca7210 [ios] Add fall-through single tap to iosapp 2018-02-07 16:53:33 -05:00
tobrun
6e171a62a9 [android] - replace platform default implementation using nunicode for uppercasing an lowercasing with an Android specific String.java equivalent 2018-09-11 12:58:56 +02:00
Konstantin Käfer
2fccdecfb1 [build] add script to generate a standalone version of Mapbox GL 2018-09-11 11:43:54 +02:00
Anand Thakker
bc9b224916 [build] add android-gnustl-arm-v7 CI job 2018-09-11 11:43:54 +02:00