Commit Graph

3880 Commits

Author SHA1 Message Date
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
Bruno de Oliveira Abinader
9b39013ce4 [core] Internalize rapidjson.hpp 2017-03-28 13:53:19 +02:00
John Firebaugh
321d820a87 [node] Eliminate src as an include path 2017-03-28 13:53:19 +02:00
John Firebaugh
306b895dad [node] Fix mistaken .cpp include 2017-03-28 13:53:19 +02:00
John Firebaugh
a3c8fcda9c [core] Core tests and benchmarks are allowed to include via src 2017-03-28 13:53:19 +02:00
Ivo van Dongen
e1a9a468a9 [android] use more appropriate numeric types for filter conversion 2017-03-28 14:43:23 +03:00
Tobrun
f9462adf8a [android] - mark non-translatable resources, remove debug string resources, expose strings in public.xml for resource overloading. (#8530) 2017-03-28 12:18:22 +02:00
Konstantin Käfer
93380be83c [build] Add Dockerfile for Bitrise 2017-03-28 09:37:42 +02:00
Tobrun
66ed1a1080 [android] - harden offline region creation, add include method, expose world bounds, update tests (#8517) 2017-03-24 18:41:49 +01:00
Tobrun
c7722b54a8 [android] - correct anchoring when Icon is updated (#8519) 2017-03-24 18:41:20 +01:00
Tobrun
83cef9eb68 [android] - update VectorSource javadoc (#8521)
* [android] - update VectorSource docs on VectorSource creation

* [tests] Test only CameraOptions center, zoom in CameraToLatLngBounds
2017-03-24 17:55:55 +01:00
Konstantin Käfer
e67abfbe67 [core] Refactor OpenGL extension loading mechanism
Previously, we initialized global variables that held pointers to the extension functions. While this seemed to work, the spec doesn't guarantee that the function pointers are identical for different OpenGL contexts. Therefore, we are now making them a member variable of the Context object.
2017-03-23 14:50:11 -07:00
Konstantin Käfer
234384ece9 [core] Move OpenGL extension initialization to Backend 2017-03-23 14:50:11 -07:00
Konstantin Käfer
8e5214144e [core] Ensure that a BackendScope exists when doing GL calls 2017-03-23 14:50:11 -07:00
John Firebaugh
d7227e13a7 [all] Replace Result<T> with optional<T> plus out Error parameter 2017-03-23 13:31:13 -07:00
Bruno de Oliveira Abinader
1c757cce34 [build] Autodetect Qt{4,5} 2017-03-23 16:09:07 +02:00
Konstantin Käfer
3c91b6b7de [core] cache binary shaders on Android 2017-03-22 15:59:10 +01:00
Konstantin Käfer
d20327844c [qt] Add setFramebufferObject() for correct FBO binding restoration 2017-03-22 14:15:50 +01:00
John Firebaugh
e488ca702e Merge branch 'release-ios-v3.5.0-android-v5.0.0' 2017-03-21 12:04:20 -07:00
Bruno de Oliveira Abinader
2dbda72c45 [macos] Updated MapObserver::onSourceChanged 2017-03-21 17:36:56 +02:00
Bruno de Oliveira Abinader
51aa6ccfd3 [android] Updated MapObserver::onSourceChanged 2017-03-21 17:36:56 +02:00
Bruno de Oliveira Abinader
fa2b7676b8 [Qt] Updated MapObserver::onSourceChanged 2017-03-21 17:36:56 +02:00
Eric Wolfe
e0fe42d832 [ios][macos] Update DDS guide
Clarifies linear and exponential interpolation, adds stops to each example for clarity, and other minor tweaks.
2017-03-20 22:34:15 -07:00
Eric Wolfe
af475f0175 [ios] Add next steps to Runtime Styling guide (#7855) 2017-03-20 22:34:15 -07:00
Eric Wolfe
f91072a6b0 [ios][macos] Document that transitions using setStyleURL are not supported (#8475) 2017-03-20 17:00:53 -07:00
Jason Wray
751fa3b8a2 [ios, build] Change version checker URL to ios-sdk site (#8468)
Decouple the version checker updating from the deploy process.
2017-03-19 01:29:25 -04:00
Jesse Bounds
7a5d313188 [ios] Bump podspec version for v3.5.0-rc.2
Reverts https://github.com/mapbox/mapbox-gl-native/pull/8462
2017-03-18 21:29:05 -07:00
Jesse Bounds
73ed8aa7be [ios] Guard against over calling pause or resume 2017-03-18 19:09:45 -07:00
Minh Nguyễn
f846205eb6 [ios, macos] Fix map load error descriptions (#8466)
* [ios, macos] Corrected map load error descriptions

Ensured the uniqueness of localizable string IDs. Ran make genstrings to add the -[MGLMapViewDelegate mapViewDidFailToLoad:withError:] error description strings to the base localization.

* [ios, macos] Moved failure error changelog entry to new release
2017-03-18 14:59:11 -07:00
Tobrun
e4981d5bd0 Bump Android SNAPSHOT version (#8453)
* [android] [auto] Update properties to version 5.0.0 in preparation for build.

* [android] - bump snapshot version

* [android] remove typo in gradle-javadoc.gradle

* [android] revert to 5.0.0-SNAPSHOT

* [android] revert to 5.0.0

* [android] [auto] Update properties to version 5.0.0 in preparation for build.

* next release is now 5.1.0-SNAPSHOT
2017-03-18 11:52:18 +01:00
Fabian Guerra Soto
7c0822887b [ios] updated pod spec to release version (#8462) 2017-03-17 20:33:54 -04:00
Jordan Kiley
789a49d46d [ios, macos] update iOS SDK guides (#8354)
- Added DDS guide
- Updated "For Style Authors" guide
2017-03-17 19:13:24 -04:00
John Firebaugh
b3fe46728d [macos] Fix nightly build script
`apt-get install` commands were present when the nightly build was introduced. Prior to 12b99f0 they were in a separate section without `set -eu -o pipefail`, so the error was ignored. I assume they are not needed, since the build was succeeding despite the error.

While here, ensure xcpretty is installed.
2017-03-17 16:07:37 -07:00
Tobrun
41dec13573 [android] - update CHANGELOG.md for 5.0.0 release (#8449) 2017-03-17 17:55:48 +01:00
Antonio Zugaldia
a96c6ee82e [android] Update dependencies to MAS v2.0.0 final 2017-03-17 11:18:26 -04:00
Tobrun
09d76854ab [android] - only dispatch events if not handled by MarkerView (#8447)
use onTouch listener to ignore dispatching action up events to MapView when they are already handled by MarkerView.
2017-03-17 15:23:28 +01:00