[wesnoth-commits] [wesnoth/wesnoth] a2e5e2: Schema: Extra sanity check for [elseif] tags

GitHub noreply at github.com
Fri Mar 30 22:35:57 UTC 2018


  Branch: refs/heads/schema
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a2e5e28b5a517b158095b6b3ec918b1b761b3bd1
      https://github.com/wesnoth/wesnoth/commit/a2e5e28b5a517b158095b6b3ec918b1b761b3bd1
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-29 (Thu, 29 Mar 2018)

  Changed paths:
    M src/serialization/tag.cpp

  Log Message:
  -----------
  Schema: Extra sanity check for [elseif] tags

Probably not technically necessary as long as conditions are processed in order
However, I think it's nice to play it safe


  Commit: 8a11d6c74e0c2993b2b85b93c4ac6197ab9fa491
      https://github.com/wesnoth/wesnoth/commit/8a11d6c74e0c2993b2b85b93c4ac6197ab9fa491
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-29 (Thu, 29 Mar 2018)

  Changed paths:
    M src/serialization/tag.cpp

  Log Message:
  -----------
  Schema: Fix [elseif] requiring an [then] tag

While a lack of [then] here generally isn't desirable, a crash is far worse.


  Commit: 291e5aca71ef4cca0e6fd4be92b7ed3a77ff0ce7
      https://github.com/wesnoth/wesnoth/commit/291e5aca71ef4cca0e6fd4be92b7ed3a77ff0ce7
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-29 (Thu, 29 Mar 2018)

  Changed paths:
    M data/schema/ai/_main.cfg
    M data/schema/ai/aspect_complex.cfg
    A data/schema/ai/modify.cfg
    M data/schema/game_config.cfg

  Log Message:
  -----------
  Schema: Definition of [modify_ai] tag

Also reorder some things in [aspect] for better matching


  Commit: 4bb45b8a90776808265f47967f501680be3dd83f
      https://github.com/wesnoth/wesnoth/commit/4bb45b8a90776808265f47967f501680be3dd83f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/lua/wml/set_variable.lua

  Log Message:
  -----------
  Support [set_variable]round=trunc


  Commit: c609395ab55fa54646579b471983058c5f4d2b7f
      https://github.com/wesnoth/wesnoth/commit/c609395ab55fa54646579b471983058c5f4d2b7f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/lua/functional.lua

  Log Message:
  -----------
  Lua API: Small fixup to functional.reduce


  Commit: 64d3e92a6e1e07001cbb2f7ce43773c41262fbae
      https://github.com/wesnoth/wesnoth/commit/64d3e92a6e1e07001cbb2f7ce43773c41262fbae
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/schema/units/modifications.cfg

  Log Message:
  -----------
  Fix [effect][set_specials] not correctly allowing special ability tags


  Commit: 40f949b9a58058faf3bd97c8874abfae854449d3
      https://github.com/wesnoth/wesnoth/commit/40f949b9a58058faf3bd97c8874abfae854449d3
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/schema/core/actionwml.cfg
    M data/schema/core/addons.cfg
    M data/schema/core/conditionalwml.cfg
    M data/schema/game_config.cfg
    A data/schema/types/subst.cfg
    M data/schema/units/abilities.cfg

  Log Message:
  -----------
  Schema: Add all known ActionWML and ConditionalWML tags (based on wiki)

This also finishes up the StoryWML definition, adds validation for
map and shroud data, and a few other small schema fixes


  Commit: da15897994a9b47ae1b43d9d3382a4c90279dd52
      https://github.com/wesnoth/wesnoth/commit/da15897994a9b47ae1b43d9d3382a4c90279dd52
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/lua/wml/message.lua

  Log Message:
  -----------
  Handle speaker=id directly in [message] instead of relying on SUF


  Commit: cca6a1b7aa1f7fcb69c403298bf014f255e0e054
      https://github.com/wesnoth/wesnoth/commit/cca6a1b7aa1f7fcb69c403298bf014f255e0e054
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M src/units/filter.cpp

  Log Message:
  -----------
  Remove speaker=id support from SUF


  Commit: a9066d506f225287fbf8a49ffca83a822698f0d2
      https://github.com/wesnoth/wesnoth/commit/a9066d506f225287fbf8a49ffca83a822698f0d2
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/lua/wml/message.lua

  Log Message:
  -----------
  Nicer handling of some Pango formatting attributes in [message]


  Commit: 1fc7346aec7112c423b9e65faa19c79a67edeb82
      https://github.com/wesnoth/wesnoth/commit/1fc7346aec7112c423b9e65faa19c79a67edeb82
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/schema/core/actionwml.cfg
    M data/schema/game_config.cfg

  Log Message:
  -----------
  Schema: Definition of [micro_ai] tag, including all known MicroAIs


  Commit: e4f057f380ddad2481a529fea4149094d6d39775
      https://github.com/wesnoth/wesnoth/commit/e4f057f380ddad2481a529fea4149094d6d39775
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/schema/core/actionwml.cfg
    M data/schema/game_config.cfg
    A data/schema/types/pango.cfg

  Log Message:
  -----------
  Schema: Pango formatting keys for [message]


  Commit: 4fdf94df3dd05e3438ef6b58127a2b7d0fd20d0d
      https://github.com/wesnoth/wesnoth/commit/4fdf94df3dd05e3438ef6b58127a2b7d0fd20d0d
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/lua/wml/objectives.lua

  Log Message:
  -----------
  Use wesnoth.format instead of string.format for translateable strings in [objectives]


  Commit: 7fca563aef0b783f8e185855e184204203c9532d
      https://github.com/wesnoth/wesnoth/commit/7fca563aef0b783f8e185855e184204203c9532d
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/lua/wml/set_variable.lua

  Log Message:
  -----------
  Support root=cube and root=int in [set_variable]


  Commit: a0ec7162f2d31a61b13e22042da1ee0635fc52c5
      https://github.com/wesnoth/wesnoth/commit/a0ec7162f2d31a61b13e22042da1ee0635fc52c5
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M src/game_events/action_wml.cpp

  Log Message:
  -----------
  Support force_scroll in [move_units_fake] (same as in [move_unit_fake])


  Commit: 41bc71a9eb35b98bb7b8859fd1f03c731bae0fed
      https://github.com/wesnoth/wesnoth/commit/41bc71a9eb35b98bb7b8859fd1f03c731bae0fed
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/lua/wml/role.lua

  Log Message:
  -----------
  Support facing in [role][auto_recall]


  Commit: 419439873929421cc6c1c1a40790968ce4adef6b
      https://github.com/wesnoth/wesnoth/commit/419439873929421cc6c1c1a40790968ce4adef6b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M src/persist_var.cpp

  Log Message:
  -----------
  Fix an incorrect error message in [clear_global_variable]


  Commit: 2fe239e2236a70a7cedfbe9594b31c9964638608
      https://github.com/wesnoth/wesnoth/commit/2fe239e2236a70a7cedfbe9594b31c9964638608
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2018-03-30 (Fri, 30 Mar 2018)

  Changed paths:
    M data/schema/core/actionwml.cfg
    M data/schema/core/conditionalwml.cfg
    M data/schema/game_config.cfg
    M data/schema/types/basic.cfg
    M data/schema/types/subst.cfg
    M data/schema/units/abilities.cfg
    M data/schema/units/animations.cfg

  Log Message:
  -----------
  Schema ActionWML: Small bugfixes and add undocumented stuff from perusing source code


Compare: https://github.com/wesnoth/wesnoth/compare/149bb51062ae...2fe239e2236a


More information about the Commits mailing list