[xoreos-git] [xoreos/xoreos] 97b508: AURORA: Add debug messages for script engine funct...

GitHub noreply at github.com
Mon Nov 7 14:48:55 CET 2016


  Branch: refs/heads/coverity_scan
  Home:   https://github.com/xoreos/xoreos
  Commit: 97b508d4db311e96b741b26f3a32c9101314bdc1
      https://github.com/xoreos/xoreos/commit/97b508d4db311e96b741b26f3a32c9101314bdc1
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-04 (Fri, 04 Nov 2016)

  Changed paths:
    M src/aurora/nwscript/functionman.cpp
    M src/aurora/nwscript/util.cpp
    M src/aurora/nwscript/util.h

  Log Message:
  -----------
  AURORA: Add debug messages for script engine function calls

With level 1 of the kDebugEngineScripts channel, the script
interpreter now prints the just called engine function and its return
value.

With level 5 of the kDebugEngineScripts channel, the script
interpreter instead prints the engine function name before it's called
and the return value afterwards.


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

  Changed paths:
    M src/engines/nwn/script/functions_string.cpp

  Log Message:
  -----------
  NWN: Add handling for the nStart param to FindSubString

As opposed to Jade Empire, KotOR and KotOR2, FindSubString in NWN has
an optional nStart parameter which specifies the position in the
original string to start searching from.


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

  Changed paths:
    M src/engines/nwn2/script/functions_string.cpp

  Log Message:
  -----------
  NWN2: Add handling for the nStart param to FindSubString

As opposed to Jade Empire, KotOR and KotOR2, FindSubString in NWN2 has
an optional nStart parameter which specifies the position in the
original string to start searching from.


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

  Changed paths:
    M src/engines/dragonage/script/functions_string.cpp

  Log Message:
  -----------
  DRAGONAGE: Add handling for the nStart param to FindSubString

As opposed to Jade Empire, KotOR and KotOR2, FindSubString in Dragon
Age has an optional nStart parameter which specifies the position in
the original string to start searching from.


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

  Changed paths:
    M src/engines/dragonage2/script/functions_string.cpp

  Log Message:
  -----------
  DRAGONAGE2: Add handling for the nStart param to FindSubString

As opposed to Jade Empire, KotOR and KotOR2, FindSubString in Dragon
Age 2 has an optional nStart parameter which specifies the position in
the original string to start searching from.


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

  Changed paths:
    M src/engines/jade/script/functions_string.cpp

  Log Message:
  -----------
  JADE: Fix FindSubString for "not found"

Assigning to ctx.Return() doesn't actually return from the function.


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

  Changed paths:
    M src/engines/kotor/script/functions_string.cpp

  Log Message:
  -----------
  KOTOR: Fix FindSubString for "not found"

Assigning to ctx.Return() doesn't actually return from the function.


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

  Changed paths:
    M src/engines/kotor2/script/functions_string.cpp

  Log Message:
  -----------
  KOTOR2: Fix FindSubString for "not found"

Assigning to ctx.Return() doesn't actually return from the function.


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

  Changed paths:
    M src/engines/witcher/nwscript/functions_string.cpp

  Log Message:
  -----------
  WITCHER: Fix FindSubString for "not found"

Assigning to ctx.Return() doesn't actually return from the function.


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

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

  Log Message:
  -----------
  AURORA: Document which talktable versions are supported


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

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

  Log Message:
  -----------
  AURORA: Remove TalkTable_TLK::_stringsOffset

We only need that information during file loading. There's no reason
to keep it around.


  Commit: 5aed401871107d85039334a3aa14f040e512c435
      https://github.com/xoreos/xoreos/commit/5aed401871107d85039334a3aa14f040e512c435
  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: ee6bcd3748ce239a0bfbb8d2abee0d333c178944
      https://github.com/xoreos/xoreos/commit/ee6bcd3748ce239a0bfbb8d2abee0d333c178944
  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: 58d8601d899f5cd20136d47e472eae37d3f82a2d
      https://github.com/xoreos/xoreos/commit/58d8601d899f5cd20136d47e472eae37d3f82a2d
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
    M src/common/configman.cpp

  Log Message:
  -----------
  COMMON: Initialize ConfigManager::_domainApp and _domainGame

This fixes Coverity Scan issue #1365408.


Compare: https://github.com/xoreos/xoreos/compare/c4658c64c42a...58d8601d899f


More information about the xoreos-git mailing list