Olivier Teulière
75a67b28a5
Dic:
...
- Throw an exception if a regular expresison is invalid
- Handle the exception in callers code
Game:
- Fixed a bug in setRackRandom()
Qt interface:
- Display the dictionary name in the status bar
- Implemented printing
- Translation of the interface into French. The menus have temporarily lost their accelerator keys in English.
2008-08-31 11:48:11 +00:00
Olivier Teulière
89cd23d4b7
Oops... I forgot to update this file when simplifying the prototype of Dictionary::searchRegExp()
2008-07-28 19:57:46 +00:00
Olivier Teulière
414baa8d7a
- Use vectors instead of lists to store the results of dictionary searches
...
- New parameter to most search functions, allowing to limit the number of results.
No interface uses it yet.
2008-03-02 18:45:10 +00:00
Olivier Teulière
6138130800
- Fixed language detection on Windows
...
- Slightly improved the translation
- Added the 'package-win32-zip' target to ease win32 deliveries
2008-01-12 20:42:25 +00:00
Olivier Teulière
7e7f7f2dfa
- wxwin/mainframe.cc: Fixed a crash occurring when no config file is found
...
- Fixed a bug occurring in duplicate mode: sometimes the game ended too early,
while it was still allowed to go on.
Also updated the corresponding regression scenario
2008-01-10 10:23:36 +00:00
Olivier Teulière
81e980104f
- Board::GetLetterMultiplier() and Board::GetWordMultiplier() are now static
...
- Added 2 convenient getters: Dictionary::getName() and Bag::getDic()
2008-01-09 10:48:19 +00:00
Olivier Teulière
ba230eda60
- Bumped version number to 1.6
...
- Used the -Wall option of automake, and fixed the reported warnings
- Updated french translation
2008-01-08 16:09:08 +00:00
Olivier Teulière
e7a8d01a8d
Merged the "cppdic" branch back into HEAD.
...
There are too many change to list properly, here is an overview of the main changes:
- the dictionary is now in C++
- the dictionary has a new format, where it is possible to specify the letters,
their points, their frequency, ... It is backwards compatible.
- Eliot now supports non-ASCII characters everywhere
- i18n of the compdic, listdic, regexpmain binaries
- i18n of the wxWidgets interface (now in english by default)
2008-01-08 13:52:32 +00:00
Antoine Fraboulet
d86bd2af4a
- 32/64 bits types
...
- unused function parameters
2007-08-04 20:01:27 +00:00
Olivier Teulière
aeb3cdb781
Fixed a bug in the wxWidgets interface: after a search has been done, choosing "Complement" empties the results list, even is the rack stays the same.
...
Before this fix, the sequence "Tirage --> Rechercher --> Complement --> click on another result" was doing invalid memory reads...
2006-10-15 10:39:11 +00:00
Olivier Teulière
95ebd73a80
Do not crash when there is no dictionary and a search is requested
2006-10-08 12:39:13 +00:00
Antoine Fraboulet
27822976c2
- add locales
...
- use _() instead of wxT() when appropriate
2006-08-11 22:18:33 +00:00
Antoine Fraboulet
7fa32af365
- correct a bug in OnSearch()
...
- add locales
- use _() instead of wxT() when appropriate
2006-08-11 22:17:54 +00:00
Antoine Fraboulet
0d183fb978
- add eliot.ico
2006-08-11 22:16:01 +00:00
Olivier Teulière
77be2e9219
Backport of the 'multibyte' branch on HEAD.
2006-01-22 12:23:52 +00:00
Antoine Fraboulet
dfde6fc246
emacs modes
2006-01-01 19:34:05 +00:00
Antoine Fraboulet
9e591c5845
- mainframe.cc
...
correct OnTextEnter event for Rack
2006-01-01 19:33:51 +00:00
Antoine Fraboulet
d607d100fd
- change font for debug display, should change BagFrame display soon
2005-12-27 09:19:10 +00:00
Antoine Fraboulet
8e93c14f92
- correct +1 in history size
2005-12-27 01:06:12 +00:00
Antoine Fraboulet
e3309cc183
- use of History class
...
- mainframe modification to include debug window (Game)
2005-12-26 22:59:57 +00:00
Antoine Fraboulet
8f605110b7
- new auxframes update scheme
...
- new auxframe : gfxresult
- need some modification in mainframe.[h|cc] to take care of the update
2005-12-26 18:14:46 +00:00
Antoine Fraboulet
f59b0e469a
- add configuration menu for board tiles colour
2005-12-26 15:28:57 +00:00
Antoine Fraboulet
1b4cdf5acf
- new gfxboard class drawing with tiles
2005-12-26 15:02:26 +00:00
Antoine Fraboulet
094a920a4a
- copyright and doxygen comment change
...
- adding new switch defines for GUI
2005-12-26 14:39:22 +00:00
Antoine Fraboulet
48a1b58c5e
- adding min and max search length for regexp search panel
...
- separate build method for panels to include panel own widgets
2005-12-26 13:03:22 +00:00
Antoine Fraboulet
c450236dc1
copyright and docygen comment update
2005-12-26 12:23:17 +00:00
Olivier Teulière
03e8a80128
Use a vector of Turn objects instead of several history vectors
2005-11-05 23:22:41 +00:00
Olivier Teulière
85bb0bf82e
Fixed compilation with wxWidgets 2.6, which doesn't seem to accept non-ascii
...
characters (anyway the strings should be in english, and translated with
gettext).
2005-11-05 17:33:06 +00:00
Olivier Teulière
5b682ef9b8
- Removed Game::format*
...
- Added Game::getPlayer
2005-11-05 15:48:59 +00:00
Olivier Teulière
50fc82f60c
First backports from the branch (Game::getBoard and Game::getBag, mainly)
2005-11-04 23:26:03 +00:00
Olivier Teulière
fe13a5e627
Removed the $Id:$ lines on HEAD
2005-11-04 20:00:05 +00:00
Olivier Teulière
e3bc46b114
Updated licence text with FSF's new address.
2005-10-23 14:53:42 +00:00
Antoine Fraboulet
d0418c3e8d
commit to tag v1.5
2005-05-28 20:59:14 +00:00
Antoine Fraboulet
506f31702a
- correction on list-letters initialiation for regexp
2005-04-27 17:39:29 +00:00
Olivier Teulière
a144e7b22a
Validation buttons are now labelled 'OK'
2005-04-20 19:51:06 +00:00
Olivier Teulière
87b146f9d6
A few (cross-)compilation fixes
2005-04-20 19:48:59 +00:00
Antoine Fraboulet
a3d86b2be6
*** empty log message ***
2005-04-19 21:49:57 +00:00
Antoine Fraboulet
212b6dac0a
problem with wxGTK fixed (sirt of). I need to check why Len returns 1 with
...
mb_str() instead of 0 when drawing tiles
2005-04-19 21:48:36 +00:00
Antoine Fraboulet
8df9c39b29
bad init (llist) for regular expression panel
2005-04-19 19:59:03 +00:00
Antoine Fraboulet
284c7855a7
- regexp is now working, should add user defined letter lists in the GUI (later)
2005-04-19 16:21:15 +00:00
Antoine Fraboulet
3d15816dbf
- using Tile class functions for bag tile list
2005-04-19 16:20:24 +00:00
Antoine Fraboulet
ebc689befd
- minor dic.h changes
2005-04-09 19:16:56 +00:00
Antoine Fraboulet
5b11146a36
getPlayerRack display option added + Game::back corrected of by one
2005-04-09 16:13:44 +00:00
Olivier Teulière
6b025b9541
- Several fixes in the build system
...
- Added a bootstrap script to reduce manual work
- Added a --enable-debug configure switch to define the DEBUG variable
2005-04-03 21:12:03 +00:00
Olivier Teulière
b65c045cfe
Removed Game::getCurrentRack(), since Game::getPlayerRack() does exactly the
...
same...
2005-04-02 21:21:30 +00:00
Antoine Fraboulet
8121c6ab4c
raccords and benjamins are now search active
2005-03-29 08:22:55 +00:00
Antoine Fraboulet
fd1e57b115
- modifications for clean compile wx2.4, wx2.5 seems to have various font rendering problems
2005-03-29 08:05:18 +00:00
Antoine Fraboulet
8390d456b5
some progress but still incomplete interface
2005-03-29 07:00:39 +00:00
Olivier Teulière
b7032e2d78
- The Game library is now in C++.
...
This simplifies the code in many places, and allows inheritance of the
game mode classes (Training, Duplicate and FreeGame).
- A Tile is no more an unsigned char, but a class: it should help supporting
i18n of the game. The Dic library still uses unsigned chars though.
- Improved the configure script, to enable/disable the compilation of some
interfaces.
- Added a ncurses interface, much nicer than the text one. The game mode and
the number of players are currently hardcoded, it is not possible to change
them interactively (yet).
- Repaired the save/load functions.
NOTE: The wxWindows interface compiles, but is completely broken. I'm afraid it
needs a full rewrite (to support the various game modes in particular).
2005-02-05 11:14:56 +00:00
Olivier Teulière
f6157c71b9
Compilation fixes for the Unicode build of wxWidgets
2005-01-01 15:42:55 +00:00