Commit Graph

10278 Commits

Author SHA1 Message Date
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
Bruno de Oliveira Abinader
80915992ab [core] Added Map::latLngBoundsForCamera 2017-03-24 13:51:35 +02: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
Chris Loer
a3f40d0c0c Verbose commenting on getSegmentGlyphs (#8361)
* Verbose commenting on getSegmentGlyphs
 This came out of @cloer and @anandthakker trying to figure out
 how getSegmentGlyphs actually worked.
 Goal is to use this commented version as the base for a refactor.

* Refactor getSegmentGlyphs for clarity.

* Add more documentation, inline helper functions

* Initialize VirtualSegments directly

* Fix virtual anchor diagram
2017-03-22 17:27:06 -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
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