Henrik Rydgård
546f9d7743
Some cleanups and fixes to obscure crashes
2023-09-24 13:05:25 +02:00
Henrik Rydgård
93bb113009
Common: Rename Download to Request, and the old Request to ServerRequest.
2023-07-21 22:12:00 +02:00
Henrik Rydgård
9535b16740
Use the patched naett functions to implement progress updates
2023-07-21 18:23:33 +02:00
Henrik Rydgård
61db21b12d
Cleanup, fix so we can run RetroAchievements with https, and start doing that
2023-07-21 10:49:01 +02:00
Henrik Rydgård
fbd980bee6
Get basic Naett requests to work (the store works in https mode)
2023-07-21 10:28:17 +02:00
Henrik Rydgård
f13a07f19b
Break out Download and RequestManager into its own file
2023-07-21 10:27:40 +02:00
Henrik Rydgård
64eff0dc0b
Insert a virtual base class for Download
2023-07-21 10:27:40 +02:00
Henrik Rydgård
370bb4c315
More progressbar improvements
2023-07-18 15:52:14 +02:00
Henrik Rydgård
ecea3844b0
Improved progress bar popups for downloads
...
Now shows the filename, and also there's a delay mode where they'll only
be visible if the download takes more than a second, plus they can be
named.
2023-07-18 15:13:44 +02:00
Henrik Rydgård
84d9b7e75d
HTTP user agent plumbing
2023-07-14 15:24:34 +02:00
Henrik Rydgård
f6fdaa4f56
Get it to recognize the hash by using the rcheevos hash implementation
2023-06-26 10:01:41 +02:00
Henrik Rydgård
0983927319
Comment cleanup
2023-06-17 23:19:23 +02:00
Henrik Rydgård
31a6cecef9
Allow specifying content-type for posts instead of hardcoding.
2023-06-17 23:18:23 +02:00
Henrik Rydgård
71cb766393
Fix re-entrancy issue in Downloader
2023-06-17 23:18:23 +02:00
Henrik Rydgård
3bc2aaf7ca
Set MIME type "correctly" (at least for retro purposes) for POSTs
2023-06-17 23:18:23 +02:00
Henrik Rydgård
601e767e3b
HTTPClient: Generalize Download to support GET and POST
2023-06-17 23:18:23 +02:00
Unknown W. Brackets
682f5fae97
UI: Fix reverse-dependency in PathBrowser.
2022-12-27 15:08:57 -08:00
Unknown W. Brackets
afcf6d8e65
http: Specify expected mime types in downloads.
2021-08-22 10:03:59 -07:00
Unknown W. Brackets
4c51f4761d
http: Add Accept header as a parameter in requests.
2021-08-22 10:03:59 -07:00
Henrik Rydgård
821a6a60aa
Store: Display the error code in case of error downloading the json.
...
See #14572
2021-08-22 12:21:44 +02:00
Unknown W. Brackets
2a9170a2ea
http: Use Path for the download file.
2021-05-14 22:46:03 -07:00
Unknown W. Brackets
2f08fb6583
Store: Show a rough speed indicator.
...
Some of the homebrew are a bit larger, it's nice to see a speed and not
just the progress bar.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
3379f33882
http: Always use/require progress in requests.
...
This fixes several cases where we weren't passing cancel flags
consistently.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
af5618705c
http: Remove timeoutless requests.
...
Let's always have timeouts. This timeout is reset even when a single byte
is sent, so it's pretty generous.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
1e22966984
http: Separate out net buffer code from formatting.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
a35b21a5d7
http: Set a more useful user agent.
2021-04-30 23:12:42 -07:00
Unknown W. Brackets
7e21e9a721
Common: Cleanup some mismatched indentation.
...
Also move initialization from constructors in a few places.
2021-04-30 22:59:41 -07:00
Unknown W. Brackets
b60074f697
http: Prevent Windows header leak from HTTPClient.
2021-01-09 14:45:03 -08:00
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