xwords/xwords4/common
Eric House 8bf65622b5 fix crash duplicating no-address network game
An edge case, but: doing "new from" on a game without any connection
types crashed because of an assertion in comms that assumed
addr_setType() was being called on zero-initialized flags, which
shouldn't have been a requirement. Pulled that as well as java code that
added RELAY-type connectivity to any game that had none. If a game has
none, leave it that way.
2017-01-07 07:41:38 -08:00
..
.gitignore ignore more 2010-03-14 16:25:27 +00:00
board.c switch to clang 2016-09-30 11:13:30 -07:00
board.h switch to clang 2016-09-30 11:13:30 -07:00
boarddrw.c debugging aids 2016-11-12 07:20:28 -08:00
boardp.h add isLocal param to server_getCurrentTurn 2016-08-26 06:58:55 -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 fix crash duplicating no-address network game 2017-01-07 07:41:38 -08:00
comms.h wifi direct: harvest and send mac address 2016-11-14 08:06:53 -08:00
comtypes.h bring over saved file format change from relay_conn branch so builds 2015-08-10 06:24:40 -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 debug-only code to assert that movestack is never disposed when dirty (via macros easy to use elsewhere) 2014-02-28 05:43:47 -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 add board_drawSnapshot 2016-08-05 10:23:39 -07:00
game.h get rematch working on linux, at least for two-device games. (Handling 2015-07-06 20:28:16 -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 fix crash (assertion failure) finding words associated with a cell 2016-03-04 19:29:42 -08:00
model.h move hashing into memstream impl, and reintroduce the old/broken 2016-01-01 17:57:14 -08: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 rename common file and methods for consistency with android. No logic 2015-07-11 08:40:49 -07: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 switch to clang 2016-09-30 11:13:30 -07:00
server.h switch to clang 2016-09-30 11:13:30 -07: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 add isLocal param to server_getCurrentTurn 2016-08-26 06:58:55 -07:00
util.h post notification (rather than just play sound) when turn comes into 2016-04-14 22:16:18 -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
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