Commit Graph

14 Commits

Author SHA1 Message Date
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
1ac580b726 Buffer::Printf: Properly check for encoding failure 2024-10-10 16:01:00 +02:00
Henrik Rydgård
4d6905672e Bunch more linting 2024-10-10 11:57:10 +02:00
Henrik Rydgård
fd9daf7594 Fix some minor issues found by --sanitize. Add --sanitizeub.
Unfortunately the ub (undefined behavior) sanitizer has some bugs, it doesn't
understand pointers to member functions, so can't use it in-game (due to the
vertex decoder).

Thanks Nemoumbra for the reminder.
2024-07-22 11:37:18 +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
Herman Semenov
8e580045cd Fixed condition always false using unsigned int and logical AND 0 & 4 2024-04-11 16:56:59 +03:00
Henrik Rydgård
c02634c161 Add some paranoid format string checking in popup slider dialogs 2023-04-28 20:26:08 +02:00
Unknown W. Brackets
1810692236 Global: Cleanup some type/range checks. 2022-12-10 21:13:37 -08:00
Unknown W. Brackets
2a9170a2ea http: Use Path for the download file. 2021-05-14 22:46:03 -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
8bf93bb757 http: Ignore signals on recv() too. 2021-01-01 08:58:35 -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
Henrik Rydgård
311fe431d0 Move buffer.cpp/h from base to Common 2020-09-29 15:51:51 +02:00