Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [all] Replace HTTPContextBase/HTTPRequestBase with FileSource | John Firebaugh | 2016-04-14 | 1 | -549/+0 |
| | |||||
* | [core] fix various compilation issues | Konstantin Käfer | 2016-04-04 | 1 | -2/+2 |
| | |||||
* | [core] Throttle the number of concurrent requests to 20 | John Firebaugh | 2016-02-10 | 1 | -0/+4 |
| | |||||
* | [all] Don't interpret 404s on non-tile resources as "no content" | John Firebaugh | 2016-02-10 | 1 | -0/+2 |
| | |||||
* | [all] Do not set Response data for 404s | John Firebaugh | 2016-02-10 | 1 | -10/+5 |
| | | | | For AssetFileSource and the node FileSource this was already the case; this makes the other implementations consistent. | ||||
* | Cleanup std::chrono usage | Bruno de Oliveira Abinader | 2016-01-25 | 1 | -1/+2 |
| | | | | Use mbgl::Duration and mbgl::{,Milli}Seconds whenever possible. | ||||
* | [core] Include prior values of caching headers in Resource | John Firebaugh | 2016-01-22 | 1 | -41/+17 |
| | | | | This allows the FileSource interface itself to support revalidation. We could (and probably should) now rewrite HTTPContextBase implementations as FileSource implementations. | ||||
* | [core] Merge rfc1123, iso8601, and parse_date into chrono.hpp and fix their API | John Firebaugh | 2016-01-22 | 1 | -2/+1 |
| | |||||
* | [core] Use better types for modified / expires / etag | John Firebaugh | 2016-01-21 | 1 | -10/+10 |
| | |||||
* | [core] Eliminate RequestBase | John Firebaugh | 2016-01-21 | 1 | -2/+2 |
| | | | | HTTPRequestBase can now itself be the base class. | ||||
* | [core] Restore existing response body | John Firebaugh | 2016-01-14 | 1 | -0/+2 |
| | | | | Until #2721 lands we still need this. | ||||
* | [core] Add an explicit "not modified" indicator to Response | John Firebaugh | 2016-01-14 | 1 | -10/+12 |
| | |||||
* | [core] Remove `Resource` dependency from low-level classes | John Firebaugh | 2015-12-23 | 1 | -8/+7 |
| | | | | These classes should not be coupled to domain-specific resource types. | ||||
* | [core] Removed libuv dependency from HTTPCurl* | Thiago Marcos P. Santos | 2015-12-01 | 1 | -68/+19 |
| | | | | | Moved the fd watcher to the RunLoop. So far only needs to be implemented by platforms using HTTPCurlRequest et al. | ||||
* | [core] Expose fewer RunLoop implementation details in header | John Firebaugh | 2015-12-01 | 1 | -1/+1 |
| | |||||
* | [curl] Make curl request less dependent on libuv | Thiago Marcos P. Santos | 2015-12-01 | 1 | -27/+18 |
| | |||||
* | [core] Replace time_t with std::chrono::seconds | Bruno de Oliveira Abinader | 2015-11-27 | 1 | -4/+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 | -123/+41 |
| | |||||
* | [core] Move parseCacheControl() up in the class hierarchy | Thiago Marcos P. Santos | 2015-10-26 | 1 | -16/+0 |
| | | | | Avoid duplicating it on all the ports. | ||||
* | [core] Make response data shared to avoid excessive copying | Konstantin Käfer | 2015-10-26 | 1 | -3/+9 |
| | |||||
* | [core] bump libuv to 1.7.5 across all platforms | Mike Morris | 2015-10-14 | 1 | -20/+10 |
| | | | | | | UV_ASYNC_PARAMS and UV_TIMER_PARAMS for libuv <= 0.10 compatibility use st_mtim.tv_sec in libuv > 0.10.x | ||||
* | [ios] [android] Use Response::NotFound in other HTTP implementations too | John Firebaugh | 2015-09-29 | 1 | -0/+3 |
| | |||||
* | Restore libcurl HTTP on Android | Leith Bade | 2015-09-23 | 1 | -0/+109 |
| | |||||
* | Use OkHTTP to implement HTTPContext on Android. | Leith Bade | 2015-08-11 | 1 | -109/+0 |
| | | | | Closes #823 | ||||
* | support cURL versions older than 7.21.6 | Konstantin Käfer | 2015-08-04 | 1 | -0/+4 |
| | | | | prior to cURL 7.21.6, CURLOPT_ACCEPT_ENCODING was called CURLOPT_ENCODING | ||||
* | don't use certain STL functions | Konstantin Käfer | 2015-08-04 | 1 | -2/+4 |
| | | | | some functions defined in <cmath>, as well as std::to_string aren't available on GNU's STL for some platforms, e.g. Android | ||||
* | s/HTTPContext/HTTPContextBase/ | Bruno de Oliveira Abinader | 2015-07-28 | 1 | -4/+4 |
| | |||||
* | Replaced 'override' with 'final' for non-public interfaces | Bruno de Oliveira Abinader | 2015-07-28 | 1 | -1/+1 |
| | |||||
* | Created HTTPRequestBase as base for HTTP requests | Bruno de Oliveira Abinader | 2015-07-28 | 1 | -28/+27 |
| | | | | | | | | - 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 | ||||
* | Moved ResponseStatus to its own header | Bruno de Oliveira Abinader | 2015-07-28 | 1 | -20/+1 |
| | |||||
* | Make one arg ctors explicit | Thiago Marcos P. Santos | 2015-07-11 | 1 | -1/+1 |
| | |||||
* | Replace mbgl::util::make_unique<> with std::make_unique<> | Konstantin Käfer | 2015-05-26 | 1 | -5/+5 |
| | |||||
* | Fix CURL handle leak (fixes #1394) | John Firebaugh | 2015-05-01 | 1 | -0/+5 |
| | |||||
* | Restructure *Request and Context | John Firebaugh | 2015-04-28 | 1 | -83/+68 |
| | | | | | | | | 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::start | John Firebaugh | 2015-04-28 | 1 | -17/+11 |
| | | | | | | Requests are always started immediately upon construction. While here, use typed pointers, not void*. | ||||
* | Separate RequestBase from DefaultFileSource internals | John Firebaugh | 2015-04-28 | 1 | -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 ⇢ reference | John Firebaugh | 2015-04-28 | 1 | -1/+1 |
| | |||||
* | make implementation files private headers | Konstantin Käfer | 2015-04-13 | 1 | -2/+2 |
| | |||||
* | hide Thread<> and separate the Implementation object | Konstantin Käfer | 2015-04-13 | 1 | -1/+1 |
| | |||||
* | convert DefaultFileSource to use util::Thread<> | Konstantin Käfer | 2015-04-10 | 1 | -12/+12 |
| | |||||
* | Add typedefs for std::chrono::steady_clock types | John Firebaugh | 2015-04-02 | 1 | -1/+2 |
| | |||||
* | add ca bundle loading back to CURL | Konstantin Käfer | 2015-02-17 | 1 | -4/+118 |
| | |||||
* | refactor makefile | Konstantin Käfer | 2015-02-04 | 1 | -2/+10 |
| | |||||
* | fixes for linux | Konstantin Käfer | 2015-02-04 | 1 | -3/+3 |
| | |||||
* | rewrite storage layer to be independent of the Map's event loop | Konstantin Käfer | 2015-02-04 | 1 | -0/+640 |