xwords/xwords4/android/jni
Eric House 259357a818 reduce sending of dead-game mqtt messages
Two cases dealt with here. First, if my opponent deletes the game when
I have an un-ack'd message, I'll keep sending it forever. Fix is to
flip a bit in comms in response to a game_gone event so no more
sending will happen. (Better than emptying the queue, as it leaves
open the possibility of resurrecting the game with code changes
later.) Second, if there's a retained message from a dead game I'll
keep receiving it until it's replaced, and if the game's dead it never
will be. Fix is to add a new api endpoint noSuchGame() to the relay2
server and to call it on receiving a message for which I have no game
to deliver it to. The endpoint "unretains" the message so I won't get
it again unless it's resent.
2023-11-05 12:01:43 -08:00
..
.gitignore forgot a file 2017-01-18 07:28:19 -08:00
anddict.c make android supports 21x21 too 2022-04-04 11:46:22 +02:00
anddict.h no-code-change cleanup: star next to type not name 2020-09-13 14:34:47 -07:00
andglobals.h add common/ to saved logs 2023-07-18 16:07:26 -07:00
Android.mk remove timestamps from mqtt header and procs that feed it 2022-12-30 15:35:01 -08:00
andutils.c shorten file path in logs 2023-10-29 08:09:37 -07:00
andutils.h don't run off end of array 2023-10-26 19:31:47 -07:00
drawwrapper.c name change only 2023-01-31 08:36:49 -08:00
drawwrapper.h retain thread->env mapping in DEBUG builds only 2020-04-26 13:39:21 -07:00
jniutlswrapper.c a bit of cleanup 2020-12-14 08:57:11 -08:00
jniutlswrapper.h retain thread->env mapping in DEBUG builds only 2020-04-26 13:39:21 -07:00
LocalizedStrIncludes.h remove assertion firing in dup mode 2022-08-01 13:05:19 -07:00
paths.h more script fixes; move jni code 2017-01-18 07:27:23 -08:00
utils.c more script fixes; move jni code 2017-01-18 07:27:23 -08:00
utilwrapper.c add common/ to saved logs 2023-07-18 16:07:26 -07:00
utilwrapper.h make android compile/run with wasm changes 2021-03-19 14:29:20 -07:00
xportwrapper.c fix release build 2023-04-06 20:22:29 -07:00
xportwrapper.h move some mqtt msg formatting into c code 2023-03-25 10:24:39 -07:00
xptypes.h pass env into dict-related methods 2020-04-26 13:39:16 -07:00
xwjni.c reduce sending of dead-game mqtt messages 2023-11-05 12:01:43 -08:00