Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Henrik Rydgård
311fe431d0
Move buffer.cpp/h from base to Common
2020-09-29 15:51:51 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Henrik Rydgård
5eb13378c6
Remove base/logging from a lot more files in native
2020-08-15 19:09:00 +02:00
Unknown W. Brackets
4d47715e41
http: Check cancel flag more often.
...
Would be better to use non-blocking sockets, but this code is working,
so not planning to rewrite it right now.
2020-07-04 21:18:41 -07:00
Henrik Rydgård
bd8083fb26
Downloader: Join threads in CancelAll
2020-06-28 18:34:00 +02:00
Henrik Rydgård
1a8084cdbc
Different handling of Download lifetimes. Might help an issue from #13057 (1.10 crash mysteries)
2020-06-28 13:26:12 +02:00
Henrik Rydgård
a4ba5d4859
HttpClient/Buffer: Just some tweaks/sanity checks
...
After a mysterious crash report by Azuka on Discord.
2020-02-07 00:09:42 +01:00
Henrik Rydgård
13f87301cf
Merge pull request #12371 from unknownbrackets/thread-detach
...
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Unknown W. Brackets
987448577f
UI: Join downloads on destruct.
2019-09-28 11:40:10 -07:00
M4xw
a8213e80f7
Switch: Disable IPv6.
2019-09-28 09:08:32 -07:00
Unknown W. Brackets
94e6950d48
http: Support redirects for load URL too.
...
Might as well, especially to keep old recent entries working.
2019-06-23 13:12:13 -07:00
Unknown W. Brackets
c5e2c0e6cd
http: Support relative redirects too.
...
Per HTTP/1.1.
2019-06-23 12:22:10 -07:00
Unknown W. Brackets
17bc6a5a2d
http: Support redirects for downloads.
2019-06-23 12:04:59 -07:00
Unknown W. Brackets
809c0f3e2c
http: Correct typo.
...
Oops, somehow deleted an important character when pushing up.
2018-12-29 08:16:56 -08:00
Unknown W. Brackets
359afb2d6b
http: Add timeout on no response.
...
Firewalls can cause this, by opening a connection but never responding.
2018-12-27 10:15:58 -08:00
Unknown W. Brackets
ca4340b9e0
net: Support ipv6 lookups.
...
We try to connect() to both, so should still be safe in environments where
ipv6 is broken.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets
2faaf0a9fa
http: Cancel remote server connects faster.
...
This way the UI doesn't appear to hang when you click cancel.
2017-03-22 00:03:08 -07:00
Fireball Wayne
8853b72684
Resolve conflict on http::client get
2017-03-11 00:23:49 -05:00
Henrik Rydgård
85c8d9b806
Homebrew Store: Add support for cancelling downloads, fix progress bar. Fixes #9374
2017-03-06 16:03:05 +01:00
Henrik Rydgard
cbf24a9d78
Get rid of "AutoInit", instead always keep the network initialized.
...
See #9305
2017-02-14 13:12:02 +01:00
latot
7047ad2271
fix sscanf types
2016-12-02 22:46:52 -03:00
Unknown W. Brackets
3c47440d0c
http: Set an explicit timeout on HTTP connect.
...
Before we were just relying on whatever timeout connect() wanted.
2016-07-04 09:46:19 -07:00
Henrik Rydgard
774539dea8
Add more error checking in net resolve.
2016-04-09 18:27:35 +02:00
gmvbif
1794ca908f
Fixed some warnings from Native project
...
- fastMode assigned twice in ChunkFIle constructor
- added checking for fail while reading ini file (possible infinity loop)
- zim_save assigned dithval twice (Please double check this)
- in http_client added checking progress againt nullptr
2016-01-02 09:40:48 +03:00
Unknown W. Brackets
f279c2a3c2
Merge remote repo native into ext/native/.
2015-09-06 12:24:17 -07:00