Commit Graph

8640 Commits

Author SHA1 Message Date
Justin R. Miller
b2c232a1f7 fixes #1228: bring in Streets & Light & update styles pin 2015-04-08 10:31:48 -07:00
Konstantin Käfer
b47ebba2b9 Merge pull request #1071 from mapbox/1071-sqlite-avoid-crash
Gracefully handle SQLite errors
2015-04-08 16:48:58 +02:00
Konstantin Käfer
59bd300b43 use sqlite itself to lock the database file rather than those unportable bsd locks 2015-04-08 16:24:10 +02:00
Konstantin Käfer
4b66c490b4 guard against invalid database files 2015-04-08 14:55:47 +02:00
Justin R. Miller
7811acef21 [publish ios-v0.2.9] 2015-04-07 22:20:55 -07:00
Justin R. Miller
b1771fbfa1 bump podspec version to 0.2.9 2015-04-07 22:20:33 -07:00
Brad Leege
7dc7fbb495 Merge pull request #1221 from mapbox/1216-pause
Pause and Resume Metrics
2015-04-07 20:23:59 -05:00
Justin R. Miller
ce32e9f92b Revert "move to Debug for iOS builds"
We should stay on Release mode for performance reasons. We
can look into providing symbols for builds for crash log
purposes.

This reverts commit cf1ecb6976.
2015-04-07 18:07:17 -07:00
Justin R. Miller
cf1ecb6976 move to Debug for iOS builds 2015-04-07 16:31:18 -07:00
Justin R. Miller
59241db579 Merge pull request #1227 from mapbox/fix-repo-podspec
fix up Podspec (flatten, back to iOS subfolder)
2015-04-07 14:29:50 -07:00
Justin R. Miller
025c9a2290 fix up Podspec (flatten, back to iOS subfolder) 2015-04-07 14:20:47 -07:00
Brad Leege
da106045f4 #1216 - Commenting out pause / resume test hooks 2015-04-07 16:19:33 -05:00
Brad Leege
ec0052bd4e #1216 - Documenting use of pauseMetricsCollection and resumeMetricsCollection 2015-04-07 16:18:38 -05:00
Brad Leege
e86597011f #1216 - Added test usage of pausing / resuming Metrics to simulate app entering background mode and no other location manager running. Added paused state checking to pauseMetricsCollection and resumeMetricsCollection 2015-04-07 15:53:17 -05:00
Brad Leege
482275f978 Merge branch 'master' of github.com:mapbox/mapbox-gl-native into 1216-pause 2015-04-07 15:11:26 -05:00
Justin R. Miller
778925a96a refs #1219: move iOS CocoaPods spec to root of project
This is only temporary, until such time that we release Mapbox GL
on CocoaPods directly, when they will host the Podspec. For now,
it needs to be in the repository root to be usable as a non-main
CocoaPods source.
2015-04-07 13:05:38 -07:00
Justin R. Miller
6efbda6755 [publish ios-v0.2.8] 2015-04-07 11:19:49 -07:00
Justin R. Miller
e4228f7a0f prep CocoaPods for new deploy setup 2015-04-07 11:18:52 -07:00
Konstantin Käfer
7d58a41de5 make sqlite storage more resilient to sporadic errors
- catch SQLite exceptions and report them
- failed statements are ignored, we're really just caching here, so if it fails we're handling it gracefully elsewhere
- handle cases where the database file goes away after we opened it
- handle cases where the schema wasn't created after the database file was opened successfully
- add tests
2015-04-07 18:04:23 +02:00
Justin R. Miller
d424c09f03 Merge pull request #1219 from mapbox/ios-deploy
fixes #1189, #880: split OS X/iOS builds & deploy iOS to S3
2015-04-06 22:51:54 -07:00
Justin R. Miller
4e86e2c62a fixes #1189, #880: split OS X/iOS builds & deploy iOS to S3 2015-04-06 22:33:40 -07:00
Brad Leege
def309ba24 #1216 - Adding start and stop location manager update to pause and resume functions. 2015-04-06 23:15:00 -05:00
Brad Leege
4092e46982 #1216 - Add pause and resume methods with corresponding isPaused boolean flag property 2015-04-06 23:03:27 -05:00
Brad Leege
0a2ee766db Merge pull request #1218 from mapbox/1215-metrics
Changes To Metrics Data
2015-04-06 19:47:19 -05:00
Brad Leege
86d05d7ece #1217 - Changing date format to ISO 8601 2015-04-06 19:12:05 -05:00
John Firebaugh
6262172034 Merge pull request #1200 from mapbox/source
Eliminate StyleSource
2015-04-06 17:09:21 -07:00
John Firebaugh
c73309ef5f Remove unused 2015-04-06 15:55:28 -07:00
Brad Leege
efdcdfb70d #1217 - Documenting why [NSTimeZone resetSystemTimeZone] is called 2015-04-06 17:51:24 -05:00
Brad Leege
67ce07cada #1217 - Changing date formatter to use device's system timezone and to give both timezone abbreviation as well as hour offset 2015-04-06 17:50:02 -05:00
Brad Leege
17ded82d87 #1215 - Refactoring cellularNetworkType and wifi to support nil data if no cell type or wifi is found. 2015-04-06 17:36:54 -05:00
Minh Nguyễn
760c0f0f19 Merge pull request #1214 from mapbox/1ec5-classes
Expose style class API publicly
2015-04-06 14:36:10 -07:00
John Firebaugh
872cf07683 Move tileCover to its own file 2015-04-06 13:58:56 -07:00
John Firebaugh
d8411f26d2 Tile::ID ⇢ TileID
This allows making both Tile and TileID private.
2015-04-06 13:58:56 -07:00
Minh Nguyễn
a525038d14 Merge pull request #1211 from mapbox/1ec5-nil-token
Accept nil access token
2015-04-06 13:25:34 -07:00
John Firebaugh
c5292b7536 Remove always-true conditional 2015-04-06 12:59:47 -07:00
John Firebaugh
5ec04c0474 Bounds-check array access at source 2015-04-06 12:59:46 -07:00
John Firebaugh
d2314aedc6 Extract SourceInfo::tileURL 2015-04-06 12:58:52 -07:00
Brad Leege
01d892a152 Merge pull request #1213 from mapbox/1212-locationmanager-defaults
LocationManager Defaults
2015-04-06 14:45:59 -05:00
Ansis Brammanis
34a5bf665e fix bboxify where first box should be placed after anchor
-js: e99ed95aaba5e79c322733b32e03518b12203a79
2015-04-06 12:35:16 -07:00
Minh Nguyễn
af09fd599a Expose style class API publicly
Also added some convenience methods to match the underlying C++ API.
2015-04-06 12:26:26 -07:00
Brad Leege
2153cd29f7 #1212 - Distance filter to 10 and defaults for accuracy and automatic pause 2015-04-06 14:22:50 -05:00
Minh Nguyễn
a406f9121f Accept nil access token 2015-04-06 11:28:30 -07:00
John Firebaugh
15969f1369 Remove Map dependency from Source::invalidateTiles 2015-04-06 10:30:02 -07:00
John Firebaugh
750cfb6f58 Remove Map dependency from Source::load 2015-04-06 10:30:01 -07:00
John Firebaugh
e72ee04482 Move SourceInfo into source.hpp/cpp 2015-04-06 10:30:01 -07:00
John Firebaugh
7e0e55e542 Eliminate StyleSource
Fixes #695
2015-04-06 10:30:01 -07:00
Minh Nguyễn
87d9507854 Merge pull request #1204 from friedbunny/location-shadow
Smooth edges of user location annotation icon's shadow
2015-04-03 21:40:10 -07:00
Jason Wray
9cdd2b1c56 Smooth edges of user location annotation icon's shadow 2015-04-03 19:52:41 -07:00
Justin R. Miller
5f94ee532c update docs for umbrella header 2015-04-03 15:56:52 -07:00
Minh Nguyễn
b9eb3e7147 Merge pull request #1201 from mapbox/1ec5-objc
iOS projects require -ObjC in OTHER_LDFLAGS
2015-04-03 15:05:44 -07:00