[wesnoth-commits] [wesnoth/wesnoth] 4d098b: run_wml_tests: Don't append to the provided path i...

Celtic Minstrel noreply at github.com
Sun Apr 4 22:00:21 UTC 2021


  Branch: refs/heads/lua_events
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4d098b4596dc64e71c02aa43c1909bd0f059195c
      https://github.com/wesnoth/wesnoth/commit/4d098b4596dc64e71c02aa43c1909bd0f059195c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-04-04 (Sun, 04 Apr 2021)

  Changed paths:
    M run_wml_tests

  Log Message:
  -----------
  run_wml_tests: Don't append to the provided path if it's not a directory

This allows passing an explicit path on Mac (instead of using the automatic -p xcode option), since the binary is not named "wesnoth" on that platform.


  Commit: c39c8dc75718b579af7928b051bf7185be55730f
      https://github.com/wesnoth/wesnoth/commit/c39c8dc75718b579af7928b051bf7185be55730f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-04-04 (Sun, 04 Apr 2021)

  Changed paths:
    M run_wml_tests

  Log Message:
  -----------
  run_wml_tests: Skip tests that expect strict validation failure if log-strict is disabled


  Commit: 96838cf2237502b3c2fc06524cbcf2481ad2067c
      https://github.com/wesnoth/wesnoth/commit/96838cf2237502b3c2fc06524cbcf2481ad2067c
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2021-04-04 (Sun, 04 Apr 2021)

  Changed paths:
    M run_wml_tests

  Log Message:
  -----------
  run_wml_tests: Fix indentation


  Commit: d4d637b1bc14ff5207c94197436a644f80d2c8de
      https://github.com/wesnoth/wesnoth/commit/d4d637b1bc14ff5207c94197436a644f80d2c8de
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-04-04 (Sun, 04 Apr 2021)

  Changed paths:
    M data/lua/core/interface.lua
    M data/lua/wml-tags.lua
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Move the event firing functons to wesnoth.game_events

* These functions take the full event data config as the final argument, rather than just the weapon info subconfigs.
* The [fire_event] tag now supports a [data] tag that can add additional data to the event, for example damage_inflicted. The [primary_attack]  and [secondary_attack] tags are still supported and are not deprecated.
* wesnoth.current.event_context now has a data child which holds the full event data. It still duplicates common info (weapons and damage inflicted) in the same way as before.


  Commit: 227269ad9be3776396976c7f35b8ac7481c4abe9
      https://github.com/wesnoth/wesnoth/commit/227269ad9be3776396976c7f35b8ac7481c4abe9
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-04-04 (Sun, 04 Apr 2021)

  Changed paths:
    M src/game_events/handlers.hpp

  Log Message:
  -----------
  Make event_filter non-copyable to ensure RAII integrity


Compare: https://github.com/wesnoth/wesnoth/compare/4cd24a08978d...227269ad9be3



More information about the Commits mailing list