| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Added aliases for std::chrono typedefs (eg. 'Seconds' for
std::chrono::seconds). These aliases are used together with templated
helper functions to replace time_t with std::chrono::seconds for most
cases, in particular for 'modified' and 'expires' values in Response.
|
|
|
|
|
|
|
| |
It's a premultiplied image. This implies that we were misusing encodePNG
in most cases, as we were passing premultiplied pixels which were then
interpreted as unmultiplied. I changed encodePNG to accept premultipled
pixels, and unpremultiply in the implementations.
|
|
|
|
|
|
| |
* Consolidate Image and StillImage
* Typecheck unassociated vs premultiplied images
* Rewrite default platform image decoding implementation
|
| |
|
|
|
|
|
|
| |
As of #2746, we no longer bundle any styles with the SDK, so the asset: URL scheme is unused. Instead, point asset: to the application root for developer convenience and consistency with the Android and default asset roots. Also fixed an issue that prevented relative URLs from being treated as asset: URLs.
Fixes #1208, fixes #3050.
|
| |
|
| |
|
|
|
|
| |
Avoid duplicating it on all the ports.
|
| |
|
| |
|
|
|
|
| |
This typo prevented the tracking mode from being restored when relaunching iosapp.
|
|
|
|
|
|
| |
Drag two fingers upward to tilt the map.
Implements #2116
|
| |
|
|
|
|
|
|
| |
Added course-tracking. However, rotation has to happen atomically without animation until #1834 is fixed.
Fixes #1605.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- Added HTTPRequestBase (inherits from RequestBase)
- retry() is now a pure virtual in HTTPRequestBase
- Moved cancelled bool to HTTPRequestBase
- HTTPContext now handles only HTTPRequestBase*
- Renamed HTTPNSURLRequest, HTTPCURLRequest
|
| |
|
| |
|
|
|
| |
Fixes #1717.
|
| |
|
|
|
|
| |
rejections
|
| |
|
| |
|
| |
|
|
|
|
| |
ref #1596, #1599
|
| |
|
|
|
|
| |
The new keys fit the standard naming convention for Info.plist keys and more clearly communicate how they’re to be used.
|
|
|
|
| |
Fixed analyzer warnings in http-nsurl target, which is MRR rather than ARC.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Requests are always started immediately upon construction.
While here, use typed pointers, not void*.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
if metrics are not disabled
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes #1011.
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|