Commit Graph

10142 Commits

Author SHA1 Message Date
John Firebaugh
bd05bcfe9f [core] Never join coincident start/end points of LineStrings 2017-03-14 09:31:59 -07:00
Pablo Guardiola
30c848b9d8 [android] add changing compass view image feature to the sdk (#8301) 2017-03-14 16:31:17 +01:00
Ivo van Dongen
96a53156c2 [core] don’t query rendered features until all data is available 2017-03-14 17:27:59 +02:00
John Firebaugh
78d6d07d57 [android] Link with a version script to restrict symbol visibility 2017-03-14 08:14:08 -07:00
Ivo van Dongen
e3cc5ddfdd [android] don’t crash on map changed callback when OnMapChangedListener throws a runtime exception 2017-03-14 14:58:20 +02:00
Thiago Marcos P. Santos
a0da2fb5d1 [build] Fix build when using a Z_PREFIX zlib
It will redefine mbgl::util::compress to mbgl::util::z_compress and
cause a link error. Aka pre-processor hell.
2017-03-14 11:18:55 +02:00
Jason Wray
bce352bd86 [ios] Add nightly build infrastructure 2017-03-10 19:19:59 -08:00
John Firebaugh
a0a69ad6a7 [node, glfw] Don't throw in destructor 2017-03-10 15:03:18 -08:00
John Firebaugh
b05e19b389 [node, glfw] Remove libuv 0.10 support 2017-03-10 15:03:18 -08:00
Konstantin Käfer
6fdcbb61a4 [build] add Makefile target for opening Android Studio project on macOS 2017-03-10 10:34:30 -08:00
Konstantin Käfer
3eaf984357 [android] upgrade to Android NDK r14 2017-03-10 10:00:06 -08:00
John Firebaugh
12b99f0085 [macos] Simplify bitrise.yml 2017-03-10 09:59:28 -08:00
John Firebaugh
6ceb0c832b [build] Remove custom bitrise 'skip ci' stuff (#8346) 2017-03-10 08:55:34 -08:00
John Firebaugh
3bfd1992a9 [linux, node] Build with clang 3.9 2017-03-09 17:32:24 -08:00
Dane Springmeyer
3a0abdd3a7 [test] Fix polygon construction to compile with clang 3.9.x 2017-03-09 17:32:24 -08:00
John Firebaugh
42ad77a888 [core] Avoid -Wundefined-var-template warnings with clang 3.9+ 2017-03-09 17:32:24 -08:00
Ivo van Dongen
b2b5f9e571 [android] query source features 2017-03-09 13:11:23 -08:00
Ivo van Dongen
12568f21a3 [macos, ios] query source features 2017-03-09 13:11:23 -08:00
Ivo van Dongen
0d10d2df1c [core] query source features 2017-03-09 13:11:23 -08:00
Ivo van Dongen
548675a196 [core] rename query options for query rendered features 2017-03-09 13:11:23 -08:00
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
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
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
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
Anand Thakker
bb846fd6cd For data-driven paint setters, transition immediately to target value (#8306)
Closes #8237
2017-03-08 11:53:44 -05:00
Ivo van Dongen
f591421aaa [macos] add missing method declarations for visibleFeaturesX 2017-03-07 18:23:32 -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
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
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
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
Konstantin Käfer
0c3521d46c [core] privatize OffscreenTexture implementation 2017-03-01 17:25:22 -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