[xoreos-git] [xoreos/phaethon] 79caaa: BUILD: Fix typos in Travis config comments

GitHub noreply at github.com
Mon Oct 31 02:21:09 CET 2016


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

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  BUILD: Fix typos in Travis config comments

[ci skip]


  Commit: 359b34b51bb94550273dffc44981797b928af6af
      https://github.com/xoreos/phaethon/commit/359b34b51bb94550273dffc44981797b928af6af
  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/cline.cpp
    M src/common/Makefile.am
    R src/common/version.cpp
    R src/common/version.h
    M src/gui/about.cpp
    M src/gui/mainwindow.cpp
    M src/phaethon.cpp
    A src/version/Makefile.am
    A src/version/version.cpp
    A src/version/version.h

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


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

  Changed paths:
    M src/cline.cpp
    M src/gui/about.cpp
    M src/gui/mainwindow.cpp
    M src/phaethon.cpp
    M src/version/version.cpp
    M src/version/version.h

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

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


  Commit: bd041f28d659b1310f8a141549d673ba9b16cf31
      https://github.com/xoreos/phaethon/commit/bd041f28d659b1310f8a141549d673ba9b16cf31
  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: 9a86d7295284c72236147bd0982f59150b6e2777
      https://github.com/xoreos/phaethon/commit/9a86d7295284c72236147bd0982f59150b6e2777
  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: 2bd4778db07262c016d1a05a6f9f843c80aff345
      https://github.com/xoreos/phaethon/commit/2bd4778db07262c016d1a05a6f9f843c80aff345
  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: 12f3ef39be146e11d2d2e939dd9728cc8ee3925c
      https://github.com/xoreos/phaethon/commit/12f3ef39be146e11d2d2e939dd9728cc8ee3925c
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    R m4/README

  Log Message:
  -----------
  BUILD: Remove unnecessary m4/README placeholder file

It was only needed as long as the m4 directory was empty.


  Commit: 24207c6ed43823ae8e053b076504c23443318029
      https://github.com/xoreos/phaethon/commit/24207c6ed43823ae8e053b076504c23443318029
  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 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/gui/Makefile.am
    A src/gui/rules.mk
    R src/images/Makefile.am
    A src/images/rules.mk
    A src/rules.mk
    R src/sound/Makefile.am
    R src/sound/decoders/Makefile.am
    A src/sound/decoders/rules.mk
    A src/sound/rules.mk
    R src/version/Makefile.am
    A src/version/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: 0a21678bb6886befea8039b92c140c3bd70b4293
      https://github.com/xoreos/phaethon/commit/0a21678bb6886befea8039b92c140c3bd70b4293
  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: a7a54b558576255ea92f81c6d1cc7f9941fb8a26
      https://github.com/xoreos/phaethon/commit/a7a54b558576255ea92f81c6d1cc7f9941fb8a26
  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/FindFaad.cmake
    M cmake/FindIconv.cmake
    M cmake/FindLibLZMA.cmake
    M cmake/FindMad.cmake
    M cmake/FindOgg.cmake
    M cmake/FindVorbis.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 rules.mk
    M src/aurora/rules.mk
    M src/common/rules.mk
    M src/gui/rules.mk
    M src/images/rules.mk
    M src/rules.mk
    M src/sound/decoders/rules.mk
    M src/sound/rules.mk
    M src/version/rules.mk
    M utf8cpp/rules.mk

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


  Commit: ef48e84b935090238b36bae82cd7000fcd7ad75e
      https://github.com/xoreos/phaethon/commit/ef48e84b935090238b36bae82cd7000fcd7ad75e
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

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

  Log Message:
  -----------
  COMMON: Add FilePath::getConfigDirectory()

Copied from xoreos.


  Commit: 60fa84d61abe4d9dfc6f9948cc9872e52ae8ebaa
      https://github.com/xoreos/phaethon/commit/60fa84d61abe4d9dfc6f9948cc9872e52ae8ebaa
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

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

  Log Message:
  -----------
  COMMON: Add FilePath::getUserDataDirectory()

Copied from xoreos.


  Commit: c30e3450c94c662878f651eef8580170f70c6794
      https://github.com/xoreos/phaethon/commit/c30e3450c94c662878f651eef8580170f70c6794
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

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

  Log Message:
  -----------
  COMMON: Add FilePath::getUserDataFile()

Copied from xoreos.


  Commit: f8bdb173d896ec4787c69d8ddaade930583c1af5
      https://github.com/xoreos/phaethon/commit/f8bdb173d896ec4787c69d8ddaade930583c1af5
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

  Changed paths:
    M src/common/util.h

  Log Message:
  -----------
  COMMON: Make ARRAYSIZE() return a size_t instead of an int


  Commit: 99c8bdafe2850cdbbb90d385d75a3e141532a1ba
      https://github.com/xoreos/phaethon/commit/99c8bdafe2850cdbbb90d385d75a3e141532a1ba
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

  Changed paths:
    M src/common/filepath.cpp

  Log Message:
  -----------
  COMMON: Use size_t for magnitude in FilePath::getHumanReadableSize()


  Commit: 118d5bf9d55b0d7c131e3db8935df2e421cd964f
      https://github.com/xoreos/phaethon/commit/118d5bf9d55b0d7c131e3db8935df2e421cd964f
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

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

  Log Message:
  -----------
  COMMON: Add a max size parameter to printDataHex()


  Commit: 8f17d939b76e228b0b42d52d01a550efe1eab0b4
      https://github.com/xoreos/phaethon/commit/8f17d939b76e228b0b42d52d01a550efe1eab0b4
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-17 (Mon, 17 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: 496772090c9a167d60b8f8e70f7a22f187f6160b
      https://github.com/xoreos/phaethon/commit/496772090c9a167d60b8f8e70f7a22f187f6160b
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

  Changed paths:
    M dists/fedora/phaethon.spec

  Log Message:
  -----------
  DIST: Add boost-date-time, -chrono and -thread to the Fedora spec file

Because Phaethon depends on these Boost libraries as well.


  Commit: 0dd0df275cad967760be778f4f06806b4b509eb1
      https://github.com/xoreos/phaethon/commit/0dd0df275cad967760be778f4f06806b4b509eb1
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

  Changed paths:
    M Makefile.am

  Log Message:
  -----------
  BUILD: Add Boost.Date_Time libraries to the linker flags

It worked previously because other libraries may depends on them too.


  Commit: 918fb4f1c6af79aeb083136af90aef66c4040b71
      https://github.com/xoreos/phaethon/commit/918fb4f1c6af79aeb083136af90aef66c4040b71
  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/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: 2ef7003f333ac20adb49227b557aed8f068e7f0e
      https://github.com/xoreos/phaethon/commit/2ef7003f333ac20adb49227b557aed8f068e7f0e
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
    M BUILDDEP.md
    M configure.ac

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

Should be available everywhere, though.


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

  Changed paths:
    R src/common/noncopyable.h
    M src/common/readfile.h
    M src/common/rules.mk
    M src/common/singleton.h
    M src/common/thread.h
    M src/common/writefile.h

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


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

  Changed paths:
    M src/common/mutex.h

  Log Message:
  -----------
  COMMON: Mark our Mutex classes as noncopyable


  Commit: 2f330bef484d28bf7e6746524630b28cb5fb49f2
      https://github.com/xoreos/phaethon/commit/2f330bef484d28bf7e6746524630b28cb5fb49f2
  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: 98a0dd77111ec3d87fef72a394e24af2409496ae
      https://github.com/xoreos/phaethon/commit/98a0dd77111ec3d87fef72a394e24af2409496ae
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/common/bitstream.h

  Log Message:
  -----------
  COMMON: Mark the bitstream classes as noncopyable


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

  Changed paths:
    M src/common/fft.h
    M src/common/mdct.h

  Log Message:
  -----------
  COMMON: Mark the Fourier Transform classes as noncopyable


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

  Changed paths:
    M src/common/zipfile.h

  Log Message:
  -----------
  COMMON: Mark ZipFile as noncopyable


  Commit: a8700cc7f047ec1d0c6d8cb22d08218e20faa6cc
      https://github.com/xoreos/phaethon/commit/a8700cc7f047ec1d0c6d8cb22d08218e20faa6cc
  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/keydatafile.h

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


  Commit: 69923bfae82d414ba939b190fabc452a1a2c8523
      https://github.com/xoreos/phaethon/commit/69923bfae82d414ba939b190fabc452a1a2c8523
  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: 3eb8ae32a10a795c41005fa07373fe8f76c8fa2c
      https://github.com/xoreos/phaethon/commit/3eb8ae32a10a795c41005fa07373fe8f76c8fa2c
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
    M src/sound/audiostream.h

  Log Message:
  -----------
  SOUND: Mark AudioStram as noncopyable


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

  Changed paths:
    M src/sound/decoders/codec.h

  Log Message:
  -----------
  SOUND: Mark Codec as noncopyable


  Commit: 63d1b8edd1fb8a8d9448a04e503564d45318d145
      https://github.com/xoreos/phaethon/commit/63d1b8edd1fb8a8d9448a04e503564d45318d145
  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: aa3d00bea3e61acfca6346977529ff035c149a45
      https://github.com/xoreos/phaethon/commit/aa3d00bea3e61acfca6346977529ff035c149a45
  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: f80389e15d0ec24590c1224562985fd39301fdd5
      https://github.com/xoreos/phaethon/commit/f80389e15d0ec24590c1224562985fd39301fdd5
  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: 40f372c308e64230f66e77de69f633a9606e9eae
      https://github.com/xoreos/phaethon/commit/40f372c308e64230f66e77de69f633a9606e9eae
  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: d519c243ae02217356eb68e2b55ff25ec0b8bc5b
      https://github.com/xoreos/phaethon/commit/d519c243ae02217356eb68e2b55ff25ec0b8bc5b
  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: f4e154e62aecb25e00e01914a3c0c308dab2d1a7
      https://github.com/xoreos/phaethon/commit/f4e154e62aecb25e00e01914a3c0c308dab2d1a7
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

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

  Log Message:
  -----------
  COMMON: Use ScopedPtr in ZipFile


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

  Changed paths:
    M src/common/fft.cpp
    M src/common/fft.h
    M src/common/mdct.cpp
    M src/common/mdct.h

  Log Message:
  -----------
  COMMON: Use ScopedPtr/ScopedArray in the Fourier Transform classes


  Commit: 775ce2375c02de543b081ea3693b698f27591a23
      https://github.com/xoreos/phaethon/commit/775ce2375c02de543b081ea3693b698f27591a23
  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: 00fd3b5ed536278920cde956e8ca4eb2b6d68528
      https://github.com/xoreos/phaethon/commit/00fd3b5ed536278920cde956e8ca4eb2b6d68528
  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: f93d97cccba895f02b1438de95aa08aba3e46f41
      https://github.com/xoreos/phaethon/commit/f93d97cccba895f02b1438de95aa08aba3e46f41
  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: d88dde87e5af1b807c1077c9f4723aa81066ef59
      https://github.com/xoreos/phaethon/commit/d88dde87e5af1b807c1077c9f4723aa81066ef59
  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: 9daedcc2b832ae57b5caf96cbbdc8c2233ff27e5
      https://github.com/xoreos/phaethon/commit/9daedcc2b832ae57b5caf96cbbdc8c2233ff27e5
  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: 18bc30cd1d013c1afb6a8bc755360171f106d214
      https://github.com/xoreos/phaethon/commit/18bc30cd1d013c1afb6a8bc755360171f106d214
  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/bzffile.cpp
    M src/aurora/bzffile.h
    M src/aurora/erffile.cpp
    M src/aurora/erffile.h
    M src/aurora/keyfile.cpp
    M src/aurora/rimfile.cpp
    M src/aurora/rimfile.h
    M src/aurora/zipfile.cpp
    M src/aurora/zipfile.h

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


  Commit: bec1cc0e6263fa5db91c2dfcb613ae1b322f6e97
      https://github.com/xoreos/phaethon/commit/bec1cc0e6263fa5db91c2dfcb613ae1b322f6e97
  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: 01747a1d524e96adc9a5375338f66d76f3d50117
      https://github.com/xoreos/phaethon/commit/01747a1d524e96adc9a5375338f66d76f3d50117
  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: bd10acfb4dcf14e74e31a515bd0852e4699be325
      https://github.com/xoreos/phaethon/commit/bd10acfb4dcf14e74e31a515bd0852e4699be325
  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: b688f77da8ea2000afa84d30cb276a235f9cd5ea
      https://github.com/xoreos/phaethon/commit/b688f77da8ea2000afa84d30cb276a235f9cd5ea
  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: c62c10f0a9074d725249635f59534b8c74f21f25
      https://github.com/xoreos/phaethon/commit/c62c10f0a9074d725249635f59534b8c74f21f25
  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: 4351e2383d3411764e3b675209c26765f224e326
      https://github.com/xoreos/phaethon/commit/4351e2383d3411764e3b675209c26765f224e326
  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: 0a0f66be27933b88d255de812a9a9c33a8df9727
      https://github.com/xoreos/phaethon/commit/0a0f66be27933b88d255de812a9a9c33a8df9727
  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: 0e70fdda15e47a630e15533e35b75ec6a02f160c
      https://github.com/xoreos/phaethon/commit/0e70fdda15e47a630e15533e35b75ec6a02f160c
  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: 8bca0a7034112281c2a972812d4e603109bae7ad
      https://github.com/xoreos/phaethon/commit/8bca0a7034112281c2a972812d4e603109bae7ad
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/gui/panelpreviewimage.cpp
    M src/images/dds.cpp
    M src/images/decoder.cpp
    M src/images/decoder.h
    M src/images/dumptga.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

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


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

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

  Log Message:
  -----------
  SOUND: Use ScopedPtr/ScopedArray in the SoundManager


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

  Changed paths:
    M src/sound/decoders/asf.cpp

  Log Message:
  -----------
  SOUND: Use ScopedPtr in the ASF decoder


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

  Changed paths:
    M src/sound/decoders/mp3.cpp

  Log Message:
  -----------
  SOUND: Use ScopedPtr in the MP3 decoder


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

  Changed paths:
    M src/sound/decoders/vorbis.cpp

  Log Message:
  -----------
  SOUND: Use ScopedPtr in the Ogg Vorbis decoder


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

  Changed paths:
    M src/sound/decoders/wma.cpp
    M src/sound/decoders/wma.h

  Log Message:
  -----------
  SOUND: Use ScopedPtr/ScopedArray in the WMA decoder


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

  Changed paths:
    M src/gui/panelpreviewimage.cpp
    M src/gui/panelpreviewimage.h
    M src/gui/panelpreviewsound.cpp
    M src/gui/panelpreviewsound.h
    M src/gui/panelresourceinfo.cpp
    M src/gui/resourcetree.cpp

  Log Message:
  -----------
  GUI: Use ScopedPtr/ScopedArray in the GUI classes


  Commit: e1dca3d5fa696a054521a2b8d9dfef61b61c04c0
      https://github.com/xoreos/phaethon/commit/e1dca3d5fa696a054521a2b8d9dfef61b61c04c0
  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: ad150421f533ef9819aa6c853ae31c5259d0f151
      https://github.com/xoreos/phaethon/commit/ad150421f533ef9819aa6c853ae31c5259d0f151
  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: e162b41504148f0972d25b4b904c1992280daac4
      https://github.com/xoreos/phaethon/commit/e162b41504148f0972d25b4b904c1992280daac4
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/common/bitstream.h

  Log Message:
  -----------
  COMMON: Use DisposablePtr in the BitStream classes


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

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

  Log Message:
  -----------
  SOUND: Use DisposablePtr in SoundManager::Channel


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

  Changed paths:
    M src/sound/audiostream.cpp
    M src/sound/audiostream.h

  Log Message:
  -----------
  SOUND: Use DisposablePtr in LoopingAudioStream


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

  Changed paths:
    M src/sound/decoders/adpcm.cpp

  Log Message:
  -----------
  SOUND: Use DisposablePtr in the ADPCM decoders


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

  Changed paths:
    M src/sound/decoders/asf.cpp

  Log Message:
  -----------
  SOUND: Use DisposablePtr in the ASF decoder


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

  Changed paths:
    M src/sound/decoders/mp3.cpp

  Log Message:
  -----------
  SOUND: Use DisposablePtr in the MP3 decoder


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

  Changed paths:
    M src/sound/decoders/vorbis.cpp

  Log Message:
  -----------
  SOUND: Use DisposablePtr in the Ogg Vorbis decoder


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

  Changed paths:
    M src/sound/decoders/pcm.cpp

  Log Message:
  -----------
  SOUND: Use DisposablePtr in the PCM reader


  Commit: 30bb79837f8b91ab384a565f2700d00da2b9d4ef
      https://github.com/xoreos/phaethon/commit/30bb79837f8b91ab384a565f2700d00da2b9d4ef
  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: d0badbea7cf4f995117bbff4e0eb4508d697da2f
      https://github.com/xoreos/phaethon/commit/d0badbea7cf4f995117bbff4e0eb4508d697da2f
  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: be58e3b8bd9b91e98a6eca32b96d9c19edf32af2
      https://github.com/xoreos/phaethon/commit/be58e3b8bd9b91e98a6eca32b96d9c19edf32af2
  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: 8e4c06e2b45adb23f19f259c98b37590e1d0bce5
      https://github.com/xoreos/phaethon/commit/8e4c06e2b45adb23f19f259c98b37590e1d0bce5
  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: 1667fdd1049f5339136e1bcf7caed123e7e4a74d
      https://github.com/xoreos/phaethon/commit/1667fdd1049f5339136e1bcf7caed123e7e4a74d
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-29 (Sat, 29 Oct 2016)

  Changed paths:
    M src/sound/decoders/wma.cpp
    M src/sound/decoders/wma.h

  Log Message:
  -----------
  SOUND: Use PtrVector the MDCT contexts in the WMA decoder


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

  Changed paths:
    M src/gui/mainwindow.cpp
    M src/gui/mainwindow.h

  Log Message:
  -----------
  GUI: Use PtrMap in the GUI classes


  Commit: 429887b4c6b9f4271c62b3465be800a1a83bd1a8
      https://github.com/xoreos/phaethon/commit/429887b4c6b9f4271c62b3465be800a1a83bd1a8
  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/phaethon/compare/a62cc236e2b3...429887b4c6b9


More information about the xoreos-git mailing list