Commit Graph

10945 Commits

Author SHA1 Message Date
Tobrun
950ab7eb8a [android] - add Map change & visibility test activities (#9425) 2017-07-07 10:36:46 +02:00
Łukasz Paczos
721557bba2 [android] - map's visible region fix #9427 (#9428) 2017-07-06 21:05:04 +02:00
Tobrun
957829e8c4 [android] - validate if platform implementation doesn't return a null motion event (#9434) 2017-07-06 21:04:30 +02:00
Minh Nguyễn
2fe3dd64c0 [core] Updated script detection for Unicode 10
Updated script detection code to reflect changes in Unicode 10 and UTR 50 revision 17.
2017-07-06 11:50:03 -07:00
Ivo van Dongen
9ba3dc9249 [build] add node-benchmark target and xcode scheme 2017-07-06 21:27:40 +03:00
Chris Loer
d5fbcb242a [core] Implement circle-pitch-alignment property
Closes issue #9349.
2017-07-06 09:39:26 -07:00
Chris Loer
3800edb133 [core] Bump mapbox-gl-js to get updated circle shader. 2017-07-06 09:39:26 -07:00
Bruno de Oliveira Abinader
06a0c4ad15 [test] Added bucket feature insertion tests 2017-07-06 16:17:58 +03:00
Bruno de Oliveira Abinader
0395271b9d [test] Reuse StubGeometryTileFeature in MergeLines 2017-07-06 16:17:58 +03:00
Bruno de Oliveira Abinader
a1ed9f8794 [core] Don't upload empty buckets 2017-07-06 16:17:58 +03:00
John Firebaugh
754d2f377a [core] make{Glyph,Image}Atlas only once for any number of symbol layers 2017-07-06 05:28:37 -07:00
Konstantin Käfer
af22fcd181 [core] point status badges to Circle CI 2017-07-06 13:17:10 +02:00
Konstantin Käfer
e5e9e0cf21 [build] remove .travis.yml to avoid triggering builds that we don't use 2017-07-06 13:17:10 +02:00
Konstantin Käfer
64a827c325 [core] rename getStencils() to getClipIDs() to better reflect what it actually does 2017-07-06 12:32:54 +02:00
Konstantin Käfer
107622a72b [core] don't use unordered_* collections for things we need to sort anyway 2017-07-06 12:32:54 +02:00
Konstantin Käfer
6d526c7b1d [core] refactor ClipID generation 2017-07-06 12:32:54 +02:00
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