aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/connectbot/service/TerminalManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Convert to gradle build systemKenny Root2014-10-011-714/+0
|
* Move PublicKey decoding out of PubkeyBeanKenny Root2013-04-161-1/+1
|
* Remove J2ME compatibility layer for keysKenny Root2013-02-031-12/+13
| | | | | | 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.
* Move public key functions into Pubkey classKenny Root2011-10-151-2/+2
|
* Remove nullwire serviceKenny Root2011-10-121-10/+6
| | | | | | | | Android Market will report traces for things installed via Market. Nullwire's stuff isn't really worth it. Also, the TerminalManager isn't really a "background" service since the calls into it still runs on the UI looper.
* Make sure we are sticky; from my DroidKenny Root2010-10-011-0/+9
|
* Fix loading of pubkeys into memoryKenny Root2010-08-031-2/+6
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@509 df292f66-193f-0410-a5fc-6d59da041ff2
* Refactor the way connection notification worksKenny Root2010-05-311-14/+20
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@505 df292f66-193f-0410-a5fc-6d59da041ff2
* Refactor keyboard management into separate classKenny Root2010-03-131-4/+6
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@490 df292f66-193f-0410-a5fc-6d59da041ff2
* Remove isSavingKeys() from TerminalManagerKenny Root2010-03-131-4/+13
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@488 df292f66-193f-0410-a5fc-6d59da041ff2
* First pass at fixing auto-reconnectKenny Root2010-03-081-59/+143
| | | | | | | | | Queue up reconnections until we receive notifications from the system that we're connected again. Need to hook up a better user notification system for network connectivity problems. git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@486 df292f66-193f-0410-a5fc-6d59da041ff2
* Fix opening multiple shortcuts while still runningKenny Root2010-03-061-4/+29
| | | | | | | | | Since the ConsoleActivity was changed to only have one activity running at a time, opening multiple shortcuts without destroying ConsoleActivity first started failing. This fixes that by handling onNewIntent() git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@483 df292f66-193f-0410-a5fc-6d59da041ff2
* Change license for contributed works to APL 2.0Kenny Root2010-02-081-16/+15
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@471 df292f66-193f-0410-a5fc-6d59da041ff2
* Make sure we clear notifications before deathKenny Root2010-01-081-1/+4
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@466 df292f66-193f-0410-a5fc-6d59da041ff2
* Update service to stay open on EclairKenny Root2009-12-181-39/+15
| | | | | | | | setForeground(true) trick doesn't work on API 5 and above anymore, so use the pattern jasta suggested on a blog post to support both >=5 and <5 simultaneously. git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@444 df292f66-193f-0410-a5fc-6d59da041ff2
* Add preference to force service persistentKenny Root2009-09-071-0/+7
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@405 df292f66-193f-0410-a5fc-6d59da041ff2
* Don't auto-start local connections upon selectionKenny Root2009-08-141-20/+4
| | | | | | | | | | | | There is apparently a race condition in building the UIs. The local transport was starting up prematurely and causing the host list to cycle multiple times at some point. This change also makes it so that hosts quick-connected using the same nickname as a previous host simply uses the previous host instead of creating a new entry that can never be "reached" git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@396 df292f66-193f-0410-a5fc-6d59da041ff2
* Add confirm-use and lifetime constraints to individual pubkeysKenny Root2009-06-261-6/+25
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@334 df292f66-193f-0410-a5fc-6d59da041ff2
* Add authentication agent forwardingKenny Root2009-06-251-10/+62
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@331 df292f66-193f-0410-a5fc-6d59da041ff2
* Various fixes for transports branch bugsKenny Root2009-06-171-1/+3
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@312 df292f66-193f-0410-a5fc-6d59da041ff2
* Avoid concurrent modification of bridges list when TerminalManager service ↵Kenny Root2009-06-161-3/+7
| | | | | | is destroyed while still connected to hosts git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@305 df292f66-193f-0410-a5fc-6d59da041ff2
* Add multiple transportsKenny Root2009-06-151-14/+24
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@298 df292f66-193f-0410-a5fc-6d59da041ff2
* Allow resizes whenever anyone binds or rebinds to TerminalManagerKenny Root2009-06-141-0/+4
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@291 df292f66-193f-0410-a5fc-6d59da041ff2
* Change Log tags to something more readableKenny Root2009-06-131-2/+1
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@289 df292f66-193f-0410-a5fc-6d59da041ff2
* Do not resize when the lock screen is upKenny Root2009-06-131-0/+17
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@288 df292f66-193f-0410-a5fc-6d59da041ff2
* Add stack trace reportingKenny Root2009-06-101-0/+5
| | | | | | | | * When an unhandled exception occurs, the exception handler writes it to a file in addition to all ther other stuff that normally happens * The next time ConnectBot is started up, the user is prompted as to whether they want to submit the stack trace to aid in finding bugs. * If the user agrees or declines, the stack traces are deleted. git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@277 df292f66-193f-0410-a5fc-6d59da041ff2
* Don't conflate "bumpy arrows" and "vibrate on bell"Kenny Root2009-06-031-5/+16
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@265 df292f66-193f-0410-a5fc-6d59da041ff2
* Add in volume control for terminal bellKenny Root2009-06-021-8/+39
| | | | git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@264 df292f66-193f-0410-a5fc-6d59da041ff2
* Add audible terminal bell, vibrate on terminal bell, and notification on ↵Kenny Root2009-06-021-0/+104
| | | | | | background terminal bell. git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@258 df292f66-193f-0410-a5fc-6d59da041ff2
* Move preference keys to their own class so they can be easily tracked for ↵Kenny Root2009-05-301-12/+6
| | | | | | usage in other classes git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@247 df292f66-193f-0410-a5fc-6d59da041ff2
* Code cleanup, pass 2Kenny Root2009-01-241-2/+3
|
* Indentation cleanup, pass 1Kenny Root2009-01-231-54/+54
| | | | | * Change 4-spaces to tabs (I blame Eclipse's editor) * Remove white spaces from end of lines
* Bug scrubKenny Root2009-01-201-4/+6
| | | | | | | * Try to be better about unsynchronized accesses * Don't expose references to arrays in our beans * Make sure we don't dereference null pointers * Update version string before calling aapt
* * Make sure we catch rebinds to cancel timerKenny Root2008-12-111-6/+34
|
* * Only release Wi-Fi lock when it's held (darn you, inaccurate SDK ↵Kenny Root2008-12-111-19/+55
| | | | | | | documentation) * Stop service immediately if ConnectBot is exited with no connected hosts if there are no loaded pubkeys, OR * Stop service after timeout if there are loaded pubkeys
* Only lock Wi-Fi if our active network is Wi-Fi upon connectionKenny Root2008-11-241-2/+7
|
* Added preference for Wi-Fi lockingKenny Root2008-11-211-34/+60
|
* Convert Pubkey handling to PubkeyBean in preparation for backup/restore ↵Kenny Root2008-11-201-16/+8
| | | | functionality
* Change things from public and protected to protected and private where they ↵Kenny Root2008-11-201-5/+4
| | | | should be (being private helps with dead code detection in Eclipse)
* Only prompt user whether to close session when remote side closed it.Kenny Root2008-11-201-1/+1
|
* * Convert host entries to beansKenny Root2008-11-141-24/+20
| | | | * We no longer lose connections to hosts not in the database made from shortcuts
* * Add compression option to hostsKenny Root2008-11-111-0/+4
|
* * Allow user to have a port-forward-only connection to a host (similar to ↵Kenny Root2008-11-101-0/+4
| | | | | | | OpenSSH's -N option) * Fixed bug with adding port forwards * Fixed bug where we crash if connection goes away while we're initializing the ConsoleActivity
* * Allow changing tunnels on connected hostsKenny Root2008-11-071-1/+1
| | | | | * "Port forwards" menu item in ConsoleActivity goes to PortForwardListActivity now * Allow users to delete tunnels
* * Don't repeat a notification if it's the same as the last one.Kenny Root2008-11-031-2/+0
| | | | | * Allow users to copy to the end of the screen. * Strip blank space off the end of each copied line and don't append a return on the last line.
* * added "in-memory" function to backend service so that unlocked keys can be ↵Jeffrey Sharkey2008-11-021-12/+82
| | | | | | | | | | | | | | stored there. this is also disable-able from settings * "use any key" for a host will only look through unlocked in-memory keys * implemented "load on start" functionality in backend service * implemented "import key" which lets you select any openssh-formatted key (including passworded-ones) from simple /sdcard browser * cleaned up context menu in pubkeylist, now includes toggle checkbox for "load at start" but only available when password-less and non-imported * clicking a key in pubkeylist will toggle its backend status (decrypt and put in memory, or remove from memory) * created preference for screen orientation forcing versus auto, but still need to test * created preference for camera button behavior, but still need to test
* * Added automatic version number insertion via AntKenny Root2008-10-301-1/+0
| | | | | * Removed unused cruft * Changed Class to Object in PromptHelper.java
* * finished implementing copy functionalityJeffrey Sharkey2008-10-271-14/+24
| | | | | | | | * added right or left alt- or shift- helping keys (/ and tab), disableable from settings * fixed a few random bugs
* * added port forwarding--tested to work with local "-L" tunnels, tap menu on ↵Jeffrey Sharkey2008-10-261-1/+2
| | | | | | | | console to create * created preference for keep-alive screen feature
* * refactored prompting gui component into PromptHelper, makes it easier now ↵Jeffrey Sharkey2008-10-261-10/+12
| | | | | | | | | | because it offers blocking methods to get strings * also added boolean prompt support for hostkey yes/no from user * added checking and storing of hostkeys into backend database, successfully tested * created new icon using android style guide pdf, older icon is still here