Commit graph

148 commits

Author SHA1 Message Date
Olivier Teuliere
36446e7171 Revert "Temporarily revert some of the previous commits to use an older gettext"
This reverts commit 361dc017a1.
2020-09-15 18:37:18 +02:00
Olivier Teuliere
361dc017a1 Temporarily revert some of the previous commits to use an older gettext
This makes it much easier to package eliot for Ubuntu Focal, where
gettext 0.20 is not yet available.

This reverts the following commits:
- 4f4ada677c
- 7bc44cf5ec
- 32a7aa2234

It also changes the gettext version in configure.ac.
2020-09-15 03:57:25 +02:00
Olivier Teuliere
5859299b48 Include <iostream> explicitly
This is needed by recent versions of g++.
2020-06-24 17:02:51 +02:00
Olivier Teuliere
32a7aa2234 Fix libintl and add support for gettext in the win32 contribs 2020-04-11 12:34:06 +02:00
Olivier Teuliere
7bc44cf5ec Update gettext and stop using a local intl folder 2020-04-11 09:43:00 +02:00
Olivier Teulière
9d88250b25 When reporting the column number, start counting at 1 instead of 0.
This is more user-friendly.
2013-09-25 22:26:24 +02:00
Olivier Teulière
fdc5e989ec Improve error an message 2013-09-25 22:26:19 +02:00
Olivier Teulière
1d25b3e406 Force the case of dictionary words, to avoid weird sorting issues 2013-09-25 22:25:00 +02:00
Olivier Teulière
ab8e4a36c1 Add a missing include 2013-03-03 01:07:42 +01:00
Olivier Teulière
f6999a720d Fix mismatch declaration between struct and class 2013-03-03 01:07:41 +01:00
Olivier Teulière
d55b3b2bdf Use toLower() and toUpper() 2012-12-29 17:46:17 +01:00
Olivier Teulière
b039d55c81 New utility functions: toUpper() and toLower() 2012-12-29 17:46:17 +01:00
Olivier Teulière
bea6a41cd4 Small simplification 2012-11-29 19:47:19 +01:00
Olivier Teulière
f49e4bb759 Header::print() now takes the output stream as parameter 2012-11-29 19:43:08 +01:00
Olivier Teulière
6a70d28d28 listdic: fix an old bug with the -x option 2012-11-29 19:39:01 +01:00
Olivier Teulière
d9e85c99ed listdic program: use getopt, and provide more interesting options 2012-11-29 19:33:28 +01:00
Olivier Teulière
6c57d9fe0e Compdic: little simplification 2012-10-14 14:37:57 +02:00
Olivier Teulière
2663a62ecb Do not write unitialized bytes in the dictionary header.
These bytes wouldn't be read anyway, but it is cleaner and makes
valgrind happy.
2012-10-14 14:31:44 +02:00
Olivier Teulière
02249c214e Various fixes for problems detected by Coverity.
Most of them where not actual problems, though.
2012-10-13 13:49:40 +02:00
Olivier Teulière
0fa1c79563 Add myself to the authors, and fix some copyright headers 2012-10-11 13:45:24 +02:00
Olivier Teulière
4200e33c17 Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
Olivier Teulière
2ab95b5ed9 Get rid of old CVS files 2012-10-06 01:44:33 +02:00
Olivier Teulière
cbdf6d010d Various minor improvements (no functional change) 2012-06-27 21:33:19 +02:00
Olivier Teulière
3800f54527 New utility class to parse/write CSV files 2012-06-04 23:02:12 +02:00
Olivier Teulière
89892c622c Accept "<<" in the message of the ASSERT macro 2012-05-20 22:10:57 +02:00
Olivier Teulière
7868593cb2 Do not always reject completely a rack containing letters not in the bag anymore.
This could be a rack containing an incomplete input sequence for a tile...
2012-05-16 22:07:55 +02:00
Olivier Teulière
c2290ab6cd Regexp: use streams instead of printf 2012-05-16 22:07:48 +02:00
Olivier Teulière
24a44dcd4f Automaton: use streams instead of printf 2012-05-16 22:07:48 +02:00
Olivier Teulière
50998079c2 Do not try to launch dotty when debugging 2012-05-16 22:07:48 +02:00
Olivier Teulière
418bf51781 Automaton: use the logging macros for debug messages, and clean up a little 2012-05-16 22:07:48 +02:00
Olivier Teulière
8511c855f5 Removed a useless include 2012-05-15 08:47:23 +02:00
Olivier Teulière
f3f2d916bb Fixed a few memory leaks 2012-04-28 15:34:37 +02:00
Olivier Teulière
0be2769dfa New utility methods to get the lowercase (joker) or uppercase (no joker) variant of a tile 2012-02-21 08:22:32 +01:00
Olivier Teulière
221158e19a Simplify the Tile::operator==() method 2012-02-19 13:07:29 +01:00
Olivier Teulière
bf42c49850 Added loggers to most classes 2012-02-19 13:07:29 +01:00
Olivier Teulière
684880acbe Moved debug.h to dic/ 2012-02-19 13:07:29 +01:00
Olivier Teulière
cfa88072a3 Replace the use of convertToMb() and convertToWc() with macros 2011-07-30 19:48:05 +00:00
Olivier Teulière
867ac96b4d Defined some useful string conversion macros 2011-07-30 19:47:24 +00:00
Olivier Teulière
9e71372c42 Simplified the readFromUTF8() prototype 2011-07-30 19:46:47 +00:00
Olivier Teulière
b5212ebd05 Fixed encoding problems on Windows. 2011-07-30 19:44:18 +00:00
Olivier Teulière
1e543111e9 Detect and ignore the BOM in the letters file 2011-07-16 21:13:42 +00:00
Olivier Teulière
0c76b9d781 Simplified the looging macros, and added logs in various key places. 2011-01-29 23:47:20 +00:00
Olivier Teulière
e175a6d8bc Added a new (optional) dependency on log4cxx, to enable logging.
If disabled (the default), everything is compiled away.
2011-01-16 21:30:30 +00:00
Olivier Teulière
cadc14e8aa Added Indonesian translation, courtesy of Switchu Legitri 2011-01-08 22:27:59 +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
170c59481f Ignore '\r' characters when loading the word list 2010-09-10 18:36:36 +00:00
Olivier Teulière
dd003417c0 Ignore empty lines in the word list, instead of throwing an exception 2010-06-12 15:59:07 +00:00
Olivier Teulière
dd44196d21 Renamed _wtoi into wtoi to avoid a name collision with mingw32 headers 2010-05-20 20:27:47 +00:00
Olivier Teulière
7a486ec697 Fixed an encoding bug on Windows 2010-05-19 19:28:26 +00:00