ehouse
63fc1e048a
Fix crash going from connected to standalone game: don't invoke sockrw
...
code when its "self" is null.
2009-09-20 22:23:56 +00:00
ehouse
5fa3e2209c
build .cabs for .dlls (based on same for .exes)
2009-09-20 21:55:31 +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
e8b372c274
fix more release build unused var warnings
2009-09-20 21:11:58 +00:00
ehouse
7d48ad714f
fix some warnings when building without debugging
2009-09-20 20:49:37 +00:00
ehouse
52055d6334
add USE_CURSES to help
2009-09-20 20:48:05 +00:00
ehouse
a3b326205a
Do a better job of handling failure to connect or loss of connection:
...
look for errors coming with FD_CONNECT message, look for FD_CLOSE
message, and inform relay when connection is lost so its reconnect
logic is triggered. This seems at least to handle the case where I
kill the relay mid-game.
2009-09-20 19:00:54 +00:00
ehouse
cd2da3b1c3
Let's call this beta rather than alpha in first release: it's solid.
2009-09-20 18:58:40 +00:00
ehouse
ad2cf1a7ea
Tweaks prior to sending to new translator
2009-09-20 18:58:05 +00:00
ehouse
b219e8b279
Send notification when device disconnnects without closing socket (in
...
addition to the existing one sent when a socket is closed).
2009-09-20 18:47:47 +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
250e223a20
add bqRemoveAll
2009-09-19 21:28:07 +00:00
ehouse
ffacbcb36a
Move "For" column left.
2009-09-19 04:59:19 +00:00
ehouse
765a36508e
Fix so can really be the main language; two static labels shouldn't
...
have been in Polish.
2009-09-19 04:46:11 +00:00
ehouse
f1b355b1ce
Move english resources into l10n directory, and change build so that
...
any of the languges can be the one built-in and english can be in a
.dll. English can now serve as a template for translation.
2009-09-19 04:16:19 +00:00
ehouse
45bdccd4e8
Format time more compactly
2009-09-18 03:50:01 +00:00
ehouse
cfad371bb6
use D-A instead of arbitrary letters for conn state -- which will be icons soon anyway.
2009-09-17 03:49:25 +00:00
ehouse
048dccebae
Don't force conns dialog open on new game.
2009-09-17 03:48:45 +00:00
ehouse
1117e76f64
Invite->Room; tweak some phrases
2009-09-17 03:45:13 +00:00
ehouse
a9e8f5b493
shorten column headings; don't assign cid until game is full.
2009-09-17 03:42:12 +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
283a249548
More tweaks from translator
2009-09-16 03:50:16 +00:00
ehouse
4ce9a87be5
Use new relay status callback, and similar callback added to socket
...
read/writer, to provide connection status beside scoreboard (in area
outside that managed by code in common/). Simple letters now, it'll
be icons eventually.
2009-09-15 13:04:34 +00:00
ehouse
d5d20293ce
print log timestamps with padding 0s for better sorting
2009-09-15 12:54:40 +00:00
ehouse
135048a3cf
Extend name change to relay's web interface
2009-09-14 03:31:54 +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
6603949b0e
Fix bug where device quitting one game to start another with same
...
cookie winds up connecting to the old game -- by flagging a cref as
full and no longer accepting connections without connNames even when
in the MISSING state. Required a protocol changes so that devices get
their connNames as early as possible.
2009-09-14 01:55:03 +00:00
ehouse
7eeede45c3
exit if unable to open socket
2009-09-13 15:27:19 +00:00
ehouse
b42e1adb0a
New phrase and tweaks from translator, including shortening that
...
allows reverting color dialog changes; change xWords->Crosswords for
consistency.
2009-09-13 14:47:50 +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
49ac5d10a2
fix lookup of "special" char strings: Spanish and Catalan apparently
...
displayed properly since I merged the unicode changes in.
2009-09-13 04:57:44 +00:00
ehouse
5c95c7b603
fix wince to compile with new APIs
2009-09-12 23:31:48 +00:00
ehouse
f83f6d64ed
drop a bit of logging
2009-09-12 23:17:04 +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
86b560c441
fix to compile on palm: accomodate old compiler and new dict struct
...
fields. Network play against relay works!
2009-09-12 15:35:03 +00:00
ehouse
f1e27d4945
Don't bother calculating gameID as common code does it.
2009-09-12 15:10:10 +00:00
ehouse
85f9ac8598
revert to iso_8859-2 until have time to figure out why utf-8 doesn't
...
convert correctly (though it does for Polish)
2009-09-12 15:05:26 +00:00
ehouse
f0737e1356
prevent label overlap
2009-09-12 04:23:53 +00:00
ehouse
d0127c503a
fix some allcaps; mark what needs tranlation.
2009-09-11 07:49:19 +00:00
ehouse
35449825bc
Add new error string; convert to utf-8.
2009-09-11 07:45:14 +00:00
ehouse
2f0ec7e583
fix some string display bugs by using utf8 when converting; handle
...
Resend Messages menuitem (with error when standalone); add string for
that new error.
2009-09-11 07:44:27 +00:00
ehouse
df9b7bea2b
More translations.
2009-09-11 07:05:31 +00:00
ehouse
448ea05443
Start adding logging to sockets code...
2009-09-07 18:23:49 +00:00
ehouse
03eeb93925
Prefs file is created HIDDEN; open it that way too.
2009-09-07 18:22:52 +00:00
ehouse
4e8d340304
Don't re-open conns dlg if in standalone mode
2009-09-07 16:55:54 +00:00
ehouse
13e50dd149
when only one conn mode available localized versions shouldn't show
...
choice either
2009-09-07 16:46:55 +00:00
ehouse
e8825e119c
add comment re: stream format non-change for utf-8
2009-09-05 13:14:42 +00:00
ehouse
615603b66b
Add define set to number of conn types compiled in; use it to compile
...
out conn type choice where there's only one (none to be made). Refuse
to dismiss conns dialog when cookie not chosen.
2009-09-05 13:08:46 +00:00
ehouse
8ddc8612a8
experimental CC def should not have been checked in
2009-09-05 13:00:35 +00:00