summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Return an invalid `coordinate` when `location` is nilupstream/9639-ianthetechie-cllocation-nilJason Wray2017-07-313-3/+6
| | | | | | With _location no longer initialized to an invalid coordinate, trying to access `_location.coordinate` when `_location == nil` will return `0, 0`, which is a valid coordinate.
* Don't initialize _location to anything at allJason Wray2017-07-311-1/+0
| | | | No need to explicitly initialize to `nil`.
* Set location to nil until the user's location is determinedIan Wagner2017-07-311-1/+1
| | | The documentation for the `location` property states that "This property contains `nil` if the map view is not currently showing the user location or if the user’s location has not yet been determined." The iOS SDK presently returns a garbage value, which has some rather annoying consequences when the value should logically be nullable. This change should rectify the issue.
* [ios] Bump podspec to 3.6.1ios-v3.6.1Fabian Guerra2017-07-283-3/+3
|
* [ios] tilt gesture type fix (#9642)Fabian Guerra Soto2017-07-282-5/+6
| | | | | | * [ios] Change function:angleBetweenPoints return type * [ios] Update changelog
* [android] fix compass direction (Transform::getCameraOptions returns ↵Pablo Guardiola2017-07-281-1/+2
| | | | counterclockwise angle after transform.invalidateCameraPosition() which needs to be transformed to a clockwise bearing) (#9632)
* [android] - build snapshots from release branch for v5.1.2Tobrun Van Nuland2017-07-282-2/+2
|
* [android] - don't query for shape annotations if none were addedTobrun Van Nuland2017-07-281-4/+6
|
* [android] fix added to map checks because LongSparseArray#indexOfKey could ↵Pablo Guardiola2017-07-281-1/+1
| | | | return a negative number when the specified key is not mapped (#9602)
* [android] - validate Marker before opening InfoWindowTobrun Van Nuland2017-07-281-7/+2
|
* [android] - harden click handling of shape annotationsTobrun Van Nuland2017-07-281-4/+18
|
* [android] fix geojson source proguard issue (#9569) (#9577)Pablo Guardiola2017-07-281-1/+2
|
* [ios] Make tilt gesture recognizer recognizable only with two horizontal ↵Fabian Guerra Soto2017-07-271-33/+48
| | | | | | | | fingers (#9571) * [ios] Make tilt gesture recognizer recognizable only with two horizontal fingers * [ios] Make tilt gesture recognizer tolerance degree less restrictive
* [ios] Proper limiting behavior when trying to zoom out fullydanielamitaysc2017-07-272-9/+8
| | | | | - Bail from quick zoom if new zoom is same as old zoom - Allow pinch gesture at minZoom to still move the map
* [android] Disable program caching on Adreno 3xx, 4xx, and 5xx GPUs due to ↵Antonio Zugaldia2017-07-271-1/+15
| | | | known bugs (#9625)
* [build] Include bcsymbolmap files in iOS dynamic framework packageupstream/fb-bcsymbolmapJason Wray2017-07-262-0/+5
|
* [build] Remove unused iOS 'self contained' static framework packagingJason Wray2017-07-251-24/+10
| | | | This was a faux framework once required by Fabric.
* [ios] Don't force the attribution button tint color to updateupstream/fb-attribution-tint-unforceningJason Wray2017-07-242-2/+5
|
* update release configandroid-v5.1.1Tobrun Van Nuland2017-07-212-2/+2
|
* [core] Work around Adreno 2xx GPU bugs (#9573)John Firebaugh2017-07-211-0/+7
|
* [android] - update change log, fix typo public xmlTobrun Van Nuland2017-07-212-1/+5
|
* [android] - increase touch target to match largest Marker icon (#9565)Tobrun2017-07-212-27/+27
|
* [android] - manage InfoWindow selection in AnnotationManager (#9567)Tobrun2017-07-211-5/+0
|
* [android] - update changelog for 5.1.1Tobrun Van Nuland2017-07-211-0/+10
|
* [android] - add OnPolygonClickListener and OnPolylineClickListener (#9443)Tobrun2017-07-214-10/+164
|
* Hit test Marker and MarkerViews (#9424)Tobrun2017-07-214-74/+140
| | | | | | * [android] - hit test Marker and MarkerViews * fixup
* [android] - fine tune fling gesture (#9532)Tobrun2017-07-212-2/+2
|
* [android] - bump OkHttp dependency to avoid null pointer exceptions on ↵Tobrun2017-07-211-1/+1
| | | | Android 7.0 (#9522)
* [android] Fix my location drawable getting tinted (#9410)Pablo Guardiola2017-07-213-18/+44
| | | | | | * 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
* [android] - map's visible region fix #9427 (#9428)Łukasz Paczos2017-07-211-4/+4
|
* [android] - validate if platform implementation doesn't return a null motion ↵Tobrun2017-07-211-2/+6
| | | | event (#9434)
* [ios] Added Hungarian settings bundleMinh Nguyễn2017-07-192-0/+5
|
* [android, ios, macos] Updated French localizationMinh Nguyễn2017-07-196-1/+343
| | | | Updated French localization on iOS and macOS and added French localization on Android.
* [core] Revert conditional attribute bindingJohn Firebaugh2017-07-193-51/+9
| | | | Reverts eed89fcf9d099266aa793375ad63493e880f8a80, which causes issues on certain Android devices. We don't actually need this change on this branch, I brought it over only to make the subsequent commits cleanly cherry-pickable.
* [android] remove manual ref counting on activation/deactivationIvo van Dongen2017-07-192-9/+0
|
* [core] BackendScope prevent double (de-)activationIvo van Dongen2017-07-195-8/+150
| | | | | - Guards against duplicate activations by checking wether the backend of the prior scope is the same as the current ones - Makes sure that only the most outer backend scope deactivates by tracking activation state
* [android] Force previously cached program binaries to be regeneratedJohn Firebaugh2017-07-171-0/+1
|
* [core] Pass correct sources to programIdentifierJohn Firebaugh2017-07-171-10/+6
|
* [core] No need for optional in map of VertexArraysJohn Firebaugh2017-07-173-10/+9
|
* [core] Reduce memory requirements of VertexArraysJohn Firebaugh2017-07-174-12/+34
|
* [core] Per-segment-per-layer vertex arraysJohn Firebaugh2017-07-1713-26/+59
| | | | Reduces rebinding, matches gl-js, and works around the buggy VAO implementation on PowerVR SGX544 GPUs.
* [core] Rework attribute binding (again)John Firebaugh2017-07-1730-310/+369
| | | | | | | | | | These changes are necessary for programs whose set of active attributes is not fixed at compile time by a template parameter pack, but rather varies based on the generated shader text at runtime. In such cases, the attribute location of a given named attribute may vary between instances of the same Program. Previously, attribute bindings were implicitly associated with a location based on template parameter order, and -1 was used to indicate an inactive attribute. This left us unable to disable the appropriate attribute when it went from active to inactive. Now, the state tracker for bindings explicitly associates locations and state, and an empty optional is used to indicate an inactive attribute. In addition, a gl::VertexArray class is now exposed, allowing more flexibility in the relationship between Programs, Segments, and attribute bindings. In this commit, that relationship does not change, but the subsequent commit adjusts it to match gl-js, reduce rebinds, and work around buggy VAO implementations. VertexArray uses a pimpl idiom in order to support implementations that lack the VAO extension. In that case, all VertexArrays share global binding state, reflecting the platform reality in the absence of VAOs, while still providing a uniform API.
* [core] Inline getActiveAttributes detailsJohn Firebaugh2017-07-171-25/+11
|
* [core] Include what you useJohn Firebaugh2017-07-171-1/+1
|
* [core] Bind only active attributes in order to avoid exceeding attribute ↵Lauren Budorick2017-07-173-6/+64
| | | | | 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.
* [core] rename a_gap_width => a_gapwidth, u_gap_width => u_gapwidth to ↵Konstantin Käfer2017-07-173-3/+3
| | | | | | reflect naming in the shader not sure how this ever worked
* [core] Eliminate constant attribute bindingsJohn Firebaugh2017-07-176-229/+76
| | | | Rather than binding constant attributes that will never be used, just disable the attribute.
* [core] Don't use "current" icon/text-size when bindingJohn Firebaugh2017-07-172-17/+5
| | | | | | The current value is not passed to `SymbolSizeBinder::uniformValues`, so we shouldn't check `currentValue.isConstant()` in `SymbolSizeBinder::attributeBindings`. If it were true, then we might end up using attribute bindings that are appropriate only for a constant property, but uniform bindings that are appropriate only for a source or composite function. Instead, just wait for a new bucket to be generated. This will happen automatically, since icon/text-size are layout properties.
* [ios] Update changelog; kick-off 3.6.1upstream/fb-build-cherry-pickinJason Wray2017-07-131-1/+5
|
* [all] make default_styles header-onlyKonstantin Käfer2017-07-137-31/+8
|