[Commits] [wesnoth/wesnoth] bd977e: fixup lua warning related to synchronize_choice

GitHub noreply at github.com
Thu May 15 01:47:29 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: bd977e5666b3098aa5a372ffe52b81f0f57adf95
      https://github.com/wesnoth/wesnoth/commit/bd977e5666b3098aa5a372ffe52b81f0f57adf95
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-14 (Wed, 14 May 2014)

  Changed paths:
    M src/scripting/lua.cpp

  Log Message:
  -----------
  fixup lua warning related to synchronize_choice

Lua now chats on a proper warning channel when this happens, as well.
This fixes up commit 1e3aec74db68cfccdfc639dcd9a574cd59b92f1f.


  Commit: a9274bddc605c7eeecf11d208d3f13aaf8710408
      https://github.com/wesnoth/wesnoth/commit/a9274bddc605c7eeecf11d208d3f13aaf8710408
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-14 (Wed, 14 May 2014)

  Changed paths:
    M src/scripting/lua.cpp

  Log Message:
  -----------
  fixup "Lua SUF Error", now it reports on error log as well as chat


  Commit: f7ce1845f34370009a3fbeb7aee1a4a1e7818901
      https://github.com/wesnoth/wesnoth/commit/f7ce1845f34370009a3fbeb7aee1a4a1e7818901
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-14 (Wed, 14 May 2014)

  Changed paths:
    M src/commandline_options.cpp
    M src/commandline_options.hpp
    M src/log.cpp
    M src/log.hpp

  Log Message:
  -----------
  add "strict" logging option, to treat e.g. wml warnings as errors

When the game is run using e.g. "--log-strict=warning", then
writing anything to a log channel of severity warning or higher
will result in a game::game_error exception being thrown.

This will only happen the first time that such a write is
attempted, subsequent attempts to get the logging object will
pass without exception and such messages will be reported.


  Commit: 3cc25fdb573dfc580338685ae120a6d3765afe7e
      https://github.com/wesnoth/wesnoth/commit/3cc25fdb573dfc580338685ae120a6d3765afe7e
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-14 (Wed, 14 May 2014)

  Changed paths:
    M run_wml_tests

  Log Message:
  -----------
  wml test script defaults to "--log-strict=warning", -s to disable


  Commit: 8f36bb1d0de76730638b5575ef829ee8858651f6
      https://github.com/wesnoth/wesnoth/commit/8f36bb1d0de76730638b5575ef829ee8858651f6
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-05-14 (Wed, 14 May 2014)

  Changed paths:
    M run_wml_tests

  Log Message:
  -----------
  fixup run_wml_tests

getopts string wasn't correct, was skipping the -l option.


Compare: https://github.com/wesnoth/wesnoth/compare/24c9fe0e5ec7...8f36bb1d0de7


More information about the Commits mailing list