[wesnoth-commits] [wesnoth/wesnoth] 7ee7d6: Lua: More stuff for the stringx module

Celtic Minstrel noreply at github.com
Wed Dec 4 05:54:19 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7ee7d6d47c7d6cb861a6c5989584d3e5fc8eeed9
      https://github.com/wesnoth/wesnoth/commit/7ee7d6d47c7d6cb861a6c5989584d3e5fc8eeed9
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M data/lua/core.lua
    M src/scripting/lua_common.cpp
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Lua: More stuff for the stringx module

- Move format_conjunct_list and format_disjunct_list
- Move wesnoth.format (renamed to vformat so as not to conflict with string.format); it's also available as tstr:format()
- Add stringx.trim
- The convenience wrappers of stringx.split now set the remove_empty and strip_space flags


  Commit: 533206674ae07f78a2ae19fa86443f250b805f91
      https://github.com/wesnoth/wesnoth/commit/533206674ae07f78a2ae19fa86443f250b805f91
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M data/lua/core.lua
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Deprecate wesnoth.wml_matches_filter


  Commit: e81a0377b017c632db111c1dfd09e4b05d080f95
      https://github.com/wesnoth/wesnoth/commit/e81a0377b017c632db111c1dfd09e4b05d080f95
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M data/campaigns/Heir_To_The_Throne/scenarios/23_Test_of_the_Clans.cfg
    M data/campaigns/Legend_of_Wesmere/scenarios/chapter3/09_Bounty_Hunters.cfg
    M data/lua/wml/objectives.lua

  Log Message:
  -----------
  Update uses of moved format functions


  Commit: 462538bf3608cdf51b7df4aa6b6b4e16a118fcb7
      https://github.com/wesnoth/wesnoth/commit/462538bf3608cdf51b7df4aa6b6b4e16a118fcb7
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M changelog.md

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


  Commit: 4eb043bb16357fd1f83c8a0eae4b51ed12e56ab2
      https://github.com/wesnoth/wesnoth/commit/4eb043bb16357fd1f83c8a0eae4b51ed12e56ab2
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M data/lua/wml-tags.lua
    M data/lua/wml-utils.lua
    M data/lua/wml/role.lua

  Log Message:
  -----------
  Deprecate wml_utils.trim in favour of stringx.trim and update all use cases


Compare: https://github.com/wesnoth/wesnoth/compare/acca00bec442...4eb043bb1635



More information about the Commits mailing list