Refactored secret string handling. Now the plaintext is always held in the
commit437734748a5f2ec6938650b6ecf00b6826296238
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 18 May 2015 17:10:23 +0000 (18 17:10 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 18 May 2015 17:10:23 +0000 (18 17:10 +0000)
tree48b78912dcb193766d1d30de947b7b7f79d59bcb
parentbcec94a11bf71fc7db9ca475c0e9e09c5cbe5479
Refactored secret string handling. Now the plaintext is always held in the
same buffer for both secret and non-secret strings, and a string of
asterisks is generated on the fly for display when necessary.

The motivation for this change is that some keyboard input (e.g.
backspace, delete) was not handled properly for secret strings, and it
made more sense to keep input handling uniform, and instead customise
rendering (rather than have two ways of handling every type of keyboard
input).

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50708 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/libs/muimaster/classes/string.c