[Commits] [wesnoth/wesnoth] 116ff6: Improvements to the config interfaces, mainly iter...

GitHub noreply at github.com
Mon Aug 29 20:47:31 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 116ff67c6e51a51ee400539e69a95d85f5fb661b
      https://github.com/wesnoth/wesnoth/commit/116ff67c6e51a51ee400539e69a95d85f5fb661b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M src/config.cpp
    M src/config.hpp
    M src/game_initialization/mp_options.cpp
    M src/gui/core/window_builder.cpp
    M src/replay.cpp
    M src/units/animation.cpp
    M src/variable.cpp
    M src/variable.hpp

  Log Message:
  -----------
  Improvements to the config interfaces, mainly iterators

- config::attribute_count() now excludes blank (ie, unset) attributes
  Blank attributes in the map are generally a result of the mutating
  behaviour of operator[], so they're not "logically" existing attributes.
- Non-const versions of attribute iterator and all-children iterator
- Attribute iterators are now bi-directional
- vconfig all-children iterator is now a bi-directional Boost iterator range
- vconfig now has a bidirectional attribute iterator


  Commit: f866039e813b5398e1356403004b02ae77a0d9ea
      https://github.com/wesnoth/wesnoth/commit/f866039e813b5398e1356403004b02ae77a0d9ea
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M data/lua/wml/objectives.lua
    M src/scripting/lua_common.cpp
    M src/tstring.cpp
    M src/tstring.hpp

  Log Message:
  -----------
  Add support for gettext plurals to Lua API


  Commit: 85734a306844e0bfa1f997bbacd764886c0a3d9f
      https://github.com/wesnoth/wesnoth/commit/85734a306844e0bfa1f997bbacd764886c0a3d9f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M src/gui/dialogs/preferences_dialog.cpp
    M src/hotkey/hotkey_command.cpp
    M src/hotkey/hotkey_command.hpp

  Log Message:
  -----------
  Fixup hotkey category functionality


Compare: https://github.com/wesnoth/wesnoth/compare/e5354766ce12...85734a306844


More information about the Commits mailing list