summaryrefslogtreecommitdiff
path: root/platform/darwin
Commit message (Collapse)AuthorAgeFilesLines
* Namespaced reachability notification constantMinh Nguyễn2015-06-121-2/+2
| | | Fixes #1717.
* Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-262-7/+5
|
* prefix Reachability with "MGL" to avoid linking conflicts and app store ↵Konstantin Käfer2015-05-261-5/+5
| | | | rejections
* update Reachability with latest versionKonstantin Käfer2015-05-261-143/+85
|
* Check account type before comparing hostnameMinh Nguyễn2015-05-191-6/+5
|
* Cache account type user defaultMinh Nguyễn2015-05-191-1/+4
|
* Compare hostname for adding events=trueMinh Nguyễn2015-05-191-9/+6
| | | | ref #1596, #1599
* #1596 - Adding mapbox.com checking to http requestsBrad Leege2015-05-191-6/+8
|
* Renamed settings keysMinh Nguyễn2015-05-081-1/+1
| | | | The new keys fit the standard naming convention for Info.plist keys and more clearly communicate how they’re to be used.
* Fixed NSMutableString leakMinh Nguyễn2015-05-051-4/+2
| | | | Fixed analyzer warnings in http-nsurl target, which is MRR rather than ARC.
* lower thread priority of worker threadsKonstantin Käfer2015-05-041-0/+13
|
* Introduce and use uv::timerJohn Firebaugh2015-04-301-34/+10
|
* Use uv::asyncJohn Firebaugh2015-04-301-14/+4
|
* Restructure *Request and ContextJohn Firebaugh2015-04-281-79/+61
| | | | | | | | The previous implementation, based on thread-local storage, did not ensure that the context was destructed before the FileSource run loop. This resulted in implementations attempting to uv_close handles for a loop that had already been destroyed. This change also fixes #1262.
* Remove RequestBase::startJohn Firebaugh2015-04-281-13/+10
| | | | | | Requests are always started immediately upon construction. While here, use typed pointers, not void*.
* Separate RequestBase from DefaultFileSource internalsJohn Firebaugh2015-04-281-10/+3
| | | | | | | | SharedRequestBase was trying to do two different jobs: be a base class for Asset/HttpRequest and track internal state for DefaultFileSource. Now we have RequestBase for the former, and DefaultFileRequest for the latter.
* pointer ⇢ referenceJohn Firebaugh2015-04-281-1/+1
|
* make implementation files private headersKonstantin Käfer2015-04-131-2/+2
|
* hide Thread<> and separate the Implementation objectKonstantin Käfer2015-04-131-1/+1
|
* convert DefaultFileSource to use util::Thread<>Konstantin Käfer2015-04-101-12/+12
|
* #1185 - Adding "events=true" query string to all non metrics http requests ↵Brad Leege2015-04-021-1/+12
| | | | if metrics are not disabled
* closes #1082, refs #756: user dot on map in iOSJustin R. Miller2015-03-251-10/+26
|
* Log the Environment ID and the Thread nameThiago Marcos P. Santos2015-03-181-4/+2
| | | | | | | | | | | | | | | | | | | To make it easier to debug, add the Environment ID and the Thread name to the log messages. For instance log messages from the TileParser will look like: [WARNING] {0}{TileWorker_15/18653/9486}[ParseTile]: some relevant warning message | | | | | | | +-> Component | | +--------------------> Thread name | +----------------------------------> Environment ID +------------------------------------------> Severity level Log messages that are not inside an Environment::Scope will work normally and will look like: [WARNING] [JNI]: some relevant warning message Fixes #882.
* Look inside MapboxGL.bundle when presentMinh Nguyễn2015-03-161-1/+10
| | | | Fixes #1011.
* Make the logging system staticThiago Marcos P. Santos2015-03-121-3/+3
| | | | | | | No initialization is needed anymore and we can use the logging functions safely at any point of the code (threading is not handled though, so you might get multiplexed messages if you log from two threads simultaneously).
* Simplify the logging mechanismThiago Marcos P. Santos2015-03-121-26/+0
| | | | | | | | | Move the implementation of the more specialized methods to the base class and let the platform implement only the most generic method that takes all the possible arguments. These specialized methods will then map to the generic implementation that must be provided by the platforms we support.
* scope Requests to an Environment object for easier cancelationKonstantin Käfer2015-03-061-0/+3
| | | | | | | | | we are now scoping all file requests to an environment object. The FileSource implementation treats this as an opaque pointer, but allows canceling all Requests that are associated with that pointer. This is necessary to abort all file requests that originated from a particular Map object. Aborting a file request is different from canceling a file request: A canceled request doesn't have its callback called, while an aborted request will have its callback called with an error, indicating that the environment is going to be shut down.
* fix handling around unique_ptr releasesKonstantin Käfer2015-03-061-1/+0
|
* move iOS code from gl-cocoa to this projectJustin R. Miller2015-02-092-4/+0
|
* refactor makefileKonstantin Käfer2015-02-042-10/+28
|
* make ios compileKonstantin Käfer2015-02-041-2/+2
|
* cancel the backoff timer when the request is canceledKonstantin Käfer2015-02-041-0/+15
|
* remove circular shared_ptr and a few other memory leaksKonstantin Käfer2015-02-043-47/+73
|
* do not leak string handlesKonstantin Käfer2015-02-041-4/+10
|
* rewrite storage layer to be independent of the Map's event loopKonstantin Käfer2015-02-042-155/+388
|
* Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2014-12-181-0/+18
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: gyp/mbgl-ios.gypi gyp/mbgl-osx.gypi platform/default/asset_request_libuv.cpp src/mbgl/storage/caching_http_file_source.cpp src/mbgl/storage/file_request.cpp src/mbgl/storage/file_request.hpp src/mbgl/storage/file_request_baton.hpp
| * change file:// to asset:// to indicate that they aren't arbitrary filesKonstantin Käfer2014-12-171-0/+18
| | | | | | | | refs #579
* | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2014-12-101-0/+13
|\ \ | |/ | | | | | | Conflicts: platform/default/http_request_baton_curl.cpp
| * report version number in user agent stringKonstantin Käfer2014-12-081-2/+12
| | | | | | | | refs #628
| * add user agent headerKonstantin Käfer2014-12-081-0/+3
| | | | | | | | fixes #628
* | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2014-12-041-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: include/mbgl/storage/base_request.hpp include/mbgl/storage/file_request_baton.hpp include/mbgl/storage/http_request.hpp include/mbgl/storage/http_request_baton.hpp include/mbgl/util/uv_detail.hpp platform/darwin/http_request_baton_cocoa.mm platform/default/caching_http_file_source.cpp platform/default/http_request_baton_curl.cpp src/map/map.cpp src/storage/base_request.cpp src/storage/file_request.cpp src/storage/file_request_baton.cpp src/storage/http_request.cpp src/storage/http_request_baton.cpp
| * Prefer stdlib to libuv (fixes #688)John Firebaugh2014-12-031-2/+2
| |
* | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2014-12-032-4/+5
|\ \ | |/ | | | | | | Conflicts: src/map/map.cpp
| * add array overloads to make_unique and move it to mbgl::util from stdKonstantin Käfer2014-12-032-4/+5
| |
* | Use uv::async and various other fixesLeith Bade2014-12-031-2/+2
|/
* explicitly cast to 32 bit integerKonstantin Käfer2014-11-061-2/+2
|
* also use custom formatter for OS XKonstantin Käfer2014-11-041-10/+3
|
* use CoreImage for decoding/encoding images on osx/iosKonstantin Käfer2014-10-301-0/+125
|
* make tests workKonstantin Käfer2014-10-241-1/+1
|
* restructure gyp filesKonstantin Käfer2014-10-245-0/+777