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
Henrik Rydgård
45d94c4877
Switch all images to dynamic lookup in the atlas by string ID.
...
SLN fix
It works, but with the wrong images and the wrong characters!
Fix another bug in atlastool's binary output
Get Android building again.
Oops, didn't mean to disable this permanently.
Error checking
Minor cleanup
Gotta tweak my git ignores...
Regenerate metadata
2020-03-01 12:06:47 +01:00
Unknown W. Brackets
5009698cc0
Core: Use a shared_ptr for i18n categories.
...
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Unknown W. Brackets
190691f249
OSK: Limit allowed keyboards based on input mask.
2017-10-14 22:59:48 -07:00
Unknown W. Brackets
dcf8da244d
Prevent buffer overrun from OSK dialog.
...
If there was never a null, by mistake, we'd corrupt memory and then crash.
Occurs in the "Sonymon" homebrew.
2016-06-26 20:28:01 -07:00
Henrik Rydgard
727058fc27
Remove an entry from GPUStats that didn't really belong.
2016-04-02 11:06:05 +02:00
vnctdj
d7eba2061e
Consistently use *di for the Dialog i18n category
2015-07-01 23:26:55 +02:00
Peter Tissen
35d3b25df9
kana keyboard pa->ha fix
2015-05-06 02:42:22 +02:00
Chin
37f50a3792
Change to pass some arguments by reference
2015-03-01 16:49:00 +01:00
raven02
3c938ec5ae
Reorganize OSK button
2014-04-24 06:13:00 +08:00
Henrik Rydgård
fb82cfd258
Revert "Merge pull request #5939 from raven02/patch-18"
...
This reverts commit cf267abc82
, reversing
changes made to 97c18e7f0e
.
2014-04-23 21:17:53 +02:00
raven02
0ad773f76a
Reorganize OSK a bit
2014-04-23 21:01:00 +08:00
Unknown W. Brackets
fc833adde0
Return an error for invalid savedata sizes.
...
May fix WALL-E according to:
http://forums.ppsspp.org/showthread.php?tid=434
2014-03-23 23:14:40 -07:00
vnctdj
92348b0cc4
Trying to fix encoding
2014-03-14 05:32:31 +01:00
vnctdj
408168181d
Update PSPOskDialog.cpp
...
Cosmetic change (more space added between the 2nd and the 3rd column of buttons)
before >> http://img15.hostingpics.net/pics/947242ULES0121300000.png
now >> http://img15.hostingpics.net/pics/365423ULES0121300001.png
2014-03-14 00:59:28 +01:00
The Dax
0ce4d40636
Properly limit the space button so it can't go past the max text length.
2014-03-13 12:20:03 -04:00
The Dax
87c6260860
OSK: Let square serve as a spacebar.
2014-03-13 10:49:38 -04:00
Unknown W. Brackets
1f5639a489
Add a delay for status changes to the OSK.
...
I cut down the init delay because it's really annoyingly long.
2014-02-08 17:44:13 -08:00
Unknown W. Brackets
7add81fbd2
Use USING_WIN_UI instead of _WIN32 for differences.
...
Just makes the code clearer and probably helps other UIs work on Windows
more easily.
2014-02-08 16:38:45 -08:00