Henrik Rydgård
2e85eb5128
More static code analysis fixes
2024-10-28 17:59:06 +01:00
Henrik Rydgård
26de955c77
Warning fixes, add warning to Cave Story if skip buffer effects is on
2024-10-22 11:56:08 +02:00
Henrik Rydgård
a6a189c24d
An old version of android had strict JNI validation of UTF-8 strings enabled. Let's pass it.
2024-10-22 11:02:26 +02: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
Nemoumbra
d1b49cf03b
Moved the CyclicBuffer to the Collections dir
2024-09-20 16:19:24 +03:00
Herman Semenov
9f5ac80430
Fixed merge conflict
2024-09-18 11:10:55 +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
Herman Semenov
3c66f149d3
[Common/Core/Windows] Removed excess check pointer before delete or free()
2024-09-17 11:34:42 +02:00
Francisco Javier Trujillo Mata
ffcab114a1
Fix debug compilation error
2024-07-29 17:54:06 +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
Henrik Rydgård
2174a896cd
Clarify operator precedence
2024-06-04 12:01:18 +02:00
Henrik Rydgård
5b14cf9a3d
Switch to the new functions.
2024-06-04 10:28:13 +02:00
Henrik Rydgård
f2b4ad04c6
Write new 16-bit to 32-bit color conversion utility functions
2024-06-04 10:26:42 +02:00
Henrik Rydgård
5999690af5
i18n: Remove our awkward ampersand-escape support, except in [DesktopUI]
2024-05-31 09:45:59 +02:00
Henrik Rydgård
750aad2b08
Buildfix
2024-05-25 09:47:15 +02:00
Henrik Rydgård
5d8560e379
Text wrapping bugfixes
2024-05-25 09:16:00 +02:00
Henrik Rydgård
8112e51c13
More string_view
2024-05-24 13:42:49 +02:00
Henrik Rydgård
4b45bde38f
Convert WordWrapper to use std::string_view
2024-05-24 13:39:49 +02:00
Henrik Rydgård
f6ca8101e0
Start getting string_view into WordWrapper
2024-05-24 12:40:11 +02:00
Henrik Rydgård
9d0c127961
IniFile: Switch keys to string_view (avoids recomputing length every time)
2024-05-05 12:04:58 +02:00
Henrik Rydgård
e5178d2bc4
Remove unused code, some string_view
2024-05-05 11:58:35 +02:00
Henrik Rydgård
fc58a97024
Merge pull request #19027 from GermanAizek/char-as-param-for-string-methods
...
Minor optimize methods std::string using param as char with simpler implementation
2024-04-10 17:16:14 +02:00
Herman Semenov
c20cb3f4be
Minor optimize methods std::string using param as char with simpler implementation
2024-04-10 17:57:05 +03:00
Henrik Rydgård
e903287f4c
Game info screen: Show list of any plugins that will be loaded on start of the game
2024-04-09 12:55:50 +02:00
Herman Semenov
17ecee1715
Fixed return copies from functions and const ref params
2024-04-02 18:37:00 +03:00
Herman Semenov
36b7875644
Fixed to free() C version, since memory block was allocated using malloc()
2024-04-02 16:35:13 +03: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
148ae0dd4a
FastVec: Assert on the malloc to get better crash reports
2024-01-31 09:36:55 +01:00
Henrik Rydgård
1f129b6dca
Replace "ReadFileToString" with a few semantically clearer wrappers.
2024-01-25 09:55:54 +01:00
Henrik Rydgård
21d5257fbf
Translation keys etc: Address feedback from TotalCaesar659
2024-01-23 19:23:23 +01:00
Henrik Rydgård
0e03b66a95
Make vertical tabs scrollable
2024-01-19 14:56:29 +01:00
Henrik Rydgård
ff0a9f2417
Remove allocation on translation key lookup
2024-01-19 14:11:18 +01:00
Henrik Rydgård
9253bf9cb5
Add a new screen for managing installed Adreno drivers
2024-01-17 10:51:08 +01:00
Henrik Rydgård
d6e1851c5b
Merge pull request #18699 from hrydgard/adrenotools-error-check
...
Adrenotools driver installation: Fix bad error checks
2024-01-15 12:49:26 +01:00
Henrik Rydgård
8faba8426a
AdrenoTools: Fix picking zip files from the Downloads folder. Add more validation.
2024-01-15 11:46:41 +01:00
Henrik Rydgård
3e078abbaf
Restore nul check in u8_nextchar
2024-01-15 10:45:19 +01:00
Henrik Rydgård
69124fda96
Fix up a small mistake in ConvertUTF8ToWString
2024-01-15 10:43:49 +01:00
Henrik Rydgård
34d35dcf8b
More buildfix
2024-01-12 14:09:21 +01:00
Henrik Rydgård
0fc3e2b777
Add string_view support to more UTF functions
2024-01-12 14:03:02 +01:00
Henrik Rydgård
9c9fe8bf8f
Add string_view functionality to the core utf-8 parsing code
2024-01-12 14:03:02 +01:00
Henrik Rydgård
26db1cb05d
IniFile: Remove some allocations
2024-01-12 14:03:02 +01:00
Henrik Rydgård
7fafc0d83b
Improve error handling in homebrew install slightly
2023-12-20 18:28:41 +01:00
Henrik Rydgård
dd1396e2fd
Merge pull request #18581 from GermanAizek/lower-scope
...
Reduced lower scope for local objects
2023-12-20 14:53:36 +01:00
Herman Semenov
2a31f8c6c0
[Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope)
2023-12-20 12:33:56 +03:00
Herman Semenov
4ea842a3c1
Minor replaced insert to emplace C++11
2023-12-19 16:06:48 +03:00
Henrik Rydgård
155222145a
Merge pull request #18550 from GermanAizek/fix-memsize-type
...
[Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer
2023-12-14 17:51:08 +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
Henrik Rydgård
ebaebf5945
Merge pull request #18546 from GermanAizek/make-smart-ptr
...
[Common Data/Core Dialog HLE/GPU Common Vulkan] Optimize create smart pointers using C++17 std::make_*
2023-12-14 14:02:55 +01:00
Herman Semenov
08070e7f31
[Common Data/Core Dialog HLE/GPU Common Vulkan] Optimize create smart pointer using C++17 std::make_*
2023-12-14 15:44:16 +03:00