Commit Graph
65 Commits
Author SHA1 Message Date
Henrik Rydgard 8e092998c2 Add SGX 543 to the halls of the damned.. I mean the ones with terrible precision 2014-12-15 21:02:51 +01:00
Henrik Rydgard 7d86cb2c04 Port my old webserver from the predecessor to native 2014-12-15 00:06:54 +01:00
Unknown W. Brackets 1150598ce4 Migrate POST to use HTTP/1.1, etc. 2014-11-25 08:49:05 -08:00
Unknown W. Brackets b88c792f0e Actually use httpVersion_ and userAgent_. 2014-11-25 08:37:59 -08:00
Unknown W. Brackets 3de556b248 Handle commonly mixed-case headers better.
Sometimes you'll see Content-length, etc.
2014-11-25 00:30:13 -08:00
Unknown W. Brackets 73d5ad3b5c Make the HTTP client more generic.
This way we can send other headers and use HEAD requests.
2014-11-23 16:12:54 -08:00
Sacha 84df417a01 Fix two more sleep bugs. 2014-07-13 08:15:14 +10:00
Unknown W. Brackets 10af5e6f22 Define NOMINMAX before win includes.
Prevents some pollution when not including other files.
2014-07-04 13:35:48 -07:00
Sacha d7cb2508d7 Update Symbian to GCC 4.8.3 2014-06-11 03:10:11 +10:00
Sacha d03acfdbf3 Revert some of that, sorry. 2014-06-10 23:22:20 +10:00
Sacha f7ffcd4197 Remove a lot of #ifdef's that simply were not needed. For example: Symbian has zip in-built, no need to even compile it let alone use #ifdef's. 2014-06-10 23:05:14 +10:00
Unknown W. Brackets e569903f9c Make it just a bit more drop-in compatible. 2014-02-09 21:56:34 -08:00
Unknown W. Brackets e189ba42b0 Add a simple alternative to UrlEncoder for mulipart.
That is, when you want files in your postdata.
2014-02-09 21:51:38 -08:00
Henrik Rydgard 1be485c2a9 Be far less aggressive about retrying socket connections 2013-12-12 22:29:25 +01:00
Henrik Rydgard ecb83130ba Make it possible to hide background http downloads from progress bars 2013-12-10 11:48:31 +01:00
Henrik Rydgård 8c54171c5f Fix a race condition in http client 2013-11-29 17:33:56 +01:00
Henrik Rydgård 197d010189 Compute progress % during downloads 2013-11-29 16:31:19 +01:00
Henrik Rydgård ca6b5b67d5 Don't call a non-set callback. 2013-11-29 12:21:02 +01:00
Henrik Rydgard d6fa5b8399 http: Add callback to Download/Downloader 2013-11-26 13:57:24 +01:00
Henrik Rydgård daffc235b8 Minor stuff in http_client 2013-11-18 16:28:25 +01:00
Unknown W. Brackets ab7638a983 Fix some initialization order warnings. 2013-10-19 14:56:05 -07:00
Unknown W. Brackets ffb6a41d08 Add an auto class for net::Init().
Fixes http::Client destructing after net::Shutdown(),
calling freeaddrinfo() too late.
2013-09-29 17:49:47 -07:00
Henrik Rydgard c7bb4d2d6f Android buildfix 2013-08-26 19:17:54 +02:00
Henrik Rydgard a038f612bd Unicode prep 2013-08-26 18:59:08 +02:00
Henrik Rydgard b0181dfe8f Warning fix 2013-07-15 18:45:00 +02:00
Henrik Rydgard 1777d9e835 Keep a reference to download objects for their lifetime. Should fix cancelling crashes. 2013-06-26 19:24:49 +02:00
Henrik Rydgard c9e1089261 Very basic download cancellation support. At least doesn't try to download if cancelled during Connect, etc. 2013-06-25 23:27:45 +02:00
Unknown W. Brackets 8c999885d8 Support non-chunked HTTP responses. 2013-06-24 19:40:24 -07:00
Unknown W. Brackets 6c638a5f84 Avoid a CHECK() in Connect(), and invalidate sock(). 2013-06-24 19:39:52 -07:00
Unknown W. Brackets 760c919408 Add a NULL check, even though this is already called via a check. 2013-06-24 19:37:47 -07:00
Henrik Rydgard d37f1254a4 Less CHECKs, more manual error checking and response. 2013-06-22 01:08:57 +02:00
Henrik Rydgard 842590a737 Disable AI_V4MAPPED on all platforms. 2013-06-11 09:30:19 +02:00
Henrik Rydgard dbdcee2d25 Android really dislikes the AI_V4MAPPED flag to getaddrinfo. 2013-06-10 23:20:45 +02:00
Sacha 3a51252fb9 Buildfix for Symbian, Linux. 2013-06-09 22:42:34 +10:00
Sacha 786480b090 Buildfix for Blackberry, Symbian 2013-06-09 22:14:19 +10:00
Henrik Rydgard 2f46baa138 Add "\n" parsing to i18n code. Move some code from Common. 2013-06-09 13:39:16 +02:00
Unknown W. Brackets c448f67b9d Use getaddrinfo() instead of gethostbyname().
The latter is not re-entrant, so not thread-safe.

At the same time, support round-robin DNS in a sort of trivial way.
2013-06-08 19:10:00 -07:00
Henrik Rydgard a509d38357 UI, http with gzip, etc. 2013-06-04 22:32:04 +02:00
Henrik Rydgard 3b9750ee49 Fix a race condition in downloader, some ui style stuff 2013-06-04 22:32:04 +02:00
Henrik Rydgard 2b3e1355ad More UI fixes 2013-06-03 19:59:32 +02:00
Sacha b7a01dc2fe Fix shared_ptr as well. 2013-06-02 22:58:55 +10:00
Sacha 0ef45bd23d Move C++11 functions to std namespace. 2013-06-02 22:25:57 +10:00
Sacha 58c40dabb1 Fix C++11 usage in native with platform-specific hacks. 2013-06-02 13:06:40 +10:00
Henrik Rydgard 4267d9903c More networking and UI stuff 2013-06-01 18:59:31 +02:00
Henrik Rydgard 4a208872c5 Android buildfixing 2013-06-01 00:50:08 +02:00
Henrik Rydgard 21a9fa2645 Merge remote-tracking branch 'origin'
Conflicts:
	native.vcxproj
	native.vcxproj.filters
2013-05-31 23:08:19 +02:00
Henrik Rydgard 5f659ce282 Add some network stuff (background downloader, URL splitter) 2013-05-31 23:04:42 +02:00
lioncash 5f16de6667 Fix a memleak in function DNSResolveTry in resolve.cpp. 2013-05-30 15:08:51 -04:00
Henrik Rydgard 5f000da0e5 Remove bad include sys/endian.h 2013-03-21 23:32:25 +01:00
Henrik Rydgard 9ffb8ca766 htons not available on x86 android on the build server, what? fix. 2013-03-21 23:19:27 +01:00