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 |
|
Henrik Rydgard
|
d37f1254a4
|
Less CHECKs, more manual error checking and response.
|
2013-06-22 01:08:57 +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
|
5f659ce282
|
Add some network stuff (background downloader, URL splitter)
|
2013-05-31 23:04:42 +02: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 |
|
Henrik Rydgard
|
c4b6067eeb
|
Attempt at android build fix on the build server (old ndk?)
|
2013-03-21 22:50:24 +01:00 |
|
oioitff
|
4ee889c025
|
Use a custom inet_pton and avoid inet_ntoa for now.
When/if ipv6 is needed we can fix inet_ntop.
|
2013-03-04 14:48:18 -08:00 |
|
Unknown W. Brackets
|
8611631555
|
Allow http::Client::POST() to specify the content-type.
|
2013-03-01 00:04:42 -08:00 |
|
Unknown W. Brackets
|
19d3ce79ed
|
Don't exit(1) on DNS resolution failure.
|
2013-02-28 23:59:32 -08:00 |
|
Unknown W. Brackets
|
6680469821
|
Include the User-Agent header in HTTP requests.
|
2013-02-28 23:39:35 -08:00 |
|
Unknown W. Brackets
|
3030c2a914
|
Fix http::Client::POST() on Windows.
Was using write() not send(), also was missing Host header.
|
2013-02-28 23:38:55 -08:00 |
|
Henrik Rydgård
|
5a5f599e1b
|
Reindent (->tabs)
|
2012-10-30 13:20:55 +01:00 |
|
Henrik Rydgard
|
5a6622eb37
|
Redo the DPI/Density code. It now makes sense.
|
2012-07-15 17:04:27 +02:00 |
|
Henrik Rydgard
|
4a6bc60ea8
|
warnin fixin
|
2012-07-09 01:11:18 +02:00 |
|
Henrik Rydgard
|
5dbea73016
|
Add some old HTTP client code, just for kicks.
|
2012-06-03 19:01:08 +02:00 |
|