1
0
mirror of http://galexander.org/git/simplesshd.git synced 2025-01-04 04:00:55 +00:00
Commit Graph

373 Commits

Author SHA1 Message Date
Greg Alexander
a2aa4a2d1c Implement the hack from stackoverflow to detect if the task is really in
the background even though it's in Activity.onResume() (works around
Android 9 bug).
2019-09-22 15:59:04 -04:00
Greg Alexander
01b3a65a05 make all startService calls go through
SimpleSSHDService.do_startService() so they can be forced through
startForegroundService or what-have-you.
2019-09-22 15:49:48 -04:00
Greg Alexander
b20dd82c79 re-format APK download 2019-09-22 09:58:08 -04:00
Greg Alexander
b5127d1f78 some crashes from the play store 2019-09-21 21:47:00 -04:00
Greg Alexander
ed1231f8ea document version 23 2019-09-21 20:50:56 -04:00
Greg Alexander
a6018cfada bump to version 23 2019-09-21 20:42:53 -04:00
Greg Alexander
444d82e70a reflections on WebView 2019-09-21 20:42:26 -04:00
Greg Alexander
bbbbb36795 If launching an http intent fails, then fallback to WebView (because
Android TV doesn't have Chrome, I guess).  This resolves the conundrum of
what to do about the one Samsung Note 7 out there that doesn't have
Chrome, too.
2019-09-21 17:36:18 -04:00
Greg Alexander
6a61e61a74 make it so nextFocusUp/Down specify a convenient order for visiting all
of the buttons (the defaults worked for most of them)
2019-09-21 16:59:43 -04:00
Greg Alexander
edd7bb4bbc And now my buttons have a background that is discernably different when
focused. (I cannot believe the default textAppearanceLarge didn't fit
this bill, jeesh).
2019-09-21 16:55:54 -04:00
Greg Alexander
213a5808e3 styled the option buttons so that it's easier to change them 2019-09-21 16:35:03 -04:00
Greg Alexander
42c88f330e don't allow focusing on the log/ip view, which messed up D-pad visit order 2019-09-21 16:09:03 -04:00
Greg Alexander
97989bce7f move the option menu items into their own _clicked functions 2019-09-21 16:06:21 -04:00
Greg Alexander
f0cef36573 moved the options menu into the main_tv layout (non-functional). 2019-09-21 15:41:09 -04:00
Greg Alexander
51ca87cc18 whoops, using a static function to differentiate derived classes...dumb.
use a variable instead.
2019-09-21 15:39:48 -04:00
Greg Alexander
616052e03f put bigger and more readable fonts in the TV banner 2019-09-21 15:15:02 -04:00
Greg Alexander
8952d008f2 TV-LM: add launcher target for android TV (leanback) 2019-09-21 14:55:44 -04:00
Greg Alexander
d5ad84d781 TV-LB (banner icon for TV launcher) 2019-09-21 14:24:03 -04:00
Greg Alexander
b4ee53dc54 some updates from user reports, and the decision to pursue TV 2019-09-21 14:04:13 -04:00
Greg Alexander
6f6a74067f a couple reports 2019-09-13 10:43:09 -04:00
Greg Alexander
0f91ddc433 document that broadcast intents only work if Foreground Service is enabled 2019-09-01 16:10:00 -04:00
Greg Alexander
941d6c6153 releasing version 22 today 2019-09-01 15:45:57 -04:00
Greg Alexander
ad119a4da0 bump to version 22 2019-09-01 15:45:02 -04:00
Greg Alexander
823591055a Factor out the idiom for startService() vs startForegroundService(), and
use it in StartReceive/StopReceiver as well as BootReceiver, so that the
sshd service can be started and stopped even if the UI is closed.
2019-09-01 15:42:09 -04:00
Greg Alexander
c1bdacd4d6 document broadcast intents 2019-09-01 15:27:14 -04:00
Greg Alexander
ebbdac1787 add org.galexander.sshd.START and org.galexander.sshd.STOP broadcast receiver 2019-09-01 15:03:35 -04:00
Greg Alexander
e07a809980 feature request - broadcast intent for START/STOP 2019-08-12 22:49:20 -04:00
Greg Alexander
c682560ada bump to version 21 2019-08-11 00:22:00 -04:00
Greg Alexander
285693c452 todone 2019-08-11 00:20:51 -04:00
Greg Alexander
1cbe9b1456 remove debug output 2019-08-11 00:20:41 -04:00
Greg Alexander
71dcbc392b Normalize the dump code a little bit, and expand to 128 stack entries
just in case the problem is still there.
2019-08-11 00:19:17 -04:00
Greg Alexander
a3bbb0bf96 Fix the SIGSEGV that users have been reporting - don't execute anything
that had already been registered with atexit().
2019-08-11 00:08:25 -04:00
Greg Alexander
cf84ff9379 fix restart after a crash (it would not restart if there was a stale pid
file from the previous execution)
2019-08-11 00:01:27 -04:00
Greg Alexander
39705de36e only rebuild default_options_guard.h if necessary 2019-08-10 20:27:19 -04:00
Greg Alexander
72a4a088bd merged sigsegv_branch... 2019-08-10 15:27:44 -04:00
Greg Alexander
498fc2fc4c Merge branch 'sigsegv_dump' 2019-08-10 15:27:03 -04:00
Greg Alexander
967a1e42a9 probable technique for bypassing atexit 2019-08-05 11:41:32 -04:00
Greg Alexander
e204c1ea74 musings about the dump, which must be caused by atexit() 2019-08-05 11:15:05 -04:00
Greg Alexander
2d8d649cdd I finally got a dump! 2019-08-04 17:39:09 -04:00
Greg Alexander
d7bd00fc2b change SIGSEGV handler to use SA_SIGINFO to get context information, and
get a stack dump too
2019-07-28 22:41:03 -04:00
Greg Alexander
f95e97ede8 todo 2019-07-28 22:39:06 -04:00
Greg Alexander
62b119e07f Keep around a copy of the old dropbear.err so that it can be accessed
after the server is re-started for a crash (to get easy access to the
crash dump).
2019-07-28 22:26:55 -04:00
Greg Alexander
7132b50fa1 alert so users know to contact me if the new version broke everything 2019-07-07 16:58:58 -04:00
Greg Alexander
132baa7d5c add symlink for res 2019-07-07 16:58:39 -04:00
Greg Alexander
f5270f56c5 Bump to version 20! 2019-06-16 23:52:54 -04:00
Greg Alexander
4e84d03220 Finish testing, I guess. 2019-06-16 23:45:39 -04:00
Greg Alexander
51559e5798 Add allowBackup="false" so that updating to the new SDK doesn't cause
Android to start automatically backing up app settings (otherwise it
would back up the host key).
2019-06-16 23:40:32 -04:00
Greg Alexander
445c2957ec Don't call startForegroundService() except on Oreo and above, because
that's when it was added.
2019-06-16 23:02:22 -04:00
Greg Alexander
7879c603fe Make a naive IP address decoder for the case where the library's
getnameinfo() doesn't work (Android 16).
2019-06-16 22:14:29 -04:00
Greg Alexander
12ccb85024 Don't build the stand-alone executables with -static because that doesn't
seem to be necessary with the newer NDK.
2019-06-16 22:01:46 -04:00