[wesnoth-commits] [wesnoth/wesnoth] 321705: Lua code: replace deprecated wesnoth.tovconfig() c...

GitHub noreply at github.com
Sun May 13 23:57:19 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 32170543fde2fab86966f2f5bcb3c589c8082e7c
      https://github.com/wesnoth/wesnoth/commit/32170543fde2fab86966f2f5bcb3c589c8082e7c
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-10 (Thu, 10 May 2018)

  Changed paths:
    M data/lua/backwards-compatibility.lua
    M data/lua/wml-flow.lua
    M data/lua/wml-utils.lua
    M data/lua/wml/objectives.lua

  Log Message:
  -----------
  Lua code: replace deprecated wesnoth.tovconfig() calls


  Commit: 2922b198020df5440c9bd889da87d51a72f7c1d4
      https://github.com/wesnoth/wesnoth/commit/2922b198020df5440c9bd889da87d51a72f7c1d4
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-10 (Thu, 10 May 2018)

  Changed paths:
    M data/ai/scenarios/scenario-AI_Arena_small.cfg
    M data/lua/core.lua
    M data/lua/helper.lua
    M data/lua/location_set.lua
    M data/lua/wml-flow.lua
    M data/lua/wml-tags.lua
    M data/lua/wml-utils.lua
    M data/lua/wml/modify_unit.lua
    M data/lua/wml/set_variable.lua
    M data/lua/wml/test_condition.lua
    M data/multiplayer/eras.lua
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua
    M data/scenario-test.cfg
    M data/test/scenarios/ai/_main.cfg
    M data/test/scenarios/recruit_facing.cfg

  Log Message:
  -----------
  Lua code: replace deprecated wesnoth.get_variable() calls


  Commit: bf711024ff48d7f032bb4bb18174136ed2ee6d6a
      https://github.com/wesnoth/wesnoth/commit/bf711024ff48d7f032bb4bb18174136ed2ee6d6a
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-10 (Thu, 10 May 2018)

  Changed paths:
    M data/lua/core.lua

  Log Message:
  -----------
  Prevent definition of wml.variables to cause deprecation warnings


  Commit: 51b2dbec199ae3ac0f45b15fef8acf86ddddacab
      https://github.com/wesnoth/wesnoth/commit/51b2dbec199ae3ac0f45b15fef8acf86ddddacab
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-12 (Sat, 12 May 2018)

  Changed paths:
    M data/lua/core.lua
    M data/lua/helper.lua
    M data/lua/location_set.lua
    M data/lua/wml-flow.lua
    M data/lua/wml-tags.lua
    M data/lua/wml-utils.lua
    M data/lua/wml/find_path.lua
    M data/lua/wml/harm_unit.lua
    M data/lua/wml/heal_unit.lua
    M data/lua/wml/items.lua
    M data/lua/wml/message.lua
    M data/lua/wml/modify_unit.lua
    M data/lua/wml/random_placement.lua
    M data/lua/wml/set_variable.lua
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua
    M data/multiplayer/scenarios/2p_Hornshark_Island.lua
    M data/scenario-test.cfg
    M data/test/scenarios/ai/_main.cfg
    M data/test/scenarios/break_replay_with_lua_random.cfg
    M data/test/scenarios/recruit_facing.cfg
    M data/test/scenarios/test_clear.cfg
    M data/test/scenarios/test_dofile.cfg
    M data/test/scenarios/test_lua.cfg
    M data/test/scenarios/test_lua_wml.cfg
    M data/test/scenarios/test_menu_items.cfg
    M data/test/scenarios/test_require.cfg

  Log Message:
  -----------
  Lua code: replace deprecated wesnoth.set_variable() calls


  Commit: acf4269f6a790b46a1e91e0316d6f6385e16df15
      https://github.com/wesnoth/wesnoth/commit/acf4269f6a790b46a1e91e0316d6f6385e16df15
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-12 (Sat, 12 May 2018)

  Changed paths:
    M data/lua/core.lua
    M data/test/scenarios/test_clear.cfg

  Log Message:
  -----------
  Lua code: replace deprecated wesnoth.get_all_vars() calls


  Commit: 39ed118ce2a967f892825ff65253056a6dd84975
      https://github.com/wesnoth/wesnoth/commit/39ed118ce2a967f892825ff65253056a6dd84975
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-12 (Sat, 12 May 2018)

  Changed paths:
    M data/scenario-test.cfg

  Log Message:
  -----------
  Lua code: replace deprecated helper.get_variable_proxy_array() call


  Commit: a5bd46e1724b5b614d908bf8c8452210cd82197a
      https://github.com/wesnoth/wesnoth/commit/a5bd46e1724b5b614d908bf8c8452210cd82197a
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-12 (Sat, 12 May 2018)

  Changed paths:
    M data/ai/lua/ai_helper.lua
    M data/ai/lua/generic_recruit_engine.lua
    M data/ai/lua/retreat.lua
    M data/ai/micro_ais/cas/ca_assassin_move.lua
    M data/ai/micro_ais/cas/ca_big_animals.lua
    M data/ai/micro_ais/cas/ca_coward.lua
    M data/ai/micro_ais/cas/ca_fast_attack_utils.lua
    M data/ai/micro_ais/cas/ca_fast_combat.lua
    M data/ai/micro_ais/cas/ca_fast_combat_leader.lua
    M data/ai/micro_ais/cas/ca_forest_animals_move.lua
    M data/ai/micro_ais/cas/ca_goto.lua
    M data/ai/micro_ais/cas/ca_hang_out.lua
    M data/ai/micro_ais/cas/ca_healer_initialize.lua
    M data/ai/micro_ais/cas/ca_healer_move.lua
    M data/ai/micro_ais/cas/ca_herding_attack_close_enemy.lua
    M data/ai/micro_ais/cas/ca_herding_dog_move.lua
    M data/ai/micro_ais/cas/ca_herding_dog_stopmove.lua
    M data/ai/micro_ais/cas/ca_herding_f_herding_area.lua
    M data/ai/micro_ais/cas/ca_herding_herd_sheep.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_move.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_runs_dog.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_runs_enemy.lua
    M data/ai/micro_ais/cas/ca_hunter.lua
    M data/ai/micro_ais/cas/ca_lurkers.lua
    M data/ai/micro_ais/cas/ca_messenger_attack.lua
    M data/ai/micro_ais/cas/ca_messenger_escort_move.lua
    M data/ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua
    M data/ai/micro_ais/cas/ca_patrol.lua
    M data/ai/micro_ais/cas/ca_return_guardian.lua
    M data/ai/micro_ais/cas/ca_simple_attack.lua
    M data/ai/micro_ais/cas/ca_stationed_guardian.lua
    M data/ai/micro_ais/cas/ca_wolves_move.lua
    M data/ai/micro_ais/cas/ca_wolves_wander.lua
    M data/ai/micro_ais/cas/ca_zone_guardian.lua
    M data/ai/micro_ais/mai-defs/animals.lua
    M data/ai/micro_ais/mai-defs/escort.lua
    M data/ai/micro_ais/mai-defs/guardian.lua
    M data/ai/micro_ais/mai-defs/patrol.lua
    M data/ai/micro_ais/micro_ai_helper.lua
    M join.lua

  Log Message:
  -----------
  Lua code: replace deprecated helper.get_child() calls


  Commit: c7f32b1ed54ac93739e354b17cdc025f926d13ef
      https://github.com/wesnoth/wesnoth/commit/c7f32b1ed54ac93739e354b17cdc025f926d13ef
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-12 (Sat, 12 May 2018)

  Changed paths:
    M data/ai/lua/battle_calcs.lua
    M data/ai/lua/generic_recruit_engine.lua
    M data/ai/lua/retreat.lua
    M data/ai/micro_ais/cas/ca_fast_attack_utils.lua
    M data/ai/micro_ais/cas/ca_hang_out.lua
    M data/ai/micro_ais/cas/ca_protect_unit_attack.lua
    M data/ai/micro_ais/cas/ca_protect_unit_finish.lua
    M data/ai/micro_ais/cas/ca_protect_unit_move.lua
    M data/ai/micro_ais/cas/ca_recruit_random.lua
    M data/ai/micro_ais/mai-defs/protect.lua
    M data/ai/micro_ais/micro_ai_helper.lua
    M data/ai/micro_ais/micro_ai_self_data.lua
    M data/ai/micro_ais/micro_ai_unit_variables.lua
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua

  Log Message:
  -----------
  Lua code: replace deprecated helper.child_range() calls


  Commit: 8ff8acea7297569a500f631c765f9470c13d2267
      https://github.com/wesnoth/wesnoth/commit/8ff8acea7297569a500f631c765f9470c13d2267
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-12 (Sat, 12 May 2018)

  Changed paths:
    M data/ai/micro_ais/cas/ca_forest_animals_move.lua
    M data/ai/micro_ais/cas/ca_forest_animals_new_rabbit.lua
    M data/ai/micro_ais/engines/priority_target_engine.lua
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua
    M data/test/scenarios/ai/_main.cfg

  Log Message:
  -----------
  Lua code: replace deprecated helper.[gs]et_variable_array() calls


  Commit: 8262d8273fbe2f469e1e1ab27bbe6eb8932a9e55
      https://github.com/wesnoth/wesnoth/commit/8262d8273fbe2f469e1e1ab27bbe6eb8932a9e55
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-12 (Sat, 12 May 2018)

  Changed paths:
    M data/ai/scenarios/scenario-AI_Arena_small.cfg

  Log Message:
  -----------
  Lua code: remove deprecated helper.set_wml_var_metatable() call

It’s not needed here.


  Commit: 039646130980cdf7d638e524db48643012cd06bf
      https://github.com/wesnoth/wesnoth/commit/039646130980cdf7d638e524db48643012cd06bf
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-12 (Sat, 12 May 2018)

  Changed paths:
    M data/ai/lua/generic_recruit_engine.lua
    M data/ai/lua/generic_rush_engine.lua
    M data/ai/micro_ais/cas/ca_forest_animals_move.lua
    M data/ai/micro_ais/cas/ca_forest_animals_new_rabbit.lua
    M data/ai/micro_ais/cas/ca_hunter.lua
    M data/ai/scenarios/scenario-AI_Arena_small.cfg
    M data/campaigns/Heir_To_The_Throne/scenarios/17_Scepter_of_Fire.cfg
    M data/test/scenarios/interrupts.cfg

  Log Message:
  -----------
  Remove unnecessary inclusions of helper.set_wml_action_metatable {}


  Commit: c9ef14ad54a3b3c76b1391c4d60fdf5203739b1f
      https://github.com/wesnoth/wesnoth/commit/c9ef14ad54a3b3c76b1391c4d60fdf5203739b1f
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-12 (Sat, 12 May 2018)

  Changed paths:
    M data/ai/lua/generic_recruit_engine.lua
    M data/ai/lua/generic_rush_engine.lua
    M data/ai/micro_ais/cas/ca_fast_attack_utils.lua
    M data/ai/micro_ais/cas/ca_fast_combat.lua
    M data/ai/micro_ais/cas/ca_forest_animals_move.lua
    M data/ai/micro_ais/cas/ca_forest_animals_new_rabbit.lua
    M data/ai/micro_ais/cas/ca_hang_out.lua
    M data/ai/micro_ais/cas/ca_healer_initialize.lua
    M data/ai/micro_ais/cas/ca_healer_move.lua
    M data/ai/micro_ais/cas/ca_herding_attack_close_enemy.lua
    M data/ai/micro_ais/cas/ca_herding_dog_move.lua
    M data/ai/micro_ais/cas/ca_herding_dog_stopmove.lua
    M data/ai/micro_ais/cas/ca_herding_herd_sheep.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_runs_dog.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_runs_enemy.lua
    M data/ai/micro_ais/cas/ca_lurkers.lua
    M data/ai/micro_ais/cas/ca_messenger_escort_move.lua
    M data/ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua
    M data/ai/micro_ais/cas/ca_patrol.lua
    M data/ai/micro_ais/cas/ca_protect_unit_attack.lua
    M data/ai/micro_ais/cas/ca_protect_unit_finish.lua
    M data/ai/micro_ais/cas/ca_protect_unit_move.lua
    M data/ai/micro_ais/cas/ca_return_guardian.lua
    M data/ai/micro_ais/cas/ca_simple_attack.lua
    M data/ai/micro_ais/cas/ca_wolves_move.lua
    M data/ai/micro_ais/cas/ca_wolves_wander.lua
    M data/ai/micro_ais/mai-defs/fast.lua
    M data/ai/micro_ais/mai-defs/recruiting.lua
    M data/ai/micro_ais/micro_ai_self_data.lua
    M data/ai/micro_ais/micro_ai_unit_variables.lua
    M data/ai/scenarios/scenario-AI_Arena_small.cfg
    M data/campaigns/Heir_To_The_Throne/scenarios/17_Scepter_of_Fire.cfg
    M data/campaigns/Legend_of_Wesmere/lua/wml_tags.lua
    M data/campaigns/tutorial/lua/character_selection.lua
    M data/scenario-test.cfg
    M data/test/scenarios/ai/_main.cfg
    M data/test/scenarios/interrupts.cfg
    M join.lua

  Log Message:
  -----------
  Do not load helper.lua where it is not used any more


  Commit: 2f611a9c2e0912d24b09c5da5aac6cec578b5b43
      https://github.com/wesnoth/wesnoth/commit/2f611a9c2e0912d24b09c5da5aac6cec578b5b43
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2018-05-13 (Sun, 13 May 2018)

  Changed paths:
    M data/ai/lua/ai_helper.lua
    M data/ai/lua/battle_calcs.lua
    M data/ai/lua/generic_recruit_engine.lua
    M data/ai/lua/generic_rush_engine.lua
    M data/ai/lua/retreat.lua
    M data/ai/micro_ais/cas/ca_assassin_move.lua
    M data/ai/micro_ais/cas/ca_big_animals.lua
    M data/ai/micro_ais/cas/ca_coward.lua
    M data/ai/micro_ais/cas/ca_fast_attack_utils.lua
    M data/ai/micro_ais/cas/ca_fast_combat.lua
    M data/ai/micro_ais/cas/ca_fast_combat_leader.lua
    M data/ai/micro_ais/cas/ca_forest_animals_move.lua
    M data/ai/micro_ais/cas/ca_forest_animals_new_rabbit.lua
    M data/ai/micro_ais/cas/ca_goto.lua
    M data/ai/micro_ais/cas/ca_hang_out.lua
    M data/ai/micro_ais/cas/ca_healer_initialize.lua
    M data/ai/micro_ais/cas/ca_healer_move.lua
    M data/ai/micro_ais/cas/ca_herding_attack_close_enemy.lua
    M data/ai/micro_ais/cas/ca_herding_dog_move.lua
    M data/ai/micro_ais/cas/ca_herding_dog_stopmove.lua
    M data/ai/micro_ais/cas/ca_herding_f_herding_area.lua
    M data/ai/micro_ais/cas/ca_herding_herd_sheep.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_move.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_runs_dog.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_runs_enemy.lua
    M data/ai/micro_ais/cas/ca_hunter.lua
    M data/ai/micro_ais/cas/ca_lurkers.lua
    M data/ai/micro_ais/cas/ca_messenger_attack.lua
    M data/ai/micro_ais/cas/ca_messenger_escort_move.lua
    M data/ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua
    M data/ai/micro_ais/cas/ca_patrol.lua
    M data/ai/micro_ais/cas/ca_protect_unit_attack.lua
    M data/ai/micro_ais/cas/ca_protect_unit_finish.lua
    M data/ai/micro_ais/cas/ca_protect_unit_move.lua
    M data/ai/micro_ais/cas/ca_recruit_random.lua
    M data/ai/micro_ais/cas/ca_return_guardian.lua
    M data/ai/micro_ais/cas/ca_simple_attack.lua
    M data/ai/micro_ais/cas/ca_stationed_guardian.lua
    M data/ai/micro_ais/cas/ca_wolves_move.lua
    M data/ai/micro_ais/cas/ca_wolves_wander.lua
    M data/ai/micro_ais/cas/ca_zone_guardian.lua
    M data/ai/micro_ais/engines/priority_target_engine.lua
    M data/ai/micro_ais/mai-defs/animals.lua
    M data/ai/micro_ais/mai-defs/escort.lua
    M data/ai/micro_ais/mai-defs/fast.lua
    M data/ai/micro_ais/mai-defs/guardian.lua
    M data/ai/micro_ais/mai-defs/patrol.lua
    M data/ai/micro_ais/mai-defs/protect.lua
    M data/ai/micro_ais/mai-defs/recruiting.lua
    M data/ai/micro_ais/micro_ai_helper.lua
    M data/ai/micro_ais/micro_ai_self_data.lua
    M data/ai/micro_ais/micro_ai_unit_variables.lua
    M data/ai/scenarios/scenario-AI_Arena_small.cfg
    M data/campaigns/Heir_To_The_Throne/scenarios/17_Scepter_of_Fire.cfg
    M data/campaigns/Legend_of_Wesmere/lua/wml_tags.lua
    M data/campaigns/tutorial/lua/character_selection.lua
    M data/lua/backwards-compatibility.lua
    M data/lua/core.lua
    M data/lua/helper.lua
    M data/lua/location_set.lua
    M data/lua/wml-flow.lua
    M data/lua/wml-tags.lua
    M data/lua/wml-utils.lua
    M data/lua/wml/find_path.lua
    M data/lua/wml/harm_unit.lua
    M data/lua/wml/heal_unit.lua
    M data/lua/wml/items.lua
    M data/lua/wml/message.lua
    M data/lua/wml/modify_unit.lua
    M data/lua/wml/objectives.lua
    M data/lua/wml/random_placement.lua
    M data/lua/wml/set_variable.lua
    M data/lua/wml/test_condition.lua
    M data/multiplayer/eras.lua
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua
    M data/multiplayer/scenarios/2p_Hornshark_Island.lua
    M data/scenario-test.cfg
    M data/test/scenarios/ai/_main.cfg
    M data/test/scenarios/break_replay_with_lua_random.cfg
    M data/test/scenarios/interrupts.cfg
    M data/test/scenarios/recruit_facing.cfg
    M data/test/scenarios/test_clear.cfg
    M data/test/scenarios/test_dofile.cfg
    M data/test/scenarios/test_lua.cfg
    M data/test/scenarios/test_lua_wml.cfg
    M data/test/scenarios/test_menu_items.cfg
    M data/test/scenarios/test_require.cfg
    M join.lua

  Log Message:
  -----------
  Merge pull request #3079 from mattsc/lua_deprecation_fixes

Replace deprecated Lua code


Compare: https://github.com/wesnoth/wesnoth/compare/bf81191b2199...2f611a9c2e09
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list