changelog 102 KB
Newer Older
1 2 3 4 5 6 7 8 9
diffoscope (107) unstable; urgency=medium

  * Compare .zip file comments with zipnote. (Closes: #901757)
  * Don't emit a large number of warnings if getfacl(1) is not available. This
    makes the behaviour consistent with if lsattr(1) is unavailable.
    (Closes: #902369)

 -- Chris Lamb <lamby@debian.org>  Thu, 06 Dec 2018 22:42:54 +0100

Mattia Rizzolo's avatar
Mattia Rizzolo committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
diffoscope (106) unstable; urgency=medium

  [ Chris Lamb ]
  * comparators:
    + elf: Don't assume all files called ".a" are ELF binaries.  Closes: #903446
    + pdf:
      - Display the reason when cannot extract metadata from PDF files.
      - Prevent tracebacks when obtaining PDF metadata from files with multiple
        PDF dictionary definition entries.  Closes: #913315

  [ Marius Gedminas ]
  * Add a python_requires to setup.py.

  [ Mattia Rizzolo ]
  * debian:
    + Disable depends on gnumeric and procyon as they are RC buggy.
    + Override the new lintian's public-upstream-key-in-native-package.

 -- Mattia Rizzolo <mattia@debian.org>  Fri, 23 Nov 2018 11:09:28 +0100

Mattia Rizzolo's avatar
Mattia Rizzolo committed
30
diffoscope (105) unstable; urgency=medium
31 32 33 34 35 36

  [ Chris Lamb ]
  * tests:
    + Prevent test failures when running under stretch-backports by checking
      the ocaml version number.  Closes: #911846

37 38
  [ Mattia Rizzolo ]
  * debian: Reinstate apktool Build-Depends and Test-Depends.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
39
  * Fix some flake8 and deprecation warnings.
40 41 42 43 44 45 46 47 48

  [ Daniel Shahaf ]
  * comparators/pcap:
    + Fix recognition with the upcoming file(1) 5.35.  Closes: #912756
      Thanks to Christoph Biedl for the heads-up in advance.

  [ Will Thompson ]
  * Add a new command line flag --list-missing-tools.  MR: !14

Mattia Rizzolo's avatar
Mattia Rizzolo committed
49
 -- Mattia Rizzolo <mattia@debian.org>  Thu, 08 Nov 2018 22:27:23 +0100
50

Mattia Rizzolo's avatar
Mattia Rizzolo committed
51
diffoscope (104) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
52 53

  [ Chris Lamb ]
Mattia Rizzolo's avatar
Mattia Rizzolo committed
54 55 56 57 58 59
  * comparators:
    + macho: Prevent a traceback if the filename cannot be found on the line.
      Closes: #910540
    + ocaml New comparator OCaml files using ocamlobjinfo.  Closes: #910542
    + pdf: Add support for comparing metadata using PyPDF2.  Closes: #911446
  * debian/tests/control.in: Add note on how to regenerate this file.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
60

Mattia Rizzolo's avatar
Mattia Rizzolo committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
  [ Mattia Rizzolo ]
  * d/control:
    + Build-Depend on linux-image-amd64 [amd64] to allow squashfs tests to run.
    + Add a Build-Conflicts against graphicsmagick-imagemagick-compat.
      See: #910652
  * Move the list of optional python packages from d/rules into setup.py, and
    have dh_python3 check the generated requires.txt.
  * Also add the optional python modules to the autopkgtest dependencies.
  * Temporarily drop Build-Depends and Test-Depends on apktool and
    oggvideotools, as they are not available in buster at the moment.
  * comparators:
    + java:
      - Rename the tool procyon-decompiler to procyon.
      - Properly fall back from procyon to javap also when procyon exists
        but doesn't return any output.
  * Declare in setup.py that diffoscope is good to go with Python 3.7.

  [ Marek Marczykowski-Górecki ]
  * comparators:
    + fsimage: Handle FAT filesystems.  MR: !13

 -- Mattia Rizzolo <mattia@debian.org>  Thu, 25 Oct 2018 14:55:41 +0200
Mattia Rizzolo's avatar
Mattia Rizzolo committed
83

Mattia Rizzolo's avatar
Mattia Rizzolo committed
84
diffoscope (103) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
85

Mattia Rizzolo's avatar
Mattia Rizzolo committed
86 87 88 89 90 91 92
  [ Mattia Rizzolo ]
  * In Debian, list liblz4-tool as an alternative to the lz4 package.
    stretch only has the former.

  [ Chris Lamb ]
  * Strip trailing whitespace from ssconvert(1) output to support
    gnumeric 1.12.43.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
93

Mattia Rizzolo's avatar
Mattia Rizzolo committed
94
 -- Mattia Rizzolo <mattia@debian.org>  Wed, 03 Oct 2018 16:35:59 +0200
Mattia Rizzolo's avatar
Mattia Rizzolo committed
95

Mattia Rizzolo's avatar
Mattia Rizzolo committed
96
diffoscope (102) unstable; urgency=medium
97

Mattia Rizzolo's avatar
Mattia Rizzolo committed
98 99
  [ Chris Lamb ]
  * Fix tests under colord >= 1.4.3.  Closes: #908900
100

Mattia Rizzolo's avatar
Mattia Rizzolo committed
101 102 103 104 105 106 107 108 109 110 111 112
  [ Xavier Briand ]
  * Add an "Add a comparator" section in CONTRIBUTING.  MR: !9

  [ Mattia Rizzolo ]
  * debian: Use the new debhelper-compat(=11) build dep and drop d/compat.

  [ Marek Marczykowski-Górecki ]
  * comparators/json: Try fuzzy matching for non-text files too.
    This avoids loading very large file just to discover they aren't JSON.
    Closes: #909122

 -- Mattia Rizzolo <mattia@debian.org>  Sun, 23 Sep 2018 10:43:40 +0200
113

114
diffoscope (101) unstable; urgency=medium
115

116 117 118 119 120 121 122 123 124 125 126 127
  * Fix testsuite under LLVM >= 7.0. (Closes: #908074)
  * Substvar generation:
    - Ensure Debian substvar generation is deterministic regardless of
      installed packages. (Closes: #908072)
    - Clarify distinction between tools (eg. gpg) and packages (eg. gnupg) when
      generating Debian substvars.
    - Revert updating generated debian/tests/control made in diffoscope 100.
  * Disable binwalk's own user configuration for predictable results and to
    ensure it does not create unnecessary directories. (Closes: #903444)
  * Ensure we return "bytes" objects from Command.filter to avoid a
    "TypeError: Unicode-objects must be encoded before hashing" traceback.
  * Don't print GPG output in diffoscope.changes.
128

129
 -- Chris Lamb <lamby@debian.org>  Sat, 15 Sep 2018 16:37:45 +0100
130

131
diffoscope (100) unstable; urgency=medium
132

133 134
  [ Alexis Murzeau ]
  * Correct matching of .deb archive members. (Closes: #903565)
135

136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
  [ Chris Lamb ]
  * Support .deb archives that contain an uncompressed control.tar and data.tar
    Thanks to Roderich Schupp <roderich.schupp@gmail.com>.
    (Closes: #903391, #903401)
  * Wrap jsondiff calls with try-except to prevent fatal errors.
    (Closes: #903447, #903449)
  * Don't include the filename in llvm-bcanalyzer results. (Closes: #905598)
  * Update generated debian/tests/control.
  * Bump Standards-Version to 4.2.1.

  [ Daniel Kahn Gillmor ]
  * Avoid line eraser error on dumb terminals. (Closes: #906967)
  * Correct spelling of ereser to eraser.

  [ Mattia Rizzolo ]
  * On Debian, do not require apktool on ppc64el and s390x, ogvideotools on
    s390x and fp-utils on ppc64el and s390x as they are not installable there.
  * Explicitly add `file` to the dependencies of autopkgtest to have the tests
    triggered whenever `file` changes

  [ Ricardo Gaviria ]
  * Handle errors with encrypted archive files. (Closes: #904685)

 -- Chris Lamb <lamby@debian.org>  Sat, 01 Sep 2018 09:09:48 +0100
160

Mattia Rizzolo's avatar
Mattia Rizzolo committed
161
diffoscope (99) unstable; urgency=medium
162

163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
  [ Xavier Briand ]
  * Add lz4 comparator.  Closes: #901548; !4

  [ Paul Wise ]
  * Clear the progress bar after completion.  Closes: #901758
    Handle terminals that do not support erasing the line by filling the
    terminal with spaces.  Ignore output devices that are not terminals.
  * Do not delete the current terminal line for every progress bar update.
    The erasure was also causing the progress bar to flicker.

  [ Mattia Rizzolo ]
  * Add a gitlab CI script.  !8
  * tempfiles:
    + Set the base directory only if the caller didn't specify one already.
    + Do not append '_diffoscope' to the temporary file names, as they are now
      all in their namespaced directory already.
    + Empty the list of known tempfiles after removing them.  Closes: #902709
Mattia Rizzolo's avatar
Mattia Rizzolo committed
180 181
  * external_tools:
    + Fix package name, s/xmlutils/xmlbeans/.
182 183 184 185 186 187 188
  * tests/test_tools: fix test if /sbin contains a directory.  MR: !2
    Thanks to Chris Lamb <lamby@debian.org> for the patch.
  * logging:
    + Move the computation of the terminal line eraser into logging.py
    + Always clean the line before printing a log message
  * main:
    + Clean the terminal line before printing a traceback.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
189
    + Be sure to print 'Keyboard Interrupt' if that happens.
190 191
  * comparators:
    + Do not shadow the original import errors.  MR: !7
Mattia Rizzolo's avatar
Mattia Rizzolo committed
192 193 194 195 196 197 198
  * d/control:
    + Bump Standards-Version to 4.1.5, no changes needed.
    + Add Build-Dependency on procyon-decompiler, to run the tests.
  * d/tests:
    + Autogenerate d/tests/control with all the recommends listed as
      dependencies, so autopkgtest is appropriately triggered whenever one of
      those packages changes.  Closes: #902920
199 200 201 202 203

  [ anthraxx ]
  * comparators.utils:libarchive:
    + Add compatibility code for python-libarchive >= 2.8.  MR: !6

Mattia Rizzolo's avatar
Mattia Rizzolo committed
204
 -- Mattia Rizzolo <mattia@debian.org>  Sun, 08 Jul 2018 20:07:06 +0200
205

206
diffoscope (98) unstable; urgency=medium
207

208
  * Fix compatibility with Python 3.7. (Closes: #902650)
209

210
 -- Chris Lamb <lamby@debian.org>  Fri, 29 Jun 2018 08:19:25 +0100
211

212
diffoscope (97) unstable; urgency=medium
213

214 215 216
  * Create all temporary directories within a top-level dir. (Closes: #902627)
  * tests/conftest.py: Fix compatibility with pytest 3.6.2-1, currently in
    Debian experimental.
217

218
 -- Chris Lamb <lamby@debian.org>  Thu, 28 Jun 2018 21:38:50 +0100
219

220
diffoscope (96) unstable; urgency=medium
221

222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
  [ Chris Lamb ]
  * Drop dependency on pdftk as it relies on GCJ, relying on the pdftotext
    fallback. (Closes: #893702)
  * Change the "No file format specific differences found inside, yet data
    differs" message to be clearer that diffoscope "knows" about this file
    format yet could not be helpful in this case.
  * Don't append a rather useless "(data)" suffix from file(1).
  * Comply with a number of PEP8 recommendations:
    - E226 - Add missing whitespaces around operators.
    - E241 - Fix extraneous whitespaces around keywords.
    - E251 - Remove whitespace around parameter '=' signs.
    - E302 - Add missing 2 blank lines.
    - E501 - Try to make lines fit to length.
    - E502 - Remove extraneous escape of newline.
    - E731 - Don't assign lambda expressions.
    - E121, E122, E126, E128 - Fix badly indented lines.
238

239 240 241 242
  [ Xavier Briand ]
  * Add merge request details to contributing documentation.

 -- Chris Lamb <lamby@debian.org>  Sat, 16 Jun 2018 22:19:28 +0200
243

Mattia Rizzolo's avatar
Mattia Rizzolo committed
244
diffoscope (95) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
245

Mattia Rizzolo's avatar
Mattia Rizzolo committed
246 247 248 249 250 251 252 253 254 255 256
  [ Mattia Rizzolo ]
  * tests:
    + test_binary: Don't capture unused output from subprocess.
    + test_git: Fix test failure on FreeBSD.  Closes: #872826
      Thanks to Ximin Luo <infinity0@debian.org> for the initial patch
  * Fix handling of filesnames with non-unicode chars.  Closes: #898022
  * diff: Use bytes as much as possible, to prevent possible encoding issues.
  * d/control: Make the dependency on python3-distutils an alternative on the
    previous versions of libpython3.*-stdlib that used to ship it.
    Closes: #898683
  * d/watch: Update URL to the new archive.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
257

Mattia Rizzolo's avatar
Mattia Rizzolo committed
258 259 260 261
  [ Chris Lamb ]
  * The Git repository has been migrated to salsa, update all the references.
  * Drop extra whitespace in supported file format output.

Mattia Rizzolo's avatar
Mattia Rizzolo committed
262
 -- Mattia Rizzolo <mattia@debian.org>  Sun, 20 May 2018 17:46:57 +0200
Mattia Rizzolo's avatar
Mattia Rizzolo committed
263

264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
diffoscope (94) unstable; urgency=medium

  [ Chris Lamb ]
  * Update tests to prevent FTBFS under file 5.33. (Closes: #897099)
  * Remove all __pycache__ directories to avoid source-contains-empty-directory
    Lintian warning.
  * Remove unused test1.txt test data file.
  * Bump Standards-Version to 4.1.4.

  [ anthraxx ]
  * Add gnumeric to the list of ArchLinux tools.

  [ Paul Wise ]
  * Sort the Debian dependencies.

 -- Chris Lamb <lamby@debian.org>  Sat, 05 May 2018 22:44:44 -0700

281 282 283
diffoscope (93) unstable; urgency=medium

  * Only append the file formats if --help is passed, otherwise we spam
284
    #debian-reproducible-changes et al. (re. #893443)
285 286 287 288 289
  * doc/Makefile: Reinstate accidental version parsing change; my sed call
    was over-eager.

 -- Chris Lamb <lamby@debian.org>  Thu, 29 Mar 2018 10:03:03 +0100

290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332
diffoscope (92) unstable; urgency=medium

  [ Chris Lamb ]

  * New features:
    - Show the list of supported file types in the manual and --help output. We
      can copy-paste this into the website, etc.. Thanks to Jonathan Dowland
      for the suggestion. (Closes: #893443)
    - Add support for comparing Gnumeric spreadsheets. (Closes: #893311)

  * Bug fixes:
    - Additionally extract the classes.dex file from .apk files; apktool does
      not do this by default which was preventing us from recursing into it to
      find differences. Thanks to Hans-Christoph Steiner for the report.
      (Closes: #890904)
    - Recursively reset the permissions of temporary directories prior to
      deletion to ensure that non-writable permissions such as 0555 are removed
      and do not cause a traceback. (Closes: #891363)
    - Support the case where the python3-xattr package is installed but
      python3-pyxattr is not. Based on an patch by Doug Freed; thanks!
      (Closes: #892240)
    - Update Java tests for openjdk-9. (Closes: #893183)

  * Output:
    - Print a nicer error message if you only specify one file to compare.
    - Don't show progress bar if we passed --debug as it just gets in the way.

  * Code tidying:
    - Avoid some necessary indentation around unconditional control flow.
    - Tidy unnecessary assignments.
    - Move the documentation for maybe_decode into a docstring on the method
      itself.
    - Import LooseVersion as LooseVersion.
    - Use more Pythonic `old_level` variable names (over `oldLabel`) and avoid
      using ambiguous `l` variable names.
    - Add whitespace around operators and ensure 4-line indentation throughout.

  * debian/*:
    - Move DOS/MBR check into the testsuite.
    - Add explicit runtime dependency on python3-distutils as it was dropped in
      src:python3.6 3.6.5~rc1-2.

  * Misc:
333
    - Clarify that the Reproducible Builds project is not just about Debian.
334 335 336 337 338 339 340 341 342 343 344 345 346
    - Drop executable bit on doc/Makefile.
    - Use our bin/diffoscope wrapper in manpage generation to ensure we are
      using the local version of diffoscope.

  [ Mattia Rizzolo ]
  * Update terminology used in docs about exclusion options. Thanks to Paul
    Wise for the idea. (Closes: #893324)
  * Don't try to decode a string in comparators.utils.file. (Closes: #891903)
  * Save a bunch of system calls by resetting tempfile permissions when
    we actually need to do it.

 -- Chris Lamb <lamby@debian.org>  Thu, 22 Mar 2018 10:28:44 -0400

Mattia Rizzolo's avatar
Mattia Rizzolo committed
347
diffoscope (91) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407

  [ Mattia Rizzolo ]
  * d/clean: Remove .cache/.
  * diff: Wrap long regular expression for improved readability.
  * comparators.json: Fix UnicodeDecodeError with a non-UTF8 locale.
  * d/copyright: Update for the new year.
  * d/control: Bump Standards-Version to 4.1.3, no changes needed.
  * tests/android:
    + Skip tests involving abootimg on BE archs (see #725729).

  [ Daniel Shahaf ]
  * diffoscope.diff: Document feeders.  Closes: #863880
  * Optimize the common case of feeders.  Closes: #863879

  [ Juliana Oliveira ]
  * {tempfiles, utils.archive}: catch possible FileNotFoundError.
  * comparators.java: add support for procyon-decompiler.  Closes: #849386
  * {command, feeders, diff}: replaces subprocess.Popen() by .run().
    This is done in preparation for work on multiprocessing (#842837).
    + {command, zip, feeders}: replaces .wait by the new .returncode property.
    + comparators.utils.command: replaces .stderr_content by .stderr.
  * tests:
    + test_progress: fix test case for some broken versions of
      python-progressbar.  Closes: #877726
    + utils.tools: add support for modules on skip_unless* annotations.

  [ Chris Lamb ]
  * comparators:
    + utils/compare:
      - Show extended filesystem metadata even when directly comparing two
        files, not just when we specify two directories.  Closes: #888402
    + macho:
      - If the If the LLVM disassembler does not work, try the
        internal one.  Closes: #886736
      - Always strip the filename, not just when by itself.
    + json:
      - Do some cheap fuzzy parsing to detect JSON files not named .json.
      - Also match unicode JSON files.
      - Optionally compare JSONs with the jsondiff module.  Closes: #888112
    + directory:
      - Report differences in extended file attributes when comparing files.
        Closes: #888401
    + xsb:
      - Add support for comparing XMLBeans binary schemas.
    + barkeley_db:
      - Add support for comparing Berkeley DB files.  Closes: #890528
  * Misc code cleaup.
  * tests:
    + comparators.test_elf: Return '0' if we can't parse the readelf
      version number.  Closes: #886963
  * debian:
    + Explicitly build-depend and recommend e2fsprogs.  Closes: #887180

  [ Ximin Luo ]
  * Partially revert the changes done for #888402 to maintain the current.
    behaviour of --exclude-directory-metadata.
  * Refactor how the configuration is loaded:
    + Move the defaults into a Config.reset() method.
    + reset() the configuration at the end of main(), to help the testsuite.

Mattia Rizzolo's avatar
Mattia Rizzolo committed
408
 -- Mattia Rizzolo <mattia@debian.org>  Thu, 01 Mar 2018 13:40:48 +0100
Mattia Rizzolo's avatar
Mattia Rizzolo committed
409

Mattia Rizzolo's avatar
Mattia Rizzolo committed
410
diffoscope (90) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
411 412 413 414 415 416 417 418

  [ Juliana Oliveira ]
  * tests:
    + comparators/test_rlib: Fix tests for llvm >= 5.0.  Closes: #877727
    + Skip some tests if 'xz' is not present.

 -- Mattia Rizzolo <mattia@debian.org>  Tue, 26 Dec 2017 19:49:30 +0100

Mattia Rizzolo's avatar
Mattia Rizzolo committed
419 420 421 422 423 424 425 426
diffoscope (89) unstable; urgency=medium

  [ Mike Hommey ]
  * comparators:
    + elf:
      - Add fallbacks to elf code section disassembly.  Closes: #879003
    + utils/libarchive:
      - Extract libarchive members with the file extension.
427

428
  [ Ximin Luo ]
429
  * Auto-generate manpage using help2man, so it's no longer out-of-date.
430 431 432 433 434 435 436 437 438 439 440 441 442 443
  * difference:
    + Add a Difference.from_command_exc() to help distinguish excluded
      commands from commands returning an empty diff.
  * comparators:
    + utils/command:
      - Replace the feed_stdin() feeder into the simpler stdin() function,
        which provides (if needed) a simple file opject instead of a feeder.
    + utils/container:
      - Add a perform_fuzzy_matching() method (wrapping the already existing
        method) so that comparators can easily override it.
    + deb:
      - Loose matching for .deb archive members, so it's possible to e.g.
      compare deb with different control.tar.{gz,xz}.  Closes: #881937
    + elf:
Mattia Rizzolo's avatar
Mattia Rizzolo committed
444
      - Improve disassembly fallbacks with Difference.from_command_exc().
445 446 447 448 449 450 451 452 453 454
    + png:
      - Cater for the feed_stdin() removal.
    + zip:
      - Run zipinfo on /dev/stdin instead of a variable path to avoid including
       the temporary file name in the output.  Closes: #879011
      - Cater for the feed_stdin() removal.
  * presenters/formats:
    + Allow non-text formats to output an empty diff.
  * debian/clean:
    + Remove the egg file when cleaning.
455

456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475
  [ Chris Lamb ]
  * comparators:
    + utils/file:
      - Handle case where a file to be "fuzzy" matched does not contain enough
        entropy despite being over 512 bytes.  Closes: #882981
    + android:
      - Add support for Android ROM boot.img introspection.  Closes: #884557
    + symlink:
      - Make cleanup of placeholders idempotent.

  [ Juliana Oliveira Rodrigues ]
  * tests:
    + utils/tools:
      - Add a skip_if_tool_version_is() function.
    + elf:
      - Skip some tests if readelf is version '2.29', where its behaviour
        was accidentally changed to exit with code 1 when it previously
        didn't.  Closes: #877728

  [ Holger Levsen ]
Mattia Rizzolo's avatar
Mattia Rizzolo committed
476 477 478 479 480
  * debian/control: Bump Standards-Version to 4.1.2.  No changes required.

  [ Mattia Rizzolo ]
  * debian/control: Set Rules-Requires-Root: no.
  * Bump Debhelper compat version to 11.
481

Mattia Rizzolo's avatar
Mattia Rizzolo committed
482
 -- Mattia Rizzolo <mattia@debian.org>  Mon, 25 Dec 2017 14:49:22 +0100
483

Mattia Rizzolo's avatar
Mattia Rizzolo committed
484
diffoscope (88) unstable; urgency=medium
485

Mattia Rizzolo's avatar
Mattia Rizzolo committed
486 487
  [ Holger Levsen ]
  * Bump standards version to 4.1.1, no changes needed.
488 489

  [ Mattia Rizzolo ]
Mattia Rizzolo's avatar
Mattia Rizzolo committed
490 491
  * tests/comparators:
    + dtb: compatibility with version 1.4.5.  Closes: #880279
492

Mattia Rizzolo's avatar
Mattia Rizzolo committed
493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508
  [ Chris Lamb ]
  * comparators:
    + binwalk: improve names in output of "internal" members.  Closes: #877525
    + Omit misleading "any of" prefix when only complaining about one module
      in ImportError messages.
  * Don't crash on malformed md5sums files.  Closes: #877473
  * tests/comparators:
    + ps: ps2ascii > 9.21 now varies on timezone, so skip this test for now.
    + dtby: only parse the version number, not any "-dirty" suffix.
  * debian/watch: use HTTPS URI.

  [ Ximin Luo ]
  * comparators:
    + utils/file: diff container metadata centrally.  Closes: #797759
      This fixes a last remaining bug in fuzzy-matching across containers.
    + Fix all the affected comparators after the above change.
509

Mattia Rizzolo's avatar
Mattia Rizzolo committed
510
 -- Mattia Rizzolo <mattia@debian.org>  Sat, 04 Nov 2017 16:26:09 +0100
511

Mattia Rizzolo's avatar
Mattia Rizzolo committed
512
diffoscope (87) unstable; urgency=medium
513 514

  [ Juliana Oliveira Rodrigues ]
Mattia Rizzolo's avatar
Mattia Rizzolo committed
515 516 517 518 519 520 521 522 523 524 525 526 527
  * comparators:
    + utils:
      - compare: fix comparison between container types.
      - container: add get_path_name() method, aiming at preventing hitting
        OS' max filename length.
    + gzip: replace dest_path generation with self.get_path_name().
    + bzip2: replace dest_path generation with self.get_path_name().
  * tests:
    + presenters:
      - skip html_visuals test if 'sng' binary is not available.
    + comparators:
      - test_cointainers: new tests to test cross-container comparisons.
      - add test_containers.py.
528 529 530

  [ Chris Lamb ]
  * comparators:
Mattia Rizzolo's avatar
Mattia Rizzolo committed
531 532
    + utils:
      - file: correct reference to path_apparent_size.
533 534
    + fonts: loosen matching of file(1)'s output to ensure we correctly also
      match TTF files under file 5.32.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
535 536 537 538 539 540 541 542 543 544 545 546 547 548
    + binwalk:
      - new comparator to deal with (e.g.) concatenated CPIO archives using
        the new optional python module 'binwalk'.  Closes: #820631
  * diffoscope.diff: Correct reference to self.buf.
  * debian/rules: run flake8 during the tests, and fail the build in case the
    "underfined name" flake8's check fails.
  * tests/comparators:
    + test_cpio: check we identify all CPIO fixtures.
  * main:
    + print a debugging message if we are reading diff from stdin.
  * presenters:
    + html: use logging.py's lazy argument interpolation.
  * debian/control: bump Standards-Version to 4.1.0.
  * Code style improvements across all of the codebase.
549 550 551

  [ Mattia Rizzolo ]
  * debian/changelog: retroactively close a bug in an old changelog entry.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576
  * setup.py: add a check to prevent people from installing diffoscope under
    python < 3.5 (i.e. python2) and give them a usable error message otherwise.
  * Code style improvements across all of the codebase.

  [ Ximin Luo ]
  * comparators:
    +  add a fallback_recognizes() method to work around file(1)'s bug #876316.
       Closes: #875282
    + add a --force-details flag for debugging.
    + deb:
      - if --force-details then don't skip files with identical md5sums either.
  * presenters:
    + html:
      - prune all descendants properly.  Closes: #875281
      - don't show pointer-cursor when jquery is disabled.
  * config:
    + force-set a value if it must be less than another, and it was not set on
      purpose.  Closes: #875451
  * readers: convert bytes to str in the right place.
  * diff: use diff_split_lines everywhere.
  * difference:
    + in fmap/map_lines, don't forget about self._visuals.
    + also copy self._comment properly, compare self._visuals in equals().
  * tests/comparators:
    + test_deb: make test_md5sums less brittle.
577

Mattia Rizzolo's avatar
Mattia Rizzolo committed
578
 -- Mattia Rizzolo <mattia@debian.org>  Fri, 22 Sep 2017 18:53:05 +0200
579

Mattia Rizzolo's avatar
Mattia Rizzolo committed
580
diffoscope (86) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
581 582 583 584 585 586 587 588 589 590 591 592

  [ Mattia Rizzolo ]
  * tests:
    + binary: skip a test if the 'distro' module is not available.
    + iso9660: avoid an overly-catching exception.
  * debian/copyright: coalesce some file paragraphs and update information.

  [ Guangyuan Yang ]
  * tests:
    + iso9660: support both cdrtools' genisoimage's versions of isoinfo.

  [ Chris Lamb ]
Mattia Rizzolo's avatar
Mattia Rizzolo committed
593
  * comparators:
Mattia Rizzolo's avatar
Mattia Rizzolo committed
594 595 596 597 598 599 600
    + xml: Use ``name`` attribute over ``path`` to avoid leaking comparison
      full path in output.
  * Tidy diffoscope.progress a little.

  [ Ximin Luo ]
  * Add a --tool-prefix-binutils CLI flag.  Closes: #869868
  * On non-GNU systems, prefer some tools that start with "g".  Closes: #871029
Mattia Rizzolo's avatar
Mattia Rizzolo committed
601
  * presenters:
Mattia Rizzolo's avatar
Mattia Rizzolo committed
602 603 604 605 606 607
    + html:
      - Don't traverse children whose parents were already limited.
        Closes: #871413

  [ Santiago Torres-Arias ]
  * diffoscope.progress:
Mattia Rizzolo's avatar
Mattia Rizzolo committed
608
    + Support the new fork of python-progressbar.  Closes: #873157
Mattia Rizzolo's avatar
Mattia Rizzolo committed
609

Mattia Rizzolo's avatar
Mattia Rizzolo committed
610
 -- Mattia Rizzolo <mattia@debian.org>  Sun, 03 Sep 2017 22:23:06 +0200
Mattia Rizzolo's avatar
Mattia Rizzolo committed
611

Mattia Rizzolo's avatar
Mattia Rizzolo committed
612
diffoscope (85) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674

  [ Mattia Rizzolo ]
  * tools:
    + move from the deprecated platform.linux_distribution() to the external
      python package "distro".  Add it as an optioanl dependency, as without it
      distribution detection (i.e. `diffoscope --list-tools`) won't work.
      Also add it as a Debian (hard) dependency, as it's a very lightway
      package, and the usefulness it brings are great.
    + add a get_package_provider() function, returning the package name
      that best matches the system.
  * exc:
    + in RequiredToolNotFound.get_package(), just call the new
      get_package_provider()
  * debian/rules:
    + recommends the defusedxml python package, to avoid using the python3's
      standard xml library and its security holes.

  [ Chris Lamb ]
  * comparators:
    + sqlite:
      - Simplify file detection by rewriting manual `recognizes` call
        with a `Sqlite3Database.RE_FILE_TYPE` definition.
    + xml:
      - Fix EPUB "missing file" tests; they ship a META-INF/container.xml file.

  [ Ximin Luo ]
  * comparators:
    + factor common logic from various comparators into File.recognizes.
    + more tidying up and making names consistent.
    + directory:
      - make stat(1) warning textually like the other warnings.
      - bump stat(1) warning into an error.
      - use getfacl(1) before lsattr(1) as it's more general.
    + apk:
      - less kludgy way of detecting APKs.  Closes: #868486
  * main, logging:
    + restore old logger settings to avoid pytest fail in certain situations.
  * debian/rules:
    + add a check to prevent additions of "DOS/MBR" file type.
  * feeder:
    + force a flush when writing output to diff.  Closes: #870049
  * tests/comparators:
    + directory:
      - be less strict about the expected test output, to cope with a missing
        `getfacl`.  Closes: #868534

  [ Juliana Oliveira Rodrigues ]
  * comparators:
    + Add new XML comparator.  Closes: #866120
      The comparator will use defusedxml if this is installed, to avoid
      falling in known security holes coming from the XML specification.
  * tests/comparators:
    + apk:
      - fix the tests after the addition of the XML comparator.
    + image:
      - fix test_ico_image for identify >= 6.9.8.

  [ Guangyuan Yang ]
  * tests/comparators:
    + device:
      - fix 2 cases for FreeBSD.

Mattia Rizzolo's avatar
Mattia Rizzolo committed
675
 -- Mattia Rizzolo <mattia@debian.org>  Mon, 31 Jul 2017 22:27:45 +0200
Mattia Rizzolo's avatar
Mattia Rizzolo committed
676

Mattia Rizzolo's avatar
Mattia Rizzolo committed
677
diffoscope (84) unstable; urgency=medium
678

679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730
  [ Ximin Luo ]
  * comparators:
    + directory:
      - raise warning for getfacl and remove a redundant try-clause.
      - add a --exclude-directory-metadata option.  Closes: #866241
  * diff:
    + Restore artificial limit when calculating linediff, to prevent memory
      blow up.  Closes: #865660
  * presenters:
    + text:
      - fix recursive header display in the text output, deeply-nested headers
        were not getting indented far enough.
    + add a PartialString class.
    + html:
      - in html-dir mode, put css/icon in separate files to avoid duplication.
      - split index pages up if they get too big.
      - add a size-hint to the diff headers and lazy-load buttons.
      - diffcontrol UI tweaks:
        * don't toggle buttons for diffs that haven't been loaded yet;
        * make the diffcontrol headers clickable.
      - more intuitive "limit" flags, with some backwards-incompatible changes:
        --max-report-size:
          Old: in --html-dir this limited only the parent page
          New: in --html-dir this applies across all pages
        --max-diff-block-lines:
          Old: in --html-dir 4 * this number applied across all pages
          New: in --html-dir this applies across all pages
        --max-page-size:
          New flag
          Applies to the sole --html page, or the top-level --html-dir page
        --max-report-child-size
          Renamed to
        --max-page-size-child:
          No behavioural changes
        --max-diff-block-lines-parent
          Renamed to
        --max-page-diff-block-lines:
          Old: Only applied to the top-level --html-dir page
          New: Applies to the sole --html page or the top-level --html-dir page
  * main:
    + temporarily add old flags back for backwards-compatibility.
    + warn if loading a diff but also giving diff-calculation flags.
    + implement proper boolean flags to fix test failure in previous commit.
  * tests:
    + handle existing but not importable modules.
      This fixes the tests during the Python 3.6 transition, where some
      modules (like rpm) exists but are not yet rebuilt for 3.6.
    + fix progressbar failure that was exposed by the previous importing fixes.
    + presenters:
      - skip visual test if tools aren't installed.  Closes: #865625
    + comparators
      - sqlite: test for sqlite 3.19.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
731 732
      - fsimage: move the guestfs cache out of the default /var/tmp/ into a
        "more temporary" directory.
733

734 735 736 737 738 739 740 741 742 743
  [ Mattia Rizzolo ]
  * debian/control: fix Vcs-Git field.

  [ Chris Lamb ]
  * debian/control: bump Standards-Version to 4.0.0.

  [ Daniel Shahaf ]
  * Fix markup in the man page synopsis.  Closes: #866577
   Thanks to Niels Thykier for the report.

Mattia Rizzolo's avatar
Mattia Rizzolo committed
744
 -- Mattia Rizzolo <mattia@debian.org>  Wed, 12 Jul 2017 12:28:11 +0200
745

746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808
diffoscope (83) unstable; urgency=medium

  [ Chris Lamb ]
  * New features:
    * Add comparator for Fontconfig cache files.
  * Bug fixes:
    - Don't fail when run under perversely recursive input files. See
      <https://research.swtch.com/zip> for more information. (Closes: #780761)
    - Prevent a traceback when using --new-file with containers by passing
      progress_name of the Member and not the member itself. (Closes: #861286)
    - Drop passing has_differences around, fixing an issue with generating
      files called '-'.
  * Cleanups & refactoring:
    - Reorder and rename FIFOFeeder arguments to prevent tools incorrectly
      parsing as a SyntaxError.
    - Refactor HTML and text presenters so they fit the same interface.
    - Refactor Presenter to a singleton manager.
    - Split output and configuration of presenters.
    - Prevent abstraction-level violation by defining visual diff support on
      the Presenter classes.
    - Split diffoscope.difference into a feeders module.
    - Document various variables.
    - PEP8-ify and tidy a lot of files.

  [ Ximin Luo ]
  * New features:
    - Add --max-container-depth CLI option.
    - Add various traverse_* methods to Difference.
    - Weigh elements in progress bar by their size.
    - Add a reader for the JSON format.
    - Add a --exclude-command CLI for filtering out long-running commands like
      "readelf --debug-dump=info".
    - Don't show +/- controls for differences with no children.
    - Use unicode chars for the +/- controls instead of punctuation.
  * Bug fixes:
    - Fix --exclude control.tar.gz.
    - Make the progress bar play nicely with --debug.
    - When enforcing max-container-depth, show which internal files differ,
      without showing details.
    - Fix JSON presenter to handle recursion properly.
    - Avoid a ZeroDivisionError in the progress bar
    - Fix create_limited_print_func.
  * Tests:
    - Fix failing tests due to logging global state.
    - Add tips about running with TMPDIR=/run/shm.
  * Cleanups & refactoring:
    - Remove unnecessary "dest" args to argparse.
    - Refactor DirectoryContainer to be more similar to Container.
    - Refactor Container abstract method names.
    - Remove unused imports and tidy up Container.comparisons().
    - rename get_{filtered => adjusted}_members_sizes for consistency.
    - Move tests/comparators/utils up one directory.
    - html-dir: show/hide diff comments which can be very large.
    - Refactor html-dir presenter to a class instance avoiding global state.
    - Move side-by-side and linediff algorithms to difference.py.
    - difference: has_children -> has_visible_children, and take into account
      comments.
    - Move ydiff/linediff from diffoscope.{difference => diff} to group
      unified_diff-related things together

  [ Maria Glukhova ]
  * New features:
    - Add visual comparisons for JPEG, ICO, PNG and static GIF images.
809
      (Closes: #851359)
810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827
  * Test improvements:
    - Test that external tools providers are being returned when tool is not
      found.
    - Add tests for OutputParserError and ContainerExtractionError.
  * Cleanups & refactoring:
    * Ignore text difference if we have a visual one.
    * Fix link formatting and typo in README.
    * Rename html_output to compute_visual_diffs and explain its purpose.
    * Removed duplicated functions from diff.py.

  [ Mattia Rizzolo ]
  * Export junit-xml style test report when building on Jenkins.

  [ anthraxx ]
  * Extend external Arch Linux tools list.

 -- Chris Lamb <lamby@debian.org>  Sun, 18 Jun 2017 15:34:59 +0800

Chris Lamb's avatar
Chris Lamb committed
828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866
diffoscope (82) experimental; urgency=medium

  [ Chris Lamb ]
  * New features:
    - Add support for comparing Pcap files. (Closes: #858867)
    - Add support for .docx and .odt files via docx2txt & odt2txt.
      (Closes: #859056)
    - Add support for PGP files via pgpdump. (Closes: #859034)
    - Add support for comparing Ogg Vorbis files.
  * Bug fixes:
    - Don't crash on invalid archives; print a useful error instead.
      (Closes: #833697)
    - Ensure tests and the runtime environment can locate binaries in
      /usr/sbin (eg. tcpdump)
  * Tests:
    - Ensure that PATH is modified.
    - Ensure @tool_required raises RequiredToolNotFound.
    - Don't assume that /sbin/init exists; locate any /sbin binary manually and
      then test for that. This should prevent FTBFS on travis-ci.org.
    - Show packages installed in report output.
  * Misc:
    - comparators.bzip2: Don't print error output from bzip2 call.
    - comparators.pcap: Show the delta, not the absolute time.
    - Use /usr/share/dpkg/pkg-info.mk over manual calls to dpkg-parsechangelog
      in debian/rules.
    - Document PYTHONPATH usage when running tests in README.Source.
    - Add internal documentation for @tool_required decorator.

  [ beuc@beuc.net ]
  * Display differences in zip platform-specific timestamps. (Closes: #859117)

  [ Ximin Luo ]
  * Add support for R .rds and .rdb object files.

  [ Vagrant Cascadian ]
  * Add support for .dtb (device tree blob) files (Closes: #861109).

 -- Chris Lamb <lamby@debian.org>  Wed, 26 Apr 2017 16:17:57 +0200

Chris Lamb's avatar
Chris Lamb committed
867 868 869 870 871 872 873 874 875 876 877 878 879
diffoscope (81) experimental; urgency=medium

  [ Chris Lamb ]
  * Correct meaningless "1234-content" metadata when introspecting files
    within archives. This was a regression since #854723 due to the use of
    auto-incrementing on-disk filenames. (Closes: #858223)
  * Refactor get_compressed_content_name.

  [ Ximin Luo ]
  * Improve ISO9660/DOS/MBR check.

 -- Chris Lamb <lamby@debian.org>  Mon, 27 Mar 2017 16:21:17 +0100

Chris Lamb's avatar
Chris Lamb committed
880 881 882 883 884 885 886 887 888 889
diffoscope (80) experimental; urgency=medium

  * Ensure that we really are using ImageMagick and not, for example, the
    GraphicsMagick compatibility layer installed by
    graphicsmagick-imagemagick-compat. (Closes: #857940)
  * Factor out the unicode decoding of the identify -version output.
  * travis.yml: Don't build tags.

 -- Chris Lamb <lamby@debian.org>  Thu, 16 Mar 2017 17:06:45 +0100

Chris Lamb's avatar
Chris Lamb committed
890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911
diffoscope (79) experimental; urgency=medium

  [ Chris Lamb ]
  * Extract SquashFS images in one go rather than per-file, speeding up (eg.)
    Tails ISO comparison by ~10x.
  * Support newer versions of cbfstool to avoid test failures.
    (Closes: #856446)
  * Skip icc test that varies on endian if the Debian-specific patch is not
    present. (Closes: #856447)
  * Compare GIF images using gifbuild. (Closes: #857610)
  * Also interpret "DOS/MBR boot sector" files as ISO images as they may have
    been processed by isohybrid.
  * Progress bar:
    - Hide bar if we are running with --debug mode.
    - Update prior to working on an item so the displayed filename is correct.

  [ Maria Glukhova ]
  * Improve AndroidManifest.xml comparison for APK files.
    - Indicate the AndroidManifest.xml type. (Closes: #850758)

 -- Chris Lamb <lamby@debian.org>  Thu, 16 Mar 2017 09:38:16 +0100

Mattia Rizzolo's avatar
Mattia Rizzolo committed
912
diffoscope (78) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
913 914 915 916 917 918 919 920 921 922 923 924 925 926 927

  [ Brett Smith ]
  * comparators.json:
    + Catch bad JSON errors on Python pre-3.5.  Closes: #855233

  [ Chris Lamb ]
  * tests:
    + Move normalize_zeros to more generic `utils.data` module.
    + Fix tests that call xxd fail on jessie due to output change.
      Closes: #855239

  [ Ed Maste ]
  * comparators.directory:
    + Assume BSD-style stat(1) on FreeBSD.  Closes: #855169

Mattia Rizzolo's avatar
Mattia Rizzolo committed
928
 -- Mattia Rizzolo <mattia@debian.org>  Sun, 26 Feb 2017 17:26:48 +0100
Mattia Rizzolo's avatar
Mattia Rizzolo committed
929

Mattia Rizzolo's avatar
Mattia Rizzolo committed
930
diffoscope (77) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949

  [ Chris Lamb ]
  * tests/comparators/utils:
    + Correct logic of module_exists, ensuring we correctly skip in case of
      modules containing a dot in their name.  Closes: #854745
  * comparators/utils/libarchive:
    + No need to track archive directory locations.
  * Add --exclude option.  Closes: #854783
  * Add PyPI badge to README.rst.
  * Update .travis.yml from http://travis.debian.net.

  [ Mattia Rizzolo ]
  * Add CVE reference to the changelog of v76.
  * Add my key to debian/upstream/signing-key.asc.

  [ Ximin Luo ]
  * comparators/utils/libarchive:
    + When extracting archives, try to keep directory sizes small.

Mattia Rizzolo's avatar
Mattia Rizzolo committed
950
 -- Mattia Rizzolo <mattia@debian.org>  Mon, 13 Feb 2017 16:25:02 +0100
Mattia Rizzolo's avatar
Mattia Rizzolo committed
951

Chris Lamb's avatar
Chris Lamb committed
952 953 954 955 956
diffoscope (76) unstable; urgency=medium

  [ Chris Lamb ]
  * Extract archive members using an auto-incrementing integer, avoiding the
    need to sanitise filenames and avoiding writes to arbitrary locations.
957
    (Closes: #854723 - CVE-2017-0359)
Chris Lamb's avatar
Chris Lamb committed
958 959 960 961 962 963

  [ Ximin Luo ]
  * Simplify call to subprocess.Popen

 -- Chris Lamb <lamby@debian.org>  Fri, 10 Feb 2017 11:37:52 +1300

Chris Lamb's avatar
Chris Lamb committed
964 965 966 967 968 969 970 971 972 973 974 975 976 977
diffoscope (75) unstable; urgency=medium

  [ Chris Lamb ]
  * Fix ImportError in Debian comparator tests. This was caused by not
    handling the case where ``importlib.find_spec`` was testing for a submodule
    (ie. ``debian.Deb822``) where it will attempt to import the ``debian``
    module and raise an exception if it does not exist. Thanks to Iain Lane for
    initial patches. (Closes: #854670)

  [ Ximin Luo ]
  * Remove pointless use of a thread

 -- Chris Lamb <lamby@debian.org>  Fri, 10 Feb 2017 09:28:47 +1300

Chris Lamb's avatar
Chris Lamb committed
978 979 980 981 982 983 984 985
diffoscope (74) unstable; urgency=medium

  * Add missing Recommends for comparators. This was a regression introduced in
    version 71 due to lazily-importing them; they were then not available when
    we called "--list-tools=debian" during package build. (Closes: #854655)

 -- Chris Lamb <lamby@debian.org>  Thu, 09 Feb 2017 16:58:28 +1300

Chris Lamb's avatar
Chris Lamb committed
986 987 988 989 990 991
diffoscope (73) unstable; urgency=medium

  * debian/tests/pytest: Remove spurious clipboard contents.

 -- Chris Lamb <lamby@debian.org>  Thu, 09 Feb 2017 13:24:59 +1300

Chris Lamb's avatar
Chris Lamb committed
992 993 994 995 996 997 998 999 1000 1001 1002
diffoscope (72) unstable; urgency=medium

  * Fix autopkgtest failures when Recommends are not installed.
    (Closes: #854593)
  * Specify <html lang="en"> in HTML output. (re. #849411)
  * Tests:
    - Add a "@skip_unless_module_exists" decorator.
    - Show local variables in tracebacks.

 -- Chris Lamb <lamby@debian.org>  Thu, 09 Feb 2017 12:49:40 +1300

Chris Lamb's avatar
Chris Lamb committed
1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054
diffoscope (71) unstable; urgency=medium

  [ Chris Lamb ]
  * New features:
    - Add a machine-readable JSON output format. (Closes: #850791)
    - Show results from debugging packages last. (Closes: #820427)
    - Add a --max-text-report-size option. (Closes: #851147)
  * Bug fixes:
    - Clean all temp files in signal handler thread instead of attempting to
      bubble exception back to the main thread. (Closes: #852013)
    - Prevent FTBFS by loading fixtures as UTF-8 in case surrounding terminal
      is not Unicode-aware. (Closes: #852926)
    - Fix errors when comparing directories with non-directories.
      (Closes: #835641)
    - Fix behaviour of setting report maximums to zero (ie. no limits)
  * Tests:
    - Test the RPM "fallback" comparison.
    - Test the Deb{Changes,Buildinfo,Dsc} fallback comparisons.
    - Test --progress and --status-fd output.
    - Add tests for symlinks differing in destination.
    - When comparing two empty directories, ensure that the mtime of the
      directory is consistent to avoid non-deterministic failures.
    - Smoke test profiling output.
    - Ensure we ignore invalid JSON files correctly.
    - Ensure 2nd source of a Difference is a string, not just the 1st.
    - Don't report on test coverage for some internal error messages.
  * Misc:
    - Add docs about releasing signed tarballs.
    - Drop the incomplete list of external tools from README.rst.
    - Add debian/watch file with cryptographic signature verification.
    - Drop CpioContent command now that we use libarchive.
    - Use a singleton to manage our Comparator classes.
    - Many small optimisations and code cleanups.

  [ Brett Smith ]
  * diffoscope.diff: Improve FIFO writing robustness.

  [ Ximin Luo ]
  * Fix bug introduced in commit 36d1c964 that only worked "accidentally".
  * Fix lazy expression; filter is lazy in Python 3.

  [ Mattia Rizzolo ]
  * Override the debian-watch-file-in-native-package lintian tag.

  [ anthraxx ]
  * Arch package changed from cdrkit to cdrtools.

  [ Holger Levsen ]
  * Restore history section in README, explaining this was started in Debian.

 -- Chris Lamb <lamby@debian.org>  Wed, 08 Feb 2017 13:02:01 +1300

Mattia Rizzolo's avatar
Mattia Rizzolo committed
1055
diffoscope (70) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103

  [ Mattia Rizzolo ]
  * comparators
    + haskell: add a comment describing the file header.
      Thanks to James Clarke <jrtc27@debian.org> for all the investigation done.
  * tests:
    + Skip two more tests requiring a x86-64-capable binutils.
      This fixes the tests on ppc64el.
  * CONTRIBUTING: misc updates, clearer info about how to submit a Debian bug.

  [ James Clarke ]
  * comparators:
    + haskell: Properly extract version from interface files.
      What the code did before was just totally wrong, and worked only by
      chance (and only on little endian systems).
      This also fixes the test suite when run on big endian systems.

  [ Chris Lamb ]
  * comparators:
    + haskell: Also catch CalledProcessError, not just OSError.
  * presenters:
    + Move text presenter to use Visitor pattern.
    + Add markdown output support.  Closes: #848141
    + Add RestructuredText output format.
    + Instantiate our presenter classes directly instead of wrapping a method.
    + Use an optimised indentation routine throughout all text presenters.
    + text: Remove superfluous empty newlines from diff.
  * tests:
    + Split main and presenter tests.
    + Actually compare the output of text/ReST/markdown formats to fixtures.
    + Drop output_* calls that are inconsistently applied to differences.
    + Add tests for HTML output.
    + Add a test comparing two empty directories.
    + Test --text-color output format.
    + Test that no arguments (beyond the filenames) prints the text output.
    + Don't warn about coverage lines that raise NotImplementedError.
    + Increase coverage by adding "# noqa" in relevant parts.
  * Add build status to README.rst.

  [ Brett Smith ]
  * diffoscope:
    + Specify choices for --list-tools switch.
    + Improve --help output.  Closes: #852015
  * CONTRIBUTING: Refresh instructions for contributing to diffoscope.

  [ anthraxx ]
  * tools: switch Arch Linux dependency for pedump to mono.

Mattia Rizzolo's avatar
Mattia Rizzolo committed
1104
 -- Mattia Rizzolo <mattia@debian.org>  Thu, 26 Jan 2017 16:39:10 +0100
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1105

Chris Lamb's avatar
Chris Lamb committed
1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133
diffoscope (69) unstable; urgency=medium

  [ Chris Lamb ]
  * Skip tests if binutils can't handle the object file format. Based on a
    patch by Mattia Rizzolo. (Closes: #851588)
  * Move external tool definitions out of misleading "exceptions" module.
  * Save some complicated logic by setting default RE_FILE_{EXTENSION,TYPE}
  * Test --html-dir option.
  * Misc:
    * Add missing `data` imports.
    - Inherit GzipFile from File, not object.
    - Remove unused imports in comparator tests.
    - Consistently space out environment exports in debian/rules.

  [ Mattia Rizzolo ]
  * If both RE_FILE_TYPE and RE_FILE_EXTENSION are defined, AND them
  * Use the path attribute of the specialized file instead of the original name
    in tests.
  * tests/main:
    * Shorten argument lists by unpacking common arguments.
    * Disable jQuery while testing --htmldir so tests can run without it.
  * tests/comparators:
    * Refactor into packages with smaller modules.
    * Rename load_fixture() to init_fixture().
    * Add a load_fixture() function wrapping both init_fixture() and data().

 -- Chris Lamb <lamby@debian.org>  Tue, 17 Jan 2017 11:33:54 +1100

Chris Lamb's avatar
Chris Lamb committed
1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182
diffoscope (68) unstable; urgency=medium

  [ Chris Lamb ]

  * Don't blow up if directory containing ELF debug symbols already exists.
    (Closes: #850807)
  * Fix .APK extration when provided with absolute filenames.
    (Closes: #850485)
  * Support comparing .ico files using img2txt. (Closes: #850730)
  * comparators.utils.file: If we don't have an archive-extraction tool (eg.
    apktool), don't blow up when attempting to unpack it.
  * Include magic file type when we know the file format but can't find
    file-specific details. (Closes: #850850)
  * Ensure fake "APK metadata" file appears first, fixing non-deterministic
    tests/output.
  * Correctly escape value of href="" elements (re. #849411)

  * Optimisations:
    - Disable profiling entirely (unless enabled) for a 2%+ optimisation
    - Compile APK filename regex instead of generating it each loop.

  * Logging:
    - Log tempfile cleanup process
    - Log when we add a progress observer.
    - Drop milliseconds from log output

  * Misc:
    - Many unused import removals, indentation changes, etc.
    - Fix duplicated word and long line errors in debian/changelog.
    - Suggest some promotion in post-release documentation.

  [ Maria Glukhova ]
  * comparators/device: don't crash when comparing a non-device against a
    device (Closes: #850055)
  * Remove archive name from apktool.yml and rename it. (Closes: #850501)
  * Zipinfo included in APK files comparison. (Closes: #850502)
    - Add some tests for APK comparator.
  * Add image metadata comparison. (Closes: #849395)
  * Ensure imagemagick version is new enough for image metadata tests.

  [ Mattia Rizzolo ]
  * Skip the openssh_pub_key test if the version of ssh is < 6.9.
  * comparators/icc: rename RE_FILE_EXTENSION to RE_FILE_TYPE, as that's what
    the regular expression is looking for.
  * Make use of a new mechanism to remove a bunch of recognizes() methods
    dealing with simple RE_FILE_TYPE matching.

 -- Chris Lamb <lamby@debian.org>  Mon, 16 Jan 2017 11:24:22 +1100

Chris Lamb's avatar
Chris Lamb committed
1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197
diffoscope (67) unstable; urgency=medium

  [ Chris Lamb ]

  * Optimisations:
    - Avoid multiple iterations over archive by unpacking once for an ~8X
      runtime optimisation.
    - Avoid unnecessary splitting and interpolating for a ~20X optimisation
      when writing --text output.
    - Avoid expensive diff regex parsing until we need it, speeding up diff
      parsing by 2X.
    - Alias expensive Config() in diff parsing lookup for a 10% optimisation.

  * Progress bar:
    - Show filenames, ELF sections, etc. in progress bar.
1198
    - Emit JSON on the status file descriptor output instead of a custom
Chris Lamb's avatar
Chris Lamb committed
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221
      format.

  * Logging:
    - Use more-Pythonic logging functions and output based on __name__, etc.
    - Use Debian-style "I:", "D:" log level format modifier.
    - Only print milliseconds in output, not microseconds.
    - Print version in debug output so that saved debug outputs can standalone
      as bug reports.

  * Profiling:
    - Also report the total number of method calls, not just the total time.
    - Report on the total wall clock taken to execute diffoscope, including
      cleanup.

  * Tidying:
    - Rename "NonExisting" -> "Missing".
    - Entirely rework diffoscope.comparators module, splitting as many separate
      concerns into a different utility package, tidying imports, etc.
    - Split diffoscope.difference into diffoscope.diff, etc.
    - Update file references in debian/copyright post module reorganisation.
    - Many other cleanups, etc.

  * Misc:
1222 1223
    - Clarify comment regarding why we call python3(1) directly. Thanks to
      Jérémy Bobbio <lunar@debian.org>.
Chris Lamb's avatar
Chris Lamb committed
1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239
    - Raise a clearer error if trying to use --html-dir on a file.
    - Fix --output-empty when files are identical and no outputs specified.
    - Wrap changelog line to avoid Lintian warning.

  [ Reiner Herrmann ]
  * Extend .apk recognition regex to also match zip archives (Closes: #849638)

  [ Mattia Rizzolo ]
  * Follow the rename of the Debian package "python-jsbeautifier" to
    "jsbeautifier".

  [ siamezzze ]
  * Fixed no newline being classified as order-like difference.

 -- Chris Lamb <lamby@debian.org>  Wed, 04 Jan 2017 16:56:36 +0000

Chris Lamb's avatar
Chris Lamb committed
1240 1241 1242 1243 1244 1245 1246 1247
diffoscope (66) unstable; urgency=medium

  [ Chris Lamb ]
  * Update dex_expected_diffs and test requirement to ensure test compatibility
    with enjarify >= 1.0.3. (Closes: #849142)
  * Print the detected version in @skip_unless_tool_is_at_least test utility.

  [ Maria Glukhova ]
1248 1249
  * Add detection of order-only difference in plain text format.
    (Closes: #848049)
Chris Lamb's avatar
Chris Lamb committed
1250 1251 1252 1253 1254 1255

  [ anthraxx ]
  * Add OpenSSH Arch package to Recommends.

 -- Chris Lamb <lamby@debian.org>  Sat, 24 Dec 2016 19:18:30 +0000

Chris Lamb's avatar
Chris Lamb committed
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280
diffoscope (65) unstable; urgency=medium

  [ Chris Lamb ]
  * Avoid unpacking packages twice when comparing .changes. (Closes: #843531)
  * Add a simple profiling framework (enabled via --profile) which tracks:
    - Container extraction, opening and closing times.
    - The "compare_files" top-level/recursive method.
    - The time taken to produce the various output formats.
    - All "has_same_content_as" and "recognizes" methods.
    - External commands that wrap "@tool_required".
    - External commands that use "make_feeder_from_command".
    - The internal/external "cmp" methods.
    - Some manual calls to subprocess.check_output().
  * Tidy log messages:
    * Clarify the meaning of the compare_files and Binary.has_same_content
      debug messages.
    * Skip low-value "X is already specialized" message.
    * Correct "instantiating" typo.

  [ Emanuel Bronshtein ]
  * Use ssh-keygen for comparing OpenSSH public keys
  * Remove inline styles from col elements

 -- Chris Lamb <lamby@debian.org>  Fri, 23 Dec 2016 11:58:15 +0000

Chris Lamb's avatar
Chris Lamb committed
1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338
diffoscope (64) unstable; urgency=medium

  [ Chris Lamb ]
  * Avoid shelling out to colordiff by implementing highlighting in Python
    directly.
  * Split out trydiffoscope client and binary package from main diffoscope
    repository so that it can be more-easily released on PyPI.
  * Memoize calls to ``distutils.spawn.find_executable`` to avoid excessive
    stat(1) syscalls.
  * Remove temporary profiling file introduced in 97bddd18a.
  * comparators.directory:
    - Correct `source` attribute of lsattr-based Difference instances.
    - Add comment regarding why difficult to optimise calls to lsattr
  * Internally guarantee to all progress observers that we will be processing
    something.
  * bin/diffoscope:
    - Ensure that running from Git always uses that checkout's modules.
    - Use os.path.join "properly" as we are already using it.
    - Use typical sys.path.insert(0, ...) method to modify sys.path.
    - Use immutable tuple over mutable list for clarity.
  * comparators.debian: No need to keep .buildinfo file descriptor open.
  * Suggest command-line for signing of PyPI uploads.
  * Improve documentation of new tests/conftest.py file.

  [ Maria Glukhova ]
  * Remove test data causing problems during build with Python 3.4.
  * Change icc-recognizing regexp to reflect changes in file type description.
    (Closes: #848814)

  [ Brett Smith ]
  * set_locale should call tzset. (Closes: #848249)
  * Ensure set_locale fixture runs before all tests.

  [ Emanuel Bronshtein ]
  * Use js-beautify as JavaScript code beautifier for .js files (with tests).
  * CSS & HTML changes:
    - Disable referrer and window.opener leakage.
    - Disable compatibility mode usage in IE.
    - Use double quotes for HTML attributes.
    - Fix unclosed element span.
    - CSS optimizations.
    - Add fallback color to rgba usage.
    - Fix CSS markup warnings.
  * Change all HTTP URLs to HTTPS where applicable.

  [ Baptiste Daroussin ]
  * comparators/directory: add compatibily with FreeBSD's getfacl.
  * Improve portability by not relying on /dev/fd.

  [ Reiner Herrmann ]
  * Improved support for Android apk files.
  * Fix wording in Comparators.get_members comment.

  [ Mattia Rizzolo ]
  * presenters/html: Namespace the diffoscope CSS class.

 -- Chris Lamb <lamby@debian.org>  Thu, 22 Dec 2016 10:37:36 +0000

1339
diffoscope (63) unstable; urgency=medium
Ximin Luo's avatar
Ximin Luo committed
1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351

  * Add myself to Uploaders.
  * Greatly improve speed for large archives by fixing O(n^2) complexity for
    archive member lookup.
    - There is still O(n^2) complexity for archive member extraction, but this
      is less noticeable for various reasons and would require more complexity
      to fix, so for now is left as a task for the future.
  * Text output: add coloured diff support via colordiff(1).
  * Html-dir output: add +/- buttons to fold sub-diffs (i.e. toggle their
    visibility) as well as the whole diff itself. As with similar features in
    other programs, the effect affects all descendants if you shift-click.

1352
 -- Ximin Luo <infinity0@debian.org>  Fri, 02 Dec 2016 12:10:04 +0100
Ximin Luo's avatar
Ximin Luo committed
1353

Mattia Rizzolo's avatar
Mattia Rizzolo committed
1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366
diffoscope (62) unstable; urgency=medium

  [ Chris Lamb ]
  * progress: Pass the fileobj to the print(..) function, not str.format.
    Thanks to Marius Gedminas <marius@gedmin.as>.
  * Move diffoscope.Config to a more-standard and simpler singleton pattern
    and validate constraints on every __setattr__.

  [ Maria Glukhova ]
  * tests/{dex,java}: Skip the java tests if javap is older than 1.8.
    This fixes test_java and test_dex failing in jessie-backports.  See #838984

  [ Michel Messerschmidt ]
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1367
  * comparators/zip: Add rudimentary support for OpenDocumentFormat files.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1368 1369 1370

  [ Mattia Rizzolo ]
  * debian: bump debhelper compat level to 10, no changes needed.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1371
  * comparators/ppu:
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1372 1373 1374 1375 1376 1377
    + don't do run a full ppudump while only looking for PPU file version.
    + ignore decoding errors from ppudump while filtering the output.
  * tests/ppu: skip some PPU tests if ppudump is < 3.0.0.  Closes: #838984
  * tests: skip test using a format accepted by older pytest.  Closes: #841146

  [ Daniel Shahaf ]
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1378 1379
  * comparators/json: detect order-only differences and print them nicely.
    Closes: #839538
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1380 1381 1382

 -- Mattia Rizzolo <mattia@debian.org>  Tue, 01 Nov 2016 15:33:45 +0000

Chris Lamb's avatar
Chris Lamb committed
1383 1384 1385 1386 1387 1388
diffoscope (61) unstable; urgency=medium

  [ Mattia Rizzolo ]
  * Skip rlib tests if the "nm" tool is missing. (Closes: #837742)
  * Use dedicated xxd binary package instead of vim-common.
  * autopkgtest: Allow stderr for the basic-command-line test.
Chris Lamb's avatar
Chris Lamb committed
1389 1390
  * d/rules: make it possible to backport without changing the "upstream"
    version.
Chris Lamb's avatar
Chris Lamb committed
1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411

  [ Maria Glukhova ]
  * Catch an error when we can't read files in has_same_content_as().
    (Closes: #835642)

  [ Chris Lamb ]
  * Add the ability track the (approximate) progress throughout diffoscope run:
    - Add a graphical progressbar and show by default if STDOUT is a TTY.
    - Add a --status-fd argument to output machine-readable status to the
      specified file descriptor.

  [ Ximin Luo ]
  * Add a --output-empty option, useful for batch scripts.
  * Improve --help text and group the optional arguments based on topic.
  * Add a script to check sizes of dependencies.
  * tests/basic-command-line: check exit code and use a more complex example.
  * Provide better advice about what environment variable to set to make the
    console work.

 -- Chris Lamb <lamby@debian.org>  Wed, 28 Sep 2016 11:44:25 +0100

Mattia Rizzolo's avatar
Mattia Rizzolo committed
1412
diffoscope (60) unstable; urgency=medium
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445

  [ Chris Lamb ]
  * debian/rules:
    +  Run tests with python3-coverage and generate reports post-build.
  * CONTRIBUTING: Add PyPI reference.
  * Comparators:
    + Avoid ugly DRY violations in diffoscope.comparators.__init__ by
      dynamically importing classes via a single list.
    + git: Specify paths as strings as required since b7830b5cb.
    + elf:
      - Mask more warnings (eg. "readelf: Error: the dynamic segment offset" or
        "size exceeds the size of the file").
      - Specify string format arguments as logging function parameters, not
        using interpolation.
    + json: Correct behaviour of JSON comparator when file does not exist.
  * Presenters:
    + html:
      - Use html.escape over xml.sax.saxutils.escape.
      - Don't use unsafe cgi.escape method as its ``quote`` kwarg — which
        enables escaping of quotation marks — is False by default.
  * Code clean-up:
    + Tidy imports.
    + Split exceptions out into dedicated diffoscope.exc module.
    + Use try-except idiom instead of ``if`` in RequiredToolNotFound.get_package
    + Prefer kwargs[x] = kwargs.pop(x, 'default') idiom over ``if`` statements.
  * tests:
    + Factor out ugly os.path.join to a utility method.
    + Drop unused try_except in tests/conftest.
    + Add GitIndex tests to bring coverage of comparators/git.py to 100%.
    + Add tests for Haskell comparator.
      - Skip Haskell tests if GHC is not installed.
      - Skip Haskell tests if GHC version does not match.  Closes: #835055
    + Add test in JSON comparator for non-existing files.
HW42's avatar
HW42 committed
1446
    + Rewrite lengthy "[..] skipIf [..] tool_missing" with a
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463
      @skip_unless_tools_exist decorator.
    + Add tests for skip_unless_tools_exist helper.
    + Rename tests/comparators/conftest.py -> tests/comparators/utils.py.
    + Avoid Don't-Repeat-Yourself violations by factoring out fixture loading.
    + Avoid more DRY violations by factoring-out non-existing file tests.
    + Remove some other unused imports from comparator tests.
    + Check rendering of text and HTML presenters when checking non-existing
      files.
    + Use `pytest.xfail` over `assert False`.

  [ Mattia Rizzolo ]
  * debian/control:
    + Reinstated build profiles, now that dh-python is fixed (see #834238).
    + Version the build-dependency on dh-python, so it supports build profiles.
    + Add more nocheck build profiles.
    + Bump dependencies on debhelper and dpkg-dev to assure build profile
      support is available.
1464 1465 1466
    + Add Build-Dependency on fontforge-extras for showttf (run during tests)
    + Alternate Build-Dependency on default-jdk-headless|default-jdk, to ease
      backporting to older Debian releases.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1467 1468 1469 1470
  * debian/rules:
    + Don't install '/usr/lib/python3/dist-packages/.coverage'.
    + Run the basic-command-line test during package build.
    + Be even more verbose about failing tests.
1471
    + Allow building a mismatching version between diffoscope and the debian
1472
      changelog if the target distribution is UNRELEASED.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1473 1474 1475 1476 1477 1478
  * Comparators
    + ppu:
      - Unbreak ppu_version detection.
      - Put code out of the context manager, it doesn't need to be within.
  * trydiffoscope: add copyright/license header.
  * autopkgtest/basic-command-line:
1479
    + Enable running basic-command-line test without ADTTMP being set.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1480
    + Be a bit more verbose about what is being tested.
1481
    + Also test return code when passing an invalid command line flag.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1482 1483 1484 1485 1486 1487 1488 1489 1490 1491
    + Force LC_ALL=C.UTF-8, so that diffoscope can always output something.
  * test:
    + Factor out a tools_missing() function.
    + Rewrite tool_older_than() into skip_unless_tool_is_older_than().
    + Skip test_squashfs.py.test_superblock if squashfs is too old.
    + Normalize xxd's output so that we can compare jessie's xxd with stretch's.
  * add default-jdk to the alternate packages for javap for Debian;
    default-jdk-headless is not available in older Debian releases.

  [ Satyam Zode ]
1492 1493 1494 1495
  * Ignore differences in .buildinfo if all the other files listed in .changes
    are identical.  In those cases any differences in .buildinfo files are
    irrelevant, and are actually a feature (as it indicates two reproducible
    builds with different environment).
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1496 1497 1498 1499 1500 1501 1502 1503 1504

  [ Jérémy Bobbio ]
  * Properly skip tests requiring python-debian when unavailable.

  [ Ximin Luo ]
  * Show the timestamp when logging, to detect which steps take longer.
  * Add a --no-max flag to disable all limits.
  * Have --max-report-size honour 0 to mean "no limit".
  * Comparators:
1505
    + cbfs: only scan whole file when the filename ends with ".rom".
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1506
    + binary: Suppress decimal line numbers for xxd output.
1507
  * Increase default --max-diff-input-lines to 2^20 (1048576) from 100000.
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519
  * Rename --no-max-limits to --no-default-limits, a more accurate name.
  * presenters/html: html-dir output:
    + Split large diffs across several child pages.
      Also add some flags so html-dir behaviour is easier to reason about.
    + Use 4 times the given --max-diff-block-lines.
      This way, '--html x.html --html-dir y' gives reasonable output for both.
  * difference:
    + Fix behaviour for max-diff-block-limit=1 and don't report when 0 lines
      are removed.
    + Don't truncate diff output by default, instead add a separate flag
      --max-diff-block-lines-saved (infinite by default) to do so.

Mattia Rizzolo's avatar
Mattia Rizzolo committed
1520
 -- Mattia Rizzolo <mattia@debian.org>  Sun, 11 Sep 2016 16:14:33 +0000
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1521

Chris Lamb's avatar
Chris Lamb committed
1522 1523 1524 1525 1526 1527
diffoscope (59) unstable; urgency=medium

  [ Chris Lamb ]
  * SquashFS test_testing:
    - Don't assume that user and group are 5 characters long in squashfs
      test_listing.
1528
    - Drop test; simply too unreliable and/or has too many requirements to
Chris Lamb's avatar
Chris Lamb committed
1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557
      satisfy (eg. shorter usernames) for it to not be skipped.
  * Difference class:
    - Ensure that we pass str instances to our Difference class as paths,
      otherwise we can't be sure we can render them. For example, passing a
      class here breaks the HTML renderer.
    - Add test for type checking of path1/path2/source.
    - Pass a str for the path in the JSON comparator, fixing the HTML reporting
      of JSON output.
  * When looping over JQUERY_SYSTEM_LOCATIONS, actually use the variable we are
    looping with when performing the symlink(2) call.
  * trydiffoscope:
    - Add manpage for trydiffoscope.
    - Write trydiffoscope console output as UTF-8, even if STDOUT claims it
      doesn't support it.
  * debian/rules:
    - Make separate calls to dh_python3 for diffoscope and trydiffoscope to
      avoid both getting the same Recommends substvar.
    - Use a pattern-based rule for rst2man-based manpages instead of
      hard-coding "diffoscope.1".
    - Dynamically calculate manpages to generate over hardcoding.
  * .gitignore: Ignore all generated manpages, not just diffoscope.1.

  [ Holger Levsen ]
  * ./CONTRIBUTING:
    - Add new file.
    - Explain what to look out for when uploading diffoscope.

 -- Chris Lamb <lamby@debian.org>  Mon, 15 Aug 2016 09:54:48 +0100

Chris Lamb's avatar
Chris Lamb committed
1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570
diffoscope (58) unstable; urgency=medium

  * Shorten Description of trydiffoscope to appease Lintian.
  * Make squashfs test_listing test more robust:
    - Add ".in" suffix to squashfs listing expected diff as we are about to
      template it properly.
    - Replace $USER with the current user with uid 1000.
    - Move test_listing replacements to a loop so we can easily add more.
    - Don't assume that the test environment as 4 CPUs in squashfs.test_listing
    - Don't assume default group is the same name as the user in test_listing.

 -- Chris Lamb <lamby@debian.org>  Sun, 14 Aug 2016 10:22:19 +0100

Chris Lamb's avatar
Chris Lamb committed
1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621
diffoscope (57) unstable; urgency=medium

  [Chris Lamb]
  * Add myself to Uploaders.
  * Add try.diffoscope.org command-line client in new binary package
    "trydiffoscope" to save installation of dependencies:
    - Open files in binary mode to support comparing binary files.
    - Optionally open URL in web browser.
    - Optionally poll locally until result is available.
    - Move to version 2 of API, don't continue to poll on error.
    - Correct and improve help text.
  * Code cleanups:
    - Tidy PROVIDERS dict in diffoscope/__init__.py.
    - Tidy OS_NAMES dict.
    - Correct indentation levels in various files.
    - Drop unused imports.
    - platform.get_linux_distribution() will break in Python 3.7.
    - Don't name first argument of Difference.from_command "cls" as it's not a
      classmethod.
    - comparators/directory.py: Call logger.warning over logger.warn.
    - Rename diffoscope.__main__ to diffoscope.main as its not a "real" magic
      name.
    - Raise NotImplementedError() instances over NotImplemented classes.
    - Add short option for trydiffoscope --url.
    - Rewrite trydiffoscope to match diffoscope's command-line API.
    - Use keepalive in trydiffoscope client to avoid new HTTP requests.
    - Highlight lines via HTML/CSS when hovering over a line to make it easier
      to visually track.
    - Rename debian/install -> debian/diffoscope.install now we have multiple
      binary packages.
  * Add a JSON comparator.
    - Add tests for JSON comparator.
    - Move parsing to JSONFile.recognizes
    - Ensure decode errors in JSON comparator are not fatal.
  * Ignore /.*eggs and /.cache - they get created when running tests.
  * Reflow long dh_python3 call in debian/rules.
  * Use dict.get fallback to shorten OS_NAMES lookup in --list-tools.
  * --list-tools:
    - Output --list-tools in RFC822 format to make parsing less brittle.
    - Print "no package mapping" in --list-tools to stderr, not stdout.
    - Remove unused ``reduce`` import.
    - Reflow long PROVIDERS lookup.
  * Add .travis.yml from http://travis.debian.net/
  * Don't skip squashfs test_listing test; we can workaround it, as long as we
    have a uid 1000.
  * Drop "Testsuite: autopkgtest" in debian/control; it is added automatically
    by dpkg-source version 1.17.11.

  [Mattia Rizzolo]
  * autopkgtest: be more verbose when running the tests
  * debian/control:
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1622 1623
    - Mark build-dependency needed only for tests with a <!nocheck> build
      profile (reverted as they break dh-python)
Chris Lamb's avatar
Chris Lamb committed
1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650
    - add more build-dependencies to be able to run more tests at build time
    - default-jdk-headless is enough to have javap, instead of all of
      default-jdk
  * debian/rules:
    - be more verbose when running the tests, in particular, show why tests are
      being skipped
    - teach pybuild where to put diffoscope's files
  * do not try to execute the command if the command is not available

  [Ximin Luo]
  * Add support for reading LLVM bitcode files
    - Ignore line numbers because different llvm-dis versions output extra
      metadata
    - Disable the llvm-dis test if the version is lower than 3.8
  * Add support for reading Rust LLVM object files
  * Add test for rlib files, helping also to test ArFile, LlvmBitCodeFile and
    RustObjectFile
  * Fix failing directory test
  * Add support for reading the symbol table to ArFile
  * Fix typo in tool_older_than
    - Remove debugging print from tool_older_than

  [anthraxx]
  * skip rlib test if llvm-dis tool is missing

 -- Chris Lamb <lamby@debian.org>  Sat, 13 Aug 2016 23:46:42 +0100

Reiner Herrmann's avatar
Reiner Herrmann committed
1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668
diffoscope (56) unstable; urgency=medium

  [ Jérémy Bobbio ]
  * Fix maybe_decode() so that it actually works.

  [ Chris Lamb ]
  * Mask EPIPE to avoid ugly tracebacks when eg. prematurely terminating $PAGER.
  * Add git index file comparator.
  * Drop unused imports in Ar comparator.

  [ Ximin Luo ]
  * Add support for AR archives (including Rust .rlib files).
  * Add some more documentation for ArFile/ArContainer.
  * RequiredToolNotFound.PROVIDERS dict values are package names, not binary
    names.

 -- Reiner Herrmann <reiner@reiner-h.de>  Thu, 28 Jul 2016 00:02:56 +0200

Reiner Herrmann's avatar
Reiner Herrmann committed
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690
diffoscope (55) unstable; urgency=medium

  [ anthraxx ]
  * Fix sqlite3 magic recognition when using file >= 5.27. (Closes: #830434)

  [ Satyam Zode ]
  * Add argument completion feature to diffoscope. (Closes: #826711)

  [ Chris Lamb ]
  * Improve message when data differs. (Closes: #827981)

  [ Reiner Herrmann ]
  * Clarify the input arguments. (Closes: #826894)

  [ Holger Levsen ]
  * Add link to homepage in HTML output.

  [ Rainer Müller ]
  * python-magic >=0.4.12 does not require decode.

 -- Reiner Herrmann <reiner@reiner-h.de>  Fri, 15 Jul 2016 21:50:29 +0200

Mattia Rizzolo's avatar
Mattia Rizzolo committed
1691 1692 1693 1694 1695 1696 1697
diffoscope (54) unstable; urgency=medium

  * Fix syntax in RequiredToolNotFound.PROVIDERS.  This caused --list-tools to
    miss entries, and by it missing Recommends in the Debian package.

 -- Mattia Rizzolo <mattia@debian.org>  Fri, 03 Jun 2016 16:16:02 +0000

Mattia Rizzolo's avatar
Mattia Rizzolo committed
1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721
diffoscope (53) unstable; urgency=medium

  [ Reiner Herrmann ]
  * In the directory comparator, fall back to current directory instead of
    empty name. (Closes: #820624)
  * Improve deb(5) support. (Closes: #818414)

  [ Mattia Rizzolo ]
  * debian/control: add myself to Uploaders.
  * Clean up temporary debuglink files.
  * Fix FileNotFoundError with broken symlinks. (Closes: #818856)
  * Decode Md5sumsFile in utf-8. (Closes: #823874)
  * Always suffix temporary files with '_diffoscope'.
  * Rewrite sanity check for the version to always run every time debian/rules
    is invoked, not only during a binary build.

  [ Ed Maste ]
  * Add FreeBSD packages for required tools.

  [ Ceridwen ]
  * Add README.rst to MANIFEST.in.

 -- Mattia Rizzolo <mattia@debian.org>  Fri, 03 Jun 2016 14:23:16 +0000

Reiner Herrmann's avatar
Reiner Herrmann committed
1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741
diffoscope (52) unstable; urgency=medium

  [ Mattia Rizzolo ]
  * debian/gbp.conf: add a conf to have gbp tag the releases how we like them.

  [ Holger Levsen ]
  * Drop transitional debbindiff package.
  * debian/control: Drop XS-Prefix from Testsuite: field, thanks lintian.
  * Mention --max-report-size only once in the manpage. (Closes: #819956)

  [ Satyam Zode ]
  * Fix typo in documentation.

  [ Reiner Herrmann ]
  * Bump Standards-Version to 3.9.8, no changes required.
  * Let objdump demangle symbols for better readability.
  * Install bin/diffoscope instead of auto-generated script. (Closes: #821777)

 -- Reiner Herrmann <reiner@reiner-h.de>  Wed, 20 Apr 2016 20:28:03 +0200

1742 1743 1744 1745 1746 1747 1748
diffoscope (51) unstable; urgency=medium

  * Team upload.
  * Re-upload, the last uploaded tarball was broken, missing test files.

 -- Mattia Rizzolo <mattia@debian.org>  Sun, 28 Feb 2016 11:56:35 +0000

Reiner Herrmann's avatar
Reiner Herrmann committed
1749 1750 1751 1752 1753 1754 1755 1756 1757 1758
diffoscope (50) unstable; urgency=medium

  [ Jérémy Bobbio ]
  * Remove myself from uploaders

  [ Reiner Herrmann ]
  * Show line ordering variation in deb md5sums
  * Reset mtimes of test directories and ignore ctimes (Closes: #815171)
  * Add comparator for Postscript files

1759
 -- Holger Levsen <holger@debian.org>  Sat, 27 Feb 2016 19:37:20 +0100
Reiner Herrmann's avatar
Reiner Herrmann committed
1760

Jérémy Bobbio's avatar
Jérémy Bobbio committed
1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796
diffoscope (49) unstable; urgency=medium

  [ Jérémy Bobbio ]
  * Don't crash when we can't find the debug file in a matching debug package.
    This repairs diffoscope for xserver-xorg and other packages.
  * Use libarchive to read metadata from ar archives. The output is more
    precise and less dependent on binutils version. The command line `ar` tool
    is not used any more so remove it from the required tools.
  * Split readelf --debug-dump output when examining ELF files. Based on a
    patch by Dhole.
  * Keep both .debug_str and .zdebug_str as ElfSection. Thanks to Niels Thykier
    for noticing the problem.
  * Fix a logic error in _install_debug_symbols. Thanks anthraxx for the report
    and the fix.
  * Use recursive containers for directory and only look at files with ending
    in .deb when looking for Build IDs. Both avoid looking at too many files
    when searching for matching debug packages. Thanks Helmut Grohne and Steven
    Chamberlain for the reports and tests. (Closes: #813052)
  * Add support for ICC profiles. This adds a Recommends on colord in Debian.
  * Harmonize spaces and commas in package list.
  * Update PPU files test data for FPC 3.0.0.
  * Update exepcted javap output for OpenJDK 1.8.
  * Stop specializing files from directories earlier than necessary.

  [ anthraxx ]
  * Adding cd-iccdump package reference for Arch Linux.

  [ Mattia Rizzolo ]
  * Use HTTPS in Vcs-Git.

  [ Holger Levsen ]
  * Bump standards version to 3.9.7, no changes needed.
  * Use /git/ instead /cgit/ in Vcs-Browser.

 -- Jérémy Bobbio <lunar@debian.org>  Wed, 17 Feb 2016 18:12:45 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809
diffoscope (48) unstable; urgency=medium

  * Open debian/control file in binary mode (Closes: #812524)
  * Fix recognizes() for files ending in .buildinfo but without a
    Checksums-Sha256 field. (Closes: #812534)
  * Fix finding debug packages with multiple Build-Ids.
  * Cleanup how arguments are given to readelf for sections.
  * Only pass --decompress to readelf when the option is supported. This
    restores compatibility with older versions of binutils.
  * Skip dbgsym tests if the debian Python module is not available.

 -- Jérémy Bobbio <lunar@debian.org>  Tue, 26 Jan 2016 12:13:57 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831
diffoscope (47) unstable; urgency=low

  * Don't show a difference for identical but long diff inputs (e.g. objdump
    output). This should make diffoscope run longer for large diff inputs, but
    more correct reports worths it.
  * Fix symbol ignore regexp for ELF files.
  * Ask readelf to decompress sections before dumping their content.
  * Don't redefine .name() in Archive when its already defined in File.
  * All files can now belong to a container. This will help us implement
    cross-file analysis.
  * Update requirements for ELF tests.
  * Sort file order when comparing directories.
  * Use Python OrderedDict instead of keeping a list of sections in ELF
    container.
  * Install detached symbols from debug .deb before comparing ELF files.
    This means objdump output should have line numbers for Debian packages
    built with recent debhelper as long as the associated debug package is in
    the same directory.
  * Add support for Debian .buildinfo files.

 -- Jérémy Bobbio <lunar@debian.org>  Sat, 23 Jan 2016 18:08:33 +0000

Jérémy Bobbio's avatar
Jérémy Bobbio committed
1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856
diffoscope (46) unstable; urgency=low

  [ Dhole ]
  * Improve ELF comparisons by performing comparisons section by section.
    (Closes: #808197)

  [ Jérémy Bobbio ]
  * Further split readelf output when examining ELF files.
  * Skip dumping ELF sections that are already covered by previous readelf
    calls to avoid redundant output. Thanks Mike Hommey for the report.
    (Closes: #808267)
  * Fix ELF comparisons against non-existing files.
  * Filter symbols for IP-relative ops from ELF disassembled output as
    they will create differences that don't really exist. Thanks Mike Hommey
    for the report and test cases. (Closes: #808207)
  * Add forgotten requirements for tests with non-existing files.
  * Improve tests for comparisons against non-existing files.
  * Respect order of containers when performing comparisons. It makes the
    output somewhat nicer, especially for things that are expected to be in a
    certain order, like ELF sections.
  * Fix comparisons of directory with broken symlinks. Thanks Tuomas Tynkkynen
    for reporting the issue. (Closes: #810825)

 -- Jérémy Bobbio <lunar@debian.org>  Tue, 19 Jan 2016 16:46:47 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882
diffoscope (45) unstable; urgency=medium

  [ Rainer Müller ]
  * Fix typo in Mach-O comparator.

  [ Jérémy Bobbio ]
  * Ensure that we always get path names from libarchive as str.
    (Closes: #808541)
  * Read ext4 reference diff using UTF-8 to ensure that the test suite
    works when run under various locales.
  * Replace file path by a fixed placeholder in readelf and objdump output.
    This will work better when comparing ELF files given on the command line.
  * Read lines using an iterator instead of loading a full list in memory.
    This greatly help diffoscope when running on large binaries. Thanks Mike
    Hommey for the report and good test case. (Closes: #808120)
  * Properly report lines we can't parse in squashfs listing.
  * Correctly parse squashfs device entries with device minors larger than 3
    digits. Thanks sajolida for providing the samples.
  * Use libarchive to list files in tar and cpio archives. The output of cpio
    and tar is too hard to control properly and tend to vary over time.
    (Closes: #808809)
  * Ensure files extracted from a squashfs image are deleted after being
    compared instead being done examining the image.

 -- Jérémy Bobbio <lunar@debian.org>  Mon, 04 Jan 2016 16:24:50 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905
diffoscope (44) unstable; urgency=medium

  [ Mike Hommey ]
  * Tell readelf to use wide output. (Closes: #808103)
  * Add support for Mozilla optimized Zip files. (Closes: #808002)
  * Use <ins/> and <del/> in HTML output.
  * Fix line numbering in HTML diff output (Closes: #808199)

  [ Jérémy Bobbio ]
  * Fix .deb comparisons when md5sums is wrong or missing. (Closes: #808104)
  * Remove some quadratic string concatenations in HTML presenter.
  * Remove useless <span>s in HTML output. (Closes: #808121)
  * Replace calling find by using os.walk in directory comparator.
  * Sort the file list in directory comparator. (Closes: #808003)
  * Ensure the 'lines skipped' message gets written when lines are skipped
    at the end of a diff.
  * Make sure to read HTML reports as utf-8 in tests.

  [ Esa Peuha ]
  * Convert HTML character entity references to UTF-8 characters to save space.

 -- Jérémy Bobbio <lunar@debian.org>  Fri, 18 Dec 2015 15:42:20 +0000

Jérémy Bobbio's avatar
Jérémy Bobbio committed
1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984
diffoscope (43) unstable; urgency=low

  [ Reiner Herrmann ]
  * Add comparator for Android dex files.
  * Add comparator for filesystem images using libguestfs.

  [ Chris Lamb ]
  * Add comparator for icons and JPEG images using libcaca.

  [ Clemens Lang ]
  * Add comparator for OS X binary files (also known as Mach-O). Requires the
    otool(1) and lipo(1) which are mostly likely found on OS X.

  [ Baptiste Daroussin ]
  * Use libarchive for tar instead of Python included library. We already
    have libarchive as a mandatory dependency, and libarchive is faster
    and more reliable.

  [ Mike McQuaid ]
  * Support older versions of GNU diff. OS X 10.11 ships with an older GPLv2
    version (`2.8.1`) which does not support the `diff -u7` flag but instead
    wants to use `diff -U7` which appears to be forward compatible.

  [ Ed Maste ]
  * Use more portable LC_CTYPE suggestion. The C.UTF-8 locale is a Debian
    thing.

  [ Levente Polyak ]
  * Force ppudump to output time in UTC using the TZ variable. Support for the
    TZ environment variable has been implemented in fpc r32369.
  * Make PPU comparator version aware by checking the magic version expected by
    ppudump itself.

  [ Joachim Breitner ]
  * Add support for multi-file HTML output with on-demand loading of long
    diffs. This is available through the --html-dir option. Location of the
    jQuery JavaScript library can be specified through the --jquery option.
    (Closes: #806891)

  [ Jérémy Bobbio ]
  * Return the target path as string when extracting from a Zip. Regression
    introduced in diffoscope 41. (Closes: #805774)
  * Use pass_fds from Popen instead of reimplementing it. Thanks Baptiste
    Daroussin for the tip.
  * Fix typo in debug message. Thanks Clemens Lang!
  * Benefit from dictionary keys() behaving as set when comparing md5sums.
  * Prevent overwriting the destination when extracting with libarchive.
    Thanks Baptiste Daroussin noticing and initial implementation.
  * Fix PPU detection and associated tests.
  * Use lazy extraction instead of explicit bracketing. We now rely on
    Python garbage collector to delete file once we are done comparing.
    This will make parallel processing easier to implement.
  * Make container class available on demand instead of bracketing.
    This cleanups boilerplate code, and should make parallel processing
    easier to implement.
  * Always compare container content if applicable. This removes more
    boilerplate code.
  * Call xxd like other commands.
  * Analyze md5sums file in .deb before working on data.tar. This makes
    the code more robust and is required to properly skip files listed as
    identical in md5sums while doing parallel processing.
  * Add support for package names for OS other than Debian. The --list-tools
    command-line option now supports an optional argument to display a given
    operating system. When --list-tools is called without
    an optional argument and the current operating system is unknown,
    the list of packages for all known operating systems will be displayed.
    Initial implementation by Mattia Rizzolo, then greatly enhanced by
    Levente Polyak.
  * Update list of contributors.
  * Add contact info to README.
  * Add python3-guestfs to the list of Recommends.
  * Display a better error message when guestfs can't be started.
  * Set libguestfs memory allocation to 128 MiB in autopkgtest as more is
    likely to fail with adt-virt-qemu default settings.
  * Prevent CBFS comparator from scanning big files needlessly. Thanks Mike
    Hommey for the detailed bug report and suggestions. (Closes: #807997)

 -- Jérémy Bobbio <lunar@debian.org>  Tue, 15 Dec 2015 15:54:55 +0000

Jérémy Bobbio's avatar
Jérémy Bobbio committed
1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997
diffoscope (42) unstable; urgency=medium

  * Add missing Depends on python3-pkg-resources.
  * Add another autopkgtest to test command line without recommends.
  * Make comparison of zip archives with utf-8 file names more robust.
    (Closes: #805418)
  * Stop crashing on misencoded readelf output. (Closes: #804061)
  * Ignore encoding errors in diff output.
  * Add binutils-multiarch to Build-Depends so the test suite can pass
    on architectures other than amd64.

 -- Jérémy Bobbio <lunar@debian.org>  Fri, 20 Nov 2015 18:57:54 +0000

Jérémy Bobbio's avatar
Jérémy Bobbio committed
1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009
diffoscope (41) unstable; urgency=low

  * Minor rewordings in README.
  * Fix link in README. Thanks anthraxx.
  * Also skip tests when very common tools are unavailable.
  * Add git-buildpackage configuration in the hope it will help to get proper
    source tarball.
  * Allow commands to be called with specified environment variables.
  * Force ppudump to output time in UTC by setting TZDIR in the environment.

 -- Jérémy Bobbio <lunar@debian.org>  Sat, 14 Nov 2015 14:23:09 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2010 2011 2012 2013 2014 2015 2016 2017 2018 2019
diffoscope (40) unstable; urgency=low

  * Add missing files in PyPI package.
  * Use libarchive instead of debian.arfile to extract .deb.
  * Make python-debian optional. This will help packaging diffoscope in other
    distributions.
  * Add 'Programming Language' to PyPI classifiers.

 -- Jérémy Bobbio <lunar@debian.org>  Fri, 13 Nov 2015 12:03:16 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053
diffoscope (39) unstable; urgency=low

  [ Reiner Herrmann ]
  * Fix EPUB detection.

  [ Paul Gevers ]
  * Add diffoscope support for PPU files.

  [ Jérémy Bobbio ]
  * Split lines when they are recorded comments instead of waiting for the
    presenters to do it. This helps when there are multiple lines on stderr
    output.
  * Switch homepage URL to HTTPS. Thanks to Let's Encrypt!
  * Remove some Python 2 specific code in diffoscope.changes and
    diffoscope.comparators.__init__.
  * Make the tlsh module optional. python3-tlsh is now listed in Recommends.
  * Make file detection compatible with the pyhon-magic module available on
    PyPI.
  * Fix fallback code used when rpm module is unavailable. python3-rpm is now
    listed in Recommends.
  * Convert README to reStructuredText and update it.
  * Improve setup.py:
    - Fix the non-working PyTest class.
    - Update homepage URL.
    - Improve short description.
    - Add license field.
    - Update install_requires.
  * Update Build-Depends and Depends.
  * Also run the test suite without Recommends installed in autopkgtest.
  * Properly skip tests that requires external tools when they are not
    available.

 -- Jérémy Bobbio <lunar@debian.org>  Thu, 12 Nov 2015 12:28:05 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2054 2055 2056 2057 2058 2059 2060
diffoscope (38) unstable; urgency=medium

  * Fix dh_python3 package overrides so we get a correct versioned
    Depends on python3-tlsh.

 -- Jérémy Bobbio <lunar@debian.org>  Sat, 17 Oct 2015 11:05:12 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086
diffoscope (37) unstable; urgency=low

  * Switch to incremental interface for TLSH. That means we won't load
    800 MiB or more in memory to compute the fuzzy hash.
  * Add support for CBFS images (Closes: #788364)
  * Add support for .dsc files (Closes: #800359)
  * Fix handling of malformed md5sums file. (Closes: #799901)
  * Fix placeholder encoding issue when trimming stderr.
    (Closes: #799863)
  * Read text report as UTF-8 encoded in test_text_option_with_file.
    (Closes: #801766)
  * Read Haskell interfaces in binary mode (Closes: #801333)
  * Read md5sums file using UTF-8.
  * Add a test for --max-diff-block-lines.
  * Handle closing stdin for Command implementing feed_stdin.
  * Handle subprocess errors with no output when comparing with a command.
  * Use name and not path when doing binary comparisons.
  * Add a test for --list-tools.
  * Fix main exception handling.
  * Use text file comparison for .dsc and .changes when the referenced files
    are missing.
  * Do skip squashfs test if there's no user with uid 1000.
  * Use super() instead of the old cumbersome form.

 -- Jérémy Bobbio <lunar@debian.org>  Thu, 15 Oct 2015 16:45:55 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2087 2088 2089 2090 2091 2092 2093
diffoscope (36) unstable; urgency=low

  * Read Debian .changes file as utf-8 encoded.
  * Add missing encode() for the 'too much input for diff' message.

 -- Jérémy Bobbio <lunar@debian.org>  Tue, 22 Sep 2015 11:24:37 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124
diffoscope (35) unstable; urgency=low

  [ Jérémy Bobbio ]
  * Switch to Python 3. This means code has been changed slightly
    here and there. Issues related to text encoding should now be
    far less frequent. According to some preliminary benchmark,
    diffoscope should run faster as well.
  * The system tar is now used instead of the Python module to display Tar
    archive metadata. The output should be slightly more accurate.
  * Log exceptions raised while computing diffs as errors
  * Avoid concatenating many strings in hexdump_fallback. This matters when
    looking at big binary files with xxd unavailable.
  * Let's ignore command errors when the file content is identical.
  * Fix isoinfo arguments to read Joliet data on ISO9660 images.
  * Ignore errors when reading Joliet and Rockridge data in ISO9660 images.
  * Use threads instead of processes for multiprocessing when running diff.
    There is no measurable performance impact and it helps to simplify the
    code.
  * Use the right argument order when creating CalledProcessError.
  * Propagate failure of external commands feeding diff.
  * Improve debugging log for command lines and exit codes.
  * Remove she-bang from files not meant to be executed directly.
  * Add more tests for main() behavior.
  * Improve RPM header conversion.
  * Fix a refactoring error in compare_commented_files().

  [ Mattia Rizzolo ]
  * Drop X-Python-Version field, not needed anymore for python3.

 -- Jérémy Bobbio <lunar@debian.org>  Mon, 21 Sep 2015 21:23:56 +0000

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2125 2126 2127 2128
diffoscope (34) unstable; urgency=medium

  * Fix path to executable in README. Thanks Niko Tyni for the patch.
  * Encode file path when filtering it from readelf output. This fixes
2129
    diffoscope for gnome-clocks.  (Closes: #798398)
Jérémy Bobbio's avatar
Jérémy Bobbio committed
2130 2131 2132 2133 2134 2135 2136 2137 2138
  * Include ELF test files in the source tarball.
  * Fix required tool for zip tests.
  * Fix expected `unsquashfs -s` output for squashfs-tools 4.3.
  * Parse md5sums in .deb even if they are identical.
  * Log ignore files count when comparing data.tar in .deb.
  * Minor code improvemnts.

 -- Jérémy Bobbio <lunar@debian.org>  Thu, 17 Sep 2015 12:57:26 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2139 2140 2141 2142 2143 2144
diffoscope (33) unstable; urgency=medium

  * Fix path to diffoscope used to generate Recommends. (Closes: #797978)

 -- Jérémy Bobbio <lunar@debian.org>  Fri, 04 Sep 2015 10:20:45 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186
diffoscope (32) unstable; urgency=medium

  [ Jérémy Bobbio ]
  * Add `--fuzzy-threshold` option. This allows one to specify the TLSH score
    used as cut-off for fuzzy matching. Specifying 0 will disable
    fuzzy-matching entirely. Thanks Jakub Wilk for prompting me to implement
    this. (Closes: #797557)
  * Add `--new-file` to treat absent files as empty. Thanks Jakub Wilk for the
    suggestion. (Closes: #797560)
  * Enable comparisons of symlinks and devices given on the command line.
    (Closes: #796262)
  * Fix comparisons of device files. (Closes: #796288)
  * Perform comparisons of file metadata in directories using original path.
    (Closes: #796202)
  * Display default values in `--help`.
  * Stop unpacking Tar directories. Thanks h01ger for the report.
    (Closes: #797164)
  * Make directory comparison work again.
  * Fix and document required Python modules. Thanks plntyk for the feedback on
    IRC.
  * Pass `--force-local`. to cpio. We don't want filenames with ':' to trigger
    remote copies.
  * Mark that get_ar_content() as requiring the 'ar' executable.
  * Rework how diffoscope main() is run. Thanks Yaroslav Halchenko for the
    report and suggestions. (Closes: #796196)
  * Assume UTF-8 output if stdin does not advertise any encoding.
  * Give proper error message when run on non-existing files.
  * Output differences in directory test to ease debugging.
  * Update manpage. Thanks Jakub Wilk for reporting the issue.
    (Closes: #797561)
  * Properly handle SIGTERM and do cleanup temp files. Thanks Mattia Rizzolo
    for reporting this and how he did work around this deficiency.
    (Closes: #788568)
  * Fix handling of GHC .hi file (Closes: #796039)
  * Add a test on how Ctrl+C is handled.
  * Minor code improvements.

  [ Chris Lamb ]
  * Correct "comment" on Device comparator.

 -- Jérémy Bobbio <lunar@debian.org>  Thu, 03 Sep 2015 20:00:45 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210
diffoscope (31) unstable; urgency=low

  [ Reiner Herrman ]
  * Fix detection of jar archives.
  * Make some hardcoded limits configurable. (Closes: #795292)

  [ Mattia Rizzolo ]
  * Don't print the traceback when killed by KeyboardInterrupt.
  * Add a --debugger option to dump the user into pdb in case of crashes.
    (Closes: #796204)

  [ Jérémy Bobbio ]
  * Replace ssdeep by tlsh

  [ Chris Lamb ]
  * Unify to 4 spaces everywhere.
  * Leave string interpolation to logging.$level(..) calls.
  * Add missing 'sys' import.
  * Specify source of 'Files' correct; was using "Changes" leaked from for loop.
  * Remove unused and duplicate imports.
  * Support passing directories as "foo/" or "foo".

 -- Jérémy Bobbio <lunar@debian.org>  Fri, 21 Aug 2015 00:03:11 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221
diffoscope (30) unstable; urgency=low

  * Remove empty line at the beginning of HTML reports.
  * Stop failing to run the tests when uid 1000 doesn't exist.
  * Make .changes file matching more accurate.
  * Move the sanity check for version number from clean to build rule.
  * Remove leftover debug in squashfs comparator.
  * Stop decompressing squashfs directories as we compare content already.

 -- Jérémy Bobbio <lunar@debian.org>  Sun, 09 Aug 2015 12:18:30 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235
diffoscope (29) unstable; urgency=low

  [ Reiner Herrmann ]
  * Prevent empty line at the end of squashfs listing.

  [ Jérémy Bobbio ]
  * Rename to diffoscope. debbindiff has grown way beyond a being just a tool
    to compare Debian packages. Let's rename it to better reflect this state of
    things.
  * Add a favicon to HTML reports.
  * Always use pybuild in debian/rules.

 -- Jérémy Bobbio <lunar@debian.org>  Mon, 03 Aug 2015 15:55:07 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2236 2237 2238 2239 2240 2241 2242 2243 2244
debbindiff (28) unstable; urgency=low

  * Improve code quality by storing comments for Difference as lists.
  * Fix label for content of gzip, bzip2, and xz files.
  * Handle when only the encoding is different when comparing text files.
    (Closes: #794347)

 -- Jérémy Bobbio <lunar@debian.org>  Sun, 02 Aug 2015 17:21:52 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260
debbindiff (27) unstable; urgency=low

  [ Reiner Herrmann ]
  * Add dh-python to Build-Depends.

  [ Daniel Kahn Gillmor ]
  * Add support for Mono PE executables.

  [ Holger Levsen ]
  * Add myself to Uploaders.

  [ Jérémy Bobbio ]
  * Add tests for tar comparator.
  * Massive rearchitecturing.
  * Now use libarchive to handle cpio archives and iso9660 images.
  * find is now used to compare directory listings.
2261
  * Symlinks and devices can now be properly compared. (Closes: #789003)
Jérémy Bobbio's avatar
Jérémy Bobbio committed
2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284
  * Files in squashfs are now extracted one by one.
  * Text files are now compared after being decoded with the detected
    encoding. Encoding differences are reported. (Closes: #785777)
  * Pre-compile regexps for ELF archives to get a good performance gain
    when comparing ELF objects.
  * Display better stacktrace for functions and methods using decorators.
  * Reset locale environment during tests.
  * Use numeric uid/gid when listing cpio content.
  * Set timezone to UTC when configuring locale.
  * Return no differences when there's none even when a required tool is
    unavailable.
  * Fix rpm expected listing after cpio change.
  * Skip tests when required tools are missing.
  * Skip squashfs listing test until #794096 is solved.
  * Analyze md5sums in .deb and skip identical files.
  * Add support for sqlite3 databases.
  * Implement fuzzy-matching of files in the same container using ssdeep.
  * Add pydist-overrides for magic and rpm.
  * When comparing .changes, match names without version numbers.
  * Switch to pybuild as dh buildsystem.

 -- Jérémy Bobbio <lunar@debian.org>  Fri, 31 Jul 2015 08:38:10 +0000

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2285 2286 2287 2288 2289 2290 2291 2292
debbindiff (26) unstable; urgency=low

  * Declare the package autopkgtestable.
  * Fix comparator for unknown files.
  * Add tests for unknown files comparator.

 -- Jérémy Bobbio <lunar@debian.org>  Sun, 28 Jun 2015 09:22:21 +0000

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317
debbindiff (25) unstable; urgency=low

  * Comparators now have a test suite with 93% code coverage.
  * Support autopkgtest to run the test suite.
  * Properly strip path from javap output even when they are relative.
  * Also remove 'Last modified' and 'MD5 checksum' lines from javap output.
  * Factorize readelf commands.
  * Filter archive name from readelf output.
  * Filter archive name from objdump output.
  * Fix charset handling of .mo files.
  * Don't be quadratic when parsing .mo header.
  * Skip archive name in zipinfo output.
  * Fix destination path when decompressing gzip files not ending in .gz.
  * Filter image name from squashfs superblock information.
  * Fix comparison of files in cpio archives.
  * Change how we handle a missing RPM module.
  * Don't add empty Difference when comparing files with equal metadata in
    directories.
  * Filter access time from stat output.
  * Rename .changes comparator.
  * Rework .changes comparator.
  * Comparators now return a single Difference instead of a list of Difference.

 -- Jérémy Bobbio <lunar@debian.org>  Sat, 27 Jun 2015 14:32:58 +0000

Reiner Herrmann's avatar
Reiner Herrmann committed
2318 2319 2320 2321 2322 2323
debbindiff (24) unstable; urgency=medium

  * Fix for undefined variables introduced in last release.

 -- Reiner Herrmann <reiner@reiner-h.de>  Tue, 23 Jun 2015 00:15:28 +0200

Reiner Herrmann's avatar
Reiner Herrmann committed
2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334
debbindiff (23) unstable; urgency=medium

  [ Helmut Grohne ]
  * Speed up diff collection.
  * Read lines in larger chunks.

  [ Reiner Herrmann ]
  * Don't follow symlinks, but print their targets.

 -- Reiner Herrmann <reiner@reiner-h.de>  Mon, 22 Jun 2015 23:19:17 +0200

Reiner Herrmann's avatar
Reiner Herrmann committed
2335 2336 2337 2338 2339 2340 2341
debbindiff (22) unstable; urgency=low

  * Add myself to uploaders
  * Swap JDK dependencies, so openjdk is preferred (thanks mapreri)

 -- Reiner Herrmann <reiner@reiner-h.de>  Sun, 14 Jun 2015 23:05:49 +0200

Reiner Herrmann's avatar
Reiner Herrmann committed
2342 2343 2344 2345 2346 2347 2348 2349
debbindiff (21) unstable; urgency=low

  * Non-maintainer upload.
  * Add support for Java .class files.
  * Add support for .ipk package files.

 -- Reiner Herrmann <reiner@reiner-h.de>  Sat, 13 Jun 2015 21:38:20 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360
debbindiff (20) unstable; urgency=low

  [ Reiner Herrmann ]
  * info files can contain numbers in the extension

  [ Jérémy Bobbio ]
  * Fix diff parser when skipping until the end of a file without a newline.
  * Use same encoding as stdin when output is not a TTY. (Closes: #785288)

 -- Jérémy Bobbio <lunar@debian.org>  Sun, 17 May 2015 16:05:14 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2361 2362 2363 2364 2365 2366 2367 2368
debbindiff (19) unstable; urgency=low

  [ Reiner Herrmann ]
  * Fix info files comparator by specifying the correct parameter name
    for the text comparator. (Closes: #784891)

 -- Jérémy Bobbio <lunar@debian.org>  Tue, 12 May 2015 10:35:48 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384
debbindiff (18) unstable; urgency=low

  [ Reiner Herrmann ]
  * Use zip comparator for pk3 files.
  * Use text comparator for info files.
  * Drop mime type for info files.
  * Remove limit of diff output again.

  [ Jérémy Bobbio ]
  * Assume tar member names are UTF-8 encoded. This allows debbindiff to
    process drmips.
  * Write a text report on stdout as default behavior.
  * Allow both --html and --text to produce output in one run.

 -- Jérémy Bobbio <lunar@debian.org>  Sat, 09 May 2015 11:29:46 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400
debbindiff (17) unstable; urgency=low

  [ Jérémy Bobbio ]
  * Add support for ISO9660 images.
  * Catch a few more initrds as such.
  * Reimplement are_same_binaries() using cmp.

  [ Reiner Herrmann ]
  * Use gzip comparator for .dz (dictzip) files.
  * Added isoinfo to list of tool providers.

  [ Yasushi SHOJI ]
  * Disable 'Device' section diff in stat output. (Closes: #783792)

 -- Jérémy Bobbio <lunar@debian.org>  Thu, 30 Apr 2015 19:29:26 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412
debbindiff (16) unstable; urgency=low

  [ Reiner Herrmann ]
  * Remove temporary directory when exception is raised. (Closes: #782253)
  * Fix extraction when Zip member contain "../" in their path.

  [ Jérémy Bobbio ]
  * Fail with a better error message when unable to create a Queue.
    (Closes: #782551)

 -- Jérémy Bobbio <lunar@debian.org>  Thu, 16 Apr 2015 11:07:58 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2413 2414 2415 2416 2417 2418 2419 2420 2421 2422
debbindiff (15) unstable; urgency=low

  * Terminate xxd if its output was too long.
  * Handle broken zip files by falling back on binary comparison.
  * Fix an over-matching jar/war filename regexp.
  * Fix .hi comparator.
  * Fix some file descriptor leaks.

 -- Jérémy Bobbio <lunar@debian.org>  Sat, 04 Apr 2015 18:30:48 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435
debbindiff (14) unstable; urgency=low

  * Remove diffutils from Recommends as it is Essential:yes.
  * Fallback to Python hexlify if xxd is not available.
  * Decode msgunfmt output using the actual PO charset.
  * Stop buffering output of most external commands and
    send it to diff as it comes. (Closes: #781373)
  * Stop feeding input to diff after a certain amount of lines,
    as GNU diff cannot cope with arbitrary large output.
  * Fix newline and tab handling in HTML presenter.

 -- Jérémy Bobbio <lunar@debian.org>  Thu, 02 Apr 2015 16:16:59 +0200

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453
debbindiff (13) unstable; urgency=low

  [ Helmut Grohne ]
  * Fix several imports for RequiredToolNotFound.

  [ Jérémy Bobbio ]
  * Remove dead code from HTML presenter.
  * Fix tab handling in HTML presenter.
  * Swallow stderr when running showttf. (Closes: #781374)
  * Swallow stderr for readelf and objdump.
  * Use pipes instead of temp files to feed diff.
  * Stop processing diff output after too many lines.
  * Use LINESIZE constant directly in HTML presenter.
  * Better handle non-printable characters in HTML presenter.
  * Cut long lines in HTML presenter.

 -- Jérémy Bobbio <lunar@debian.org>  Sat, 28 Mar 2015 18:53:29 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468
debbindiff (12) unstable; urgency=low

  [ Helmut Grohne ]
  * Attempt at fixing unicode issues with --text. (Closes: #778641)

  [ Jérémy Bobbio ]
  * Try with utf-8 encoding when comparing text files and no common
    encoding has been detected.
  * Perform content comparison when finding differences instead of
    waiting for the presentation phases. (Closes: #781280)
  * Instead of using vim, the HTML view is created from diff output.
    (Closes: #772029, #779476)

 -- Jérémy Bobbio <lunar@debian.org>  Fri, 27 Mar 2015 18:42:26 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2469 2470 2471 2472 2473 2474 2475 2476 2477 2478
debbindiff (11) unstable; urgency=low

  * Use latin-1 to decode showttf output.
  * Normalize locale environment variables on startup and subsequently use
    UTF-8 to decode output of most external tools. (Closes: #780863)
  * Error out when encoding is not Unicode-compatible for text output.
    (Closes: #778641)

 -- Jérémy Bobbio <lunar@debian.org>  Mon, 23 Mar 2015 22:00:15 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511
debbindiff (10) unstable; urgency=low

  [ Chris Lamb ]
  * SVGZ files are gzip files.
  * Use gzip comparator for .tgz files.

  [ Reiner Herrmann ]
  * Use zip comparator for Java web archives (.war).
  * Use zip comparator for epub files.
  * Don't fill up diffs with dots.
  * Add support for squashfs images.

  [ Jérémy Bobbio ]
  * Output a nicer name for sub-directories.
  * Also compare stat, acl, and xattrs when comparing directories.
  * Check for availability of tools required by comparators (original work by
    Reiner Herrmann). Most packages in Depends are now in Recommends.
  * Ask objdump to display more sections.
  * Drop stderr output when running cpio -t.
  * Attempt to sort out multiple decoding and encoding issues.
    (Closes: #778641)
  * Fix source path when handling gzip, bzip2 and xz. (Closes: #779474)
  * Don't crash when two .changes don't contain the same files.
    (Closes: #779391)
  * Properly split lines when comparing .changes.
  * Add newlines if needed in text output.
  * Remove most table borders in HTML output. (Closes: #779475)
  * Properly close <span/> in HTML output.
  * Add anchors in HTML output. (Closes: #778537)
  * Update debian/copyright.

 -- Jérémy Bobbio <lunar@debian.org>  Fri, 20 Mar 2015 13:52:44 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527
debbindiff (9) unstable; urgency=medium

  [ Chris Lamb ]
  * Add rpm-common to Build-Depends so that we can “import rpm" during build.
  * Code improvements improvements.

  [ Jérémy Bobbio ]
  * Add plain text output for differences. Thanks Helmut Grohne for the
    original patch. (Closes: #778423)
  * Exit with 2 in case of errors. (Closes: #774983)
  * Properly output diffs when one of the file is empty.
  * Add support for comparing directories.
  * Update debian/copyright.

 -- Jérémy Bobbio <lunar@debian.org>  Sun, 15 Feb 2015 12:13:46 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550
debbindiff (8) unstable; urgency=medium

  [ Peter De Wachter ]
  * Use `diff -a` so debbindiff doesn't abort on binary files.

  [ Jérémy Bobbio ]
  * Verify that version in debian/changelog matches debbindiff version.
  * Update debian/copyright.
  * Recognize text/plain files.

  [ Reiner Herrmann ]
  * Increased line context of diff to further lower running time.
  * Use text comparator for xml/xhtml files.
  * Use text comparator for postscript files.
  * Add support for cpio archives.
  * Add support for rpm packages.
  * Fix a typo in debbindiff name in source headers.

  [ Chris Lamb ]
  * Improve code quality in several places.

 -- Jérémy Bobbio <lunar@debian.org>  Tue, 10 Feb 2015 03:02:55 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567
debbindiff (7) unstable; urgency=medium

  [ Jérémy Bobbio ]
  * Add support for PDF files.
  * Add --max-report-size command-line option.
  * Add extra mime type for .deb.
  * Fallback on binary comparison when external tools fail. (Closes: #764140)
  * Update copyrights.

  [ Helmut Grohne ]
  * Avoid unnecessary guess_mime_type calls.

  [ Reiner Herrmann ]
  * Speed up creation of diffs by removing extra lines before calling vim.

 -- Jérémy Bobbio <lunar@debian.org>  Sat, 10 Jan 2015 14:05:17 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2568 2569 2570 2571 2572 2573 2574
debbindiff (6) unstable; urgency=medium

  * Fallback to binary comparison when text encoding gets misdetected.
  * Skip full comparison when small files match.

 -- Jérémy Bobbio <lunar@debian.org>  Wed, 07 Jan 2015 12:01:11 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586
debbindiff (5) unstable; urgency=medium

  * Properly encode strings before writing them to tempfiles.
    (Closes: #764254)
  * Fallback on binary comparison when text encoding is unknown.
  * Always use given source path in binary_fallback.
  * Add support for .udeb.
  * Add support for ttf and otf files.
  * Add support for png files. (Closes: #773573)

 -- Jérémy Bobbio <lunar@debian.org>  Tue, 30 Dec 2014 12:34:13 +0100

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2587 2588
debbindiff (4) unstable; urgency=medium

2589
  * Look harder for differences in zip files if needed.
Jérémy Bobbio's avatar
Jérémy Bobbio committed
2590 2591
  * Avoid deadlock when calling vimdiff. (Closes: #764131, #764420)
  * Add support for an external CSS. (Closes: #764470)
2592 2593
  * Improve default CSS to keep tables from overflowing.
  * Bump Standards-Version.
Jérémy Bobbio's avatar
Jérémy Bobbio committed
2594 2595 2596

 -- Jérémy Bobbio <lunar@debian.org>  Sun, 09 Nov 2014 12:35:07 +0100

2597 2598 2599 2600
debbindiff (3) unstable; urgency=low

  * Initial Debian release. (Closes: #763328)

Jérémy Bobbio's avatar
Jérémy Bobbio committed
2601
 -- Jérémy Bobbio <lunar@debian.org>  Thu, 02 Oct 2014 13:52:55 +0200