Eric House
41e8cbf20c
fix concurrency issues with mqttcon's msg queue
2023-04-07 10:14:40 -07:00
Eric House
b46b34cd70
changelog and version change
2023-04-07 10:14:40 -07:00
Hosted Weblate
ea7eccf426
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2023-04-07 05:23:09 +02:00
Eric House
021fa4e303
fix changelog not being shown
2023-04-06 20:22:29 -07:00
Eric House
131826d34f
fix release build
2023-04-06 20:22:29 -07:00
Hosted Weblate
fbd45b6a03
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2023-04-07 04:55:30 +02:00
Eric House
4a20e3d664
remove dead strings
2023-04-06 19:54:50 -07:00
Eric House
9a5b1d466d
send invites as invites, not messages
...
Fixes sending of invitations on Android
2023-04-06 19:54:50 -07:00
Eric House
e09fb6776a
don't report game as deleted until it's at least connected
...
Otherwise remote might not have even saved it yet so of course it
won't exist.
2023-04-04 19:55:55 -07:00
Eric House
40f8f316fe
remove bogus assertion
2023-04-03 11:46:55 -07:00
FastAct
e7b81f240d
Translated using Weblate (Dutch)
...
Currently translated at 56.6% (500 of 882 strings)
2023-03-30 09:38:06 +02:00
Eric House
d0a53ab3ff
send invites as invites, not messages
...
Fixes sending of invitations on Android
2023-03-27 14:33:14 -07:00
Eric House
50ac11970e
fix assertion failure when sending single unqueued message
2023-03-26 10:37:45 -07:00
Eric House
885a20845a
don't send null msg queue
2023-03-25 15:31:15 -07:00
Eric House
1a8f91203e
Send MQTT messages in batches
...
Resend sends all types in batches. Send of new messages goes back for
MQTT only and sends the whole un-ack'd queue.
2023-03-25 10:24:39 -07:00
Eric House
326624e942
on linux, keep a queue of mqtt messages
...
Was dropping invitations that were posted before I connected to the
remote broker. Now they're kept, and sent until the broker says
publish succeeded. Better would be to have comms resend when mqtt
connects, but I'm not set up for that.
2023-03-25 10:24:39 -07:00
Eric House
9144fbae59
fix to work with recent API changes
2023-03-25 10:24:39 -07:00
Eric House
6828416b05
move some mqtt msg formatting into c code
...
Avoid a round-trip across the jni boundary to improve effeciency,
especially when multiple messages are involved (which is next)
2023-03-25 10:24:39 -07:00
Eric House
7b2c327ba8
change send method to take list instead of array
2023-03-25 10:24:39 -07:00
Eric House
22d0d50130
add a public part of MsgQueueElem to simplify passing outside
2023-03-25 10:24:39 -07:00
Eric House
6ec0e64657
toward changing APIs to allow combined messages for mqtt
2023-03-25 10:24:39 -07:00
Eric House
f5f8ae9908
report negative tile count when games not started
2023-03-25 10:24:39 -07:00
Eric House
b811653c89
remove ifdef-d out code storing all messages in one queue
2023-03-25 10:24:39 -07:00
Eric House
7929ddea47
cleanup comms
2023-03-25 10:24:39 -07:00
Eric House
9cd8264e12
script change to build android from anywhere
2023-03-17 09:22:54 -07:00
Eric House
daac5ca098
store messages in channel rather than a single queue
...
Moving toward being able to send in groups per device for MQTT
optimization
2023-03-16 07:44:14 -07:00
Eric House
b27384df63
print caller in logging func
2023-03-16 07:44:14 -07:00
Eric House
fb04a6ad0a
fix server_getOpenChannel()
...
Only used by gtk for now but meant to replace hardcoded invitation
code everywhere.
2023-03-16 07:44:14 -07:00
Eric House
e849d628d9
log when messages could be combined
2023-03-16 07:43:51 -07:00
Thunderstrike116
0b8f97afaf
Translated using Weblate (Greek)
...
Currently translated at 3.6% (32 of 882 strings)
2023-03-15 19:38:53 +01:00
Eric House
cc0e5d978f
add 21x21 info for German
2023-03-10 10:30:56 -08:00
Creeper0k
a7449033ec
Translated using Weblate (Russian)
...
Currently translated at 16.6% (147 of 882 strings)
2023-03-10 10:42:33 +01:00
Eric House
bb2a2dacae
cleanup
2023-03-08 20:48:55 -08:00
Eric House
073271fe61
tweak test script to better test rematching
2023-03-08 20:48:55 -08:00
Creeper0k
3c72df29a9
Translated using Weblate (Russian)
...
Currently translated at 12.9% (114 of 882 strings)
2023-03-08 12:40:50 +01:00
Eric House
1083cbd525
improve test script and fix rematching bug it found
...
Server needs to not rematch if any device has more than one
player (for now, as I'm too lazy to fix this rare condition.) I'm
moving toward having the linux client write status to a unix socket on
exit rather than having the test script parse the log file for
status. GameOver is there now. Tile counts should follow.
2023-03-05 10:23:48 -08:00
Eric House
ca62d29bc4
change button text
2023-03-05 08:09:34 -08:00
Eric House
8f1dfc9817
include rematching in test script
...
Add new script param setting a timeout before which games will be
rematched on finishing. Add new param to ncurses version telling it to
try to rematch when finishing. This introduces a new problem because
now there are multiple games per "device", and various log-grepping
stuff like listing the number of tiles in play or determing whether
device is finished all assumed one game. I addressed the latter by
adding a way to query the DB to see if all games are done, but that's
not quite right because the number of pending messages is increasing
after a game completes. Still, the testing is useful so I'm pushing
this.
2023-03-04 09:36:42 -08:00
Eric House
ac75da2028
fix leak rematching games on 3+ devices
2023-03-04 09:30:58 -08:00
Eric House
4ec6cfe17d
plug memory leak
2023-03-04 08:54:31 -08:00
Eric House
eb5ed2b96d
tweak German
2023-03-02 13:13:32 -08:00
Eric House
9533fbd0d9
add alert to name or cancel rematch
2023-03-01 19:39:40 -08:00
Eric House
e5d4ecea7d
add option to enable duplicate mode (which seems to work)
2023-03-01 07:41:42 -08:00
ssantos
d7fa8d7af8
Translated using Weblate (German)
...
Currently translated at 100.0% (882 of 882 strings)
2023-03-01 14:40:39 +01:00
Eric House
07cd95e715
use github code to implement md5sum for mqtt msg ack (wasm only)
2023-02-26 19:53:12 -08:00
Eric House
22bf6c596a
as copied from https://github.com/Zunawe/md5-c
2023-02-26 19:53:12 -08:00
Eric House
d0cf7fd318
fix one German string
2023-02-26 19:53:12 -08:00
Eric House
4c76dd7470
add link to public gameinfo page
2023-02-26 19:53:12 -08:00
Eric House
b758cd3f0f
respond to invitations coming in as argv params
...
including downloading wordlist if necessary
2023-02-26 19:53:12 -08:00
Camille
8b80e9dfd5
Translated using Weblate (French)
...
Currently translated at 91.6% (808 of 882 strings)
2023-02-26 18:36:46 +01:00