[PINENTRY PATCH] tty button-related fixes and refinements

Ineiev ineiev at gnu.org
Fri Apr 8 19:47:39 CEST 2016


Hello,

I attach some fixes I've come up with when playing with non-ASCII
texts in buttons.

The first one simplifies key checking code a little bit; the second
one fixes a few bugs in underscore processing; the third one lets
the user see the localized message even if the pinentry doesn't
support its accelerators (by the way, I think that pinentry
should localize the messages that aren't customized from the agent,
like "Press any key to continue."); the last one adds a default
message to a call of button() so that pinentry won't skip a button
when its text is localized.

Thank you!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tty-Refactor-usage-of-tolower.patch
Type: text/x-diff
Size: 1993 bytes
Desc: not available
URL: </pipermail/attachments/20160408/baba19b4/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-tty-Fix-underscore-processing-in-accelerators.patch
Type: text/x-diff
Size: 1517 bytes
Desc: not available
URL: </pipermail/attachments/20160408/baba19b4/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-tty-Show-supplied-message-when-using-default.patch
Type: text/x-diff
Size: 2184 bytes
Desc: not available
URL: </pipermail/attachments/20160408/baba19b4/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-tty-Avoid-using-button-with-NULL-default-text.patch
Type: text/x-diff
Size: 910 bytes
Desc: not available
URL: </pipermail/attachments/20160408/baba19b4/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: </pipermail/attachments/20160408/baba19b4/attachment.sig>


More information about the Gnupg-devel mailing list