Olivier Teulière
af37443fc0
New bag widget, showing the remaining tiles. Not used for real yet.
2010-11-01 17:49:55 +00:00
Olivier Teulière
1374304ff9
Moved the tiles layout to a dedicated file
2010-10-22 17:01:31 +00:00
Olivier Teulière
6bf27a4509
Layout improvements:
...
- Handle the minimum size of the layout correctly
- Draw the lines between tiles, instead of drawing on them
2010-10-22 16:59:43 +00:00
Olivier Teulière
3352337142
Let the TileWidget class handle mouse clicks, instead of doing it in the BoardWidget class
2010-10-22 16:58:37 +00:00
Olivier Teulière
cbc6215967
Handle arrows again
2010-10-22 16:57:59 +00:00
Olivier Teulière
e5eb6dd654
Draw an outline around the arrow
2010-10-22 16:57:13 +00:00
Olivier Teulière
308e609966
Display the letters correctly
2010-10-22 16:56:32 +00:00
Olivier Teulière
90027c3210
Display the coordinates of the board, and draw a square around it.
...
It now looks exactly like the old board (with 1 pixel difference for the coordinates, making it better).
2010-10-17 21:45:10 +00:00
Olivier Teulière
858b3997ae
New TileWidget class, to handle a single square
2010-10-17 21:28:01 +00:00
Olivier Teulière
84b69e8919
Ask for a confirmation before starting a new game
2010-10-17 21:24:18 +00:00
Olivier Teulière
c3785555b9
Print to stderr the complete stack trace in case of exception or segmentation fault.
...
This feature will only be activated in debug mode, and if available on the platform.
The symbols will even be demangled if possible (i.e. if compiled with g++).
2010-10-17 21:23:39 +00:00
Olivier Teulière
5cb6ad38cd
New button on the "Dic. info" tab, to save the dictionary words list to a file
2010-09-18 13:07:39 +00:00
Olivier Teulière
31922c8da9
Display the number of remaining vowels, consonants and jokers in the bag window
2010-09-12 15:27:38 +00:00
Olivier Teulière
809eb9eb94
Alternate row colors to make the results table a bit nicer
2010-07-11 20:59:05 +00:00
Olivier Teulière
3608c76fa4
Display for each result the difference with the top score
2010-07-11 20:58:41 +00:00
Olivier Teulière
9c0ca5835a
Force the sort column when refreshing the results
2010-07-11 20:58:21 +00:00
Olivier Teulière
f74e762ee3
Color in red the line if the word corresponds to the best score
2010-07-11 20:58:03 +00:00
Olivier Teulière
d3df401664
Compilation fix for the Windows build
2010-05-19 19:28:09 +00:00
Olivier Teulière
81809dd74f
- Changed a few strings
...
- Updated the po files
- Completed the French translation
2010-05-16 18:12:54 +00:00
Olivier Teulière
32a252c96b
Fixed a bug and added a sanity checks (no duplicate entries in the word list)
2010-05-16 10:05:09 +00:00
Olivier Teulière
80ca8844d9
Generate the dictionary from the wizard, and (optinally) load it.
...
The wizard is now fully usable.
2010-05-15 12:20:19 +00:00
Olivier Teulière
7cf6e90303
New wizard, for creating a dictionary from the GUI.
...
The wizard is almost ready... except that the dictionary is not generated yet!
2010-05-15 12:13:35 +00:00
Olivier Teulière
3666b89337
Do not distribute moc files.
...
Problem reported by Julien Catalano.
2010-05-12 22:12:31 +00:00
Olivier Teulière
8a1897db7a
Mark a string as translatable
2010-03-09 22:32:09 +00:00
Olivier Teulière
b7fff8b4a1
- Removed various C-style casts
...
- Factorized code in the Bag class
2010-03-06 16:54:20 +00:00
Olivier Teulière
2268f4ce0b
Force the gettext() messages to be in UTF-8, because I don't know how to
...
detect properly the correct encoding on Mac OS X when the LANG variable
is not set...
2010-02-12 18:16:57 +00:00
Olivier Teulière
f42398e714
Workaround encoding issues on Mac OS X: when Eliot is started from the dock, the LANG variable is not set. So retrieve the language from the preferences, and force encoding to UTF-8.
2010-02-07 17:34:59 +00:00
Olivier Teulière
57d083cedf
Fixed a macro used to translate text from the .ui files
2010-02-07 17:34:34 +00:00
Olivier Teulière
6981cd18c2
Changed copyright year
2010-01-30 10:30:08 +00:00
Olivier Teulière
eb9f7bb8d5
On Mac, retrieve the locales in the bundle
2010-01-29 21:11:44 +00:00
Olivier Teulière
14ce195e83
One more encoding fix. Hopefully the last one.
2010-01-24 00:53:21 +00:00
Olivier Teulière
41b0d38c8f
Fixed encoding bugs for good, this time.
2010-01-23 23:34:48 +00:00
Olivier Teulière
51b0197afd
Make the code more robust by catching std::exception instead of only GameException
2010-01-23 23:34:23 +00:00
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
99573edcc4
Improved some strings
2010-01-02 11:30:20 +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
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
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
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
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
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
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
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
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
2ced8b3131
Changed slightly the behaviour of the coordinates arrow on a left click
2009-02-21 16:53:18 +00:00