318 Commits

Author SHA1 Message Date
Guilherme Rambo
6c153ad425 Modernize window workarounds (#787)
* Avoid excessive setting of window properties in EnvironmentValues extensions

* Disable workaround for FB18383725 in macOS 27 or later

* Always show title bar in VM session window
2026-10-13 10:44:16 -03:00
Guilherme Rambo
c6a86e784d Potential fix for VM window full screen bugs (#786) 2026-10-13 09:03:24 -03:00
Guilherme Rambo
bac5b9a3ca Implement key combinations and UI for keyboard/mouse toggles (#782)
* Implement key combination holds for enabling/disabling keyboard or trackpad

* Improve keyboard/trackpad connection status HUD
2026-10-05 16:41:13 -03:00
Guilherme Rambo
cbbe051d4a Make VirtualBuddyGuest requirement more prominent in VM configuration UI, add guest connection state to VM window toolbar (#781) 2026-10-05 14:44:44 -03:00
Guilherme Rambo
2a7cf4151b New virtual machine state preservation system (#780)
* Fix HostingWindowController allowing repeated requests to close while waiting for confirmation

* New virtual machine state preservation system with automatic save on close/quit and safe restoration

* Use visible directories for saved state storage for easier debugging in Finder

* Hide state restoration controls for unsupported Linux VMs

* Add app-level preference for what happens by default when attempting to close a running VM

* Use a custom sheet for VM close confirmation

* Improve VM close choice sheet

* Harden session storage against path traversal, fix race conditions in state coordination
2026-10-05 12:51:43 -03:00
Guilherme Rambo
90a7b0c0df Do not create communication channels for clipboard sharing when disabled (#779) 2026-10-02 18:47:36 -03:00
Guilherme Rambo
d84911d433 Fix duplicate name during setup overwriting existing VM (#776)
* Fix duplicate name during setup overwriting existing VM

* Move VirtualCore tests into a dedicated target
2026-10-02 13:20:13 -03:00
Guilherme Rambo
a20d94dbc5 Implement support for managed preferences (#765)
* Implement support for managed preferences; allow disabling shared folders with managed preferences

* Implement managed preferences for USB passthrough, bridged networking, guest app, and microphone input

* Implement unified UI component for informing user about managed preference restrictions
2026-09-14 17:15:41 -03:00
Guilherme Rambo
e686949edc New socket-based host<>guest communication transport (#763)
* New host<>guest transport/protocol implementation

* Implemented minimal legacy guest protocol to maintain clipboard functionality for guests that can't run the latest VirtualBuddyGuest app

* Fix missing dependency

* Change VMBridge Swift package to remote

* Disable VirtualBuddyGuest clipboard sharing support on legacy OSes, leave macOS 13 support for shared folder mount
2026-09-14 14:16:07 -03:00
Guilherme Rambo
683739a7e7 Mouse/keyboard toggles in toolbar (#757)
* Add toggles to enable/disable mouse and keyboard input to virtual machine

* Filter additional mouse events, allow cursor updates even when mouse is disabled

* Hide input controls when VM not running
2026-09-10 09:24:50 -03:00
Guilherme Rambo
fefa28fe8c Handle boot deep-link for session that's already open but shut down (#758) 2026-08-28 18:49:46 -03:00
Guilherme Rambo
7ba3212f1d Fix boot deep link not working when VM window already open (#756)
* Fix virtual machine not booting up when opening boot deep link with session window already open (#755)

* Fix virtualbuddy://library library deep link not reopening the library window after it's closed
2026-08-28 08:49:30 -03:00
Guilherme Rambo
3495fd0449 Improve USB device UI (#754)
* Improve USB device setup UI

* Allow adding multiple host USB devices simultaneously, double-click to instantly add a device from the list

* Use USBIDKit database to retrieve friendly device information when manually declared

* Add note about USB devices with isochronous endpoints
2026-08-27 15:26:39 -03:00
Guilherme Rambo
58380d66b7 Fix configuration sheet performance issue caused by provisioning settings hashable conformance (#753) 2026-08-26 16:49:57 -03:00
Guilherme Rambo
abcdcfffee Implement initial support for USB passthrough on macOS 27 (#752)
* Implement initial support for USB passthrough on macOS 27

* Add previews to USB UI, WIP improve manual entry form

* Improve manual USB entry UI

* Auto-submit manual USB entry after submitting valid vendor/product information

* Auto-validate manual USB entry after changing
2026-08-26 13:26:27 -03:00
Guilherme Rambo
d7d739441c Fix configure option disabled state not updating correctly (#727) 2026-08-03 10:03:56 -03:00
ElSteverino
17b449b3dd Add Configure option to library context menu (#726)
The full VM configuration sheet was previously reachable only from the
Virtual Machine Settings button on a VM window's pre-boot screen. Add a
Configure menu item to the library item context menu that presents the
same sheet directly, saving to the VM bundle when the user confirms.

The item is disabled while the VM has an open session window, since the
session owns the model and auto-saves its own copy of the configuration.

Co-authored-by: Steven Marcotte <26072125+ElSteverino@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-03 09:27:54 -03:00
Guilherme Rambo
e7361441ad Fix ManagedDiskImageEditor build 2026-07-31 14:16:49 -03:00
Guilherme Rambo
580510c24c Merge main with disk resize feature 2026-07-31 14:10:28 -03:00
Guilherme Rambo
b405b1aaf6 Surface MobileDevice installation errors for VirtualInstallation-backed installs (#719)
* Display MobileDevice installation errors in the UI when installation fails, add export logs button for VirtualInstallation-backed restores

* Add debug flag to simulate MobileDevice install error end-to-end
2026-07-24 13:05:35 -03:00
Guilherme Rambo
65200fbf35 Fix local file installation (#713) (#718) 2026-07-21 13:20:38 -03:00
Guilherme Rambo
5ba0261ef6 Fix VMController memory leak caused by it being retained in SwiftUI menus 2026-07-21 12:54:42 -03:00
Guilherme Rambo
638fa72ec0 Monitor host bridge network interface and reattach when availability changes (#716) (#717)
* WIP: Fix bridge network device reattachment

* Monitor network interface availability and restore virtual machine network attachment as availability changes

* Add Network menu item with options for changing bridged network interface and reconnecting network

* Move guest actions including new network options into 'Guest' item in main menu
2026-07-21 12:35:07 -03:00
Patrick Linnane
8e5cae2aa2 Link narrower BuddyKit products to fix duplicate Pasteboard class (#699) 2026-06-27 13:51:57 -03:00
Guilherme Rambo
6b3bf0c740 VirtualBuddyGuest app support for legacy guest OSes (#692)
* Implement script for packaging legacy releases of the VirtualBuddyGuest app, add legacy release archives to data/LegacyGuestApp

* Add macOS 14 VirtualBuddyGuest archive

* Implement script to generate legacy VirtualBuddyGuest app archives; add build phase to fail managed build if deployment target is raised without a legacy guest app archive being made first

* Add legacyguestapp command to vctool for registering legacy VirtualBuddyGuest app archives

* Lower min OS for guest app feature to 12.3

* Allow user to override the VirtualBuddyGuest app version in virtual machine settings when the version can't be resolved automatically for the current VM

* Distribute guest app as DMG

* Update guest DMGs

* Download and install legacy guest app DMG from catalog if needed
2026-06-15 17:50:46 -03:00
Guilherme Rambo
25cdd3a795 Fix installation console log stream causing installation to stall; fix installation completion not being reported 2026-06-12 14:38:16 -03:00
Guilherme Rambo
d2b2a5dedf Recover logs emitted since installation began when opening console 2026-06-12 13:16:37 -03:00
Guilherme Rambo
f216d8ec52 Disable mouse events in VM view during installation 2026-06-12 12:54:25 -03:00
Guilherme Rambo
5b49603040 Use backend-provided install console log predicate, revamp console UI 2026-06-12 12:38:07 -03:00
Gui Rambo
98a2727fe3 Surface provisioning configuration errors in configuration UI 2026-06-12 10:31:08 -03:00
Guilherme Rambo
71c570e31a Implement custom virtual machine restore mechanism (#688)
* Move ECID getter into VZMacMachineIdentifier

* Implement a custom macOS restore backend to work around macOS 27 issues on macOS 26 hosts

* Add virtual installation requirement set and enforce during VM restore

* Change requirement for macOS 27 Virtual Installation to min host macOS 26

* Add CI script that sets CURRENT_PROJECT_VERSION to the Xcode Cloud build number
2026-06-12 10:02:57 -03:00
Gui Rambo
8bbbab496d Fix guest Menu Bar hidden behind window title bar by disabling safe area only in background view, using transparent title bar during non-running states 2026-06-10 15:34:53 -03:00
Gui Rambo
d0d575b863 Move boot time updates to VMController, display appropriate message in provisioning configuration when context is forbidden 2026-06-10 15:25:36 -03:00
Gui Rambo
c4401908ac Exclude storage devices when applying template in post-install context 2026-06-10 15:19:44 -03:00
Gui Rambo
37f459436f Add picker in virtual machine configuration that allows copying the configuration from an existing virtual machine 2026-06-10 15:00:39 -03:00
Gui Rambo
92b498986f Display provisioning feature support status in configuration, disable when unsupported 2026-06-10 12:59:23 -03:00
Gui Rambo
39c3c10ddf Improve provisioning configuration UI 2026-06-10 11:59:10 -03:00
Gui Rambo
2fec2bd3d2 WIP: Provisioning in configuration UI 2026-06-09 19:56:00 -03:00
Gui Rambo
f3bea97f49 Update SwiftUI introspect 2026-06-09 17:41:22 -03:00
Gui Rambo
7a6673c8ec Fix warning about isolated conformance in VirtualMachineControls 2026-06-09 17:37:22 -03:00
Guilherme Rambo
e19a74866c Liquid glass adoption (#677)
* Raise deployment target to macOS 14, bump version

* Integrate Liquid Glass compatibility components

* Fix onChange(of:) deprecation warnings

* Update project settings

* Improve styling of setup and configuration UI components

* Fix fatal error in VMSavedStatesController.preview

* Tweak session UI

* Do not use prominent button style in VM configuration sheet so it matches overall setup wizard style

* Fix incorrectly sized buttons in grouped lists
2026-05-22 09:47:01 -03:00
AP Fritts
c09ece74a5 Improve MAC address handling (#674)
* Detect MAC address conflict and resolve

* Do the check on VM boot, not when loading settings

* Refactor to include auto-boot

* Improve UI to show conflicts

* Self review

* Self review

* Refactor so startup flows reads better; clarify alert text
2026-05-12 13:12:19 -03:00
Guilherme Rambo
361685147c Merge pull request #642 from insidegui/max-vm-error 2026-02-24 07:17:37 -03:00
Guilherme Rambo
ba2164f6fc Use feature support from resolved restore image in post-install VM configuration 2026-02-02 17:16:50 -03:00
Guilherme Rambo
d25d1aee1b Improve error message when maximum VM limit is reached 2026-02-02 17:04:21 -03:00
Guilherme Rambo
b5516e7bde Resolve supported features for custom restore images, use feature support state for configuration UI 2026-02-02 16:50:45 -03:00
Guilherme Rambo
6e837c48e7 Increase maximum boot disk image size to 8 terabytes 2026-02-02 15:44:24 -03:00
Guilherme Rambo
c0a888aaae Improve error handling for failed download/install 2025-06-30 10:56:01 -03:00
Guilherme Rambo
ff47cebd17 Better explanation for sorting 2025-06-30 09:01:08 -03:00
Guilherme Rambo
a7714983f1 Respect sorting from catalog when listing OS versions for download/installation 2025-06-30 08:57:37 -03:00