1. 22 Sep, 2017 1 commit
  2. 20 Sep, 2017 1 commit
  3. 09 Sep, 2017 1 commit
  4. 06 Jul, 2017 1 commit
    • Ximin Luo's avatar
      presenters: html: more intuitive "limit" flags, some backwards-incompatible changes: · c6aaca0f
      Ximin Luo authored
        Old: in --html-dir this limited only the parent page
        New: in --html-dir this applies across all pages
        Old: in --html-dir 4 * this number applied across all pages (for a given diff block)
        New: in --html-dir this applies across all pages (for a given diff block)
        New flag
        Applies to the sole --html page, or the top-level --html-dir page
        Renamed to
        No behavioural changes
        Renamed to
        Old: Only applied to the top-level --html-dir page
        New: Applies to the sole --html page, or the top-level --html-dir page
      The reasoning behind these changes is that it's unlikely someone would want to
      generate a 500MB single html page, but they might in theory generate a 500MB html
      directory split up into several 200KB pages, plus a single 200KB html page as
      a summary. The new semantics for these flags allows both to be generated in one
      run using the same set of flags.
  5. 30 Jun, 2017 1 commit
  6. 29 May, 2017 1 commit
  7. 13 May, 2017 1 commit
  8. 29 Apr, 2017 2 commits
  9. 10 Feb, 2017 1 commit
  10. 07 Feb, 2017 1 commit
  11. 22 Jan, 2017 1 commit
  12. 18 Dec, 2016 1 commit
  13. 28 Sep, 2016 1 commit
  14. 08 Sep, 2016 3 commits
    • Ximin Luo's avatar
      html-dir: use 4 * the given max-diff-block-lines · 8a4729c9
      Ximin Luo authored
      This way, --html x.html --html-dir x gives reasonable output for both.
      The hardcoded ratio could be another flag, but I think we have enough flags.
    • Ximin Luo's avatar
      difference: Don't truncate diff output by default, and use a separate flag when doing so · 35d48f9d
      Ximin Luo authored
      Previously, max-diff-block-lines would also (on top of altering html output)
      interfere with diff's output on a deeper level, hiding it from all presenters.
      This was surprising with --text output since it does not honour max-report-size
      and is meant to be a "pure-by-default" output that shows everything.
      So now we move this behaviour to a separate flag, max-diff-block-lines-saved,
      and document it more clearly. Most users should not need this, unless they keep
      running out of memory.
    • Ximin Luo's avatar
      html-dir: In html-dir output, split large diffs across several child pages · 9d804217
      Ximin Luo authored
      Also add some flags so html-dir behaviour is easier to reason about.
      1. Previously, max-report-size would apply to both parent and child pages,
      which didn't work well if you disabled this limit.
      Instead, we now add an extra --max-report-child-size that remains in effect
      even with --no-default-limits.
      2. Previously, separate-file-diff-size would affect the parent page in an
      unsmooth way: if a diff block had N lines, the parent page would contain N
      lines, but if the diff block had N+1 lines, then 0 would be shown on the parent
      page. This gives a visually counterintuitive result where a larger diff would
      have less presence on the parent overview page.
      Instead, we now change this to --max-diff-block-lines-parent which has a
      smoother behaviour. If the diff block has N+1 lines, then N would be shown on
      the parent page and 1 would be shown on the child page. This could be smoothed
      out further, but we'll leave this complexity for the future.
  15. 06 Sep, 2016 2 commits
  16. 24 Aug, 2016 1 commit
  17. 13 Dec, 2015 1 commit
    • Joachim Breitner's avatar
      Multi-file HTML output · 99c6c515
      Joachim Breitner authored
      In order to make it feasible to create HTML output with large diffs,
      this adds a new presenter mode (--html-dir) which spreads the output
      over multiple files in a directory.
      In particular, the table presenting a diff that is larger than the
      number of bytes specified via --separate-file-diff-size (200kB by
      default) is writen to a separate file and loaded on demand using
      By default, JQuery is symlinked into the output directory from
      /usr/share/javascript/jquery/jquery.js (install libjs-jquery!), but an
      alternative location (e.g. /javascript/jquery/jquery.js) can be
      specified using the --jquery command line parameter.
      Closes: #806891
  18. 03 Sep, 2015 1 commit
    • Jérémy Bobbio's avatar
      Add --new-file to treat absent files as empty · d6fcb861
      Jérémy Bobbio authored
      When specifying --new-file, diffoscope will treat non-existing files
      (which also applies to containers) as empty.
      We had to change perform_fuzzy_matching to return names so we can
      pop them out the dictionaries with the set of files that have not
      been compared.
      Thanks Jakub Wilk for the suggestion.
      Closes: #797560
  19. 02 Sep, 2015 3 commits
  20. 20 Aug, 2015 1 commit
  21. 19 Aug, 2015 2 commits