Eric House
077270f1cd
merge in SMS-version UI -- there will not be a separate version for
...
SMS any more.
2012-10-15 08:29:46 -07:00
Eric House
eb47e75c50
put up more user-friendly message when dicts don't match.
2012-10-15 08:07:17 -07:00
Eric House
5f247db29c
use the same missing-players message for all three connection types
...
(even though the way they're reported is, though shouldn't be,
different.)
2012-10-15 07:31:02 -07:00
Eric House
96ea4f3963
ignore new files
2012-10-15 06:21:50 -07:00
Eric House
c811282591
UI change: networked games are no longer allowed to have per-player
...
dicts. Now you select a single dict for such games in a new spinner
just below the lang spinner, and player's dicts are no longer
displayed. For standalone games, the single dict choice isn't there,
the individual dicts are displayed, and you must open a player config
to change the dict as before. The idea is that this will be less
confusing, particularly when I need to tell the guest that the host is
using a different dict.
2012-10-14 19:21:27 -07:00
Eric House
e90c5ee94f
pass index of resigning player into util_notifyGameOver. Not yet
...
passed into java.
2012-10-09 05:31:12 -07:00
Eric House
ce58750b92
change "resign" menu text once game is over
2012-10-08 07:09:44 -07:00
Eric House
e64ecfb78d
implement resign on top of existing endGame logic, adding "quitter" as
...
new param passed to remote and changing final score formatting and
menu items to match. Still need to show old menu on android in case
where game has already ended.
2012-10-07 12:47:06 -07:00
Eric House
fd9b9f85e2
make util_hiliteCell conditional, and remove from android where it
...
wasn't used anyway.
2012-10-05 18:51:32 -07:00
Eric House
b11da9d8eb
use GamesList's Handler to set timers to redraw turn expiry indicators
...
when the percent left changes. This may be done -- except for
deciding what to do when the time actually runs out.
2012-10-02 07:30:31 -07:00
Eric House
0a60419802
make ExpiringDelegate responsible for figuring percentage of time left
...
given start time and having a constant for how long a turn lasts. Eventually
the constant will be replaced by a second number passed in.
2012-10-01 19:07:23 -07:00
Eric House
cd776a34dd
Revert "Display turn start time in game summary. This is definitely not its"
...
This reverts commit ebaa22594d
.
2012-10-01 17:53:35 -07:00
Eric House
bec596c744
remove no-longer-needed drawable
2012-10-01 17:52:56 -07:00
Eric House
0579253b8d
Also override TextView to show turn left there. Works, requiring only
...
that actual percentage of turn remainning be calculated.
2012-10-01 07:24:45 -07:00
Eric House
50b10cd365
new classes overriding LinearLayout to allow framing is-turn rect to
...
be drawn in two colors showing how much time left for turn. Required
because there's no (reasonably-easy) way to create nine-parts
dynamically.
2012-10-01 06:57:40 -07:00
Eric House
8281bd7f10
call back into java for util_getCurSeconds implementation so java and
...
C world are sure to be using the same clock.
2012-09-29 19:27:02 -07:00
Eric House
ebaa22594d
Display turn start time in game summary. This is definitely not its
...
final form!
2012-09-27 07:48:30 -07:00
Eric House
2c89f13383
add turn as param to util_turnChanged, and call from server rather
...
than board.
2012-09-27 07:04:57 -07:00
Eric House
94103a4212
track time of most recent turn start, and include it in summary table.
2012-09-27 06:55:46 -07:00
Eric House
65598cdb7b
replace DeleteLocalRef calls
2012-09-24 07:44:43 -07:00
Eric House
140c982d41
merge from android_branch
2012-09-24 07:39:44 -07:00
Eric House
4909dde622
call a script rather than an html file so file doesn't have to be
...
updated with every release.
2012-09-24 07:35:14 -07:00
Eric House
d24f9a28f6
up release number
2012-09-24 07:00:18 -07:00
Eric House
c76c5f5868
don't create obits for apps that don't have relayIDs (and presumably
...
never connected.)
2012-09-20 07:45:04 -07:00
Eric House
96e277c7ba
don't offer to copy DB from sdcard when there is none.
2012-09-20 07:29:00 -07:00
Eric House
598a154693
factor common code into function
2012-09-19 08:09:27 -07:00
Eric House
81d3f7d15f
up version strings for SMS version too
2012-09-19 07:20:43 -07:00
Eric House
a601d0818e
save and restore search prefix even when find button not clicked, and
...
display last scroll position when different from what prefix finds.
2012-09-18 07:51:50 -07:00
Eric House
210913d4d4
track dictbrowse info for multiple copies of same dict if that's
...
what's installed.
2012-09-18 07:36:54 -07:00
Eric House
fcecd1db3c
don't ask for column no longer there
2012-09-18 06:38:22 -07:00
Eric House
168b69112e
up version strings for pending new release
2012-09-17 06:36:58 -07:00
Eric House
33772ff0b9
remove redundant DB field and variable
2012-09-15 17:11:59 -07:00
Eric House
a939c9ec4b
cleanup
2012-09-15 17:11:45 -07:00
Eric House
75398389b3
Merge branch 'android_branch' into android_dictdb
...
Conflicts:
xwords4/android/XWords4/jni/jniutlswrapper.c
2012-09-15 16:36:15 -07:00
Eric House
ee1df7eeb7
replace DeleteLocalRef calls with version that checks for NULL
2012-09-15 15:57:38 -07:00
Eric House
937bde6378
combine two jniutils methods into one
2012-09-15 15:21:31 -07:00
Eric House
1e12464934
Merge branch 'android_branch' into android_dictdb
2012-09-15 10:51:58 -07:00
Eric House
571300c0f8
work with two checksums per wordlist, the old that's on the whole
...
file, and the new that's on the wordlist data only.
2012-09-15 09:34:27 -07:00
Eric House
bcc8c0c249
remove code figuring md5sum on full dict file; the sum on data is all
...
we're using now.
2012-09-13 19:33:17 -07:00
Eric House
9ea1311aa0
Merge branch 'android_branch' into android_dictdb
2012-09-13 08:00:54 -07:00
Eric House
50e90405a7
add new Catalan word lookup URL
2012-09-13 08:00:37 -07:00
Eric House
aa974be567
Before figuring md5sum (via java callback added recently), use new
...
callback to see if there's already one in the DB. Required passing
context into jniutils getter, and passing name into jni dict
constructors that previously didn't need it.
2012-09-13 07:38:08 -07:00
Eric House
edc6b9c270
Merge branch 'android_branch' into android_dictdb
2012-09-13 05:40:08 -07:00
Eric House
3e4384c2a8
when dict doesn't have built-in md5sum, or when in DEBUG code, call
...
back into java to get a sum. It's very slow for large dicts, but will
eventually be in a DB so only done once per dict that doesn't have it.
2012-09-13 05:39:44 -07:00
Eric House
13507e6fc2
break dict info table in two, one browse state and one for what's been
...
stored in static data in DictLangCache up to now -- and remove that
static data in favor of the new table.
2012-09-12 19:50:03 -07:00
Eric House
67b0d44f26
save search prefix too
2012-09-12 07:55:41 -07:00
Eric House
ce6356fb92
add new db table for tracking dict-releated stuff. Use it to save
...
state in wordlist browser so can return to same place as left for each
dict. Eventually the new table should replace DictLangCache.
2012-09-12 07:44:58 -07:00
Eric House
ae2b6205bd
use mem_stream_make_sized
2012-09-11 19:17:27 -07:00
Eric House
0ccc2331b5
address bug where message was getting ACK'd by a device that failed to
...
save what it had ACK'd leaving the game permanently broken. Do that
by adding a new method game_saveSucceeded() called after the client
claims to have committed bytes returned by game_writeToStream() to
disk. In that method comms updates the value it'll use in subseqent
ACKs.
2012-09-10 07:31:45 -07:00
Eric House
95a7b14a3a
transmit dict's md5sum along with name in initial message from host to
...
guest. On guest, pass that sum into client code along with names so
the appropriate tests can be done and corrections taken.
2012-09-08 20:23:48 -07:00