Commit Graph

16768 Commits

Author SHA1 Message Date
Anand Thakker
60717822e6 Use highp for color attributes (#8496)
Addresses #8385

Updates shaders to reflect https://github.com/mapbox/mapbox-gl-js/pull/4476
2017-03-22 14:32:22 -04: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
1f8910de18 Make Source::getZoomRange return an optional range 2017-03-21 19:33:36 +02:00
Fabian Guerra Soto
1ccaa1dc71 [ios] podspec update to 3.5.0 (#8487) 2017-03-21 12:54:29 -04:00
John Firebaugh
86cddaf751 [core] Remove unnecessary unordered_map includes 2017-03-21 09:27:22 -07:00
John Firebaugh
c16bd14416 [core] Prefer std::map to std::unordered_map for smaller binary size 2017-03-21 09:27:22 -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
Bruno de Oliveira Abinader
c1a410be8b [core] s/onSourceDidChange/onSourceChanged/ + source ref 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
Bruno de Oliveira Abinader
24198ebca8 [core] Expose Source::getZoomRange 2017-03-20 18:25:04 +02: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
John Firebaugh
8552d6312b [core] Use core wagyu algorithm; move results into GeometryCollection 2017-03-17 08:28:51 -07:00
Blake Thompson
fb37f5e543 Added wagyu and removed angus clipper 2017-03-17 08:28:51 -07:00
John Firebaugh
ff413f6b99 [core] Fix overspecialization of PaintPropertyBinder template
PaintPropertyBinder and subclass templates were being instantiated for every unique attribute type (e.g. a_color, a_fill_color, a_halo_color) even though they behave identically for a given property value type (e.g. Color). To fix this, a unique type such as a_color no longer derives from gl::Attribute<...> -- instead it has an inner Type typedef, which should be used wherever neither a unique type nor attribute name is required. This reduces binary size substantially:

     VM SIZE                               FILE SIZE
 ++++++++++++++ GROWING                 ++++++++++++++

 -------------- SHRINKING               --------------
  -2.0% -49.3Ki __TEXT,__text           -49.3Ki  -2.0%
  -3.1% -5.21Ki [None]                  -2.79Ki  -1.6%
  -2.1% -4.12Ki __TEXT,__const          -4.12Ki  -2.1%
  -1.4% -4.04Ki __TEXT,__gcc_except_tab -4.04Ki  -1.4%
 -19.3% -3.62Ki __DATA,__data           -3.62Ki -19.3%
  -2.5% -1.65Ki __TEXT,__unwind_info    -1.65Ki  -2.5%
  -4.2%      -8 __DATA,__mod_init_func        0  [ = ]

  -1.9% -68.0Ki TOTAL                   -65.6Ki  -1.9%
2017-03-17 08:27:53 -07:00
John Firebaugh
0dca6cd9bf [core] Don't need to use normalized attributes anymore 2017-03-17 08:27:53 -07: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
Konstantin Käfer
9544dcc483 [android] move build to Android Studio 2017-03-17 14:25:37 +01:00
Konstantin Käfer
aed3869cfa [build] move ABI version awareness to mason.cmake 2017-03-17 14:25:37 +01:00
Tobrun
2e6c0263d8 8322 javadoc 5.0.0 release (#8438)
* [android] - update javadoc 5.0.0 release

* update annotation and sources package javadoc

* update javadoc on MapboxMap and MapView
2017-03-17 13:24:07 +01:00
Tobrun
abeca4fe16 [android] - take in account focalpoint when performing transformations, simplify zoom methods (#8416) 2017-03-17 13:23:53 +01:00
Tobrun
8736b733f9 [android] - fix LOST location updates (#8445) 2017-03-17 13:22:11 +01:00
Bruno de Oliveira Abinader
6379cb0cd7 [ios] Update changes in MapObserver::onDidFailLoadingMap 2017-03-17 11:25:48 +02:00
Bruno de Oliveira Abinader
df0dfa162b [macos] Update changes in MapObserver::onDidFailLoadingMap 2017-03-17 11:25:48 +02:00
Bruno de Oliveira Abinader
e7c1ba2edf [android] Update changes in MapObserver::onDidFailLoadingMap 2017-03-17 11:25:48 +02:00
Bruno de Oliveira Abinader
5e3308c5c0 [node] Update changes in MapObserver::onDidFailLoadingMap 2017-03-17 11:25:48 +02:00
Bruno de Oliveira Abinader
bfc7c2967c [Qt] Update changes in MapObserver::onDidFailLoadingMap 2017-03-17 11:25:48 +02:00
Bruno de Oliveira Abinader
5ff4110243 [core] Pass std::exception_ptr in MapObserver::onDidFailLoadingMap 2017-03-17 11:25:48 +02:00
Bruno de Oliveira Abinader
e10e37bc20 [core] Pass std::exception_ptr in style::Observer::onStyleError 2017-03-17 11:25:48 +02:00
Jason Wray
2715587449 [build] Give ios/builds s3 permission to Bitrise user 2017-03-16 20:12:39 -04:00
Justin R. Miller
aae11a3430 [core] fixes #8433: don't skip style recalculations for fade-from-zero transitions (#8440) 2017-03-16 16:23:15 -07:00
Tobrun
6fb1fb52af [android] - update proguard configuration for 5.0.0 (#8437) 2017-03-16 17:14:40 +01:00
Jason Wray
68d9884263 [build] Post nightly build status to Slack 2017-03-16 03:40:28 -04:00
Jordan Kiley
e04aaa4522 [ios] Update podspec for v3.5.0-rc.1 (#8422) 2017-03-15 14:50:10 -07:00
Jordan Kiley
2c0005c262 [ios, macos] Add more information to interpolation mode docs (#8425)
Addresses #8192 until #8354 lands.
2017-03-15 13:57:37 -07:00
Anand Thakker
458de43b9e Increase precision of shader variable (#8423)
Fixes #7599
2017-03-15 15:02:02 -04:00