Commit graph

14837 commits

Author SHA1 Message Date
def 62a1a36fa2 Cleanup 2015-02-12 15:04:45 +01:00
Dennis Felsing 38a2730b15 Merge pull request #144 from eeeee/websockets_pullreq
websockets for server
2015-02-10 12:15:17 +01:00
eeeee 56c42c3c31 websockets support in server 2015-02-08 19:11:34 -08:00
eeeee 5971c1cb68 added libwebsockets source code 2015-02-08 18:31:30 -08:00
def dd3fae069b Cleanup 2015-02-08 21:18:24 +01:00
Dennis Felsing ec8a4b005f Merge pull request #143 from Learath2/pr_cleanup
Some cleanup and a tiny fix.
2015-02-08 11:07:30 +01:00
Learath Lea ec84bb890b Actually use the storagetype we passed. 2015-02-08 11:53:06 +02:00
Learath Lea 142c386cd6 Remove obsolete function prototype. 2015-02-08 11:52:47 +02:00
def 224e1f5a8a Sigh, forgot another dll 2015-02-06 05:14:49 +01:00
def 8ecd66fc89 Fix windows build 2015-02-05 23:56:03 +01:00
def 48525e4944 Android json fix 2015-02-05 20:31:05 +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 d4c6141fa2 Fix some bam stuff 2015-02-05 19:52:13 +01:00
def 4deffb523b Update curl on win32 2015-02-05 19:42:14 +01:00
def 8da8abdeaa No more verbose curl output 2015-02-05 19:41:48 +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 c4e76af45f Version 7.0 2015-02-05 18:04:10 +01:00
def a8b2672739 Minor curl fixes 2015-02-05 18:03:34 +01:00
def 05ae3f41bb Let's try to make curl build 2015-02-05 17:54:42 +01:00
def c1374ac70a Oops, fix highlighting color in console again 2015-02-02 00:21:41 +01:00
Dennis Felsing 99f2adc29b Merge pull request #139 from Learath2/pr_FixOverflow
Fix progress bar overflow and Abort segfault
2015-01-28 18:45:15 +01:00
Learath Lea c4ab42333d Make sure the old object is deleted 2015-01-28 14:17:39 +02:00
Learath Lea ace7e8208a Fix a segfault when aborting a download 2015-01-28 14:13:56 +02:00
Learath Lea 2d61e7610e Fix the progressbar overflow 2015-01-28 13:57:11 +02:00
def 499adf3cdb HTTP instead of HTTPs 2015-01-27 23:14:04 +01:00
def 0df35a990c Remove spoof protection, interacts badly with HTTP download 2015-01-27 23:13:47 +01:00
def aaf8311304 Reset highlighting color 2015-01-27 01:13:27 +01:00
def 96e864e9c3 Fix: Make /map work with # 2015-01-23 21:47:16 +01:00
def c65458ca06 Fix compilation on MSVC (by coffee) (fixes #138) 2015-01-20 13:46:26 +01:00
def 3aa4a613b6 Make the option to disable http download work (thanks Learath2) 2015-01-20 00:26:09 +01:00
def 3b0a52319b Typo 2015-01-20 00:21:38 +01:00
def 3d686a223f Add an option to disable http map download (not working yet) 2015-01-20 00:21:28 +01:00
def 7adc47ae9d cl_ddnet_map_server -> cl_ddnet_maps_server 2015-01-20 00:11:54 +01:00
Dennis Felsing b6c07e40d2 Merge pull request #137 from Learath2/pr_FollowRedirect
Follow 3xx Redirects
2015-01-20 00:05:33 +01:00
Learath Lea 6b354475ce Follow 3xx Redirects 2015-01-20 01:01:35 +02:00
Dennis Felsing 554342eb3f Merge pull request #136 from Learath2/pr_CrcFail
Fix for the crc fail fallback.
2015-01-19 23:56:40 +01:00
Learath Lea c6ee3ebbed Fix for the crc fail fallback. 2015-01-20 00:51:55 +02:00
Dennis Felsing 6923161048 Merge pull request #135 from Learath2/pr_FetcherFix
Fetcher Fix
2015-01-19 23:40:48 +01:00
Learath Lea 93d6ca2102 Fixed the order of callbacks 2015-01-20 00:34:05 +02:00
eeeee e5970145f7 fix fetcher codez formatting 2015-01-19 14:09:30 -08:00
Dennis Felsing dcbd91cbc8 Merge pull request #133 from Learath2/pr_CrcCheck
Fallback to gameserver if LoadMap fails
2015-01-19 22:36:21 +01:00
Learath Lea b8ec5c6e65 Fallback to gameserver if LoadMap fails 2015-01-19 23:34:57 +02:00
def 883cd3d7d3 Adaptation to work with DDNet 2015-01-19 22:19:27 +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
Learath Lea d7771f8f7d Fix debug build on MinGW. Add json_get_boolean. 2015-01-19 22:14:50 +01:00
def 7d448e0d53 Version 6.6.8 2015-01-19 22:14:50 +01:00
def 72b72b8b61 Fix of water mapres (by Soreu, found by hi_leute_gll) 2015-01-19 22:14:50 +01:00
nuborn 92c9646060 detect and predict weak/strong hook 2015-01-19 22:14:50 +01:00