Henrik Rydgård
cc0ece038c
Clean up the string type in RequestCallback - somehow was both char* and std::string????
...
Might be related to #21695
2026-05-18 14:16:34 +02:00
Henrik Rydgård
e23d866a95
Plumb through an error code for missing activity. Will later be used to improve the UI.
2026-05-11 10:52:36 +02:00
Henrik Rydgård
51c3058cf6
Replace "ForceFullScreen" with a way to prevent specific settings from being saved.
2026-02-02 09:25:49 +01:00
Henrik Rydgård
198d86a9b1
Move the PSP system language logic into sceUtility.
2025-11-04 11:48:47 +01:00
Nemoumbra
9528d5d8be
Added proper const overloads for PSPPointer methods
2025-02-12 03:26:01 +03:00
Henrik Rydgård
b2b0ff1753
Consolidate error codes in ErrorCodes.h
2025-02-04 11:53:00 -06:00
Henrik Rydgård
2d0c9986ce
Native-OSK: Remove prefilled string "VALUE"
2025-01-22 10:15:49 +01:00
Henrik Rydgård
3ae17399eb
Warning fixes
2025-01-08 12:56:57 +01:00
Henrik Rydgård
80b09aa478
Remove unnecessary c_str(), minor cleanup
2025-01-04 13:15:55 +01:00
Henrik Rydgård
af4eb0d053
Osk: Finish moving out the weird strings to PSPOskConstants.cpp
2025-01-04 12:11:12 +01:00
Henrik Rydgård
1b73f68a44
Make PSPOskConstants.cpp not binary anymore
2025-01-04 11:35:54 +01:00
Henrik Rydgård
c91169e702
Restore removed <algorithm> includes.
...
Turns out these were needed after all. For some reason, on Windows and
Mac, <algorithm> gets auto-included by something else so I don't notice
when it's missing, and MSVC's include dependency tracker doesn't see it
either.
2024-12-19 09:53:07 +01:00
Henrik Rydgård
3e198c53b2
More include cleanup
2024-12-18 13:57:26 +01:00
Henrik Rydgård
f020d1d815
Windows inputbox: Add flags field, delete dupe code, add ability to mask passwords
2024-09-26 10:48:31 +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
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
1304d04161
Fix a particular type of race condition in file dialog requests
...
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.
In this case, it's better to simply not call the callback, rather than
crashing.
This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Henrik Rydgård
3d0051f34b
Fix enabling of native keyboard input on Switch
2023-08-30 18:14:17 +02:00
Henrik Rydgård
4a2a9830a6
PSPOskDialog: Add sanity check.
...
Also shrinks some arrays.
Fixes #17313
(We really should somehow get rid of marking this file as binary in
.gitattributes).
2023-04-21 09:12:06 +02:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
221d2f7eb5
RequestManager: Add a separate callback for failures. Separate because we usually don't need it, except Osk.
2023-03-25 18:49:23 +01:00
Henrik Rydgård
de064e210e
Replace the inputbox queue with a more generic RequestManager.
2023-03-22 12:41:11 +01:00
Unknown W. Brackets
0532b35538
Osk: Update by button flag consistently.
2023-02-12 10:06:53 -08:00
Henrik Rydgård
61cc6cd0e0
Fix bug swapping O/X visually on PSPOskDialog
2022-12-16 21:51:20 +01:00
Henrik Rydgård
93e5060137
Load and cache langValuesMapping on demand
2022-12-05 12:10:45 +01:00
Henrik Rydgård
21647cd3c1
Blind workaround for Shining Ark circle button problem
...
Seems the game might not handle the case of confirm button being set to
cross properly, so force it to circle if this game is running.
Fixes #15663 (hopefully..)
2022-11-27 23:32:43 +01:00
Unknown W. Brackets
3ccbb51e43
Osk: Allow upper/lower for all keyboards.
...
In previous tests, this seemed to be limited, but now I can't reproduce.
Instead, let's just use it as the hint for the default case.
See #15010 .
2022-07-16 17:47:31 -07:00
Unknown W. Brackets
df4017baba
Osk: Fix fullscreen check.
...
See previous 21bf41e , failed to add this change because of UTF-16.
2022-05-29 11:20:41 -07:00
Unknown W. Brackets
48b597a1b9
Display: Move core counters/stats to HW file.
...
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
8e15f755e6
UI: Add a sysprop for if the device has a keyboard.
...
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them. Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
sum2012
664f02114a
Add some PPSSPP's Japanese keyboard
...
fix #14311
2021-06-20 22:38:25 +08:00
Unknown W. Brackets
13ec384dbe
Build: Explicitly include ppsspp_config.h.
...
This adds it to all files that use it. Not all our builds include the
file.
2021-03-02 21:04:03 -08:00
Unknown W. Brackets
88fe2e9863
Dialog: Use dialog type header more consistently.
2021-02-27 13:43:12 -08:00
Unknown W. Brackets
aa13f5afb7
Dialog: Track type id on dialog class.
2021-02-27 12:01:52 -08:00
Henrik Rydgård
f01ba6dc84
Move NativeApp.h to Common/System, split into NativeApp.h and System.h
...
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d
Move math and some file and data conversion files out from native to Common.
...
Buildfixing
Move some file util files
Buildfix
Move KeyMap.cpp/h to Core where they belong better.
libretro buildfix attempt
Move ini_file
More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
Unknown W. Brackets
dd909d36cc
Osk: Draw shadows on all the letters.
2020-07-13 18:24:05 -07:00
Unknown W. Brackets
143ba22097
PPGe: Handle text shadows more consistently.
...
Don't really want them wrapping differently or etc. Let's handle
centrally so we can make them consistent and better.
2020-07-13 18:20:57 -07:00
Unknown W. Brackets
4f586f9567
PPGe: Left align messages in dialogs.
...
It was previously left aligned, but the TextDrawer was being told to
center. These are meant to just center the enclosing box of text, not the
individual lines within.
Makes Final Fantasy 3 look a lot better.
2020-05-23 19:59:56 -07:00
Unknown W. Brackets
7e70fa1627
Mp4: Cleanup some parameters.
2020-05-17 00:05:04 -07:00
Unknown W. Brackets
84cc212cfd
SaveState: Correct compat load with OSK changes.
2020-03-23 19:57:04 -07:00
Henrik Rydgård
d1196f2fc0
Support a few more wstring functions on non-windows platforms, due to the armips assembler.
2020-03-22 17:03:49 +01:00
Henrik Rydgård
75cdc11fdb
Text input: Clearly use 16-bit chars like the PSP, don't rely on wchar_t.
2020-03-22 16:44:19 +01:00
Unknown W. Brackets
998f95786a
Android: Enable native keyboard for OSK.
...
And make Windows/Qt follow the same async behavior for input boxes.
2020-03-09 18:59:53 -07:00
Henrik Rydgård
4501045224
Merge pull request #12691 from unknownbrackets/inputbox
...
Android: Process input prompts more clearly
2020-03-09 20:28:25 +01:00
Unknown W. Brackets
bc07a0529c
Osk: Prevent adding highlighted char past limit.
...
The display would correctly show the number of characters allowed, but you
could still end up going one past. This caused glitches in some games,
see #9821 .
2020-03-09 06:40:30 -07:00
Unknown W. Brackets
efceb031ce
UI: Make System_InputBox API asynchronous.
...
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -07:00