Commit Graph

509 Commits

Author SHA1 Message Date
Jason Wray
e5f136a16a [ios] fix CoreTelephony crash (by removing it)
Fix #3112, ref #2581
2015-12-02 20:00:59 -05:00
Justin R. Miller
43ca910f54 refs #3112: cleanups around Core Telephony runtime
- don't do anything with CT in simulator
 - more direct use of dynamic selectors for clarity
2015-12-02 13:33:37 -08:00
John Firebaugh
8afa14fa78 [core] Map::setSprite ⇢ Map::addAnnotationIcon
Fixes #3084
2015-12-01 15:10:28 -08:00
Justin R. Miller
8d25d9ab1a Merge branch 'release-ios-v3.0.0' 2015-11-30 11:10:27 -08:00
Bruno de Oliveira Abinader
92856f394c [core] Collision debug is now MapDebugOptions::Collision 2015-11-27 17:47:02 +02:00
Bruno de Oliveira Abinader
1f0820c8e8 [core] Added MapDebugOptions
Map debug options are now cycled up to all debug options enabled, then
back to none.
2015-11-27 17:47:02 +02:00
Minh Nguyễn
2de0a351a0 [core] [iOS] Completion handlers for animated methods
Added transition frame and finish functions to CameraOptions. Added Objective-C equivalents to the three main entry points to easeTo() in MGLMapView.

Fixes #1581.
2015-11-25 15:20:25 -08:00
Minh Nguyễn
6916675e61 [iOS] Ensure consistent willChange/didChange notifications
Coalescing willChange/didChange notifications means keeping track of how many gestures are currently in progress; a boolean isn’t enough to track this state. This change refactors the gesture recognizers, making them more consistent with each other and more consistent in the case where more than one of them has fired. It also explicitly cancels transitions before all programmatic viewport-modifying methods, since mbgl only does so when animating.

Fixes #2313, fixes #2379, fixes #3062.
2015-11-25 14:39:32 -08:00
Minh Nguyễn
f782f5eeb7 Attach compass gesture recognizer to compass view
Fixes #3099.
2015-11-24 12:11:10 -08:00
Minh Nguyễn
047107113f Updated guide URL 2015-11-23 19:17:20 -08:00
Justin R. Miller
6d4e86f41d bump podspec to 3.0.0 final (no symbols) 2015-11-23 17:03:54 -08:00
Justin R. Miller
6c74da947b bump iOS version to 3.0.0-rc.1 2015-11-23 11:17:45 -08:00
Justin R. Miller
24136b02e9 bump version to ios-v3.0.0-pre.10 2015-11-20 18:37:47 -08:00
Minh Nguyễn
c4558d48f2 [iOS] Set application root as asset root
As of #2746, we no longer bundle any styles with the SDK, so the asset: URL scheme is unused. Instead, point asset: to the application root for developer convenience and consistency with the Android and default asset roots. Also fixed an issue that prevented relative URLs from being treated as asset: URLs.

Fixes #1208, fixes #3050.
2015-11-20 11:20:35 -08:00
Minh Nguyễn
b3dbdb389f [iOS] Set application root as asset root
As of #2746, we no longer bundle any styles with the SDK, so the asset: URL scheme is unused. Instead, point asset: to the application root for developer convenience and consistency with the Android and default asset roots. Also fixed an issue that prevented relative URLs from being treated as asset: URLs.

Fixes #1208, fixes #3050.
2015-11-20 10:44:12 -08:00
Justin R. Miller
73daa180b6 bump version to ios-v3.0.0-pre.9 2015-11-18 18:43:12 -08:00
Justin R. Miller
a0533d8244 refs #2922: update display link in all common modes (inc. scrolling) 2015-11-18 18:27:46 -08:00
Justin R. Miller
35441a26e9 refs #2922: update display link in all common modes (inc. scrolling) 2015-11-18 18:00:12 -08:00
Minh Nguyễn
fd0e21321e Ensure proper will/is/didChange for resetNorth 2015-11-18 15:59:58 -08:00
Minh Nguyễn
fcec19b835 Ensure proper will/is/didChange for resetNorth 2015-11-18 11:27:17 -08:00
Bruno de Oliveira Abinader
cb9b397985 [core] Fix LatLngBounds default coordinates
LatLngBounds southwest and northeast coordinate points were inverted, so
they could be extended via LatLngBounds::extend(). However, this looks
confusing and error-prone.

A static LatLngBounds::getExtendable() is added to address cases when we
want to extend LatLngBounds.
2015-11-18 09:37:27 +02:00
Justin R. Miller
c4694df375 more clearly indicate Foundation imports to avoid recursion 2015-11-17 17:11:08 -08:00
Justin R. Miller
31354186a6 more clearly indicate Foundation imports to avoid recursion 2015-11-17 17:10:09 -08:00
Justin R. Miller
ea4575af68 bump version to ios-v3.0.0-pre.8
[skip ci]
2015-11-16 17:46:45 -08:00
Justin R. Miller
445145406f bump version to ios-v3.0.0-pre.7 2015-11-16 16:10:32 -08:00
Justin R. Miller
97502ee816 bump version to ios-v3.0.0-pre.7 2015-11-16 12:13:22 -08:00
Justin R. Miller
2a78b17698 provide resource bundle search for premade frameworks 2015-11-16 11:58:28 -08:00
Justin R. Miller
212e7a1e08 provide resource bundle search for premade frameworks 2015-11-16 11:40:54 -08:00
Justin R. Miller
8e6b9a0d96 bump iOS version to 3.0.0-pre.6
[skip ci]
2015-11-13 14:39:18 -08:00
John Firebaugh
1e350b7ea4 [core] Reorganize sprite related files 2015-11-12 13:03:14 -08:00
Minh Nguyễn
0dc1519a18 Set refresh interval to 60fps
Fixes #3005.
2015-11-12 12:00:47 -08:00
Minh Nguyễn
48d1c4025d [iOS] Removed unnecessary casts
Also renamed secondsAsDuration() to durationInSeconds(): function names should generally put the return type first, the argument type last, to avoid confusion.
2015-11-12 10:46:50 -08:00
Bruno de Oliveira Abinader
8b76f00d8c [core] PrecisionPoint is now a vec2<double>
We could reuse all the operators defined in vec2<>, including operator
bool() that checks if the contained values are !NaN.
2015-11-12 10:46:50 -08:00
Bruno de Oliveira Abinader
12e0e5eb04 [ios] Reflect Map API changes in MGLMapView 2015-11-11 16:59:49 +02:00
John Firebaugh
54e08b1f83 [core] Eliminate use of ClassProperties for paint 2015-11-10 11:33:17 -08:00
Justin R. Miller
f5a0586408 move from Fabric framework to bare headers per Twitter recommendation
Rolls back part of #2742
2015-11-09 17:35:43 -08:00
Minh Nguyễn
2abdcb0a81 Updated changelog 2015-11-09 13:08:11 -08:00
Minh Nguyễn
affb1199bf Merge remote-tracking branch 'bwhtmn/ios9_multitasking' into 1ec5-ios9-multitasking-2309 2015-11-09 12:43:42 -08:00
Minh Nguyễn
019a979bfe Remove constraints instead of deactivating them
Avoid piling up lots of deactivated constraints. Also avoid trying to deactivate constraints that have already been removed from the view hierarchy due to a change in view controllers.

Fixes #2020.
2015-11-09 09:39:24 -08:00
Justin R. Miller
0e5063799a bump iOS version to 3.0.0-pre.5 2015-11-06 17:57:47 -08:00
Justin R. Miller
423cfc11e5 refs #2966: remove -ObjC linker flag & bring in categories via other means 2015-11-06 16:16:50 -08:00
Minh Nguyễn
99211bc168 [iOS] Defer didChange until after animation
Fixes #2436.
2015-11-05 13:28:17 -08:00
Minh Nguyễn
d00f8e37c7 Disable callout view dimming when tap is a no-op
Fixes #2634.
2015-11-04 13:36:33 -08:00
Adam Hunter
b55bd85886 Indicate target frame interval, with a comment about how it relates to FPS. 2015-11-04 10:33:30 -08:00
Justin R. Miller
3bab2ad7d6 more clearly indicate target FPS as relates to display link 2015-11-04 10:33:30 -08:00
Justin R. Miller
af758abf0f cleanups
- We don't need a mutex as everything is ensured on main thread.
 - Move internal-only properties to ivars.
 - Avoid API collision with needsDisplay.
 - Move code to lifecycle section.
2015-11-04 10:33:30 -08:00
Adam Hunter
36d90ea97d Fix #1975 - improve animation fluidity and response 2015-11-04 10:33:30 -08:00
Minh Nguyễn
1e27092669 Strip whitespace and newlines from access token and style URL
Just in case browser weirdness or a tendency to triple-click-select is causing some cases of #2012.
2015-11-03 14:46:30 -08:00
Justin R. Miller
9067fd43f3 bump iOS version to 3.0.0-pre.4 2015-11-02 16:12:52 -08:00
Minh Nguyễn
15448a623e Create UIActionSheet on demand
Fixes #2475.
2015-10-30 16:05:34 -07:00