[xoreos-git] [xoreos/xoreos] eb2c65: COMMON: Remove MemoryWriteStreamDynamic::pos()

GitHub noreply at github.com
Mon Nov 28 02:25:59 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: eb2c65ea5a0584de23bcc18f2fb9279a04e91f5a
      https://github.com/xoreos/xoreos/commit/eb2c65ea5a0584de23bcc18f2fb9279a04e91f5a
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-24 (Thu, 24 Nov 2016)

  Changed paths:
    M src/common/memwritestream.cpp
    M src/common/memwritestream.h

  Log Message:
  -----------
  COMMON: Remove MemoryWriteStreamDynamic::pos()

It doesn't need to exist. The position and size are always the same;
they're the number of bytes written to. The capacity denotes the size
of the memory block.


  Commit: c84e962de5f09a1aab7e2dedb4a69e6dafe552f0
      https://github.com/xoreos/xoreos/commit/c84e962de5f09a1aab7e2dedb4a69e6dafe552f0
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-25 (Fri, 25 Nov 2016)

  Changed paths:
    M src/common/memwritestream.h

  Log Message:
  -----------
  COMMON: Document MemoryWriteStream::size() and pos()

size() returns the number of bytes in the memory block in total, while
pos() is the current writing position.


  Commit: de75a9d80fb1ab1a9bcea4685f3ba24b5df012ff
      https://github.com/xoreos/xoreos/commit/de75a9d80fb1ab1a9bcea4685f3ba24b5df012ff
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-25 (Fri, 25 Nov 2016)

  Changed paths:
    M src/common/memwritestream.h

  Log Message:
  -----------
  COMMON: Document MemoryWriteStreamDynamic::size()

As this stream grows dynamically, size() returns the number of bytes
written to in total.


  Commit: 02e514466c96412b3ec3ad5495a092f9f2edb981
      https://github.com/xoreos/xoreos/commit/02e514466c96412b3ec3ad5495a092f9f2edb981
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-25 (Fri, 25 Nov 2016)

  Changed paths:
    M src/common/writefile.cpp
    M src/common/writefile.h

  Log Message:
  -----------
  COMMON: Add WriteFile::size()

Returns the number of bytes written to the current file in total.


  Commit: 465283930154ce1b0cfceea10eb14a7b032aab0c
      https://github.com/xoreos/xoreos/commit/465283930154ce1b0cfceea10eb14a7b032aab0c
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-26 (Sat, 26 Nov 2016)

  Changed paths:
    M src/aurora/herffile.cpp

  Log Message:
  -----------
  AURORA: Store the erf.dict name inside the HERF resource list


  Commit: 36affd0182087afdefb152b147213284add89d05
      https://github.com/xoreos/xoreos/commit/36affd0182087afdefb152b147213284add89d05
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-27 (Sun, 27 Nov 2016)

  Changed paths:
    M src/aurora/ndsrom.cpp

  Log Message:
  -----------
  AURORA: Fix typo in an exception thrown in NDSFile


  Commit: ddd753427bfb41d37daa9c58378c3dde436d1801
      https://github.com/xoreos/xoreos/commit/ddd753427bfb41d37daa9c58378c3dde436d1801
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-28 (Mon, 28 Nov 2016)

  Changed paths:
    M src/aurora/smallfile.cpp
    M src/aurora/smallfile.h

  Log Message:
  -----------
  AURORA: Implement Nintendo DS LZSS (SMALL files) compression

Both the method 0x00 (uncompressed, with a 4 byte header) and the
method 0x10 (LZSS) are supported.

Code loosely based on DSDecmp by Barubary, released under the terms of
the MIT license.
See <https://github.com/gravgun/dsdecmp/blob/master/CSharp/DSDecmp/Formats/Nitro/LZ10.cs#L249>
and <https://code.google.com/p/dsdecmp/>.


Compare: https://github.com/xoreos/xoreos/compare/e5093d40365e...ddd753427bfb


More information about the xoreos-git mailing list