eliot/test
Olivier Teulière 3c7a84d543 Support saving/loading games (any game type) in XML format.
Status:
It works well, but there are still a few details to improve/fix

More details about the changes:
 - New dependency on Arabica and Libxml2 to parse the XML
 - Loading the old format is still supported for this release, but won't be supported anymore in the next one
 - Games are now only saved in the new format
 - In training mode, the player is now created externally, like in the other modes
 - Avoid using GameIO (the one from game/) whenever possible
 - Do not use a FILE* argument anymore when loading a game
 - Throw and catch exceptions correctly when a game cannot be loaded or saved
 - The non-regression tests now use a new method to print the game history
2009-11-29 16:01:31 +00:00
..
.cvsignore Merged the "cppdic" branch back into HEAD. 2008-01-08 13:52:32 +00:00
driver Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
duplicate_1_player.input - Really fixed duplicate games when noone plays a valid move 2008-11-23 18:18:02 +00:00
duplicate_1_player.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
duplicate_2_ai.input Merged the "cppdic" branch back into HEAD. 2008-01-08 13:52:32 +00:00
duplicate_2_ai.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
duplicate_explosive_variant.input - Fixed the previous fix for joker games, for real this time 2009-02-21 16:56:32 +00:00
duplicate_explosive_variant.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
duplicate_humans_ai.input Core: 2008-09-13 21:32:45 +00:00
duplicate_humans_ai.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
duplicate_invalid_turn.input - Do not allow vertical words for the first turn in duplicate mode 2009-03-18 18:54:41 +00:00
duplicate_invalid_turn.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
duplicate_joker_variant.input - Fixed the previous fix for joker games, for real this time 2009-02-21 16:56:32 +00:00
duplicate_joker_variant.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
duplicate_navigation.input - Setting the rack manually is now done via a command, and can thus be undone 2009-01-24 10:28:20 +00:00
duplicate_navigation.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
duplicate_no_point.input New test for a duplicate game where the only valid move in one turn scores 0 point 2008-11-23 18:56:49 +00:00
duplicate_no_point.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
freegame_3_ai.input Merged the "cppdic" branch back into HEAD. 2008-01-08 13:52:32 +00:00
freegame_3_ai.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
freegame_change.input Merged the "cppdic" branch back into HEAD. 2008-01-08 13:52:32 +00:00
freegame_change.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
freegame_explosive_variant.input - Fixed the previous fix for joker games, for real this time 2009-02-21 16:56:32 +00:00
freegame_explosive_variant.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
freegame_joker_variant.input - Fixed the previous fix for joker games, for real this time 2009-02-21 16:56:32 +00:00
freegame_joker_variant.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
freegame_navigation.input - Setting the rack manually is now done via a command, and can thus be undone 2009-01-24 10:28:20 +00:00
freegame_navigation.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
freegame_passing.input Merged the "cppdic" branch back into HEAD. 2008-01-08 13:52:32 +00:00
freegame_passing.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
freegame_play.input Core: 2008-09-13 21:32:45 +00:00
freegame_play.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
fumee - driver 2006-01-01 19:25:10 +00:00
hutte - add new regression test for a bug on loading previously saved games 2006-08-11 22:04:45 +00:00
load_game.input - driver 2006-01-01 19:25:10 +00:00
load_game.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
load_saved_game.input - Setting the rack manually is now done via a command, and can thus be undone 2009-01-24 10:28:20 +00:00
load_saved_game.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
load_test_adv.input - driver 2006-01-01 19:25:10 +00:00
load_test_adv.ref - driver 2006-01-01 19:25:10 +00:00
regexp.input - Added several tests for the regular expressions engine 2008-07-07 17:29:59 +00:00
regexp.ref In the text interface, display the seed used for the random number generator 2008-11-23 08:33:16 +00:00
regression.pl Merged the "cppdic" branch back into HEAD. 2008-01-08 13:52:32 +00:00
test.elt - driver 2006-01-01 19:25:10 +00:00
training_7pl1.input Merged the "cppdic" branch back into HEAD. 2008-01-08 13:52:32 +00:00
training_7pl1.ref In the text interface, display the seed used for the random number generator 2008-11-23 08:33:16 +00:00
training_bag.input test/*: Added non-regression tests, based on the text interface. 2005-04-16 15:47:59 +00:00
training_bag.ref In the text interface, display the seed used for the random number generator 2008-11-23 08:33:16 +00:00
training_benj.input Merged the "cppdic" branch back into HEAD. 2008-01-08 13:52:32 +00:00
training_benj.ref Each letter (tile) now has a display string, defaulting to its internal char. It is not yet possible to change it. 2009-06-23 12:41:53 +00:00
training_cross.input - driver 2006-01-01 19:25:10 +00:00
training_cross.ref Center correctly multi-chars letters in the text interface 2009-06-23 21:36:33 +00:00
training_cross2.input - Text interface: removed uses of the 'n' command with a negative argument 2009-01-24 17:43:57 +00:00
training_cross2.ref Center correctly multi-chars letters in the text interface 2009-06-23 21:36:33 +00:00
training_cross3.input - Text interface: removed uses of the 'n' command with a negative argument 2009-01-24 17:43:57 +00:00
training_cross3.ref - Text interface: removed uses of the 'n' command with a negative argument 2009-01-24 17:43:57 +00:00
training_cross4.input - The last commit in cross.cpp fixed a bug but introduced another one, now both are fixed 2008-10-15 19:43:23 +00:00
training_cross4.ref In the text interface, display the seed used for the random number generator 2008-11-23 08:33:16 +00:00
training_dict.input - Throw exceptions in case of problem in Duplicate::setPlayer() 2009-01-24 17:11:07 +00:00
training_dict.ref - Throw exceptions in case of problem in Duplicate::setPlayer() 2009-01-24 17:11:07 +00:00
training_explosive_variant.input - Fixed the previous fix for joker games, for real this time 2009-02-21 16:56:32 +00:00
training_explosive_variant.ref Center correctly multi-chars letters in the text interface 2009-06-23 21:36:33 +00:00
training_joker.input Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
training_joker.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
training_joker_variant.input - Fixed the previous fix for joker games, for real this time 2009-02-21 16:56:32 +00:00
training_joker_variant.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
training_navigation.input - Setting the rack manually is now done via a command, and can thus be undone 2009-01-24 10:28:20 +00:00
training_navigation.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
training_play.input - Do not allow vertical words for the first turn in duplicate mode 2009-03-18 18:54:41 +00:00
training_play.ref Center correctly multi-chars letters in the text interface 2009-06-23 21:36:33 +00:00
training_racc.input Merged the "cppdic" branch back into HEAD. 2008-01-08 13:52:32 +00:00
training_racc.ref Each letter (tile) now has a display string, defaulting to its internal char. It is not yet possible to change it. 2009-06-23 12:41:53 +00:00
training_rosace.input Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
training_rosace.ref Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
training_search.input Sorting the search results happens to be quite slow, often much slower than the search itself. 2009-01-22 18:30:22 +00:00
training_search.ref Sorting the search results happens to be quite slow, often much slower than the search itself. 2009-01-22 18:30:22 +00:00