Repository navigation
Release v6.2.0 PRs
Ilia Maslakov edited this page Nov 15, 2026
·
1 revision
Source: the pull requests of the
v6.2.0 milestone,
merged after the v6.1.0 tag of 2026-09-26. Snapshot: 2026-11-15.
The milestone holds 97 merged pull requests. This table includes the 83
entries without the infra label; #469 carries that label by mistake and
is listed here as a fix of the editor.
| PR ID | Summary | Tags |
|---|---|---|
| #469 | - Fix edit_buffer_get_utf reading past the end of a 64 KiB buffer chunk when a multibyte character starts at its last byte, before or after the cursor. - Take a widget out of the group list as soon as it is destroyed, so a walk of the list from a destroyed widget does not meet the ones destroyed before it. - Check the end of the pattern in match_bracket before reading a byte. - Let syntax_keyword_free take a keyword with no text, as a parse error leaves it. - Add a test for a character across two buffer chunks. |
Bug fix, mcedit, sandbox |
| #467 | - Run bluerig instead of coole from the git panel (Alt-G and the Git window) and from the MongoDB and PostgreSQL panels (Alt-F3 and the query editor). - Rename the settings to bluerig_executable and hotkey_bluerig in panels.git.ini, and to bluerig in mongo.ini and postgres.ini. - Keep reading the old coole keys when the new ones are not set; a key in the user file wins over a new key in the system file. - Take a value that names coole, by name or by a path to it, as bluerig from PATH, and keep any other editor the user set. - Document the new names in the help of the git, MongoDB and PostgreSQL panels. - Update the far docker case and its README to the new key names. - Add a test that the old keys of the user win over the new keys of the system file. |
Feature, core |
| #466 | - Fix a SIGSEGV after any ctags jump, to another file or to a line of the same file: the first drawing read freed memory. - Point the highlighting scanner, and the scanner of its layer, at the window after edit_reload_line () copies the reloaded file into it. - Add syntax_scanner_set_data () to move a scanner to another text source. - Add a test that the layer scanner follows the new source. |
Bug fix, mcedit, To Coole |
| #465 | - Fix F3 and the quick view on a plugin panel with MC_PPF_LOCAL_FILES: pictures and other files known to magic.ini are shown as such, not as raw bytes. - Take the file from the panel directory, as on a local panel, instead of asking the plugin for a copy it does not have. - Keep the old path for plugins whose entries are not local files. |
Bug fix, panel, core |
| #464 | - Fix the quick view staying empty ("0/0") after Ctrl-x q until the cursor moves. - Draw the quick view after the file is loaded into it; the widget swap drew it before the load. - Fix it for local panels and for plugin panels alike. |
Bug fix, panel, core |
| #463 | Closes: #461 - Add the "duplicates" panel plugin: Command > Find duplicates... opens a dialog with the start directory, the other panel as an optional reference, ignored directories, a file mask, size and date limits, and what the files must have in common. - Add "Similar content": images by a perceptual hash with a similarity threshold, text with line endings and trailing spaces ignored; JPEG and PNG need libjpeg and libpng. - Compare files by size, then by a hash of the first and the last 4 KiB, then by a hash of the whole file, and keep the hashes in ~/.cache/mc6/duplicates-v1.cache for the next search. - Run the search in threads: "Show found" opens the panel while the search goes on, the drive menu opens it again, and Command > Stop the search for duplicates stops it. - Delete from the disk with F8, but never a reference file nor a file changed since the search, and ask before a group loses its last copy. - Let a plugin with MC_PPF_LOCAL_FILES refuse F6 and Shift-F6 through handle_key(), so the reference files are never moved. - Drop the search for duplicates from the Find File dialog. |
Feature, Plugin, core |
| #462 | - Add a cache of what each panel plugin module registers, so that mc lists the plugins at start without opening their modules. - Open a module, together with its libraries, the first time its panel, action, file operation, file list or settings are used. With all 20 modules installed, a start maps 33 shared objects instead of 174 and takes 12.3 MB Rss instead of 28.4 MB. - Keep each cache entry tied to one module file (inode, size, mtime, ctime) and one version of mc. Drop a damaged or stale entry, and open that module at start to describe it again. - Use a module replaced while mc runs only when it says all that its entry said; otherwise show "restart mc" for it. - Keep arcmc, which reads the user's config in register(), and all packages in the user directory loading at start. A broken user copy still leaves its place to the system package. - Add MC_PPF_EAGER_LOAD for plugins whose register() depends on more than the module file. - Keep a separate cache file for each install of mc, and remove the cache of an install that has not run for 30 days. - Document the cache and the rules for register() in doc/PLUGINS. |
Feature, Plugin, core |
| #459 | - Fix the leak of the pointer buffer on every tag lookup and every free of the ctags index. - Keep the tags themselves: they stay with the index and the repository. - Fix a crash in input_callback when a WInput that has never been in a dialog is destroyed. - Free the memory that the tests tempdir, path_serialize, file_history, textarea, edit_complete_word_cmd, runtime_host__syntax, complete_engine and nav_probe allocate. - Fix the same array leak in ctags_fuzzy_tests and ctags_index_tests. |
Bug fix, To Coole |
| #458 | - Add a search of plain bytes under mc_search_run, in lib/search/plain.c, for data read by blocks through a new block_fn. - Use it in the viewer for files outside nroff mode, in forward, backward and filtered search. A search with no match in a 1 GB file takes about 0.3 s instead of 11-14 s. - Cover normal search for a case sensitive or plain ASCII string, and hex search of numbers only. - Fix hex search for a sequence over a line break, such as 0a 41, which is now found. In filtered lines it stops at the end of the line. - Report a read error as an error, not as "not found", and check Esc after every 128 KB block. - Preserve the results of the regex search for the end of the range, for U+212A and U+017F in UTF-8, and for the case rules of single byte locales. - Keep the regex search for regex and wildcard patterns, whole words, all charsets, nroff mode and hex patterns with quoted strings. Based on MidnightCommander/mc PR #5205 by gereoffy. |
Feature, mcview |
| #456 | Fixes #454 Fixes #455 - Fix Enter on a directory with a right prompt in fish and zsh: it opens the directory again and no longer goes to the shell. - Add two prompt marks of our own, 133;R and 133;S, around fish_right_prompt and RPROMPT. - Stop the typed line at the column of the right prompt while its text is still on the screen. - Read the line to the edge of the screen when the shell has wiped the right prompt, so a long command is not cut. - Preserve $status for a fish right prompt that shows it. - Keep the right prompt of the user visible. - Keep bash as it was: it has no right prompt. |
Bug fix, Chore, mcterm |
| #453 | - Fix F7 with a name like one/two: it makes "one" first, then "one/two", as mc's own F7 does. Before, it failed with "shell: the remote command failed" when "one" did not exist. - Keep a parent directory that already exists from being an error. - Keep the error for a last name that is already taken. - Run the nested-path case of fileops/07-plugin-mkdir over sh too, and add a case for a taken name. |
Feature, Bug fix, Plugin, panel |
| #452 | Fixes #449 - Fix F7 inside an FTP or SFTP connection: it asks for a name and makes the directory on the server. Before, it did nothing and showed no message (#449). - Make the directories above it too when the name has slashes in it, and put the cursor on the new directory. - Show an error when the server refuses to make the directory. - Add the mkdir() hook of plugin API 18 to SFTP, so F5 and F6 now copy a whole directory into an SFTP panel, as they already did for FTP. - Keep F7 on the connection list as it was: it adds a new connection. - Add sandbox cases fileops/07-plugin-mkdir for ftp, sftp and sh, and run the upload cases over sftp too. |
Bug fix, Plugin, panel, sandbox |
| #451 | - Fix the quadratic load of an archive: the Qt source archive (373000 entries, 664 MB .tar.xz) opens in about a minute instead of running for hours at full CPU. - Keep the entries in a hash table by path while the archive is read, for both libarchive and extfs listings. - Look up duplicate entries and parent directories in that hash instead of searching the whole list. - Keep arcmc_find_entry() and the entry list after the load as they were. |
Bug fix, Plugin, panel |
| #450 | - Add mongo_conn_bucket_hi(), the exclusive upper bound of a bucket from the $bucketAuto reply. - Fix a bucket without a max running to the end of the collection; it now ends where the next bucket starts. - Copy the bound of the scope before the server is asked, so a change of the bucket stack cannot leave a pointer into freed memory. - Add mongo_bucket_test, which checks the bounds of the buckets without a server. |
Bug fix, Plugin, panel |
| #448 | - Fix the last bucket of a level losing its last document: 3000 documents showed 999 in the last bucket. - End the last bucket where its parent range ends, since $bucketAuto gives it an inclusive max. - Fix the same loss in the last sub-bucket of every bucket. - Keep the max of $bucketAuto as the bound of the other buckets. |
Bug fix, Plugin, panel |
| #447 | - Fix full CPU load when an editor window is moved off the screen. - Fix "Press any key to continue" and other direct reads returning on a dropped terminal answer. - Fix dialogs running idle handlers on a dropped kitty key release. - Keep a suspended file operation suspended when a dropped answer comes. - Remove the extra idle request after a paste; edit_update_screen() already makes it. |
Bug fix, mcedit, core |
| #446 | - Read an indented line followed by text as the start of a paragraph, not as code. - Join a too-wide prose line with the lines that continue it, keeping their indent. - Keep lines that fit unchanged, so drawings and tables in plain text stay as they are. - Drop only known html tags; show or as text. - Collapse several blank lines into one. - Indent code blocks by two columns, frame a block without a language only when it has no background. - Add the plain_text.md test case. |
Feature, Plugin, mcview, lua |
| #445 | - Fix the editor showing only its title and buttons at start, with the text drawn only after a key press. - Return no key from get_key_code() after an unknown terminal answer, such as a late DA1 or kitty reply to the startup probe, when no more input waits. - Let getch_with_delay() hand that back to the caller once the input is over, so the dialog gets its idle time. - Ask for the idle time again in edit_update_screen() while the text is not drawn whole. - Keep reading the next key at once when more input has already come after the dropped answer. |
Bug fix, mcedit, core |
| #444 | - Build the rows table below the SQL on F3 with mc_text_table_t from lib/text_table.c, as the sqlite and mongo plugins do. - Fit the table to the screen width instead of 40 columns per column. - Cut a long value at the end with "~" instead of dropping its middle, and show NULL as an empty cell. - Recode the SQL part to the terminal codeset, so the whole F3 file is in one codeset. - Document the new width rule in the plugin help. |
Feature, Plugin, panel |
| #443 | - Build the F3 table of documents with mc_text_table_t from lib/text_table.c, as the sqlite plugin does; mongo_table.c only turns BSON values into cells. - Fit the table to the screen width instead of 40 columns per field. - Cut a long value at the end with "~" instead of dropping its middle. - Recode the cells to the terminal codeset, so the columns stay in line in an 8-bit terminal. - Keep building a cell from at most 512 bytes of a value. - Document the new width rule in the plugin help. |
Feature, Plugin, panel |
| #442 | - Fix Alt-e on a plugin panel: it no longer leaves the plugin for the directory on the disk. - Add a per-panel codepage for plugin names, chosen with Alt-e, and draw the names, the plugin columns and the panel title recoded to the terminal codeset. - Keep the names in the list as the plugin's own bytes, so Enter, F3 and F5 hand the plugin back what it gave. - Reset the codepage when a new plugin opens, and keep it for a plugin suspended under an archive. - Keep Alt-e on ordinary directories as it was, with "#enc:" in the path. - Document Alt-e on plugin panels in the English, Russian, Spanish and Serbian manuals. |
Feature, panel, core |
| #441 | - Add a psql-style table on F3 and Shift-F3 on a table or a view (first 200 rows) and on a row page (the rows of that page). - Fit the table to the screen width: the widest columns get narrower, and a cut value keeps its start and ends with "~". - Show an empty cell for NULL and the length for a BLOB; name the table and the rows in the first line. - Add mc_text_table_t in lib/text_table.c, a shared table formatter for panel plugins that recodes cells to the terminal codeset. - Show the SQLite error when the rows cannot be read. - Keep Enter on a table or a page, and F3 on a JSON row, as they were. - Document the new keys in the plugin help. |
Feature, Plugin, panel |
| #440 | - Add a psql-style table on F3 and Shift-F3 on a collection or a bucket: a row per document, a column per top-level field. - Cut columns at 40 wide, align numbers right, write nested values on one line and dates in UTC. - Show at most 2 * bucket_leaf_size documents and say so in the first line when there are more. - Show the whole document on Shift-F3 on a document, with no base64 cut and no projection. - Keep F3 on a document and Enter on a collection or a bucket as they were. - Document the new keys in the plugin help. |
Plugin, panel |
| #439 | - Fix F3 and the quick view asking a panel plugin for the same entry twice when no magic.ini rule matches it. - Pass the copy taken to detect the file type to the viewer instead of removing it. - Fetch an FTP, SFTP or S3 file once per F3, and run the queries of a database plugin once, so an interrupt cancels them for good. - Keep the behaviour for entries that a magic.ini rule handles, for plugins with their own view, and for local files. |
Bug fix, mcview, panel |
| #438 | - Add the panel plugin postgres with the levels connection, database, schema and relation. Connections are kept in ~/.config/mc6/postgres.ini. - Add a connection dialog: host and port, URL or service, Test connection, and Save password to ~/.pgpass. - Show on F3 the SQL of a relation rebuilt from the catalog, followed by its first 100 rows. - Run coole -Q on Alt-F3 and on Enter on a relation, connected through PG* and MC_PG_* variables. Fall back to psql when coole is not installed. - Keep the panel read-only. Ctrl-G cancels a query of the panel. - Add the plugin to debian, CI and doc/INSTALL, and document it in postgres_panel.md. |
Feature, Plugin, panel |
| #437 | Thank you for this work. It continues in #437: the same branch, rebased on current master, with all your commits kept as they are, under your name. On top of them #437 adds fixes from the review: - Add the fast find of Far to Far mode: with the new "Alt-letter fast find" check box (far_fast_find, off by default), Alt or Alt-Shift with a letter, a digit, a dot, an underscore or a hyphen starts the quick search in the panel and types the character into it. - Find a file by the beginning of its name, whatever its case. The search goes on with Alt or without it, a character that matches no name is not taken, Esc ends the search, and Enter opens the file found while the text on the command line stays. - Support Cyrillic and other letters in UTF-8 and 8-bit locales, on terminals that send Alt as an Esc and on terminals with the kitty keyboard protocol, where the text of the key event is used instead of the key of the base layout. - Keep the old action for Alt with any other character (Alt-, Alt-|, Alt-?), for the keys that switch the screens, for the keys of the [dialog] keymap, and for keys that the keymap of the user binds to another action. - Keep the old action for keys that the plugin of a plugin panel answers, for the Alt keys of a command line that has text, and for every key in a panel with no files. - Hide the keys that the fast find takes from the menus, and update the menu shortcuts when the keymap is loaded again. - Keep the keymaps and the Key Bindings dialog unchanged by the option. - Add sandbox cases in UTF-8, KOI8-R and CP866 and for a plugin panel, and document the fast find in all manuals and in the CHANGELOG. |
Feature, panel, core |
| #436 | - Show only the entries of a drop-down menu that fit on the screen, and scroll the menu to keep the current entry - Add a scrollbar on the right frame of a long drop-down menu; it moves the menu with the mouse. - Add PgUp and PgDn to page through a drop-down menu, in the default, emacs and vim keymaps. - Page through a drop-down menu with the mouse wheel, like PgUp and PgDn, stopping at the first and the last entry instead of wrapping around. - Keep the Up and Down arrows as they were: - Keep menus that fit on the screen as they were, without a scrollbar. |
Feature, core, To Coole |
| #435 | - Add Alt-F3 in the mongo panel: it opens coole for the cluster and database under the cursor, or mongosh when coole is missing. - Keep one console per cluster and database; Alt-F3 switches between it and the panels. - Pass the URI in the environment, not on the command line. - Add the "coole" and "mongosh" path settings. - Add terminal screens for plugins in plugin API 23. - Add IL, DL, SU, SD and mouse reporting to the terminal. - Fix login through proxies that send a short SCRAM salt, such as Azure Cosmos DB. |
Feature, Plugin, panel |
| #434 | - Add the gh panel plugin. It lists the pull requests and issues of a repository under gh:/owner/repo and reads everything through the gh command. It changes nothing on GitHub. - Show each pull request as a directory with its description, diff, checks, changed files, commits and comments. Shift-F3 on a changed file opens the base and the new version in the diff viewer, without a local clone. - Add Alt-F to switch between open, closed and merged entries, Alt-W to open the entry in the browser, and Alt-G to open the local clone in the Git panel. - Add favorites to gh:/. Ctrl-B saves the current place, and Shift-F4 adds a path or a GitHub URL. - Add host->open_location() in plugin API 22, so one plugin can open another plugin or a directory in a panel. - Document the plugin in gh_panel.md and the API in doc/PLUGINS. |
Feature, Plugin, panel |
| #433 | - Fix the release of a button held while the wheel turns: it was lost, so a drag did not end and the widget kept the mouse. - Fix a click right after a turn of the wheel coming as a double click, which opened the file under the mouse in a panel. - Make a turn of the wheel end a series of clicks, and keep the button that is down. - Drop a release that ends no button, as some terminals send after the wheel. - Remove the workaround for the menu that dropped the release after the wheel: the widgets get a release only after a press that captured the mouse. - Keep the state of the xterm mouse decoder in one structure and reset it when mc gives up the mouse or takes it back, so a button let go in another program does not stay down. |
Bug fix, core |
| #432 | - Add WScrollBar, a vertical or horizontal scrollbar widget: arrows, a track and a thumb, moved with the mouse by a step, a page or a drag of the thumb. - Draw the scrollbars of the lists, the tables, the Chattr flags dialog and the MongoDB wizard with it, and let the mouse move the rows of a table through its bar. - Add the skin section [scrollbar] (vstart, vend, vtrack, vthumb, vthumblen and the same with h) to every skin, and remove the unused [widget-scrollbar]. - Draw the arrows of darkfar as triangles. - Keep the bars in ASCII with --stickchars and on a slow terminal, keep [scrollbar] in the black and white mode, and follow a change of the skin in the bars that are open. - Fix the right frame of a dialog beside a table that has nothing to scroll: it is drawn in the line of the frame, double in most skins, as are the header and the search line beside a scrollbar. - Scroll sideways with the tilted wheel or the wheel turned with Shift; Ctrl and Alt with the wheel scroll as the plain wheel. - Keep the earlier fields of WTable and WListbox in their places for plugins built before, and let the skin editor show and edit the [scrollbar] keys. - Document the [scrollbar] keys in misc/skins/README.txt. |
Feature, Chore, core |
| #431 | - Fix text such as "Gi=31,s=1,v=1,a=q,t=d,f=24;AAAA" or "far2l1" left on the screen when a program in the shell of Ctrl-O asks the terminal about kitty graphics (chafa, timg, kitty icat, yazi) or the far2l extensions (far2l, f4). - Skip the strings ESC _ (APC), ESC ^ (PM) and ESC X (SOS) up to ST, as a terminal that does not know them does: nothing is drawn and nothing is answered. - End such a string at BEL too, as many programs send it, and abort it at CAN or SUB. - Keep the text and the colors after the string as they were. - Keep DCS (sixel) and OSC as they were. |
Bug fix, Chore, core |
| #430 | Closes: #348 - Add the option clipboard_osc52 in [Misc], off by default: every copy also goes to the clipboard of the terminal by the OSC 52 sequence. - Write the sequence from mc itself, so it works locally and over ssh with no clipboard_store command and no perl or other program to run. - Send the text in UTF-8: a clipfile the editor saved in another codeset is recoded by its info file, and the mark of a column block is dropped. - Skip a text longer than 75000 bytes (100000 of base64, as xterm takes) instead of sending a cut part. - Send the sequence only to an xterm-like terminal, never to the Linux console. - Keep clipboard_store: it still runs when it is set, next to OSC 52. - Document the option in the man page in all languages. |
mcedit, core |
| #428 | - Keep the terminal on the alternate screen when an external editor or viewer starts, so the panels stay on screen until the program draws its own screen and the console does not blink in between. - Bring the terminal back to the alternate screen after the program exits and redraw it fully with S-Lang and with ncurses. - Add the option keep_screen_for_external, on by default, to turn this off for an editor that does not use the alternate screen. - Keep the old behavior for shell commands and on the Linux console. - Document the new option in the man page in all languages. |
core |
| #427 | - Do nothing in navigate_other_panel() of the plugin host when the other half of the screen is Quick view, Info or the tree. - Fix the crash on Enter on a file of the git status list with Quick view in the other panel. |
Bug fix, Plugin, panel |
| #426 | - Read a paste as one block again in the Win32 input mode, also when the terminal sends it as key records. - Take Esc with no key, followed by [ 2 0 0 ~, as the start of a paste: the Windows console types the paste marks as keys. The Esc key itself is never held back. - Turn the key records of a paste into its text: a press gives its character, a release nothing, a UTF-16 pair one character, Enter a new line. - Keep the lines of frames and other characters with no key: the Windows console types them as Alt and the digits of their code, and the release of Alt gives the character. - Draw the editor text right after a paste: the repeats of a held Shift after it left the screen empty until a key was pressed. - Add tests for a paste from conhost, built from a real capture, for Enter as a key in Windows Terminal, for a frame and for the Esc key. |
Bug fix, core |
| #425 | - Add the directory diff at the top of the commit list: every file the listed commits change, from the base of the branch to its end. - Show diff for the current branch and for a branch opened from the branch list, also one that is already merged; its Status column names the base. - Diff the base against the end with Shift-F3 on a file in diff; F3 shows the file at the end of the branch. - Show git diff --stat of the branch with F3 and Quick view on diff itself. - Show the description of a commit in Quick view, as F3 does. - Keep Alt-V and Alt-R off in diff: it is not one commit. - Fix the doubled extension of a copied file of a commit (x.c.c). - Document diff and Quick view in the git panel help and the changelog. |
Bug fix, Plugin, panel |
| #424 | - Reset nroff and wrap that a source set (rendered Markdown, a wide diagram) to the settings when the view is done. - Fix Quick view after a Markdown file: the next files kept nroff and showed no syntax highlighting until Quick view was closed. - Keep F3 as it was: each F3 opens a new view and was not affected. |
Bug fix, mcview, core |
| #423 | - Add the runtime plugin "session". It is off until turned on in Manage plugins. - Run mc on its own pty behind a holder process, like screen. mc survives a closed window or a dropped SSH connection. - Take the session back by starting mc again. One detached session is taken at once. With none free, a new one starts. Otherwise mc shows a list. - Add Sessions... to the Command menu: switch, new, end or detach. - Ask before taking or ending a session in use. A session silent for 10 seconds looks lost and is taken without a question. - Refuse to end mc while an editor, viewer or dialog is open in it. - Pass SSH_AUTH_SOCK, DISPLAY and similar from the new terminal. The agent works in the command line shell too. /dev/tty keeps working. - Turn off the terminal modes of mc when a session is taken or mc is killed. - Extend the runtime plugin API: early phase, fd watch, tty_suspend(), ui_quit(), menu entries, off-by-default plugins. Nothing changes without a plugin. - Keep mc unchanged on the Linux console, inside a session, and in the standalone editor, viewer and diff viewer. - Document sessions in the manual and CHANGELOG.md. Closes: #358 Suggested-by: unxed ivan.sorokin.tech@gmail.com The idea comes from #377; this branch builds it the way screen does instead of handing the terminal over to the waiting mc. Supersedes #377. |
Feature, core, mcterm, sandbox |
| #422 | Closes: #392 - Add Shift-F6 to pick the base of a merge in the file chooser. - Add -B (--base): "mcdiff6 local remote -B base" opens the merge. - Name the result and the base on the frame of the middle column. - Add Tab to switch the active file: double frame on it, single gray frame on the other; F4 edits the active file. - Fix F5: it copies from the active file into the other one, and the key bar shows the direction. - Mark the current line on the frame; add the skin keys linemark and inactiveframe. - Show a merge in three columns from 40 columns of screen, the result below on a narrower one. - Document all of it in the manuals in all languages. |
Feature, core |
| #421 | - Add the mark ! and the state CONFLICT for files that git status lists as unmerged (UU, AA, DD, AU, UA, DU, UD). - Open the merge of three files on Shift-F3 on such a file: ours on the left, theirs on the right, their merge against the base in the middle. - Use an empty file for a stage the file does not have. - Save the merge into the work tree file, and add it to the index when no conflict is left. - Keep the conflict when the merge is saved with conflicts left or is not saved. - Name the sides of a diff by what they are, "shop.c (HEAD)" and "shop.c", or "shop.c (abc1234^)" and "shop.c (abc1234)", and make the temporary copies read-only. - Document the new key in the help of the panel. |
Feature, Chore |
| #420 | - Fold the case of each line on its own with ignore case: a valid UTF-8 line as UTF-8, any other line as ASCII. - Fix Cyrillic lines that differed when one file had a bad byte anywhere in it. - Add a test with such a file. |
Bug fix, Chore, core |
| #419 | - Add WFileChooser: a dialog that picks a file or a directory from a table of name, size and date, with a path line that keeps a history. - Narrow the list with a fuzzy filter as letters are typed; Ctrl-S searches by the start of the name. - Sort as a panel sorts by name, with Ctrl-PgUp and Ctrl-PgDn as in the panels; work through the VFS, archives included. - Add quick search, quick filter and fuzzy filter to WTable, built on the quick search code of the panels, now moved to lib/widget. - Fix the last column of a WTable that was cut by one cell. - Use the chooser for Open file in the editor; a new file can still be opened by name. |
Feature, core, To Coole |
| #416 | - Move Compare files in the extended keymap from Ctrl-d to f: Alt-X f in Far mode, Ctrl-X f without it. - Bind Ctrl-A in the editor to Mark all in both modes. The old default line bound Ctrl-A to MacroExecute, an action that does not exist, so the key did nothing outside Far mode. - Keep Ctrl-A as Home in keymap.emacs.ini and Compare files on Ctrl-d in keymap.emacs.ini and keymap.vim.ini. - Document Alt-X f in the Far mode section of the manual. |
Chore, core |
| #415 | - Add the merge view: mcdiff6 local base remote [-o output]. - Start the result from the base with one-side changes taken in. - Add F5/F6 to add the left/right lines to a chunk, Shift-F5/F6 to take them out. - Mark conflicts with the new skin key [diffviewer] conflict; ] and [ go to them. - Count a chunk edited by hand with F4 as resolved. - Exit with 0 only when saved with no conflict left, for git mergetool. - Add host->open_merge() and host->open_diff_labeled() to the plugin API (21). - Show file names on the column frames and the position on the status line. - Keep the view of two files as it was. - Document the merge in the mcdiff6 manual in all seven languages. |
Feature, core |
| #413 | - Add the xdiff library of git v2.56.0 in src/diffviewer/xdiff, unchanged except for our own git-compat-util.h, and build it as part of the diff viewer. - Compare the two files in process with xdiff, so the viewer no longer needs a diff program in PATH or a shell to start it. - Keep all comparison options: ignore case, tab expansion, space change, all space and trailing CR. Case and tab options keep NUL bytes, so binary files compare correctly with them. - Use the histogram algorithm for the "Fastest" quality. It replaces --speed-large-files of GNU diff, which xdiff does not have. - Fail only the comparison, not mc, when xdiff cannot allocate memory. - Keep the dialog labels and their translations as they were. - Add the test tests/src/diffviewer/compare_files. - Document the "Fastest" quality in the mcdiff6 manuals in all languages, and list the LGPL-2.1+ and BSD-3-Clause files in debian/copyright. |
Feature, Chore, core |
| #412 | - Add automatic authentication using standard keys from ~/.ssh. - Support keyboard-interactive server prompts. - Keep passphrases and challenge responses transient. - Add Docker sandbox tests for default-key, keyboard-interactive, and repeated passphrase authentication. |
Feature, Plugin, panel |
| #411 | Make helper scripts return failures for remote unlink and transfer errors. Drain failed transfers before replying so the shell protocol remains synchronized, and add helper tests for successful and failed operations. | Feature, Plugin, panel |
| #410 | Fix keyboard input in full-screen programs and restore mc's mouse handling after exit when "Run without the shell of the panel" is enabled. | Bug fix, core |
| #409 | - Add the acl panel plugin with the Attributes menu entry "Access control list...". It is built when libacl is found (--enable-panel-plugin-acl). - Add MC_PP_MENU_ATTRIBUTES, so panel plugins can put entries in the Attributes menu, and raise the panel plugin API to 20. - Add POSIX ACL editing: access and default lists, rights as check boxes, named users and groups from an account chooser, and mask control with effective rights. - Add Windows ACL editing on cifs, ntfs-3g and ntfs3 mounts: allow and deny entries, rights presets and advanced rights, inheritance scopes, and readable names for SIDs. - Apply one list or a change to several marked files, one file at a time. - Preserve on a Windows write the SACL, the owner, the group, the DACL revision and the entries the editor does not change, such as object, audit and padded ACEs. - Keep an unchanged list untouched, report a list that changed while the dialog was open, and report a security descriptor that cannot be read. - Keep NFSv4 ACLs read-only: the editor only says that the file has one. - Document the plugin in its help page, and add it to the Debian, RPM, Arch and Gentoo packaging. |
Feature, Plugin, core |
| #408 | - Add table_set_check_cursor(): Left and Right walk the check columns of the current row, and the space switches the box under the cursor. - Add the skin key [dialog] dcellfocus for the box under the cursor. A skin without it gets dselfocus with reverse, so the box is visible on any skin. - Switch a box with a mouse click on the row under the mouse; a double click on a box switches it twice and does not run Enter. - Keep the cell under the cursor in view in tables that scroll their columns; Ctrl-Left and Ctrl-Right still scroll the columns. - Fix clicks on the scrollbar or the frame that hit the last column, and keep the frame line above the scrollbar in tables with a header. - Add attributes to skin fallbacks, so a missing key can take another key's colors with its own attributes. - Show dcellfocus in the skin editor, with the fallback attributes and a box in the dialog sample. - Document dcellfocus in misc/skins/README.txt. |
Feature, core |
| #407 | - Launch the external coole utility from the Git panel. - Alt-G runs coole -G ; from commit history it adds --git-log. - Alt-C runs coole -G to write a new commit message. - Alt-A, Alt-V, and Alt-R/F4 launch coole with --git-amend, --git-show=, and --git-reword= respectively. - Refresh the panel when coole closes; - Document the shortcuts and make the coole executable configurable. |
Feature, Plugin, panel |
| #406 | - Fix undo of a typed UTF-8 character: one undo removes the whole character, not one byte of it, so the screen no longer shows a broken character. - Fix redo: it brings back a whole character or a whole deleted line, not one byte at a time. - Keep group undo as it was: one undo removes the group, and redo brings back one key press at a time. Ported from coole (https://github.com/blue-panels/coole). |
Bug fix, mcedit |
| #405 | - Add syntax highlighting for Jinja2 templates (*.j2, .jinja, .jinja2). The rules read the text inside {% %} and {{ }} separately, so a "}}" inside a string does not end the tag, and {% raw %} blocks stay uncolored. - Add syntax highlighting for Mermaid diagrams (.mmd, .mermaid). The text of nodes and messages stays plain, so words like "end" in it are not keywords. - Add syntax highlighting for Smarty templates (.tpl) as a layer over HTML: tags are colored in text, attributes, scripts and style sheets. - Add syntax highlighting for COMMIT_EDITMSG, MERGE_MSG and TAG_EDITMSG: trailers, issue numbers and the lines git leaves out. - Highlight the code given to awk, python and sqlite3, psql or mysql in shell scripts by the rules of its language. - Fix shell expansions like ${SHELL="${CONFIG_SHELL-/bin/sh}"}: a quote inside them no longer turns the rest of the file inside out. - Give JSON keys, string values, numbers and constants different colors, and highlight // and / */ comments in JSON. - Keep markdown inline code to its line: an unclosed backtick no longer colors the rest of the file. Highlight mermaid, jinja and j2 code blocks in markdown. - Show *.j2, *.jinja and *.jinja2 files as documents in the panels. Ported from coole (https://github.com/blue-panels/coole). The Jinja2 syntax comes from upstream PR MidnightCommander/mc#5171 by Kuzin Andrey. |
Feature, Chore, mcedit, core |
| #404 | Port the syntax engine changes from coole (https://github.com/blue-panels/coole) - Add "embed " to the syntax rules: a context hands its text to the rules of another syntax. - Highlight scripts and style sheets in HTML as JavaScript and CSS, and fenced code blocks in markdown by the language they name. - Add "embed soft ": the closing delimiter does not end the embedded text inside a string or a comment of the embedded rules. - Add "overlay " to make a rule set a layer over another one, for template languages like Smarty, Jinja2 or PHP. - Add "context oneline": a context ends at the end of its line when the closing delimiter is not on that line. - Fix a context that starts on the same byte as a keyword: the context is entered now. - Read the installed Syntax file after the user's one, for every file type the user's file does not name. Options > Syntax file now creates a short commented file instead of a full copy of the installed one. - Look up an embedded type in the installed Syntax file too. A type found nowhere leaves the context as it was, instead of failing the whole rule set. - Keep a file without "embed" and "overlay" highlighted as before. - Document embed, overlay, oneline and the inherited Syntax file in the English, Russian and Serbian manuals. |
Feature, mcedit |
| #403 | - Add Far mode, a layer of Far Manager keys over the keymap, off by default: the "Far Manager keys" check box in Options > Configuration or far_mode=true in the ini file. The user's own keymap still goes over it. - Add the Far keys of the panels: Alt-F7 find, Alt-F8 command history, Alt-F11 and Alt-F12 histories, Ctrl-1 to Ctrl-0 listing modes, Ctrl-F3 to Ctrl-F9 sort orders, Ctrl-\ root directory, Ctrl-A attributes, Ctrl-F full name to the command line, Shift-gray plus and minus to select and unselect all, and fast find with Alt and a character. - Add Ctrl-G (and Alt-X g, for terminals that take Ctrl-G as the interrupt key) to apply a command to the tagged files, skipping file names with a line break. - Add Esc to clear the command line when no dialog is open and the file list has the focus, in mc's own line and in the shell's. - Add the Far keys of the command line and the edit lines of dialogs (Ctrl-E, Ctrl-X history, Ctrl-Y clear, Shift-Enter and Ctrl-Shift-Enter for the file name of a panel), and of the dialogs (Ctrl-Enter, PgDn to the default button, plus and minus for check boxes). - Add the Far keys of the editor (Ctrl-F7 replace, F4 quit, Alt-F8 go to line, Ctrl-Z undo, Ctrl-A select all and more) and of the viewer (Alt-F8, Alt-F7, Alt-F11). - Name the sort orders on the key bar of a held Ctrl: Name, Ext, MTime, Size, Unsort, CTime, ATime. - Keep Ctrl-F10 and Ctrl-F11 unbound: M-Commander has no sort by description or by owner. - Document Far mode in the English, Spanish, Hungarian, Italian, Polish, Russian and Serbian manuals. |
Feature, core |
| #402 | - Turn on the Win32 input mode of Windows Terminal when the terminal knows both it and the kitty keyboard protocol, and use the kitty protocol only when there is no Win32 input mode. - Fix every Cyrillic letter typed twice in Windows Terminal 1.25 with keybar_modifiers on: its kitty protocol sends the text of a key that is not in the US layout once more on the release. - Keep the kitty protocol for every terminal that does not answer the Win32 input mode question. - Keep MC_WIN32_INPUT=0 as the way to get the kitty protocol in Windows Terminal. |
Bug fix, core |
| #401 | - Add the Win32 input mode (DECSET 9001) for terminals that know it but not the kitty keyboard protocol, such as Windows Terminal 1.24. - Turn each Win32 key record into the same key event as a kitty key, so typed text, held modifiers, the key bar of a held modifier, key capture and mcterm work the same way. - Take the key of a letter from its virtual key, so Ctrl and Alt with a Cyrillic letter act as with the Latin letter on that key. - Give the character for AltGr with a character, tell the left and the right modifiers apart, and join a character outside the BMP from its two UTF-16 records. - Ask the terminal for the mode with DECRQM at start; MC_WIN32_INPUT=0 turns the question off. - Keep the kitty protocol first when the terminal knows both, and keep a paste as a normal bracketed paste. - Supersede #385; the DECRQM question, the AltGr rule and the list of modifier keys come from there. |
Feature, core |
| #400 | - Show the bytes of the captured key in hex on a line below "Raw:", and the bytes of what came after it below "Release:" or "Then:". - Fix the hex running past the right border of the dialog for a kitty or Win32 key with its release. - Make the dialog two lines taller and keep the other lines and the buttons as they were. |
Bug fix, core |
| #399 | - Add the kitty keyboard protocol to vterm: a program in mcterm can push, pop, set and query the kitty flags, with separate stacks for the normal and the alternate screen. - Encode the keys for a program in mcterm by the kitty flags it asked for; a program that asked for none gets the xterm bytes as before, and Ctrl-digit is no longer sent as CSI u to it. - Keep the whole kitty event of each key from the outer terminal: release, repeat, Super, Hyper, Caps Lock and Num Lock, the base layout key and the text. - Pass that event to the program in mcterm, including releases for a program that asked for the event types only, and keys with no legacy bytes such as F13 and the media keys. - Make the kitty flags of the outer terminal follow the program in focus, and return to mc's own flags when the focus leaves it. - Keep up to 512 characters of text that the terminal sends with a key, for example from an input method, instead of 8. - Drop a key sequence that is too long as a whole, instead of reading its end as typed text. - Add Super as a modifier for keymap bindings (super-x). - Show the kitty event of a captured key in the key sniffer. |
Feature, core, mcterm |
| #398 | - Add the full kitty keyboard protocol for programs in mcterm: vterm keeps the modes a program sets, answers the query, and keeps separate stacks for the normal and the alternate screen. - Encode the keys for a program in mcterm by the kitty flags it asked for, and pass it the whole event from the outer terminal: releases, repeats, Super, Hyper, the base layout key, the text, and keys with no legacy bytes such as F13 and the media keys. - Make the flags of the outer terminal follow the program in focus, and return to mc's own flags when the focus leaves it. - Add the keybar_modifiers option: with a kitty terminal, the key bar shows the Shift-Fn, Ctrl-Fn and Alt-Fn commands while that modifier is held, and a click runs the shown command. - Look up the key bar commands in the order a pressed key goes, the panel keymap before the file manager one, and set the labels in the file manager, the editor, the viewer and the diff viewer. - Fix the arrows, PgUp/PgDn, Home/End and F keys with Caps Lock or Num Lock on. - Fix key capture in the key sniffer, Learn keys and the key bindings dialog: one key per capture, Ctrl-X captured as Ctrl-X, and the release shown on a separate line of a wider key sniffer. - Keep a lone modifier out of the dialogs as a key, so Ctrl-Q, the Ctrl-X prefix and the macro key prompt work with the option on. - Add Super as a modifier for keymap bindings (super-x). - Keep the behaviour unchanged when keybar_modifiers is off and in terminals without the kitty protocol. - Document keybar_modifiers in the English manual. |
Feature, core, mcterm |
| #397 | Closes #351 - Insert a paste from the terminal into the editor as one block, so that one Undo takes it back whole (#351). - Keep line breaks and tabs of the paste as text, and drop a byte that would run an editor command. - Keep the paste free of auto indent and draw the screen once when it is all in. - Add sandbox cases for a paste in the editor. |
Feature, mcedit, To Coole |
| #396 | - Add the name of the command that runs in the embedded terminal to the front of the window title, as in "htop - mcommander [user@host]:/path". - Restore mc's own title when the shell is back at its prompt. - Keep the title a program or the shell sets for itself out of the window title. - Write the title only when it changes while a command runs. - Document it with the XTerm window title option in all seven languages of the manual. |
Bug fix, core |
| #394 | - Quit mc when the shell of the embedded terminal ends, by exit or by a Ctrl-D the shell reads itself, instead of leaving "[ Process exited ]" on a dead terminal. - Keep mc running when the shell could not be started, so that a wrong or empty shell does not close mc at start. - Keep Ctrl-D at the command line as delete-a-character, and as the end of input for a command that reads it, such as cat. - Add sandbox cases for the shell that ends and for Ctrl-D under every shell. - Document the quit with the shell in the embedded terminal section of the manual. |
Bug fix, Chore, core, mcterm |
| #393 | - Fix Shift-Tab with a program running in the terminal: it goes to the program as \e[Z, the way xterm sends it, so htop switches its screen tabs. - Drop a key the terminal cannot send to a running command or a full-screen program, instead of handing it to the command line. - Keep the old behaviour for shells that do not report their prompt, such as dash. - Add a test for the Shift-Tab encoding |
Bug fix, Chore, mcterm |
| #391 | Closes #386 - Fix PgUp, PgDn, Ctrl-Up, Ctrl-Down, Ctrl-Home and Ctrl-End with the panels hidden: they now move the terminal view also while the command line has the focus (#386). - Move the view a row with Shift-Up and Shift-Down at the command line, the way xterm does. - Stop sending to the shell the cursor and editing keys that the [input] keymap gives a meaning the shell has no key for, such as Shift-End and Shift-Delete. Before, bash printed them as text. - Add tagging in the panels with Shift-PgUp, Shift-PgDn, Shift-Home, Shift-End, Shift-Left and Shift-Right. Each key moves the selection bar the way it does without Shift and tags the files it passes over. - Keep Shift-Left, Shift-Right, Shift-Home and Shift-End with the command line while it holds text. - Keep Shift-Up and Shift-Down tagging one file in the panels, and marking the output while the terminal has the focus. - Document the terminal view keys and the panel tag keys in the English and Russian manuals. |
Bug fix, core |
| #390 | Closes #389 - Fix Ctrl-a on the command line after Ctrl-O: the cursor now moves to the start of the shell line (#389). - Send Home and End to the shell as \e[H and \e[F, or \eOH and \eOF in application cursor mode, whatever the [terminal:xterm] section of the ini files says. - Fix the plain Home key typed into the terminal, which used the same \e[1~ sequence. - Add a test that a \e[1~ Home in the key table does not change what Home sends. Home and End go to the shell as \e[H and \e[F, or \eOH and \eOF in application cursor mode, whatever the [terminal:xterm] section says. That section starts the Home list with \e[1~, and readline binds it only in /etc/inputrc. With a ~/.inputrc that does not include it, Ctrl-a on the command line (Home in the [input] keymap) did nothing. mcterm sends the arrow keys, Home, End, Insert, Delete, Page Up, Page Down and F1-F12 to child processes using a fixed table of xterm escape sequences. The arrows and Home/End use the application cursor mode forms, and the [terminal:xterm] section and the user's ini are consulted only for keys not covered by that table. |
Bug fix, core, mcterm |
| #388 | - Add conditions for where an entry is shown: path=, path~=, on=, exec=, marked=, needs=. - Add default.* keys to choose the entry the menu opens on. - Write multi-line commands as ``` blocks and keep comments on save. - Report an unreadable menu file with its line instead of an empty menu. - Add a Conditions dialog and Alt-A to show hidden entries dimmed. - Import the conditions of an old mc.menu as keys. - Fix fenced blocks of four backticks in the help window. - Document the menu file and its keys in all seven manuals. |
Bug fix, core |
| #387 | - Fix the " \ " that flashed at the end of the command line after Enter while the panels are hidden. - Stop counting the row the shell moves to after Enter as part of the command line, until the shell sends the command start mark or a new prompt. - Keep showing a pasted text of several lines as one row with " \ " between the lines, with the panels shown and hidden. |
Bug fix, core, mcterm, sandbox |
| #384 | - Repaint previously displayed content in the viewer and mcterm after a later screen refresh. - Rerun painters when one triggers a nested refresh, so the final redraw does not erase their output. |
Feature, core |
| #383 | - Preserve Ctrl+digit keys in shortcut bindings and mcterm input; decode captured shortcuts without consuming pending keyboard input. - Send the S-Lang screen switch before enabling terminal modes, so mc disables them on the correct screen at exit. |
Feature, core |
| #382 | - Fix slow typing of Cyrillic and other non-ASCII text on the command line when the shell owns it: a letter took 150 ms instead of about 2 ms. - Count the bytes of a UTF-8 character in mcterm_send_key() and wait for the shell echo only when the character is complete. - Keep the echo wait for ASCII keys and for terminals that are not UTF-8. |
Bug fix, core |
| #381 | - Fix long lines of a code block that went past the frame and broke at the left edge of the screen. - Wrap plain text blocks to the prose width at a space. - Treat indented blocks and fences with no language or "text" as plain text. - Widen code blocks with a language up to the full screen width. - Wrap a line of code only when it is wider than the screen, with a "" mark in the margin. - Keep the indent of a wrapped line and its syntax color across the cut. - Add the code_wrap.md test fixture.lua-markdown: Keep long lines of a code block inside its frame |
Bug fix, Plugin, mcview, lua |
| #380 | - Fix table rows that broke apart when a cell held an HTML line break tag. - Start a new line inside the cell at each line break tag, so two tags in a row give an empty line between paragraphs. - Size each column to the widest line of its cells and wrap each line to that width on its own. - Keep italics, colors and links going across a line break in a cell. - Add the table_br.md fixture to the lua-markdown rendering tests. |
Bug fix, Plugin, lua |
| #379 | Closes #352 - Fix #352: a pasted text of several lines runs nothing until Enter. - Add MSG_PASTE: a bracketed paste goes to the focused widget as one block. - Track mode 2004 in the terminal: send the paste in ESC[200~ ... ESC[201~ or as one line. - Fix a paste into a dialog input: one line, no submit on a line break. - Keep the paste where typed keys go: quick search, terminal search. - Keep key-by-key paste for other widgets, with one redraw. - Add sandbox cases cmdline/02-paste and a "paste" step. - Show a shell line of several lines over the panels as one row joined by " \ ". - Based on PR #367 by unxed. |
Bug fix, Chore, core, mcterm |
| #378 | - Add support for OSC 52 in the built-in terminal: a program such as vim, tmux or an ssh session can put text on the clipboard. - Send the text to the clipfile and to the clipboard_store command, the same way as a copy of a selection does. - Add the [Terminal] clipboard_write option to turn this on. It is off by default, because any output in the terminal could change the clipboard. - Keep the clipboard closed for reading: a query ("?") gets no answer. - Drop an empty payload, a payload that is not base64, and one over 100000 bytes. - Keep the behaviour of the other OSC sequences (7, 133) as it was. - Document the new option in all seven manuals. - Based on PR #359 by unxed. |
Feature, core, mcterm |
| #356 | - Start bash in the terminal with --rcfile and a startup file in mc's data directory, as is already done for zsh. The file reads the bashrc of the user first and then sets up the shell integration. - Stop typing the setup at the first prompt. Its lines no longer end up in the bash history, and key bindings of the user (for example bind "\eh: ...") no longer break it. - Use bashrc and inputrc from mc's data directory when they are there, as the old subshell did: bashrc in place of ~/.bashrc, inputrc as INPUTRC. - Fix the "syntax error near unexpected token ';'" at every prompt when the PROMPT_COMMAND of the user ends with ";". Keep the setup working with "set -u" in the bashrc, and with an array PROMPT_COMMAND on bash 5.0 and later. - Fix the startup terminal probe with S-Lang: ask the background color with ST instead of BEL. Ctrl-G is the tty interrupt character there, so the tty dropped the BEL at the end of the answer. The rest of the answer was then typed into the command line with the next key, or started a quick search in the panel. This affected foot, alacritty and xterm. - Ask DA1 last in the probe and wait only for its answer, so the other answers are no longer read as typed keys on a slow start. - Drop late OSC answers from the terminal in the key decoder. End an unknown CSI sequence on its final byte instead of dropping the next 20 bytes with it. - Keep the typed setup for sh, dash and ash. |
Bug fix, core, mcterm |
| #354 | - Fix emoji and CJK characters in the terminal widget: they showed as a blank and now take two cells, as in xterm. - Move a wide character that does not fit on the last column to the next row whole. - Keep a wide character whole when the window width changes, and bring the same text back when the window gets wider again. - Blank the other half when an erase, insert, delete or overwrite cuts a wide character in two. - Fix search, filter, copy and the shell command line text on rows with wide characters: matches are marked in the right columns. - Turn the underline off on SGR 4:0; draw the underline styles 4:1 to 4:5 as a plain underline. - Add SGR 6 (rapid blink) as blink, and SGR 8 and 28 (conceal and reveal); hidden text is drawn as blanks, in the selection too. - Keep SGR 2 (dim) and 9 (strike) unsupported; zero-width characters still take one cell. |
Feature, core, mcterm |
| #353 | - Fix option names in doc/INSTALL that configure does not know: --without-edit is now --without-internal-edit, --enable-vfs-sftp is now --enable-panel-plugin-sftp, and --with-ncurses-includes/libs are now --with-ncurses-includedir/libdir. Remove --with-homedir. - Add a "Panel plugins" section to doc/INSTALL for ftp, sftp, samba, shell-link, arcmc, s3, mongo and sqlite, with the library and version each plugin needs. - Add --enable-shell-ssh2, --enable-lua-plugin, --disable-nls, --without-diff-viewer and --with-runtime-plugins-dir to doc/INSTALL, and fix the plugin directory defaults and the libssh2 requirement (>= 1.9.0). - Add a table that maps gone Midnight Commander options, such as --disable-vfs-smb, --disable-vfs-ftp and --disable-vfs-shell, to their replacements, and list separately the options that neither project ever had, such as --without-nls and --without-iconv. - Fix the Debian, Arch, RPM and Gentoo packaging to pass --enable-panel-plugin-sftp instead of --enable-vfs-sftp, so a missing libssh2 stops the build and the Gentoo sftp USE flag works. - Remove --enable-mcterm=yes from the packaging and --without-subshell from CI; configure has neither option. - Run configure with --enable-option-checking=fatal in CI and in maint/buildcheck.sh, so a dead option fails the build. Fixes #350 |
Bug fix, Docs, Plugin, core |
| #346 | - Add support for the kitty keyboard protocol: ask the terminal with CSI ? u at startup and turn the protocol on when the terminal answers. - Turn the protocol off on exit and whenever mc gives the terminal to another program, in the same places as bracketed paste. - Decode kitty key events to the same codes a legacy terminal gives, so Ctrl-A, Ctrl-M (Enter), Shift-Tab and the keymaps work as before. - Fix keypad Enter in Alacritty: with the protocol it comes as its own sequence, and a lone Esc comes without the Esc timeout. - Accept LF keypad Enter in menus ("enter; ctrl-enter") for Alacritty without the protocol, and treat decoded keypad Enter (ESC O M, ncurses KEY_ENTER) as plain Enter. - Keep a raw LF (Ctrl-J) as Ctrl-Enter outside a paste, but not inside a bracketed paste, where it is a line break. - Fix mcterm starting with no prompt on Arch Linux: close inherited descriptors with closefrom() instead of looping up to a huge descriptor limit. - Add MC_KITTY_KEYBOARD=0 to turn the protocol off; do not ask for it in screen and tmux. |
Feature, core |
| #344 |
po/Makevars no longer performs automatic in-place msgmerge during ordinary builds. Checked-in translations are now compiled without rewriting PO files when the POT template is newer.The update-po and release-dist targets remain available for intentional translation refresh and release packaging. The distinction between routine builds and explicit translation updates is documented. |
Docs, Chore |
| #343 | Closes #341 - Fix the package conflict with wdiff: /usr/bin/mdiff and mdiff.1 are also in the wdiff package, so the two packages could not be installed together. - Add the mcdiff6 link to mcommander and the mcdiff6.1 manual page in place of mdiff and mdiff.1. - Rename the manual and help pages to mcdiff6 in all languages (English, es, hu, it, pl, ru, sr), and update the links to it from the mview and mcedit6 pages. - Update the Debian and RPM file lists, the release workflow, the Debian test that checks each program's version, README.md, packaging/README.md and doc/FAQ. - Keep mdiff as a name the program understands, so an mdiff link left by an older install still starts the diff viewer. make install no longer creates or removes it. - Rename the --mdiff option of the extfs helper test script to --mcdiff6 |
Feature, core, lua |
| #342 | - Add a reply to the cursor position report request CSI 6 n: the terminal sends back CSI row ; col R. - Add a reply to the status report request CSI 5 n: the terminal sends back CSI 0 n. - Fix programs built on crossterm, such as gitui, that exited on start with "The cursor position could not be read within a normal duration". - Keep the reported position inside the screen, also when the cursor waits to wrap after the last column. - Keep private DSR requests (CSI ? 6 n) unanswered, as before. |
Bug fix, core, mcterm |