eehouse
35a924cadd
save logs, and exit loop when log dir disappears to make killing it easier.
2010-02-08 13:45:48 +00:00
eehouse
3c26cd74ff
fix curses-only compile: use glib even without gtk.
2010-02-05 13:21:01 +00:00
ehouse
28265749f9
fix unused var warning in release build
2009-12-17 13:09:10 +00:00
ehouse
35f068e05c
Implement new callback giving progress connecting with relay.
2009-12-14 04:06:26 +00:00
ehouse
273f3d2f4a
don't show turn confirm dialog by default
2009-12-14 02:54:56 +00:00
ehouse
9f7c0db09f
Always launch host first, sleep to make sure it'll be connected and
...
the room registered before launching any guests.
2009-12-04 08:56:51 +00:00
ehouse
c893fd4a9e
On receipt of connection-denied message via new rerror callback, put
...
up new error messages and then conns dialog so user can connect again
after changing room name or just waiting. A new game is started so
that comms is re-inited and will try again to connect to relay.
2009-12-04 08:18:49 +00:00
ehouse
d5f7a0693f
Handle missing relay error messages.
2009-11-22 19:25:49 +00:00
ehouse
b8e7cd411f
fix to use new API. (this and prev checkin via terminal app on phone :-)
2009-11-19 02:26:38 +00:00
ehouse
b84c1a10d9
Use different rooms for each game. The relay, or maybe it's the linux
...
client's TERM handler, can't handle so many connectings on same room.
2009-11-09 05:25:20 +00:00
ehouse
8be09b3fc4
Complete script so it runs gtk versions one host at a time (after
...
connecting) to test the relay's new disconnected message-storing
feature. Works except when the gtk client crashes, which is a lot.
2009-11-09 00:06:53 +00:00
ehouse
066c3de9a7
add to gtk version a quick -F option to use new skip-confirm feature
2009-11-08 17:25:19 +00:00
ehouse
86d6f8d0a3
script and helper for testing proposed store-and-forward relay feature.
2009-11-05 04:31:23 +00:00
ehouse
e65db4b8c2
use log macro rather than fprintf to stderr
2009-11-02 00:09:56 +00:00
ehouse
84ac5223b2
script to test new feature where lots of games can use the same "room"
...
and will just get mached up as soon as a host and right-sized set of
guests is available. Basically works, but will never exit if any of
the games fails to exit (as is happening most times), so still need to
detect failures.
2009-11-02 00:09:11 +00:00
ehouse
7d411526d3
add .2 for consistent time formatting
2009-11-01 01:40:18 +00:00
ehouse
0dfdb767df
dialog text only: invite->room
2009-10-24 16:35:33 +00:00
ehouse
1fa8b2e48f
remove unused param (not even compiled on Palm); on wince, try to
...
duplicate for timer the vertical offset used for scores.
2009-10-16 03:20:39 +00:00
ehouse
f80b1d74f2
include name of player whose turn it is in scoreboard entry, reducing
...
length until it fits. (Still needs polishing...)
2009-10-15 12:44:53 +00:00
ehouse
2721561324
add option to include new duplicate packets flag
2009-09-26 14:33:09 +00:00
ehouse
827f44ff48
Script to put games on relay that need partners, great for testing
...
with just one handheld.
2009-09-26 13:48:58 +00:00
ehouse
547c1758a9
For testing, add option to send duplicates of all packets
2009-09-26 13:47:51 +00:00
ehouse
b1352f013c
prepend Test_ to cookie/room name
2009-09-22 03:38:43 +00:00
ehouse
a13e1d6488
add util_clearTimer, implement on all platforms, and call when closing
...
comms to fix crash on Wince when timer fired after comms had been
deleted. The closure stored and passed in was no longer a valid ptr.
2009-09-21 12:49:08 +00:00
ehouse
a91fd28773
fix some warnings when building linux client without debugging but
...
with warnings as errors.
2009-09-20 21:51:29 +00:00
ehouse
52055d6334
add USE_CURSES to help
2009-09-20 20:48:05 +00:00
ehouse
1da25307e5
Display relay state on board, horizontal scoreboard mode only for now.
2009-09-20 18:45:25 +00:00
ehouse
a5556469ef
fix timer formatting
2009-09-20 05:00:23 +00:00
ehouse
e8ae5e43ad
don't timeout games just because they're set to sleep a long time between moves.
2009-09-17 03:41:08 +00:00
ehouse
18e9301e87
rename Cookie to Invite, a change that may change. Rename everywhere
...
in clients but not in relay where cookie is too pervasive. (There are
no code changes in this checkin.)
2009-09-14 03:11:11 +00:00
ehouse
535e97b855
replace array of indices with array of ptrs for faster & smaller code
2009-09-13 05:28:12 +00:00
ehouse
6c4b991566
Modify comms and games APIs so single struct of callbacks is passed
...
instead of multiple callbacks; add callback called when relay state
changes; adapt linux and palm clients to new API. (Wince changes
pending.)
2009-09-12 21:39:13 +00:00
ehouse
8ddc8612a8
experimental CC def should not have been checked in
2009-09-05 13:00:35 +00:00
ehouse
3a1c2572dd
Merge in unicode changes to read in utf-8 dictionary format
2009-09-04 12:30:10 +00:00
ehouse
6827ab5d88
Unify signal handlers that do same thing; clean memory leaks and a
...
double-dispose.
2009-08-30 15:23:05 +00:00
ehouse
1c8147c21c
Tweak to support non-ascii utf-8 chars from dicts. Seems to display
...
Catalan and Polish fine (on board.)
2009-08-29 16:09:58 +00:00
ehouse
d86d2b556a
Tweak to support non-ascii utf-8 chars from dicts. Seems to display
...
Catalan and Polish fine (on board.)
2009-08-29 16:09:24 +00:00
ehouse
d29b048504
timeout games after five minutes no matter what
2009-08-23 15:35:47 +00:00
ehouse
537de614b9
remove timer assert; log socket errors
2009-08-21 12:15:40 +00:00
ehouse
f5f5df990e
Drive hosts launched from list of local roles in anticipation of
...
splitting tests between machines.
2009-08-21 03:31:34 +00:00
ehouse
1264cacdc1
when one participant in a game crashes kill the rest so another can
...
begin.
2009-08-20 11:56:33 +00:00
ehouse
522bd8636d
include timestamp in "game finished ok" output
2009-07-31 13:04:37 +00:00
ehouse
fbd3559e3b
Fix assertion failures
2009-07-31 13:03:05 +00:00
ehouse
7338a706cb
option to randomly kill xwords instances
2009-07-29 04:31:23 +00:00
ehouse
192fb50bf8
add SIGINT handler that calls quit (to save files). Listen for errors in poll.
2009-07-29 04:29:29 +00:00
ehouse
9ab746d8ac
Include strerror output in a few socket-related error messages.
2009-07-28 05:17:44 +00:00
ehouse
62b7d3c3a4
Clean up gtk case and fix post-game log checking.
2009-07-28 05:02:09 +00:00
ehouse
19cff0f7c5
make all game ids (cookies) unique; fix success test
2009-07-16 04:36:30 +00:00
ehouse
fed0458f2e
various improvements. Runs games forever now, though exit is clumsy.
2009-07-13 02:57:41 +00:00
ehouse
d7cd277893
Add option to close stdin on startup, which seems required to run
...
curses version from script. There's probably a better way...
2009-07-12 01:32:14 +00:00