Commit graph

16 commits

Author SHA1 Message Date
def d4fe267c58 Make cross-compilation for windows possible using mingw 2015-09-03 07:44:56 +02:00
def fca4c112d4 Better support for cross-compiling by using pkg-config (instead of sdl-config and freetype-config) and trying both static linux libs 2015-09-03 06:28:11 +02:00
def 5c1ce6c601 Fix linux x86 2015-07-10 15:48:42 +02:00
def 0df6866036 Enable support to use pkg-config for curl, opusfile, opus and ogg
instead of the bundled libs. This should enable support for building on
more platforms again.

To disable pkg-config detection and use the bundled libraries instead,
you can manually set it like this:
  bam config curl.use_pkgconfig=false opus.use_pkgconfig=false opusfile.use_pkgconfig=false ogg.use_pkgconfig=false

Fixes #172
2015-07-10 15:31:09 +02:00
def 486e0d43c9 Remove incompatible win64 curl.lib 2015-07-01 14:19:27 +02:00
def ed3c3bbf1f Update Linux libcurl and openssl 2015-03-20 12:54:42 +01:00
def 55c3738a32 Add libssl.a and libcrypto.a for linux 2015-03-14 15:36:14 +01:00
def f893ed6ec4 Fix and clean up autoupdater 2015-03-13 15:14:00 +01:00
def 201e67d513 Update libcurl includes 2015-02-05 20:21:37 +01:00
def 98dab85a53 Finally building on mac 2015-02-05 20:02:58 +01:00
def 4deffb523b Update curl on win32 2015-02-05 19:42:14 +01:00
def 3b085d0cf9 Try to fix mac libcurl again 2015-02-05 19:36:58 +01:00
def 6a440cc9d8 Add macosx libcurl 2015-02-05 18:16:12 +01:00
def 05ae3f41bb Let's try to make curl build 2015-02-05 17:54:42 +01: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
fisted 095d172903 Link against libcurl.
Conflicts:
	scripts/make_release.py
2015-01-05 22:43:09 +02:00