1. 25 Dec, 2017 1 commit
    • Mark Adler's avatar
      Add run-time zlib version check to handle weak-linking case. · 06e899b5
      Mark Adler authored
      This allows for weak linking with a zlib library whose version is
      older than the zlib header file used to compile pigz. The version
      is checked at run time, and deflatePending() is not called if the
      linked library does not have it. This commit adds a check as well
      when invoked for the earliest acceptable version of zlib (1.2.3).
  2. 14 Dec, 2016 1 commit
    • Mark Adler's avatar
      Make the build a little more portable for non-gnu make and cc. · 4e5047ba
      Mark Adler authored
      BSD make doesn't understand $^, and the Sun make has a problem with
      $<. This avoids the automatic variables by explicitly specifying
      the objects and targets. This also avoids a compiler complaint for
      a #error directive by putting the message in quotes.
  3. 13 Dec, 2016 1 commit
  4. 12 Dec, 2016 4 commits
    • Mark Adler's avatar
    • Mark Adler's avatar
      Add -M, --time option to store or restore the modification time. · f316d4aa
      Mark Adler authored
      This replaces the previous -M for --maxsplits with -J. (Hopefully
      no one was using -M. Probably not.) This fills a hole left by the
      change of -n, --no-name to also not store/restore the modification
      time. Now -nM will store/restore the modification time, but not
      the name. The full set of combinations is -n for neither, -N for
      both, -nM for just the time, and -Nm for just the name. Note that
      the order is important. -n or -N will overwrite the effect of a
      preceding -m or -M. The default for compression is -N, and the
      default for decompression is -n. So -N or -n can be left off for
      those cases, respectively.
    • Mark Adler's avatar
      Change -n, --no-name to also not store or restore mod time. · 33c140e5
      Mark Adler authored
      Though this is not consistent with the name of the option, this
      commit makes pigz compatible with gzip's use of -n and --no-time.
    • Mark Adler's avatar
      Use -m instead of -T for --no-time, for gzip compatibility. · 6fda8570
      Mark Adler authored
      Apparently gzip has supported -m all along to not include the
      modify time, but it wasn't in the command help list. This commit
      adds -m as an alias for --no-time. -T is retained as an alias for
      --no-time for backwards compatibility with previous versions of
  5. 15 Oct, 2016 3 commits
  6. 12 Oct, 2016 1 commit
    • Mark Adler's avatar
      Avoid the use of variable length arrays. · bc280f82
      Mark Adler authored
      Microsoft has not implemented and refuses to implement C99 aspects
      that are not also part of C++11 or later C++ standards. (Note that
      the "99" in C99 refers to 1999. That was the year my younger son
      was born, who is now applying for college.)
  7. 11 Oct, 2016 1 commit
    • Mark Adler's avatar
      Produce Zip64 format as needed when using -K (--zip). · 4079828f
      Mark Adler authored
      Before -K would fail when the compressed or uncompressed data, or
      the offset of the central directory, was 4 GiB or more. Now -K
      will use Zip64 data descriptors in the local and central headers,
      and will use the Zip64 end records as needed.
  8. 02 Oct, 2016 5 commits
  9. 27 Sep, 2016 1 commit
  10. 16 Aug, 2016 1 commit
  11. 30 May, 2016 7 commits
  12. 20 Aug, 2015 1 commit
  13. 29 Jul, 2015 1 commit
  14. 25 Jan, 2015 1 commit
  15. 24 Jan, 2015 8 commits
  16. 23 Jan, 2015 1 commit
  17. 22 Jan, 2015 2 commits