[xoreos-git] [xoreos/xoreos-tools] a99033: VERSION: Move version.cpp from libcommon.la into i...

GitHub noreply at github.com
Mon Oct 31 00:32:28 CET 2016


  Branch: refs/heads/coverity_scan
  Home:   https://github.com/xoreos/xoreos-tools
  Commit: a99033dcc620a9c83819410cd9850923d9266ca3
      https://github.com/xoreos/xoreos-tools/commit/a99033dcc620a9c83819410cd9850923d9266ca3
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    M CMakeLists.txt
    M configure.ac
    M src/Makefile.am
    M src/cbgt2tga.cpp
    M src/cdpth2tga.cpp
    M src/common/Makefile.am
    R src/common/version.cpp
    R src/common/version.h
    M src/convert2da.cpp
    M src/desmall.cpp
    M src/fixpremiumgff.cpp
    M src/gff2xml.cpp
    M src/nbfs2tga.cpp
    M src/ncgr2tga.cpp
    M src/ncsdis.cpp
    M src/ssf2xml.cpp
    M src/tlk2xml.cpp
    M src/unerf.cpp
    M src/unherf.cpp
    M src/unkeybif.cpp
    M src/unnds.cpp
    M src/unnsbtx.cpp
    M src/unrim.cpp
    A src/version/Makefile.am
    A src/version/version.cpp
    A src/version/version.h
    M src/xml2ssf.cpp
    M src/xml2tlk.cpp
    M src/xoreostex2tga.cpp

  Log Message:
  -----------
  VERSION: Move version.cpp from libcommon.la into its own libversion.la


  Commit: d5fa2eaeb44c4a71f1fa75c3d13cb9be471f6e84
      https://github.com/xoreos/xoreos-tools/commit/d5fa2eaeb44c4a71f1fa75c3d13cb9be471f6e84
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    M src/cbgt2tga.cpp
    M src/cdpth2tga.cpp
    M src/convert2da.cpp
    M src/desmall.cpp
    M src/fixpremiumgff.cpp
    M src/gff2xml.cpp
    M src/nbfs2tga.cpp
    M src/ncgr2tga.cpp
    M src/ncsdis.cpp
    M src/ssf2xml.cpp
    M src/tlk2xml.cpp
    M src/unerf.cpp
    M src/unherf.cpp
    M src/unkeybif.cpp
    M src/unnds.cpp
    M src/unnsbtx.cpp
    M src/unrim.cpp
    M src/version/version.cpp
    M src/version/version.h
    M src/xml2ssf.cpp
    M src/xml2tlk.cpp
    M src/xoreostex2tga.cpp

  Log Message:
  -----------
  VERSION: Encapsulate the version information more

They're now more opaque functions in the Version namespace.


  Commit: 780a0807037bdccbdb2d6822cc3d7697f68597b0
      https://github.com/xoreos/xoreos-tools/commit/780a0807037bdccbdb2d6822cc3d7697f68597b0
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    M gitstamp/Makefile.am

  Log Message:
  -----------
  BUILD: Suppress warning messages when there's no git directory


  Commit: c2ec04e83d42bc6ecf67afe5372a45e647cfe882
      https://github.com/xoreos/xoreos-tools/commit/c2ec04e83d42bc6ecf67afe5372a45e647cfe882
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    M gitstamp/Makefile.am

  Log Message:
  -----------
  BUILD: Only display "GEN gitstamp" when the file is actually updated


  Commit: 344aa2c0945cbcf3ce8f9d096a2c93e2317ed7aa
      https://github.com/xoreos/xoreos-tools/commit/344aa2c0945cbcf3ce8f9d096a2c93e2317ed7aa
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    M gitstamp/Makefile.am

  Log Message:
  -----------
  BUILD: Use CLEANFILES for gitstamp instead of a custom clean rule


  Commit: 3d57d6e93d3768bd7a9b5e9bf60dd75627883c17
      https://github.com/xoreos/xoreos-tools/commit/3d57d6e93d3768bd7a9b5e9bf60dd75627883c17
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    M .gitignore
    M Makefile.am
    R Makefile.common
    M configure.ac
    A dists/rules.mk
    R gitstamp/Makefile.am
    A man/rules.mk
    A rules.mk
    R src/Makefile.am
    R src/aurora/Makefile.am
    A src/aurora/rules.mk
    R src/common/Makefile.am
    A src/common/rules.mk
    R src/images/Makefile.am
    A src/images/rules.mk
    R src/nwscript/Makefile.am
    A src/nwscript/rules.mk
    A src/rules.mk
    R src/version/Makefile.am
    A src/version/rules.mk
    R src/xml/Makefile.am
    A src/xml/rules.mk
    R utf8cpp/Makefile.am
    A utf8cpp/rules.mk

  Log Message:
  -----------
  BUILD: Change the autotools setup to a non-recursive automake

Instead of recursive automake with subdirs, we're now using non-
recursive automake using (recursive) includes.

This should speed up parallel builds because these aren't blocked
across subdirectory boundaries anymore now. Dependency change
detection and therefore subsequent partial builds are also faster with
a non-recursive setup.

On the downside, the gitstamp hackery had to be reorganized, because
build order can't be predicted anymore now.

CMake building is currently still broken as well.


  Commit: 16df2cc81c5dddc8f9f7c6c7e542a4bdad01c765
      https://github.com/xoreos/xoreos-tools/commit/16df2cc81c5dddc8f9f7c6c7e542a4bdad01c765
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    M CMakeLists.txt
    M cmake/CMakeAM.cmake

  Log Message:
  -----------
  BUILD: Fix up the Automake -> CMake bridge again

Now that we're doing a non-recursive automake, the automake file
parser in our CMake scripts needed to be adapted for this as well.

The changes are as follows:
- Don't look in the configure anymore, instead specify the automake
  file to parse directly
- Handle include in the automake file, by recursively parse the
  included files and paste the result into the CMake file
- Don't prepend the full path onto source paths, as source paths are
  already fully path'd now
- Remove the extra src_ at the start of target names
- Since the gitstamp hackery is now in src/version/ instead of
  gitstamp/, we need to make sure its extra automake rule doesn't
  create non-parsable CMake, so we comment it out

The result seems to work, here on GNU/Linux at least.


  Commit: a531a8cfef8d8755571523ec2019cf6a35d50bfe
      https://github.com/xoreos/xoreos-tools/commit/a531a8cfef8d8755571523ec2019cf6a35d50bfe
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    M CMakeLists.txt
    M Makefile.am
    M autogen.sh
    M cmake/CMakeAM.cmake
    M cmake/FindIconv.cmake
    M cmake/SetCheckCompilerFlag.cmake
    M cmake/toolchain/i686-windows-mingw.cmake
    M cmake/toolchain/x86_64-windows-mingw.cmake
    M configure.ac
    M dists/rules.mk
    M man/rules.mk
    M rules.mk
    M src/aurora/rules.mk
    M src/common/rules.mk
    M src/images/rules.mk
    M src/nwscript/rules.mk
    M src/rules.mk
    M src/version/rules.mk
    M src/xml/rules.mk
    M utf8cpp/rules.mk

  Log Message:
  -----------
  BUILD: Fix copyright headers (xoreos -> xoreos-tools)


  Commit: 91ee5a9c024953f8f090aebbd42f3e1eafb4171f
      https://github.com/xoreos/xoreos-tools/commit/91ee5a9c024953f8f090aebbd42f3e1eafb4171f
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    M AUTHORS
    M BUILDDEP.md
    M CMakeLists.txt
    M Makefile.am
    M configure.ac
    M dists/arch/PKGBUILD
    M dists/debian/control
    M dists/debian/copyright
    M dists/fedora/xoreos-tools.spec
    A m4/boost.m4

  Log Message:
  -----------
  BUILD: Add dependency on Boost

This helps us keep xoreos and xoreos-tools better in sync.


  Commit: f8949b772814893d982491a375b5071b6c86809f
      https://github.com/xoreos/xoreos-tools/commit/f8949b772814893d982491a375b5071b6c86809f
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    M src/common/filepath.cpp
    M src/common/filepath.h
    M src/common/platform.cpp
    M src/common/platform.h

  Log Message:
  -----------
  COMMON: Sync platform and filepath code with xoreos

Now that we have Boost, we can just use the common xoreos code.


  Commit: 3cfd848bed673f8b11b5fd6e7dc86589196e15fc
      https://github.com/xoreos/xoreos-tools/commit/3cfd848bed673f8b11b5fd6e7dc86589196e15fc
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

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

  Log Message:
  -----------
  COMMON: Add a reason parameter to exceptionDispatcherError()


  Commit: efe43ed532ed47e1485c9df522848d3381c86b58
      https://github.com/xoreos/xoreos-tools/commit/efe43ed532ed47e1485c9df522848d3381c86b58
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    M src/util.cpp
    M src/util.h

  Log Message:
  -----------
  COMMON: Add initPlatform() to util.h/.cpp


  Commit: c1018fa5b60fe15a6b22b4f4db3a2dacd7992095
      https://github.com/xoreos/xoreos-tools/commit/c1018fa5b60fe15a6b22b4f4db3a2dacd7992095
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    M src/cbgt2tga.cpp
    M src/cdpth2tga.cpp
    M src/convert2da.cpp
    M src/desmall.cpp
    M src/fixpremiumgff.cpp
    M src/gff2xml.cpp
    M src/nbfs2tga.cpp
    M src/ncgr2tga.cpp
    M src/ncsdis.cpp
    M src/rules.mk
    M src/ssf2xml.cpp
    M src/tlk2xml.cpp
    M src/unerf.cpp
    M src/unherf.cpp
    M src/unkeybif.cpp
    M src/unnds.cpp
    M src/unnsbtx.cpp
    M src/unrim.cpp
    M src/xml2ssf.cpp
    M src/xml2tlk.cpp
    M src/xoreostex2tga.cpp

  Log Message:
  -----------
  ALL: Use initPlatform() in every single tool


  Commit: e719e03010bdf136304b13ec91cdefa930948f73
      https://github.com/xoreos/xoreos-tools/commit/e719e03010bdf136304b13ec91cdefa930948f73
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    A src/common/noreturn.h
    M src/common/rules.mk
    M src/common/system.h

  Log Message:
  -----------
  COMMON: Move NORETURN_* defines into their own noreturn.h

So that we can use these macros without pulling in the rest of the
defines in system.h.


  Commit: a4104e22def4351fe4054f4941adaa6315ddcb8a
      https://github.com/xoreos/xoreos-tools/commit/a4104e22def4351fe4054f4941adaa6315ddcb8a
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    M src/common/writefile.cpp

  Log Message:
  -----------
  COMMON: Let WriteFile::open() create directories if necessary


  Commit: 94f077a09f0a7a94d51a5e7157d2a88bb12ae87d
      https://github.com/xoreos/xoreos-tools/commit/94f077a09f0a7a94d51a5e7157d2a88bb12ae87d
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    M src/common/ustring.h

  Log Message:
  -----------
  COMMON: Add UString hash functions

Copied from xoreos.


  Commit: de6d684765bed52ba52ef240b08e358ebfddb24d
      https://github.com/xoreos/xoreos-tools/commit/de6d684765bed52ba52ef240b08e358ebfddb24d
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    M src/common/readfile.h
    M src/common/stdinstream.h
    M src/common/stdoutstream.h
    M src/common/writefile.h

  Log Message:
  -----------
  COMMON: Remove "public" inheritance access-specifiers for NonCopyable

NonCopyable inheritance should always be private (which is the default
for classes), as nothing should ever access something inheriting from
NonCopyable as a NonCopyable.


  Commit: 82c5b76fac6430ff6e150f930d6dadd6ba145a50
      https://github.com/xoreos/xoreos-tools/commit/82c5b76fac6430ff6e150f930d6dadd6ba145a50
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    M src/aurora/gff3file.h
    M src/aurora/gff4file.h

  Log Message:
  -----------
  AURORA: Mark GFF3File and GFF4File as noncopyable

The default copy-constructors and assignment operators would just mess
them up.


  Commit: cdb8b8632f6efe63b409c6db6cba59789c386673
      https://github.com/xoreos/xoreos-tools/commit/cdb8b8632f6efe63b409c6db6cba59789c386673
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    M src/aurora/gff3file.h
    M src/aurora/gff4file.h
    R src/common/noncopyable.h
    M src/common/readfile.h
    M src/common/rules.mk
    M src/common/singleton.h
    M src/common/stdinstream.h
    M src/common/stdoutstream.h
    M src/common/writefile.h

  Log Message:
  -----------
  COMMON: Use boost::noncopyable instead of our own NonCopyable class


  Commit: db749f208e6d71334dd6d2c164d5e6bb421b44bc
      https://github.com/xoreos/xoreos-tools/commit/db749f208e6d71334dd6d2c164d5e6bb421b44bc
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

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

  Log Message:
  -----------
  COMMON: Mark the memory read/write stream classes as noncopyable


  Commit: 8561c34678ecf8c93a087dfcc5d6c131d3cdbff4
      https://github.com/xoreos/xoreos-tools/commit/8561c34678ecf8c93a087dfcc5d6c131d3cdbff4
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/aurora/archive.h
    M src/aurora/keyfile.h

  Log Message:
  -----------
  AURORA: Mark Archive (and all archives) and KEYFile as noncopyable


  Commit: 00ffb3885142ce9809928d9daf0b7418a0bfe6d0
      https://github.com/xoreos/xoreos-tools/commit/00ffb3885142ce9809928d9daf0b7418a0bfe6d0
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/aurora/2dafile.h

  Log Message:
  -----------
  AURORA: Mark TwoDAFile as noncopyable


  Commit: f7102c52e112a3c775a205b2a21956e75f1c42d3
      https://github.com/xoreos/xoreos-tools/commit/f7102c52e112a3c775a205b2a21956e75f1c42d3
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/aurora/gdafile.h

  Log Message:
  -----------
  AURORA: Mark the GFF-based file classes as noncopyable


  Commit: 91788745c02db17c4e49e313022299cb39c3f660
      https://github.com/xoreos/xoreos-tools/commit/91788745c02db17c4e49e313022299cb39c3f660
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/aurora/talktable.h

  Log Message:
  -----------
  AURORA: Mark the TalkTable as noncopyable


  Commit: a63b0f746e7b84bf34470c75fa4a1f460c3f3f26
      https://github.com/xoreos/xoreos-tools/commit/a63b0f746e7b84bf34470c75fa4a1f460c3f3f26
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/xml/xmlparser.h
    M src/xml/xmlwriter.h

  Log Message:
  -----------
  XML: Mark XMLParser, XMLNode and XMLWriter as noncopyable


  Commit: 6f645b5a335fb54026f11e8c9d6887504a313058
      https://github.com/xoreos/xoreos-tools/commit/6f645b5a335fb54026f11e8c9d6887504a313058
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/images/decoder.h

  Log Message:
  -----------
  IMAGES: Mark ImageDecoder as noncopyable


  Commit: 9b52ed9e7a062341f6f44d6b76f343a6122acbaf
      https://github.com/xoreos/xoreos-tools/commit/9b52ed9e7a062341f6f44d6b76f343a6122acbaf
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/xml/gffdumper.h

  Log Message:
  -----------
  GFF2XML: Mark GFFDumper as noncopyable


  Commit: 8d41ab0b6ae49f173d742538715ba15ade5defd7
      https://github.com/xoreos/xoreos-tools/commit/8d41ab0b6ae49f173d742538715ba15ade5defd7
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/nwscript/disassembler.h
    M src/nwscript/ncsfile.h

  Log Message:
  -----------
  NWSCRIPT: Mark NCSFile and Disassembler as noncopyable


  Commit: 8feb05b9a320738d83a6a8770bed653a8b733232
      https://github.com/xoreos/xoreos-tools/commit/8feb05b9a320738d83a6a8770bed653a8b733232
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/common/system.h

  Log Message:
  -----------
  COMMON: Add a XOREOS_EXPLICIT_OPERATOR_CONV macro

Based on Cabal, a ScummVM fork:
https://github.com/project-cabal/cabal/blob/master/common/scummsys.h


  Commit: a9e418198cff34591ab89cdd814df1a2c4bcac21
      https://github.com/xoreos/xoreos-tools/commit/a9e418198cff34591ab89cdd814df1a2c4bcac21
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    A src/common/deallocator.h
    M src/common/rules.mk
    A src/common/scopedptr.h

  Log Message:
  -----------
  COMMON: Add ScopedPtr/ScopedArray templates

They work similar to boost::scoped_ptr and boost::scoped_array, except
that they have a release() method for ownership transferal.

std::auto_ptr could take over the job of ScopedPtr, but std::auto_ptr
won't work for array. And while std::unique_ptr fixes that issue, it's
only available starting with C++11 (and we're C++03). This means that
there is no other existing viable option to automatically manage an
array with ownership transfer than writing our own template,
ScopedArray.

ScopedPtr is provided for symmetry.

Based on Cabal code, which in turn is based on ScummVM code.
https://github.com/project-cabal/cabal/blob/master/common/ptr.h


  Commit: 491898777aebfc006094500fc17d056f8402dfd8
      https://github.com/xoreos/xoreos-tools/commit/491898777aebfc006094500fc17d056f8402dfd8
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M m4/boost.m4

  Log Message:
  -----------
  BUILD: Extend boost.m4 to check for Boost.ScopeExit


  Commit: 0c63c52f2127d218da37c4045da43e4d83cb85fe
      https://github.com/xoreos/xoreos-tools/commit/0c63c52f2127d218da37c4045da43e4d83cb85fe
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M BUILDDEP.md
    M configure.ac

  Log Message:
  -----------
  BUILD: Add dependency on Boost.ScopeExit

There doesn't seem to be a check in the default FindBoost.CMake. But
since this is a header-only library and in Boost since 1.38.0, there
really shouldn't be a problem.


  Commit: ec462afc43655a8315e44448f80fec116a47cba5
      https://github.com/xoreos/xoreos-tools/commit/ec462afc43655a8315e44448f80fec116a47cba5
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/common/deflate.cpp

  Log Message:
  -----------
  COMMON: Use ScopedArray and BOOST_SCOPE_EXIT in decompressDeflate()


  Commit: 7d92c698f231eb3098b7928458de6dac49e73379
      https://github.com/xoreos/xoreos-tools/commit/7d92c698f231eb3098b7928458de6dac49e73379
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/common/hash.h

  Log Message:
  -----------
  COMMON: Use ScopedPtr in our hash functions


  Commit: 9d19aa450a5117482acf485352316d7183a0b3af
      https://github.com/xoreos/xoreos-tools/commit/9d19aa450a5117482acf485352316d7183a0b3af
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/common/blowfish.cpp

  Log Message:
  -----------
  COMMON: Use ScopedArray in our Blowfish implementation


  Commit: a31a7371a6a2f145923e9fd6c43f858f647d2740
      https://github.com/xoreos/xoreos-tools/commit/a31a7371a6a2f145923e9fd6c43f858f647d2740
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/common/readstream.cpp

  Log Message:
  -----------
  COMMON: Use ScopedArray in ReadStream::readStream()


  Commit: 2c20f1f34981182c97d417042a3c585cb45fad82
      https://github.com/xoreos/xoreos-tools/commit/2c20f1f34981182c97d417042a3c585cb45fad82
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/common/platform.cpp

  Log Message:
  -----------
  COMMON: Use ScopedArray in getWindowsVariable()


  Commit: cb2e5315a39812d886ec783a11f250833d82f50c
      https://github.com/xoreos/xoreos-tools/commit/cb2e5315a39812d886ec783a11f250833d82f50c
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/common/encoding.cpp

  Log Message:
  -----------
  COMMON: Use ScopedPtr/ScopedArray in our string encoding function


  Commit: 9ccb0020bd28c653a4647c46fd8ed39aa97f7762
      https://github.com/xoreos/xoreos-tools/commit/9ccb0020bd28c653a4647c46fd8ed39aa97f7762
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/common/base64.cpp

  Log Message:
  -----------
  COMMON: Use ScopedArray in our Base64 implementation


  Commit: 8e0740bf5c4c4db5c7747199124fcafd00964362
      https://github.com/xoreos/xoreos-tools/commit/8e0740bf5c4c4db5c7747199124fcafd00964362
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/aurora/biffile.cpp
    M src/aurora/biffile.h
    M src/aurora/erffile.cpp
    M src/aurora/erffile.h
    M src/aurora/herffile.cpp
    M src/aurora/herffile.h
    M src/aurora/ndsrom.cpp
    M src/aurora/ndsrom.h
    M src/aurora/rimfile.cpp
    M src/aurora/rimfile.h

  Log Message:
  -----------
  AURORA: Use ScopedPtr/ScopedArray in our archive classes


  Commit: c869e8c37ffcd874080647e8db5c9fd6f0d3b479
      https://github.com/xoreos/xoreos-tools/commit/c869e8c37ffcd874080647e8db5c9fd6f0d3b479
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

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

  Log Message:
  -----------
  AURORA: Use ScopedPtr/ScopedArray in the Nintendo DS classes


  Commit: 2893bda6b5acf7c0284ee0de8a66fdcfadfa10fc
      https://github.com/xoreos/xoreos-tools/commit/2893bda6b5acf7c0284ee0de8a66fdcfadfa10fc
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/aurora/talktable.cpp
    M src/aurora/talktable_gff.cpp
    M src/aurora/talktable_gff.h
    M src/aurora/talktable_tlk.cpp
    M src/aurora/talktable_tlk.h

  Log Message:
  -----------
  AURORA: Use ScopedPtr in the TalkTables


  Commit: 85c3584e94097aa02b354b828b35f54121ebe9bc
      https://github.com/xoreos/xoreos-tools/commit/85c3584e94097aa02b354b828b35f54121ebe9bc
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/aurora/2dafile.cpp
    M src/aurora/2dafile.h

  Log Message:
  -----------
  AURORA: Use ScopedPtr/ScopedArray in the 2DA reader


  Commit: 1daf31bc73f10aca7291e58b67f52ca942ee0769
      https://github.com/xoreos/xoreos-tools/commit/1daf31bc73f10aca7291e58b67f52ca942ee0769
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/aurora/locstring.cpp

  Log Message:
  -----------
  AURORA: Use ScopedPtr in LocString


  Commit: 884e76cc0411bc851e0bb67fbe82e96b63b8a536
      https://github.com/xoreos/xoreos-tools/commit/884e76cc0411bc851e0bb67fbe82e96b63b8a536
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/aurora/gff3file.cpp
    M src/aurora/gff3file.h
    M src/aurora/gff4file.cpp
    M src/aurora/gff4file.h

  Log Message:
  -----------
  AURORA: Use ScopedPtr in the GFF classes


  Commit: 1850c541ac66347e128ee63da9a762e1eeca3748
      https://github.com/xoreos/xoreos-tools/commit/1850c541ac66347e128ee63da9a762e1eeca3748
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/aurora/ssffile.cpp

  Log Message:
  -----------
  AURORA: Use ScopedPtr in SSFFile


  Commit: 9c9fa2e4f87b2737f510a29d1a5844968f385b47
      https://github.com/xoreos/xoreos-tools/commit/9c9fa2e4f87b2737f510a29d1a5844968f385b47
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/util.h

  Log Message:
  -----------
  IMAGES: Use ScopedArray in the flip* utility functions


  Commit: e4fdc3c7f537a86c6d826f8b58802df07cae7fa5
      https://github.com/xoreos/xoreos-tools/commit/e4fdc3c7f537a86c6d826f8b58802df07cae7fa5
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/decoder.cpp

  Log Message:
  -----------
  IMAGES: Use ScopedPtr in the Decoder


  Commit: 913bf94e38ec75cdd148f06130c7c9f948a40717
      https://github.com/xoreos/xoreos-tools/commit/913bf94e38ec75cdd148f06130c7c9f948a40717
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/dumptga.cpp

  Log Message:
  -----------
  IMAGES: Use ScopedPtr in dumpTGA()


  Commit: 79e7fb8c35316e4dded0c74648b33424d6a1c38b
      https://github.com/xoreos/xoreos-tools/commit/79e7fb8c35316e4dded0c74648b33424d6a1c38b
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/winiconimage.cpp

  Log Message:
  -----------
  IMAGES: Use ScopedArray in the Windows icon decoder


  Commit: 8b6f561c27d543c967f68d9d24b278cd983fbee4
      https://github.com/xoreos/xoreos-tools/commit/8b6f561c27d543c967f68d9d24b278cd983fbee4
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/dds.cpp

  Log Message:
  -----------
  IMAGES: Use ScopedPtr in the DDS decoder


  Commit: 7c114dc496678f2e14804352bf929a9df31f5a2f
      https://github.com/xoreos/xoreos-tools/commit/7c114dc496678f2e14804352bf929a9df31f5a2f
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/tpc.cpp
    M src/images/tpc.h

  Log Message:
  -----------
  IMAGES: Use ScopedPtr/ScopedArray in the TPC decoder


  Commit: 1471a8ed838e00e1f3c024d64c38b736da2b24ad
      https://github.com/xoreos/xoreos-tools/commit/1471a8ed838e00e1f3c024d64c38b736da2b24ad
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/txb.cpp
    M src/images/txb.h

  Log Message:
  -----------
  IMAGES: Use ScopedPtr in the TXB decoder


  Commit: f76a4628f7273cf045fefe43cba9c342693c4660
      https://github.com/xoreos/xoreos-tools/commit/f76a4628f7273cf045fefe43cba9c342693c4660
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/nbfs.cpp
    M src/images/ncgr.cpp
    M src/images/ncgr.h
    M src/images/nclr.cpp

  Log Message:
  -----------
  IMAGES: Use ScopedPtr/ScopedArray in the Nintendo image decoders


  Commit: cae7f02062397d7fa49aa22ac733e2596d120afe
      https://github.com/xoreos/xoreos-tools/commit/cae7f02062397d7fa49aa22ac733e2596d120afe
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/cbgt.cpp
    M src/images/cdpth.cpp
    M src/images/dds.cpp
    M src/images/decoder.cpp
    M src/images/decoder.h
    M src/images/dumptga.cpp
    M src/images/nbfs.cpp
    M src/images/ncgr.cpp
    M src/images/sbm.cpp
    M src/images/tga.cpp
    M src/images/tpc.cpp
    M src/images/txb.cpp
    M src/images/winiconimage.cpp
    M src/images/xoreositex.cpp

  Log Message:
  -----------
  IMAGES: Use ScopedArray for the Decoder MipMap data


  Commit: eebe067e244475e27a13db78086e46620fad2a03
      https://github.com/xoreos/xoreos-tools/commit/eebe067e244475e27a13db78086e46620fad2a03
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/xml/xmlparser.cpp
    M src/xml/xmlparser.h

  Log Message:
  -----------
  XML: Use ScopedPtr and BOOST_SCOPE_EXIT in XMLParser


  Commit: d876aa5627a6715b738e3a51e5ac3f252693a17c
      https://github.com/xoreos/xoreos-tools/commit/d876aa5627a6715b738e3a51e5ac3f252693a17c
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/xml/gff3dumper.cpp
    M src/xml/gff3dumper.h
    M src/xml/gff4dumper.cpp
    M src/xml/gff4dumper.h
    M src/xml/gffdumper.cpp

  Log Message:
  -----------
  XML: Use ScopedPtr and BOOST_SCOPE_EXIT in the GFF dumpers


  Commit: f458f8492cf86bf16729f500777b4f9414282949
      https://github.com/xoreos/xoreos-tools/commit/f458f8492cf86bf16729f500777b4f9414282949
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/xml/tlkdumper.cpp

  Log Message:
  -----------
  XML: Use ScopedPtr in the TLK dumper


  Commit: 202c6a5ee988f5b416f705316a925b196df3b59e
      https://github.com/xoreos/xoreos-tools/commit/202c6a5ee988f5b416f705316a925b196df3b59e
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/nwscript/disassembler.cpp
    M src/nwscript/disassembler.h

  Log Message:
  -----------
  NWSCRIPT: Use ScopedPtr in the Disassembler


  Commit: 76b1bd2f16fa0ea498c61b6e54cc44831c3b251d
      https://github.com/xoreos/xoreos-tools/commit/76b1bd2f16fa0ea498c61b6e54cc44831c3b251d
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/convert2da.cpp
    M src/fixpremiumgff.cpp
    M src/gff2xml.cpp
    M src/ncgr2tga.cpp
    M src/ncsdis.cpp
    M src/ssf2xml.cpp
    M src/tlk2xml.cpp
    M src/unerf.cpp
    M src/unherf.cpp
    M src/unkeybif.cpp
    M src/unnds.cpp
    M src/unnsbtx.cpp
    M src/unrim.cpp
    M src/xml2ssf.cpp
    M src/xml2tlk.cpp
    M src/xoreostex2tga.cpp

  Log Message:
  -----------
  ALL: Use ScopedPtr in the tools


  Commit: 22eefb1b89d076c75e920844639c73a1735f4165
      https://github.com/xoreos/xoreos-tools/commit/22eefb1b89d076c75e920844639c73a1735f4165
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/convert2da.cpp
    M src/gff2xml.cpp
    M src/ncsdis.cpp
    M src/ssf2xml.cpp
    M src/tlk2xml.cpp
    M src/util.cpp
    M src/util.h
    M src/xml2ssf.cpp
    M src/xml2tlk.cpp

  Log Message:
  -----------
  ALL: Add utility functions openFileOrStdOut() and openFileorStdIn()

If a file is specified, they open the file (for writing or reading,
respectively). Otherwise, they open stdout or stdin, respectively.


  Commit: 086f54e293236e536a10e5990b5801e9fe726821
      https://github.com/xoreos/xoreos-tools/commit/086f54e293236e536a10e5990b5801e9fe726821
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    A src/common/disposableptr.h
    M src/common/rules.mk

  Log Message:
  -----------
  COMMON: Add DisposablePtr and DisposableArray templates

Similar to ScopedPtr, but with a flag that drives whether the pointer
will be deallocated.


  Commit: 5490a6779f0ba23619196be0242c3672e61ee00f
      https://github.com/xoreos/xoreos-tools/commit/5490a6779f0ba23619196be0242c3672e61ee00f
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

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

  Log Message:
  -----------
  COMMON: Use DisposablePtr/DisposableArray in our stream classes


  Commit: 24be0ad74478f90f17063f822e7fd89b4ef551ad
      https://github.com/xoreos/xoreos-tools/commit/24be0ad74478f90f17063f822e7fd89b4ef551ad
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

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

  Log Message:
  -----------
  AURORA: Use MemoryWriteStreamDynamic::setDisposable()


  Commit: 60eb798b7c2d91626982552b770a021c9c1240a2
      https://github.com/xoreos/xoreos-tools/commit/60eb798b7c2d91626982552b770a021c9c1240a2
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    A src/common/ptrlist.h
    M src/common/rules.mk

  Log Message:
  -----------
  COMMON: Add PtrList template

A PtrList is a list of pointers to objects, including automatic
deletion of these pointers.

PtrList is similar in concept to boost::ptr_list, however in a more
straight-forward manner:
- boost::ptr_list uses a std::list<void *> as storage, PtrList uses
  std::list<T *> directly
- Object access operations on boost::ptr_list return a reference, on
  PtrLst they return a pointer
- boost::ptr_list allows for automatic object cloning, PtrList does
  not

The reason for PtrList instead of boost::ptr_list is simply that
boost::ptr_list is broken for const objects. I.e.
boost::ptr_list<const Foo> won't work; it leads to a compile error.
Only boost::ptr_list<Foo> works.


  Commit: b4055cc0dac81e220ecb7ae8c3bf01b442950f6f
      https://github.com/xoreos/xoreos-tools/commit/b4055cc0dac81e220ecb7ae8c3bf01b442950f6f
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    A src/common/ptrvector.h
    M src/common/rules.mk

  Log Message:
  -----------
  COMMON: Add PtrVector template

PtrVector is to boost::ptr_vector what PtrList is to boost::ptr_list.


  Commit: e634fad81265c1e41657966c55bb22efccb5950f
      https://github.com/xoreos/xoreos-tools/commit/e634fad81265c1e41657966c55bb22efccb5950f
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    A src/common/ptrmap.h
    M src/common/rules.mk

  Log Message:
  -----------
  COMMON: Add PtrMap template

PtrMap is to boost::ptr_map what PtrList is to boost::ptr_list.


  Commit: abfabcf26d394dba67c1deb886c43e6efef92463
      https://github.com/xoreos/xoreos-tools/commit/abfabcf26d394dba67c1deb886c43e6efef92463
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/aurora/2dafile.cpp
    M src/aurora/2dafile.h

  Log Message:
  -----------
  AURORA: Use PtrVector to store the rows in TwoDAFile


  Commit: 383038715b5dbe26b2f90db25008d679db2df639
      https://github.com/xoreos/xoreos-tools/commit/383038715b5dbe26b2f90db25008d679db2df639
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

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

  Log Message:
  -----------
  AURORA: Use PtrVector for the structs in GFF3File


  Commit: 83be34b99ea82be4e85a847ea01e7c010a4212c6
      https://github.com/xoreos/xoreos-tools/commit/83be34b99ea82be4e85a847ea01e7c010a4212c6
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

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

  Log Message:
  -----------
  AURORA: Use PtrVector for the GFF4s in GDAFile


  Commit: d313efee7c08d5877e117817a503ea05fdb45609
      https://github.com/xoreos/xoreos-tools/commit/d313efee7c08d5877e117817a503ea05fdb45609
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

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

  Log Message:
  -----------
  AURORA: Use PtrMap for the entries in TalkTable_GFF


  Commit: 7e0d683333e8e83e53b9cccb005e1b30b749b418
      https://github.com/xoreos/xoreos-tools/commit/7e0d683333e8e83e53b9cccb005e1b30b749b418
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/dds.cpp
    M src/images/decoder.cpp
    M src/images/decoder.h
    M src/images/tpc.cpp
    M src/images/txb.cpp

  Log Message:
  -----------
  IMAGES: Use PtrVector for the Decoder MipMaps


  Commit: c08726c105446dea8efd43a6ba895e9c4738ce58
      https://github.com/xoreos/xoreos-tools/commit/c08726c105446dea8efd43a6ba895e9c4738ce58
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/cbgt.cpp
    M src/images/cbgt.h

  Log Message:
  -----------
  IMAGES: Use PtrVector in CBGT


  Commit: d2e5650c7ad206f78e85cf4d59325a22edf41af9
      https://github.com/xoreos/xoreos-tools/commit/d2e5650c7ad206f78e85cf4d59325a22edf41af9
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/images/cdpth.cpp
    M src/images/cdpth.h

  Log Message:
  -----------
  IMAGES: Use PtrVector in the CDPTH ReadContext


  Commit: 2cc21e0f47304ec23250d0f35df87f9a10ba3080
      https://github.com/xoreos/xoreos-tools/commit/2cc21e0f47304ec23250d0f35df87f9a10ba3080
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/xml/xmlparser.cpp
    M src/xml/xmlparser.h

  Log Message:
  -----------
  XML: Use PtrList to store the child nodes in XMLNode


  Commit: 0dfb0508365fd24d7930178bc1a0c1a4d0a6c253
      https://github.com/xoreos/xoreos-tools/commit/0dfb0508365fd24d7930178bc1a0c1a4d0a6c253
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/ncgr2tga.cpp
    M src/unkeybif.cpp

  Log Message:
  -----------
  ALL: Use PtrVector in the tools


  Commit: 3b2c2393d1140c5002b718cbb9701dba2debaffa
      https://github.com/xoreos/xoreos-tools/commit/3b2c2393d1140c5002b718cbb9701dba2debaffa
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-30 (Sun, 30 Oct 2016)

  Changed paths:
    M src/common/ptrmap.h

  Log Message:
  -----------
  COMMON: Remove return from void PtrMap::erase()

Yeah, that method shouldn't try to return a value.


Compare: https://github.com/xoreos/xoreos-tools/compare/3cd36b31386b...3b2c2393d114


More information about the xoreos-git mailing list