Commit Graph

468 Commits

Author SHA1 Message Date
John Firebaugh
bbcc7c26d9 Merge pull request #1065 from mapbox/1065-separate-ui-from-map-thread
Better separation between UI thread and Map thread
2015-04-30 10:22:06 -04:00
Justin R. Miller
c48962ebf2 Merge pull request #1296 from mapbox/1258-deadpan
Cancel animations on touch down
2015-04-29 16:24:43 -04:00
Jason Wray
bffe53dd70 Antialias compass N text, shifted down 1px 2015-04-29 15:33:22 -04:00
Jason Wray
c7556987ca Antialias compass N text 2015-04-29 15:25:52 -04:00
Justin R. Miller
42b59eb655 fixes #1363: centrally & better address GL demo/third-party resource bundle issues 2015-04-28 15:03:35 -04:00
John Firebaugh
a625ba8a09 Remove Map::start/stop
Both Android and iOS now use pause/resume. The map thread is
always running, and be able to receive messages. When paused,
it will just refuse to render.
2015-04-28 14:32:24 -04:00
John Firebaugh
6c7a01a503 Following kkaefer's view changes 2015-04-28 14:32:22 -04:00
John Firebaugh
7bd735220d Fix build 2015-04-28 14:32:21 -04:00
Konstantin Käfer
b0a30943b4 move most private Map code to MapContext 2015-04-28 14:32:20 -04:00
Konstantin Käfer
89167cbf8c move Transform into MapData and make source unaware of the Map object 2015-04-28 14:32:18 -04:00
Minh Nguyễn
67fdfbadb3 Merge pull request #1357 from mapbox/1ec5-view-controller
Automatically find view controller for layout guides
2015-04-27 22:28:06 -07:00
Brad Leege
0662c7416a Merge pull request #1356 from mapbox/1352-visits
Visit API
2015-04-27 21:32:15 -04:00
Brad Leege
3040b6462e #1345 - Changing -buildNumber to /buildNumber 2015-04-27 21:19:45 -04:00
Minh Nguyễn
5ffa52cab5 Automatically find view controller for layout guides
Find the managing view controller by traversing the responder chain.
2015-04-27 15:52:30 -07:00
Brad Leege
2b4969b5dc #1352 - Adding date checker to arrival and departure date to make arrival / departure determination easier 2015-04-27 18:44:51 -04:00
Brad Leege
16bcdb10b8 #1352 - Adding visit event with data attributes 2015-04-27 18:00:31 -04:00
Brad Leege
5092d72599 #1352 - Adding start / stop visit monitoring infrastructure and integrating it with pause / resume metrics api 2015-04-27 17:37:39 -04:00
Brad Leege
c9e5435035 #1307 - Optimizing fallback to digicert check strategy 2015-04-27 16:14:14 -04:00
Brad Leege
353e5661de Merge pull request #1348 from mapbox/1307-digicert
Importing Digicert Cert
2015-04-27 15:42:07 -04:00
Brad Leege
cde989093b #1307 - Adding digicert to sdks and ssl handshaking check 2015-04-27 12:22:05 -04:00
Brad Leege
50fecb916d #1345 - Adding app build number to user agent. Updating gl test app build number to be different from build version. 2015-04-27 11:43:23 -04:00
Brad Leege
86e90da6d5 #1346 - Removing allFrameworks iteration search for the bundle as it's not needed now 2015-04-27 10:55:12 -04:00
Justin R. Miller
ad1cc3f1ad fix SSL pinning for apps including the framework
Made it clearer when we are referring to the app bundle and
when we need to get the framework bundle for resources such as
pinned certificates.
2015-04-25 10:25:47 -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
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
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
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
Brad Leege
578d48b303 #1225 - Initial setup of MapboxGL as a singleton object with access token 2015-04-22 17:19:59 -05: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
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
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
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
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
Minh Nguyễn
2ec09a663f Use strongSelf inside blocks
It’d be pointless to create a `strongSelf` but not use it; `weakSelf` isn’t guaranteed to exist past that point.
2015-04-20 09:58:05 -07:00
Brad Leege
e7518d56c5 #1303 - Enabling Battery Monitoring for app. Formatting battery level to int instead of float. 2015-04-20 10:59:09 -05:00