xwords/xwords4/common
Eric House 352d87a327 use stream to take apart untrusted message safely
add new stream getters that return false if reach EOS and use them to
exit early and safely if incoming SMS msg is misformatted. I'm getting
random garbage meant for other apps perhaps.
2018-07-13 22:41:52 -07:00
..
.gitignore ignore more 2010-03-14 16:25:27 +00:00
board.c Break part of util into dutil 2018-07-05 07:58:50 -07:00
board.h toward making tile picking work through rotations 2017-03-09 20:36:14 -08:00
boarddrw.c init variable 2018-06-13 14:34:31 +03:00
boardp.h Break part of util into dutil 2018-07-05 07:58:50 -07: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 Break part of util into dutil 2018-07-05 07:58:50 -07:00
comms.h a shot at no-conn connecting 2017-11-10 21:34:02 -08:00
comtypes.h add save/restore of partial messages 2018-07-07 22:56:32 -07:00
config.mk add common implementation of the SMS proto stuff 2018-07-05 21:40:56 -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 more valgrind fixes 2018-04-14 10:17:12 -07:00
dictnry.h implement util->dutil split for Android 2018-07-05 08:32:19 -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
dutil.h change two method names 2018-07-10 07:07:30 -07:00
engine.c fix release-only bug showing duplicate moves 2018-02-18 12:29:30 -08: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 Break part of util into dutil 2018-07-05 07:58:50 -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 add common implementation of the SMS proto stuff 2018-07-05 21:40:56 -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 add mem_stream_make_raw 2018-06-27 23:24:45 -07:00
memstream.h add mem_stream_make_raw 2018-06-27 23:24:45 -07:00
model.c Break part of util into dutil 2018-07-05 07:58:50 -07:00
model.h juggle tiles in generated moves (debug only) 2018-02-28 06:44:44 -08:00
modelp.h Break part of util into dutil 2018-07-05 07:58:50 -07:00
movestak.c use mem_stream_make_raw() where possible in common code 2018-06-27 23:42:50 -07:00
movestak.h move hashing into memstream impl, and reintroduce the old/broken 2016-01-01 17:57:14 -08:00
mscore.c Break part of util into dutil 2018-07-05 07:58:50 -07:00
nli.c make gtk include an invite ID in rematch invitations 2017-11-11 16:39:09 -08:00
nli.h make gtk include an invite ID in rematch invitations 2017-11-11 16:39:09 -08:00
nwgamest.c Break part of util into dutil 2018-07-05 07:58:50 -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 Break part of util into dutil 2018-07-05 07:58:50 -07:00
server.h Break part of util into dutil 2018-07-05 07:58:50 -07:00
smsproto.c use stream to take apart untrusted message safely 2018-07-13 22:41:52 -07:00
smsproto.h add common implementation of the SMS proto stuff 2018-07-05 21:40:56 -07:00
states.h remove unused enum 2013-07-03 07:26:23 -07:00
strutils.c use stream to take apart untrusted message safely 2018-07-13 22:41:52 -07:00
strutils.h use stream to take apart untrusted message safely 2018-07-13 22:41:52 -07:00
tray.c toward making tile picking work through rotations 2017-03-09 20:36:14 -08:00
util.h Break part of util into dutil 2018-07-05 07:58:50 -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