[wesnoth-commits] [wesnoth/wesnoth] eb1988: Schema message types should be extendable by subcl...

Celtic Minstrel noreply at github.com
Sat Oct 24 17:26:32 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: eb1988ab2638e79a3bb3ccf6622b87c10dc30a15
      https://github.com/wesnoth/wesnoth/commit/eb1988ab2638e79a3bb3ccf6622b87c10dc30a15
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2020-10-24 (Sat, 24 Oct 2020)

  Changed paths:
    M src/serialization/schema_validator.cpp
    M src/serialization/schema_validator.hpp

  Log Message:
  -----------
  Schema message types should be extendable by subclasses.

This is a rather primitive way of doing it, but it works and isn't a huge and complicated change.


  Commit: 23859c6d782e961fbb0d6b3cfdd6658a5db7ed0a
      https://github.com/wesnoth/wesnoth/commit/23859c6d782e961fbb0d6b3cfdd6658a5db7ed0a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2020-10-24 (Sat, 24 Oct 2020)

  Changed paths:
    M data/schema/core/addons.cfg
    M data/schema/schema.cfg
    M data/schema/units/specials.cfg

  Log Message:
  -----------
  Fix some reference errors in WML schemas


  Commit: 6d7f8e8ce6ab61c4c4077ebcdb8146e4650f9762
      https://github.com/wesnoth/wesnoth/commit/6d7f8e8ce6ab61c4c4077ebcdb8146e4650f9762
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2020-10-24 (Sat, 24 Oct 2020)

  Changed paths:
    M data/schema/core/actionwml.cfg
    M data/schema/schema.cfg
    M src/serialization/schema_validator.cpp
    M src/serialization/schema_validator.hpp

  Log Message:
  -----------
  Add a new check to the WML schema self-validator

This warns about tag definitions that can never match any tag (or for which one element of the comma-separated list can never match) because there is an earlier-defined tag definition that would match it instead.

The new check also found some errors in the schema, which have been fixed.


  Commit: ccc9cccb4ee19c24cac022c3720c89fb283fc512
      https://github.com/wesnoth/wesnoth/commit/ccc9cccb4ee19c24cac022c3720c89fb283fc512
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2020-10-24 (Sat, 24 Oct 2020)

  Changed paths:
    M utils/travis/schema_validation.sh

  Log Message:
  -----------
  Add schema self-validation to the Travis schema validation task


  Commit: fc16669d508a3b30f8659e0ce3251214890fd280
      https://github.com/wesnoth/wesnoth/commit/fc16669d508a3b30f8659e0ce3251214890fd280
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2020-10-24 (Sat, 24 Oct 2020)

  Changed paths:
    M src/serialization/schema_validator.cpp

  Log Message:
  -----------
  fix member initializer ordering


Compare: https://github.com/wesnoth/wesnoth/compare/a9cb0754a886...fc16669d508a



More information about the Commits mailing list