John Firebaugh
d5c2920104
[core] Extract and de-templatize several Program static methods
2017-03-09 10:32:34 -08:00
John Firebaugh
af75736857
[core] Avoid unnecessary convert template instantiations
2017-03-09 10:31:21 -08:00
Konstantin Käfer
86ea1e3ac3
[darwin] Use explicit initialization rather than global static variables for the default RunLoop
...
When linking Mapbox GL as a static library, the object file (MGLFoundation.o) containing the global static variable initialization was not linked into the resulting binary since it was not referenced. This resulted in the RunLoop not being initialized in the main thread.
Reverts 03a14ff000
2017-03-09 10:07:36 -08:00
Konstantin Käfer
c880560f80
[build] require Android r13b
...
We're trying to use a local NDK, but in case it is too old or too new, we fall back to downloading the correct version via Mason, like in the olden times.
2017-03-08 17:41:33 -08:00
John Firebaugh
65f74224ab
Merge master into release-ios-v3.5.0-android-v5.0.0
2017-03-08 17:31:03 -08:00
John Firebaugh
e044e0aab9
[core] Avoid using std::function in property_setter.hpp
2017-03-08 16:50:28 -08:00
Molly Lloyd
692f5e0a9f
Pack min + max into one attribute 💪
...
Some devices supported by Mapbox GL provide only 8 vertex attributes; this change packs existing attributes to get us just under that limit.
For properties using a composite function, pack the min and max values into a single attribute with two logical components instead of using two separate attributes and buffers. Special logic is included for color attributes, whose integer components must be packed into the available bits of floating-point attributes. (We don't have access to ivec types in GL ES 2.0.)
For source functions, continue to bind just a one-component attribute even though the GLSL type is vec2 (or vec4 for colors). The type-checking done by gl::Attribute is relaxed slightly to accommodate this.
2017-03-08 15:23:25 -08:00
Tobrun
e115d55ef6
MyLocationView activate/deactivate LocationSource ( #8255 )
...
* [android] - activate/deactivate the locationSource when toggling the MyLocationView state.
* correct accuracy width
2017-03-08 15:01:15 -08:00
John Firebaugh
3afae825c7
Use ICU compiled with -Os
2017-03-08 14:05:19 -08:00
John Firebaugh
b83b14feb0
[core] De-duplicate shader prelude source
2017-03-08 13:49:24 -08:00
Fabian Guerra Soto
05dd34f584
[ios, macos] Removed duplicated NSDate test files, improved duration converstion for NSDate+MGLAdditions ( #8290 )
2017-03-08 13:15:52 -08:00
John Firebaugh
84aac92b4e
[test] Increase memory test ceiling slightly
2017-03-08 13:10:38 -08:00
Konstantin Käfer
a517323bfc
[build] increase binary size log duration to 60 days
2017-03-08 13:10:04 -08:00
Tobrun
ffa78e2545
[android] - don't disable tracking when animation the camera bearing. ( #8279 )
2017-03-08 09:39:20 -08:00
Anand Thakker
bb846fd6cd
For data-driven paint setters, transition immediately to target value ( #8306 )
...
Closes #8237
2017-03-08 11:53:44 -05:00
Minh Nguyễn
85f0eeff34
[ios, macos] Russian, Catalan, Lithuanian, Finnish, Dutch ( #8256 )
...
* [ios, macos] Updated Russian translations
* [ios, macos] Added Catalan translation
* [ios, macos] Completed Lithuanian translation
* [ios, macos] Added Finnish translation
* [ios, macos] Fixed Polish, Ukrainian declension
* [ios, macos] Updated changelogs
* [ios, macos] Added Dutch localization
2017-03-08 02:43:33 -08:00
Ivo van Dongen
f591421aaa
[macos] add missing method declarations for visibleFeaturesX
2017-03-07 18:23:32 -08:00
Jordan Kiley
ece19acd10
[ios, macos] Added a timing note for two delegate methods ( #8259 )
2017-03-07 17:39:42 -08:00
Jason Wray
a6bbf09fa6
[ios] Add version checker update to deploy script
2017-03-07 10:47:29 -08:00
Jason Wray
5e36743ef7
[ios] Add SDK version update checking/notification
2017-03-07 10:43:08 -08:00
Ivo van Dongen
732cd8d20a
[android] use PropertyValue for default values in functions
2017-03-07 09:48:12 -08:00
Ivo van Dongen
0da6d8a646
[core] clear source when removed from style
2017-03-06 18:04:22 -08:00
Bruno de Oliveira Abinader
84f69bfcc0
Update README.md
...
Fix patch typo.
2017-03-06 13:47:01 -08:00
Thiago Marcos P. Santos
2b7319d529
[Qt] Remove the QML app
...
We are now on Qt 5.9 and this is where the plugin will be developed
from now on.
2017-03-06 11:40:05 -08:00
Ivo van Dongen
b5d0a661c5
[android] Add support for queryRenderedFeatures filter
2017-03-04 15:42:07 -08:00
Ivo van Dongen
161ae804c2
[ios, macos] Add support for queryRenderedFeatures filter
2017-03-04 15:42:07 -08:00
Asheem Mamoowala
60d10dd27d
[core] Add support for queryRenderedFeatures filter
2017-03-04 15:42:07 -08:00
Minh Nguyễn
ac4e13416a
[core] Enable debug events in Debug configuration
2017-03-04 12:48:33 -08:00
Tobrun
328d4f6672
[android] - example on converting an Android SDK view to a Bitmap to be used as SymbolAnnotation ( #8258 )
2017-03-04 15:43:39 -05:00
Minh Nguyễn
7e9701283f
[ios, macos] Update callout when relocating annotation
...
When relocating a selected point annotation, update the associated callout (popover) rather than deselecting the annotation.
2017-03-03 22:09:41 -08:00
Nadia Barbosa
9ea4113634
[ios] Clarify docs for MGLUserTrackingMode
2017-03-03 18:59:30 -08:00
Nadia Barbosa
4d058ffd94
[ios, macos] Exclude MGLUserTrackingMode from macOS
2017-03-03 18:59:30 -08:00
Thiago Marcos P. Santos
f6cd017f58
[Qt] Remove legacy QOpenGL dependency from Qt5 build
...
OpenGL on Qt5 is offered via QtGui.
2017-03-03 17:28:07 -08:00
Fabian Guerra Soto
1f1cc131ea
[ios] Fixed conversion between Duration and NSTimeInerval ( #8276 )
2017-03-03 20:11:06 -05:00
Tobrun
a5f6ee6963
[android] - update gradle and plugin for Android Studio 2.3 stable, update support library to latest version, add dexOptions to increase build times. ( #8271 )
2017-03-03 17:36:40 -05:00
Minh Nguyễn
8f892757b5
[macos] Document Carthage, CocoaPods installation
2017-03-03 13:30:28 -08:00
Minh Nguyễn
e15db9bb6a
[ios] Split out changelog Packaging section
2017-03-03 13:30:22 -08:00
Jason Wray
d31df7c4f6
[ios] Added basic notes about using Carthage
2017-03-03 13:29:48 -08:00
Jesse Bounds
4e074aa4db
[ios, macos] Alias MGLStyleConstantValue to MGLConstantStyleValue
2017-03-03 09:10:31 -08:00
Jesse Bounds
d25e2c772d
[ios, macos] Rename MGLStyleConstantValue to MGLConstantStyleValue
2017-03-03 09:10:31 -08:00
John Firebaugh
8742dc852c
[all] Build all release builds with -Os
2017-03-02 16:32:42 -08:00
Fabian Guerra Soto
8a5cc3560a
[ios] MGLAnnotationView annotation property made writable ( #8139 )
2017-03-02 18:19:23 -05:00
John Firebaugh
e1c85e8ec3
[core] const-correction
2017-03-02 14:36:30 -08:00
John Firebaugh
a7b7f3d442
[core] Fix whitespace; no need for explicit on multi-parameter constructors
2017-03-02 14:36:30 -08:00
Bruno de Oliveira Abinader
c461dad5ee
[core] Safeguard ICU UChar usage
2017-03-02 11:40:42 -08:00
Antonio Zugaldia
f1e3c32f7e
Updates version name and CHANGELOG after 5.0.0-beta.2 release ( #8254 )
...
* go back to 5.0.0-SNAPSHOT
* update changelog
2017-03-02 09:58:11 -05:00
Konstantin Käfer
0c3521d46c
[core] privatize OffscreenTexture implementation
2017-03-01 17:25:22 -08:00
Jesse Bounds
968bb369c9
[ios] Use curl to verify that a release is not published
...
The previous incantation is now failing due to redirects. Getting only
the headers from curl and checkin the first line works reliably.
2017-03-01 16:12:03 -08:00
Jesse Bounds
4705019ae3
[ios] Update podspec version for 3.5.0 beta.2
2017-03-01 14:55:23 -08:00
Tobrun
ef82095a21
[android] - add accessibility support to the Android SDK by applying content descriptions on Views overlain on the map. ( #8230 )
2017-03-01 17:07:01 -05:00