[wesnoth-commits] [wesnoth/wesnoth] d0561c: Schema message types should be extendable by subcl...
Celtic Minstrel
noreply at github.com
Sat Oct 24 05:13:14 UTC 2020
Branch: refs/heads/schema_updates
Home: https://github.com/wesnoth/wesnoth
Commit: d0561c7d6f657afd3fb8fc9e9d0481d873b8edfb
https://github.com/wesnoth/wesnoth/commit/d0561c7d6f657afd3fb8fc9e9d0481d873b8edfb
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: 24b2a50e615cef2f38d088519a81682b551da603
https://github.com/wesnoth/wesnoth/commit/24b2a50e615cef2f38d088519a81682b551da603
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: 62fbb53900a3dcd4289eefacdacab31796a9ae93
https://github.com/wesnoth/wesnoth/commit/62fbb53900a3dcd4289eefacdacab31796a9ae93
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: 1a7f873f759bc0289644ea6d99e147339a3c706a
https://github.com/wesnoth/wesnoth/commit/1a7f873f759bc0289644ea6d99e147339a3c706a
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
Compare: https://github.com/wesnoth/wesnoth/compare/d0561c7d6f65%5E...1a7f873f759b
More information about the Commits
mailing list