[Commits] [wesnoth/wesnoth] c6d8f0: minor fixup: add braces to an if statement, in lua...

GitHub noreply at github.com
Sat Dec 20 01:49:36 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c6d8f03c5f3e08237f2b055fe2e1c049ed55b684
      https://github.com/wesnoth/wesnoth/commit/c6d8f03c5f3e08237f2b055fe2e1c049ed55b684
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/scripting/lua_fileops.cpp

  Log Message:
  -----------
  minor fixup: add braces to an if statement, in lua load file


  Commit: 77e846976b48f9883cc5b7245dac5bf8b7e2f5ae
      https://github.com/wesnoth/wesnoth/commit/77e846976b48f9883cc5b7245dac5bf8b7e2f5ae
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_ui.cpp
    M src/widgets/textbox.cpp

  Log Message:
  -----------
  bugfix: fix an infinite loop in gui1 textbox when run with no gui

The infinite loop was that when the textbox has no space, we word
wrap a single character infinitely and run out of memory by
printing endlines.


  Commit: 63631b4a66abd1e2560e938ac4c31119757d8814
      https://github.com/wesnoth/wesnoth/commit/63631b4a66abd1e2560e938ac4c31119757d8814
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/hotkey/command_executor.cpp

  Log Message:
  -----------
  allow to open the app lua kernel in the multiplayer lobby


  Commit: 6032372e4a6f66f8b915dfc054da20aa5d67619e
      https://github.com/wesnoth/wesnoth/commit/6032372e4a6f66f8b915dfc054da20aa5d67619e
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/CMakeLists.txt
    M src/SConscript
    M src/game_launcher.cpp
    M src/gui/dialogs/lua_interpreter.cpp
    M src/resources.cpp
    M src/resources.hpp
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/application_lua_kernel.hpp
    R src/scripting/lua_game_launcher.cpp
    R src/scripting/lua_game_launcher.hpp
    M src/scripting/lua_kernel_base.cpp
    A src/scripting/plugins/context.cpp
    A src/scripting/plugins/context.hpp
    A src/scripting/plugins/manager.cpp
    A src/scripting/plugins/manager.hpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  add plugins context, manager, create lua thread object

This collection of classes provides a framework whereby the engine
may provide scripting capabilities in any "context". A C++
function may declare a plugin context by providing a list of names
function objects, then may call "play_slice()" on this context to
transfer control to lua. A lua script may generate some arguments
and request to call some of these, then yield to the engine. C++
will run them until one of them signals an error, or that the
context is now invalid (using a boolean return value).

The intended semantics is that lua may only make requests
corresponding to the current context. As soon as a new context
is used (play_slice() is called again) the old context is invalid
from lua's point of view -- calling those functions is a lua
error but not undefined behavior. This should be the case even if
the old context has not been destroyed yet in C++, for instance
if a lua request resulted in a new context being created. There is
a system of locks in place to ensure that when old contexts are
invalidated, stale requests are discarded.

We also add the coroutine library to our lua base. This because
threads are run as coroutines, and writing them requires the use
of coroutine yield from the standard library.


  Commit: 2a8759126acf214050968a6c1f04502d2e157fbf
      https://github.com/wesnoth/wesnoth/commit/2a8759126acf214050968a6c1f04502d2e157fbf
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/plugins/context.cpp
    M src/scripting/plugins/context.hpp

  Log Message:
  -----------
  add accessor functions to plugins contexts

This allows scripts to request more info from the engine.


  Commit: 425e0ef31543112804a5c20fc8f3d715b34bdda3
      https://github.com/wesnoth/wesnoth/commit/425e0ef31543112804a5c20fc8f3d715b34bdda3
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer.cpp
    M src/game_initialization/multiplayer_lobby.cpp
    M src/game_initialization/multiplayer_lobby.hpp
    M src/game_initialization/multiplayer_ui.cpp
    M src/game_initialization/multiplayer_ui.hpp
    M src/scripting/plugins/context.cpp
    M src/scripting/plugins/context.hpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  add plugins bindings to titlescreen and mp lobby


  Commit: 40a4a6538fb11285482713c62d887892b39433b5
      https://github.com/wesnoth/wesnoth/commit/40a4a6538fb11285482713c62d887892b39433b5
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_lobby.cpp
    M src/scripting/plugins/context.cpp
    M src/scripting/plugins/context.hpp

  Log Message:
  -----------
  move the "get_str" shim to the plugins/context header


  Commit: c485edf7c614de244f3b08567204b391df56cc23
      https://github.com/wesnoth/wesnoth/commit/c485edf7c614de244f3b08567204b391df56cc23
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/scripting/plugins/context.cpp
    M src/scripting/plugins/context.hpp

  Log Message:
  -----------
  change "get_str" plugin callback shim to make a temp string copy

This prevents a segfault when using "send chat message".


  Commit: f8f197984684ab58cd5280919ed2ef940728f07a
      https://github.com/wesnoth/wesnoth/commit/f8f197984684ab58cd5280919ed2ef940728f07a
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/commandline_options.cpp
    M src/commandline_options.hpp
    M src/game_launcher.cpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  add --plugin option at command line (to replace script eventually)

This is still rough and will need to be cleaned up later.


  Commit: f75f40f6b2725a6b613be92d59a7aba81c979213
      https://github.com/wesnoth/wesnoth/commit/f75f40f6b2725a6b613be92d59a7aba81c979213
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/scripting/application_lua_kernel.cpp

  Log Message:
  -----------
  add "describe_plugins()" to the application lua kernel


  Commit: 9c36f0fc0ccc91b88bd5fc58dc1de64c89ce1ed4
      https://github.com/wesnoth/wesnoth/commit/9c36f0fc0ccc91b88bd5fc58dc1de64c89ce1ed4
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/scripting/plugins/manager.cpp

  Log Message:
  -----------
  add some debugging output to plugins manager on channel "plugins"


  Commit: f047412d4410633e68509664651ddda14ed7b162
      https://github.com/wesnoth/wesnoth/commit/f047412d4410633e68509664651ddda14ed7b162
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer.cpp

  Log Message:
  -----------
  add some debugging output to check that plugins context is running


  Commit: 96ad22069f955a5b1e6c3a5a647b0a52f8123fc8
      https://github.com/wesnoth/wesnoth/commit/96ad22069f955a5b1e6c3a5a647b0a52f8123fc8
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  add error reporting to try to understand wesnoth.require error


  Commit: 3e73ec2f68adbd19bfb3e22d0656a85b813d30ab
      https://github.com/wesnoth/wesnoth/commit/3e73ec2f68adbd19bfb3e22d0656a85b813d30ab
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  fixups: don't construct string from NULL, avoid complicated API

In the error handling routines for compiling and running a script
at runtime, don't construct a string directly from lua_tostring,
because if it is null that is a runtime error. Instead check for
this scenario.

In intf_require, when getting the "wesnoth" global, luaW_getglobal
is unnecessary and lua_getglobal should be prefered.


  Commit: 06ca78fec4c984da4790cfb7ddbd23457222a2bc
      https://github.com/wesnoth/wesnoth/commit/06ca78fec4c984da4790cfb7ddbd23457222a2bc
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp

  Log Message:
  -----------
  bugfix: intf_require would segfault if a thread called it

The problem was that intf_require would assume use the wrong
lua_State* since it finds it using the kernel's this pointer. This
commit gives a version of "protected_call" which allows to use the
callback's lua_State*.


  Commit: 798af2bff8a4a31303af2cda489b7486e22845fe
      https://github.com/wesnoth/wesnoth/commit/798af2bff8a4a31303af2cda489b7486e22845fe
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/scripting/plugins/context.cpp
    M src/scripting/plugins/context.hpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  add "get_int" shim, similar to "get_str"


  Commit: bda6cb0a574ed747e2bd61ef0e929d5975e5ecee
      https://github.com/wesnoth/wesnoth/commit/bda6cb0a574ed747e2bd61ef0e929d5975e5ecee
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/construct_dialog.cpp

  Log Message:
  -----------
  add an automatic plugins context to all gui1 dialogs


  Commit: b79c53d0adf6ffcfc2bbc5bf6be5ac62530bd8a4
      https://github.com/wesnoth/wesnoth/commit/b79c53d0adf6ffcfc2bbc5bf6be5ac62530bd8a4
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_ui.cpp

  Log Message:
  -----------
  add notification of chat events to all mp ui windows


  Commit: 2ceae15fcc497a1d31fc9685f5c165d579ce8538
      https://github.com/wesnoth/wesnoth/commit/2ceae15fcc497a1d31fc9685f5c165d579ce8538
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_create.cpp
    M src/game_initialization/multiplayer_create.hpp

  Log Message:
  -----------
  add a plugins context to mp create


  Commit: 7030dca0471eb9db7054f476a080fc1273d51c58
      https://github.com/wesnoth/wesnoth/commit/7030dca0471eb9db7054f476a080fc1273d51c58
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/create_engine.hpp
    M src/game_initialization/multiplayer_create.cpp

  Log Message:
  -----------
  add "get_selected" accessor to mp create plugin context


  Commit: 0035522bd079cb3eeb90c362ba0f5e55766220b7
      https://github.com/wesnoth/wesnoth/commit/0035522bd079cb3eeb90c362ba0f5e55766220b7
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_create.cpp
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/plugins/context.hpp

  Log Message:
  -----------
  add "find_level" accessor to the create engine


  Commit: aa38edd95a866a3bcddf21e3d803f91476bf485b
      https://github.com/wesnoth/wesnoth/commit/aa38edd95a866a3bcddf21e3d803f91476bf485b
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_create.cpp
    M src/scripting/plugins/context.cpp
    M src/scripting/plugins/context.hpp

  Log Message:
  -----------
  add a "select level" callback to mp_create


  Commit: 4c53d4e0211e89bca5d2f90d3d5ebc2ce1f7d1f1
      https://github.com/wesnoth/wesnoth/commit/4c53d4e0211e89bca5d2f90d3d5ebc2ce1f7d1f1
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_configure.cpp
    M src/game_initialization/multiplayer_configure.hpp

  Log Message:
  -----------
  add a plugins context to mp configure


  Commit: a2fd49666259224947972e1d4d99335bcca3343a
      https://github.com/wesnoth/wesnoth/commit/a2fd49666259224947972e1d4d99335bcca3343a
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_connect.cpp
    M src/game_initialization/multiplayer_connect.hpp

  Log Message:
  -----------
  add a plugins context to multiplayer connect


  Commit: 7904578960ae6bd2d062ec2959d10c5bc4900326
      https://github.com/wesnoth/wesnoth/commit/7904578960ae6bd2d062ec2959d10c5bc4900326
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_wait.cpp
    M src/game_initialization/multiplayer_wait.hpp

  Log Message:
  -----------
  add a plugins context to multiplayer wait


  Commit: 0133fd7a81e54b7114df1fa0cc02f9275ecd1de4
      https://github.com/wesnoth/wesnoth/commit/0133fd7a81e54b7114df1fa0cc02f9275ecd1de4
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/controller_base.cpp
    M src/controller_base.hpp
    M src/game_end_exceptions.hpp
    M src/make_enum.hpp
    M src/play_controller.cpp
    M src/playsingle_controller.cpp
    M src/scripting/plugins/context.cpp
    M src/scripting/plugins/context.hpp

  Log Message:
  -----------
  add a plugins context to controller base / game controller


  Commit: 7aedfad4262fc9b5a16a015bbeef9ef6c1d2786a
      https://github.com/wesnoth/wesnoth/commit/7aedfad4262fc9b5a16a015bbeef9ef6c1d2786a
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    A host.lua
    A join.lua
    A mp_tests

  Log Message:
  -----------
  add test bots

The test bots are able to host and join a game together on a local
server. This is still experimental, for instance they cannot
actually leave, and the controllers are human because the host
cannot yet configure them to be AI.


  Commit: 13d77377d8afb5ce352e16b77d6e3baf52d16195
      https://github.com/wesnoth/wesnoth/commit/13d77377d8afb5ce352e16b77d6e3baf52d16195
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_create.cpp
    M src/game_initialization/multiplayer_create.hpp

  Log Message:
  -----------
  add "select type" plugin callback to multiplayer create

This is needed to select different level types.


  Commit: 3010f2fa0e0aa15781db79e3ffed9723459e2806
      https://github.com/wesnoth/wesnoth/commit/3010f2fa0e0aa15781db79e3ffed9723459e2806
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_create.cpp

  Log Message:
  -----------
  add chat callback to multiplayer_create


  Commit: 99ff419b28675efea3dd23c7cb99bc0ce3d38ac2
      https://github.com/wesnoth/wesnoth/commit/99ff419b28675efea3dd23c7cb99bc0ce3d38ac2
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_launcher.cpp

  Log Message:
  -----------
  reword an error message


  Commit: 7e5c599e7953cfd5ad7ae73684e1288402fd6bd7
      https://github.com/wesnoth/wesnoth/commit/7e5c599e7953cfd5ad7ae73684e1288402fd6bd7
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M host.lua
    M join.lua

  Log Message:
  -----------
  make the titlescreen phase more reliable for host.lua, join.lua


  Commit: 60bb254f6904ce93f79bf90df12d237a9048b374
      https://github.com/wesnoth/wesnoth/commit/60bb254f6904ce93f79bf90df12d237a9048b374
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M join.lua

  Log Message:
  -----------
  try to make join.lua more robust against missed callbacks


  Commit: 1f93699c8b1e78b684c9b9b79ef03ced44028613
      https://github.com/wesnoth/wesnoth/commit/1f93699c8b1e78b684c9b9b79ef03ced44028613
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/construct_dialog.cpp
    M src/scripting/plugins/manager.cpp
    M src/scripting/plugins/manager.hpp

  Log Message:
  -----------
  give plugins a chance to run in gui1 dialogs when disp is faked

Otherwise they cannot use any of the dialogs and we cannot do
leader select when joining a game.

This commit also adds an "any_running" helper to plugins_manager.


  Commit: 4d69cabec73eb2edfda37fbcf01c45bc43090629
      https://github.com/wesnoth/wesnoth/commit/4d69cabec73eb2edfda37fbcf01c45bc43090629
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer.cpp
    M src/game_initialization/multiplayer_wait.cpp

  Log Message:
  -----------
  add some mp debugging output


  Commit: da4e275f2da6fd4198eb82814f0cb8c4f5db0544
      https://github.com/wesnoth/wesnoth/commit/da4e275f2da6fd4198eb82814f0cb8c4f5db0544
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_launcher.cpp

  Log Message:
  -----------
  allow --nogui flag with --plugin

This allows us to use plugins headlessly without using the -m
option, which causes some issues. Plugins must read headlessly to
be used on travis-ci.


  Commit: 43bca07459fbb6f88b3f5dfabe5e62c915acb06d
      https://github.com/wesnoth/wesnoth/commit/43bca07459fbb6f88b3f5dfabe5e62c915acb06d
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/play_controller.cpp
    M src/play_controller.hpp

  Log Message:
  -----------
  add plugins callbacks to save the game or a replay


  Commit: c499495d3cdcc32f4673f36e6a711335894c94a1
      https://github.com/wesnoth/wesnoth/commit/c499495d3cdcc32f4673f36e6a711335894c94a1
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M mp_tests

  Log Message:
  -----------
  make the mp tests run with no gui


  Commit: d50057e5a66b27c437b17e6100d97e0d12e225d9
      https://github.com/wesnoth/wesnoth/commit/d50057e5a66b27c437b17e6100d97e0d12e225d9
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/game_initialization/multiplayer_create.cpp
    M src/game_initialization/multiplayer_create.hpp
    M src/savegame.cpp

  Log Message:
  -----------
  fixup multiplayer_create load_game option for plugins


  Commit: 489074b0a4738a8cc7aa41fcb9ffd7c726fc4e8f
      https://github.com/wesnoth/wesnoth/commit/489074b0a4738a8cc7aa41fcb9ffd7c726fc4e8f
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M data/_main.cfg
    A data/test/multiplayer/_main.cfg
    A data/test/multiplayer/macros/mp_unit_test_macros.cfg
    A data/test/multiplayer/scenarios/test1.cfg
    A data/test/multiplayer/scenarios/test2.cfg
    M src/commandline_options.cpp
    M src/commandline_options.hpp
    M src/game_config_manager.cpp

  Log Message:
  -----------
  add --mp-tests option and preproc defines, and mp unit tests folder

These tests are meant to be run in a networked context to check for
OOS and similar.


  Commit: 92f687d6d69e5051696de3619f01e3f7fb9d41b3
      https://github.com/wesnoth/wesnoth/commit/92f687d6d69e5051696de3619f01e3f7fb9d41b3
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M mp_tests

  Log Message:
  -----------
  mp_tests script: use the --mp-test flag


  Commit: fbb0ac5efa71f59c9b98f454a7a1d32413c7ac73
      https://github.com/wesnoth/wesnoth/commit/fbb0ac5efa71f59c9b98f454a7a1d32413c7ac73
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/display_chat_manager.cpp

  Log Message:
  -----------
  avoid an error message in mp chat when we run headlessly


  Commit: 875f12844ae9df3067b186535beb12a6f954439d
      https://github.com/wesnoth/wesnoth/commit/875f12844ae9df3067b186535beb12a6f954439d
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M host.lua

  Log Message:
  -----------
  make host.lua use mp test scenario "test1"


  Commit: 3e3862977d149e05588feae76775ebfcad6f6516
      https://github.com/wesnoth/wesnoth/commit/3e3862977d149e05588feae76775ebfcad6f6516
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M src/menu_events.cpp

  Log Message:
  -----------
  notify plugins of chat events during the game


  Commit: 7a1e6365697032ae42ff79e4893023720c479bc1
      https://github.com/wesnoth/wesnoth/commit/7a1e6365697032ae42ff79e4893023720c479bc1
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M host.lua
    M join.lua

  Log Message:
  -----------
  add log function to host, join lua scripts


  Commit: e3bc595fff51c3f410b5b41c5e6f1a59b023c946
      https://github.com/wesnoth/wesnoth/commit/e3bc595fff51c3f410b5b41c5e6f1a59b023c946
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M .travis.yml
    A utils/travis/mp_test_executor.sh

  Log Message:
  -----------
  travis: add mp unit tests to travis build #3 (clang -O2)


  Commit: f0cc00c25625aaa9dd9462948fa1428ae3691015
      https://github.com/wesnoth/wesnoth/commit/f0cc00c25625aaa9dd9462948fa1428ae3691015
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M .travis.yml
    M data/_main.cfg
    A data/test/multiplayer/_main.cfg
    A data/test/multiplayer/macros/mp_unit_test_macros.cfg
    A data/test/multiplayer/scenarios/test1.cfg
    A data/test/multiplayer/scenarios/test2.cfg
    A host.lua
    A join.lua
    A mp_tests
    M src/CMakeLists.txt
    M src/SConscript
    M src/commandline_options.cpp
    M src/commandline_options.hpp
    M src/construct_dialog.cpp
    M src/controller_base.cpp
    M src/controller_base.hpp
    M src/display_chat_manager.cpp
    M src/game_config_manager.cpp
    M src/game_end_exceptions.hpp
    M src/game_initialization/create_engine.hpp
    M src/game_initialization/multiplayer.cpp
    M src/game_initialization/multiplayer_configure.cpp
    M src/game_initialization/multiplayer_configure.hpp
    M src/game_initialization/multiplayer_connect.cpp
    M src/game_initialization/multiplayer_connect.hpp
    M src/game_initialization/multiplayer_create.cpp
    M src/game_initialization/multiplayer_create.hpp
    M src/game_initialization/multiplayer_lobby.cpp
    M src/game_initialization/multiplayer_lobby.hpp
    M src/game_initialization/multiplayer_ui.cpp
    M src/game_initialization/multiplayer_ui.hpp
    M src/game_initialization/multiplayer_wait.cpp
    M src/game_initialization/multiplayer_wait.hpp
    M src/game_launcher.cpp
    M src/gui/dialogs/lua_interpreter.cpp
    M src/hotkey/command_executor.cpp
    M src/make_enum.hpp
    M src/menu_events.cpp
    M src/play_controller.cpp
    M src/play_controller.hpp
    M src/playsingle_controller.cpp
    M src/resources.cpp
    M src/resources.hpp
    M src/savegame.cpp
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/application_lua_kernel.hpp
    M src/scripting/lua_fileops.cpp
    R src/scripting/lua_game_launcher.cpp
    R src/scripting/lua_game_launcher.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp
    A src/scripting/plugins/context.cpp
    A src/scripting/plugins/context.hpp
    A src/scripting/plugins/manager.cpp
    A src/scripting/plugins/manager.hpp
    M src/wesnoth.cpp
    M src/widgets/textbox.cpp
    A utils/travis/mp_test_executor.sh

  Log Message:
  -----------
  Merge pull request #338 from cbeck88/plugins

add plugins and mp unit test system


Compare: https://github.com/wesnoth/wesnoth/compare/69042c7c33a1...f0cc00c25625


More information about the Commits mailing list