Commit Graph

10929 Commits

Author SHA1 Message Date
Konstantin Käfer
fc48ca1801 [build] use CMake to generate Xcode schemes 2017-07-06 11:45:09 +02:00
Pablo Guardiola
adbce36fe6 [android] Fix my location drawable getting tinted (#9410)
* fix my location drawable tinted when setting mapbox_myLocationTintColor in xml issue (linking my location foreground drawables with my location foreground tint color and adding the possibility of setting an undefined my location foreground tint color)

* link my location background drawable with my location background tint color and add the possibility of setting an undefined my location background tint color
2017-07-06 11:26:03 +02:00
Minh Nguyễn
74bcca380d Merge remote-tracking branch 'origin/tvn-merge-release' 2017-07-05 18:06:51 -07:00
Tobrun
6ca8cd7e24 [macos] - add Styles header to CHANGELOG.md 2017-07-05 21:21:04 +02:00
Tobrun
79d849dc44 [darwin] - re-add swift documentation 2017-07-05 21:15:54 +02:00
Łukasz Paczos
9ab04a2965 [android] - invible marker views performance fix #9419 (#9420) 2017-07-05 20:15:37 +02:00
John Firebaugh
87081b8391 [core] Fix iterator invalidation in erase_if
vector::erase invalidates iterators. It's not safe for erase_if to cache the end iterator nor increment, then erase.
2017-07-05 20:15:17 +02:00
Bruno de Oliveira Abinader
5921f692e0 [qt] Pass size in QMapboxGLTest's QMapboxGL ctor 2017-07-05 14:41:21 +03:00
Tobrun
14c221fce7 Merge branch 'release-ios-v3.6.0-android-v5.1.0'
# Conflicts:
#	.travis.yml
#	circle.yml
#	cmake/core-files.cmake
#	include/mbgl/style/function/composite_function.hpp
#	platform/android/CHANGELOG.md
#	platform/android/MapboxGLAndroidSDK/build.gradle
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/constants/MyBearingTracking.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/constants/MyLocationTracking.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationSource.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/CameraChangeDispatcher.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/TrackingSettings.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Transform.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/light/Light.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/light/Position.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/light/light.java.ejs
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/utils/BitmapUtils.java
#	platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/LightTest.java
#	platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/light.junit.ejs
#	platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/camera/CameraPositionActivity.java
#	platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/userlocation/MockLocationEngine.java
#	platform/android/dependencies.gradle
#	platform/android/src/native_map_view.cpp
#	platform/darwin/scripts/generate-style-code.js
#	platform/darwin/src/MGLGeometry_Private.h
#	platform/darwin/src/MGLLight.h
#	platform/darwin/src/MGLLight.mm
#	platform/darwin/src/MGLSource.h
#	platform/darwin/src/MGLStyle.h
#	platform/darwin/src/MGLStyle.mm
#	platform/darwin/test/MGLLightTest.mm
#	platform/default/default_file_source.cpp
#	platform/ios/CHANGELOG.md
#	platform/ios/Mapbox-iOS-SDK-symbols.podspec
#	platform/ios/Mapbox-iOS-SDK.podspec
#	platform/ios/resources/Images.xcassets/default_marker.imageset/default_marker.pdf
#	platform/macos/CHANGELOG.md
#	scripts/generate-shaders.js
#	src/mbgl/layout/symbol_layout.cpp
#	src/mbgl/programs/program.hpp
#	src/mbgl/programs/symbol_program.hpp
#	src/mbgl/programs/uniforms.hpp
#	src/mbgl/renderer/frame_history.cpp
#	src/mbgl/renderer/paint_property_binder.hpp
#	src/mbgl/shaders/line.cpp
#	src/mbgl/shaders/line_pattern.cpp
#	src/mbgl/shaders/line_sdf.cpp
#	src/mbgl/sprite/sprite_atlas.hpp
#	src/mbgl/style/layers/line_layer_properties.hpp
#	src/mbgl/style/sources/geojson_source.cpp
#	src/mbgl/style/style.cpp
#	src/mbgl/text/glyph_atlas.hpp
#	src/mbgl/tile/geometry_tile.cpp
#	src/mbgl/tile/geometry_tile.hpp
#	test/style/style.test.cpp
2017-07-05 08:37:27 +02:00
Bruno de Oliveira Abinader
60eae41549 [core] Factor timePoint initialization: take 2 2017-07-04 15:50:50 +03:00
Bruno de Oliveira Abinader
a744e35f44 [test] Added API.ZoomHistory 2017-07-04 15:50:50 +03:00
Bruno de Oliveira Abinader
9a0c5b4dfa [test] Use test::checkImage in API.RepeatedRender 2017-07-04 15:50:50 +03:00
Tobrun
d2d8a575be [android] - update changelog for 5.1.0 release (#9405) 2017-07-01 17:38:44 +02:00
Tobrun
b9a4addac6 [android] - bump Mapbox Android Services to latest for 5.1.0 final release (#9402) 2017-06-30 16:47:31 +02:00
Tobrun
95735c06f6 Downgrade location provider dependency (#9394)
* [android] - downgrade LOST to Mapbox SDK 5.0.2 version.

* bump LOST back to Mapbox Android SDK version 4.x
2017-06-30 11:21:39 +02:00
Minh Nguyễn
3821ce27de macos-v0.5.0 2017-06-29 17:46:40 -07:00
Minh Nguyễn
47ca78b705 [macos] Updated screenshot
The new screenshot features 3D extruded buildings, vertical CJK, and right-to-left Arabic, all via runtime styling.
2017-06-29 17:45:41 -07:00
Fabian Guerra
dafba03bbc ios] Update pods spec for iOS v3.6.0 2017-06-29 14:52:32 -04:00
Lauren Budorick
b5fed1172d [core] Bind only active attributes in order to avoid exceeding attribute limits (#9373)
Introducing two new attributes to enable property functions for line-width (#9250) pushed the attribute count over GL_MAX_VERTEX_ATTRIBS on some devices. Now we selectively bind only attributes that are used, making it unlikely to surpass GL_MAX_VERTEX_ATTRIBS.
2017-06-29 11:29:48 -07:00
Minh Nguyễn
92157762cf [macos] Fixed cursor shifting after drag gesture
When redisplaying the mouse cursor after a modified drag gesture, incorporate the conversion from view coordinates to window coordinates. Previously, this code performed the conversion but threw away the results.

Fixes #8670.
2017-06-29 10:10:31 -07:00
Minh Nguyễn
ae7dc8ce48 [macos] Reorganized changelog 2017-06-29 10:10:31 -07:00
Tobrun
f836425be4 [android] - keep state of initial overlain views margins (#9391) 2017-06-29 13:36:59 +02:00
Jordan Kiley
8abe210964 [ios] moved changes to darwin (#9387) 2017-06-29 03:33:20 -07:00
Tobrun
200d184738 OnCameraIdle hook into quickzoom gesture (#9339)
* [android] - OnCameraIdle hook into quickzoom gesture

* double tap fix

* show MyLocationView bearing for GPS when Compass is not available, only show error about missing compass once, fix test activity.

* fix accessor lint warning
2017-06-29 09:29:23 +02:00
John Firebaugh
34453eb4e2 [core] Fix iterator invalidation in erase_if
vector::erase invalidates iterators. It's not safe for erase_if to cache the end iterator nor increment, then erase.
2017-06-28 17:56:51 -07:00
Jason Wray
6aecc66fc8 [ios] Minimize tilt gesture delay 2017-06-28 16:21:41 -04:00
Bruno de Oliveira Abinader
1df45a5e42 [core] Check if frameZoom is NaN in Transform::flyTo callback 2017-06-28 20:59:56 +03:00
Bruno de Oliveira Abinader
433e54e636 [core] Clamp to scale boundaries in TransformState::setLatLngZoom 2017-06-28 20:59:56 +03:00
Ivo van Dongen
a35b268606 [android] remove tile cache size customization 2017-06-27 17:02:40 -07:00
Ivo van Dongen
de37ae9628 [ios] remove tile cache size customization 2017-06-27 17:02:40 -07:00
Ivo van Dongen
d13d82571a [macos] remove tile cache size customization 2017-06-27 17:02:40 -07:00
Ivo van Dongen
20189db67f [core] remove tile cache size setter 2017-06-27 17:02:40 -07:00
Jason Wray
88b2fbd4ec [darwin] Assign threads more specific names 2017-06-27 11:26:42 +03:00
Ivo van Dongen
24a00231f3 [core] fix render doesn’t flag style mutation 2017-06-26 16:19:06 -07:00
Jason Wray
361dda25a6 [ios, macos] Fix size and color of default marker image 2017-06-26 14:56:21 -04:00
John Firebaugh
150fc6b643 [core] Don't transition new layers on a setStyle operation 2017-06-26 09:42:35 -07:00
Thiago Marcos P. Santos
c3900e42d6 [core] Removed unused methods
No longer needed after refactoring ::setResourceTransform.
2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
1ed059a15b [darwin] Use ResourceTransform for setting URL transform callbacks 2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
aefa8cb551 [android] Use ResourceTransform for setting URL transform callbacks 2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
ea34cb5725 [core] Use the ResourceTransform instead of callbacks
Based on the actor model, can be considered safer to use since
we don't need to worry about object lifetime anymore.
2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
515ffa975d [core] Store pointer instead of referect to the Object in ActorRef
GCC complains about implicitly deleted assigment constructor
when trying to do this:

void setResourceTransform(optional<ActorRef<ResourceTransform>> transform) {
    resourceTransform = transform;
}

optional<ActorRef<ResourceTransform>> resourceTransform;
2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
6beccef517 [core] Introduce the ResourceTransform
Wrapper for transforming URLs on the OnlineFileSource.
2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
54c3ccc37d [core] Make the mbgl/actor headers public
They will be needed by the DefaultFileSource, something that we
also export as public.
2017-06-26 16:32:21 +03:00
Minh Nguyễn
9b0b74dba6 [ios] Fixed infinite loop zooming in past z23
At zoom levels where the minimum 1 meter or 4 feet would be wider than the scale bar’s maximum width, the local variable holding the preferred row was left undefined. A loop that later iterated based on this row would effectively iterate infinitely until memory pressure forces the system to quit the application.
2017-06-24 13:14:05 -07:00
Pablo Guardiola
19e872b15c remove bitrise config file (#9356) 2017-06-23 22:04:25 +02:00
Tobrun
f8fd09f722 [android] - build release package once during ci build (#9351) 2017-06-23 15:26:55 +02:00
Fabian Guerra
3e40cab22d [ios] Update pods spec for iOS v3.6.0-rc.1 2017-06-22 16:39:04 -04:00
Bruno de Oliveira Abinader
461387343d [build] Switch from Travis CI to CircleCI 2017-06-22 13:33:16 -07:00
Bruno de Oliveira Abinader
3a0c5b046c [build] Updated valgrind suppressions 2017-06-22 13:33:16 -07:00
Minh Nguyễn
50922433cd [ios, macos] Updated changelogs
Also corrected the version number in the macOS changelog.
2017-06-22 12:28:35 -07:00