Permalink
Commits on Mar 28, 2017
  1. Merge pull request #171 from ViktorHofer/master

    [WIP] netstandard support
    McNeight committed on GitHub Mar 28, 2017
Commits on Mar 21, 2017
  1. nunit test workaround

    ViktorHofer committed Mar 21, 2017
Commits on Mar 19, 2017
Commits on Dec 5, 2016
  1. Merge pull request #154 from xied75/master

    tiny change to make appveyor back to work
    McNeight committed on GitHub Dec 5, 2016
Commits on Nov 30, 2016
Commits on Nov 24, 2016
  1. Merge pull request #150 from zone117x/master

    Fix compiling of original NET45 csproj, better default encoding, ...
    McNeight committed on GitHub Nov 24, 2016
Commits on Nov 2, 2016
  1. Fix compiling of original NET45 csproj, switch default encoding to UT…

    …F8 rather than current system encoding, removed non-generic collection nuget dependency
    Matt Little committed Nov 2, 2016
Commits on Oct 31, 2016
  1. Merge pull request #138 from zone117x/master

    McNeight committed on GitHub Oct 31, 2016
Commits on Oct 10, 2016
  1. Merge pull request #135 from charlesgriffiths/master

    FindLongestMatch looks beyond lookahead
    McNeight committed on GitHub Oct 10, 2016
  2. Merge pull request #134 from charlesgriffiths/patch-2

    change while to if
    McNeight committed on GitHub Oct 10, 2016
Commits on Oct 1, 2016
  1. Update PCL dependency

    zone117x committed Oct 1, 2016
Commits on Sep 11, 2016
  1. * Implemented NETStandard1.3 lib and made changes get lib compiling

    * The ZIP AES changes need tested
    * The streams were improperly overriding Stream.Close() according to https://msdn.microsoft.com/en-us/library/ms143450(v=vs.110).aspx ... these were changed to Stream.Dispose(bool) but there may be problems around garbage collection - needs reviewed and tested
    * Unsupported exception serialization and constructors were removed
    * DefaultCodePage changes need reviewed
    zone117x committed Sep 11, 2016
Commits on Aug 16, 2016
  1. FindLongestMatch looks beyond lookahead

    If lookahead is less than MAX_MATCH, FindLongestMatch can look beyond where it should. This is not a serious problem because matchLen is checked before returning, but in a rare case I believe a false match could obscure a better match before the former is found out.
    
    Testing shows the new function runs slightly slower than the old version, but the difference is generally less than 1% of total runtime.
    charlesgriffiths committed on GitHub Aug 16, 2016
Commits on Aug 15, 2016
  1. change while to if

    This while should never loop
    charlesgriffiths committed on GitHub Aug 15, 2016
  2. Merge branch 'pr84'

    # Please enter a commit message to explain why this merge is necessary,
    # especially if it merges an updated upstream into a topic branch.
    #
    # Lines starting with '#' will be ignored, and an empty message aborts
    # the commit.
    McNeight committed Aug 15, 2016
  3. Merge branch 'master' of https://github.com/kkguo/SharpZipLib into pr84

    # Please enter a commit message to explain why this merge is necessary,
    # especially if it merges an updated upstream into a topic branch.
    #
    # Lines starting with '#' will be ignored, and an empty message aborts
    # the commit.
    McNeight committed Aug 15, 2016
  4. Merge branch 'Ezghoul-master'

    # Please enter a commit message to explain why this merge is necessary,
    # especially if it merges an updated upstream into a topic branch.
    #
    # Lines starting with '#' will be ignored, and an empty message aborts
    # the commit.
    McNeight committed Aug 15, 2016
  5. Merge branch 'master' of https://github.com/Ezghoul/SharpZipLib into …

    …Ezghoul-master
    
    # Conflicts:
    #	ICSharpCode.SharpZipLib/BZip2/BZip2OutputStream.cs
    McNeight committed Aug 15, 2016
Commits on Aug 14, 2016
  1. Merge pull request #133 from charlesgriffiths/patch-1

    PendingBuffer ToByteArray() to return all bytes
    McNeight committed on GitHub Aug 14, 2016
  2. PendingBuffer ToByteArray() to return all bytes

    If AlignToByte() (or a procedure similar to that in Flush()) is not done within ToByteArray(), the bits variable may contain up to 15 bits not present in buffer_ which could result in data truncation. I have added AlignToByte() on the assumption that ToByteArray() will only be called when all output to PendingBuffer is complete.
    charlesgriffiths committed on GitHub Aug 14, 2016
Commits on Aug 13, 2016
  1. Merge pull request #127 from JetBrains/tests

    Fixed 10 Tests (out of 16 Failing)
    McNeight committed on GitHub Aug 13, 2016
  2. Merge pull request #132 from McNeight/master

    Pull from McNeight/SharpZipLib
    McNeight committed on GitHub Aug 13, 2016
Commits on Aug 6, 2016
  1. Merge pull request #125 from teamneusta/pr/FixVS2015Update3Build

    Fix build on VS2015 Update 3
    McNeight committed on GitHub Aug 6, 2016
Commits on Jul 28, 2016
  1. While fixing the ValuesPreserved test:

    • Fix TMAGIC = "ustar " into TMAGIC = "ustar". It was meant to denote that this value should include a trailing NULL char, but actually the constant were authored with a space not NULL, so the NULL were never written, and the meaning space were written as is. Functions which checked for this value failed because they expected a 5-char word and got 6-char.
    • GetAsciiBytes might be requested to write more chars than there are in the string, make sure these are written as NULLs (would be correctly ignored when reading), unlike whatever trash might be there in the buffer).
    • Update HeaderEquality test, it were setting magic to the well-known "ustar" value and expecting to see a diff. But the entry is set to "ustar" by default. This test used to pass because the default "ustar" had a trailing space which made it another string. Set to smth which is really different now.
    hypersw committed Jul 28, 2016
  2. Fix LongNames failing for names specifically 512n+1 chars long: we're…

    … allocating an extra char which is written NULL for whatever reason, but the writeout code were forgetting to actually write it if it were the only char to fall out of the write buffer of 512 bytes.
    hypersw committed Jul 28, 2016
  3. Without the backslash, "C:Dir" does not take the child folder under t…

    …he drive root but takes "whatever directory is the current directory for drive C: at the moment" and concats "Dir" to that, which would yield unexpected test results if you're using drive C: and got some currentdir on it different from the root.
    hypersw committed Jul 28, 2016
  4. Fix unduping slashes: after the first one found, look for double-slas…

    …hes again, not single. This also fixes the corresponding test.
    hypersw committed Jul 28, 2016
Commits on Jul 18, 2016
Commits on May 31, 2016
  1. Merge pull request #18 from icsharpcode/master

    GZip Trailing Garbage
    McNeight committed May 31, 2016
Commits on May 21, 2016
  1. Merge pull request #117 from silijon/issue-116-trailing-garbage-not-i…

    …gnored
    
    John,
    
    Thank you for your contribution. This resolves issue #116.
    
    -Neil
    McNeight committed May 21, 2016
Commits on May 19, 2016
  1. Fixed GzipInputStream to complete reading gracefully if at least one …

    …block has been successfully processed. This allows for a compressed stream that may contain trailing garbage.
    silijon committed May 19, 2016