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
Eric House
a6e912c6ae
cleanup
2023-02-23 16:38:08 -08:00
Eric House
8ceaf39fe5
put up game picker after deleting current game
2023-02-23 16:24:55 -08:00
Eric House
32275017a6
implement rematch
2023-02-23 15:51:40 -08:00
Eric House
a95b59b3ea
add pending messages count to display
2023-02-23 12:58:31 -08:00
Eric House
a0f5e2d5d4
remove dead code
2023-02-23 10:55:05 -08:00
Eric House
4941c258c8
tweaks to show gameID more
2023-02-23 08:47:57 -08:00
Eric House
a0be9adc12
fix self address
...
not sure why it didn't seem to be a problem...
2023-02-22 21:06:48 -08:00
Eric House
95e9647ff0
receipt of invitations works
2023-02-22 20:54:21 -08:00
Eric House
5382941f63
snapshot: play via MQTT works for a while
2023-02-22 19:52:45 -08:00
Eric House
4bc24b41f6
snapshot: saved games open now
2023-02-22 19:04:05 -08:00
Eric House
78d84a941e
compiles, but untested
...
And certainly won't work!
2023-02-22 19:04:05 -08:00
Eric House
cc481373d8
use new public gameinfo api
2023-02-21 19:15:21 -08:00
Eric House
fd36590e7f
fix assertions that assumed multi-device
2023-02-21 17:32:21 -08:00
Eric House
ef9ff71d8a
fix log formatting problems
2023-02-21 17:32:21 -08:00
ssantos
28f86e37c2
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (882 of 882 strings)
2023-02-19 17:39:00 +01:00
ssantos
670f2bc483
Translated using Weblate (German)
...
Currently translated at 100.0% (882 of 882 strings)
2023-02-19 17:38:59 +01:00