Commit Graph

75 Commits

Author SHA1 Message Date
Guilherme Rambo
68c48f8d53 Tunnel settings tweaks (#827)
* Add menu for quickly copying tunnels from other virtual machines, improve default selection for guest vs. host service depending on where the tunnel is being configured

* Count only tunnels that can be added in all tunnels menu option

* Add dedicated toolbar item for tunnel approval

* Fix service tunnels menu button sizing
2026-11-26 11:00:15 -03:00
Guilherme Rambo
bbae856814 Guest app UI overhaul (#825)
* VirtualBuddyGuest app UI overhaul

* Fix race condition in guest image generation
2026-11-26 09:47:26 -03:00
Guilherme Rambo
4181d09e17 Guest<>host port and Unix socket forwarding (#824)
* Custom socket tunnels

* Improve tunnel configuration UI

* Tweak tunnel editing UI to be less confusing

* Create tunnel socket parent path if it doesn't already exist

* Security: Harden tunnel approval verification

* Security: harden tunnel approval UI against tampered strings, use only digest for validating approvals

* Security: refuse to start a TCP listener when something already answers at its address; replace existing socket when appropriate

* Fix newly added tunnel that replaces an existing listener being blocked by address in use

* Security: make tunnel status text from the other side safe to display

Status and failure text is chosen by the other side of a tunnel and shown
next to the tunnel in settings. Remove invisible, reordering and
line-breaking characters from it and limit its length.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: require a trusted owner for every folder enclosing a tunnel socket

Each component of a listener's path, as written and as resolved through
links, has to belong to this account or to a system account. Set the
socket's permissions without following links.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: check who owns a Unix socket tunnel destination

Apply the path ownership check to destinations, and require the service
that accepts the connection to run as this account or a system account.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: give each tunnel its own share of a virtual machine's connections

Raise the limit to 64 connections per virtual machine with at most 32 for
one tunnel, so holding one tunnel's connections open can't starve the
others. Pause a listener that runs out of descriptors or memory instead
of stopping it for good.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: keep the reason a tunnel failed on the host from the guest

The guest is only told that a tunnel isn't available on the host.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Update service tunnels audit report with the status of F5 to F10

Notes what was fixed for each finding and what was left as is.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Support managed preference restrictions on tunnels

* Remove audit file

* Tunnels UI tweaks

* Rewrite service tunnels documentation

---------

Co-authored-by: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-25 18:17:16 -03:00
Guilherme Rambo
189f8bc692 Fix ugly scroll view pockets in catalog UI (#816) 2026-11-18 11:40:44 -03:00
Guilherme Rambo
ff855c2808 Allow shared folders and display configuration changes on live VM (#806)
* Implement live configuration updates for shared folders

* Allow display configuration changes on live VM

* Improve live VM settings UI
2026-11-04 13:31:55 -03:00
Guilherme Rambo
4a81b81f99 Add managed preferences for disabling SSH and auto-login (#797) 2026-10-27 09:59:14 -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
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
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
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
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
Gui Rambo
98a2727fe3 Surface provisioning configuration errors in configuration UI 2026-06-12 10:31:08 -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
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
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
3aa8917e05 New display presets, change default for Mac and Linux 2025-06-26 14:25:02 -03:00
Guilherme Rambo
234502a8bd Add guest app toggle to VM configuration UI 2025-06-19 13:10:26 -03:00
Guilherme Rambo
b30567a0ad Delete legacy screenshotting code, use blur hash background in VM session window, use blurred thumbnail image if available 2025-06-18 16:39:53 -03:00
Gui Rambo
1c0e3ba091 Simplify network device configuration, fix missing bridges 2025-06-11 19:09:56 -03:00
Guilherme Rambo
a383fa40ba Fix VM configuration not saved during setup 2025-06-09 10:41:25 -03:00
Guilherme Rambo
2093bbbe6a Display chrome around URL/name input during installation 2025-06-06 18:36:46 -03:00
Guilherme Rambo
80d32008fa Tweak configuration UI design 2025-06-04 20:13:52 -03:00
Guilherme Rambo
832819785e Add full bleed background in VMConfigurationSheet preview, fix preview sizes 2025-06-04 20:00:49 -03:00
Guilherme Rambo
e40df17269 Keep full bleed background after restore image selection 2025-06-04 19:34:17 -03:00
James
b3fec8653a Use the new accessoryBarAction button style on macOS 14+ 2025-03-28 16:58:03 +11:00
James
3de39669be Enlarge grouped list's button 2025-03-26 21:35:19 +11:00
James
e3c462ea3a Refactor binding to be more swift-y
Thank you to insidegui for the suggestions!
2024-03-29 12:49:58 +11:00
James
62fbbf99f5 Allow editing of the disk name when creating a new managed disk 2024-03-29 11:39:46 +11:00
James
3183139723 Add markdown formatting for rosettaSharingNotice warning 2024-03-14 22:45:38 +11:00
James
67fd53de5a Add an option to mount Rosetta on Linux guests 2024-03-14 22:38:10 +11:00
Gui Rambo
5ba05ef9a4 Remember last used directory for each open panel 2023-11-10 18:49:12 -03:00
Gui Rambo
0d78b97dd8 Implemented keyboard hardware configuration and validation (#233) 2023-10-02 11:58:53 -03:00
Gui Rambo
fdbed9d044 Improved UX 2023-09-28 12:37:40 -03:00
Gui Rambo
058ca8245e Hide automatic display configuration before macOS 14 2023-09-28 12:32:41 -03:00
Gui Rambo
e75c53dc2b Disabled vestigial features that are not currently supported 2023-09-28 11:24:26 -03:00
James
bde3cc461c Add option in display settings to toggle automatic display configuration 2023-07-28 22:59:11 +10:00
Gui Rambo
20da4db9c2 Merged with main 2023-03-07 12:57:35 -03:00