aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Localize numbers in ColorsActivityKenny Root2015-03-281-1/+5
|
* Do not try to resize local PTY before connectionKenny Root2015-03-271-0/+5
| | | | | | | At that point shellFd is null and trying to get a field from it via JNI will cause the runtime to abort. Fixes #65
* Use a sane default font sizeKenny Root2015-03-273-58/+74
| | | | | | | This will also try to scale existing host entries down by the appropriate amount. Fixes #44
* Add a close-on-disconnect optionmendhak2015-03-273-5/+21
| | | | | | | | Defaults to off to preserve previous behavior. Original patch by Jeff King (@peff) Fixes #23
* Make the color picker scale with display densityKenny Root2015-03-272-132/+182
| | | | | | | | The UberColorPickerDialog was written when there was only one display density (mdpi). Scale all of the values appropriately for modern multi-density displays. Fixes #64
* Only enable right modifier directory shortcuts on Dream.Torne Wuff2015-03-223-4/+12
| | | | | Disable right modifier directory shortcut keys by default unless running on a Dream.
* Handle the ins/del/home/end/pageup/pagedown keysPaul "LeoNerd" Evans2015-03-221-0/+31
|
* Make sticky modifiers an option, off by default.Torne Wuff2015-03-214-5/+39
| | | | | | | | | | | | Users with near-full-size keyboards (tablet docks/cases, or usb/bluetooth keyboards) probably don't want sticky modifier keys. Make it an option that's off by default (except on the Dream where it's likely desirable). Also, include a third state to make only "alt" sticky, for the benefit of the crazy keyboard driver on the TF101/201 that doesn't emit real key events for alt+key pressed together. Also, implement stickiness for the control key on physical keyboards that have one, for consistency.
* Remove update frequency preference.Torne Wuff2015-03-211-5/+0
| | | | | The update checker code was already removed; remove the now-unused pref that controlled it.
* Cope with keymaps that don't understand ALT modifier by falling back on the ↵Paul "LeoNerd" Evans2015-03-211-1/+5
| | | | un-modified Unicode char if it is unknown with
* Disable EC generation when no supportKenny Root2014-10-181-0/+7
| | | | Change-Id: I1d03afa0a37cfa2779e1264aaf16052c6539640f
* Add class hiding for KeyEvent debuggingKenny Root2014-10-181-3/+54
| | | | Change-Id: Id34acf00f9ec538d81b72b970ae1990c6ed36510
* Add preference to control action bar autohide.Torne Wuff2014-10-172-5/+19
| | | | Disabled by default so that people will be able to find the menu.
* Fix emulated key show/hide timeout.Torne Wuff2014-03-021-25/+37
| | | | | | Keep track of the previous timeout event and cancel it if we already dismissed the emulated keys, to avoid the case where the emulated keys vanish immediately after opening them when used just beforehand.
* Add key dumping code (commented).Torne Wuff2014-03-012-0/+100
| | | | | We might expose this as an advanced option later; for now just check it in as a commented line for dev purposes.
* Fix ctrl key on hardware keyboards.Torne Wuff2014-03-011-3/+7
| | | | | | | We were only masking off META_CTRL_ON before calling getUnicodeChar, which caused many keymaps to return 0 since one of the other ctrl key bits was still set. Masking off *all* the ctrl bits makes it return the actual character for the key pressed, and then we handle it right.
* Re-use title_colors for the colours menu item.Darren Salt2013-10-061-1/+1
| | | | This allows translation etc. – I get to see "Colours" instead of "Colors".
* Fix exception message in ECDSASHA2VerifyKenny Root2013-10-061-2/+2
| | | | Change-Id: Ib69c29588acb60b94cf710244f4c4dc76534412f
* Add diffie-hellman-group-exchange-sha256 supportKenny Root2013-10-065-36/+20
| | | | | | | | Support exchanging groups using SHA-256 as specified in RFC 4419 For more information, see https://tools.ietf.org/html/rfc4419 Change-Id: Iee5d29e7113a05cad4714a61321bf86b016624b8
* Add support for HMAC-SHA2-256 and HMAC-SHA2-512Kenny Root2013-10-061-9/+48
| | | | | | | | | This adds support for the new MAC modes using SHA-2 family of hashes as set forth in RFC 6668. See http://tools.ietf.org/html/rfc6668 for more information. Change-Id: I09dfe44efe230021a77d81546fccc6b124c958d3
* Hopefully fix the majority of keyboard issues.Torne Wuff2013-09-303-8/+36
| | | | | | | | | | | | | It seems that the majority of keyboard issues were caused by quirks implemented for the convenience of the HTC Dream (shift+numbers generating function keys on the hardware keyboard and ctrl+numbers generating function keys on the software keyboard). Turn these into settings, which are disabled by default unless the device is indeed a HTC Dream. Also, add a setting (defaulting to on) which determines whether the volume keys change the font size. Disabling this restores normal volume control functionality.
* Rewrite key input handler to be clearer.Torne Wuff2013-08-253-212/+176
| | | | | | | Misc. improvements to layout of key input handler. Probably doesn't fix any existing major bugs, but introduces several booleans that control special cases that can later be hooked to device detection or settings, and generally makes more sense.
* Move PublicKey decoding out of PubkeyBeanKenny Root2013-04-164-63/+48
|
* Extract common key generation functionKenny Root2013-04-161-51/+28
|
* Get rid of useless encoding methodsKenny Root2013-04-142-18/+11
|
* Split recoverKeyPair method for testingKenny Root2013-04-141-12/+15
|
* No need to have HandlerKenny Root2013-04-142-31/+16
|
* PubkeyUtils should not be instantiatedKenny Root2013-04-141-0/+4
|
* Add tests for PubkeyUtils#recoverKeyPairKenny Root2013-04-142-98/+100
| | | | It turns out it helps to be in the right coordinate format.
* Get KeyFactory by algorithm name instead of OIDKenny Root2013-04-141-22/+31
|
* Fix PKCS#8 key importKenny Root2013-04-131-44/+33
| | | | This uses the SimpleDERReader to inspect the key algorithm.
* Partial support for importing EC keysKenny Root2013-04-135-6/+194
|
* Use Keyczar EcCore for scalar multiplyKenny Root2013-04-1211-1674/+687
|
* Add missing EC math filesKenny Root2013-04-129-0/+1658
|
* Add EC pubkey to UIKenny Root2013-04-126-34/+149
|
* Fix line endingsKenny Root2013-04-11133-22252/+22252
|
* Fix bug in EC point encodingKenny Root2013-04-112-3/+4
|
* Add ECDH supportKenny Root2013-04-1010-154/+381
| | | | | | | | Add support for the ECDH methods required by RFC 5656 ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521
* Add support for ECDSA P-384 and P-521Kenny Root2013-02-064-34/+158
|
* Use RSA CRT keys for speedKenny Root2013-02-041-5/+9
|
* Add ECDSA supportKenny Root2013-02-046-48/+435
|
* Remove J2ME compatibility layer for keysKenny Root2013-02-0326-1856/+611
| | | | | | Use JCE instead of the DIY crypto library that is in Trilead. This was apparently for J2ME devices. Well, I'm sorry, J2ME devices, you're dead to me.
* ICH p1 default value is 1Paul "LeoNerd" Evans2013-01-051-0/+1
|
* Make the action bar home button work.Torne (Richard Coles)2012-11-112-0/+22
| | | | | Hook up the action bar home button on ConsoleActivity to return to the host list.
* Auto-hide the action bar.Torne (Richard Coles)2012-10-273-4/+100
| | | | | | | On honeycomb and later devices, hide the action bar and only show it when the screen is touched, the same way as the ctrl/esc keys work. This avoids using up a chunk of screen space all the time just to have a menu button.
* Fix Enter==Ctrl-M againPaul "LeoNerd" Evans2012-10-271-12/+10
| | | | | | | | | Without this, commit 8ac74bb made the Enter key send Ctrl-J which broke some programs, though most didn't notice because termios() canonicalised either to '\n'. Also renamed the 'key' variable to 'uchar' since it holds a Unicode character number and not a keycode.
* Ensure SD/SU obey scrolling margins (fixes issue 583)Paul "LeoNerd" Evans2012-09-291-4/+4
|
* Fix offby1 in VPA sequence (fixes issue 582)Paul "LeoNerd" Evans2012-09-291-1/+1
|
* Move public key functions into Pubkey classKenny Root2011-10-155-40/+70
|
* Add some test coverage for PubkeyUtilsKenny Root2011-10-151-6/+6
|