Commit graph

264 commits

Author SHA1 Message Date
Amar Sood (tekacs)
3d592fb09a Fix window title updates applying to wrong window
TabManager.updateWindowTitle() used NSApp.keyWindow to find the target
window, meaning any terminal title change (e.g. a spinner) would update
whichever window happened to be focused, not the window that owns that
TabManager. This corrupted the macOS Accessibility title attribute and
caused visible title flapping in multi-window setups.

Add a weak back-reference from TabManager to its owning NSWindow, set
by AppDelegate.registerMainWindow(), and use it instead of keyWindow.
2026-02-23 23:47:25 -05:00
Lawrence Chen
ba818deb44 Fix IME firstRect preedit anchor sizing (https://github.com/manaflow-ai/cmux/issues/265) 2026-02-21 03:16:33 -08:00
Lawrence Chen
1dcb11fc54 Handle unknown Bonsplit tab context actions 2026-02-21 03:11:40 -08:00
Lawrence Chen
e9f25ef67f Merge origin/main and resolve reopen-focus conflicts 2026-02-21 03:08:14 -08:00
Lawrence Chen
4cbdd999d8 Socket CLI: prevent focus stealing + add rename-tab and focus regressions 2026-02-21 02:21:27 -08:00
Lawrence Chen
e74f67d369 Merge remote-tracking branch 'origin/main' into issue-230-cli-unix-socket-lag
# Conflicts:
#	Sources/TerminalController.swift
2026-02-21 01:39:04 -08:00
Lawrence Chen
39b110d3b3 Move report_pwd fast path off main-thread sync 2026-02-21 01:01:56 -08:00
Lawrence Chen
167431b786 Avoid main-thread hops for explicit socket scope 2026-02-20 23:58:47 -08:00
Lawrence Chen
a2c39802d1 Merge origin/main into feat-sidebar-branch-refresh-on-close 2026-02-20 23:36:11 -08:00
Lawrence Chen
68cf29cd2d Deduplicate high-frequency socket metadata updates 2026-02-20 23:30:59 -08:00
Lawrence Chen
868c2c9d11 Tighten spacing around branch separator dot 2026-02-20 23:26:47 -08:00
Lawrence Chen
7cb1abca37 Use smaller separator dot for branch directory rows 2026-02-20 23:20:58 -08:00
Austin Wang
021cc05cf3
Stabilize sidebar resizer hitbox and cursor across portals (#255) 2026-02-20 23:14:48 -08:00
Lawrence Chen
29167195fa Fix browser reopen focus across workspace switches 2026-02-20 23:14:31 -08:00
Lawrence Chen
ede5b701bb
Fix Mark Tab as Unread no-op on focused tab (#249)
* Fix manual unread clear race on focused tab

* Add mark-as-read tab action and show ring for manual unread

* Flash then clear manual unread on tab focus
2026-02-20 23:07:52 -08:00
Lawrence Chen
12374c4a76
Add Cmd+Shift+T reopen for closed browser panels (#253)
Implements browser-only recently-closed restore stack with capped LIFO behavior and split-placement fallback.

Issue: https://github.com/manaflow-ai/cmux/issues/244
2026-02-20 23:06:49 -08:00
Lawrence Chen
5ffae27d64 Use dot icon separator between branch and directory 2026-02-20 22:39:26 -08:00
Austin Wang
0856e791ba
Keep split dividers visible in tiny panes (#250) 2026-02-20 22:35:53 -08:00
Lawrence Chen
277e95d07e Use non-path separator for branch directory rows 2026-02-20 22:35:14 -08:00
Lawrence Chen
b3c28a8723 Render vertical sidebar rows as branch and directory 2026-02-20 22:31:17 -08:00
Lawrence Chen
5ca1616bd2 Add vertical sidebar branch layout setting 2026-02-20 22:26:10 -08:00
Lawrence Chen
b600d1c738
Merge pull request #248 from manaflow-ai/feat-socket-override-boundary
Ignore ambient CMUX_SOCKET_PATH in stable/nightly builds
2026-02-20 22:18:16 -08:00
Austin Wang
3c0e3a7c82
Fix flaky browser download activity accounting (#246)
* Add debug tracing for context-menu download flow

* Remove temporary download debug instrumentation
2026-02-20 22:15:35 -08:00
Lawrence Chen
e9da15d563 Clean up panel branch state when closing a pane 2026-02-20 22:15:17 -08:00
Lawrence Chen
3603db7547 Gate socket path override by update channel 2026-02-20 22:13:57 -08:00
Lawrence Chen
c533ebe5e5 Render sidebar branches in split/tab display order 2026-02-20 21:59:35 -08:00
Lawrence Chen
60e7aeeb16 Fix stale sidebar git branch after split close 2026-02-20 21:47:06 -08:00
Lawrence Chen
41b2db5962 Preserve approved HTTP request semantics and fix test imports 2026-02-20 21:24:03 -08:00
Austin Wang
95ac588bb2
Fix browser download UX and stabilize browser crash path (#235)
* Fix browser download UX and stabilize download crash path

* Fix context menu image/link download target resolution

* Restore native WebKit context-menu download actions

* Improve browser download feedback and context menu downloads

* Fix flaky alternating context-menu downloads

* Stabilize linked-file context downloads

* Use per-menu-item fallback for context downloads

* Harden linked-file URL resolution for context downloads
2026-02-20 21:21:03 -08:00
Lawrence Chen
73cbfce432 Fix WKWebView JavaScript dialogs in browser panel 2026-02-20 20:53:59 -08:00
Lawrence Chen
5ae36fcb91
Merge pull request #203 from cmer/browser-whitelist
Add wildcard hostname allowlist for built-in browser routing
2026-02-20 20:47:51 -08:00
Lawrence Chen
9074130327
Merge pull request #232 from manaflow-ai/issue-230-main-thread-notification-cascade
Coalesce title notification updates to reduce main-thread hangs
2026-02-20 20:32:38 -08:00
Lawrence Chen
54c76c4c14
Merge pull request #233 from manaflow-ai/issue-231-favicon-out-of-sync
Fix favicon getting out of sync on back/forward
2026-02-20 20:32:00 -08:00
Lawrence Chen
5c0c2d9bf9 Merge origin/main and keep TabManager title updates synchronous 2026-02-20 20:29:47 -08:00
Lawrence Chen
cf38330483 Address review: allow favicon refresh across history URL changes 2026-02-20 20:23:16 -08:00
Lawrence Chen
d1524c347c Merge origin/main into issue-230-main-thread-notification-cascade 2026-02-20 20:18:02 -08:00
Lawrence Chen
26a88a4b2e Fix favicon race during back/forward navigation 2026-02-20 20:17:58 -08:00
Lawrence Chen
641124c084 Coalesce title notification updates to reduce main-thread hangs 2026-02-20 20:14:19 -08:00
Lawrence Chen
d977477d5c Resolve tab actions by tab_id aliases 2026-02-20 20:13:36 -08:00
Lawrence Chen
48685f2dcb Allow clearing custom tab names from tab menu 2026-02-20 20:13:36 -08:00
Lawrence Chen
a5360adb38 Unify tab/workspace action naming in CLI and socket 2026-02-20 20:13:36 -08:00
Lawrence Chen
10e44396df Add tab/workspace action APIs and consistent naming 2026-02-20 20:13:36 -08:00
Lawrence Chen
dc2b3e506b Implement horizontal tab context menu actions 2026-02-20 20:13:36 -08:00
Lawrence Chen
fe6c9ec1dc Restrict portal pass-through to active drag-motion events 2026-02-20 20:07:54 -08:00
Lawrence Chen
a5c7600458 Harden drag overlay routing and add terminal overlay regression probes 2026-02-20 19:58:58 -08:00
Lawrence Chen
01313b6c9a Expand default HTTP host allowlist for local dev 2026-02-20 19:55:59 -08:00
Lawrence Chen
9388358914 Merge remote-tracking branch 'origin/main' into fix-dragdrop-overlay 2026-02-20 19:53:45 -08:00
Lawrence Chen
c6675c1a88 Clarify optional 0.0.0.0 allowlist usage 2026-02-20 19:49:02 -08:00
Lawrence Chen
3a24c20764 Merge remote-tracking branch 'origin/main' into pr-203-browser-whitelist 2026-02-20 19:46:39 -08:00
Lawrence Chen
a210d77f7f Clarify embedded browser allowlist wording and docs 2026-02-20 19:45:57 -08:00