xwords/xwords4/common
Eric House f2c4c82129 a shot at no-conn connecting
Ideally the comms module wouldn't go through its connecting routine in
order to join a game. To that end I added a join() method to relay.py
and code to call it. Joins happen (pairing games, starting new ones,
etc.), but after that communication doesn't. First part of fixing that
would be to make cookieID persistent and transmit it back with the rest
of what join sends (since it's used by all the messages currently sent
in a connected state), but I suspect there's more to be done, and even
that requires a fair number of changes on the relay side. So all that's
wrapped in #ifdef RELAY_VIA_HTTP (and turned off.)
2017-11-10 21:34:02 -08:00
..
.gitignore ignore more 2010-03-14 16:25:27 +00:00
board.c add compile-time option for forcing square board 2017-09-13 07:38:22 -07:00
board.h toward making tile picking work through rotations 2017-03-09 20:36:14 -08:00
boarddrw.c debugging aids 2016-11-12 07:20:28 -08:00
boardp.h make bad phonies alert non-blocking 2017-02-20 07:20:19 -08:00
bufqueue.c add bqRemoveAll 2009-09-19 21:28:07 +00:00
bufqueue.h add bqRemoveAll 2009-09-19 21:28:07 +00:00
commmgr.h Remove all tabs. No code changes. 2008-05-31 03:26:16 +00:00
comms.c a shot at no-conn connecting 2017-11-10 21:34:02 -08:00
comms.h a shot at no-conn connecting 2017-11-10 21:34:02 -08:00
comtypes.h save disabled booleans in comms state 2017-05-26 07:30:42 -07:00
config.mk rename common file and methods for consistency with android. No logic 2015-07-11 08:40:49 -07:00
contypct.h Add define set to number of conn types compiled in; use it to compile 2009-09-05 13:08:46 +00:00
dawg.h fix to support synonyms within specials too -- for linux only so far. 2013-04-09 07:43:04 -07:00
dbgutil.c cleanup: rename function and remove unused param 2015-12-31 15:47:48 -08:00
dbgutil.h add and use boolToStr 2017-01-22 14:15:29 -08:00
dictiter.c load new-format dict into linux client, display default faces 2013-04-06 11:43:57 -07:00
dictiter.h Fix prefix matching to accept letters constituting the first part of a 2012-08-27 21:50:09 -07:00
dictmgr.c too much logging 2014-06-24 08:18:42 -07:00
dictmgr.h add and use dict manager that caches, using refcount, dicts across games. Allows multiple games to be opened, and open at the same time, with only one instance of a dict ever created. Works on linux; not used or tested yet on Android. 2014-03-09 19:12:21 -07:00
dictnry.c fix linux-side compile errors 2014-08-21 07:15:20 -07:00
dictnry.h fix linux-side compile errors 2014-08-21 07:15:20 -07:00
dictnryp.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
dragdrpp.c move dividerLoc into model and use to limit sorting to tiles to its 2014-10-09 20:09:24 -07:00
dragdrpp.h add and set new flags for crosshairs so platforms can do better than 2010-08-11 18:50:16 -07:00
draw.c catch up with API changes. GTK to use this still needs to be fixed! 2008-08-30 13:54:47 +00:00
draw.h make beginDraw return a boolean so can abort 2016-08-04 15:12:05 -07:00
engine.c switch to clang 2016-09-30 11:13:30 -07:00
engine.h Revert "Fix bug where if word being scored for long-touch-on-scoreboard wasn't" 2012-08-15 18:01:36 -07:00
game.c wip: process moves received 2017-10-19 21:20:14 -07:00
game.h wip: process moves received 2017-10-19 21:20:14 -07:00
gameinfo.h make forceChannel part of CurGameInfo rather than comms, since Android 2014-12-29 07:39:28 -08:00
mempool.c use pthreads mutex to synchronize alloc and free operations in (debug 2016-04-09 11:54:08 -07:00
mempool.h add debug-only "tag" to open games so logging can more easily track 2015-02-09 19:15:43 -08:00
memstream.c Merge tag 'android_beta_100' into android_branch 2016-01-03 11:36:37 -08:00
memstream.h add mem_stream_make_sized, meant to make saving games more efficient 2012-09-11 19:06:27 -07:00
model.c tap on pending blank tile brings up picker 2017-04-08 13:44:59 -07:00
model.h tap on pending blank tile brings up picker 2017-04-08 13:44:59 -07:00
modelp.h move dividerLoc into model and use to limit sorting to tiles to its 2014-10-09 20:09:24 -07:00
movestak.c add missing parameter 2016-01-01 19:48:22 -08:00
movestak.h move hashing into memstream impl, and reintroduce the old/broken 2016-01-01 17:57:14 -08:00
mscore.c switch to clang 2016-09-30 11:13:30 -07:00
nli.c add and use boolToStr 2017-01-22 14:15:29 -08:00
nli.h android doesn't send its devid in the nli struct, so don't assert it's 2015-07-11 14:27:01 -07:00
nwgamest.c beginning of support for invite-by-relay (which is mostly interesting 2015-07-01 07:10:45 -07:00
nwgamest.h Add support for a config button as a cleaner alternative to launching 2009-03-08 19:54:14 +00:00
pool.c i => ii; no other change 2012-08-22 07:44:21 -07:00
pool.h add some consts 2012-07-09 21:36:17 -07:00
rules.mk makefile cleanup 2006-02-17 07:27:36 +00:00
scorebdp.c add isLocal param to server_getCurrentTurn 2016-08-26 06:58:55 -07:00
scorebdp.h handle tap on scoreboard by showing last move summary (as happens for 2016-02-18 07:46:36 -08:00
server.c tweak comments 2017-07-19 06:16:22 -07:00
server.h toward making tile picking work through rotations 2017-03-09 20:36:14 -08:00
states.h remove unused enum 2013-07-03 07:26:23 -07:00
strutils.c 0 len is ok 2016-01-01 21:05:28 -08:00
strutils.h move hashing into memstream impl, and reintroduce the old/broken 2016-01-01 17:57:14 -08:00
tray.c toward making tile picking work through rotations 2017-03-09 20:36:14 -08:00
util.h add timestamp to chat messages, db and display 2017-06-10 11:36:45 -07:00
virtuals.h Remove all tabs. No code changes. 2008-05-31 03:26:16 +00:00
vtabmgr.c i => ii; no other change 2012-08-22 07:44:21 -07:00
vtabmgr.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
xwlist.c new files that may replace GSList in relaycon 2017-11-04 09:27:33 -07:00
xwlist.h new files that may replace GSList in relaycon 2017-11-04 09:27:33 -07:00
xwproto.h fix several crashers that prevented network games from working when 2011-11-15 06:13:25 -08:00
xwstate.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
xwstream.h move hashing into memstream impl, and reintroduce the old/broken 2016-01-01 17:57:14 -08:00