[Commits] [wesnoth/wesnoth] 2021a4: Add lua console

GitHub noreply at github.com
Thu Nov 13 18:25:36 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2021a42d5bc27878abb1f20dd2523056d43aea1d
      https://github.com/wesnoth/wesnoth/commit/2021a42d5bc27878abb1f20dd2523056d43aea1d
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-11-13 (Thu, 13 Nov 2014)

  Changed paths:
    M data/core/hotkeys.cfg
    A data/gui/default/window/lua_interpreter.cfg
    M src/CMakeLists.txt
    M src/SConscript
    A src/gui/dialogs/lua_interpreter.cpp
    A src/gui/dialogs/lua_interpreter.hpp
    M src/gui/dialogs/title_screen.cpp
    M src/gui/widgets/scrollbar.cpp
    M src/hotkey/command_executor.cpp
    M src/hotkey/hotkey_command.cpp
    M src/hotkey/hotkey_command.hpp
    M src/play_controller.cpp
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/application_lua_kernel.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp
    M src/scripting/mapgen_lua_kernel.cpp
    M src/scripting/mapgen_lua_kernel.hpp

  Log Message:
  -----------
  Add lua console

- Add an internal command logger to the lua kernel base, and expose
this.
- Redirect the internal lua `print` to the command logger.
- Add an external logger registration system to lua kernel, in
addition to the internal one.
- Add a lua console dialog which binds to a lua kernel base and
permits to review the contents of the logger and issue new commands,
and report errors.
- Add a hotkey binding to launch the lua console "`"
- Adds tab completion support to the lua console


  Commit: 94728187af35345bdfe7eec25aa4f5e3b972eb02
      https://github.com/wesnoth/wesnoth/commit/94728187af35345bdfe7eec25aa4f5e3b972eb02
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-11-13 (Thu, 13 Nov 2014)

  Changed paths:
    M data/core/hotkeys.cfg
    A data/gui/default/window/lua_interpreter.cfg
    M src/CMakeLists.txt
    M src/SConscript
    A src/gui/dialogs/lua_interpreter.cpp
    A src/gui/dialogs/lua_interpreter.hpp
    M src/gui/dialogs/title_screen.cpp
    M src/gui/widgets/scrollbar.cpp
    M src/hotkey/command_executor.cpp
    M src/hotkey/hotkey_command.cpp
    M src/hotkey/hotkey_command.hpp
    M src/play_controller.cpp
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/application_lua_kernel.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp
    M src/scripting/mapgen_lua_kernel.cpp
    M src/scripting/mapgen_lua_kernel.hpp

  Log Message:
  -----------
  Merge branch 'lua_interpreter_dialog'


Compare: https://github.com/wesnoth/wesnoth/compare/617c81459ef6...94728187af35


More information about the Commits mailing list