1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-27 01:38:11 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
Greg Alexander
3620b17411 implement start on boot 2014-12-17 23:18:27 -05:00
Greg Alexander
8a1bc2c4e0 made the JNI methods static because they didn't use this anyways 2014-12-17 22:48:38 -05:00
Greg Alexander
5df0610f5c implement the extra dropbear commandline options 2014-12-17 22:46:04 -05:00
Greg Alexander
637de21aca add locking to resolve some thread safety issues 2014-12-17 20:54:40 -05:00
Greg Alexander
5c7d92415c remove debug code from updater thread 2014-12-17 20:40:44 -05:00
Greg Alexander
a40b35a5a2 updater checks length as well as time, in case there are multiple
modifications within the same second
2014-12-17 20:39:48 -05:00
Greg Alexander
52a1093dde make the log view always show the bottom of the log 2014-12-17 20:39:34 -05:00
Greg Alexander
4581a224ac first draft of a thread to poll for changes to the dropbear.err file 2014-12-17 20:27:37 -05:00
Greg Alexander
b44b9295d5 add display of the dropbear.err log (it doesn't update yet) 2014-12-17 19:58:22 -05:00
Greg Alexander
932bfa3242 save the static pointer to the main Activity in SimpleSSHD because it'll
be used by more than just SimpleSSHDService..
2014-12-17 19:34:35 -05:00
Greg Alexander
76eb76fac4 get rid of the old prefs machinery 2014-12-17 18:43:01 -05:00
Greg Alexander
e49cf68feb port is a string now because none of the stock preference widgets will do
a number...
2014-12-17 18:39:57 -05:00
Greg Alexander
bbcb048996 first draft of settings activity 2014-12-17 18:38:39 -05:00
Greg Alexander
95c028ad81 add an options menu to access the future settings activity 2014-12-17 16:46:02 -05:00
Greg Alexander
324bf93935 no need to specify -l on the shell, dropbear does it as appropriate 2014-12-16 23:11:51 -05:00
Greg Alexander
f0347f7477 probably startForeground() is overkill? 2014-12-16 18:43:12 -05:00
Greg Alexander
5c01b97345 when creating the Service, we check for a pid file for an orphaned daemon
process, and if it exists, we kill it.
2014-12-16 18:42:37 -05:00
Greg Alexander
e77351edd4 factor the SharedPreferences usage into its own Prefs class 2014-12-16 18:31:53 -05:00
Greg Alexander
5248db4380 add a (useless) service onDestroy() to clean up the sshd 2014-12-16 18:20:01 -05:00
Greg Alexander
aa006d51d8 eek! and call super.onPause() too 2014-12-16 17:11:22 -05:00
Greg Alexander
f5d6675cad make the start button color a little more palatable 2014-12-16 17:09:48 -05:00
Greg Alexander
58eefb02b9 add something to wait for the forked process to die, so it doesn't become
a zombie
2014-12-16 17:07:26 -05:00
Greg Alexander
c6fbf0cbcc fix getting the port number out of the UI 2014-12-16 16:50:05 -05:00
Greg Alexander
41faa118cc fix typos in definition of startstop_clicked() 2014-12-16 16:49:54 -05:00
Greg Alexander
b9ad9864ce whoops, chain to super.onResume() 2014-12-16 16:37:17 -05:00
Greg Alexander
1febe9ebe9 add service lifetime termination, and notes about future service foregrounding.. 2014-12-16 15:55:14 -05:00
Greg Alexander
a9ca75accc communicate the preferences to the C code 2014-12-16 15:50:30 -05:00
Greg Alexander
02a88eae06 typos... 2014-12-16 11:21:17 -05:00
Greg Alexander
8ced3ab635 and there's the start/stop button implementation 2014-12-16 11:20:36 -05:00
Greg Alexander
9cac7ed132 make sshd_pid static 2014-12-16 11:19:26 -05:00
Greg Alexander
720007ae32 now it compiles... 2014-12-16 09:55:54 -05:00
Greg Alexander
643a5aff23 first draft of service 2014-12-16 09:52:42 -05:00
Greg Alexander
4cd9277401 oversight 2014-12-14 23:23:43 -05:00
Greg Alexander
a23c28a02d first draft of preferences ui code 2014-12-14 22:56:31 -05:00
Greg Alexander
3bbf3ce0dc a bare project, created with
android create project --target android-7 --name SimpleSSHD --path `pwd` --package org.galexander.sshd -a SimpleSSHD
2014-12-10 16:17:23 -05:00