[Commits] [wesnoth/wesnoth] edacf9: Lua upgrade: integer indices

GitHub noreply at github.com
Sat Oct 22 17:26:07 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: edacf922fbeec8ed93e507dd13046c91e959b77c
      https://github.com/wesnoth/wesnoth/commit/edacf922fbeec8ed93e507dd13046c91e959b77c
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/campaigns/Eastern_Invasion/lua/bandits.lua
    M data/campaigns/Legend_of_Wesmere/lua/wml_tags.lua
    M data/lua/helper.lua
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua

  Log Message:
  -----------
  Lua upgrade: integer indices

As of version 5.3, Lua converts a number which as an integer value to add ".0" to the end.

Updating mainline to avoid the issue.


  Commit: 89aee83bbf4c3e7664c566f1cef82103eb41add9
      https://github.com/wesnoth/wesnoth/commit/89aee83bbf4c3e7664c566f1cef82103eb41add9
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua

  Log Message:
  -----------
  2p_Dark_Forecast Fix bugs


  Commit: 874e568e99e02b61c66c3aacbf5479f1f4e68af5
      https://github.com/wesnoth/wesnoth/commit/874e568e99e02b61c66c3aacbf5479f1f4e68af5
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua

  Log Message:
  -----------
  Workarround MP work incomplete


  Commit: e28be22c648881afc1d0aeef12f47aa49c7b6a68
      https://github.com/wesnoth/wesnoth/commit/e28be22c648881afc1d0aeef12f47aa49c7b6a68
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M src/wesnoth_lua_config.h

  Log Message:
  -----------
  Enable integer string compatability

This changes Lua 5.3.3 to not append ".0" to numbers which are integer values.


  Commit: 16e66fb1aaa02ce5ec351be5521a92d30fb5b9ce
      https://github.com/wesnoth/wesnoth/commit/16e66fb1aaa02ce5ec351be5521a92d30fb5b9ce
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-10-22 (Sat, 22 Oct 2016)

  Changed paths:
    M data/campaigns/Eastern_Invasion/lua/bandits.lua
    M data/campaigns/Legend_of_Wesmere/lua/wml_tags.lua
    M data/lua/helper.lua
    M data/multiplayer/scenarios/2p_Dark_Forecast.lua
    M src/wesnoth_lua_config.h

  Log Message:
  -----------
  Merge pull request #837 from GregoryLundberg/GL_Fix_Lua_integer_index

Lua integer indices


Compare: https://github.com/wesnoth/wesnoth/compare/755b6b801584...16e66fb1aaa0


More information about the Commits mailing list