[xoreos-git] [xoreos/xoreos] 0c062a: AURORA: Add a field type test in GFF3Struct::getDa...
GitHub
noreply at github.com
Sun Dec 25 11:42:39 CET 2016
Branch: refs/heads/coverity_scan
Home: https://github.com/xoreos/xoreos
Commit: 0c062a163fa715f6d3ce4839dcff3acb2a8d4382
https://github.com/xoreos/xoreos/commit/0c062a163fa715f6d3ce4839dcff3acb2a8d4382
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-08 (Tue, 08 Nov 2016)
Changed paths:
M src/aurora/gff3file.cpp
Log Message:
-----------
AURORA: Add a field type test in GFF3Struct::getData()
We want this method to throw an exception instead of triggering an
assert() when the field is not a data type.
Commit: 932f039ca00ba257b3876a64710bbf623b6f987f
https://github.com/xoreos/xoreos/commit/932f039ca00ba257b3876a64710bbf623b6f987f
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/aurora/gff4file.cpp
M src/aurora/gff4file.h
Log Message:
-----------
AURORA: Add GFF4Struct::getMatrix4x4() versions for Common::Matrix4x4
Commit: 21cf6b60587a4c8f4fad686a9cc535692a534de6
https://github.com/xoreos/xoreos/commit/21cf6b60587a4c8f4fad686a9cc535692a534de6
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-10 (Thu, 10 Nov 2016)
Changed paths:
M src/aurora/gff3file.h
Log Message:
-----------
AURORA: Add comment to GFF3File about the difference of V3.2 vs V3.3
Commit: ce46551b12b35a8fe7c3631da0ce75d6e4736ea4
https://github.com/xoreos/xoreos/commit/ce46551b12b35a8fe7c3631da0ce75d6e4736ea4
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-10 (Thu, 10 Nov 2016)
Changed paths:
M src/aurora/gff4file.h
Log Message:
-----------
AURORA: Add comment to GFF4File about the difference of V4.0 vs V4.1
Commit: 89574622c1e3b5bee3d1f7bef9940be62691e85f
https://github.com/xoreos/xoreos/commit/89574622c1e3b5bee3d1f7bef9940be62691e85f
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-10 (Thu, 10 Nov 2016)
Changed paths:
M src/aurora/gff4file.h
Log Message:
-----------
AURORA: Add comment to GFF4File explaining what a generic is
Commit: adf4276d1f1264597aec0df866dbd753f19cbea7
https://github.com/xoreos/xoreos/commit/adf4276d1f1264597aec0df866dbd753f19cbea7
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-10 (Thu, 10 Nov 2016)
Changed paths:
M src/aurora/gff4file.cpp
Log Message:
-----------
AURORA: Add comments to GFF4File explaining the loading procedure
Commit: a9dbfbe3407cda58bf95996146c4ce359de51492
https://github.com/xoreos/xoreos/commit/a9dbfbe3407cda58bf95996146c4ce359de51492
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-11 (Fri, 11 Nov 2016)
Changed paths:
M src/aurora/gff4file.cpp
Log Message:
-----------
AURORA: Throw if shared string index in GFF4 is out of range
Instead of using assert().
Commit: de538d604d2cccfc24fed7e8eaac4246fe778f1e
https://github.com/xoreos/xoreos/commit/de538d604d2cccfc24fed7e8eaac4246fe778f1e
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-11 (Fri, 11 Nov 2016)
Changed paths:
M src/aurora/gff4file.cpp
Log Message:
-----------
AURORA: Throw if we find a GFF4 generic with type generic
Commit: 8e8dde3ebebedf6aeee3882f9a8d931c92c89ed6
https://github.com/xoreos/xoreos/commit/8e8dde3ebebedf6aeee3882f9a8d931c92c89ed6
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-12 (Sat, 12 Nov 2016)
Changed paths:
M src/aurora/gff4file.cpp
Log Message:
-----------
AURORA: Throw on unknown GFF4 field type configuration
Commit: 7cfd38d5f9b50268f5261ea216ee0ba46db8083a
https://github.com/xoreos/xoreos/commit/7cfd38d5f9b50268f5261ea216ee0ba46db8083a
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-13 (Sun, 13 Nov 2016)
Changed paths:
M src/aurora/gff4file.cpp
Log Message:
-----------
AURORA: Also use available shared strings for GFF4 TalkString fields
When the GFF4 file has a shared strings table, the strings in the
TalkString also refer into this table.
Commit: 8d76c972bfaa9060c0c9ca374eccdd70dd3fe0a5
https://github.com/xoreos/xoreos/commit/8d76c972bfaa9060c0c9ca374eccdd70dd3fe0a5
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/nwn/script/functions_string.cpp
Log Message:
-----------
NWN: Catch exceptions in NWScript function StringToInt
On error, it should return 0.
Commit: 7e9bddaf6a32181603e00af5604677e1f15893f3
https://github.com/xoreos/xoreos/commit/7e9bddaf6a32181603e00af5604677e1f15893f3
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/nwn/script/functions_string.cpp
Log Message:
-----------
NWN: Catch exceptions in NWScript function StringToFloat
On error, it should return 0.0.
Commit: 2e9bd7b917263a91d710806b41bf7621d33480c6
https://github.com/xoreos/xoreos/commit/2e9bd7b917263a91d710806b41bf7621d33480c6
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/nwn2/script/functions_string.cpp
Log Message:
-----------
NWN2: Catch exceptions in NWScript function StringToInt
On error, it should return 0.
Commit: 4d16d90645c6d2c3cfe7e25afba2126326964858
https://github.com/xoreos/xoreos/commit/4d16d90645c6d2c3cfe7e25afba2126326964858
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/nwn2/script/functions_string.cpp
Log Message:
-----------
NWN2: Catch exceptions in NWScript function StringToFloat
On error, it should return 0.0.
Commit: 17153461f76b2eb1b5cded024ed2de10f7bf8b67
https://github.com/xoreos/xoreos/commit/17153461f76b2eb1b5cded024ed2de10f7bf8b67
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/kotor/script/functions_string.cpp
Log Message:
-----------
KOTOR: Catch exceptions in NWScript function StringToInt
On error, it should return 0.
Commit: 9fd8d6cb1ac7870771bf975fb77c48de3cf7f92a
https://github.com/xoreos/xoreos/commit/9fd8d6cb1ac7870771bf975fb77c48de3cf7f92a
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/kotor/script/functions_string.cpp
Log Message:
-----------
KOTOR: Catch exceptions in NWScript function StringToFloat
On error, it should return 0.0.
Commit: 520420f19b41d76310d65524b084f53c957f6e45
https://github.com/xoreos/xoreos/commit/520420f19b41d76310d65524b084f53c957f6e45
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/kotor2/script/functions_string.cpp
Log Message:
-----------
KOTOR2: Catch exceptions in NWScript function StringToInt
On error, it should return 0.
Commit: 06d320c40e10892f17280029b4ebf98f2342906e
https://github.com/xoreos/xoreos/commit/06d320c40e10892f17280029b4ebf98f2342906e
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/kotor2/script/functions_string.cpp
Log Message:
-----------
KOTOR2: Catch exceptions in NWScript function StringToFloat
On error, it should return 0.0.
Commit: acb0f5b3158ea74a99e53049ce8b744ea4c24f0b
https://github.com/xoreos/xoreos/commit/acb0f5b3158ea74a99e53049ce8b744ea4c24f0b
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/jade/script/functions_string.cpp
Log Message:
-----------
JADE: Catch exceptions in NWScript function StringToInt
On error, it should return 0.
Commit: f1e08cb20feb27733b420d991da7e911ad336c32
https://github.com/xoreos/xoreos/commit/f1e08cb20feb27733b420d991da7e911ad336c32
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/jade/script/functions_string.cpp
Log Message:
-----------
JADE: Catch exceptions in NWScript function StringToFloat
On error, it should return 0.0.
Commit: e02d3a66ca3913af2e0bf4ad880e871f4d786fb3
https://github.com/xoreos/xoreos/commit/e02d3a66ca3913af2e0bf4ad880e871f4d786fb3
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/witcher/nwscript/functions_string.cpp
Log Message:
-----------
WITCHER: Catch exceptions in NWScript function StringToInt
On error, it should return 0.
Commit: 3eecb4e53828cf80632b14879835d619f61899e7
https://github.com/xoreos/xoreos/commit/3eecb4e53828cf80632b14879835d619f61899e7
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/witcher/nwscript/functions_string.cpp
Log Message:
-----------
WITCHER: Catch exceptions in NWScript function StringToFloat
On error, it should return 0.0.
Commit: ebef4366f7b5f20e2c6dc16c5f33229449f5310f
https://github.com/xoreos/xoreos/commit/ebef4366f7b5f20e2c6dc16c5f33229449f5310f
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/dragonage/script/functions_string.cpp
Log Message:
-----------
DRAGONAGE: Catch exceptions in NWScript function StringToInt
On error, it should return 0.
Commit: 7b0a52f86561fa1a80f02bdffa67d46963871be1
https://github.com/xoreos/xoreos/commit/7b0a52f86561fa1a80f02bdffa67d46963871be1
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/dragonage/script/functions_string.cpp
Log Message:
-----------
DRAGONAGE: Catch exceptions in NWScript function StringToFloat
On error, it should return 0.0.
Commit: 3fdab196ef1742da2112259d71d391461197805f
https://github.com/xoreos/xoreos/commit/3fdab196ef1742da2112259d71d391461197805f
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/dragonage/script/functions_string.cpp
Log Message:
-----------
DRAGONAGE: Catch exceptions in NWScript function StringToVector
On error, it should return an empty vector.
Commit: 2ccd9cbe7de45235cad86a99afa2eeac965f5e32
https://github.com/xoreos/xoreos/commit/2ccd9cbe7de45235cad86a99afa2eeac965f5e32
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/dragonage2/script/functions_string.cpp
Log Message:
-----------
DRAGONAGE2: Catch exceptions in NWScript function StringToInt
On error, it should return 0.
Commit: dee4f4a21eb07c58c0200800aa700ea1f9ed0e3b
https://github.com/xoreos/xoreos/commit/dee4f4a21eb07c58c0200800aa700ea1f9ed0e3b
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/dragonage2/script/functions_string.cpp
Log Message:
-----------
DRAGONAGE2: Catch exceptions in NWScript function StringToFloat
On error, it should return 0.0.
Commit: 95aedbe4938c78ef3b3782ebdc90f137c3729c2d
https://github.com/xoreos/xoreos/commit/95aedbe4938c78ef3b3782ebdc90f137c3729c2d
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M src/engines/dragonage2/script/functions_string.cpp
Log Message:
-----------
DRAGONAGE2: Catch exceptions in NWScript function StringToVector
On error, it should return an empty vector.
Commit: 2b27e9798e00eb484eb66c18d7e792aff2b0ff3b
https://github.com/xoreos/xoreos/commit/2b27e9798e00eb484eb66c18d7e792aff2b0ff3b
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-15 (Tue, 15 Nov 2016)
Changed paths:
M src/aurora/nwscript/functionman.cpp
Log Message:
-----------
AURORA: Bump the engine function call debug level to 2
Commit: d49747e7b0a1c20f2e267487656d851c10d888d0
https://github.com/xoreos/xoreos/commit/d49747e7b0a1c20f2e267487656d851c10d888d0
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M src/engines/nwn/script/functions_string.cpp
Log Message:
-----------
NWN: Add debug output on invalid parameters in string functions
Commit: 7e0337754be3898422fab80841fe829d8715b170
https://github.com/xoreos/xoreos/commit/7e0337754be3898422fab80841fe829d8715b170
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M src/engines/nwn2/script/functions_string.cpp
Log Message:
-----------
NWN2: Add debug output on invalid parameters in string functions
Commit: 2b1ecce72fefecf3500bf499aad6e3a410eb67c1
https://github.com/xoreos/xoreos/commit/2b1ecce72fefecf3500bf499aad6e3a410eb67c1
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M src/engines/kotor/script/functions_string.cpp
Log Message:
-----------
KOTOR: Add debug output on invalid parameters in string functions
Commit: 5d117ebf7d49fbfe89cf1b5e87f47241c0c4c0b7
https://github.com/xoreos/xoreos/commit/5d117ebf7d49fbfe89cf1b5e87f47241c0c4c0b7
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M src/engines/kotor2/script/functions_string.cpp
Log Message:
-----------
KOTOR2: Add debug output on invalid parameters in string functions
Commit: 613281b46757ac1c83b509e4428c0e69cf5a8782
https://github.com/xoreos/xoreos/commit/613281b46757ac1c83b509e4428c0e69cf5a8782
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M src/engines/jade/script/functions_string.cpp
Log Message:
-----------
JADE: Add debug output on invalid parameters in string functions
Commit: cd0ae406953338c03a03224544f5a2e1a2de4e97
https://github.com/xoreos/xoreos/commit/cd0ae406953338c03a03224544f5a2e1a2de4e97
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M src/engines/witcher/nwscript/functions_string.cpp
Log Message:
-----------
WITCHER: Add debug output on invalid parameters in string functions
Commit: cfaff2af2afed28fd5682b7056f0282f92e47b92
https://github.com/xoreos/xoreos/commit/cfaff2af2afed28fd5682b7056f0282f92e47b92
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M src/engines/dragonage/script/functions_string.cpp
Log Message:
-----------
DRAGONAGE: Add debug output on invalid parameters in string functions
Commit: cff580044a7ca184dd18552f50de6e7558773127
https://github.com/xoreos/xoreos/commit/cff580044a7ca184dd18552f50de6e7558773127
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-16 (Wed, 16 Nov 2016)
Changed paths:
M src/engines/dragonage2/script/functions_string.cpp
Log Message:
-----------
DRAGONAGE2: Add debug output on invalid parameters in string functions
Commit: 9c0d38e4f0dcdc9b4b9e1d03c4d4541f17a76bb4
https://github.com/xoreos/xoreos/commit/9c0d38e4f0dcdc9b4b9e1d03c4d4541f17a76bb4
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-17 (Thu, 17 Nov 2016)
Changed paths:
M src/aurora/gff4file.cpp
Log Message:
-----------
AURORA: Also throw on GFF4 generics that are lists and not a reference
We have no example GFF4 file with a non-reference generic list.
Commit: d444fa38cee5311bd8f40d1d3c79f6c3410716fa
https://github.com/xoreos/xoreos/commit/d444fa38cee5311bd8f40d1d3c79f6c3410716fa
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-17 (Thu, 17 Nov 2016)
Changed paths:
M src/aurora/gff4file.cpp
Log Message:
-----------
AURORA: Throw on GFF4 with shared string and ASCII string fields
We have no example GFF4 file with shared strings and ASCII string
fields, so we don't know whether these fields use the shared string
table.
Commit: f44deac7bdaed5be4ca6b442f4ec4c9f80d71357
https://github.com/xoreos/xoreos/commit/f44deac7bdaed5be4ca6b442f4ec4c9f80d71357
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-18 (Fri, 18 Nov 2016)
Changed paths:
M src/aurora/gdafile.cpp
M src/aurora/gdafile.h
Log Message:
-----------
AURORA: Let GDAFile::identifyType() return the Type directly
Instead of returning an uint32.
Commit: c34a2711ca96a757949157473af945a5569c93c8
https://github.com/xoreos/xoreos/commit/c34a2711ca96a757949157473af945a5569c93c8
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-18 (Fri, 18 Nov 2016)
Changed paths:
M src/aurora/gdafile.cpp
Log Message:
-----------
AURORA: Check kGFF4G2DAColumnType fields in GDA files for consistency
Commit: 37035140aac7eab52cb16fe5656e31dbbc401d41
https://github.com/xoreos/xoreos/commit/37035140aac7eab52cb16fe5656e31dbbc401d41
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-19 (Sat, 19 Nov 2016)
Changed paths:
M src/aurora/gdafile.cpp
Log Message:
-----------
AURORA: Check GDA file version
Commit: f8c64e52a5613b3aac50099ccdb5240480da6ddb
https://github.com/xoreos/xoreos/commit/f8c64e52a5613b3aac50099ccdb5240480da6ddb
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: b88f4f0773856557d730920ad8dcdd5db8e70438
https://github.com/xoreos/xoreos/commit/b88f4f0773856557d730920ad8dcdd5db8e70438
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)
Changed paths:
M src/aurora/gff3file.cpp
Log Message:
-----------
AURORA: Add an assert() on the stream in GFF3File constructor
Commit: 7f24a072e14ae6d6c64e6ba96bc3730483fb7695
https://github.com/xoreos/xoreos/commit/7f24a072e14ae6d6c64e6ba96bc3730483fb7695
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)
Changed paths:
M src/aurora/gff4file.cpp
Log Message:
-----------
AURORA: Add an assert() on the stream in GFF4File constructor
Commit: bec98da1fa33adf691025f819b47d329de7e873b
https://github.com/xoreos/xoreos/commit/bec98da1fa33adf691025f819b47d329de7e873b
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)
Changed paths:
M src/aurora/gdafile.cpp
Log Message:
-----------
AURORA: Add an assert() on the stream in GDAFile constructor
Commit: 3b96cf52d4b0e9702abf1e14e9521b7533883156
https://github.com/xoreos/xoreos/commit/3b96cf52d4b0e9702abf1e14e9521b7533883156
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: 3703e01d61b7f7863c2a065b03e70e204c9907df
https://github.com/xoreos/xoreos/commit/3703e01d61b7f7863c2a065b03e70e204c9907df
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)
Changed paths:
M src/aurora/dlgfile.cpp
Log Message:
-----------
AURORA: Add an assert() on the stream in DLGFile constructor
Commit: aa6c01a7f7e0153ddd767f1f64ab3b5e901b7058
https://github.com/xoreos/xoreos/commit/aa6c01a7f7e0153ddd767f1f64ab3b5e901b7058
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)
Changed paths:
M src/aurora/cdpth.cpp
Log Message:
-----------
AURORA: Add an assert() on the stream in CDPTH::load()
Commit: e1b67748a1779d25e81e83319a5c0ad32a9292a1
https://github.com/xoreos/xoreos/commit/e1b67748a1779d25e81e83319a5c0ad32a9292a1
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-20 (Sun, 20 Nov 2016)
Changed paths:
M src/aurora/smallfile.cpp
Log Message:
-----------
AURORA: Add an assert() on the stream in Small::decompress()
Commit: cf6d8c89c6d88fb4f7cfa113cafdd0cb89cec216
https://github.com/xoreos/xoreos/commit/cf6d8c89c6d88fb4f7cfa113cafdd0cb89cec216
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: 81122d28856bcdd07c1c1b7420815befe64ea007
https://github.com/xoreos/xoreos/commit/81122d28856bcdd07c1c1b7420815befe64ea007
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: 4ba33e4990ec96ad2424e505db5ab5a4b3974218
https://github.com/xoreos/xoreos/commit/4ba33e4990ec96ad2424e505db5ab5a4b3974218
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: e5093d40365e0fd786780338b2a9e9c18361979f
https://github.com/xoreos/xoreos/commit/e5093d40365e0fd786780338b2a9e9c18361979f
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: 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/>.
Commit: 8dbced34780d1439d13a75b2bdcb1c2cc74b1a84
https://github.com/xoreos/xoreos/commit/8dbced34780d1439d13a75b2bdcb1c2cc74b1a84
Author: Matthew Hoops <clone2727 at gmail.com>
Date: 2016-11-30 (Wed, 30 Nov 2016)
Changed paths:
M src/graphics/images/s3tc.cpp
Log Message:
-----------
GRAPHICS: Mark the two s3tc helper functions as inline
Inlining interpolate32 leads the compiler to optimize away the
subtraction and the overhead of the calling it up to twice per
4x4 block.
Commit: abd8b4da8f699519e541c53635852ff966f14c06
https://github.com/xoreos/xoreos/commit/abd8b4da8f699519e541c53635852ff966f14c06
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-29 (Tue, 29 Nov 2016)
Changed paths:
M src/common/util.h
Log Message:
-----------
COMMON: Add Doxygen comments to the uint<->float conversion functions
Commit: 4907b0d25c1f38caf937fc08baffbdf4b8deda79
https://github.com/xoreos/xoreos/commit/4907b0d25c1f38caf937fc08baffbdf4b8deda79
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-30 (Wed, 30 Nov 2016)
Changed paths:
M src/aurora/2dareg.h
Log Message:
-----------
AURORA: Document that the TwoDARegistry uses the ResourceManager
Commit: dd6ad0c1d87396d2ee5be6d671fcd384a109efc2
https://github.com/xoreos/xoreos/commit/dd6ad0c1d87396d2ee5be6d671fcd384a109efc2
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-01 (Thu, 01 Dec 2016)
Changed paths:
M src/aurora/language.h
Log Message:
-----------
AURORA: Add a comment to explain the concepts of the LanguageManager
Commit: 147c14c2a7bf766bab36408071f89daf2d8a15ef
https://github.com/xoreos/xoreos/commit/147c14c2a7bf766bab36408071f89daf2d8a15ef
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-02 (Fri, 02 Dec 2016)
Changed paths:
M src/graphics/images/txb.cpp
M src/graphics/images/txb.h
Log Message:
-----------
GRAPHICS: Implement TXB encoding 0x09 (raw grayscale, swizzled)
Used for lightmaps in Jade Empire.
Commit: c2f3016e8e6f3c49087eae778339762f96b712f2
https://github.com/xoreos/xoreos/commit/c2f3016e8e6f3c49087eae778339762f96b712f2
Author: Enrico Horn <farmboy0+git at googlemail.com>
Date: 2016-12-05 (Mon, 05 Dec 2016)
Changed paths:
M src/graphics/images/txb.cpp
Log Message:
-----------
GRAPHICS: 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: 66a12dbb246cbe5a5a465926997bb85279ecba5d
https://github.com/xoreos/xoreos/commit/66a12dbb246cbe5a5a465926997bb85279ecba5d
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: 5f7aaac8aa4464278b1523156e883f8b3f83629f
https://github.com/xoreos/xoreos/commit/5f7aaac8aa4464278b1523156e883f8b3f83629f
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: acee209b2e07d7d6210a5538e482989bef8ba4a4
https://github.com/xoreos/xoreos/commit/acee209b2e07d7d6210a5538e482989bef8ba4a4
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: 891f769da77a580aa7aff0e89989f246a9281685
https://github.com/xoreos/xoreos/commit/891f769da77a580aa7aff0e89989f246a9281685
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-07 (Wed, 07 Dec 2016)
Changed paths:
M src/aurora/ssffile.cpp
Log Message:
-----------
AURORA: Use UINT32_MAX in SSFFile::checkVersionFeatures()
To make it more clear *why* this is the limit for the number of sounds
in an SSFFile.
Commit: fdc68ab7276b8d30072ed7d26471ea9730401be8
https://github.com/xoreos/xoreos/commit/fdc68ab7276b8d30072ed7d26471ea9730401be8
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-08 (Thu, 08 Dec 2016)
Changed paths:
M src/aurora/ssffile.cpp
Log Message:
-----------
AURORA: Use size_t in the loop in SSFFile::writeNWN()
Commit: 4d6a628f0e98d644a4971bf70394627fd4ae8144
https://github.com/xoreos/xoreos/commit/4d6a628f0e98d644a4971bf70394627fd4ae8144
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-09 (Fri, 09 Dec 2016)
Changed paths:
M src/aurora/ssffile.cpp
Log Message:
-----------
AURORA: Check for offset overflow in SSFFile::writeNWN()
Commit: 6c244d2e6b95e5dcee36b6b3eebaf86061dfc349
https://github.com/xoreos/xoreos/commit/6c244d2e6b95e5dcee36b6b3eebaf86061dfc349
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-10 (Sat, 10 Dec 2016)
Changed paths:
M src/aurora/ssffile.cpp
Log Message:
-----------
AURORA: Be more defensive with SSFFile entry indices
Commit: ac8800bddd987aaa3b12c41ce798bf8bc1f38a75
https://github.com/xoreos/xoreos/commit/ac8800bddd987aaa3b12c41ce798bf8bc1f38a75
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-11 (Sun, 11 Dec 2016)
Changed paths:
M src/aurora/talktable.h
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: Add TalkTable::getSoundID()
Commit: 82957f27efe10b1b19790f327747de342126d458
https://github.com/xoreos/xoreos/commit/82957f27efe10b1b19790f327747de342126d458
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-12 (Mon, 12 Dec 2016)
Changed paths:
M src/graphics/images/util.h
Log Message:
-----------
GRAPHICS: Also reject too big dimensions in hasValidDimensions()
We only support images dimension between [0, 32767].
Commit: 2c14232046e25e4877e4e5c9e8c7de4ad4d2d13e
https://github.com/xoreos/xoreos/commit/2c14232046e25e4877e4e5c9e8c7de4ad4d2d13e
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-13 (Tue, 13 Dec 2016)
Changed paths:
M src/graphics/images/util.h
Log Message:
-----------
GRAPHICS: Document that rotate90() rotates clock-wise
Commit: 0c198d0481d49b20190ed1229a6a18d28cf95674
https://github.com/xoreos/xoreos/commit/0c198d0481d49b20190ed1229a6a18d28cf95674
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-14 (Wed, 14 Dec 2016)
Changed paths:
M src/graphics/images/xoreositex.cpp
Log Message:
-----------
GRAPHICS: Fix indentation in XEOSITEX::readHeader()
Commit: eea9aa8c1e0ec02e9aadd632ed9ff295ae6cb84c
https://github.com/xoreos/xoreos/commit/eea9aa8c1e0ec02e9aadd632ed9ff295ae6cb84c
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)
Changed paths:
M src/graphics/images/xoreositex.cpp
Log Message:
-----------
GRAPHICS: Correctly set _hasAlpha in the XEOSITEX loader
Commit: 67492873b6d5dfe94cde916e0f034d4161aa19e2
https://github.com/xoreos/xoreos/commit/67492873b6d5dfe94cde916e0f034d4161aa19e2
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)
Changed paths:
M src/graphics/images/xoreositex.cpp
Log Message:
-----------
GRAPHICS: Correctly set XEOSITEX::MipMap::image
It should point to the ImageDecoder the mip map is part of, i.e. the
XEOSITEX instance itself.
Commit: bb3aadb72999e2d7b3f3de70630354ac0dce4a81
https://github.com/xoreos/xoreos/commit/bb3aadb72999e2d7b3f3de70630354ac0dce4a81
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: 309bfd47ef27bdb145dd7f7851c7e7a54fef54e5
https://github.com/xoreos/xoreos/commit/309bfd47ef27bdb145dd7f7851c7e7a54fef54e5
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: 630b95e57085eb96ae06cc7264f166a242b61f27
https://github.com/xoreos/xoreos/commit/630b95e57085eb96ae06cc7264f166a242b61f27
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-18 (Sun, 18 Dec 2016)
Changed paths:
M src/common/configman.cpp
M src/common/configman.h
Log Message:
-----------
COMMON: Add ConfigManager::load() version to read from a stream
Commit: a760877001b5a0af0faa1b52beaa1791961cc51d
https://github.com/xoreos/xoreos/commit/a760877001b5a0af0faa1b52beaa1791961cc51d
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-18 (Sun, 18 Dec 2016)
Changed paths:
M src/common/configman.cpp
M src/common/configman.h
Log Message:
-----------
COMMON: Add ConfigManager::save() version to write to a stream
Commit: 8a1c490c43b3c1c596655bd290cac73b5a80d9c9
https://github.com/xoreos/xoreos/commit/8a1c490c43b3c1c596655bd290cac73b5a80d9c9
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: 05c8c8caa9f688f6741dafa8b8d5915a94e4ecae
https://github.com/xoreos/xoreos/commit/05c8c8caa9f688f6741dafa8b8d5915a94e4ecae
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-19 (Mon, 19 Dec 2016)
Changed paths:
M src/aurora/gdafile.cpp
Log Message:
-----------
AURORA: Add a full out-of-class definitions for GDAFile::kInvalid*
So that their addresses can be taken. This will be needed for unit
tests.
Commit: 1773dbf24fff196fb69e6071c7b031095cfb59c8
https://github.com/xoreos/xoreos/commit/1773dbf24fff196fb69e6071c7b031095cfb59c8
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-20 (Tue, 20 Dec 2016)
Changed paths:
M src/aurora/ifofile.cpp
M src/aurora/ifofile.h
Log Message:
-----------
AURORA: Add IFOFile::load() version that takes over a stream
Instead of querying the ResourceManager for a module.ifo.
Commit: 2c62c70f32237ad1bdb5a4a9bc95e88dede215de
https://github.com/xoreos/xoreos/commit/2c62c70f32237ad1bdb5a4a9bc95e88dede215de
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: 97fb698eb78f33a713fb5ee88727ba92f972877d
https://github.com/xoreos/xoreos/commit/97fb698eb78f33a713fb5ee88727ba92f972877d
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: 850309122ce0d77f11a79b463a3fdd0b9e618bd6
https://github.com/xoreos/xoreos/commit/850309122ce0d77f11a79b463a3fdd0b9e618bd6
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
M src/common/systemfonts.cpp
Log Message:
-----------
COMMON: Add template ctor to MemoryReadStream for arrays
Creating a MemoryReadStream around an array buffer.
Commit: 4b5d9436425487d2c370dd33596808d5433b6e3a
https://github.com/xoreos/xoreos/commit/4b5d9436425487d2c370dd33596808d5433b6e3a
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-24 (Sat, 24 Dec 2016)
Changed paths:
M src/common/memreadstream.h
Log Message:
-----------
COMMON: Add constructor to MemoryReadStream for strings
Creating a MemoryReadStream around a static string.
Commit: 57af0825886d6d1cd6cc673c25e693a315528b04
https://github.com/xoreos/xoreos/commit/57af0825886d6d1cd6cc673c25e693a315528b04
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: a834f1fe00cf307b8abbb1f1f0ffa7f7bf8a3cfc
https://github.com/xoreos/xoreos/commit/a834f1fe00cf307b8abbb1f1f0ffa7f7bf8a3cfc
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: ccb2310a9144df4b7759099c918ee34d7983da05
https://github.com/xoreos/xoreos/commit/ccb2310a9144df4b7759099c918ee34d7983da05
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.
Commit: 1918ae8980dbc6df6266c60cb5377cfb81001ccf
https://github.com/xoreos/xoreos/commit/1918ae8980dbc6df6266c60cb5377cfb81001ccf
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-12-25 (Sun, 25 Dec 2016)
Changed paths:
M src/sound/decoders/wma.cpp
Log Message:
-----------
SOUND: Initialize expPower[] in WMACodec::calculateMDCTCoefficients()
This fixes Coverity Scan issue #173475.
Compare: https://github.com/xoreos/xoreos/compare/58d8601d899f...1918ae8980db
More information about the xoreos-git
mailing list