From fe92d590bbe23748c691aa991f5608409a4b5924 Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Thu, 26 May 2016 16:34:26 -0700 Subject: [PATCH 1/3] [ios] Force update from display link when display link is created. This forces the call of the map view's display link target when the display link is created. When a map view is shown the first time this is not required. However, if the display link was torn down and then recreated due to the map view being removed / obscured in the view hierarchy the map view delegate may expect to be informed when the map view did finish loading the map when it is shown again. This adds a call to `updateFromDisplayLink` just after a display link is created which helps trigger a full refresh of the map in the sense that all delegate methods get exercised including `mapViewDidFinishLoadingMap`. --- platform/ios/src/MGLMapView.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index 359827ae612..57e59be10d1 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -913,6 +913,7 @@ - (void)validateDisplayLink _displayLink.frameInterval = MGLTargetFrameInterval; [_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes]; _needsDisplayRefresh = YES; + [self updateFromDisplayLink]; } else if ( ! isVisible && _displayLink) { From c9c0767a1d5163b8e4b6a8c2c7f44eafdff711a0 Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Fri, 27 May 2016 16:26:48 -0700 Subject: [PATCH 2/3] [ios] Update telem domain and certs Change domain from api -> events Replace old certs with new ones with the same name. The new certs have an expiry that is further out. --- .../resources/api_mapbox_com-digicert.der | Bin 2077 -> 1913 bytes .../resources/api_mapbox_com-geotrust.der | Bin 1969 -> 1757 bytes platform/ios/src/MGLAPIClient.m | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/default/resources/api_mapbox_com-digicert.der b/platform/default/resources/api_mapbox_com-digicert.der index d84cee390869435b9b0672232b5597f347b67faf..e8ef427f3302ce3bbc2f024ed67bf5a6b8aae199 100644 GIT binary patch delta 1009 zcmVOWY76uS(>yKS< z^eEt?Go7(shpD>gtz67_p8ah%j$nVVV{G6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YK!04NA?vHCMd&9VNOcyRz$Tnf+so%QkS$~N@%d;Iy`?~}??zesa<|lLg$t>;b zhFvxJR+cCCJDqoaV5*rY9?U+g(n!kXbJX>amflxsQ;vPGNto`r=Fyw{(^~1bBmd7e znRd0sINQ+fx}__d&Xad3m)fpRFkd8S&MEolfNO*GhRyzeZXCHAvL~m_@ma7=`t2Kk zRx7mEN7OPgGcqtPZeqS_(8PSvpz$OyfMf+(8V?#Y?rRcC)GNu%NiEjP1&5+ua(-@; zP!blgWGrGSm|`NpU`G)R1RE)ks0WfjvP2*WLnIkPBn4fB4-~5#m_m6LfIOkV(m2DQ zaq472=4q2RFmIlGn?<$W=bYN-Z43-7%nWV@E=&qW7gJ`Z1cwBzKFz9}>$OC&dkIUu z?X?vaY76pryUdUO#H1iETB-8%&eu(+e)1&q&SlV8bftEOT#iEB^7nVecN+CvU?^h< z6JeXBfBn##%U>Vvb=hQh+^uZqo|%F%2i{Ma5qhoj!d(UiMxeD{ih!s?y=6aJm%m}h#E_X_(q`K<4YxC|#QnIg-ikXv)%`u7dIf1Zmz5i@xl z;=8&`PPsQBX3d_n$6NZQl(pheCx{3u>f_!hB40zc% zwc0$|zVk9NaSo<%dRy%)bM@+u&oR4t%qBV23%V_Rkjviq zHTET!*w3UDXG2ZqMFpzdx;-=JNXWLylUwS4o=w}s-=EFTU*Ni>+|Oi%ti|f69ik$e z-|TFw*5&n_b|nH%snG~(vR|;s}zcR5__GETQbfn_uf!p(zM($uW4mX zVv=)B;Xe*7H+Oy4kZbKN7kQ$zj=0>-yZkDDfB%I2n(3$V7u6s7*7d5ee!=btZt=-H gk)Mw&zxyDk Date: Tue, 7 Jun 2016 15:08:11 -0700 Subject: [PATCH 3/3] [ios] Update changelog and bump version to 3.2.3 --- platform/ios/CHANGELOG.md | 5 +++++ platform/ios/Mapbox-iOS-SDK-symbols.podspec | 2 +- platform/ios/Mapbox-iOS-SDK.podspec | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md index a12fa0244fe..c0eaa9b7f5c 100644 --- a/platform/ios/CHANGELOG.md +++ b/platform/ios/CHANGELOG.md @@ -2,6 +2,11 @@ Mapbox welcomes participation and contributions from everyone. If you’d like to do so please see [CONTRIBUTING.md](https://github.com/mapbox/mapbox-gl-native/blob/master/CONTRIBUTING.md) first to get started. +## 3.2.3 + +- Fixed an issue preventing `-[MGLMapViewDelegate mapViewDidFinishLoadingMap:]` from being called when returning to the view controller containing the map view from another view controller. ([#5164](https://github.com/mapbox/mapbox-gl-native/pull/5164)) +- Declarations in the API documentation are shown in both Objective-C and Swift. ([realm/jazzy#530](https://github.com/realm/jazzy/pull/530)) + ## 3.2.2 - Existing MGLStyle class methods that return default style URLs have been deprecated in favor of new methods that require an explicit style version parameter. The deprecated, unversioned methods continue to return version 8 of the respective styles and will not be updated as new versions of the styles are released. ([#4759](https://github.com/mapbox/mapbox-gl-native/pull/4759)) diff --git a/platform/ios/Mapbox-iOS-SDK-symbols.podspec b/platform/ios/Mapbox-iOS-SDK-symbols.podspec index 8f081f26527..5b3ef83113a 100644 --- a/platform/ios/Mapbox-iOS-SDK-symbols.podspec +++ b/platform/ios/Mapbox-iOS-SDK-symbols.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |m| m.name = 'Mapbox-iOS-SDK' - m.version = '3.2.2-symbols' + m.version = '3.2.3-symbols' m.summary = 'Open source vector map solution for iOS with full styling capabilities.' m.description = 'Open source, OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa Touch APIs.' diff --git a/platform/ios/Mapbox-iOS-SDK.podspec b/platform/ios/Mapbox-iOS-SDK.podspec index 086d4ddc411..a93e002a55b 100644 --- a/platform/ios/Mapbox-iOS-SDK.podspec +++ b/platform/ios/Mapbox-iOS-SDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |m| m.name = 'Mapbox-iOS-SDK' - m.version = '3.2.2' + m.version = '3.2.3' m.summary = 'Open source vector map solution for iOS with full styling capabilities.' m.description = 'Open source, OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa Touch APIs.'