xwords/xwords4/common
Eric House 2b7daf067d shrink the comms header
Sending in 32 bits what can probably fit in 8 -- twice -- is dumb. As is
sending the gameID (as connID) when it's already known. In 2016 I added
a fixed marker, so I can count on all current code sending that. If I
fail to find that, I know the sender is new (current release or better.)
In that case, use 12 bits instead of 32 for two fields, drop the marker
and the connID. Result is that an ACK's size, including MQTT headers,
drops from 28 bytes to 21.
2021-12-21 16:34:04 -08:00
..
.gitignore ignore more 2010-03-14 16:25:27 +00:00
board.c allow trade when 7 tiles left, not 9 2021-08-24 21:24:17 -07:00
board.h add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
boarddrw.c choose font sizes to fit 2021-03-19 14:27:04 -07: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 shrink the comms header 2021-12-21 16:34:04 -08:00
comms.h fix to compile with XWFEATURE_RELAY undefined 2021-03-19 18:51:34 -07:00
commstyp.h add mqtt as a new transport 2020-05-20 13:58:53 -07:00
comtypes.h shrink the comms header 2021-12-21 16:34:04 -08:00
config.mk add missing file 2021-03-19 14:26:18 -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 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 call new web api to ack mqtt messages 2021-04-19 07:04:58 -07:00
device.h generate new mqtt devid when server reports dupe 2020-09-13 15:06:08 -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 cleanup of recent changes 2021-05-14 11:34:15 -07:00
dictnry.h snapshot: drawing empty board 2021-03-19 14:26:18 -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 catch up with API changes. GTK to use this still needs to be fixed! 2008-08-30 13:54:47 +00: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 call new web api to ack mqtt messages 2021-04-19 07:04:58 -07:00
engine.c add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
engine.h add filtering to wordlist browser 2020-08-05 09:47:44 -07:00
game.c add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
game.h cleanup: remove dead and use new code 2021-03-28 20:27:24 -07:00
gameinfo.h add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
knownplyr.c use indexeddb for storage 2021-03-19 14:27:04 -07:00
knownplyr.h display known player timestamp when known (debug only) 2021-01-04 08:12:05 -08:00
mempool.c cleanup of recent changes 2021-05-14 11:34:15 -07:00
mempool.h show mempool stats (DEBUG builds) 2021-03-19 14:27:04 -07:00
memstream.c open game to receive message 2021-03-19 14:27:04 -07:00
memstream.h remove comms/transport from using thread->env map 2020-04-26 13:39:21 -07:00
model.c add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
model.h add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
modelp.h add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
movestak.c add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
movestak.h add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
mscore.c add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
nli.c log connType in nli 2021-04-07 21:40:20 -07:00
nli.h get URL-encoded invitation receipt working 2021-03-19 14:26:18 -07:00
nlityp.h add mqtt as a new transport 2020-05-20 13:58:53 -07:00
nwgamest.c stop using thread->env mapping for util callbacks 2020-04-26 13:39:21 -07:00
nwgamest.h stop using thread->env mapping for util callbacks 2020-04-26 13:39:21 -07:00
pool.c add filtering to wordlist browser 2020-08-05 09:47:44 -07:00
pool.h add filtering to wordlist browser 2020-08-05 09:47:44 -07:00
rules.mk makefile cleanup 2006-02-17 07:27:36 +00:00
scorebdp.c show invitee name where possible 2021-05-30 13:31:33 -07:00
scorebdp.h stop using thread->env mapping for util callbacks 2020-04-26 13:39:21 -07:00
server.c add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
server.h harvest players on open; save and make available 2020-09-26 09:48:35 -07:00
smsproto.c fix failure to send NO_SUCH_GAME over NBS 2021-08-31 10:44:39 -07: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 support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
strutils.h add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
tray.c use 16 bits to represent selected tiles 2021-08-25 07:24:38 -07:00
util.h show invitee name where possible 2021-05-30 13:31:33 -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
xwstate.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
xwstream.h open game to receive message 2021-03-19 14:27:04 -07:00