xwords/xwords4/common
Eric House c91865c991 use invite's channelNo for first incoming message
A rare stall resulted when the invitee on channel 2 responded
first. It would get assigned channel 1 and so the invitation on that
channel would get deleted. If it hadn't already reached the mqtt
server it would never be delivered. My fix is to use an invitation's
channel instead IFF its address matches the return address of the
incoming message. I'm not sure what happens if there's somehow a mix
of invited (via rematch) and invited-some-other-way players. None of
this matters for two-device games anyway.
2024-01-04 09:50:24 -08:00
..
.gitignore ignore more 2010-03-14 16:25:27 +00:00
board.c cleanup -- should be no behavior/code change 2024-01-04 09:50:24 -08:00
board.h cleanup -- should be no behavior/code change 2024-01-04 09:50:24 -08:00
boarddrw.c implement rematch 2023-02-23 15:51:40 -08:00
boardp.h drive letters/values from a three-value enum 2021-02-11 14:11:02 -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 use invite's channelNo for first incoming message 2024-01-04 09:50:24 -08:00
comms.h get rid of ancient ifdef 2024-01-04 09:50:24 -08:00
commstyp.h merge android_branch changes to comms_make 2022-11-18 11:09:22 -08:00
comtypes.h Add option to choose how rematch-game players will be ordered 2024-01-04 09:50:24 -08:00
config.mk use github code to implement md5sum for mqtt msg ack (wasm only) 2023-02-26 19:53:12 -08: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 refactor: make vtable population test xplatform 2020-04-19 12:56:11 -07:00
dbgutil.h refactor: make vtable population test xplatform 2020-04-19 12:56:11 -07:00
device.c new script to run many games per device 2023-11-27 21:32:43 -08:00
device.h add dbg-only menuitem to set mqtt devid 2023-04-26 13:57:21 -07:00
dictiter.c limit pattern parse by max length of tiles 2020-12-27 11:53:36 -08:00
dictiter.h cleanup 2020-08-16 19:29:42 -07:00
dictmgr.c cleanup 2020-08-16 19:29:42 -07:00
dictmgr.h cleanup 2020-08-16 19:29:42 -07:00
dictnry.c clean up Hex wordlist 2022-06-05 14:38:33 -07:00
dictnry.h Replace LangCode with ISOCode, linux and common side 2022-06-05 09:07:01 -07:00
dictnryp.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
dragdrpp.c enable RAISETILE feature for linux and android 2020-12-02 17:55:49 -08:00
dragdrpp.h fix compile when XWFEATURE_RAISETILE defined 2020-12-02 17:21:47 -08:00
draw.c fix crashes when quad-{word,letter} present 2022-04-01 07:51:13 +02:00
draw.h show invitee name where possible 2021-05-30 13:31:33 -07:00
dutil.c use indexeddb for storage 2021-03-19 14:27:04 -07:00
dutil.h pass topic to ack() (so unretain can work) 2023-11-07 19:55:32 -08:00
engine.c sort words using blanks behind those not 2022-11-24 08:25:40 -08:00
engine.h add filtering to wordlist browser 2020-08-05 09:47:44 -07:00
game.c get rid of ancient ifdef 2024-01-04 09:50:24 -08:00
game.h get rid of ancient ifdef 2024-01-04 09:50:24 -08:00
gameinfo.h enable rematch for 3- and 4-device games 2023-02-16 21:36:46 -08:00
knownplyr.c remove dead code 2023-02-23 10:55:05 -08:00
knownplyr.h display known player timestamp when known (debug only) 2021-01-04 08:12:05 -08:00
md5.c use github code to implement md5sum for mqtt msg ack (wasm only) 2023-02-26 19:53:12 -08:00
md5.h use github code to implement md5sum for mqtt msg ack (wasm only) 2023-02-26 19:53:12 -08:00
mempool.c plug memory leak 2023-03-04 08:54:31 -08:00
mempool.h show mempool stats (DEBUG builds) 2021-03-19 14:27:04 -07:00
memstream.c get rid of stream_open(), which was a NO-OP 2023-02-04 07:44:57 -08:00
memstream.h cleanup: pass xwe with closeProc rather than to destroy 2023-02-03 22:00:47 -08:00
model.c cleanup: pass xwe with closeProc rather than to destroy 2023-02-03 22:00:47 -08:00
model.h Add option to choose how rematch-game players will be ordered 2024-01-04 09:50:24 -08:00
modelp.h add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
movestak.c add common/ to saved logs 2023-07-18 16:07:26 -07:00
movestak.h add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
mscore.c Add option to choose how rematch-game players will be ordered 2024-01-04 09:50:24 -08:00
nli.c new script to run many games per device 2023-11-27 21:32:43 -08:00
nli.h respond to invitations coming in as argv params 2023-02-26 19:53:12 -08:00
nlityp.h Add option to choose how rematch-game players will be ordered 2024-01-04 09:50:24 -08:00
nwgamest.c cleanup: renaming only (server->host) 2024-01-04 09:50:24 -08:00
nwgamest.h stop using thread->env mapping for util callbacks 2020-04-26 13:39:21 -07:00
pool.c tweak test script to better test rematching 2023-03-08 20:48:55 -08:00
pool.h make number of tiles proportional to board size 2022-04-01 07:51:13 +02:00
rules.mk makefile cleanup 2006-02-17 07:27:36 +00:00
scorebdp.c Add option to choose how rematch-game players will be ordered 2024-01-04 09:50:24 -08:00
scorebdp.h cleanup -- should be no behavior/code change 2024-01-04 09:50:24 -08:00
server.c use invite's channelNo for first incoming message 2024-01-04 09:50:24 -08:00
server.h Add option to choose how rematch-game players will be ordered 2024-01-04 09:50:24 -08:00
smsproto.c cleanup: pass xwe with closeProc rather than to destroy 2023-02-03 22:00:47 -08:00
smsproto.h fix compilation where DEBUG not set 2020-04-26 13:49:54 -07:00
states.h fix relay game failure to change roles 2020-08-25 14:53:33 -07:00
strutils.c Add option to choose how rematch-game players will be ordered 2024-01-04 09:50:24 -08:00
strutils.h Add option to choose how rematch-game players will be ordered 2024-01-04 09:50:24 -08:00
tray.c use 16 bits to represent selected tiles 2021-08-25 07:24:38 -07:00
util.h add fromRematch to existing api to avoid race condition 2024-01-04 09:50:24 -08:00
virtuals.h Remove all tabs. No code changes. 2008-05-31 03:26:16 +00:00
vtabmgr.c snapshot: rematch and invitation handling most work from common 2022-11-18 11:09:22 -08: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
xwstate.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
xwstream.h get rid of stream_open(), which was a NO-OP 2023-02-04 07:44:57 -08:00