Commit Graph

5104 Commits

Author SHA1 Message Date
Chris Loer
a11b277bc1 [core] Rename "onLowMemory" to "reduceMemoryUse".
Android still calls "reduceMemoryUse" only while handling a low memory event.
iOS, on the other hand, calls "reduceMemoryUse" every time it enters the background.
2018-02-14 10:55:16 -08:00
Fabian Guerra
7081c9dfdb Merge branch 'fabian-merge-3.7.4-master' 2018-02-14 12:14:34 -05:00
Tobrun
eddcefb3c8 [android] - update changelog for 6.0.0-beta.2 2018-02-14 12:50:52 +01:00
Jesse Bounds
b31eae7514 [ios] Remove unused reference to reachability
This removes a reference to reachability that has been used and incorrect since the file does not exist at the referenced location.
2018-02-13 12:16:19 -05:00
Fabian Guerra
7ec840bbab [android] Add Timber library import. 2018-02-13 11:47:37 -05:00
Fabian Guerra
b68266953f Merge tag 'ios-v3.7.4' into master
# Conflicts:
#	include/mbgl/style/conversion/tileset.hpp
#	include/mbgl/util/tileset.hpp
#	platform/android/CHANGELOG.md
#	platform/android/MapboxGLAndroidSDK/gradle.properties
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
#	platform/ios/CHANGELOG.md
#	platform/ios/ios.xcodeproj/project.pbxproj
#	platform/macos/CHANGELOG.md
#	src/mbgl/layout/symbol_projection.cpp
#	src/mbgl/renderer/tile_pyramid.cpp
#	src/mbgl/style/conversion/tileset.cpp
2018-02-13 11:40:40 -05:00
Pablo Guardiola
44ca0a5ec4 [android] Integration of the new events library (#10999)
* [android] integration of the new events library

* JNI Bug

- current build with JNI bug

* fix #10999 comments

* Clean-up

- clean-up timbers and test code

* [android] fix sdk identifier and sdk version

* [android] merge from master (MAS 3.0)

* [android] bump events lib version to 3.0.0-beta.1 and remove never used methods from math utils class
2018-02-13 11:31:43 +01:00
Fabian Guerra Soto
3a0c87b1b4 [ios] Bump podspec to 3.7.4 (#11179)
* [ios] Bump podspec to 3.7.4

* [ios, macos] Update changelogs.
2018-02-12 17:37:00 -05:00
Fabian Guerra Soto
024e75bd56 [ios, macos] Fix memory leaks in MGLMapSnapshotter. (#11133) 2018-02-12 16:47:16 -05:00
Julian Rex
9ee99c91bb [ios] Adds camera change delegate methods with reason parameter. (#11151)
Added missing notification handler for UIApplicationWillResignActiveNotification.
2018-02-12 16:37:21 -05:00
Tobrun
cdaf90d2e7 [android] - update SNAPSHOT version to v5.4.2 2018-02-12 11:14:39 +01:00
Tobrun
f422f79446 [android] - update changelog for 5.4.1 2018-02-12 11:14:39 +01:00
Tobrun
9941b56238 [android] - don't invoke onLowMemory on map when the map isn't fully created yet 2018-02-12 11:14:39 +01:00
Tobrun
f0b12d581a [android] - update changelog for 5.4.1 2018-02-12 11:14:22 +01:00
Pablo Guardiola
fec4cc8bd0 [android] remove unnecessary @jar and @aar dependencies suffixes (#11161) (#11165)
* [android] remove unnecessary @jar and @aar dependencies suffixes

* [android] remove lint baseline file from mapbox gl android sdk module and fix lint errors
2018-02-12 09:59:26 +01:00
Thiago Marcos P. Santos
d229cbb031 [qt] Add an interface for Static rendering 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
36a0c98713 [qt] Refresh the docs 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
6542e6ee37 [qt] Make sure that methods are being called on the right thread 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
673730ccd4 [qt] Implement FBO handling
Needed for rendering 3D extrusions properly.
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
a4e95c3da3 [qt] Only use the MapRenderer as scheduler if there is no other
Optimization of when running on the Main Thread that has a RunLoop.
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
4f8a23cd8f [qt] Expose an interface to create a renderer on a separated thread
If not called, it will render on the main thread as usual.
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
bb00f558fb [qt] Make MapboxGLMapRenderer a scheduler to receive messages when rendering 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
a062f3e17b [qt] Update map rendering via RendererObserver 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
e7e8cb4547 [qt] Render asynchronously 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
18cf796b52 [qt] Removed unused call 2018-02-09 20:28:54 +02:00
tobrun
cab2086e1c [android] - don't recreate surface as part of view resize 2018-02-09 14:22:29 +01:00
tobrun
5a799117ec [android] - add optional location provider lost to proguard configuration 2018-02-09 11:58:41 +01:00
Minh Nguyễn
101b55b0f0 [ios, macos] Added option to restrict tile source to bounds
Cherry-picked from c3bf7c55a1.
2018-02-08 12:39:30 -08:00
Minh Nguyễn
c3bf7c55a1 [ios, macos] Added option to restrict tile source to bounds 2018-02-08 12:03:27 -08:00
Osana Babayan
4498917a3b migrated to use mapbox-java3.0
migrated to use mapbox-java3.0
note that old 2.2.9 telementry is still used though
2018-02-08 08:44:24 -05:00
tobrun
aeba621573 [android] - programmatically create GlSurfaceView 2018-02-08 14:20:56 +01:00
tobrun
7bccc9d695 [android] - introduce mapview weak reference in global layout listener 2018-02-08 11:43:05 +01:00
Minh Nguyễn
2ed069cb0a [ios, macos] Copyedited computed source wrapping options
Renamed MGLShapeSourceOptionWrapCoordinates to MGLShapeSourceOptionWrapsCoordinates and MGLShapeSourceOptionClipCoordinates to MGLShapeSourceOptionClipsCoordinates. Copyedited their documentation comments.
2018-02-07 12:42:21 -08:00
Asheem Mamoowala
6c5e457590 Add options for Custom Geometry Source types to enable clipping and wrapping geometry (#11041) 2018-02-07 12:07:31 -08:00
Randall C Lee
638ab799ed Adjust radius (#11132) 2018-02-06 15:34:46 -05:00
Molly Lloyd
e03f7a4d1f [core] align raster-dem tiles to pixel grid (#11119)
* align raster-dem tiles to pixel grid

* revert ignored hillshade tests
2018-02-06 10:56:42 -08:00
Konstantin Käfer
78f8fd88b4 [core] factor out RunLoop::wake() 2018-02-06 18:49:06 +01:00
Chris Loer
f7cae4c3e4 [test] Ignore slightly-different collision circles on native. 2018-02-06 08:46:15 -08:00
Chris Loer
2a05a832b2 [test] Temporarily ignore hillshade tests pending PR #11119. 2018-02-06 08:46:15 -08:00
Randall C Lee
332dad2a4e [ios] Add Radius Configuration (#11070)
* Add Radius Configuration

* Remove default config

- removes default configuration
- moves config setup to events init method
- renames config class

* Delete MGLConfig header file
2018-02-05 16:17:57 -05:00
Tobrun
0742f7fb66 [android] - update changelog for 5.4.0 2018-02-05 12:03:19 +01:00
Tobrun
ff29a0cb99 [android] - create Handler using the main thread looper 2018-02-05 12:03:19 +01:00
Łukasz Paczos
c636b382e8 [android] - log lack of permissions only if enabling location 2018-02-05 12:03:19 +01:00
Martin Hellwig
cecfa18346 Implement new bearingTrackingMode GPS_NORTH_FACING 2018-02-05 12:03:19 +01:00
Tobrun
90f29a9172 [android] - update changelog for 5.4.0 2018-02-05 11:22:16 +01:00
olheimer
6a7aa6de27 Wrong Typo for BUILDTYPE 2018-02-05 10:51:23 +01:00
Erol Baykal
23b413483d [Android] fix typo in custom layer example 2018-02-05 10:51:23 +01:00
Tobrun
9fbf5f4e74 [android] - blacklist flaky instrumentation tests 2018-02-05 10:51:04 +01:00
Martin Hellwig
528729dbec Implement new bearingTrackingMode GPS_NORTH_FACING 2018-02-05 10:49:57 +01:00
Tobrun
d0309a3137 [android] - don't invoke onLowMemory on map when the map isn't fully created yet 2018-02-05 09:59:24 +01:00