Commit Graph

27 Commits

Author SHA1 Message Date
osy 689367a9c3 home(iOS): support multiple sessions 2024-02-25 00:16:27 -08:00
osy 5f7e11e161 display(visionOS): dynamic resolution from window resize 2024-02-25 00:16:27 -08:00
osy 67f127ad5f project: remove QEMUKit dependency from iOS-Remote 2024-02-25 00:16:27 -08:00
osy 500fcd5d62 project: initial build working for visionOS 2023-08-06 09:35:26 -07:00
osy 86f15a8357 patches: rework keyboard press patch
Fixes #4399
2022-09-13 22:08:03 +03:00
osy 11facf3139 display(iOS): fix press events not received and clean up patcher code 2022-09-10 18:32:15 +03:00
osy 1627154e3d display(iOS): hide home indicator and mouse cursor
Fixes #4390
2022-09-10 18:32:15 +03:00
osy cc06ff098e display(iOS): fixed crash when switching displays 2022-09-08 15:13:53 -07:00
osy 2d98e0026c project: removed legacy UIViewController extensions 2022-08-02 20:14:30 -07:00
osy d00c53394a display(iOS): moved background/foreground handling to SwiftUI 2022-08-02 20:13:53 -07:00
osy 680ea7bd85 display(iOS): move memory warning to SwiftUI
Prevent showing up on external display.
2022-08-02 19:39:23 -07:00
osy 5bd4c70586 project: remove old AppDelegate 2022-07-27 18:17:42 -07:00
osy af98b5745c display(iOS): remove legacy views 2022-07-26 14:27:29 -07:00
osy 9814446968 display(iOS): remove legacy USB menu 2022-07-26 14:10:51 -07:00
osy dcf9c907f3 display(iOS): remove legacy drives menu 2022-07-26 14:09:04 -07:00
osy f80002feac display(iOS): refactor VM display window to SwiftUI
In preparation for multiple-display support, the existing view controller is
decoupled from UTMVirtualMachine and UTMSpiceIO and now interfaces solely
with VMDisplayViewControllerDelegate. This allows us to then wrap the VC into
a UIViewControllerRepresentable and isolate much of the state into
VMWindowState (a single window) and VMSessionState (entire VM). Finally, the
loading screens are re-implemented in SwiftUI.
2022-07-24 20:24:34 -07:00
osy ba453e1e88 toolbar(iOS): remove legacy toolbar 2022-07-19 21:15:39 -07:00
osy 98b988a9a4 display(iOS): move USB redirection logic to base class
Same as with the macOS code.
2022-05-23 17:44:10 -07:00
osy d89a95d0ca display(iOS): inhibit error messages when saving state in background 2022-02-21 18:15:19 -08:00
osy 831bfa47dc display(iOS): remove toolbar/keyboard from viewState
With the new toolbar that is always visible, there is no value in
storing the legacy toolbar visibility in the per-VM viewState setting.
Now, legacy toolbar VMs will always start with the toolbar visible. With
that removed, we also remove the per-VM keyboard visibility setting to
be a global value (the keyboard visibility for the last VM launched will
persist). This also simplifies the code for the delegate and the VM
manager.
2022-02-20 17:41:50 -08:00
osy 66cdb6ec78 vm: renamed VM operation methods
This provides clarity on the grouping of VM operations as well as make
explicit the "request" versus async calls.
2022-02-20 17:41:50 -08:00
osy 5c8e0df921 vm: refactored to use serialized queue
Additionally expose APIs for Swift 5.5 concurrency support (currently
unused). This should simplify the handling of various interdependent
events that must come together for startVM and other operations. It also
opens the door for future async handling of VM operations when better
support for Cocoa, UIKit, and SwiftUI comes.
2022-02-20 17:41:50 -08:00
osy e9fabfb09e manager: fix save state not working
We always delete the suspend state on close window by accident.
2022-01-21 20:29:05 -08:00
osy 4ac5d39946 iOS: improve toolbar idle handling
5 seconds: icon dims
15 seconds: icon disappears completely
any tap on the content: icon reappears
2021-06-23 04:08:41 -05:00
osy 7c01c822ae iOS: implement toolbar actions 2021-06-22 22:36:43 -05:00
osy a558becb5f iOS: integrate new toolbar 2021-06-22 19:49:48 -05:00
osy 9c124840d4 iOS: refactored VMDisplayViewController to Swift 2021-06-22 17:17:23 -05:00