summaryrefslogtreecommitdiff
path: root/platform/darwin/src/http_file_source.mm
Commit message (Collapse)AuthorAgeFilesLines
* [darwin] remove accountType checkupstream/jk/account-typejmkiley2020-04-291-9/+4
|
* [ios, macos] Fixed receiving local file URL responseMinh Nguyễn2020-04-241-0/+2
|
* Add NSURLSession delegation to http_file_source.mm (#16321)Julian Rex2020-03-251-2/+19
|
* Revert "[ios, macos] Include SKU token for offline requests (#16130)" (#16193)Jordan Kiley2020-02-191-2/+3
| | | | | | | * Revert "[ios, macos] Include SKU token for offline requests (#16130) (#16133)" This reverts commit d85ce77deba12167f1c25a911ef81f44e35daa2a. * [ios] Keep skipping docs for ios-release
* [ios, macos] Include SKU token for offline requests (#16130)Jordan Kiley2020-01-211-3/+2
|
* [darwin] Use new FileSourceManager interfaceAlexander Shalamov2020-01-131-0/+1
|
* [ios, macos]Remove iOS/macOS codes from native codes (#16031)m-stephen2019-12-141-20/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add source/header * add ios files * add configs * modify name * http_file_source * add interface delegate when map init * fix name * fix delegate name * support mac os * add mac os support * make optional delegate when mac os * mac/ios difference * add ios change log * cancel iOS/mac OS judgement * cancel iOS/mac OS judgement * cancel judgement in .m * update * update * update http_file_source * update ios * update mac os * add mac os file * add mac os file to `.cmake` * change names * add log & fix format * reset changelog commit * update changelog * rename iOS network manager * Add a test configuration(same as default configuration) when mac os run tests * re-add account type into `http_file_source` * refactor
* [ios] Refactor host checks (#15948)Julian Rex2019-11-201-2/+9
|
* [ios] Refactor NSUserDefaults key variable namesJason Wray2019-08-211-5/+4
|
* [ios] Updates for offline pricingJason Wray2019-08-201-5/+5
|
* [macos,ios] Fix rare crash when downloading tiles that returned a 404Konstantin Käfer2019-08-051-3/+5
| | | | We were capturing the reference to an object that could go away when the request was canceled. However, the lambda could still be invoked by NSURLSession, creating a race condition with a resulting crash when the response to a tile request was 404 Not Found.
* [ios] Added offline query parameter (#14857)Julian Rex2019-06-111-11/+32
|
* [ios] Enable SKU tokens for all requestsJason Wray2019-05-201-10/+1
| | | Removes conditional code that relied on a plist flag. Other small cleanups.
* [ios] Rename performance's metrics variable names.android-v7.5.0-beta.1Fabian Guerra2019-05-161-2/+2
|
* [ios] Remove events=true from new SKU requestsJason Wray2019-04-291-9/+6
|
* [ios] Enable/Disable sku token handling (#14467)Julian Rex2019-04-241-4/+11
|
* [ios] Add SKU tokens to all Mapbox requests (#14421)Jason Wray2019-04-171-5/+19
|
* [ios, macos] Add Mapbox Maps SDK metrics manager. (#13997)Fabian Guerra Soto2019-04-091-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Added MGLSDKMetricsManager to keep track of SDK related events such as tile download times. * [ios, macos] Add tile download performance event. * [ios, macos] Modify the performance event format. * [ios, macos] Add Mapbox Maps SDK events manager. * [ios, macos] Remove events delegate. * [ios, macos] Remove deprecated macro. * [ios, macos] Rename MGLEventsManager to MGLMetricsManager. * [ios, macos] Make MGLMetricsDelegate follow delegate convention. * [ios, macos] Remove mbgl-filesource target dependency on MGLMetricsManager. * [ios, macos] Update metrics manager documentation. * [ios, macos] Add device metadata. * [ios, macos] Rename MGLMetricsManager to MGLSDKMetricsManager.
* [ios, macos] Expose the url session configuration object. (#13886)Fabian Guerra Soto2019-02-181-6/+4
| | | | The `MGLNetworkConfiguration` class was make public, and added `sessionConfiguration` property to let developers customize the `NSURLSessionConfiguration` object that is used to make HTTP requests in the SDK.
* [core] define number of concurrent downloads in online file source variableHuyen Chau Nguyen2018-11-151-4/+0
|
* [ios, macos] Logging. (#13235)Fabian Guerra Soto2018-11-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Update the logging subsystem to platform agnostic. * [ios, macos] Add coordinate to string function. * [ios, macos] Add BOOL to string function. * [ios, macos] Add tracing logs. * [ios, macos] Add tracing logs to generated style classes. * [ios, macos] Split logging categories accordingly to MGLLoggingLevel. * [ios, macos] Log network requests. * [ios, macos] Migrate NSAssert to MGLAssert. * [ios, macos] Include MGLLoggingConfiguration to filesource-files.txt. * [ios, macos] Fix logger string specifier for the line parameter. * [ios, macos] Add logs to shapes classes. * [ios, macos] Add logs to offline classes. * [ios, macos] Add logs to annotation classes. * [ios, macos] Add logs to foundation classes. * [ios, macos] Fix snapshotter size logging. * [macos] Add logs to map view. * [ios, macos] Fix string from boolean prefix, add custom function for NSCAssert. * Log size test * [ios, macos] Add logging conditional compilation flag. * [ios, macos] Rename function NSStringFromMGLTransition to MGLStringFromMGLTransition. * [ios, macos] Remove verbose logging for release builds. * [ios, macos] Rename NSStringFromCLLocationCoordinate2D to MGLStringFromCLLocationCoordinate2D. * [ios, macos] Clean unnecesary blank lines in MGLLight.mm set methods. * [ios, macos] Fix logging grammar, format, function names. * [ios, macos] Remove compilation flag, rename flags.
* [core] finish must-revalidate supportKonstantin Käfer2017-08-081-1/+3
|
* [build, ios, macos] Simplify version portion of user agent stringJohn Firebaugh2017-02-081-3/+2
| | | | The X.Y.Z version portion was unreliable, as it pulled from the latest tag regardless of platform. Set version to 0.0.0 and retrieve only the hash, which allows us to drop the node/npm dependency.
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-11/+11
|
* [darwin] HttpFileSource - rate limitIvo van Dongen2016-09-131-0/+17
|
* [macos] Renamed OS X SDK to macOS SDKMinh Nguyễn2016-06-141-2/+2
| | | | Also renamed as many references to OS X as possible to macOS in documentation.
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-131-2/+2
|
* [build/osx] Fix missing generated header include pathBruno de Oliveira Abinader2016-04-181-1/+1
|
* [ios, osx] Include app/OS name/version in user agentMinh Nguyễn2016-04-171-2/+94
| | | | Fixes #3997.
* [all] Replace HTTPContextBase/HTTPRequestBase with FileSourceJohn Firebaugh2016-04-141-0/+228