summaryrefslogtreecommitdiff
path: root/test/storage/directory_reading.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] move retry logic to DefaultFileSourceKonstantin Käfer2015-11-021-3/+4
|
* [core] Make response data shared to avoid excessive copyingKonstantin Käfer2015-10-261-1/+1
|
* [core] add support for stale responsesKonstantin Käfer2015-10-261-0/+1
| | | | 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.
* [core] all requests have to be canceled explicitly nowKonstantin Käfer2015-10-261-1/+2
| | | | By not automatically destroying Request objects after the result has been delivered, we are making sure that we can potentially fire the callback multiple times without adverse effects. This means that you have to hold on to the result of fs->request(), can explicitly cancel it if you don't want to be notified of data changes anymore. Not doing so will monitor the request indefinitely and will prevent the app from exiting.
* Remove Environment::terminate and associated codeJohn Firebaugh2015-04-281-4/+2
| | | | Fixes #1336
* hide Thread<> and separate the Implementation objectKonstantin Käfer2015-04-131-4/+3
|
* convert DefaultFileSource to use util::Thread<>Konstantin Käfer2015-04-101-3/+4
|
* scope Requests to an Environment object for easier cancelationKonstantin Käfer2015-03-061-2/+5
| | | | | | | | | 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.
* update uv_zip and add testsKonstantin Käfer2015-02-161-1/+9
|
* refactor makefileKonstantin Käfer2015-02-041-1/+1
|
* asset:// URLs are local to the executable path nowKonstantin Käfer2015-02-041-8/+7
|
* rearrange tests and make more robustKonstantin Käfer2015-02-041-3/+4
|
* rearrange tests and add storage testsKonstantin Käfer2015-02-041-0/+25