[wesnoth-commits] [wesnoth/wesnoth] 56272d: Add stack traces on Lua warnings

Celtic Minstrel noreply at github.com
Wed Feb 17 01:42:51 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 56272d4b9c04369cd0838805e89c9d1914e860e1
      https://github.com/wesnoth/wesnoth/commit/56272d4b9c04369cd0838805e89c9d1914e860e1
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Add stack traces on Lua warnings

This means that any deprecation message triggered from Lua now explains exactly where it triggered.

The message still triggers only once, so you would need multiple passes to fix every case, but it seems like an improvement.


  Commit: d2734973edf4d5f47be1516ed97ece8cae87b0ff
      https://github.com/wesnoth/wesnoth/commit/d2734973edf4d5f47be1516ed97ece8cae87b0ff
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M data/lua/core.lua
    M doc/man/wesnoth.6
    M src/commandline_options.cpp
    M src/commandline_options.hpp
    M src/game_config.cpp
    M src/game_config.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Add a command-line option that makes deprecated Lua stuff evaporate


  Commit: 75522eb2240211ff74cd80735a1d8c749a151783
      https://github.com/wesnoth/wesnoth/commit/75522eb2240211ff74cd80735a1d8c749a151783
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M changelog.md

  Log Message:
  -----------
  Update changelog


Compare: https://github.com/wesnoth/wesnoth/compare/a019edb26c65...75522eb22402



More information about the Commits mailing list