Commit graph

1084 commits

Author SHA1 Message Date
Olivier Teulière
1b16dbd0cc Updated the NEWS file and added it to the generated win32 package 2008-01-13 18:19: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
572b31c64e - dic/encoding.cpp: simplification (this also removes a warning)
- game/rack.*: added a missing const
 - game/game_io.cpp: fixed a compilation warning
2008-01-11 10:09:26 +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
1e5c1cdd9f Fixed make distcheck with recent automake: there is no need to distribute mkinstalldirs! 2008-01-08 16:33:55 +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
Antoine Fraboulet
33e5b23004 - automake 1.10 (ylwrap) naming system modification 2007-08-04 19:57:45 +00:00
Olivier Teulière
5199b6b7c1 Cosmetic changes 2006-12-23 16:48:15 +00:00
Olivier Teulière
831c578c3a Use Unix file fornat 2006-12-23 13:57:08 +00:00
Olivier Teulière
421d0a29b1 Fixed a few char/wchar_t issues. The remaining ones need a wchar_t-aware dictionary 2006-12-23 13:50:43 +00:00
Olivier Teulière
21c07afee4 Removed useless files 2006-11-05 17:24:32 +00:00
Olivier Teulière
9949225b8b Fixed a nasty bug, due to the way jokers are handled 2006-11-05 17:04:39 +00:00
Antoine Fraboulet
f0949a59de - adding some tests : training_joker2 still fails, no clue where it comes from
search should find much more results - regression from 1.4
2006-11-05 13:34:27 +00:00
Antoine Fraboulet
5b8cbbe680 - correct typo on alignment 2006-11-05 13:31:49 +00:00
Antoine Fraboulet
ec3a91e444 - _wtoi correction 2006-11-05 13:30:54 +00:00
Antoine Fraboulet
603a75a98c - extra debug output command for board cross info
- simplified cross class
- bug fix on cross information handling during backward moves
2006-11-05 13:30:06 +00:00
Antoine Fraboulet
70041c80b3 - extra debug output command for board cross info 2006-11-05 13:27:49 +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
5a10ec911a Fixed my previous commit 2006-10-14 10:19:12 +00:00
Olivier Teulière
ae67aa71ee Do not perform any dictionary search on a zero-length intput. This was the case due to the Refresh methods in the wxWidgets interface, during a search.
What's more, since wxWidgets is very slow to handle the list of results (benjamins in particular), a search done with the search windows open seems more responsive.
2006-10-14 09:46:15 +00:00
Olivier Teulière
0683b6a516 Fixed more memory leaks of the same kind 2006-10-08 18:24:17 +00:00
Olivier Teulière
749db006f6 Fixed a memory leak 2006-10-08 18:12:17 +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
Olivier Teulière
ba11fc3be6 Removed another useless include 2006-09-30 22:19:17 +00:00
Olivier Teulière
8519a4d794 Removed useless includes 2006-09-30 22:11:56 +00:00
Olivier Teulière
af99d00a7b Fixed detection of flex and bison 2006-09-17 15:20:50 +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
Antoine Fraboulet
69dada550b - add "load" in game_factory 2006-08-11 22:14:21 +00:00
Antoine Fraboulet
8d79f6ba78 - typo in declaration 2006-08-11 22:13:41 +00:00
Antoine Fraboulet
9f86b53021 - add debug strings 2006-08-11 22:13:02 +00:00
Antoine Fraboulet
f9af9493d2 - bug correction for game::play when playing on a joker tile 2006-08-11 22:12:10 +00:00
Antoine Fraboulet
6f00463fa1 - removed game loading commands in mode loops
- add game loading in main loop
- changed stderr to stdout for incorrect words during gameplay
2006-08-11 22:06:53 +00:00
Antoine Fraboulet
a97b91dfe6 - add new regression test for a bug on loading previously saved games 2006-08-11 22:04:45 +00:00
Antoine Fraboulet
86c65ebc4a - add load dictionnary functions for bigendian arch
regression test is ok on linux/ppc
2006-04-16 11:27:19 +00:00
Antoine Fraboulet
d362281fba - add AC_C_BIGENDIAN 2006-04-16 11:26:04 +00:00
Olivier Teulière
1e13d6bfad Release memory properly at exit, and fixed a new/free mismatch 2006-01-29 12:40:49 +00:00
Olivier Teulière
bb5a17d0f1 Indentation 2006-01-22 20:48:17 +00:00
Olivier Teulière
77be2e9219 Backport of the 'multibyte' branch on HEAD. 2006-01-22 12:23:52 +00:00
Olivier Teulière
2799f5191e Use forward declarations to reduce dependencies 2006-01-02 19:05:37 +00:00
Olivier Teulière
93a26d757b Removed items that are done. CVS can handle the history by itself. 2006-01-01 23:09:27 +00:00
Olivier Teulière
d78c98b492 Fixed wxWidgets minimum version number in the help string 2006-01-01 22:16:42 +00:00
Antoine Fraboulet
0ca498ba40 - add todo list for current version before next release. 2006-01-01 19:56:45 +00:00
Antoine Fraboulet
c44a16dc13 - small typo fix in comments
- add doxygen file description
  - revert Dic_chr / board_search patch
    returning the character instead of the code
    was a HUGE performance penalty
    The dictionary must use codes, the board must be
    made to use codes instead of dic using tiles.
  - add Dic_char and Dic_char_lookup as temporary
    fixes for board_search. Should modify Board and Cross class
    instead.
  - create dic_code_t type
2006-01-01 19:51:00 +00:00
Antoine Fraboulet
4665fa176b - add comments and emacs mode 2006-01-01 19:49:35 +00:00
Antoine Fraboulet
55badf52e4 - correct helperSetRackRandom with RACK_ALL (replace tiles in bag)
- add game_io.cpp to load/save a game
2006-01-01 19:48:36 +00:00