[Commits] [wesnoth/wesnoth] e46070: Lua API: Add iteration metamethods for vconfig

GitHub noreply at github.com
Wed Sep 30 19:22:53 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e46070fdbe8790e4124b990dbd4ff9b4a11590ee
      https://github.com/wesnoth/wesnoth/commit/e46070fdbe8790e4124b990dbd4ff9b4a11590ee
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-26 (Sat, 26 Sep 2015)

  Changed paths:
    M src/scripting/lua_common.cpp

  Log Message:
  -----------
  Lua API: Add iteration metamethods for vconfig


  Commit: 03a38c529419f7bd99dde39c53808eb596fa884c
      https://github.com/wesnoth/wesnoth/commit/03a38c529419f7bd99dde39c53808eb596fa884c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-26 (Sat, 26 Sep 2015)

  Changed paths:
    M data/lua/helper.lua

  Log Message:
  -----------
  Lua API: More helper functions for configs


  Commit: 8e228edc3409f6e15e85ff4e3b5768272f2290f9
      https://github.com/wesnoth/wesnoth/commit/8e228edc3409f6e15e85ff4e3b5768272f2290f9
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-26 (Sat, 26 Sep 2015)

  Changed paths:
    M src/scripting/lua_common.cpp

  Log Message:
  -----------
  Lua API: Fix ipairs(vconfig) to match ipairs(config)


  Commit: 376b8ac76b091cf55cb87aed2cae342d356f7db9
      https://github.com/wesnoth/wesnoth/commit/376b8ac76b091cf55cb87aed2cae342d356f7db9
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-26 (Sat, 26 Sep 2015)

  Changed paths:
    M src/scripting/lua_common.cpp

  Log Message:
  -----------
  Use userdata instead of indices for the vconfig iterator upvalues


  Commit: 7fb0831da6001958c2bc37ada4ad627c207efc6c
      https://github.com/wesnoth/wesnoth/commit/7fb0831da6001958c2bc37ada4ad627c207efc6c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M data/lua/helper.lua

  Log Message:
  -----------
  Use ipairs for the helper functions


  Commit: 2c337d411547012a1421f0f6b15cbde1611a8e54
      https://github.com/wesnoth/wesnoth/commit/2c337d411547012a1421f0f6b15cbde1611a8e54
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

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

  Log Message:
  -----------
  Use ipairs() for helper.child_range


  Commit: 9aa015a57a9e5d4444111870210c7d630709267e
      https://github.com/wesnoth/wesnoth/commit/9aa015a57a9e5d4444111870210c7d630709267e
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M data/lua/helper.lua

  Log Message:
  -----------
  Fix helper.child_range to work on config and vconfig alike


  Commit: f31084da84ecfa99217bbd32f6c713db5602a251
      https://github.com/wesnoth/wesnoth/commit/f31084da84ecfa99217bbd32f6c713db5602a251
  Author: CelticMinstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2015-09-29 (Tue, 29 Sep 2015)

  Changed paths:
    M data/lua/helper.lua

  Log Message:
  -----------
  Remove asserts


  Commit: 320372d6b880012eb05047717dbeb5acf5a1046f
      https://github.com/wesnoth/wesnoth/commit/320372d6b880012eb05047717dbeb5acf5a1046f
  Author: CelticMinstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2015-09-30 (Wed, 30 Sep 2015)

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

  Log Message:
  -----------
  Merge pull request #507 from CelticMinstrel/lua-vconfig

Lua vconfig iteration


Compare: https://github.com/wesnoth/wesnoth/compare/d964aeecb521...320372d6b880


More information about the Commits mailing list