Henrik Rydgård
6d28ccbd8e
Add HTTP log channel, and make ACHIEVEMENTS a proper one.
2023-08-25 13:53:46 +02:00
Henrik Rydgård
dfe187df1e
Allow disabling HTTPS through the config file
...
Simply set:
```ini
[General]
DisableHTTPS = True
```
Added to help debug issue #17969
2023-08-24 21:28:30 +02:00
Unknown W. Brackets
94f7231e73
net: Fix request cancelling.
...
Was broken in #17737 .
2023-07-25 19:42:37 -07:00
Henrik Rydgård
0afd313371
Merge pull request #17770 from unknownbrackets/http-proxy-hang
...
http: Fix hang on early close
2023-07-23 23:56:07 +02:00
Unknown W. Brackets
f70030fa5b
http: Fix hang on early close.
2023-07-23 14:31:43 -07:00
Henrik Rydgård
eb14c87a71
Allow configuring the game language separately from the PPSSPP UI language, with a new setting.
2023-07-23 11:30:04 +02:00
Hoe Hao Cheng
9305870cca
Fix a segfault in ReadAllWithProgress
2023-07-23 01:18:08 +08: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
ac6301db47
Use the new function in patched naett to update user agent
2023-07-21 18:23:33 +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
9decdd198e
Address more feedback, minor cleanup
2023-07-21 10:30:06 +02:00
Henrik Rydgård
96a75f9fc4
naett: Set timeout, POST body, etc. Just missing user agent
2023-07-21 10:28:32 +02:00
Henrik Rydgård
ab6e902fea
Make naett work on Android, UWP, Mac. Exclude on Linux
2023-07-21 10:28:31 +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
e2cc835c2b
Setup build for new file HTTPNaettRequest
2023-07-21 10:27:40 +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
Andreas Stieger
822592c6b1
Fix build with GCC13: various standard includes
2023-04-05 00:20:14 +02:00
Henrik Rydgård
6b0903f566
Add facility to run tasks on dedicated threads using the ThreadManager interface.
...
Useful for things that should be run ASAP even if the threadpool is full,
at a small extra cost. (Not recommended for very small tasks).
Considering using this to resolve the deadlocks in #16802 .
2023-01-31 11:07:40 +01:00
Henrik Rydgård
b97749d623
Assorted initialization cleanup and similar, found by valgrind and warnings
2023-01-30 18:31:49 +01:00
Henrik Rydgård
b56eef487c
Strict mode checking - no way to forget detaching now.
...
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Unknown W. Brackets
682f5fae97
UI: Fix reverse-dependency in PathBrowser.
2022-12-27 15:08:57 -08:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
f44852bb18
Global: Cleanup virtual/override specifiers.
...
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
0d542c6b5a
Debugger: Fix crash on bad request.
2022-08-11 20:24:30 -07:00
ANR2ME
171e2b5713
Added another attempt to detect GETIFADDRS availability, which is more common on newer OS
2022-01-29 05:43:07 +07:00
ANR2ME
c37a58d39c
We might be missing the SIOCGIFADDR
2022-01-29 05:43:06 +07:00
ANR2ME
cdea71e901
Added logs for error within SIOCGIFCONF section.
2022-01-29 05:43:06 +07:00
ANR2ME
7aa3b1398e
Change a confusing variable naming
2022-01-29 05:43:06 +07:00
Unknown W. Brackets
abc9ce671a
Draw: Atomically release objects.
...
There may be scenarios where we release objects from separate threads,
just make them safe.
2021-10-07 18:22:23 -07:00
Unknown W. Brackets
dfe945710d
http: Fix timeout mid request.
...
Sometimes we think a socket is ready, and it isn't. We shouldn't fail the
whole read just because of this.
2021-09-25 23:26:38 -07: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
Henrik Rydgård
1b0ac23a69
Get rid of Executor.cpp/h.
...
There was only one implementation.
2021-06-12 13:03:53 +02:00
Henrik Rydgård
3d5c387b3b
Minor cleanup
2021-06-12 13:03:53 +02:00
Henrik Rydgård
2f31cb12fb
Add support for writing to file. Basics work now (having memstick on a content path)
2021-06-07 00:24:52 +02:00
Henrik Rydgård
87a25fd230
Start experimenting with DocumentsContract (the thing DocumentFile wraps)
...
wip
Some progress towards making the file browser work with DOCUMENT_TREE
More directory browsing progress
More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it.
Remove the defunct fdopendir approach. Buildfixes.
2021-06-07 00:24:51 +02:00
Unknown W. Brackets
2af40d07bb
Debugger: Fix websocket read silly mistake.
...
Surprised I didn't notice this before.
2021-05-30 15:25:41 -07:00
kotcrab
312506a41b
Fix crash in HTTPServer when processing invalid request
2021-05-27 14:10:40 +02:00