2022-12-19 12:17:17 by pin | Files touched by this commit (3) | |
Log message: devel/difftastic: update to 0.39.0 0.39 (released 19th December 2022) Parsing - Added support for Erlang. - Improved detection of binary content when the MIME type database incorrectly claims a text file is another format. Display - Paths are now always displayed relative to the current working directory. - Fixed a race condition where diffing directories would lead to interleaved output from different files. Command Line Interface - Added a --check-only flag that reports if there are any syntactic differences, but doesn't calculate or print them. This is much faster than normal syntactic diffing. - Difftastic now sets the exit code if it finds changes and --exit-code is set. See usage in the manual for the full list of exit codes used. 0.38 (released 14th November 2022) Parsing - Syntax error nodes are now always treated as atoms. This produces better results when difftastic doesn't fully support the syntax (e.g. PostCSS is a superset of CSS) or when there are actual syntax errors. - Fixed a crash on file content detection when the local MIME database contains blank lines. Display - Line numbers styling has been tweaked to make it more visually distinct from file content. - Fixed an issue with inline display discarding newlines when color is disabled, leading to broken display. - Two column display now ensures that both columns have the same width, so line wrapping is at the same point on both sides. |
2022-10-15 09:08:23 by pin | Files touched by this commit (3) | |
Log message: devel/difftastic: update to 0.37.0 0.37 (released 14th October 2022) - Added a Chinese translation: https://difftastic.wilfred.me.uk/zh-CN/ - Improved runtime performance and memory usage (thanks to @QuarticCat). - Standalone . is now considered punctuation in the diff cost model, which improves diff results in some cases. - Updated to the latest tree-sitter parser for Swift. - Difftastic will now read a file from stdin if given - as a path argument. - Added an option --context to control the number of lines of context displayed. - --list-languages now respects the value of --color, whose default only uses styling when stdout is a TTY. - Fixed side-by-side display width when color is disabled (when piping difftastic stdout or with --color=never). - Fixed an issue with building on Windows with gcc. |
2022-09-18 11:48:03 by pin | Files touched by this commit (2) | |
Log message: devel/difftastic: update to 0.36.1 0.36.1 (released 17th September 2022) - Fixed a release script that prevented 0.36.0 from including Windows binaries. 0.36 (released 17th September 2022) Diffing - Improved diff cost model to prefer finding unchanged variable names over unchanged punctuation. Parsing - Added support for Hare, Pascal and QML. - ZIP files are now always treated as binary files. - Difftastic is now stricter about text content validity, so more binary files are correctly detected. Display - Changed words in changed comments are now also underlined, to make them more visible. - Fixed crash when word-wrapping lines containing Unicode combining diacritics characters. |
2022-09-03 22:22:10 by pin | Files touched by this commit (3) | |
Log message: devel/difftastic: update to 0.35.0 0.35 (released 2nd September 2022) Diffing - Difftastic now fixes sliders in more cases, producing better diff results. Parsing - Difftastic will now autodetect files in UTF-16-BE and UTF-16-LE. Previously it required files to be UTF-8. - Added support for Makefiles. - Fixed an issue with HCL language detection on .workflow files. Fixed an issue with Makefile language detection. Command Line Interface - Fixed terminal width detection when only stderr is a TTY (e.g. when using difftastic with git). This was broken in 0.34. - Added an option --list-languages which reports all the languages supported, along with the extensions associated with them. |
2022-08-28 18:15:33 by pin | Files touched by this commit (3) | |
Log message: devel/difftastic: update to 0.34.0 0.34.0 (released 27th August 2022) Build - Fixed build on Rust 1.61+. Display - Fixed an issue where side-by-side display would sometimes print the line number from the second file rather than the first file. 0.33.0 (released 21st August 2022) Diffing - Difftastic now explores 2x more parenthesis nesting possibilities. This can make diffing slower, but produces substantially better results. Parsing - Added support for CMake. - Improved comment detection using tree-sitter syntax highlighting queries. - Fixed an issue with language detection when file names were very short. Command Line Interface - Difftastic prefers to show the second path when called with two arguments. This fixes an issue (broken in 0.31) where the path would be shown as /tmp/git-blob-abc/file_name. Build - Difftastic now requires Rust 1.57 to build. - Fixed build on Windows. Previously it would fail non-deterministically. |
2022-08-08 13:52:55 by pin | Files touched by this commit (2) | |
Log message: devel/difftastic: update to 0.32.0 0.32 (released 7th August 2022) -Improved performance in many cases, particularly for files with a fairly flat structure. -Difftastic now treats the path /dev/null as an empty file, even if that path doesn't exist on the current machine. This fixes a crash when using difftastic with git on Windows. |
2022-08-01 10:04:19 by pin | Files touched by this commit (2) | |
Log message: devel/difftastic: update to 0.31.0 0.31 (released 11th July 2022) Parsing Added Hacklang and SQL support. Updated to the latest tree-sitter parsers for C#, Dart, Elm, Gleam, Haskell, HCL, Java, JSON, OCaml, PHP, Python, Ruby, Scala and TypeScript. Display Fixed an issue with inline mode where there was a blank line between every line. Command Line Interface Fixed language detection and filename display when one path was /dev/null and difftastic was invoked with two arguments. |
2022-07-05 09:00:50 by pin | Files touched by this commit (3) | |
Log message: devel/difftastic: update to 0.30.0 0.30 (released 4th July 2022) Parsing -Added support for HTML and Julia. Display -Fixed an issue where line numbers were coloured even when colour was disabled. -Improved alignment when files contain Unicode characters that are more than one column wide. -Improved syntax highlighting for conditionals, particularly for Dart, Elvish and HCL. Command Line Interface --node-limit has been replaced by --graph-limit, and the corresponding environment variable DFT_NODE_LIMIT has been replaced with DFT_GRAPH_LIMIT. --graph-limit makes difftastic give up on structural diffs after traversing this many graph nodes. --node-limit applied a limit based on an estimate of how big the graph would be, leading to very slow diffs when the estimate was wrong. This new setting sets a more accurate limit on difftastic performance. It also means that difftastic will always try a structural diff first. This will be slower for files that exceed --graph-limit, but guarantees that files with a small number of changes will always get a structural diff. |
2022-06-13 22:46:05 by pin | Files touched by this commit (3) | |
Log message: devel/difftastic: update to 0.29.1 0.29.1 (released 13th June 2022) -Fixed a major memory regression in 0.29 when performing large line-based diffs (e.g. files of 100 KLOC or more). |
2022-06-10 09:30:01 by pin | Files touched by this commit (3) | |
Log message: devel/difftastic: update to 0.29.0 0.29 (released 9th June 2022) -Performance has improved in 0.29, and larger files typically see a 30% reduction in runtime. Parsing -Improved detection of binary files, including using /usr/share/mime/magic when available. -Improved handling of comments and regexp literals in Perl. -Added Elvish support. Diffing -Improved delimiter heuristics in lisp-like languages. Display -Difftastic now displays information about file renames. Previously, it would only show the new name. |