Commit Graph

10678 Commits

Author SHA1 Message Date
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
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
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
Jason Wray
361dda25a6 [ios, macos] Fix size and color of default marker image 2017-06-26 14:56:21 -04: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
Fabian Guerra
3e40cab22d [ios] Update pods spec for iOS v3.6.0-rc.1 2017-06-22 16:39:04 -04: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
Minh Nguyễn
5b4f8fd822 [ios] Updated German localization 2017-06-22 12:24:42 -07:00
Minh Nguyễn
9436eca1d4 [ios] Added Hungarian localization from Transifex 2017-06-22 12:24:42 -07:00
Minh Nguyễn
eedd0553b4 [ios] Allow delegate to keep wandering pinch from panning map
MGLMapView consults MGLMapViewDelegate about whether to zoom the map in response to a pinch gesture, but it should also account for the delegate’s response when panning the map due to the pinch’s center point wandering.

Fixes #9168.
2017-06-22 12:17:17 -07:00
Fabian Guerra Soto
a1c5b32da6 Boxing ObjC structs (#9343)
* [ios, macos] Make structs boxable

* [ios, macos] Update changelogs.
2017-06-22 14:36:21 -04:00
Minh Nguyễn
b7ec96d352 [ios, macos] Corrected MGLSource subclassing documentation 2017-06-22 09:58:47 -07:00
Minh Nguyễn
2a5dc2d55b [ios, macos] Rewrote MGLStyle class documentation
The documentation comment now provides a high-level overview of the runtime styling API and its components, as well as the main workflow for using a style.
2017-06-22 09:58:47 -07:00
Romain Quidet
d3730241bb 7910: cancel tracking if ongoing animation is stopped manually (#7916)
* 7910: cancel tracking if ongoing animation is stopped manually

* 7910 updating change log

* [ios] Fix map camera animation when a significant change occurs

* [ios] Update cancel tracking documentation.
2017-06-22 06:50:09 -07:00
John Firebaugh
72e71658bc [build] Unbreak Travis 2017-06-21 14:19:31 -07:00
Tobrun
d47eab05f6 [android] - restore LatLngBounds conversion, add regression test (#9324) 2017-06-21 15:43:02 +02:00
Tobrun
651e70aec7 [android] - update CHANGELOG for release 5.1.0-beta.5 (#9316) 2017-06-21 09:14:11 +02:00
Antonio Zugaldia
584bfb7733 [android] update mapboxServicesVersion to 2.1.2 (#9311) 2017-06-20 16:21:31 -04:00
Tobrun
a9f52e24e6 Revisit Javadoc for 5.1.0 (#9266)
* [android] - revisit public API javadoc

* [android] fix javadoc minor mistakes and typos

* grammar tweak

* add missing public javadoc
2017-06-20 09:48:24 -04:00
Antonio Zugaldia
899d2b0de9 [android] Update to LOST 3.0.1 (#9302) 2017-06-20 08:59:15 -04:00
Pablo Guardiola
78426f1423 fix trackball long press timeout calling the main thread method on a background thread (#9305) 2017-06-20 10:01:02 +02:00
Pablo Guardiola
985ff4cc18 [android] fix pulse marker view options parcelable creator (#9283) 2017-06-20 09:24:43 +02:00
Pablo Guardiola
20cb791b4c [android] fix custom marker views anchor issue (#9282) 2017-06-20 09:24:07 +02:00
Tobrun
399c0071f8 Validate camera position before transforming (#9275)
* [android] - add camera position validation before transforming

* annotate CameraUpdate with nullability
2017-06-20 09:17:09 +02:00
Tobrun
78322a3f16 [android] - update activity test generation with newest classes, make FillExtrusionActivity conform to generated activity test setup. (#9276) 2017-06-20 09:16:55 +02:00
John Firebaugh
f6bfa078af [core] Trigger repaint on source changes 2017-06-19 16:58:47 -07:00
Jesse Bounds
505999a52d [ios] Update telemetry cert pinning (#9292) 2017-06-19 09:34:44 -10:00
John Firebaugh
1de8aeed31 [core] Fix composite function approximation for non-integer stops 2017-06-19 09:15:08 -07:00
Minh Nguyễn
8699bcdbf0 [ios, macos] Updated changelogs 2017-06-16 11:55:12 -07:00
Fabian Guerra
6a781414c6 [ios] Update pods spec for iOS v3.6.0-beta.3 2017-06-16 11:03:49 -07:00
Fabian Guerra Soto
67c09b18e4 MGLLight autogenerate scripts (#9260)
* [ios, macos] Add the MGLLight generation templates

* [ios, macos] Add MGLLight generation script

* [ios, macos] Add the auto-generation script for MGLLight.mm

* [ios, macos] Add the auto-generation script for MGLLightTest.mm

* [core] Add const to Position constructor.

* [ios, macos] Simplify MGLLightTest.mm autogenerate script.
2017-06-16 06:41:51 -07:00
Jason Wray
6cba15f3a9 [ios] Remove old Fabric build infrastructure 2017-06-14 17:36:51 -04:00
Jordan Kiley
df3af97389 [ios, macos] Revised descriptions for abstract classes (#9095)
Addresses https://github.com/mapbox/mapbox-gl-native/issues/8635
2017-06-14 11:26:34 -07:00
John Firebaugh
d27740650b [core] Don't upload the FrameHistory texture in frames where it's not changing 2017-06-14 11:13:43 -07:00
John Firebaugh
d618d4a274 [core] Dynamic program compilation for data-driven properties 2017-06-14 11:13:43 -07:00
John Firebaugh
212ae5273d [core] cleanup ProgramParameters 2017-06-14 11:13:43 -07:00
Konstantin Käfer
a64828218a [core] add constant DDS values as uniforms 2017-06-14 11:13:43 -07:00
Konstantin Käfer
cf85873f36 [core] add uniforms to DataDrivenPaintPropertys 2017-06-14 11:13:43 -07:00
Konstantin Käfer
b141707b8d [core] add shader defines for enabling/disabling attributes/uniforms for DDS 2017-06-14 11:13:43 -07:00
Konstantin Käfer
eaa8f23672 [core] only bind uniforms that exist in the program 2017-06-14 11:13:43 -07:00
Konstantin Käfer
951f599706 [core] store vertex attribute binding to prevent duplicate binds
We have an "oldBinding" value that we use for checking whether the vertex attribute was already
bound to the current VAO, but we never set the state. Additionally, we're also checking whether
the previous state was already any binding (optional is set), and don't re-enable the vertex
attribute array. Additionally, we now only disable the vertex attribute array when the previous
state was in fact an array attribute. We still don't deduplicate constant glVertexAttrib* calls,
but that's a little trickier.
2017-06-14 11:13:43 -07:00
John Firebaugh
441b80d574 [core] Reduce number of varyings to 8 or less
For #pragmas, don't generate varyings for attributes that aren't used by the fragment shader. Pack other varyings more tightly.
2017-06-14 11:13:43 -07:00
Tobrun
7bfcce0266 Cherry pick release (#9263)
* [core] - bump earcut version dependency to handle  unused lamba warning (#9242)

* [android] - snapshot bitmap contains view based content (#9252)
2017-06-14 14:34:03 +02:00
Tobrun
0c275ad6fa [android] - correct source changed map event javadoc (#9243) 2017-06-13 12:43:48 +02:00