Commit Graph

3915 Commits

Author SHA1 Message Date
Pablo Guardiola
df22b614af add compass drawable initialization in ui settings (#8695) 2017-04-10 12:47:07 +02:00
Minh Nguyễn
3172a9744f [qt] Renamed qt5 formula to qt 2017-04-08 15:55:10 -07:00
Bobby Sudekum
0e72fc4ec3 [node] Calculate image buffer and length once (#8673) 2017-04-07 10:23:31 -07:00
Tobrun
62355bc860 [android] - disable building x86-64 on CI for snapshot builds (#8679)
* [android] - disable building x86-64 on CI for scheduled workflow. Broken with NDK14.

* corrected abis flag for gradle invocation

* add mips 64
2017-04-07 19:01:22 +02:00
Anand Thakker
693c9f3641 [core] Add DDS support for {text,icon}-size (#8593)
* Update gl-js and generate style code

* Factor out packUint8Pair() helper function

* Draft implementation of DDS for {text,icon}-size

Ports https://github.com/mapbox/mapbox-gl-js/pull/4455

* Fix text-size/composite-function-line-placement test

* Refactor to PaintPropertyBinders-like strategy

* Dedupe gl::Program construction

* Use exponential function base for interpolation

* Dedupe coveringZoomStops method

* Fixup tests

* Fix CI errors (hidden within #if block)
2017-04-06 15:29:59 -04:00
Antonio Zugaldia
f9cc044357 [android] Update LOST to latest version 2017-04-06 13:41:53 -04:00
Konstantin Käfer
a33e62f5db [ios] expose link flags via mbgl-core target 2017-04-06 18:31:34 +02:00
Konstantin Käfer
e26308f1b9 [macos] expose link flags via mbgl-core target 2017-04-06 18:31:34 +02:00
Minh Nguyễn
8382420314 [ios, macos] Fail gracefully on invalid coordinates
Invalid coordinates no longer cause an exception to be raised immediately when used in conversion methods and model objects. Instead, the appropriate invalid values are used, consistent with MapKit. Exceptions are still raised when invalid model objects are used with the map.
2017-04-06 09:22:51 -07:00
Minh Nguyễn
ab6185fdc3 [ios, macos] Streamlined coordinate validation
Replaced preflight checks in MGLLatLngFromLocationCoordinate2D() with a try-catch block that relays exceptions raised by mbgl. De-inlined the function because it’s no longer trivial.
2017-04-06 09:22:51 -07:00
John Firebaugh
16a2839e23 [all] Make LatLng coordinates read-only 2017-04-06 09:22:51 -07:00
John Firebaugh
a261f7ff53 [android] Preflight argument validity before constructing LatLng 2017-04-06 09:22:51 -07:00
John Firebaugh
e6122d9bf0 [darwin] Preflight argument validity before constructing mbgl::LatLng 2017-04-06 09:22:51 -07:00
John Firebaugh
391a10db0e [darwin] Use MGLLatLngFromLocationCoordinate2D where appropriate 2017-04-06 09:22:51 -07:00
John Firebaugh
56ea87357a [darwin] Fix invalid coordinates in MGLShapeSource tests 2017-04-06 09:22:51 -07:00
Konstantin Käfer
6fcac0f580 [core] always create a pixelbuffer surface in the EGL backend
We need a surface to activate a context. Some implementation don't seem to error when passing EGL_NO_SURFACE, but it doesn't seem standards compliant.
2017-04-05 23:05:46 +02:00
Konstantin Käfer
7c69cfa6de [core] destroy surface before context in EGL backend 2017-04-05 23:05:46 +02:00
Konstantin Käfer
038062af86 [core] destroy HeadlessDisplay after HeadlessBackend implementation 2017-04-05 23:05:46 +02:00
Tobrun
b404457a74 [android] - apply mix/max zoom xml attributes (#8631) 2017-04-05 16:20:11 +02:00
Eimantas Vaiciunas
4a4b6a8af3 Show zoom level in window's title bar 2017-04-03 21:44:14 -07:00
Konstantin Käfer
b2570b909b [android] Fix implicit geometry conversions for NDK r13b 2017-04-03 10:54:47 +02:00
Thiago Marcos P. Santos
939864cb90 [core] Do not throw on dtors
Fix build on GCC6 + Ubuntu 16.04.
2017-04-01 12:57:06 +03:00
John Firebaugh
1a9bccbb85 [core] Add DDS support for icon-image 2017-03-31 14:17:33 -07:00
John Firebaugh
743d954053 [core] Add DDS support for text-rotate 2017-03-31 13:26:27 -07:00
Tobrun
939526bac4 [android] - transition options for layer properties (#8509)
[android] fixup highlevel bindings for transition options

finish integration
2017-03-31 17:51:26 +02:00
Tobrun
05992c47ac [android] - update getting started and distribution docs (#8412)
* [android] - update project documentation

* add linux instructions
2017-03-31 15:11:20 +02:00
Tobrun
f0b683237d [android] - disable requiring supported languages for test applications (#8597) 2017-03-31 13:48:27 +02:00
Pablo Guardiola
1a0dc66486 update test documentation adding how to run firebase tests within android studio (#8566) 2017-03-30 23:23:44 +02:00
Minh Nguyễn
003caddbc0 [ios] Localized map view proxy accessibility hint 2017-03-30 11:47:09 -07:00
Tobrun
6c92199a16 [android] - Transifex intregration and Dutch translations. (#8556)
add Catalan translations
2017-03-30 17:00:23 +02:00
Ivo van Dongen
61e2695190 [android] resource transform callback example 2017-03-30 15:27:05 +03:00
Ivo van Dongen
2bfbe90765 [android] allow resetting of resource transform callback 2017-03-30 15:27:05 +03:00
Ivo van Dongen
8aa625bf96 [android] execute resource transform callback on the right thread 2017-03-30 15:27:05 +03:00
Tobrun
a827799174 [android] - fixup location permissions in test app pre Android Marshmallow (#8559) 2017-03-30 13:31:04 +02:00
Tobrun
74bf366666 [android] - Update CircleLayerActivity with style switching. (#8274) 2017-03-30 13:30:43 +02:00
Tobrun
a4959131b2 [android] - transition options in milliseconds, added test cases, fixup test activity code (#8576) 2017-03-30 13:25:56 +02:00
Tobrun
152b48fd92 [android] - consitent use of ms unit for time in java code, unit conversion always happens in cpp code (#8578) 2017-03-30 13:25:42 +02:00
Konstantin Käfer
a9896fa01b [build] generate .xcconfig files with configure_file
We previously used incremental `file(WRITE ...)` commands that gradually recreated the file on every CMake invocation. This sometimes lead to Xcode parsing a partially written file, which in turn breaks building dependend targets. Instead, we're now using a templated configuration file, which ensure that the file is created in one go and hopefully reduces the race condition between CMake and Xcode's automatic project updating.
2017-03-28 21:24:12 +02:00
Konstantin Käfer
c86b492bf7 [build] don't advertise headers that aren't used in public headers 2017-03-28 21:24:12 +02:00
Molly Lloyd
47c1e42ac1 [core] implement dds for text-offset 2017-03-28 11:06:58 -07:00
John Firebaugh
5f40297526 [core] Update mapbox-gl-js submodule
Includes lowp ⇢ highp fix for shader color attributes / uniforms.
2017-03-28 11:06:58 -07:00
Molly Lloyd
e9cc666390 [node] fix node bindings 🐛 2017-03-28 11:06:58 -07:00
Ivo van Dongen
6fa578aa4e [android] geojson source - add conversion tests 2017-03-28 15:44:22 +03:00
Ivo van Dongen
02fd38ccbc [android] add option to set geometry and feature on geojson source 2017-03-28 15:44:22 +03:00
Ivo van Dongen
fa7489fb7e [android] geojson conversion optimisation 2017-03-28 15:44:22 +03:00
Konstantin Käfer
f70f604e5b [core] Privatize gl/gl.hpp 2017-03-28 13:53:19 +02:00
Konstantin Käfer
a84aa453a9 [core] Privatize OpenGL/Context headers 2017-03-28 13:53:19 +02:00
Konstantin Käfer
3f0f4575e7 [android] Move SDK files to separate target 2017-03-28 13:53:19 +02:00
Konstantin Käfer
f436913550 [android] Remove public usage of private util/thread.hpp header 2017-03-28 13:53:19 +02:00
Konstantin Käfer
14bf47c296 [glfw] Remove GL state restoration
We're doing all of this in our own context anyway, so no need to restore the state
2017-03-28 13:53:19 +02:00