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
Fabian Guerra
87a05b29c9
[ios, macos] Fix MGLSphericalPosition.radial misleading type.
2017-06-12 15:17:02 -04:00
Tobrun
e59766f4e8
[android] - run MapboxMap invocations to ui thread for instrumentation tests ( #9198 )
2017-06-12 11:02:36 +02:00
Tobrun
294f4f8df9
[android] - update changelog for v5.1.0-beta.4 ( #9232 )
2017-06-09 15:47:21 +02:00
Tobrun
6ec5e4f8cd
Cherry picks to release branch ( #9230 )
...
* [ios][macos] test remove source in use
* [android] test remove source in use
* [core] check source usage before remove
* [core] ensure layer::accept works with non-void return values on gcc
* [android] - remove upgrade runtime exceptions (#9191 )
2017-06-09 12:05:54 +02:00
Tobrun
fa972fad60
[android] - update components with camera values when animating ( #9174 )
2017-06-09 11:11:33 +02:00
Tobrun
9f88e37366
Custom location source fix ( #9142 )
...
* [android] - custom location engine fixes (#9139 )
* Update to latest LOST dependency, fixup internal location source integration
2017-06-09 10:00:00 +02:00
Tobrun
233117fe57
[android] - invalidating MyLocationView bearing when not following position ( #9212 )
2017-06-08 08:44:29 +02:00
Łukasz Paczos
78eca869ae
[android] - option to disable camera animation while following position ( #9210 )
2017-06-07 18:02:28 +02:00
Tobrun
ae837f4db2
[android] - remove conversion from pixels to dp ( #9205 )
2017-06-07 12:41:30 +02:00
Ansis Brammanis
facc3d54a0
fix #8300 flyTo for close points
...
The isClose threshold is switched from 0.000001 pixels to 1 pixel.
As a backup, it checks whether r0 and r1 are finite. It might be
possible to have just the threshold check or just the finiteness check,
but I don't see the harm in having both.
std::abs(w0 - w1) < 0.000001 is removed because it doesn't look like
it's needed. All calculations should run fine even if w0 === w1.
Finally, the point interpolation is tweaked so that at the end of the
flying (when k === 1) it ends up at the exact end point. I didn't see
any bugs related to this, but it seems like a good thing to have
explicitly.
2017-06-06 14:13:31 -07:00
Łukasz Paczos
45327b6ac4
[android] - keep location tracking mode after screen rotation ( #9187 )
...
* [android] - keep location tracking mode after screen rotation (#9186 )
* [android] - using easeCamera to keep location tracking instead of overloaded moveCamera (#9187 )
* [android] - checkstyle fix up
2017-06-06 21:09:20 +02:00
Łukasz Paczos
a1f8de6679
[android] - dealing with infinite camera move callbacks ( #9177 ) ( #9194 )
2017-06-06 12:15:21 +02:00
Tobrun
ef7b3552b5
[android] - only invoke callback if fling scrolling animation isn't going to be ignored. ( #9192 )
2017-06-06 12:13:56 +02:00
Tobrun
da53200704
[android] - validate if gestures should execute ( #9173 )
2017-06-02 12:39:35 +02:00
Fabian Guerra
3b837d93ad
Merge branch 'release-ios-v3.6.0-android-v5.1.0' of github.com:mapbox/mapbox-gl-native into release-ios-v3.6.0-android-v5.1.0
2017-06-01 14:32:09 -04:00
Jesse Bounds
012e88cc9b
[ios] Make annotation view rotation alignment configurable ( #9147 )
...
This commit adds `rotatesWithMap` property on `MGLAnnotationView`. This
property, when set to `YES` fixes the annotation to a map such that view
follows map's rotation angle. This is useful when user wants to display
rotation-dependent annotations (e.g. sector lights).
2017-06-01 10:53:02 -07:00
Bruno de Oliveira Abinader
0d171dbe0e
[core] Make TransformState LatLngBounds optional
2017-06-01 13:46:53 -04:00
Pablo Guardiola
b2f277ac62
add null check in custom location engine activity to prevent null pointer exception ( #9159 )
2017-06-01 14:10:18 +02:00
Pablo Guardiola
52eba423ae
[android] Cherry picking 9133 ( #9145 )
...
* [android] Fix tracking mode + camera race condition (#9133 )
* [android] fix tracking mode + camera race condition
* fix resetTrackingModesIfRequired bug (comparing current camera position with target camera position
* cherry pick #9133 and update CHANGELOG
* add null check to prevent null pointer exception
2017-06-01 10:05:31 +02:00
Fabian Guerra
af2547776a
[ios] Update pods spec for iOS v3.6.0-beta.2
2017-05-31 14:35:01 -04:00
Pablo Guardiola
b6a4f1212c
[android] fix missing access token variable issue ( #9151 )
2017-05-31 12:59:01 +02:00
Tobrun
83df8a8621
[android] - javadoc update for 5.1.0 release ( #9138 )
...
* [android] - javadoc update for 5.1.0 release
* oxford comma
* Grammar/spelling tweaks
* grammar tweak
* grammar tweak
* Grammar tweaks
* Grammar tweaks
2017-05-31 09:46:12 +02:00
Minh Nguyễn
a39116a552
Migrate to GL JS–powered feedback form ( #9078 )
...
* [ios, macos] Updated feedback URL
* [ios, macos] Add referrer, heading, pitch to feedback URL
* [ios, macos] Updated changelogs for feedback changes
* [ios] Vary referrer by platform
2017-05-30 15:14:00 -07:00
Fredrik Karlsson
608fd66ab8
[ios] remove layout guide observers
2017-05-30 13:47:51 -07:00
Jesse Bounds
7b85bcccae
[ios] Remove filter of single metric event
2017-05-30 13:38:08 -07:00
Tobrun
fc495dec12
[android] - harden orientation changes ( #9128 )
2017-05-30 16:56:19 +02:00
Tobrun
40a73b390b
Release Android v5.1.0-beta.3 ( #9115 )
...
* [android] - Changelog update for Android release v5.1.0-beta.3
* update CI & version
* reset release properties
2017-05-26 22:08:54 +02:00