update to 0.67.0:
+ Parsing
* Added support for protocol buffer files.
* Updated Ada, Clojure, CMake, Dart, Devicetree, Elisp, Elm, Gleam, HCL,
Newick, QML, R, Racket, SQL, Scheme, and Solidity parsers.
* Improved handling of variable names `$foo` in shell scripts.
* Improved detection of YAML files.
+ Diffing
* Improved subword highlighting for words with hyphens.
+ Display
* Difftastic is now smarter about calculating the display width
for side-by-side diffs. Long lines that are not included
in the output no longer affect display.
* Improved descriptions of changes to binary files.
* Fixed an issue (introduced after 0.65) where difftastic would not use
the full width of the terminal on side-by-side diffs when files had
more than 1,000 lines. (forwarded request 1318109 from develop7)
OBS-URL: https://build.opensuse.org/request/show/1318110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/difftastic?expand=0&rev=14
+ Parsing
* Added support for protocol buffer files.
* Updated Ada, Clojure, CMake, Dart, Devicetree, Elisp, Elm, Gleam, HCL,
Newick, QML, R, Racket, SQL, Scheme, and Solidity parsers.
* Improved handling of variable names `$foo` in shell scripts.
* Improved detection of YAML files.
+ Diffing
* Improved subword highlighting for words with hyphens.
+ Display
* Difftastic is now smarter about calculating the display width
for side-by-side diffs. Long lines that are not included
in the output no longer affect display.
* Improved descriptions of changes to binary files.
* Fixed an issue (introduced after 0.65) where difftastic would not use
the full width of the terminal on side-by-side diffs when files had
more than 1,000 lines.
OBS-URL: https://build.opensuse.org/package/show/utilities/difftastic?expand=0&rev=28
Build
* Increased the default page size of Jemalloc, so difftastic
should work on systems with large page sizes (typically
aarch64, i.e. Arm).
* difftastic now requires Rust 1.75 to build.
Parsing
* Updated Clojure, Common Lisp, Rust and Zig parsers. Improved
parsing of Kotlin.
* Text encoding detection is now stricter, fixing more cases
where binary files were treated as text.
* Added the --override-binary option to force files to be
treated as binary rather than text.
Display
* When diffing binary files, the file sizes are now shown to
help see big changes.
- Build docs only for suse_version > 1600 (bcond refactor)
- Update BuildRequires to rust >= 1.75.0
OBS-URL: https://build.opensuse.org/package/show/utilities/difftastic?expand=0&rev=26
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
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/package/show/utilities/difftastic?expand=0&rev=20
* 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/package/show/utilities/difftastic?expand=0&rev=18
* 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/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