Eric House
9a72f252ed
Merge branch 'android_branch' into android_dictname
2012-09-08 13:20:59 -07:00
Eric House
1957ad3dbe
add options, that sometimes work, to print desc and md5sum from .xwd
...
files. Still need to figure out how to parse binary into UTF-8.
2012-09-08 13:20:12 -07:00
Eric House
047f68aafd
version with checksum and note
2012-09-08 13:18:58 -07:00
Eric House
ca88c9850e
add DICTNOTE
2012-09-08 13:17:49 -07:00
Eric House
5a81484cf1
add md5Sum to DictInfo and add a getter
2012-09-08 10:11:18 -07:00
Eric House
977bee15d9
add DICTNOTEs
2012-09-08 10:10:17 -07:00
Eric House
7d51ee99d9
add dict_getMd5Sum
2012-09-08 10:09:31 -07:00
Eric House
50a4f32bfa
new versions of dicts with checksums and descriptions
2012-09-08 10:08:39 -07:00
Eric House
077560bcd3
load md5sum if present
2012-09-08 09:42:23 -07:00
Eric House
14a77ff7f1
factor out common code
2012-09-08 07:45:18 -07:00
Eric House
8e58d8c1c0
print header elems, including md5sum, if present rather than just
...
skipping.
2012-09-07 20:34:55 -07:00
Eric House
5fa9b60846
add md5Sum field to dict struct, and on linux load it if present,
...
otherwise calculate it. In DEBUG builds always calculate and assert
they match.
2012-09-07 20:34:06 -07:00
Eric House
0b81516682
add md5sum to dict header, summing not the whole file but the parts
...
that make the wordlist unique: tile counts and values, and bitmaps,
and the data. This happens to be contiguous data on non-palm .xwd
files so it's easy to duplicate if the sum isn't there.
2012-09-07 20:32:10 -07:00
Eric House
4f180e9e14
pass rejecting dict name into java layer and display as part of turn
...
lost message.
2012-09-06 19:04:40 -07:00
Eric House
07e6239699
transmit name of failing dict
2012-09-06 08:01:11 -07:00
Eric House
509c832f2f
more progress: copy dict name into badwordinfo and free it successfully
2012-09-06 07:49:05 -07:00
Eric House
2f8b6cceb5
pass additional param into callback -- unused so far.
2012-09-06 07:19:12 -07:00
Eric House
4325d4e709
Merge branch 'android_branch' into android_dictname
2012-09-05 19:30:50 -07:00
Eric House
fa90150055
Revert "As an experiment, lower case words being looked up. Apparently one of"
...
This reverts commit 5bdebd445f
.
2012-09-05 19:20:05 -07:00
Eric House
4d57fb889b
new and improved URL for Catalan lookup
2012-09-05 19:19:05 -07:00
Eric House
1ec03e48bb
plug leak: don't alloc stream when it won't be used
2012-09-05 19:09:01 -07:00
Eric House
71c1fc527a
add counter to mpool tracking so easier to find source of leaks
2012-09-05 19:08:22 -07:00
Eric House
5bdebd445f
As an experiment, lower case words being looked up. Apparently one of
...
the Catalan sites doesn't like upper case. At least in theory no site
should care so the rest of the world should be ok with lower case too.
2012-09-04 19:03:53 -07:00
Eric House
270a19f3aa
Revert "first of a set of changes to communicate to clients dictionary being"
...
This reverts commit b7a0f1489b
, which I didn't mean to check in on this branch.
2012-09-03 21:34:51 -07:00
Eric House
ea4d805d5f
first of a set of changes to communicate to clients dictionary being
...
used by server. Clients need to care if e.g. the server's disallowing
phonies based on its dict. Can only be sent if client is of latest
version. In that case, common code calls into new util function. In
future changes, BoardActivity's implemention of the callback will need
to check if the server's choice of dict is available, and if not offer
to download it. Once it's available, will want to install it.
2012-09-03 21:33:46 -07:00
Eric House
b7a0f1489b
first of a set of changes to communicate to clients dictionary being
...
used by server. Clients need to care if e.g. the server's disallowing
phonies based on its dict. Can only be sent if client is of latest
version. In that case, common code calls into new util function. In
future changes, BoardActivity's implemention of the callback will need
to check if the server's choice of dict is available, and if not offer
to download it. Once it's available, will want to install it.
2012-09-03 21:29:21 -07:00
Eric House
d12ed144ea
normalize file: add comments where don't proceed a string, and replace
...
tabs with spaces.
2012-08-31 21:36:49 -07:00
Eric House
73e29211b0
remove strings no longer used
2012-08-31 21:34:25 -07:00
Eric House
a3b1fc8379
beginnings of script to annotate localized .xml files with what's missing
2012-08-31 21:33:44 -07:00
Eric House
1f330e0c49
tweak name and reflect new name on website
2012-08-30 19:21:05 -07:00
Eric House
adab1b5cea
replace getString() calls that fetch format strings then apply them
...
with calls to the formatting (varargs) version of getString(). Should
be no behavior change.
2012-08-30 19:18:08 -07:00
Eric House
2eb8904a0a
rename to cWords-SMS, and move name <string/> into strings.xml so it
...
can be substituted too.
2012-08-30 19:11:46 -07:00
Eric House
4ffb4efb0c
silence compiler warning
2012-08-30 19:10:52 -07:00
Eric House
568bef7ac3
add DICTNOTE
2012-08-30 07:08:55 -07:00
Eric House
3b8c9bfada
add two Catalan word lookup URLs
2012-08-30 07:07:42 -07:00
Eric House
73c26d8643
replace Crosswords in variants' xml files. Required passing in app
...
name from build.xml and a new clean-target script that removes the
generated variant files.
2012-08-30 07:00:26 -07:00
Eric House
4cb848582e
fix edge cases in prefix matching
2012-08-28 07:35:11 -07:00
Eric House
145317426d
Fix prefix matching to accept letters constituting the first part of a
...
digraph tile when at the end of a prefix so that e.g. GORIL in Catalan
will list GORIL·LA (rather than nothing since GORIL, ending with the L
tile, is not a prefix.)
2012-08-27 21:50:09 -07:00
Eric House
fddd2c4ed5
fix bug in dict_tilesToString that occurred only when a language had
...
two tiles starting with the same letter: use recursive search to try
both paths in such cases.
2012-08-27 07:10:40 -07:00
Eric House
79be03ac66
splite lines to get under 80 columns; no code change
2012-08-27 07:06:40 -07:00
Eric House
da4ec16ba4
remove one-release logging confirming getInstallerPackageName result.
2012-08-27 06:15:11 -07:00
Eric House
a0e8b6c076
add description
2012-08-26 21:36:00 -07:00
Eric House
c5f21a3517
new field to be populated if dict desc header is found.
2012-08-26 21:00:21 -07:00
Eric House
08aa9b66e8
also load new desc field in android client, and add jni call to retrieve it
2012-08-26 20:59:17 -07:00
Eric House
9d174601b9
add field, and getter, for new dict header description string, and
...
load it in linux client.
2012-08-26 20:58:28 -07:00
Eric House
f3b289f4be
fix to take defaults from current dir
2012-08-26 20:18:37 -07:00
Eric House
6cf138b962
Merge remote branch 'origin/android_branch' into android_branch
2012-08-25 10:22:12 -07:00
Eric House
b29df8512a
add null-terminated note to dawg header and modify linux client to
...
accept it if present. Android client will successfully ignore it and
will need to be modified to capture and display it if present. Idea's
to display information about copyright, source, etc. of wordlists.
2012-08-25 10:20:52 -07:00
Eric House
efb7a9b5c5
call loge rather than logf from within catch statements
2012-08-23 07:08:17 -07:00
Eric House
9606c2ec56
Merge remote-tracking branch 'origin/android_branch' into android_branch
2012-08-23 06:53:23 -07:00