Commit Graph

5812 Commits

Author SHA1 Message Date
Minh Nguyễn
f9c544a9ea Reset map view frame on every test
To counteract the call to `-insetMapView` in `-testInsetMapView`.
2015-04-24 14:27:25 -07:00
Brad Leege
f96046103f #1225 - Starting Mapbox Events at shared instance setup time 2015-04-24 16:09:50 -05:00
Brad Leege
591c63286b #1225 - Converting id to instancetype 2015-04-24 15:41:21 -05:00
Minh Nguyễn
1dc2cbc280 Test inset MGLMapView
Verify that the ornaments hug the `MGLMapView` when it’s smaller than the view controller’s root view.
2015-04-24 13:30:50 -07:00
Brad Leege
317be34708 #1225 - Removing unavailable block on MGLMapView.initWithFrame 2015-04-24 15:29:34 -05:00
Minh Nguyễn
2c436444d7 Made user dot accessible
Added an accessibility label to the user dot.
2015-04-24 13:06:54 -07:00
Minh Nguyễn
0e8b496d31 Merge branch 'master' into 1ec5-constraints-1327 2015-04-24 09:21:46 -07:00
Konstantin Käfer
74cb1ccced Merge pull request #1312 from mapbox/1312-merge-targets
Merge build targets
2015-04-24 15:16:36 +02:00
Konstantin Käfer
0d5568f724 merge build targets so we only have one build file per platform
previously, we used multiple different projects for various targets (app, test, render) that overwrote each other, so it was impossible to have one project to build them all, one project to compile them, one project to run them all and in the darkness bind them
2015-04-24 11:50:50 +02:00
Dane Springmeyer
5d7dbf917f clipper union with evenodd fill type 2015-04-24 08:13:17 +02:00
Justin R. Miller
8d76613597 Merge pull request #1168 from mapbox/ios-testing
fixes #830, #880: bring back iOS tests; split OS X & iOS tests
2015-04-23 18:21:57 -07:00
Justin R. Miller
b528d7cc03 fixes #830, #880: bring back iOS functional tests 2015-04-23 17:54:08 -07:00
Justin R. Miller
75980a8905 Merge pull request #1337 from mapbox/fix-ios-compass-opacity
tighten up compass alpha adjustments & remove dupe
2015-04-23 17:42:04 -07:00
Justin R. Miller
7e335cafdc tighten up compass alpha adjustments & remove dupe 2015-04-23 16:19:45 -07:00
Brad Leege
7e145780eb #1225 - Initial conversion of Mapbox GL app to set access token in AppDelegate and exposing MGLMapView.initWithFrame to support it 2015-04-23 18:15:01 -05:00
Minh Nguyễn
fec1cf0e23 RTL-friendly constraints
Use leading/trailing instead of left/right for subview constraints for eventual right-to-left flippedness.
2015-04-23 15:02:06 -07:00
Brad Leege
19b5ef367e Merge branch 'master' of github.com:mapbox/mapbox-gl-native into 1225-start-token 2015-04-23 16:14:50 -05:00
Justin R. Miller
c7769d9a97 [publish ios-v0.2.15] 2015-04-23 09:00:24 -07:00
Justin R. Miller
38315fd667 bump podspec to 0.2.15 2015-04-23 08:59:26 -07:00
Minh Nguyễn
e85b4b1ce4 Merge pull request #1297 from mapbox/1ec5-strong-self
weakSelf needs strongSelf
2015-04-22 18:28:37 -07:00
Justin R. Miller
6592017a73 Merge pull request #1324 from mapbox/normalize-cache
fixes #1308: normalize tile memory cache keys & allow dupe inserts
2015-04-22 17:29:32 -07:00
John Firebaugh
bf13b31f90 Merge pull request #1323 from mapbox/1315-python-style
Correct build-version.py indentation — fixes #1315
2015-04-22 17:15:25 -07:00
Minh Nguyễn
273b930c76 Merge branch 'master' into 1ec5-strong-self 2015-04-22 15:36:20 -07:00
Jason Wray
44e2bf419f Correct indentation — #1315 2015-04-22 15:35:59 -07:00
Justin R. Miller
b43ba4089c fixes #1308: normalize tile memory cache keys & allow dupe inserts 2015-04-22 15:35:34 -07:00
Minh Nguyễn
73f982f4a4 Merge branch 'master' into 1ec5-constraints-1327 2015-04-22 15:35:10 -07:00
Minh Nguyễn
9b8b072d28 Cleaned up subview layout
No need to set the frames manually since we set up constraints as soon as the `MGLMapView` is added to the view hierarchy. Set proper edge insets on the logo bug rather than fudging constraint constants.
2015-04-22 15:33:56 -07:00
Peter Liu
f760026448 Merge branch 'master' of https://github.com/mapbox/mapbox-gl-native 2015-04-22 15:23:59 -07:00
Peter Liu
c512cb12c8 update Emerald and Streets styles 2015-04-22 15:23:05 -07:00
Brad Leege
578d48b303 #1225 - Initial setup of MapboxGL as a singleton object with access token 2015-04-22 17:19:59 -05:00
John Firebaugh
55118e5bd7 Revert "build on trusty"
This reverts commit decc493ec8.

Conflicts:
	.mason
2015-04-22 14:07:05 -07:00
Minh Nguyễn
61d4fcc2ba Merge branch 'master' into 1ec5-strong-self 2015-04-22 13:11:26 -07:00
Minh Nguyễn
8ab22c11a2 Clip MGLMapView to its bounds
Fixes #1300.
2015-04-22 12:48:15 -07:00
Minh Nguyễn
e1cf6d1515 Refactored constraints
The existing Visual Format Language usage necessitated various ternaries and over-wide lines that made the code harder to grok. Now it’s just plain ol’ Objective-C, mostly column-80-compliant. This change also adds additional constraint relations so that the various subviews respect the `MGLView`’s frame when it’s smaller than the view controller’s root view.

Fixes #1327.
2015-04-22 12:45:09 -07:00
Minh Nguyễn
1008787745 Merge pull request #1322 from mapbox/1ec5-orientation-1313
Constrain user dot to superview margins
2015-04-22 09:10:34 -07:00
Brad Leege
2f67f60dbb Merge pull request #1321 from mapbox/1166-nsurlsession
NSURLSession
2015-04-21 20:46:27 -05:00
Minh Nguyễn
87409b1234 Constrain user dot to superview margins
When the screen changes orientation, the user dot should always appear at the correct location.

Fixed #1313.
2015-04-21 15:58:55 -07:00
Brad Leege
d4264edea3 #1166 - Cleaning up logs and old NSURLConnection code 2015-04-21 17:19:37 -05:00
Brad Leege
1a43b773af #1166 - Initial conversion from NSURLConnection to NSURLSession 2015-04-21 17:13:23 -05:00
Brad Leege
3ddd65cb0e Merge pull request #1310 from mapbox/1306-geotrust-sslpin
SSL Pinning of Geotrust Cert
2015-04-21 13:13:13 -05:00
Brad Leege
d4add0bfdb #1306 - Removing kSecTrustResultConfirm as it's deprecated 2015-04-21 11:15:31 -05:00
Brad Leege
a951229591 #1306 - Moving local geoTrustCert to one time setup and cache in immutable NSData object 2015-04-21 11:09:22 -05:00
Konstantin Käfer
7e7f7b8273 copy the styles to the correct location for iOS builds 2015-04-21 15:11:45 +02:00
Brad Leege
736bdca81e #1306 - Renaming certificate to include geotrust name for easier tracking 2015-04-20 19:59:28 -05:00
Brad Leege
6f9bcd86af #1306 - Moving api_mapbox_com.der to iOS Resources directory so that it can be accessed via GL Framework 2015-04-20 19:47:24 -05:00
John Firebaugh
75af3db17d Use a promise rather than async dance 2015-04-20 17:01:27 -07:00
Brad Leege
96a6371fa0 #1306 - Explicitly scheduling NSURLConnections in mainRunLoop so that delegates and connections stay connected. 2015-04-20 18:56:42 -05:00
Brad Leege
fbd610695a #1306 - Trying strongSelf / weakSelf pattern for delegate 2015-04-20 14:55:39 -05:00
Brad Leege
a2883dddc0 #1306 - Adding api_mapbox_com.der (public key) and nsurlconnection checking infrastructure 2015-04-20 14:28:32 -05:00
Minh Nguyễn
0aadbedecb Lower threshold for rotation drift
It’s pretty darn hard to get up to 5 rad/s with the same two fingers.
2015-04-20 11:15:29 -07:00