Parsing
* Updated to the latest tree-sitter parser for Erlang, F#, Gleam,
Pascal and Swift.
* File detection is now stricter for UTF-8, and recognises more
compression file types as binary (e.g. zstd or bzip2).
* Added support for Verilog and SystemVerilog.
Internal
* Difftastic has switched from MiMalloc to Jemalloc for allocation.
This is modest performance regression (up to 20% longer runtime
in testing). Jemalloc is currently easier to build (see issue
#805) and has fewer pathological performance corner cases.
- Add man page
OBS-URL: https://build.opensuse.org/package/show/utilities/difftastic?expand=0&rev=24
- update to 0.63.0:
Diffing
* When diffing directories, difftastic now ignores the .git
directory.
Display
* Fixed an issue where --display=side-by-side-show-both would
not use a two-column display when one file was empty.
Command Line Interface
* Difftastic no longer accepts the --missing-as-empty argument.
This argument has had no effect since 0.46.
Parsing
* File detection now supports Windows-1252 encoded text (an
extension of ISO-8859-1), and is stricter about UTF-16 detection.
* Updated to the latest tree-sitter parser for Elixir, LaTeX,
Make, Nix, Rust and YAML.
OBS-URL: https://build.opensuse.org/request/show/1245783
OBS-URL: https://build.opensuse.org/package/show/utilities/difftastic?expand=0&rev=20
- update to 0.62.0:
* Improved handling of multiline strings, which could cause a
crash if they occurred at the end of the file. This was
particularly noticeable with YAML.
* Improved language detection when one argument is a named pipe.
* Updated to the latest tree-sitter parser for Bash, C, C++, C#,
CSS, Go, Haskell, HTML, Java, JavaScript, JSON, Julia, Lua,
Objective-C, OCaml, PHP, Python, Ruby, Scala, TOML, TypeScript
and XML.
* Improved syntax highlighting, particularly for keywords.
- update to 0.61.0:
* Side-by-side display is now smarter on very wide terminals
when the content is narrow.
* Fixed a crash (introduced in 0.60) when the final line in a
file does not have a trailing newline and occurs more than
once in the file.
OBS-URL: https://build.opensuse.org/request/show/1233563
OBS-URL: https://build.opensuse.org/package/show/utilities/difftastic?expand=0&rev=18
- update to 0.60.0:
* Fixed a crash (introduced in 0.59) when the final changed hunk
included the last line of the file
* Fixed an issue where files with no common content would show
duplicate hunks
* Fixed a performance issue when files had extremely long lines
(e.g. 100,000+ characters).
- remove cargo_audit, as it's now included in cargo_vendor
- add new build dependency (libstdc++)
- exclude mdbook, so difftastic can be built for Leap
- disable tests for now, as too many fail, software still works
OBS-URL: https://build.opensuse.org/request/show/1197223
OBS-URL: https://build.opensuse.org/package/show/utilities/difftastic?expand=0&rev=14
Update to 0.57.0.
Changelog:
Parsing
* Text file detection is now stricter, considering null bytes as a
hint that files are binaries.
Diffing
* Fixed an issue where hidden files (filename starting with .) were
ignored when diffing directories.
* Scheme now uses the same slider heuristics as other lisps,
preferring the outer delimiter.
* Fixed an issue with line-based diffing where only the first line
in a large changed region was highlighted. This was particularly
noticeable when diffing brand new files.
Display
* Fixed an issue when reporting changes in binary files, where
trailing whitespace was inconsistent with other changes shown.
OBS-URL: https://build.opensuse.org/request/show/1166509
OBS-URL: https://build.opensuse.org/package/show/utilities/difftastic?expand=0&rev=10
- 0.56.1:
Parsing
* Added support for Objective-C and VHDL.
* Files starting with <?xml are now parsed as XML.
* Fixed a munmap_chunk(): invalid pointer crash on parsing some large files,
* particularly JSON.
* Makefile*.in is now detected as Makefile syntax.
* Improved shebang parsing with whitespace
* Added support for Scheme and Smali.
*
Diffing
* Fixed an issue with runaway memory usage on text files with very long lines.
Display
* The default display width for tabs has changed to 4.
* Fixed an issue where difftastic would sometimes output
literal tabs rather than respecting the display width for tabs.
* Fixed an issue where all files would show a permissions change
when using difftastic with git difftool.
* Fixed an issue with paths not showing the containing directory
when using difftastic with git difftool.
* Difftastic now correctly reports file permission changes when
called from git diff.
* Fixed an issue with the experimental JSON display mode where it
ignored --skip-unchanged.
* Fixed an issue with tabs not being replaced in single-column display.
OBS-URL: https://build.opensuse.org/request/show/1161117
OBS-URL: https://build.opensuse.org/package/show/utilities/difftastic?expand=0&rev=7