Commit Graph

7047 Commits

Author SHA1 Message Date
Tom MacWright
544780f237 Add Darwin readme 2016-03-21 14:02:27 -04:00
Dan Wexler
429ea535e5 Reset the translation to zero without adjusting for view to fix non-zero frame origin bug. 2016-03-20 09:32:17 -07:00
John Firebaugh
3152243f4e [android] Add script for NDK debugging 2016-03-18 17:12:53 -07:00
John Firebaugh
1593b962ed [android] Throw C++ exceptions by value, not by pointer
Refs #4385
2016-03-18 16:29:22 -07:00
Brad Leege
0d816916b1 [android] #4328 - Make Telemetry start only when savedInstanceState is null 2016-03-18 16:48:42 -04:00
Brad Leege
5f89c1ab34 [android] #4294 - JavaDocs for Telemetry classes 2016-03-18 12:47:39 -04:00
Thiago Marcos P. Santos
0e201eb23d [tests] Add utest to make sure prior expiration time is being respected 2016-03-17 23:57:28 -03:00
Thiago Marcos P. Santos
0c3247bf3c [core] Fix regression of prior expiration time not being respected 2016-03-17 23:57:28 -03:00
Bruno de Oliveira Abinader
cd1a06c2dc [core] Get rid of MapData::{get,set}animationTime 2016-03-18 01:27:48 +02:00
Bruno de Oliveira Abinader
c6ba05bbc3 [core] Default fade duration is now a constant 2016-03-18 01:27:47 +02:00
Bruno de Oliveira Abinader
8f96dea822 [core] Remove default transition duration 2016-03-18 01:26:22 +02:00
Bruno de Oliveira Abinader
15621b066c [android] Remove default transition duration 2016-03-18 01:26:22 +02:00
Bruno de Oliveira Abinader
88cff6e29d [ios] Update class transition usage 2016-03-18 01:26:22 +02:00
Bruno de Oliveira Abinader
f736e46ca4 [core] s/Update::Zoom/Update/RecalculateStyle/ 2016-03-18 01:26:22 +02:00
Bruno de Oliveira Abinader
4909169996 [core] Added user-defined transition properties when modifying classes 2016-03-18 01:26:22 +02:00
Bruno de Oliveira Abinader
94de5d7f4a [core] Remove MapData::defaultTransitionDelay 2016-03-18 01:26:22 +02:00
Bruno de Oliveira Abinader
aa530d2bea [core] Cleaned up duplicate code in MapContext 2016-03-18 01:26:22 +02:00
Bruno de Oliveira Abinader
01edd4503c [core] Move class handling to Style 2016-03-18 01:26:22 +02:00
Bruno de Oliveira Abinader
c561ea5d05 [core] Check for NaNs in mbgl::util::{min,max,clamp} 2016-03-18 01:26:22 +02:00
Bruno de Oliveira Abinader
ac70ada2d3 [core] Check for NaNs in mbgl::util::{min,max,clamp} 2016-03-18 00:53:14 +02:00
Thiago Marcos P. Santos
cfcccb94a1 [android] Build ARMv8 on the apackage target
Follow-up of 51a3907.
2016-03-17 14:30:11 -03:00
Thiago Marcos P. Santos
51a3907d52 Bump mason
Fixes aarch64 build for android.

Fixes #1956
Fixes #3128
2016-03-17 14:14:13 -03:00
John Firebaugh
6cb606b4ed [ios] Remove redundant lines from ios/scripts/defaults.md
MASON_PLATFORM=$(HOST) and MASON_PLATFORM_VERSION=$(HOST_VERSION) are set by main.mk; there's no need to set them here.
2016-03-16 17:48:37 -07:00
John Firebaugh
8ac82e5a38 Add test script for offline database size comparison 2016-03-16 17:08:37 -07:00
Konstantin Käfer
ee651d7832 [core] use constexpr constants 2016-03-16 14:46:59 +01:00
John Firebaugh
def2c804e5 [test] Fix crash in offline binary 2016-03-15 15:53:42 -07:00
Tobrun
9494fa7253 [android] #4308 - add some simple gesture tests 2016-03-15 14:07:24 -04:00
Minh Nguyễn
d64b8ad25c [ios] Immediately remove offline pack from table
Remove all references to an offline pack before the call to -removePackWithCompletionHander:.
2016-03-14 11:56:27 -07:00
Minh Nguyễn
f6c21a0efe [ios, osx] Allow null completion handlers in MGLOfflineStorage 2016-03-14 11:54:31 -07:00
Minh Nguyễn
7e4dce0ca4 [ios, osx] Removed pack nil check from MGLOfflineRegionObserver
Due to ARC, MGLOfflinePack can be deallocated at any time following its initialization. -dealloc ensures that the offline region observer is unset, but that step is asynchronous; there is no guarantee that it completes before the first status change update. In fact, the pack is deallocated before the first status change update unless it is captured outside of the MGLOfflinePackAdditionCompletionHandler. The pack nil check is unnecessary because the subsequent code would be a no-op.
2016-03-14 11:24:31 -07:00
Tobrun
55a1bb8365 [android] #4301 - added robotium testing framework to perform integration testing 2016-03-14 11:45:54 -04:00
Bruno de Oliveira Abinader
fc0a0ef98a [core] Always return wrapped coordinates
This fixes an issue in both iOS and Android when e.g. adding a marker on
both sides of the dateline border in Taveuni island, the marker in one
of the sides would have an out-of-bounds longitude.
2016-03-14 12:16:55 +02:00
Bruno de Oliveira Abinader
7a509b0369 [linux] Added world tour to GLFW test app 2016-03-14 11:51:37 +02:00
Bruno de Oliveira Abinader
78a12d9d47 [core] Ignore shortest path when gesturing in Transform::easeTo
If gesture in progress, we transfer the world rounds from the end
longitude into start, so we can guarantee the "scroll effect" of
rounding the world while assuring the end longitude remains wrapped.
Otherwise, find the shortest path.
2016-03-14 11:51:37 +02:00
Bruno de Oliveira Abinader
b5bb48edaa [core] Simplify LatLng::unwrapForShortestPath usage
Simplify LatLng::{wrap,unwrapForShortestPath} code, avoiding duplicated
code between Transform::{latLngToScreenCoordinate,easeTo,flyTo}.

Added unit tests for camera usage in Transform to detect cases like e.g.
crossing the antimeridian as a shortest path between two coordinates.

Transform::flyTo precision loss to be handled in #4298.
2016-03-14 11:45:31 +02:00
Bruno de Oliveira Abinader
fe7e208b42 [core] Implement LatLng::null() 2016-03-13 21:38:20 +02:00
Bruno de Oliveira Abinader
8e30a4a080 [core] Harden Transform anchor & padding usage
Use optional values for anchor & padding in Map and Transform functions
instead of NaNs. Added unit tests to stress some edge cases.
2016-03-13 21:38:20 +02:00
Jason Wray
a396c6a7f0 [ios] Fix incorrect issue link in v3.1.0 section
[skip ci]
2016-03-13 13:36:47 -04:00
Tobrun
d64652f9be [android] #3749 - added javadoc 2016-03-12 19:57:27 -05:00
Tobrun
a980f725b8 [android] #4252 - close concurrent window fix 2016-03-11 22:29:48 -05:00
Tobrun
45e6ee1372 [android] #4283 - enable strict mode in test app + fix strict mode warning related to releasing the surface 2016-03-11 20:07:56 -05:00
John Firebaugh
c39bd344b5 [core] Set mapbox::DEFAULT_OFFLINE_TILE_COUNT_LIMIT to 6000 2016-03-11 16:36:58 -08:00
Tobrun
ad2ebc6cf6 [android] #4270 - library resource prefix espresso update 2016-03-11 17:37:19 -05:00
Minh Nguyễn
3b225d57d9 ios-v3.2.0-pre.2 2016-03-11 13:50:06 -08:00
Minh Nguyễn
14993ed477 [ios] Copyedited changelog entries 2016-03-11 12:01:59 -08:00
Minh Nguyễn
4748973c04 [core] Deactivate offline region upon completion 2016-03-11 11:43:32 -08:00
Bruno de Oliveira Abinader
694a064cdd [core] Fix non-anchored Transform::setAngle
This reverts a line change from b33b2f15, because we explicitely want
the anchor to be invalid.
2016-03-11 16:53:36 +02:00
Bruno de Oliveira Abinader
f73beb5913 [core] Fix screen coordinates when crossing the antimeridian (#2)
Added missing case. Really fixes #4155 this time.
2016-03-11 12:34:21 +02:00
Minh Nguyễn
4bcc24d5af [ios] Fixed iosapp build
MBXDownloadsTableViewController.{h,m} had been renamed MBXOfflinePacksTableViewController.{h,m}, but the project had not been.
2016-03-10 20:22:19 -08:00
Minh Nguyễn
3622c2d25c [ios] MGLOfflinePack in jazzy config 2016-03-10 20:17:16 -08:00