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
ehouse
df293db349
script to run lots of games with events at more natural intervals against relay.
2009-07-12 01:18:09 +00:00
ehouse
4c523b628c
Make slow-robot work for curses client too.
2009-07-10 05:04:04 +00:00
ehouse
184a154c52
New feature, meant for testing relay, makes robot skip random number
...
of seconds within specified range before making a move. Working only
on gtk so far, and will probably never be used other than on linux
clients.
2009-07-09 12:43:51 +00:00
ehouse
7893c2066a
get rid of gratuitous echo
2009-07-05 01:46:27 +00:00
ehouse
c0073183ba
improve relay test script to better run in a loop.
2009-07-03 14:55:20 +00:00
ehouse
a954286960
avoid mempool assertions by cleaning up on way out
2009-06-30 12:55:47 +00:00
ehouse
669e423ca8
Use new dict API to get rid of XP_UCHAR4 type, replacing with const XP_UCHAR*.
2009-04-07 04:23:56 +00:00
ehouse
2838f421a5
fix a couple of null ptr exceptions
2009-04-05 23:48:33 +00:00
ehouse
f0d6dda9dd
A couple of new types for xp code dealing with utf8.
2009-04-05 19:27:30 +00:00
ehouse
a9b88d95b2
Read new dicts and old into new format.
2009-04-05 19:22:55 +00:00
ehouse
b63c75f36e
use libncursesw
2009-04-05 18:35:51 +00:00
ehouse
cb72b3ffef
call gi_initPlayerInfo() for defaults when not provided on commandline.
2009-03-08 19:57:27 +00:00
ehouse
53fca87b10
Go back to combo box for role, and add config button beside it using new support in nwgamest.
2009-03-08 19:56:48 +00:00
ehouse
de4c57e740
include strerror output in logging when socket read fails
2009-03-08 19:56:01 +00:00
ehouse
dbec991e9a
use PID as cookie so creation order visible on relay during testing
2009-03-02 01:46:10 +00:00
ehouse
aa48b4c3ed
plug memory leak by closing relay socket when quitting
2009-02-28 19:19:42 +00:00
ehouse
3f01c9129e
Lots of changes to make gtk version better test with relay: make
...
possible to start without specifying comms params, to switch roles
and/or number of players when starting new game; clean up dialogs,
esp. use notebook widget to have tab switch between comms types.
2009-02-28 18:52:44 +00:00
ehouse
c2b34e459d
include pid in log for better multi-device debugging
2009-02-28 18:50:21 +00:00
ehouse
13415e895e
test script, first draft.
2009-02-28 16:31:34 +00:00
ehouse
46cb6c2955
fix assertion on exit: nuke mempool after everything it contains; call
...
gtk_main_quit rather than gtk_exit() so can exit from main()
2009-02-28 16:31:03 +00:00
ehouse
bac17d8c1e
start adding conns dialog
2009-02-24 04:34:37 +00:00
ehouse
80b3425b5b
log size of incoming packets
2009-02-07 18:15:17 +00:00
ehouse
c672fcfafd
Make it possible to run same binary against relay with relay heartbeat
...
and direct with comms heartbeat. This mostly means changing ifdefs.
2009-02-01 15:50:58 +00:00
ehouse
3a643c51a4
cleanup; set locale based on ENV
2009-01-25 20:31:13 +00:00
ehouse
09c879dccc
Add sms support, largely untested.
2009-01-13 13:33:56 +00:00
ehouse
99a5a7912b
Use new draw API but same bitmap as always (large in tile, small in
...
cell.) In cases where bitmap and text provided, prefer bitmap.
2009-01-13 13:02:17 +00:00
ehouse
7158ef3802
Cleanup; add sms example to usage()
2009-01-05 02:11:13 +00:00
ehouse
dc82fc6bff
Use the new common/strutils binToSms routines. For now, use glib's
...
too and assert output is the same.
2009-01-05 02:10:27 +00:00
ehouse
c731e0d231
Remove newlines from debug statements.
2009-01-05 01:59:04 +00:00
ehouse
342674276a
Cleanup to build with relay enabled; don't enable any network features
...
if STANDALONE_ONLY is defined.
2009-01-03 23:56:20 +00:00
ehouse
863f79bfb9
Fix compile errors using latest gcc (fread etc must have return value checked)
2009-01-03 18:12:34 +00:00
ehouse
cefd69d8b3
Since there's now a flag indicating whether to show the value of a
...
tile, make value unsigned. Adjust/fix platforms. Add cmdline flag to
linux apps for hiding values.
2008-12-29 03:09:35 +00:00
ehouse
1755267d55
Add support to gtk app for tranport over "sms", with files containing
...
base64-encoded data as the messages. Make necessary changes to comms.
This is the foundation for doing real SMS transport on handhelds.
Currently a full robot game works for two gtk clients provided the
server is launched first.
2008-12-29 01:35:29 +00:00
ehouse
b24f3d66a7
fix warning when DEBUG not defined
2008-11-22 17:14:08 +00:00