82 Commits

Author SHA1 Message Date
soonsouth
5dd3f47465 chore: fix some comments
Signed-off-by: soonsouth <cuibuwei@163.com>
2024-03-15 23:41:18 +08:00
Theodore Dubois
f7c7012beb Further improve keyboard notification handling
Now works right with stage manager!
2023-04-18 22:03:27 -07:00
Theodore Dubois
0feef4e3d3 Finally fix bar sizing
It was broken for a long time and no one seemed to care, making the
buttons much smaller than intended on iPad. Also now respects with the
safe area!!
2023-04-18 20:34:22 -07:00
Saagar Jha
ec7f74af4a Fix theme-based status bar color updates 2022-10-29 23:34:40 -07:00
tbodt
6d1f9cde22
Merge pull request #1881 from saagarjha/master 2022-08-23 22:33:04 -07:00
Saagar Jha
4478670e3b Improve keyboard avoidance handling 2022-08-23 20:10:40 -07:00
Saagar Jha
b7f5d3c1c4 Add support for custom themes 2022-08-23 18:16:34 -07:00
Saagar Jha
52e94fd361 Make preference updates thread-safe
Most of the code assumed it was called on the main thread, but we need
to make this explicit now because preference updates will be driven off
the UI as well.
2022-01-23 11:02:11 -08:00
Theodore Dubois
464dd63f1f Run the apk repository management in Linux too 2022-01-16 10:27:00 -08:00
Theodore Dubois
14e4b437f6 Fix misspelled $TERM in linux 2022-01-16 10:03:08 -08:00
Theodore Dubois
f708c812dc Hook up linux pseudoterminals 2021-12-31 20:49:52 -08:00
Theodore Dubois
0a5b10b6ba UI for helping out with APK upgrades 2021-12-13 20:00:45 -08:00
tbodt
9ac1d2e920 Revert the terminal switching key command modifiers
Fixes #1561
2021-09-14 12:38:06 -07:00
Theodore Dubois
e737c8fd7f Achieve terminal output 2021-09-05 10:00:47 -07:00
Theodore Dubois
2b41a141be Make panic reports and filesystem mounting work barely 2021-08-15 00:34:53 -07:00
Theodore Dubois
9a349f5a55 scream 2021-08-15 00:34:53 -07:00
Theodore Dubois
c37a04e2e4 now I can build and run the app and build but not run linux in the same xcode project 2021-07-03 17:19:55 -07:00
Corban Amouzou
a14de0f274
Add Ability to Toggle Status Bar (#1442) 2021-06-23 22:38:36 -07:00
Theodore Dubois
983caeb248 Add a one-time message if you update from a version without /ish/apk 2020-11-29 13:45:54 -08:00
Theodore Dubois
b162e689de Fix download info appearing over the safe area on iPhone X 2020-11-29 00:10:39 -08:00
Theodore Dubois
ffb5cb79fb Add UI for APK downloads 2020-11-28 19:58:14 -08:00
Theodore Dubois
69b6852686 Build a new and better block-based KVO API
Fixes #1046
2020-11-14 16:49:55 -08:00
Theodore Dubois
a36ddff6ce Automatically remove KVO observers on dealloc 2020-11-13 21:41:16 -08:00
Theodore Dubois
c2663df3fd Fix UAF when terminal exits
current points to a freed process, NULL it out so nothing tries to use
it.
2020-11-11 23:48:10 -08:00
Theodore Dubois
5b2683465f Switch awakeFromNib in view controllers to viewDidLoad 2020-10-25 17:37:50 -07:00
Theodore Dubois
c7c97ac883 Fix color of status bar in dark mode
The documentation for UIStatusBarStyleDefault says the result has dark
text, but that's a lie since iOS 13. It is now whatever color goes with
the system appearance. Use UIStatusBarStyleDarkContent instead if we're
on iOS 13 and specifically want dark text.
2020-10-23 19:21:37 -07:00
Theodore Dubois
5cd6953945 Make the terminal fullscreen if the keyboard is floating 2020-06-27 01:08:10 -07:00
Theodore Dubois
3c186de2bc Reland "Add a setting that hides extra keys with a HW keyboard"
Now with bug fixes! Hopefully it won't have to be reverted this time.

This reverts commit 554f0c47bc42d5dc3cd79ae0ca66257575729901.
2020-06-20 17:18:49 -07:00
Theodore Dubois
554f0c47bc Revert "Add a setting that hides extra keys with a HW keyboard"
Broke various keyboard related behaviors (#753)

This reverts commit d7a915e9306bc775974c7eee4b59c9251cdf53ef.
2020-05-31 18:24:52 -07:00
Theodore Dubois
d7a915e930 Add a setting that hides extra keys with a HW keyboard
Fixed #518
2020-05-31 14:11:22 -07:00
Theodore Dubois
1ed3beb3f8 Fix status bar not appearing on iPhone X
This broke when iPad multiwindow support was implemented and no one
noticed for a long time.
2020-05-02 12:16:04 -07:00
Theodore Dubois
7ec3193646 Get rid of try/catches around removing observers 2020-03-08 19:18:29 -07:00
Theodore Dubois
7fa54ed127 Don't try to destroy the scene on iPhone
Fixed #577
2019-12-09 23:37:04 -08:00
Theodore Dubois
1b172c15b6 Add keyboard shortcut to open settings/about 2019-12-09 17:31:49 -08:00
Theodore Dubois
1e292bf940 Add key commands to override font size
Fixed #565
2019-11-27 17:21:43 -08:00
Theodore Dubois
dd8e656e98 Refactor execve again to allow empty arguments
Fixed #559
2019-11-17 19:58:10 -08:00
Theodore Dubois
64576c8bf9 Merge pull request #545 from tbodt/multiwindow 2019-11-03 21:47:09 -08:00
Theodore Dubois
c2baeefb19 Improve keyboard height estimation
Now calculates the height from the Y coordinate instead of the height,
because the keyboard is not always attached to the bottom of the screen.

Fixed #469
2019-11-03 18:48:17 -08:00
Theodore Dubois
6791a15348 Support multiple windows
Co-authored-by: Noah Peeters <noah.peeters@icloud.com>
2019-10-27 19:29:03 -07:00
Theodore Dubois
6c906ac5b4 Make the iOS terminal look like a pty
Also make the terminal and session owned by TerminalViewController.

This is in preparation for scene support.

Co-authored-by: Noah Peeters <noah.peeters@icloud.com>
2019-10-27 19:29:03 -07:00
Theodore Dubois
7cd6f97919 Use a gear icon for the settings button on ios 13
Fixed #542
2019-10-26 10:54:12 -07:00
Theodore Dubois
7c992b769a Remove boot enabled option
It's been a number of months and I haven't told anyone that it exists.
No need to keep it.
2019-09-22 18:53:06 -07:00
Theodore Dubois
2723378204 Use the hot new SF Symbols icons on iOS 13
Closes #480
2019-09-22 01:15:19 -07:00
Viktor Oreshkin
c11d375e94 Add devices.h, replace magic dev numbers with defines 2019-08-06 16:48:00 +03:00
Theodore Dubois
7a45420ac0 Make the session automatically restart 2019-05-05 09:21:13 -07:00
Theodore Dubois
894c3d2af5 Make the whole boot system thing happen 2019-05-04 23:32:24 -07:00
Theodore Dubois
cef1841a40 Make it possible to run init
If you set the init command to /sbin/init, you'll see it fail to run openrc and then start a working getty.
2019-05-01 08:53:25 -07:00
Theodore Dubois
8b7bde4e9a Make stdio connect to a real file, /dev/tty1 by default
I expect we'll eventually have more than 1.
2019-04-07 22:27:18 -07:00
Theodore Dubois
0dbcffc78b Add a button to export the container 2019-02-09 15:39:32 -08:00
Theodore Dubois
228ff80990 Add option to change launch command
Fixes #172
2019-01-02 18:20:36 -08:00