Commit Graph

42 Commits

Author SHA1 Message Date
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
Unknown W. Brackets
2a9170a2ea http: Use Path for the download file. 2021-05-14 22:46:03 -07:00
Unknown W. Brackets
1459c16fb8 http: Skip processing response body for void.
No need to decompress or copy between buffers.
2021-05-01 11:20:05 -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
f762fbc53d http: Always use non-blocking in http. 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
Henrik Rydgård
f4a6d291e1 Common: Capitalize setCurrentThreadName(). 2021-04-30 23:02:36 -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
Henrik Rydgård
9894c74bef Common: Cleanup HTTPServer indentation. 2021-04-30 22:35:25 -07:00
Henrik Rydgård
e6aa841b78 Common: Get rid of Executor.cpp/h.
There was only one implementation.
2021-04-30 22:33:34 -07:00
Henrik Rydgård
199735203b
Merge pull request #14389 from unknownbrackets/reporting
Reporting: Avoid generated homebrew IDs
2021-04-18 00:22:43 +02:00
Unknown W. Brackets
cab2a38498 Reporting: Avoid generated homebrew IDs.
But let through a few more, homebrew rarely reused newer system version
SFOs.  By that point they were doing their own SFOs finally.
2021-04-17 14:28:53 -07:00
ANR2ME
0fd1b65a78 An attempt to detects getifaddrs availability properly 2021-04-12 18:41:49 +07:00
ANR2ME
81616f84a3 Changing warning log to info log on GetIPList 2021-04-12 18:41:48 +07:00
ANR2ME
ce32d14a84 Added additional includes for GetIPList to work on Linux/Unix 2021-04-12 18:41:48 +07:00
ANR2ME
84d7d744e2 Added warning log for testing purpose on GetIPList function 2021-04-12 18:41:48 +07:00
Unknown W. Brackets
b60074f697 http: Prevent Windows header leak from HTTPClient. 2021-01-09 14:45:03 -08:00
Henrik Rydgård
401d9ca469 Add a file picker (WIP) 2021-01-09 01:09:21 +01:00
Henrik Rydgård
fa466d2363
Merge pull request #13850 from unknownbrackets/warnings
Cleanup some warnings and a logger shutdown crash
2021-01-01 19:53:10 +01:00
Unknown W. Brackets
8bf93bb757 http: Ignore signals on recv() too. 2021-01-01 08:58:35 -08:00
Unknown W. Brackets
c3ddb279f9 http: Cleanup excessive logging. 2021-01-01 08:55:18 -08:00
Henrik Rydgård
c5d90a7e50
Merge pull request #13831 from unknownbrackets/debugger
Debugger: Tweaks to memory read/write APIs
2020-12-29 10:51:02 +01:00
Unknown W. Brackets
589d83d4da http: Prevent assert on bad websocket data. 2020-12-28 09:30:36 -08:00
Unknown W. Brackets
c7becb2c75 http: Treat buffer full flush correctly.
Unix platforms may fail send with EAGAIN instead of 0 bytes.
2020-12-25 22:30:43 -08:00
Henrik Rydgård
05bfac0ef0 Misc logging improvements 2020-12-19 20:31:58 +01:00
Henrik Rydgård
7a63b5e69e Cleanup 2020-10-31 18:32:43 +01:00
Henrik Rydgård
dc3c161b21 Add missing include in URL.h
Thanks autechre.
2020-10-14 23:30:51 +02: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