Commit graph

450 commits

Author SHA1 Message Date
Olivier Teulière
5e3a3b4ceb Fixed an encoding issue occurring on Windows when Qt is compiled without STL compatibility 2010-01-04 20:19:34 +00:00
Olivier Teulière
e62cea7210 Fail if the required boost version is not found, instead of simply saying it... 2010-01-03 19:17:49 +00:00
Olivier Teulière
77735f501e Update of the strings, and French translation 2010-01-02 12:45:13 +00:00
Olivier Teulière
2404d359ca - Refuse to build a dictionary with a non-alphabetical character (except '?')
- Marked many strings for translation, and improved their formatting
2010-01-02 12:44:56 +00:00
Olivier Teulière
ae6b40874c Updated strings, and completed the French translation 2010-01-02 11:32:42 +00:00
Olivier Teulière
b361d26bc1 I forgot this file in a previous commit 2010-01-02 11:31:41 +00:00
Olivier Teulière
99573edcc4 Improved some strings 2010-01-02 11:30:20 +00:00
Olivier Teulière
40c414399d Changes to the build system to detect correctly the strings to be translated in the .ui.h files. 2010-01-02 11:29:57 +00:00
Olivier Teulière
9b52668612 - Allow dictionaries without jokers
- The listdic binary now accepts non-alphabetical characters.
   But playing with such a dictionary is still impossible.
2010-01-01 18:01:35 +00:00
Olivier Teulière
c878573183 Improved the handling of errors in the text interface 2010-01-01 17:59:39 +00:00
Olivier Teulière
c610bf6799 Small update of the build dependencies 2009-12-14 21:00:00 +00:00
Olivier Teulière
854733fed2 Fixed a typo 2009-12-06 00:10:29 +00:00
Olivier Teulière
2eb28d61c5 Use expat instead of libxml2: it is much smaller, and is easier to use with Arabica when cross-compiling for Windows 2009-12-06 00:07:35 +00:00
Olivier Teulière
79e67c1f95 - Do not depend on directories, otherwise 'make' doesn't behave correctly
- Build libxml2 and arabica by default
2009-12-05 17:07:49 +00:00
Olivier Teulière
15344cbced Distribute the Arabica license file, since the license requires it 2009-11-30 21:54:48 +00:00
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