[wesnoth-commits] [wesnoth/wesnoth] d8d172: Add a versions userdata for a cleaner way to compa...

Celtic Minstrel noreply at github.com
Tue May 11 05:35:56 UTC 2021


  Branch: refs/heads/lua_reorg
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d8d172de766cd41b7d9e637afa276c4e2f346dd3
      https://github.com/wesnoth/wesnoth/commit/d8d172de766cd41b7d9e637afa276c4e2f346dd3
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/lua/core/_initial.lua
    A data/test/scenarios/test_lua_version_api.cfg
    M src/game_version.hpp
    M src/scripting/lua_kernel_base.cpp
    M wml_test_schedule

  Log Message:
  -----------
  Add a versions userdata for a cleaner way to compare and manipulate game versions


  Commit: e34ed9cf1877f4e45e0721b32ac8a0688cd3676c
      https://github.com/wesnoth/wesnoth/commit/e34ed9cf1877f4e45e0721b32ac8a0688cd3676c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/lua/core/_initial.lua
    A data/lua/core/audio.lua
    M projectfiles/Xcode/The Battle for Wesnoth.xcodeproj/project.pbxproj
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/scripting/lua_audio.cpp
    M src/soundsource.cpp
    M src/soundsource.hpp

  Log Message:
  -----------
  Add an audio module


  Commit: 37bdfb4dd60a4b8341396223e00e3838d5c99626
      https://github.com/wesnoth/wesnoth/commit/37bdfb4dd60a4b8341396223e00e3838d5c99626
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/campaigns/World_Conquest/lua/campaign/scenario.lua
    M data/campaigns/World_Conquest/lua/optional_mechanics/destruction.lua
    M data/lua/wml-tags.lua
    M data/lua/wml/harm_unit.lua
    M data/lua/wml/message.lua

  Log Message:
  -----------
  Update mainline content to use the wesnoth.audio module


  Commit: a38ceef343ef8d6672e3ea14bffb5e12731b39e3
      https://github.com/wesnoth/wesnoth/commit/a38ceef343ef8d6672e3ea14bffb5e12731b39e3
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/lua/core/gui.lua
    M data/lua/wml-tags.lua
    M src/help/help.cpp
    M src/help/help.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_gui2.cpp

  Log Message:
  -----------
  Move open_help to the gui module (as show_help)

This also exposes it in kernels besides the game kernel.


  Commit: feebd52201f5f6c11ba1664147e18caace89df34
      https://github.com/wesnoth/wesnoth/commit/feebd52201f5f6c11ba1664147e18caace89df34
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/lua/core/units.lua
    M data/lua/wml/animate_unit.lua
    M data/lua/wml/heal_unit.lua
    M data/lua/wml/kill.lua
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_unit_attacks.cpp
    M src/scripting/lua_unit_attacks.hpp

  Log Message:
  -----------
  Move create_animator and create_weapon into the units module


  Commit: 2a4bc5fe66c015b80284793d58462366cb4f8e1b
      https://github.com/wesnoth/wesnoth/commit/2a4bc5fe66c015b80284793d58462366cb4f8e1b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

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

  Log Message:
  -----------
  Now color_adjust takes three arguments instead of a config

Consider it part of the public API now.


  Commit: 2722543d852494548225018b1299d3c19bc4ad89
      https://github.com/wesnoth/wesnoth/commit/2722543d852494548225018b1299d3c19bc4ad89
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Deprecate wesnoth.game_config.version

There's no point having the same info in two places


  Commit: f34265bbc7584cc78669c22a8232e3732edcee6e
      https://github.com/wesnoth/wesnoth/commit/f34265bbc7584cc78669c22a8232e3732edcee6e
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

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

  Log Message:
  -----------
  Make it easier to deprecate Lua attributes in C++ __index metafunctions


  Commit: b7ccf958b766eba3e40ea70d613ead17f3535b87
      https://github.com/wesnoth/wesnoth/commit/b7ccf958b766eba3e40ea70d613ead17f3535b87
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/campaigns/World_Conquest/lua/game_mechanics/utils.lua
    M data/lua/core/wml.lua

  Log Message:
  -----------
  Move the Lua global variable helpers from WC to a new "experimental" module


  Commit: 076981fdd980d7ffecfcfc9992e1ae49f1020124
      https://github.com/wesnoth/wesnoth/commit/076981fdd980d7ffecfcfc9992e1ae49f1020124
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/lua/core/sides.lua
    M data/test/scenarios/test_create_side.cfg
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Move wesnoth.create_side -> wesnoth.sides.create


  Commit: 2dd77827925ff3e3f207e5445dfc2145b5a1ba86
      https://github.com/wesnoth/wesnoth/commit/2dd77827925ff3e3f207e5445dfc2145b5a1ba86
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

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

  Log Message:
  -----------
  Move the deprecation for wesnoth.modify_ai to Lua so that it honours --strict-lua


  Commit: 22806f3f4e118a23514d85b37b8fc44053944d06
      https://github.com/wesnoth/wesnoth/commit/22806f3f4e118a23514d85b37b8fc44053944d06
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

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

  Log Message:
  -----------
  Move some more functions to the wml module

- eval_conditional and fire
- the internal set|get_variable functions


  Commit: 9a8718d1a00ac21b2d6f5f88b634a2b9b28654fb
      https://github.com/wesnoth/wesnoth/commit/9a8718d1a00ac21b2d6f5f88b634a2b9b28654fb
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/ai/micro_ais/cas/ca_hang_out.lua
    M data/campaigns/Northern_Rebirth/lua/respawn_utils.lua
    M data/lua/wml-flow.lua
    M data/lua/wml/message.lua
    M data/lua/wml/objectives.lua
    M data/lua/wml/test_condition.lua

  Log Message:
  -----------
  Update uses of eval_conditional


  Commit: 94d40fc0ae4a625bc043c6da789c113b19cacc70
      https://github.com/wesnoth/wesnoth/commit/94d40fc0ae4a625bc043c6da789c113b19cacc70
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/campaigns/Eastern_Invasion/lua/bandits.lua
    M data/lua/core/wml.lua
    M data/lua/helper.lua
    M data/lua/wml/message.lua
    M data/multiplayer/eras.lua
    M data/scenario-test.cfg

  Log Message:
  -----------
  Update uses of wesnoth.fire


  Commit: 251b7642a92e62c809178bb0dfdce25774a4bc1a
      https://github.com/wesnoth/wesnoth/commit/251b7642a92e62c809178bb0dfdce25774a4bc1a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/campaigns/World_Conquest/lua/map/main.lua
    M data/campaigns/World_Conquest/lua/map/scenario_utils/bonus_points.lua
    M data/lua/core/wml.lua
    M src/scripting/mapgen_lua_kernel.cpp
    M src/scripting/mapgen_lua_kernel.hpp

  Log Message:
  -----------
  Allow accessing variables through the new APIs in the mapgen kernel

This also reverses the deprecation of wml.tovconfig and friends in the mapgen kernel.


  Commit: 315f9c588436837a75c9bb6930afa0d58717d281
      https://github.com/wesnoth/wesnoth/commit/315f9c588436837a75c9bb6930afa0d58717d281
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp

  Log Message:
  -----------
  Add a new scenario module and move some functions there and to game_config

Addresses #4907


  Commit: 7269f574af57eaceb640cd8e75593ddd71b179d9
      https://github.com/wesnoth/wesnoth/commit/7269f574af57eaceb640cd8e75593ddd71b179d9
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/ai/lua/generic_recruit_engine.lua
    M data/campaigns/World_Conquest/lua/campaign/scenario.lua
    M data/campaigns/World_Conquest/lua/era/era.lua
    M data/campaigns/World_Conquest/lua/game_mechanics/utils.lua
    M data/campaigns/World_Conquest/lua/game_mechanics/wocopedia/help.lua
    M data/lua/wml-tags.lua
    M data/lua/wml/endlevel.lua
    M data/lua/wml/objectives.lua
    M data/multiplayer/eras.lua
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Update mainline content to use the wesnoth.scenario module


  Commit: 5cfc43965376031a96d57c4ef7a52a7b954a453b
      https://github.com/wesnoth/wesnoth/commit/5cfc43965376031a96d57c4ef7a52a7b954a453b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    A data/lua/core/filesystem.lua
    M data/lua/package.lua
    M src/filesystem.cpp
    M src/filesystem.hpp
    M src/gui/dialogs/game_load.cpp
    M src/save_index.cpp
    M src/scripting/lua_fileops.cpp
    M src/scripting/lua_fileops.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/tests/test_filesystem.cpp

  Log Message:
  -----------
  Add a filesystem module

This currently contains have_file, read_file, canonical_path, get_image_size, and new functions that work with binary_path files.


  Commit: 310af2a3ff4d621be35b4bc9a6151d2a41645f4d
      https://github.com/wesnoth/wesnoth/commit/310af2a3ff4d621be35b4bc9a6151d2a41645f4d
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/campaigns/World_Conquest/lua/game_mechanics/heroes.lua
    M data/campaigns/World_Conquest/lua/map/settings/settings_dialog.lua
    M data/campaigns/World_Conquest/lua/map/tools/filter_converter.lua
    M data/campaigns/World_Conquest/lua/map/wct_map_generator.lua
    M data/lua/wml-tags.lua
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua
    M data/scenario-test.cfg

  Log Message:
  -----------
  Update mainline uses of have_file and read_file


  Commit: 3bc0c668a206e9a887bc2fd48399ce466a295da0
      https://github.com/wesnoth/wesnoth/commit/3bc0c668a206e9a887bc2fd48399ce466a295da0
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/lua/wml-tags.lua
    M data/test/_main.cfg
    A data/test/maps/test_hills_square.mask
    M data/test/scenarios/test_terrain_mask.cfg

  Log Message:
  -----------
  Resolve [terrain_mask]mask_file= relative to the [binary_path] like map_file= is


  Commit: 8d3cb4d3b57a478e6ba1f23b87c81f168d6cffde
      https://github.com/wesnoth/wesnoth/commit/8d3cb4d3b57a478e6ba1f23b87c81f168d6cffde
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M data/lua/core/interface.lua
    M data/lua/core/mathx.lua
    M data/lua/core/sides.lua
    M data/lua/core/wml.lua
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_audio.cpp
    M src/scripting/lua_unit_attacks.cpp
    M src/scripting/mapgen_lua_kernel.cpp
    M src/soundsource.hpp

  Log Message:
  -----------
  whitespace fixes


Compare: https://github.com/wesnoth/wesnoth/compare/a4fb6fe27da0...8d3cb4d3b57a



More information about the Commits mailing list