Commit graph

532 commits

Author SHA1 Message Date
Olivier Teulière
5642bfa191 Fixed loading of games, for languages with multichar letters like Catalan 2010-03-06 16:53:37 +00:00
Olivier Teulière
7dcd9898ed Fixed a bug in PercentResults: AI players with a level lower than 100 could still play as if they were (almost) at level 100! 2010-02-20 13:31:12 +00:00
Olivier Teulière
5a1379cb25 Fixed the 'package-macosx' rule 2010-02-18 21:49:59 +00:00
Olivier Teulière
44a7d4b4f9 Improved the package-macosx rule to ship the shared libraries in the bundle. 2010-02-17 22:10:30 +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
3e515ad2a5 One more compilation instruction for Mac OS X 2010-02-12 18:16:37 +00:00
Olivier Teulière
4512583428 Improved the build instructions, and added a section for Mac OS X 2010-02-07 22:30:10 +00:00
Olivier Teulière
b127eac39c New target to generate a .dmg file (untested) 2010-02-07 21:37:24 +00:00
Olivier Teulière
790e1a96f6 Version 1.11b 2010-02-07 21:36:46 +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
ddfb55593e Fixed compilation of the ncurses interface on Mac OS X 2010-02-01 21:26:11 +00:00
Olivier Teulière
ca0e22b492 Version 1.11a 2010-01-30 10:30:43 +00:00
Olivier Teulière
3c5d548526 Distribute the new extras/macosx folder 2010-01-30 10:30:27 +00:00
Olivier Teulière
6981cd18c2 Changed copyright year 2010-01-30 10:30:08 +00:00
Olivier Teulière
3093d0fd7c Fixed an encoding bug on Windows, when trying to convert empty strings 2010-01-29 21:46:13 +00:00
Olivier Teulière
16b563f5b2 New 'package-macosx' target to prepare the Eliot.app bundle, on MacOSX. 2010-01-29 21:13:05 +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
f2e3e64bc0 Compilation fix (needed to build on Mac) 2010-01-28 22:25:51 +00:00
Olivier Teulière
65ae7075fd Make the destructor of the parent class virtual, since the class has virtual methods 2010-01-28 22:24:11 +00:00
Olivier Teulière
1756185f08 Compilation fix, when libconfig++ is missing 2010-01-28 22:23:47 +00:00
Olivier Teulière
5e890b476a New development version 2010-01-24 17:07:03 +00:00
Olivier Teulière
dcb8557d65 Forgotten file in the contribs system 2010-01-24 15:39:01 +00:00
Olivier Teulière
397931af02 Fixed typo 2010-01-24 00:53:38 +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
b1d05a1059 Get ready for version 1.11 2010-01-23 23:39:19 +00:00
Olivier Teulière
ea8680c791 Updated po files 2010-01-23 23:37:36 +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
2a1932437c Fixed potential read of invalid memory 2010-01-04 21:57:27 +00:00
Olivier Teulière
9456b780cf Update of the Catalan translation, by Joan Montané 2010-01-04 21:00:47 +00:00
Olivier Teulière
d1a1254dbe Made an error message clearer 2010-01-04 21:00:33 +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
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