Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [tidy] Check modernize-pass-by-value | Bruno de Oliveira Abinader | 2016-06-13 | 1 | -1/+1 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html | ||||
* | [core] use #pragma once instead of ifdef include guards | Konstantin Käfer | 2016-05-25 | 1 | -4/+1 |
| | |||||
* | [core] move from microsecond precision timestamp to integer second precision | Konstantin Käfer | 2016-05-13 | 1 | -2/+2 |
| | |||||
* | Add binary for smoke-testing offline downloads | John Firebaugh | 2016-02-10 | 1 | -0/+2 |
| | |||||
* | [all] Don't interpret 404s on non-tile resources as "no content" | John Firebaugh | 2016-02-10 | 1 | -0/+4 |
| | |||||
* | [all] Do not set Response data for 404s | John Firebaugh | 2016-02-10 | 1 | -1/+1 |
| | | | | For AssetFileSource and the node FileSource this was already the case; this makes the other implementations consistent. | ||||
* | [core] Remove Response::Error::Reason::Canceled | John Firebaugh | 2016-02-04 | 1 | -1/+0 |
| | | | | There is no such thing as a cancelled response, only cancelled requests. A request that is cancelled does not have its callback called with a Response. | ||||
* | [core] Include prior values of caching headers in Resource | John Firebaugh | 2016-01-22 | 1 | -2/+2 |
| | | | | This allows the FileSource interface itself to support revalidation. We could (and probably should) now rewrite HTTPContextBase implementations as FileSource implementations. | ||||
* | [core] Use better types for modified / expires / etag | John Firebaugh | 2016-01-21 | 1 | -3/+4 |
| | |||||
* | [core] Eliminate Response::stale and inline Response::isExpired() | John Firebaugh | 2016-01-21 | 1 | -5/+0 |
| | | | | Response::isExpired() had subtle and potentially confusing behavior around Seconds::zero(). It's best to inline it and comment why. | ||||
* | [core] Add an explicit "not modified" indicator to Response | John Firebaugh | 2016-01-14 | 1 | -0/+3 |
| | |||||
* | [core] Replace time_t with std::chrono::seconds | Bruno de Oliveira Abinader | 2015-11-27 | 1 | -2/+4 |
| | | | | | | | 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. | ||||
* | [core] move retry logic to DefaultFileSource | Konstantin Käfer | 2015-11-02 | 1 | -5/+32 |
| | |||||
* | [core] reparse tiles when new data arrives | Konstantin Käfer | 2015-10-26 | 1 | -0/+1 |
| | | | | We're now reparsing tiles when they expire. We're also swapping out buckets atomically to avoid flickering data; i.e. we're displaying the old data as long as we don't have a new parsed bucket for that layer yet. The parsed buckets now live in the *TileData objects rather than in the TileWorker; only partially parsed == pending buckets will remain in the TileWorker. Once they're parsed, they're moved to the *TileData object. | ||||
* | [core] Make response data shared to avoid excessive copying | Konstantin Käfer | 2015-10-26 | 1 | -1/+1 |
| | |||||
* | [core] add support for stale responses | Konstantin Käfer | 2015-10-26 | 1 | -0/+4 |
| | | | | We're now returning stale responses from cache. Those responses will have the `stale` flag set to true. Currently, all requesters in the core code discard stale responses, and cancel the request immediately after they got a non-stale response. | ||||
* | [node] Handle tiles which 404 better | bsudekum | 2015-09-29 | 1 | -1/+1 |
| | |||||
* | rewrite storage layer to be independent of the Map's event loop | Konstantin Käfer | 2015-02-04 | 1 | -9/+5 |
| | |||||
* | add etag support and if-none-match/if-modified-since to cocoa http handling | Konstantin Käfer | 2014-09-26 | 1 | -0/+1 |
| | |||||
* | add retry timers | Konstantin Käfer | 2014-09-24 | 1 | -0/+2 |
| | |||||
* | do 304 requests and cache them in sqlite | Konstantin Käfer | 2014-09-24 | 1 | -0/+23 |