Commit Graph

474 Commits

Author SHA1 Message Date
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
Justin R. Miller
2aa3ab0c14 bump iOS version in podspec/Fabric 2015-10-30 15:23:50 -07:00
Minh Nguyễn
557b8afb7c [core][iOS] Source iOS styles from default_styles
Moved mbgl::util::default_styles to a more appropriate location, where iOS platform code can also find it. Moved -[MGLMapView bundledStyleURLs] (which is now deprecated) and the style switcher in iosapp to default_styles.

Added a collection of convenience methods for getting style URLs. It makes little sense to layer an enum atop this, as MapKit does, because MGLMapView styles aren’t limited to this set. A good analogy is UIColor. This also makes for a good entry point for future runtime styling APIs.

Introduced independent constants for each default style, because it’s more common to need access to a particular style than to iterate over them. This fact is apparent in the MGLStyle class, which now uses macros and assertions to ensure that it’s kept up-to-date with changes in default_styles.

/ref #1462
2015-10-30 13:09:37 -07:00
Leith Bade
abf93c008b [core] Remove bundled styles.
Fixes #2239
2015-10-30 13:09:04 -07:00
Murray Hughes
f6e3ee4b25 [ios] fix removal of heading view when changing user tracking modes 2015-10-29 16:50:34 -04:00
Murray Hughes
f8c75c6e22 [ios] fix user annotation view refresh when switched from course to none 2015-10-29 16:50:33 -04:00
Justin R. Miller
58c90ac099 bump SMCalloutView by one change to grab accessbility support 2015-10-29 12:23:13 -07:00
Justin R. Miller
48d6d039ed remove heading tests as unreliable 2015-10-27 10:43:20 -07:00
Justin R. Miller
2d8e29294c remove dead, broken code 2015-10-27 10:40:52 -07:00
Ansis Brammanis
750c72f324 improve gestures in perspective view
The location under your finger stays under your finger as you pan.
The location you double tap to zoom stays at the same point.
The location at the center of a pinch zoom stays at the center.
The location at the center of a rotation stays at the center.
2015-10-26 12:48:03 -07:00
Justin R. Miller
847cee0c89 re-bump for ios-v3.0.0-pre.2 2015-10-23 16:33:37 -07:00
Justin R. Miller
cf46b2f770 bump iOS version for 2.2.0-pre.2 2015-10-23 16:08:34 -07:00
Justin R. Miller
144a4714f0 refs #2684: integrate Twitter Fabric 2015-10-23 14:13:56 -07:00
Minh Nguyễn
1e9cf71b5a IB inspectable for allowing tilt 2015-10-23 10:09:27 -07:00
Adam Hunter
45a8aa6a8f [ios] Fix for a crash on iPod Touch related to carrier vendor
Reverts #2691, which only fixed simulator crashing.

Refs #2687
2015-10-23 12:07:55 -04:00
Minh Nguyễn
4f509288b7 [iOS] Removed long-unavailable APIs 2015-10-22 14:27:58 -07:00
Minh Nguyễn
e3934df8d4 [iOS] Replaced styleID property with styleURL__ inspectable
The new styleURL__ inspectable property is carefully named to masquerade as a URL property in Interface Builder, even though IB supports no such thing.

If the user enters an invalid URL into the “Style URL” inspectable, throw an error instead of silently setting the style to the default. This check is not required in -setStyleURL:, which takes a real NSURL.
2015-10-22 14:27:39 -07:00
Jason Wray
0f866d9db6 [ios] minor telemetry improvements
- Use integer precision on zoom, location accuracy, and altitude keys
- Bump telemetry user agent version to 1.1
- Only send cellular events when dataful
2015-10-22 17:03:46 -04:00
John Firebaugh
3afc8b4a29 [core] Introduce StyleLayer subclasses 2015-10-22 09:34:40 -07:00
John Firebaugh
df89de5cc5 [core] Rationalize style property classes: <type>{Paint,Layout}Properties 2015-10-22 09:21:30 -07:00
Jason Wray
17121563ac [ios] fix simulator crash on optional CoreTelephony code
Fix #2687
2015-10-21 18:47:00 -04:00
Minh Nguyễn
a4d8b373f3 [ios] Notify delegate during rotate and pitch gestures 2015-10-21 12:39:28 -07:00
Minh Nguyễn
a30add62f9 Merge remote-tracking branch 'Hitta/fixed-notification' into 1ec5-changing-2373 2015-10-21 12:28:36 -07:00
Leith Bade
717cbd32ad Update metrics test server SSL certificate 2015-10-21 10:04:11 -07:00
John Firebaugh
c5b95032a5 [core] Annotation refactor 2015-10-20 13:54:19 -07:00
Jason Wray
28be82c1c1 [ios] remove CoreTelephony dependency
Cellular carrier name and connectivity level will now only be sent if
the developer independently chooses to link the CoreTelephony framework
in their app.
2015-10-19 13:52:28 -04:00
Justin R. Miller
24aa375cd1 [ios] tweaks to match code style for 1a5c452 callout tap handler 2015-10-12 11:02:04 -07:00
Maciej Swic
1a5c452fe3 Forwards the SMCalloutView tap delegate 2015-10-12 10:54:53 -07:00
Jason Wray
6fb9c439bd [iOS] Remove wifi SSID from metrics
Wifi SSID was never stored and was only used for additional verification
of wifi networkedness. Instead, we now do this on device and don't need
the SSID name.

IDFA was previously included in metrics events if the AdSupport framework was
linked.
2015-10-08 09:14:41 -07:00
Jason Wray
a5e34a2bc8 [ios] Don't disable user tracking on setDirection: or quick zoom gesture 2015-10-05 12:15:54 -04:00
Justin R. Miller
8cc3b12f1e [ios] fixes #2490: add annotation image enabled property 2015-10-02 11:50:53 -07:00
Nicki Dlugash
21b42eea44 [ios] [android] Add default marker sprites 2015-10-02 16:53:11 +10:00
Justin R. Miller
40b29a5ce4 [ios] refactor annotation map table name 2015-10-01 17:03:51 -07:00
Mike Morris
b46c102eb0 mason variant@1.0 2015-09-30 15:34:40 -07:00
Jason Wray
ed702a68e5 Make quickzoom zoom slightly more quickly 2015-09-25 12:52:17 -04:00
Jason Wray
417f26fba6 Quicken quick zoom gesture
Double tapping and holding, then moving up/down will now immediately zoom out/in.
2015-09-25 12:52:17 -04:00