Commit graph

385 commits

Author SHA1 Message Date
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
Olivier Teulière
eb22343932 Added a missing translation 2009-10-23 20:19:04 +00:00
Olivier Teulière
d0a7ce6947 Fixed an encoding problem on Windows: do not assume input is UTF-8.
This fixes a crash when typing a character like 'é' in an input field.
2009-10-23 20:01:49 +00:00
Olivier Teulière
79b6c0b53c Fixed a crash on Windows, when trying to convert an empty string 2009-10-14 19:36:37 +00:00
Olivier Teulière
df2fc7bc49 Fixed a typo 2009-10-14 18:26:07 +00:00
Olivier Teulière
a72b4623b1 Next version will be 1.11 2009-09-28 18:21:28 +00:00
Olivier Teulière
a1a689290f Automatic update of the translation files 2009-09-26 09:16:03 +00:00
Olivier Teulière
aa061f78ed *** empty log message *** 2009-09-26 09:15:32 +00:00
Olivier Teulière
9587f4ac96 Updated build system for Windows 2009-09-26 08:15:31 +00:00
Olivier Teulière
43d42a0388 Little hack to have the 7+1 search in alphabetical order (or more precisely, in the order of the letters as defined at dictionary creation) 2009-09-21 20:10:34 +00:00
Olivier Teulière
bb13f634b3 Sort the training results using the dictionary order as alphabetical order 2009-07-03 23:00:12 +00:00
Olivier Teulière
08c9816d32 Tiny optimization of the compressed dictionary 2009-07-03 21:51:08 +00:00
Olivier Teulière
02e4cb2970 - Invalid moves should be in the display form
- Moved some code from Header to Dictionary
2009-07-03 21:40:14 +00:00
Olivier Teulière
8142c92694 English translation... necessary to translate one single unicode string :) 2009-06-28 13:56:39 +00:00
Olivier Teulière
a9ffea9221 Bump Boost version up in the contribs 2009-06-28 13:56:16 +00:00
Olivier Teulière
8485e317b5 - Improved some strings
- Update of the French translation
 - Fixed make distcheck (compdic.cpp contains non-ascii chars)
2009-06-28 12:11:10 +00:00
Olivier Teulière
e42bc55965 Display the alternative inputs in the dictionary information tab 2009-06-28 11:47:50 +00:00
Olivier Teulière
4fda3fed5e Support display and input strings in the dictionary header 2009-06-28 10:55:24 +00:00
Olivier Teulière
0e9711da25 Accept various inputs for the same tile in the Qt interface.
The dictionary format still needs to support that.
2009-06-27 18:09:44 +00:00
Olivier Teulière
3a4daa844b Fixed tab order on the player widget 2009-06-26 21:27:13 +00:00
Olivier Teulière
da85bde477 First step in accepting various input strings for the same tile: input coming from the text interface is now passed through a conversion method (... which does nothing yet!) 2009-06-23 21:39:07 +00:00
Olivier Teulière
795c44827d Center correctly multi-chars letters in the text interface 2009-06-23 21:36:33 +00:00
Olivier Teulière
adda457672 Use the display strings also when verifying a word and when listing the dictionary letters 2009-06-23 17:07:17 +00:00
Olivier Teulière
fc04b0604b Little refactoring 2009-06-23 15:36:28 +00:00
Olivier Teulière
3a82ab75fd More uses of the display characters 2009-06-23 13:21:19 +00:00
Olivier Teulière
47e4b8c6b0 Simplifications 2009-06-23 12:56:40 +00:00
Olivier Teulière
7569a58bb7 Each letter (tile) now has a display string, defaulting to its internal char. It is not yet possible to change it.
This display string is used in the ncurses and Qt interfaces.

Display strings are types "wdstring" instead of plain "wstring" in a few places (not all of them) to help recognize them.
2009-06-23 12:41:53 +00:00
Olivier Teulière
d8923c8231 Fixed a typo 2009-06-23 12:35:55 +00:00
Olivier Teulière
6f82e8753a Do not save debug messages in the non-regression scenarii 2009-06-23 12:35:22 +00:00
Olivier Teulière
07417c579e Added a THANKS file with all the contributors (except code contributors, still in AUTHORS).
I hope I didn't forget anyone...
2009-06-21 13:26:26 +00:00
Olivier Teulière
9b8526b451 Improved error messages 2009-06-21 12:32:25 +00:00
Olivier Teulière
b8c04ddab2 Added Catalan translation, courtesy of Joan Montané 2009-06-13 22:19:12 +00:00
Olivier Teulière
1b585e8a49 Simplified code a little 2009-06-13 21:44:05 +00:00
Olivier Teulière
3d525af762 Got rid of the custom HashTable class: Boost.Unordered provides a better one for free... 2009-05-01 09:04:47 +00:00
Olivier Teulière
7f1c0def1a - Do not allow vertical words for the first turn in duplicate mode
- Adapted unit tests
2009-03-18 18:54:41 +00:00
Olivier Teulière
3bde966efb Fixed a compilation warning (potential buffer overflow) 2009-03-18 18:53:57 +00:00
Olivier Teulière
6f14e34fe7 Allow the first word to be vertical 2009-03-12 18:56:25 +00:00
Olivier Teulière
4d86e236e0 - Fixed an accelerator key in the English version
- Added a reference to the web site in the About box
 - Fixed an encoding problem on an error message
 - Explained better the error message saying to select a dictionary
2009-02-28 09:24:27 +00:00
Olivier Teulière
46b6c3efe4 Updated copyright years 2009-02-28 09:23:30 +00:00
Olivier Teulière
b4140b3fea - Fixed some warnings on Windows build
- Open the dictionary in binary mode. This fixes a bug in the Windows version of compdic
2009-02-28 09:23:07 +00:00
Olivier Teulière
141442766b Update of the TODO list 2009-02-22 16:43:55 +00:00
Olivier Teulière
7f356fdf2d Bump version number 2009-02-22 16:43:28 +00:00
Olivier Teulière
7d40cc026b Version 1.9 2009-02-22 11:29:14 +00:00
Olivier Teulière
6f9a343677 - Fixed the previous fix for joker games, for real this time
- Added tests for joker and explosive games in all modes
2009-02-21 16:56:32 +00:00
Olivier Teulière
2ced8b3131 Changed slightly the behaviour of the coordinates arrow on a left click 2009-02-21 16:53:18 +00:00
Olivier Teulière
c6a799b24d Update of the French translation 2009-02-19 21:56:41 +00:00
Olivier Teulière
903905c7bc Fixed a regression: joker games were not working correctly in version 1.8.
Thanks to Marcel Jolly for spotting this
2009-02-19 18:26:11 +00:00
Olivier Teulière
ed2a20a3e3 - Allow setting the coordinates of the played word by clicking on the board
- New PlayWordMediator class, to encapsulate the behaviour of the controls
   used to play a word
 - The Training mode now has input fields to play words directly, without
   choosing them in the search results
2009-02-19 18:25:17 +00:00
Olivier Teulière
8f72fd8152 - Always display characters in uppercase on the board (a lowercase character was still possible with a joker, in some rare cases)
- Fixed a compilation warning
2009-01-26 20:30:41 +00:00
Olivier Teulière
a8b842a1a7 - Added missing files in the build system
- One more update of the French translation
2009-01-24 23:02:42 +00:00