Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [tests] Rationalize storage tests | John Firebaugh | 2016-04-14 | 1 | -37/+0 |
| | | | | Properly divide Storage tests into DefaultFileSource, OnlineFileSource, and HTTPFileSource tests. | ||||
* | [core] Unify FileRequest and WorkRequest | John Firebaugh | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | [ios] make unit tests work on iOS and iOS Simulator | Konstantin Käfer | 2016-03-22 | 1 | -1/+1 |
| | |||||
* | [core] Moving caching logic to DefaultFileSource | John Firebaugh | 2016-02-10 | 1 | -1/+1 |
| | | | | This results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more. | ||||
* | [core] Use better types for modified / expires / etag | John Firebaugh | 2016-01-21 | 1 | -3/+3 |
| | |||||
* | [core] Eliminate Response::stale and inline Response::isExpired() | John Firebaugh | 2016-01-21 | 1 | -1/+0 |
| | | | | Response::isExpired() had subtle and potentially confusing behavior around Seconds::zero(). It's best to inline it and comment why. | ||||
* | [tests] Test with OnlineFileSource | John Firebaugh | 2015-12-23 | 1 | -2/+2 |
| | | | | | When we introduce OfflineFileSource, the behavior of existing tests should not change. | ||||
* | [tests] Remove libuv dependency from the tests | Thiago Marcos P. Santos | 2015-12-01 | 1 | -4/+2 |
| | |||||
* | [core] Replace time_t with std::chrono::seconds | Bruno de Oliveira Abinader | 2015-11-27 | 1 | -3/+3 |
| | | | | | | | 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] Use std::unique_ptr for FileSource request | John Firebaugh | 2015-11-16 | 1 | -2/+2 |
| | |||||
* | [core] Pass a value to response callback, not a reference | John Firebaugh | 2015-11-16 | 1 | -1/+1 |
| | |||||
* | [core] Do not pass uv_loop_t around | Thiago Marcos P. Santos | 2015-11-16 | 1 | -1/+4 |
| | | | | This should be abstracted by util::RunLoop | ||||
* | [core] move retry logic to DefaultFileSource | Konstantin Käfer | 2015-11-02 | 1 | -2/+1 |
| | |||||
* | [core] Make response data shared to avoid excessive copying | Konstantin Käfer | 2015-10-26 | 1 | -1/+2 |
| | |||||
* | [core] set a timer and auto-refresh requests when they expire | Konstantin Käfer | 2015-10-26 | 1 | -0/+37 |
When we get a request with an explicit expiration time, we're now starting a timer, and will trigger a refresh once the data expires. This gives requesters a chance to update their data. |