Pablo Guardiola
7a66ec6c5e
refactor signature from Hole to List<LatLng> ( #8722 )
2017-04-12 17:45:33 +02:00
Fabian Guerra
12b6fdbe3b
Merge branch 'release-ios-v3.5.0-android-v5.0.0' into boundsj-merge-release-branch
...
# Conflicts:
# cmake/core-files.cmake
# mapbox-gl-js
# platform/android/CHANGELOG.md
# platform/ios/CHANGELOG.md
# platform/macos/CHANGELOG.md
# platform/qt/bitrise-qt5.yml
# src/mbgl/gl/attribute.hpp
# src/mbgl/gl/context.cpp
# src/mbgl/gl/program.hpp
# src/mbgl/map/map.cpp
# src/mbgl/programs/program.hpp
# src/mbgl/renderer/painter.cpp
2017-04-11 21:46:23 -04:00
Minh Nguyễn
0cb05f926b
[ios, macos] Clarify redrawing based on multipoint mutation
...
Clarified the documentation for various MGLMultiPoint methods to indicate that only shape annotations automatically redraw in response to the multipoint object being mutated; sources must be mutated explicitly.
2017-04-11 16:40:18 -07:00
John Firebaugh
62576e24a0
[core] Revert use of optional<EdgeInsets>, because EdgeInsets has a natural "empty" state
2017-04-11 14:50:22 -07:00
Pablo Guardiola
b71d86599d
[android] Polygon holes ( #8557 )
...
* add 1 hole support to polygon-related classes
* fix no hole crash and add triangle hole shape example
* add support for multiple holes
2017-04-11 19:10:46 +02:00
Konstantin Käfer
1d33bf774f
[android] add second pipe character to fix errors detecting nodejs
2017-04-11 17:03:11 +02:00
David Chiles
10c6f1fe4f
[ios] Match gesture recognizer with map view user interaction state
2017-04-11 07:33:22 -07:00
Bruno de Oliveira Abinader
c4fc89977b
[core] Added {set,get}{Min,Max}Pitch
2017-04-11 12:51:09 +03:00
Bruno de Oliveira Abinader
c1c6c1e298
[core] Added Map::{get,set}LatLngBounds
2017-04-11 12:51:09 +03:00
Bruno de Oliveira Abinader
bc7f6da135
[core] Added LatLngBounds::{valid,constrain}
2017-04-11 12:51:09 +03:00
Bruno de Oliveira Abinader
ddc6dcf9cd
[core] Move {Map,Transform}::{get,set}{Min,Max}Zoom to bounds pragma
2017-04-11 12:51:09 +03:00
Minh Nguyễn
6a0c4e0142
[macos] Remove link attribute from attribution text
...
Fixed an issue causing the attribution button text to appear blue instead of black. On macOS 10.12 and above, hyperlinks in attributed strings are blue regardless of any color attributes applied to the same run of text.
2017-04-10 22:06:36 -07:00
Tobrun
d7f9378bca
[android] - avoid nullpointer by validating Mapbox.java creation when validating accessTokens. ( #8680 )
2017-04-11 00:44:18 +02:00
Minh Nguyễn
6b29b2bde6
[qt] Avoid hardcoding Qt cellar path
2017-04-10 14:43:13 -07:00
Konstantin Käfer
6588f405a4
[android] Run Firebase on Circle CI + publish binary metrics
2017-04-10 20:39:10 +02:00
Bruno de Oliveira Abinader
a9e09c710e
[ios, macos] MGLMapView size check for OpenGL 2.0 ES minimum texture size
2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
3ad527a59d
[android] Recalculate source tile cache size when appropiate
2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
f1bcca1465
[android] Initialize NativeMapView with OpenGL ES 2.0 minimum texture size
2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
2417d13f08
[ios] Initialize MGLMapView with OpenGL ES 2.0 minimum texture size
2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
b25c8f043b
[Qt] Sanitize QSize → mbgl::Size conversion
2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
e5aa4d70cd
[core] Updated Size::isEmpty and TransformState::valid checks
2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
76edc6ee69
[build] Use 'nodejs' if 'node' is not found in android-configuration
2017-04-10 15:20:17 +03:00
Pablo Guardiola
df22b614af
add compass drawable initialization in ui settings ( #8695 )
2017-04-10 12:47:07 +02:00
Minh Nguyễn
4d0605a004
[qt] Renamed qt5 formula to qt
...
Cherry-picked from 3172a9744f .
2017-04-08 19:58:01 -07:00
Minh Nguyễn
3172a9744f
[qt] Renamed qt5 formula to qt
2017-04-08 15:55:10 -07:00
Minh Nguyễn
b16d6bfcf6
macos-v0.4.1
2017-04-08 11:46:58 -07:00
Jason Wray
acfa49dd9f
[ios] Update podspecs and changelog for v3.5.2
2017-04-07 19:23:04 -04:00
Jesse Bounds
03d10bb67a
[ios, macos] Guard against looking up annotation contexts MGLAnnotationTagNotFound ( #8686 )
2017-04-07 15:23:39 -07:00
John Firebaugh
5e53d0586f
[core] Invalidate cached tiles of disabled sources on relayout
2017-04-07 11:04:19 -07:00
Bobby Sudekum
0e72fc4ec3
[node] Calculate image buffer and length once ( #8673 )
2017-04-07 10:23:31 -07:00
Tobrun
62355bc860
[android] - disable building x86-64 on CI for snapshot builds ( #8679 )
...
* [android] - disable building x86-64 on CI for scheduled workflow. Broken with NDK14.
* corrected abis flag for gradle invocation
* add mips 64
2017-04-07 19:01:22 +02:00
Thiago Marcos P. Santos
6c3c421119
[Qt] Fix build when zlib is compiled with -DZ_PREFIX
...
Proper fix this time.
2017-04-07 17:12:28 +03:00
John Firebaugh
e05a6bb3d5
[core] Inline GlyphPBF into GlyphAtlas
2017-04-06 12:46:06 -07:00
John Firebaugh
5621a08f89
[core] Test glyph PBF parsing independently of GlyphAtlas
2017-04-06 12:46:06 -07:00
Anand Thakker
693c9f3641
[core] Add DDS support for {text,icon}-size ( #8593 )
...
* Update gl-js and generate style code
* Factor out packUint8Pair() helper function
* Draft implementation of DDS for {text,icon}-size
Ports https://github.com/mapbox/mapbox-gl-js/pull/4455
* Fix text-size/composite-function-line-placement test
* Refactor to PaintPropertyBinders-like strategy
* Dedupe gl::Program construction
* Use exponential function base for interpolation
* Dedupe coveringZoomStops method
* Fixup tests
* Fix CI errors (hidden within #if block)
2017-04-06 15:29:59 -04:00
Antonio Zugaldia
f9cc044357
[android] Update LOST to latest version
2017-04-06 13:41:53 -04:00
Konstantin Käfer
a33e62f5db
[ios] expose link flags via mbgl-core target
2017-04-06 18:31:34 +02:00
Konstantin Käfer
e26308f1b9
[macos] expose link flags via mbgl-core target
2017-04-06 18:31:34 +02:00
Minh Nguyễn
8382420314
[ios, macos] Fail gracefully on invalid coordinates
...
Invalid coordinates no longer cause an exception to be raised immediately when used in conversion methods and model objects. Instead, the appropriate invalid values are used, consistent with MapKit. Exceptions are still raised when invalid model objects are used with the map.
2017-04-06 09:22:51 -07:00
Minh Nguyễn
ab6185fdc3
[ios, macos] Streamlined coordinate validation
...
Replaced preflight checks in MGLLatLngFromLocationCoordinate2D() with a try-catch block that relays exceptions raised by mbgl. De-inlined the function because it’s no longer trivial.
2017-04-06 09:22:51 -07:00
John Firebaugh
16a2839e23
[all] Make LatLng coordinates read-only
2017-04-06 09:22:51 -07:00
John Firebaugh
a261f7ff53
[android] Preflight argument validity before constructing LatLng
2017-04-06 09:22:51 -07:00
John Firebaugh
e6122d9bf0
[darwin] Preflight argument validity before constructing mbgl::LatLng
2017-04-06 09:22:51 -07:00
John Firebaugh
391a10db0e
[darwin] Use MGLLatLngFromLocationCoordinate2D where appropriate
2017-04-06 09:22:51 -07:00
John Firebaugh
0314a46ee4
[core] Tighten LatLng and other geo.hpp classes
...
* Remove LatLng::null and enforce invariants
* Remove unnecessary operator bool()
2017-04-06 09:22:51 -07:00
John Firebaugh
56ea87357a
[darwin] Fix invalid coordinates in MGLShapeSource tests
2017-04-06 09:22:51 -07:00
Bruno de Oliveira Abinader
d7c431f942
[Qt] Fix typo in gl.hpp
2017-04-06 15:14:10 +03:00
Jason Wray
371919555f
[ios] Update podspecs and changelog for v3.5.1
2017-04-05 20:37:06 -04:00
Minh Nguyễn
d39ea23b09
[ios, macos] Hardened std::map usage in MGLMapVIew
...
Replaced std::map::operator[] usage with std::map::at(). Backed up an assertion on iOS with a guard when -annotationTagsInRect: returns the tag of a nonexistent annotation, for consistency with macOS. Removed an unnecessary and risky subscript into _annotationContextsByAnnotationTag in -positioningRectForCalloutForAnnotationWithTag: on iOS.
2017-04-05 14:56:06 -07:00
Konstantin Käfer
6fcac0f580
[core] always create a pixelbuffer surface in the EGL backend
...
We need a surface to activate a context. Some implementation don't seem to error when passing EGL_NO_SURFACE, but it doesn't seem standards compliant.
2017-04-05 23:05:46 +02:00