[Commits] [wesnoth/wesnoth] fd3467: Add an [explain] WML tag
GitHub
noreply at github.com
Tue Oct 6 18:43:24 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: fd34675dd98ba9b486f4afff9e280bb3402b840a
https://github.com/wesnoth/wesnoth/commit/fd34675dd98ba9b486f4afff9e280bb3402b840a
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-10-06 (Tue, 06 Oct 2015)
Changed paths:
M data/lua/wml-tags.lua
M data/test/macros/wml_unit_test_macros.cfg
M run_wml_tests
Log Message:
-----------
Add an [explain] WML tag
This explains (in the log) why a WML conditional has failed (or succeeded). Currently it is fairly basic, looping through and/or/not and printing out the specific conditional tag that failed as well as, for [variable], the current content of the variable.
It's used in the WML unit tests system, but could also be useful for debugging.
This commit also fixes an issue with passing multiple -a arguments to run_wml_tests.
Commit: aa2e24d1b72f90b8a2eccc26da84151a704b2067
https://github.com/wesnoth/wesnoth/commit/aa2e24d1b72f90b8a2eccc26da84151a704b2067
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-10-06 (Tue, 06 Oct 2015)
Changed paths:
M data/lua/wml-tags.lua
A data/test/scenarios/for-loops.cfg
M wml_test_schedule
Log Message:
-----------
Finally fix all the [for] issues. Probably.
(With unit tests to back it up!)
- Fixes [for]step=0
- Fixes [for]start,stop=0,0
- Fixes [for]start,end,step=0,1,-1
- Probably fixes several other things too
Commit: 5353dfb439439870dc235b8a3c5c67060acf9d1c
https://github.com/wesnoth/wesnoth/commit/5353dfb439439870dc235b8a3c5c67060acf9d1c
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-10-06 (Tue, 06 Oct 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
Use return instead of goto in [while]
Commit: 2018732284d39f018db781ef524c2154f4000625
https://github.com/wesnoth/wesnoth/commit/2018732284d39f018db781ef524c2154f4000625
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-10-06 (Tue, 06 Oct 2015)
Changed paths:
M changelog
Log Message:
-----------
Update changelog
Commit: 0957b562e21ceb44d29429a4d6aea13828c77e62
https://github.com/wesnoth/wesnoth/commit/0957b562e21ceb44d29429a4d6aea13828c77e62
Author: CelticMinstrel <CelticMinstrel at users.noreply.github.com>
Date: 2015-10-06 (Tue, 06 Oct 2015)
Changed paths:
M changelog
M data/lua/wml-tags.lua
M data/test/macros/wml_unit_test_macros.cfg
A data/test/scenarios/for-loops.cfg
M run_wml_tests
M wml_test_schedule
Log Message:
-----------
Merge pull request #517 from CelticMinstrel/fix-for
Fix for-loops
Compare: https://github.com/wesnoth/wesnoth/compare/6ff6b76aa67b...0957b562e21c
More information about the Commits
mailing list