[Commits] [wesnoth/wesnoth] f5bd41: New WML tags to replace macro loop constructs
GitHub
noreply at github.com
Wed Sep 23 04:50:31 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: f5bd414b690b96712c15da19eb7bce1a258bba40
https://github.com/wesnoth/wesnoth/commit/f5bd414b690b96712c15da19eb7bce1a258bba40
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-20 (Sun, 20 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
New WML tags to replace macro loop constructs
- [for] can replace {FOREACH} ... {NEXT}, but it's really intended for running over an integral range
- [repeat] can replace {REPEAT}
Commit: 6c5cf1eb88a79fbd1a5ffa7186508b9a014b9869
https://github.com/wesnoth/wesnoth/commit/6c5cf1eb88a79fbd1a5ffa7186508b9a014b9869
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-20 (Sun, 20 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
Implement [foreach] tag, based on Elvish_Hunter's implementation
Commit: 65263bfc3289e92893952c549d2ac519d0e770c1
https://github.com/wesnoth/wesnoth/commit/65263bfc3289e92893952c549d2ac519d0e770c1
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-20 (Sun, 20 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
Propagate modifications to item_var back into the array
Commit: d895b1865978ef3144e650f57f3b520b271efae3
https://github.com/wesnoth/wesnoth/commit/d895b1865978ef3144e650f57f3b520b271efae3
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-20 (Sun, 20 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
[foreach] now raises error if array length changes during iteration
Commit: bda61536b0b7ed3ba3ef32a3316ce94d39eb6a0e
https://github.com/wesnoth/wesnoth/commit/bda61536b0b7ed3ba3ef32a3316ce94d39eb6a0e
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-20 (Sun, 20 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
Use [do] subtags with [repeat]
Commit: 3c329408ce9fd22c9606acebd4a438bca0b90085
https://github.com/wesnoth/wesnoth/commit/3c329408ce9fd22c9606acebd4a438bca0b90085
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-20 (Sun, 20 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
M data/lua/wml-utils.lua
M data/lua/wml/message.lua
M data/lua/wml/object.lua
A data/test/scenarios/interrupts.cfg
M wml_test_schedule
Log Message:
-----------
Implement [break], [continue], [return] tags (they take no arguments)
Commit: aec99429c4586e21ae8d762d96cdca406db06728
https://github.com/wesnoth/wesnoth/commit/aec99429c4586e21ae8d762d96cdca406db06728
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-20 (Sun, 20 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
M data/lua/wml-utils.lua
M data/lua/wml/message.lua
M data/lua/wml/object.lua
A data/test/scenarios/interrupts.cfg
M wml_test_schedule
Log Message:
-----------
Merge branch 'break-continue' into foreach
Commit: 0ffda44b27819eadcff4c4be59019a876e623ca4
https://github.com/wesnoth/wesnoth/commit/0ffda44b27819eadcff4c4be59019a876e623ca4
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-20 (Sun, 20 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
Add break/continue support to the new loops
Commit: 2fec74a6ac4257d9042a12a2491165d121209754
https://github.com/wesnoth/wesnoth/commit/2fec74a6ac4257d9042a12a2491165d121209754
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-20 (Sun, 20 Sep 2015)
Changed paths:
M data/lua/wml-utils.lua
Log Message:
-----------
Add default scope_type to handle_event_commands
Commit: d527ea4740e51119136ff9752a2c5109cd75e4ae
https://github.com/wesnoth/wesnoth/commit/d527ea4740e51119136ff9752a2c5109cd75e4ae
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-20 (Sun, 20 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
Fix up loop implementations to reflect recent changes
Commit: 33a43990adc3181b672a2216cd8a617a5a995370
https://github.com/wesnoth/wesnoth/commit/33a43990adc3181b672a2216cd8a617a5a995370
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-22 (Tue, 22 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
Log Message:
-----------
Add an explanatory comment to [foreach]
Commit: c3d51a3438928324ef0b871f54d2a1bc2d145bd3
https://github.com/wesnoth/wesnoth/commit/c3d51a3438928324ef0b871f54d2a1bc2d145bd3
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-22 (Tue, 22 Sep 2015)
Changed paths:
M changelog
Log Message:
-----------
Update changelog
Commit: 0d49eeeb393347cc64e180652a3de998ddfe2f8d
https://github.com/wesnoth/wesnoth/commit/0d49eeeb393347cc64e180652a3de998ddfe2f8d
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-22 (Tue, 22 Sep 2015)
Changed paths:
M data/test/macros/wml_unit_test_macros.cfg
M data/test/scenarios/break_replay_with_lua_random.cfg
M data/test/scenarios/characterize_pathfinding.cfg
M data/test/scenarios/conditionals.cfg
M data/test/scenarios/facing.cfg
M data/test/scenarios/feeding.cfg
M data/test/scenarios/filter_vision.cfg
M data/test/scenarios/has_ally.cfg
M data/test/scenarios/prestart_settings.cfg
M data/test/scenarios/recruit_facing.cfg
M data/test/scenarios/sighted_events.cfg
M data/test/scenarios/test_check_victory.cfg
M data/test/scenarios/test_dofile.cfg
M data/test/scenarios/test_end_turn.cfg
M data/test/scenarios/test_grunt_tod_damage.cfg
M data/test/scenarios/test_lua_wml.cfg
M data/test/scenarios/test_menu_items.cfg
M data/test/scenarios/test_move.cfg
M data/test/scenarios/test_move_unit.cfg
M data/test/scenarios/test_role_types.cfg
M data/test/scenarios/test_unit_map.cfg
M data/test/scenarios/test_victory_attacks.cfg
Log Message:
-----------
Add SUCCEED/FAIL macros for WML test cases
Commit: 7e26e090615b56a86f127492afa21826c8a8b1d0
https://github.com/wesnoth/wesnoth/commit/7e26e090615b56a86f127492afa21826c8a8b1d0
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2015-09-23 (Wed, 23 Sep 2015)
Changed paths:
M data/lua/wml-tags.lua
M data/lua/wml-utils.lua
M data/test/scenarios/interrupts.cfg
M wml_test_schedule
Log Message:
-----------
Fix erroneous handling of [break]/[continue] in [elseif]
Commit: f07e463882b904d850cf81bb64c4c052b5adebfd
https://github.com/wesnoth/wesnoth/commit/f07e463882b904d850cf81bb64c4c052b5adebfd
Author: CelticMinstrel <CelticMinstrel at users.noreply.github.com>
Date: 2015-09-23 (Wed, 23 Sep 2015)
Changed paths:
M changelog
M data/lua/wml-tags.lua
M data/lua/wml-utils.lua
M data/lua/wml/message.lua
M data/lua/wml/object.lua
M data/test/macros/wml_unit_test_macros.cfg
M data/test/scenarios/break_replay_with_lua_random.cfg
M data/test/scenarios/characterize_pathfinding.cfg
M data/test/scenarios/conditionals.cfg
M data/test/scenarios/facing.cfg
M data/test/scenarios/feeding.cfg
M data/test/scenarios/filter_vision.cfg
M data/test/scenarios/has_ally.cfg
A data/test/scenarios/interrupts.cfg
M data/test/scenarios/prestart_settings.cfg
M data/test/scenarios/recruit_facing.cfg
M data/test/scenarios/sighted_events.cfg
M data/test/scenarios/test_check_victory.cfg
M data/test/scenarios/test_dofile.cfg
M data/test/scenarios/test_end_turn.cfg
M data/test/scenarios/test_grunt_tod_damage.cfg
M data/test/scenarios/test_lua_wml.cfg
M data/test/scenarios/test_menu_items.cfg
M data/test/scenarios/test_move.cfg
M data/test/scenarios/test_move_unit.cfg
M data/test/scenarios/test_role_types.cfg
M data/test/scenarios/test_unit_map.cfg
M data/test/scenarios/test_victory_attacks.cfg
M wml_test_schedule
Log Message:
-----------
Merge pull request #493 from CelticMinstrel/foreach
Enhanced looping tags
Compare: https://github.com/wesnoth/wesnoth/compare/010d3ff35cd8...f07e463882b9
More information about the Commits
mailing list