Eric House
f50c1191b5
fix to compile and produce correct output on 64-bit system
2014-02-23 11:26:10 -08:00
Eric House
c0598aa06b
fix to compile without DEBUG defined
2013-10-09 21:02:15 -07:00
Eric House
03f175dd8f
handle new format for tile face 'A|a', meaning "A" or "a", as far as
...
being able to compile a wordlist and take it apart using dawg2dict.
None of the compiled clients can handle this format yet.
2013-04-06 10:28:22 -07:00
Andy2
c0bec75fd8
fix crash when input wordlist is empty by not counting zero-length
...
word as a word.
2010-12-17 18:55:25 -08:00
Andy2
79990bc7b1
first set of changes formed by applyinig diff of android_branch's
...
dawg/ directory against unicode_branch's. The two branches seem to
have to common ancestor -- probably didn't survive translation from
svn -- so this is the best I can do.
This checkin is all the files that were modified by the patch plus a
couple of simple additions. Next I'll be adding directories that the
patch created. It also reintroduced a bunch of .cvsignore files; I
won't check those in.
2010-11-30 18:35:11 -08:00
ehouse
0b0bf96cd5
accept ISO-8859-2; remove unused param; add assert that EOF/EOL aren't
...
part of a multibyte char
2009-03-14 19:22:15 +00:00
ehouse
b9dce19a93
if setlocale doesn't work, try again with en_US -- works around
...
problem on my ISP.
2009-01-28 03:32:21 +00:00
ehouse
b7fa674c28
Set locale based on params passed in, only on ENV if not specified.
2009-01-25 20:13:36 +00:00
ehouse
41ae10f8b6
Allow language Makefile to specify encoding. Pass to perl and c++
...
dict builders, using it to open files and to determine whether to do
multi-to-wide conversion.
2009-01-13 13:32:07 +00:00
ehouse
eb1e667c17
Add type Letter to represent what are Tiles in Crosswords:
...
lang-independent indices into the set of letters in use. Should be no
change in functionality or code generated.
2009-01-07 05:13:45 +00:00
ehouse
948981434b
Fix compiler warnings. Should be no change in generated code.
2009-01-07 05:03:13 +00:00
ehouse
a8fb37504d
Don't choke when words are longer than 15 letters.
2008-10-08 04:37:44 +00:00
ehouse
ac03c4be61
Fix to compile with newer g++; increase size of buffer to handle largest Spanish wordlist.
2008-09-18 03:44:43 +00:00
ehouse
a028b34a11
Compile dict2dawg by default since dict2dawg.pl has problems; fix warnings.
2008-03-15 14:52:23 +00:00
ehouse
5457ea1b59
replace all __FUNCTION__ with __func__
2007-12-02 19:13:25 +00:00
ehouse
b2ed436b74
Add support for Russian. So that Russian text can be processed on systems without setting LANG=ru_RU.CP1251, modify dict2dawg to skip duplicates and words outside of specified lengths. Modify all info.txt files for the new scheme (which includes change to byod.cgi not kept on sourceforge.)
2007-02-17 17:06:05 +00:00
ehouse
3b7e680f2c
increment internal tile values by one so strings can be null-terminated
2007-02-14 15:17:00 +00:00
ehouse
d43acd6b46
check for remaining memory being < 0, not just <=, since we allocate exactly as much as we need. Fixes failure due to being out of memory at same time as having finished parsing stdin.
2006-07-22 16:03:14 +00:00
ehouse
5fb3705535
don't cast size to a char!
2006-06-28 14:11:46 +00:00
ehouse
99ba48ce3e
add poolsize and fsize args to better warn users when dict is too big.
...
Later need to modify the build process to specify the size needed.
2006-05-02 13:28:07 +00:00
ehouse
653fdb6a7b
Improve out-of-memory message; don't double-count words.
2006-05-01 14:00:06 +00:00
ehouse
3a37c11970
check that this version number stuff works
2006-04-29 16:47:01 +00:00
ehouse
4493ed8482
attempt to print subversion revision number with -v option
2006-04-29 16:40:48 +00:00
ehouse
1d40eddbb5
exit if can't open table file; include assert for compile on sarge
2006-04-14 08:23:28 +00:00
ehouse
3df1e461e4
For already-sorted case, read words from file on as-needed basis rather
...
than build a vector to hold them.
2006-04-14 05:23:30 +00:00
ehouse
b70bee3d53
A final bit of cleanup. All the perl is gone.
2006-04-13 04:04:03 +00:00
ehouse
d6dc4bf30c
Cleanup: remove dead code.
2006-04-13 03:58:54 +00:00
ehouse
131d4c9bd4
Use a single huge buffer for all strings rather than calling malloc
...
for each. Makes a measureable speed difference.
2006-04-13 03:52:48 +00:00
ehouse
08557184a5
debug: works now! Also ifdef out debug/verbose code.
2006-04-13 03:49:41 +00:00
ehouse
0c7081bf36
Tons of changes continuing port from perl. Doesn't quite work yet, but close.
2006-04-13 02:57:43 +00:00
ehouse
2863379b9b
Starting work on cpp version of dict2dawg.pl. This is nowhere near complete.
2006-04-12 04:39:49 +00:00