Commit Graph

11297 Commits

Author SHA1 Message Date
Fabian Guerra
acfe485302 Merge tag 'ios-v3.6.2' into master
# Conflicts:
#	cmake/core-files.cmake
#	include/mbgl/renderer/renderer_backend.hpp
#	platform/android/CHANGELOG.md
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/AnnotationManager.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/IconManager.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Projection.java
#	platform/android/dependencies.gradle
#	platform/darwin/src/MGLStyle.mm
#	platform/ios/CHANGELOG.md
#	platform/ios/app/Info.plist
#	platform/ios/app/MBXViewController.m
#	platform/ios/ios.xcodeproj/project.pbxproj
#	platform/macos/CHANGELOG.md
#	src/mbgl/gl/attribute.cpp
#	src/mbgl/gl/attribute.hpp
#	src/mbgl/gl/context.hpp
#	src/mbgl/gl/types.hpp
#	src/mbgl/gl/value.cpp
#	src/mbgl/gl/value.hpp
#	src/mbgl/map/backend_scope.cpp
#	src/mbgl/programs/attributes.hpp
#	src/mbgl/programs/program.hpp
#	src/mbgl/programs/segment.cpp
#	src/mbgl/programs/segment.hpp
#	src/mbgl/programs/symbol_program.hpp
#	src/mbgl/programs/uniforms.hpp
#	src/mbgl/renderer/buckets/symbol_bucket.hpp
#	src/mbgl/renderer/painter.cpp
#	src/mbgl/renderer/painter.hpp
#	src/mbgl/renderer/painter_background.cpp
#	src/mbgl/renderer/painter_circle.cpp
#	src/mbgl/renderer/painter_clipping.cpp
#	src/mbgl/renderer/painter_debug.cpp
#	src/mbgl/renderer/painter_fill.cpp
#	src/mbgl/renderer/painter_fill_extrusion.cpp
#	src/mbgl/renderer/painter_line.cpp
#	src/mbgl/renderer/painter_raster.cpp
#	src/mbgl/renderer/painter_symbol.cpp
#	src/mbgl/shaders/line.cpp
#	src/mbgl/shaders/line_pattern.cpp
#	test/renderer/backend_scope.test.cpp
2017-08-28 12:43:29 -04:00
Konstantin Käfer
c6ab20e5c6 [core] initialize OfflineDatabase asynchronously in DefaultFileSource
Sometimes, initialization can take hundreds of milliseconds, in particular when the database doesn't exist yet, or when the app/device is doing a lot of I/O already. Instead of synchronously initializing the OfflineDatabase objects, we're now asynchronously initializing the object through a self-sent message that by virtue of being the first message for this actor guarantees that the object is there when it's needed by other member functions.
2017-08-28 13:16:27 +02:00
Chris Loer
6cbeeff689 [core] Fix issue #9843 (overzoomed line label rendering glitch).
Ports fix for GL JS issue #5112.
Line label projection can't be based on tile geometry that's behind the plane of the camera.
The relevant tests are still ignored because the overzoomed collision behavior is different between native and JS.
2017-08-25 14:20:42 -07:00
Chris Loer
17a3a805f1 [core] Add optional type template parameter to util::unit, so that it doesn't always pick up the default type of 'double' from util::mag. 2017-08-25 14:20:42 -07:00
Bruno de Oliveira Abinader
fe8cbc78d3 [core] Added GeometryTileWorker-owned image correlation ID 2017-08-25 23:41:52 +03:00
Bruno de Oliveira Abinader
f3fc9b2b92 [core] Don't throttle placement in still mode 2017-08-25 23:41:52 +03:00
Bruno de Oliveira Abinader
9fd03a3e90 [test] Un-ignore regressions/mapbox-gl-native#9792 2017-08-25 23:41:52 +03:00
Bruno de Oliveira Abinader
8b45d64efc Revert "[core] Ensure image dependencies in GeometryTileWorker::onImagesAvailable"
This reverts commit cd8eb13ba2.
2017-08-25 23:41:52 +03:00
John Firebaugh
b0c03f9396 [core] No need to skip glClear optimization in overdraw mode 2017-08-24 13:06:23 -07:00
John Firebaugh
28be432041 [core] Eliminate temporary sources set 2017-08-24 13:06:23 -07:00
John Firebaugh
4dd30db7cb [core] Clean up includes and forward declarations 2017-08-24 13:06:23 -07:00
John Firebaugh
9c02e4d7dd [core] Inline Renderer::Impl::doRender 2017-08-24 13:06:23 -07:00
John Firebaugh
d05486391a [core] Remove unnecessary members from UpdateParameters 2017-08-24 13:06:23 -07:00
John Firebaugh
079ddfc8e4 [core] Create BackendScopes in Renderer, assert in Impl
This avoids a long series of reset() calls in the Impl.
2017-08-24 13:06:23 -07:00
John Firebaugh
ad70cd30ef [core] Inline RenderItem and RenderData 2017-08-24 13:06:23 -07:00
John Firebaugh
47ac22b6ac [core] Merge RenderStyle into Renderer::Impl 2017-08-24 13:06:23 -07:00
John Firebaugh
d26559bb28 [core] Avoid GeometryTile dependency in FeatureIndex 2017-08-24 13:06:23 -07:00
John Firebaugh
e706ed4b2e [core] Avoid RenderStyle dependency in query code 2017-08-24 13:06:23 -07:00
Tobrun Van Nuland
3d3648387b [android] - build SNAPSHOT from release branch 2017-08-24 17:40:28 +02:00
Tobrun Van Nuland
fde31db28f Revert "[android] - configure loggin of HttpRequest, cleanup HttpRequest"
This reverts commit a059c74a54.
2017-08-24 15:01:57 +02:00
Lauren Budorick
57d87e8ef2 Update ignores + suite_implementation 2017-08-23 18:21:05 -07:00
Asheem Mamoowala
f2c9f2bf36 [ios][macos][node][android] Updated documentation and Changelogs for #9821 2017-08-22 16:49:59 -07:00
Thiago Marcos P. Santos
bd15e273dc [tests] Enforce the schema downgrade behavior
Which is, delete and recreate the database.
2017-08-22 12:46:38 +03:00
Thiago Marcos P. Santos
558d4b1a88 [core] Remove database on schema downgrade
Previously we were throwing an exception.
2017-08-22 12:46:38 +03:00
Bruno de Oliveira Abinader
224e9e6261 [test] Re-added API.ZoomHistory 2017-08-22 10:17:25 +03:00
Bruno de Oliveira Abinader
80e4b2f1ab [core] Update ZoomHistory.lastInteger{Zoom,Time} if different from floor zoom 2017-08-22 10:17:25 +03:00
Asheem Mamoowala
d21f19686b Set Default MaxZoom to 22 2017-08-21 15:01:36 -07:00
Tobrun Van Nuland
374424610e [android] - update changelog with 5.1 patch releases 2017-08-21 16:13:38 +02:00
Tobrun Van Nuland
a059c74a54 [android] - configure loggin of HttpRequest, cleanup HttpRequest 2017-08-19 07:59:27 +02:00
Fabian Guerra Soto
001988fba1 [ios] Update pods spec for iOS v3.6.2 (#9806) 2017-08-18 15:38:16 -04:00
Antonio Zugaldia
c540aa39d3 [android] update docs replacing bitrise mentions with circleci 2017-08-18 14:33:21 -04:00
Chris Loer
18a54bc96b Skip test for issue #9792, as it currently causes the test harness to time out. 2017-08-18 10:53:26 -07:00
Chris Loer
fd2b525c4d [core] Correct x-offset introduced by vertical glyph rotation
Fixes issue#9768.
Port of GL JS PR #5100.
2017-08-18 10:53:26 -07:00
Jason Wray
b5b84ef52d [ios] Warn about using MGLFeature-conforming annotations w/querying 2017-08-18 13:24:56 -04:00
Jason Wray
cd36ec00bc [ios] Add debug descriptions to shapes and features 2017-08-18 12:26:25 -04:00
Mattias Bengtsson
edc8a6492e [glfw] Getopt: Don't handle 0 value
Since we don't have any options with non-null flags we don't need to
handle the case where getopt_long returns 0.

The case that handled 0 was susceptible to switch fall-through and made
the code not compile with -Werror=implicit-fallthrough=.
2017-08-18 17:04:34 +03:00
Tobrun Van Nuland
385e4e6ade [android] - style image accessor 2017-08-18 13:38:38 +02:00
John Firebaugh
1188707dc3 [core] Use separate attribute component for line normals
Selective cherry pick of 822df3dd51
2017-08-18 11:43:24 +02:00
Cameron Mace
e204f6cd79 bumped MAS version number 2017-08-18 07:34:25 +02:00
Fabian Guerra Soto
c7d7319c77 [ios, macos] Fix querying features returning nil when features available. (#9784)
* [ios, macos] Fix querying features returning nil when features available.

* [ios, macos] Copyedited changelogs

Also, macOS SDK v0.5.1 has yet to be released, because none of the changes that went into iOS SDK v3.6.1 were relevant to macOS.
2017-08-17 19:19:06 -04:00
Tobrun Van Nuland
83336e2224 [android] - avoid IndexOutOfBounds when destroying map object 2017-08-17 16:58:49 +02:00
Tobrun
830bf151be [android] - create smallest possible LatLngBounds when visible region crosses the dateline 2017-08-17 16:48:18 +02:00
Tobrun Van Nuland
fb05d2e16a [android] - update project readme with checkstyle and ndk-stack information 2017-08-17 16:46:12 +02:00
Tobrun Van Nuland
ae18026e30 [android] - add make android-check which wraps checkstyle and lint execution 2017-08-17 16:01:24 +02:00
Tobrun Van Nuland
71e7759a62 [android] - enable location change animation of MyLocationView by default 2017-08-16 18:46:41 +02:00
Anand Thakker
817ed1417e Initialize Xcode project build settings (#9777) 2017-08-16 08:29:05 -04:00
Tobrun Van Nuland
3a3a072b7a [android] - deprecate MyLocationView in favor of LocationLayer plugin 2017-08-15 16:50:14 +02:00
Tobrun Van Nuland
f46eea7fdf [android] - increase firebase timeout for CI testing 2017-08-15 16:49:45 +02:00
Tobrun Van Nuland
40993012b9 [android] - re-add projectedMeters 2017-08-15 09:19:08 +02:00
Bruno de Oliveira Abinader
5d62028ed2 [test] Added API.RecycleMapUpdateImages test 2017-08-14 18:23:03 +03:00