[xoreos-git] [xoreos/phaethon] 03a326: COMMON: Fix copyright headers (xoreos -> Phaethon)

GitHub noreply at github.com
Sun Dec 25 10:45:55 CET 2016


  Branch: refs/heads/coverity_scan
  Home:   https://github.com/xoreos/phaethon
  Commit: 03a326b2a60ac1125f32b9515292f4091440fd01
      https://github.com/xoreos/phaethon/commit/03a326b2a60ac1125f32b9515292f4091440fd01
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-10-31 (Mon, 31 Oct 2016)

  Changed paths:
    M src/common/noreturn.h

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


  Commit: 72620ac0dabd4849ef64d382f85c62265ccc2231
      https://github.com/xoreos/phaethon/commit/72620ac0dabd4849ef64d382f85c62265ccc2231
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    M src/phaethon.cpp

  Log Message:
  -----------
  MAIN: Don't return with a negative value from main


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

  Changed paths:
    M src/aurora/bzffile.cpp
    M src/aurora/bzffile.h
    A src/common/lzma.cpp
    A src/common/lzma.h
    M src/common/rules.mk

  Log Message:
  -----------
  COMMON: Move LZMA decompression into lzma.h


  Commit: 5fef7ba48f610d4ec03321a0159b26a74e3badef
      https://github.com/xoreos/phaethon/commit/5fef7ba48f610d4ec03321a0159b26a74e3badef
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-06 (Sun, 06 Nov 2016)

  Changed paths:
    M src/common/lzma.cpp

  Log Message:
  -----------
  COMMON: Use lower-level liblzma functions to decompress LZMA

The single-call lzma_raw_buffer_decode() function mucks about with the
error code and the stream positions, so we use a raw lzma decoder
stream ourselves. That we, we correctly identify when a compressed
data stream has been truncated.


  Commit: 700725c18ad0ac86bf7e15ee15f8697b7ebd26bc
      https://github.com/xoreos/phaethon/commit/700725c18ad0ac86bf7e15ee15f8697b7ebd26bc
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-20 (Sun, 20 Nov 2016)

  Changed paths:
    M src/common/bitstream.h

  Log Message:
  -----------
  COMMON: Add an assert() on the stream in BitStream constructor


  Commit: 476c4a6732c3dc3c43b6a12824c074b66f00f913
      https://github.com/xoreos/phaethon/commit/476c4a6732c3dc3c43b6a12824c074b66f00f913
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-20 (Sun, 20 Nov 2016)

  Changed paths:
    M src/aurora/zipfile.cpp

  Log Message:
  -----------
  AURORA: Add an assert() on the stream in ZIPFile constructor


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

  Changed paths:
    M src/common/strutil.cpp

  Log Message:
  -----------
  COMMON: Don't negate a negative composeString() value

This will fail for INT*_MIN, because -INT*_MIN are not valid values.

Because the sign of the result of % on negative values might be
implementation defined, we also need to ABS it, then.


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

  Changed paths:
    M src/common/strutil.cpp

  Log Message:
  -----------
  COMMON: Rewrite composeString() to fill from back to front

This way, we don't need to reverse the string.


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

  Changed paths:
    M src/common/types.h

  Log Message:
  -----------
  COMMON: Also add fallback macros for INT*_MIN and INT*_MAX


  Commit: e10b2123bda6f20d68590882f3872cbcc4b25132
      https://github.com/xoreos/phaethon/commit/e10b2123bda6f20d68590882f3872cbcc4b25132
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-23 (Wed, 23 Nov 2016)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  DOCS: Update ChangeLog

[ci skip]


  Commit: fff860cbb789302d6a00d64461e83b6f308adb92
      https://github.com/xoreos/phaethon/commit/fff860cbb789302d6a00d64461e83b6f308adb92
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-28 (Mon, 28 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: be9047633cff22a26be6f2c0acb66eeab6b31d05
      https://github.com/xoreos/phaethon/commit/be9047633cff22a26be6f2c0acb66eeab6b31d05
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-28 (Mon, 28 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: e55a84f71e8b389d2dd65c4750da04fbbe08ed0b
      https://github.com/xoreos/phaethon/commit/e55a84f71e8b389d2dd65c4750da04fbbe08ed0b
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-28 (Mon, 28 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: e1e8c21438e93e78d294e12a4d9aba521cd2f62b
      https://github.com/xoreos/phaethon/commit/e1e8c21438e93e78d294e12a4d9aba521cd2f62b
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-28 (Mon, 28 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: c4dddeeac3f25596be7e270f732a91243b862e8f
      https://github.com/xoreos/phaethon/commit/c4dddeeac3f25596be7e270f732a91243b862e8f
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-02 (Fri, 02 Dec 2016)

  Changed paths:
    M src/common/util.h

  Log Message:
  -----------
  COMMON: Add Doxygen comments to the uint<->float conversion functions


  Commit: 3350d4d39bd928bf71eb92bfaf83909d8d593981
      https://github.com/xoreos/phaethon/commit/3350d4d39bd928bf71eb92bfaf83909d8d593981
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-02 (Fri, 02 Dec 2016)

  Changed paths:
    M src/aurora/language.h

  Log Message:
  -----------
  AURORA: Add a comment to explain the concepts of the LanguageManager


  Commit: 797dd372d69d376b03864c1ac9cc1f57b11107ae
      https://github.com/xoreos/phaethon/commit/797dd372d69d376b03864c1ac9cc1f57b11107ae
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-02 (Fri, 02 Dec 2016)

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

  Log Message:
  -----------
  IMAGES: Implement TXB encoding 0x09 (raw grayscale, swizzled)

Used for lightmaps in Jade Empire.


  Commit: 4de9f740da132bcf54e7aef1534d337494603142
      https://github.com/xoreos/phaethon/commit/4de9f740da132bcf54e7aef1534d337494603142
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-02 (Fri, 02 Dec 2016)

  Changed paths:
    M src/aurora/util.cpp
    M src/gui/resourcetree.cpp

  Log Message:
  -----------
  AURORA: Load and display TXB2 files too

TXB2 is an alias for TXB found in Jade Empire.


  Commit: 7ea0cbd1867234110d9516dfb3488f597e413875
      https://github.com/xoreos/phaethon/commit/7ea0cbd1867234110d9516dfb3488f597e413875
  Author: Enrico Horn <farmboy0+git at googlemail.com>
  Date:   2016-12-04 (Sun, 04 Dec 2016)

  Changed paths:
    M src/images/txb.cpp

  Log Message:
  -----------
  IMAGES: Correctly load all mipmaps for a TXB texture

The current algorith doesnt load all the mipmap levels for non
rectangular textures correctly.

This is due to two problems:
1. it aborts too early for width or height less than 4
2. it would right shift till both width and heigth are less than 1

This is probably not a *big* deal but it means that not the whole TXB
data is read accuratly.


  Commit: 8f53c33c1add31259e2cbdac84491040ee708b4d
      https://github.com/xoreos/phaethon/commit/8f53c33c1add31259e2cbdac84491040ee708b4d
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-05 (Mon, 05 Dec 2016)

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

  Log Message:
  -----------
  AURORA: Make LanguageManager::parseLanguage() take a const UString &

Yeah, we modify it (lowercasing), but the caller doesn't need to know
that.


  Commit: 67933fa742096b0e8cbb555c06c093f9a70f4529
      https://github.com/xoreos/phaethon/commit/67933fa742096b0e8cbb555c06c093f9a70f4529
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-05 (Mon, 05 Dec 2016)

  Changed paths:
    M src/aurora/language.cpp
    M src/aurora/locstring.cpp

  Log Message:
  -----------
  AURORA: Make LangMan.getLanguageID() heed kLanguageGenderCurrent


  Commit: e5f1d3d2ac9ec0411d36d328670ac36f3dd0cacd
      https://github.com/xoreos/phaethon/commit/e5f1d3d2ac9ec0411d36d328670ac36f3dd0cacd
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-06 (Tue, 06 Dec 2016)

  Changed paths:
    M src/aurora/language_strings.h

  Log Message:
  -----------
  AURORA: Add "fr" to the list of strings that parse to French


  Commit: 7921c0c850778e3ce87f23cdd6551c11e3d10507
      https://github.com/xoreos/phaethon/commit/7921c0c850778e3ce87f23cdd6551c11e3d10507
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-12 (Mon, 12 Dec 2016)

  Changed paths:
    M src/images/util.h

  Log Message:
  -----------
  IMAGES: Also reject too big dimensions in hasValidDimensions()

We only support images dimension between [0, 32767].


  Commit: 530466139d15c37603ce627adcef597ad95a0040
      https://github.com/xoreos/phaethon/commit/530466139d15c37603ce627adcef597ad95a0040
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-13 (Tue, 13 Dec 2016)

  Changed paths:
    M src/images/util.h

  Log Message:
  -----------
  IMAGES: Document that rotate90() rotates clock-wise


  Commit: 7e0d0f1288c8e13bbf8c3d71b820112e1e8bd1d9
      https://github.com/xoreos/phaethon/commit/7e0d0f1288c8e13bbf8c3d71b820112e1e8bd1d9
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-16 (Fri, 16 Dec 2016)

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

  Log Message:
  -----------
  COMMON: Add hasSupportEncoding()

To query whether we have support for this encoding (i.e. we can
convert this encoding to and from UTF-8).


  Commit: 8344e5a3a51193e5235c5676b51bb63b6f0dd903
      https://github.com/xoreos/phaethon/commit/8344e5a3a51193e5235c5676b51bb63b6f0dd903
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-17 (Sat, 17 Dec 2016)

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

  Log Message:
  -----------
  COMMON: Add getEncodingName() to get the name of an encoding


  Commit: 84ebe57415540929d226fba316f6c272fea4a858
      https://github.com/xoreos/phaethon/commit/84ebe57415540929d226fba316f6c272fea4a858
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-19 (Mon, 19 Dec 2016)

  Changed paths:
    M src/common/readstream.cpp

  Log Message:
  -----------
  COMMON: Add a full out-of-class definition for ReadStream::kEOF

So that its address can be taken. This will be needed for unit tests.


  Commit: c4a68b9f643c752dccf1722a7ddbdd462b2691dd
      https://github.com/xoreos/phaethon/commit/c4a68b9f643c752dccf1722a7ddbdd462b2691dd
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-21 (Wed, 21 Dec 2016)

  Changed paths:
    M src/common/ptrmap.h

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


  Commit: f4aaa7aadf600952bf665fc2f8ad31e5d75e71dc
      https://github.com/xoreos/phaethon/commit/f4aaa7aadf600952bf665fc2f8ad31e5d75e71dc
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-22 (Thu, 22 Dec 2016)

  Changed paths:
    M src/common/ptrlist.h

  Log Message:
  -----------
  COMMON: Fix PtrList::remove() and ::remove_if()

No idea how that happened...


  Commit: 654a1fc6741f530695b75f3cc74afca295093978
      https://github.com/xoreos/phaethon/commit/654a1fc6741f530695b75f3cc74afca295093978
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/common/strutil.cpp

  Log Message:
  -----------
  COMMON: Error on parseString() with '-' to unsigned value

strtoul() and friends silently convert such a value to its unsigned
counterpart. We don't want that.


  Commit: d07f2cdca485e7f1b92b4d7b500273bde73fc270
      https://github.com/xoreos/phaethon/commit/d07f2cdca485e7f1b92b4d7b500273bde73fc270
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-24 (Sat, 24 Dec 2016)

  Changed paths:
    M src/aurora/erffile.cpp
    M src/common/memreadstream.cpp
    M src/common/memreadstream.h

  Log Message:
  -----------
  COMMON: Add template ctor to MemoryReadStream for arrays

Creating a MemoryReadStream around an array buffer.


  Commit: 54c5ddfbb91432a8ecb4c901f7844552cb9bc3c6
      https://github.com/xoreos/phaethon/commit/54c5ddfbb91432a8ecb4c901f7844552cb9bc3c6
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-24 (Sat, 24 Dec 2016)

  Changed paths:
    M src/aurora/biffile.cpp
    M src/aurora/bzffile.cpp
    M src/common/memreadstream.h

  Log Message:
  -----------
  COMMON: Add constructor to MemoryReadStream for strings

Creating a MemoryReadStream around a static string.


  Commit: 6efce26d3922bd2a2e87547553d08ddeec13e556
      https://github.com/xoreos/phaethon/commit/6efce26d3922bd2a2e87547553d08ddeec13e556
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-24 (Sat, 24 Dec 2016)

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

  Log Message:
  -----------
  COMMON: Add template ctor to MemoryWriteStream for arrays

Creating a MemoryWriteStream around an array buffer.


  Commit: 41de9ec88622f161aa3e3b183fe3a30c69473127
      https://github.com/xoreos/phaethon/commit/41de9ec88622f161aa3e3b183fe3a30c69473127
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-25 (Sun, 25 Dec 2016)

  Changed paths:
    M src/common/blowfish.cpp

  Log Message:
  -----------
  COMMON: Guard Blowfish buffer padding against overrun

This fixes Coverity Scan issue #173470.


  Commit: 641004b7fcdb26926ceface1f8caf9315635e754
      https://github.com/xoreos/phaethon/commit/641004b7fcdb26926ceface1f8caf9315635e754
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-12-25 (Sun, 25 Dec 2016)

  Changed paths:
    M src/common/writefile.cpp

  Log Message:
  -----------
  COMMON: Initialize WriteFile::_size in the default constructor too

This fixes Coverity Scan issue #173471.


Compare: https://github.com/xoreos/phaethon/compare/429887b4c6b9...641004b7fcdb


More information about the xoreos-git mailing list