115 Commits

Author SHA1 Message Date
Henrik Rydgård
0e6fc8e0e3 Assorted warning fixes 2024-11-28 15:02:26 +01:00
Henrik Rydgård
107bd01536 Fix some issues with clicking touch buttons using the mouse after the hover change.
Increase a buffer size.
2024-11-22 10:31:10 +01:00
Henrik Rydgård
305453b52d Buffer: Optimize scanning for the next crlf 2024-11-22 10:31:07 +01:00
Henrik Rydgård
d1d7ddf310 Use CharQueue in Buffer 2024-11-22 00:02:50 +01:00
Henrik Rydgård
59a56d66c7 Add a "reason" argument to sleep_ms().
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.

This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård
fb4c1fb63f Reporting: Use g_DownloadManager instead of using a custom thread solution 2024-10-28 17:02:03 +01:00
Henrik Rydgård
cf678a1aa6 JIT: Allow more blocks to be stored in the cache. Also, add margin to the IsFull check. 2024-10-28 17:02:03 +01:00
Henrik Rydgård
e51c58716b Fix minor code issues flagged by PVS-Studio and reported by alphrixus. 2024-10-10 14:10:30 +02:00
Henrik Rydgård
4d6905672e Bunch more linting 2024-10-10 11:57:10 +02:00
Henrik Rydgård
e0c12c9547 More lint warning fixes 2024-10-10 10:52:45 +02:00
Herman Semenov
45429bcd85 [Common/Data/File/Input/Net/Serialize/System/UI] Using for based loop C++17 and replaced on structured binding map C++17 2024-09-17 17:42:08 +02:00
Henrik Rydgård
eccd7f3767 More const/static-ification 2024-09-17 15:22:37 +02:00
Henrik Rydgård
e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
5b717cab04 HTTPClient: Fix issue with HTTP redirects 2024-05-28 11:16:10 +02:00
Herman Semenov
f75d7d13a0 [Net/Web] Fixed strict reduce types to 32 bit sizes, changed to memsize 2024-05-11 19:43:13 -05:00
Henrik Rydgård
c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
deffbea75f HTTPClient: Fix socket leak on connect failure 2024-01-23 11:05:03 +01:00
Henrik Rydgård
78de59a479 HTTPS through naett: Get the body of the response even if code isn't 200.
This is required for rcheevos to parse errors properly - it ignores the
error code and parses it out of the body instead.
2023-12-31 00:11:36 +01:00
Henrik Rydgård
9c1fd06c2f Various fixes to PathBrowser etc to handle browsing HTTP subfolders 2023-12-29 21:34:24 +01:00
Henrik Rydgård
f42e9d94a3 Show the tilt input type directly on the item that goes to the tilt settings 2023-12-29 14:10:03 +01:00
Henrik Rydgård
e3177ac870 Make some global string pointers const, not just the strings.
Minor cleanup.
2023-12-29 14:09:45 +01:00
Henrik Rydgård
a416d94e38 CHD over http wasn't actually working, disable again until it can be fixed 2023-12-29 12:19:06 +01:00
Henrik Rydgård
e6bc3d83f8 Logging improvement 2023-12-29 11:44:22 +01:00
Henrik Rydgård
2160abb5ec Web server: Send 404 as appropriate 2023-12-29 11:21:14 +01:00
Herman Semenov
309f0d97f2 [Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer 2023-12-14 19:26:10 +03:00