Commit graph

10 commits

Author SHA1 Message Date
Learath2 d08bd06610 Fix variable naming 2015-08-29 23:46:22 +03:00
def 6e8ada1ac8 Fix whitespaces a bit 2015-07-09 02:12:35 +02:00
def 33c0420edf Don't stop Autoupdater downloads just because they're slow 2015-05-10 01:53:26 +02:00
def d835826461 Use proper path for autoupdater on *nix 2015-03-14 20:01:18 +01:00
Learath Lea 8ee294a412 Fix use after free. Fix thread launching. 2015-02-27 23:06:19 +02:00
Learath Lea 62a35bfb81 Escape the filenames. 2015-02-12 19:58:54 +02:00
Learath Lea 142c386cd6 Remove obsolete function prototype. 2015-02-08 11:52:47 +02:00
Learath Lea ace7e8208a Fix a segfault when aborting a download 2015-01-28 14:13:56 +02:00
eeeee e5970145f7 fix fetcher codez formatting 2015-01-19 14:09:30 -08:00
Learath 340e79904d Added fetcher interface.
Make fetcher client only and move Task class from interface.

Fix queue logic, add destructor.
LEAN_AND_MEAN moved up to prevent curl including the whole winapi

Remove JobNo, Fix callback, Cleanup debug messages.

Fix include guard

Copy the Url and Destination. Delete pTask.

Fix typo

Add Completion callback

Let the user pass context

Add virtual to inherited funcs

Use 0 instead of NULL

Give fetcher the ability to create folders. Fix couple of small bugs.

Added .lib files for MSVC.

Leave user the allocation of CFetchTask. Get rid of unnecessary cb
arguments.

Get the HTTP return code from libcurl.

Incorperate the storage system.

Fail on HTTP error >= 400.

Add more info to the task.

Add blocking way of getting HTTP resp code.
Remove resp code from normal tasks as we fail >= 400 anyways.

Sleep instead of killing the thread

Forgot one instance of respcode.

Provide HTTP download for maps.

Dont check 404 first.
2015-01-19 22:14:52 +01:00