Commit Graph

6685 Commits

Author SHA1 Message Date
tobrun
b4d5890c82 [android] - only perform thread checking in debug builds of the integrating app. Use constants for source when thread checking 2019-04-12 16:06:04 +02:00
tobrun
58696a0704 [android] - rework test to use query activity, fix attempt to render without surface crash 2019-04-12 13:12:31 +02:00
tobrun
6c2948d3e6 [android] - harden query invocations, move hasSurface handling to NativeMapView 2019-04-12 13:12:31 +02:00
tobrun
ecfa67bbff [android] - add javadoc indicating that query methods can return empty depending on map/surface state 2019-04-12 13:12:31 +02:00
tobrun
06541b261a [android] - reproduce downstream navigation crash with queryRendererFeatures when resuming Activity 2019-04-12 13:12:31 +02:00
Konstantin Käfer
e95bf4dd9b [ios] run glFlush when reducing memory and don't reduce memory while in background (#14383) 2019-04-11 09:57:35 -04:00
Łukasz Paczos
bd5527fea7 [android] ignore equal offline region's download state updates 2019-04-11 14:58:05 +02:00
Łukasz Paczos
51daaa1e3c [android] activate the ConnectivityReceiver when starting the download 2019-04-11 14:27:01 +02:00
Lloyd Sheng
8c5c4dd565 [ios] Fix issue wrong position of attribution dialog after rotation (#14185)
* Fix issue #12897
2019-04-11 16:48:53 +08:00
Julian Rex
82b5d8e5c7 [ios] Updated podspecs for v4.11.0-alpha.2 (#14391) 2019-04-10 19:13:49 -04:00
Randall Lee
1bd23e2182 [iOS] Events submodule update (#14388)
* [iOS] Update Events submodule to v0.9.3

Internal change -- shouldn't require changelog notes.
2019-04-10 17:50:40 -04:00
Minh Nguyễn
0982efe830 [macos] Fixed Auto Layout warnings
Added constraints to the offline CJK checkbox and updated constraints around it.
2019-04-10 14:37:38 -07:00
Minh Nguyễn
1567281ee8 [macos] Fixed offline CJK checkbox outlet connection 2019-04-10 14:37:38 -07:00
Fabian Guerra Soto
2f0af0e8f4 [ios] Deactivate MGLMapView IBDesignable (#14379)
Removed MGLMapView's IBDesignable attribute. The map's view render attributes
uses GL, making changes through the inspectables were not reflected in the storyboard
and were causing IB crashes.

* [ios] Deactivate MGLMapView IBDesignable.

* [ios] Remove IBDesignable agent code.

* [ios, macos] Remove NSProcessInfo category from iOS.
2019-04-10 13:01:59 -07:00
Jason Wray
7bfb9c9658 [ios] Update mapbox/jazzy-theme 2019-04-10 12:38:36 -07:00
Jason Wray
264db54f10 [ios, build] Install latest jazzy, if not already installed 2019-04-10 12:38:36 -07:00
Jason Wray
d04b4844dd [ios, build] Bump to jazzy 0.9.6 2019-04-10 12:38:36 -07:00
Osana Babayan
5c61e2cf3e [android] release 7.4.0-alpha.2 changelog (#14387) 2019-04-10 12:10:14 -04:00
Fabian Guerra Soto
8389e746b6 [ios, macos] Add Mapbox Maps SDK metrics manager. (#13997)
Added MGLSDKMetricsManager to keep track of SDK related events such as tile download times.

* [ios, macos] Add tile download performance event.

* [ios, macos] Modify the performance event format.

* [ios, macos] Add Mapbox Maps SDK events manager.

* [ios, macos] Remove events delegate.

* [ios, macos] Remove deprecated macro.

* [ios, macos] Rename MGLEventsManager to MGLMetricsManager.

* [ios, macos] Make MGLMetricsDelegate follow delegate convention.

* [ios, macos] Remove mbgl-filesource target dependency on MGLMetricsManager.

* [ios, macos] Update metrics manager documentation.

* [ios, macos] Add device metadata.

* [ios, macos] Rename MGLMetricsManager to MGLSDKMetricsManager.
2019-04-09 16:10:14 -07:00
Łukasz Paczos
2ee342448b [android] expose LOCATION_SOURCE constant 2019-04-09 12:26:40 +02:00
Łukasz Paczos
f20b6e0048 [android] expose LocationComponentConstants class 2019-04-09 12:26:40 +02:00
Łukasz Paczos
f22c014b91 [android] check for Mapbox#INSTANCE when initializing the MapView 2019-04-09 10:52:24 +02:00
Osana Babayan
37a8865703 [android] Avoid memory leak by making static inner classes (#14343) 2019-04-08 16:03:46 -04:00
tobrun
744ce2c026 [android] - allow resetting a custom OkHttp client to the default implementation 2019-04-08 15:13:33 +02:00
Konstantin Käfer
8f331f5ae3 [core] refactor ThreadLocal backend 2019-04-08 14:41:16 +02:00
Nadia Barbosa
9c8ee53cd8 Bump Podspecs & changelog for ios-v4.10.0-beta.3 2019-04-05 15:48:50 -07:00
Thiago Marcos P. Santos
5a173faec1 [android] Fix build with mismatching glShaderSource signature
Not all GL implementations are following the glShaderSource signature
specified by Khronos for GLES20.

https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glShaderSource.xml
2019-04-05 18:58:58 +03:00
Langston Smith
cc3babfdb1 [android] small naming tweaks made to mention of Android Maps SDK (#14346) 2019-04-05 06:25:30 -07:00
Konstantin Käfer
3ceabcd3ec [core] clang-tidy fixes 2019-04-05 11:49:17 +02:00
Konstantin Käfer
1d58850d0c [core] remove Renderer::flush 2019-04-05 11:49:17 +02:00
Konstantin Käfer
5cc3d7a733 [core] move GLContextMode to RendererBackend 2019-04-05 11:49:17 +02:00
Konstantin Käfer
66c020034e [core] refactor RendererBackend 2019-04-05 11:49:17 +02:00
Konstantin Käfer
a782a6d15b [core] move BackendScope to gfx namespace 2019-04-05 11:49:17 +02:00
Konstantin Käfer
be3b5917c1 [core] add generic base class for renderbuffers 2019-04-05 11:49:17 +02:00
Konstantin Käfer
839f4687aa [core] gl::RenderbufferType -> gfx::RenderbufferPixelType 2019-04-05 11:49:17 +02:00
Alexander Eggers
ca60095071 Added getter for the field isComponentInitialized
This change is meanly because of https://github.com/mapbox/mapbox-gl-native/pull/14068 which is now throwing an exception when the component is not activated. This getter should help users to identify if the component is not activated yet to prevent usage and therefore exceptions.
2019-04-05 11:47:28 +02:00
Łukasz Paczos
03159b3589 [android] clear previous style loaded listener when setting a new style 2019-04-04 17:14:22 +02:00
Łukasz Paczos
98d3f42e18 [android] add unit tests for #13947 2019-04-04 13:42:14 +02:00
Łukasz Paczos
af74d00b05 [android] add unit tests for #14171 2019-04-04 13:42:14 +02:00
Jason Wray
4a36d848ce [ios] Bump to v4.11.0-alpha.1 2019-04-03 16:28:26 -07:00
Jason Wray
cfd398a499 [ios] Remove unused line from MGLExpressionTests 2019-04-03 15:56:28 -07:00
Jason Wray
e1b5b51374 [ios] Update to Swift 5.0 2019-04-03 15:56:28 -07:00
Fabian Guerra Soto
0f416fbbde [ios] Cocoapods bump to v4.10.0-beta.2 (#14323)
* [ios] Update podspec to beta.2.

* [ios] Update changelogs.
2019-04-03 14:36:32 -07:00
Jordan Kiley
1aa705c2f6 [ios] Add iOS bindings and example for missing icons event. (#14302)
Added a new mapView delegate method that allows reload a style icon in case it couldn't load it from the style.

Added an iosapp test example.
2019-04-03 12:37:56 -07:00
Osana Babayan
f3c3dc49e2 [android] Updated Changelog for 7.4.0-alpha.1 release (#14317) 2019-04-03 12:21:15 -04:00
Julian Rex
c7b709c5af [ios] Enable/disable presentsWithTransaction to address #14232 (#14307) 2019-04-03 11:50:11 -04:00
Łukasz Paczos
100c9b7bc1 [android] clean up location permissions annotation 2019-04-03 12:09:13 +02:00
Łukasz Paczos
a75a78242f [android] disable leak canary during instrumentation tests 2019-04-03 10:23:55 +02:00
Alf Watt
dabbe4f92e [ios] Update mapbox-events-ios to v0.9.2 (#14288) (#14303)
* [ios] Update `mapbox-events-ios` to `v0.9.2` (#14288)
2019-04-02 18:47:27 -07:00
Ansis Brammanis
2455275bf4 add onStyleImageMissing to allow dynamically loaded or generated images (#14253)
Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
2019-04-02 12:57:45 -04:00