1952 Commits
Author SHA1 Message Date
Chenyme 582dcfd895 Merge pull request #1136 from fearless9653/feat/log-branch-ahead-behind
feat: show ahead and behind beside git log branch names
2026-12-04 23:55:55 +08:00
Chenyme 16564c9250 Merge pull request #1132 from ghostroller/codex/fix-windows-terminal-resize-scrollback
fix: preserve terminal scrollback during Windows resize
2026-12-04 23:41:40 +08:00
Chenyme e2053b312b fix: share the ahead and behind counts and keep selected rows legible 2026-12-04 10:41:31 -05:00
Chenyme 4d1d218c6b Merge remote-tracking branch 'origin/dev' into feat/log-branch-ahead-behind 2026-12-04 10:29:50 -05:00
Chenyme 3265df1e86 fix: keep resize scrollback only under the system ConPTY 2026-12-04 10:23:02 -05:00
Chenyme 1fe0bedd33 Merge remote-tracking branch 'origin/dev' into codex/fix-windows-terminal-resize-scrollback 2026-12-04 10:14:53 -05:00
Chenyme f964a70c45 Merge pull request #1145 from DEEIX-AI/fix/issues-1111-1142
fix: status bar menus, display math, terminal run keys, Vim find bar and macOS panel keys
2026-12-04 22:40:24 +08:00
Chenyme 13880b254c feat: search with the find bar from Vim's / and ?
In Vim mode, / and ? now open the editor's find bar, which shows the
matches while typing. Enter turns the query and its options into a Vim
pattern and hands it to the waiting search, so n and N, counts and
operators such as d/ follow Vim's rules; plain text is passed as typed
and Esc returns the cursor. g/ opens search in files. When the find bar
cannot open, the Vim search prompt is used as before.

Fixes #1133
2026-12-04 09:28:05 -05:00
Chenyme caa6470015 fix: run and stop configurations from the terminal with function keys
With the terminal focused, global shortcuts held by Ctrl went to the
program in the terminal, so Ctrl+F5 could not run a configuration again
while its output was in view. Run and stop bindings on function keys
with a modifier, such as Ctrl+F5 or Shift+F10, now work in the
terminal too. Ctrl with a letter, like Ctrl+R in the IDEA keymap on
macOS, still goes to the shell for its history search.

Fixes #1127
2026-12-04 09:28:05 -05:00
Chenyme 4427b7a698 fix: keep lines inside display math from starting Markdown blocks
A standalone = inside a $$ block was read as a setext underline, so the
math became a heading and a paragraph; a line starting with - or + broke
it into a list the same way. Before parsing, the first character of each
line between a $$ opening line and its closing line is swapped for a
control character of the same length, outside fenced code, and swapped
back in the parsed text. Headings outside math keep working.

Fixes #1142
2026-12-04 09:28:05 -05:00
Chenyme 72ed7e83dd fix: open in-window status bar menus above the status bar
Menus drawn in the window, as on Windows and Linux or for remote
folders, put their checked row over the clicked segment like a pop-up
button. A menu cannot leave the window, so it was pushed up and covered
the status bar path it came from. Status bar menus drawn in the window
now attach above the status bar, aligned with the clicked segment, and
a menu that does not fit takes the larger side and scrolls. System
menus on macOS keep their pop-up button placement.

Fixes #1129
2026-12-04 09:22:30 -05:00
Chenyme de0d20650f fix: let native text fields use the standard edit keys on macOS
Text fields in system panels, such as the file name in the save panel,
rely on the menu bar to turn Cmd-C, Cmd-V and the like into the
standard edit actions. Winc's menus never take keys, so those keys did
nothing there. The menus now hand the standard edit actions to the
first responder when it is a system text field, and still leave every
key to Winc's keymap in its own windows.

Fixes #1118
2026-12-04 09:22:30 -05:00
Chenyme e8225973c2 Merge pull request #1128 from CPU-JIA/fix/1119-terminal-file-link-locations
fix: open terminal file links at their reported position
2026-12-04 22:11:48 +08:00
Chenyme df90c5f73a fix: tighten terminal link positions and trim the tests 2026-12-04 08:59:17 -05:00
Chenyme e29c9124f0 Merge remote-tracking branch 'origin/dev' into fix/1119-terminal-file-link-locations 2026-12-04 08:53:34 -05:00
Chenyme 173d6e429f Merge pull request #1143 from DEEIX-AI/fix/issues-1068-1106
feat: squash commit ranges, close empty windows and Linux window and picker fixes
2026-12-04 21:49:35 +08:00
Chenyme f2ae56990b feat: squash a range of commits selected in the log
Shift-click or Shift with the arrow keys now selects a run of commits
in the log, and its menu offers to squash them. The dialog for editing
a commit message prefills the selected commits' messages, oldest first,
and the first commit is reworded with the edited message while the
rest are fixed up into it. The range must be consecutive on the current
branch, and the dialog warns when pushed commits need a force push.
Esc collapses the range back to the current commit.

Fixes #1106
2026-12-04 08:39:13 -05:00
Chenyme ab5bc1e9c4 feat: optionally close a window without a folder with its last tab
editor.closeWhenEmpty, off by default, closes a window that has no
folder open once its last tab is closed, by the close key, the tab's
close button or a middle click, instead of returning to the start page.
Windows with a folder keep the start page, so the file tree is not
closed by accident. The setting sits with the other closing settings,
whose names and descriptions are reworded to read as one group.

Fixes #1101
2026-12-04 08:39:13 -05:00
Chenyme 80adb94829 fix: fall back to the built-in folder picker when the portal has no file chooser
A running xdg-desktop-portal without a backend for the desktop has no
FileChooser interface, and reading the interface's version answered
InvalidArgs. That error came back as a D-Bus error instead of meaning
no portal, so Open Folder showed it rather than the built-in picker.
Property errors from the portal are now recognized as a missing
interface, and the message for files names the backend that is needed.

Fixes #1095
2026-12-04 08:39:13 -05:00
Chenyme 3b481b9887 test: keep receiving pushes from running maintenance in the bare test remote
A push to a local path runs receive-pack without the -c settings, and
receive-pack then starts git maintenance --auto --detach in the remote.
That process could still create and remove files while the template was
being copied, so a listed entry vanished before it was read. The bare
template now turns receive.autoGc off in its own config, and reading a
template names the entry that failed.

Fixes #1089
2026-12-04 08:39:13 -05:00
Chenyme 33b3adbb0a fix: hand a Wayland activation token to the window that has the folder open
Opening a folder already open in another window asks that window to come
to the front, which a Wayland compositor ignores without an activation
token. The window the user is working in now requests a token and passes
it on. Compositors may still only mark the window as needing attention,
so the window also says the folder is open in another window.

Fixes #1068
2026-12-04 08:39:13 -05:00
Chenyme cfd828a14d Merge pull request #1139 from DEEIX-AI/feat/792-restore-terminal-output
feat: restore terminal output when a folder reopens
2026-12-04 21:38:33 +08:00
Chenyme 8de6c7a421 docs: keep private constants out of the recent output docs 2026-12-04 08:21:52 -05:00
Chenyme c7540fe46e feat: restore terminal output when a folder reopens 2026-12-04 08:18:43 -05:00
ghostroller 0607da34b5 Merge branch 'dev' into codex/fix-windows-terminal-resize-scrollback 2026-12-04 20:58:52 +08:00
Chenyme e3d07d72ea Merge pull request #1135 from DEEIX-AI/fix/issues-781-1084
feat: run configurations per folder, code review pushes and bash prompt redraw
2026-12-04 20:55:49 +08:00
lihang d641a0e526 feat: show ahead and behind beside git log branch names
Show each local branch's upstream ahead and behind counts to the
right of its name in the git log branch tree, using Winc's vertical
arrows. Behind uses the git modified blue, ahead uses the git added
green.

The same colors are used wherever ahead and behind arrows appear:
the branch picker (including Pull/Push action counts), the top sync
control, worktree and other-repository rows, and the status-bar
branch label. Names, action labels, and running suffixes keep their
existing colors. Branches with no upstream, a deleted upstream, or
no difference are left unmarked.
2026-12-04 20:47:10 +08:00
Chenyme 207c654df3 feat: push to code review refs such as refs/for/<branch>
Code review services such as Gerrit take changes pushed to
refs/for/<branch>. The push dialog's target now accepts a full ref and
pushes it as written instead of under refs/heads/.

When the remote configures remote.<name>.push, as Gerrit recommends,
push, sync and publish send only the current branch to the ref its
matching rule gives, rather than every branch a wildcard rule covers;
publishing then sets no upstream. The push dialog fills in that target,
so it shows where the commits actually go. Commits already run the
repository's commit-msg hook, which adds Gerrit's Change-Id.

Fixes #958
2026-12-04 07:43:58 -05:00
Chenyme bdffc1768d feat: list and run each folder's run configurations
A window with added folders now reads .winc/run.json, or the detected
commands, from every folder. The menu groups them by folder and prefixes
the folder name once configurations come from more than one folder. A
configuration runs in its own folder, and its approval, running tab and
saved selection are kept per folder, so same-named configurations in
different folders no longer replace each other.

Fixes #916
2026-12-04 07:43:58 -05:00
Chenyme 8773288d17 fix: let bash redraw only the last prompt line after the terminal changes width
Bash's readline returns to the start of the line it occupied before the
resize, moves up by the old row count and redraws only the last prompt
line with the typed command. Reflowing that line moved the rows it
counts on, so the prompt was duplicated or the cursor landed on earlier
output. The bash integration now reports redraw=last, and only the
logical line under the cursor keeps its rows; the lines above reflow.

Refs #781
2026-12-04 07:43:52 -05:00
Chenyme 9a3f7b8ea5 Merge pull request #1131 from DEEIX-AI/fix/852-c-split-signatures
fix: find C functions with the return type on the line above
2026-12-04 20:42:14 +08:00
Chenyme ccc3c35446 fix: count split C prototypes and C++ return types 2026-12-04 07:33:05 -05:00
Chenyme a9b30632a0 fix: find C functions with the return type on the line above 2026-12-04 07:22:04 -05:00
ghostroller 7501f3045d fix: preserve terminal scrollback during Windows resize 2026-12-04 20:12:16 +08:00
CPU-JIA d92273d620 fix: open terminal file links at their reported position 2026-12-04 19:15:47 +08:00
Chenyme c376e7dd04 Merge pull request #1126 from DEEIX-AI/fix/issues-863-1063
feat: tree filter, tab compare, Eclipse keymap, mouse shortcuts and macOS menu bar
2026-12-04 18:54:09 +08:00
Chenyme 25d1f92932 feat: complete the macOS menu bar with command menus that only show shortcuts 2026-12-04 05:44:34 -05:00
Chenyme 3be4c855df feat: bind the middle and side mouse buttons to shortcuts 2026-12-04 05:44:34 -05:00
Chenyme 30c5a4ddf1 feat: add the Eclipse keymap and import IDEA keymaps based on it 2026-12-04 05:44:34 -05:00
Chenyme 83dd1460bd feat: compare a tab with the current tab from its menu 2026-12-04 05:44:34 -05:00
Chenyme 0f79027af4 feat: filter the file tree by name and select a range with Vim v 2026-12-04 05:44:34 -05:00
Chenyme 9c30f125a7 feat: open a file in the project around it at launch and in added folders 2026-12-04 05:44:34 -05:00
Chenyme 03c9b39e4f Merge pull request #1124 from CPU-JIA/fix/1104-focus-markdown-table-row
fix: focus the current Markdown table row
2026-12-04 18:43:39 +08:00
Chenyme 7c80ed53ad Merge pull request #1125 from CPU-JIA/fix/1102-native-title-bar-double-click
fix: restore native title bar double-click behavior
2026-12-04 18:43:22 +08:00
Chenyme 83c69ceac3 test: keep the caption double-click test to the vertical split 2026-12-04 05:36:41 -05:00
Chenyme 475afb4c5a Merge branch 'dev' into fix/1102-native-title-bar-double-click 2026-12-04 05:35:16 -05:00
Chenyme bb8a155d19 Merge pull request #1113 from CPU-JIA/fix/1091-detect-markdown-filename
fix: recognize Markdown files with configuration name prefixes
2026-12-04 18:32:03 +08:00
Chenyme e6c3782399 fix: focus single Markdown table rows from the source text 2026-12-04 05:30:36 -05:00
CPU-JIA 4332ed88ef fix: restore native title bar double-click behavior 2026-12-04 18:29:51 +08:00
Chenyme 2024ab0d01 Merge branch 'dev' into fix/1104-focus-markdown-table-row 2026-12-04 05:26:50 -05:00