github iagodpassos/libremerge v1.6.0
LibreMerge 1.6.0

18 minutes ago

LibreMerge 1.6: auto-indent, the window as you left it, folder item icons and Flatpak

This release keeps the indentation when you press Enter and indents at brackets as WinMerge does, reopens the window where and as you closed it, shows WinMerge's icon for each item of the folder comparison, and adds a Flatpak manifest along with the fixes a Flatpak build needed.

Added

  • Auto-indent in the file comparison panes, as in WinMerge: Enter starts the new line with the indentation of the line above (#22, thanks @KrokusPokus). In source files it also follows WinMerge's bracket rules: one level more after a line that ends in {, (, [ or <, and one level less when a closing bracket is typed alone on its line, with WinMerge's GNU variant for the languages it uses it in (PHP, Python, INI and a few others). The bracket rules can be turned off with Auto-indent at brackets in Options > Editor > General, an option of LibreMerge's own. One Undo takes back the line break and its indentation.
  • The window reopens as you closed it, as in WinMerge: same place and size, maximized if it was (#25, thanks @Bloodbat). A saved place that would be off every screen is ignored, and -minimize on the command line still wins. On Wayland, where applications cannot place their windows, the size and the maximized state come back, but not the place.
  • WinMerge's icons for each item's result in the folder comparison: identical or different text, binary and image files, items unique to or missing on a side (2- and 3-way), skipped items, errors, folders and the .. row (#27, thanks @KrokusPokus).
  • Items a cancel left uncompared now read Item aborted, with WinMerge's icon, as in WinMerge.
  • Flatpak: packaging/flatpak holds a manifest that builds LibreMerge on the KDE 6.11 runtime, with instructions to build it yourself (#21 and #26, thanks @pedrohenriquecoimbra). Inside a Flatpak, deleting to the Trash and the copies that write over a file go through the desktop's Trash portal.

Changed

  • Shift+Enter breaks the line as Enter does, as in WinMerge. Before, it put an invisible line separator inside the line.
  • The flat folder list (Include subfolders on, Tree View off) no longer lists the folders present on every side, as in WinMerge: their files already show where they are (#24, thanks @KrokusPokus).
  • Archive comparisons follow Include subfolders and the hidden items as a folder comparison does, and, as in WinMerge, show a .. row that is disabled at the archive's root.
  • Building from source: -DLM_BUILD_TESTS=OFF leaves out the tests and the GoogleTest download, and the engine finds lemon's lempar.c next to lemon itself. The README now says how to run the build on Linux.
  • Arch Linux: besides the release PKGBUILD in packaging/aur, packaging/aur-git has a libremerge-git PKGBUILD that builds the main branch, to try what is not released yet.
  • FreeBSD and OpenBSD: the README points to libremerge-bsd, a port with binary packages kept by @AlfredoLlaquet. Thanks!
  • The README notes that GNOME takes Ctrl+Alt+Left/Right for switching workspaces, and how to free them for LibreMerge's Copy to Left and Advance and Copy to Right and Advance.

Downloads

  • macOS: universal dmg (Intel + Apple Silicon, macOS 14.4+), also brew install --cask iagodpassos/tap/libremerge
  • Linux: AppImage for x86_64 and arm64 (any distro with glibc 2.35+, nothing to install), also brew install --cask iagodpassos/tap/libremerge with Homebrew on Linux

Don't miss a new libremerge release

NewReleases is sending notifications on new releases.