Commit Graph
161 Commits
Author SHA1 Message Date
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
ChinandHenrik Rydgard 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
Unknown W. Brackets 6c8f310322 Draw 16, not 15 characters max in the OSK.
This is a convenient number because passwords in some games are 16
characters long.  16 seems more likely to be choosen by developers as a
limit, and still fits well enough within the bounds.
2014-02-02 15:50:02 -08:00
Unknown W. Brackets 77acd0729f Use the latch in dialogs throughout.
This makes it so that rapid fire works for them as well.
2014-02-02 15:48:29 -08:00
The Dax 92ab821f14 Allow the OSK text input buttons to be held and thus repeat. 2013-12-14 18:18:18 -05:00
pal1000 95a3660a34 Visual Studio 2013 buildfix 2013-12-12 16:11:36 +02:00
Henrik Rydgard 70174ac405 Warn fix, cleanup, update buttons.svg 2013-12-12 12:08:36 +01:00
shenweip 389fee29b5 Limit field drew number,draw back of string if length is greater than limit. 2013-12-12 13:10:42 +08:00
Sacha 108edd4093 Buildfix for Windows Qt. Enable PSP model SLIM on Symbian (works fine due to lack of mmap). 2013-12-10 18:49:25 +10:00
Sacha a0c5af288c Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. Add Set Nickname to mobile Qt. 2013-12-08 20:16:34 +10:00
Henrik Rydgard 1ec0a977e4 Fix too-slow fade in/out of save dialogs and others in 30hz games. 2013-10-16 18:54:40 +02:00
Unknown W. Brackets 49bd553238 Avoid some shadowing warnings. 2013-10-05 11:13:39 -07:00
mgaver 6be671b8ec Update PSPOskDialog.cpp 2013-09-29 17:12:45 +09:00
The Dax 1c9c2576eb Add comments back in. I promised Unknown I'd add them back in. 2013-09-28 18:18:49 -04:00
The Dax 2f9a909697 Remove unused extern. 2013-09-28 18:15:40 -04:00
Henrik Rydgard 8d1fce2935 Update lang 2013-09-28 20:07:57 +02:00
Henrik Rydgård a757457ec2 Merge pull request #3933 from mgaver/patch-7
Update PSPOskDialog.cpp
2013-09-27 02:47:38 -07:00
Henrik Rydgard 6143cfabd9 Fix encoding of PSPOskDialog so it works on the build bot. Oh no, not another of these... 2013-09-26 17:39:36 +02:00
mgaver a475691171 Update PSPOskDialog.cpp 2013-09-27 00:29:04 +09:00
raven02 deaf86a433 Align OSK button bit better 2013-09-26 21:26:19 +08:00
The Dax 3cc07ec1af Let LTRIGGER cycle languages backward. 2013-09-25 17:33:22 -04:00
The Dax a7a416fa88 Pull language names from langregion.ini. 2013-09-25 17:17:17 -04:00
The Dax 17d52ce07c Adjust some of the text to look better. 2013-09-25 16:25:26 -04:00
The Dax 7b6414e78d Overhaul the OSK. Select now acts as a shift button(swaps between upper/lower case; in the case of Korean, it does nothing. In the case of Japanese, it swaps Katakana/Hiragana). R Trigger now acts as a language selector, cycling through the 5 keyboard languages(English, English full-width, Japanese, Korean, Russian). 2013-09-25 16:18:07 -04:00
The Dax 1061d6193c Remove some unused stuff. 2013-09-25 13:52:41 -04:00
The Dax 90c21a370c Add Full-width Latin keyboard(upper and lower cases), and allow OSK to input characters as long as it's <= FieldMaxLength. This should allow Valkyria Chronicles II to have correct password entry on all platforms. 2013-09-25 13:50:50 -04:00
Unknown W. Brackets 50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
The Dax 58aab2eeb8 Simplify NativeKeyboard, and only copy the amount of bytes of the output plus null terminator. 2013-09-11 15:42:32 -04:00
Unknown W. Brackets db7496a37c Write only changed characters from OSK. 2013-09-11 08:04:01 -07:00
Henrik Rydgard 8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Lioncash 78f6808ece Remove a redundant wcsncat call.
Just makes the else statement the dominant branch.
2013-09-04 15:05:28 -04:00
The Dax 91fe3a8d4c Remove old comment since this now supports wchar/Unicode. 2013-08-27 08:54:41 -04:00
The Dax d5c4f6673c Switch from u32_le to u32, and truncate the user's input if it's too long(so that they still get something entered. It's probably confusing not to enter something). 2013-08-27 08:46:54 -04:00