Commit graph

13705 commits

Author SHA1 Message Date
Hosted Weblate
7da80cf096
Merge branch 'origin/android_branch' into Weblate. 2024-01-12 08:23:53 +01:00
gallegonovato
c2b5938b44
Translated using Weblate (Spanish)
Currently translated at 100.0% (898 of 898 strings)
2024-01-12 08:23:53 +01:00
Eric House
668e0ffb7f up copyright year 2024-01-11 23:03:02 -08:00
Eric House
f84bb85f22 Don't offer to rematch game that can't (yet) be rematched 2024-01-11 22:59:28 -08:00
Eric House
86def1ca9a provide a default rematch order preference 2024-01-11 13:20:05 -08:00
Eric House
90456a824d move rematch order strings into translatable space (and add German) 2024-01-11 10:50:21 -08:00
Eric House
01ec8395d3 don't build a whole new client when mqtt disconnects 2024-01-11 10:50:21 -08:00
Eric House
a16a34adc9 cleanup comms ack fix 2024-01-11 10:50:21 -08:00
CloneWith
d1033e1592
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (891 of 891 strings)
2024-01-10 16:06:16 +01:00
Eric House
16f525f7b9 don't ACK ACKs 2024-01-09 18:17:36 -08:00
Eric House
1ae714d834 start to remove obsolete XWFEATURE_STANDALONE_ONLY 2024-01-09 18:17:36 -08:00
gallegonovato
c693df7408
Translated using Weblate (Spanish)
Currently translated at 100.0% (891 of 891 strings)
2024-01-08 15:06:23 +01:00
ssantos
208931ff74
Translated using Weblate (Portuguese)
Currently translated at 99.7% (889 of 891 strings)
2024-01-08 15:06:22 +01:00
ssantos
4ab22c209b
Translated using Weblate (German)
Currently translated at 99.8% (890 of 891 strings)
2024-01-08 15:06:22 +01:00
Eric House
24e1085b30 clarify old app start percentage option 2024-01-05 12:58:58 -08:00
Eric House
f58c567492 improve debug-release build script 2024-01-05 11:22:50 -08:00
Eric House
b8e29423c4 cleanup 2024-01-05 08:46:19 -08:00
Eric House
6018392160 send/handle all invitations at once
I'm trying to reproduce with initial invitations the stalls I'm seeing
with rematches (rarely)
2024-01-04 20:28:49 -08:00
Eric House
8388b27002 add comments about problems with signed gameIDs 2024-01-04 18:03:38 -08:00
Eric House
ac71aac787 add tile count to summary 2024-01-04 11:14:30 -08:00
Eric House
f5526652b5 remove old ifdef'd-out code 2024-01-04 09:50:24 -08:00
Eric House
c91865c991 use invite's channelNo for first incoming message
A rare stall resulted when the invitee on channel 2 responded
first. It would get assigned channel 1 and so the invitation on that
channel would get deleted. If it hadn't already reached the mqtt
server it would never be delivered. My fix is to use an invitation's
channel instead IFF its address matches the return address of the
incoming message. I'm not sure what happens if there's somehow a mix
of invited (via rematch) and invited-some-other-way players. None of
this matters for two-device games anyway.
2024-01-04 09:50:24 -08:00
Eric House
7219206214 get rid of ancient ifdef 2024-01-04 09:50:24 -08:00
Eric House
c68050e190 add summary 2024-01-04 09:50:24 -08:00
Eric House
6f6714596a add board size tests
These fail in a way that I think is unique to the curses app, so I'm
not fixing them right away.
2024-01-04 09:50:24 -08:00
Eric House
fcf1e49c16 fix double dispose in curses app 2024-01-04 09:50:24 -08:00
Eric House
4ffaa5dd73 cleanup -- should be no behavior/code change 2024-01-04 09:50:24 -08:00
Eric House
c167183e37 add core detection and board/tray size to test script 2024-01-04 09:50:24 -08:00
Eric House
78cbf7aa7b add upgrading of app mid-script 2024-01-04 09:50:24 -08:00
Eric House
d1061327c7 add ability to use new and old versions of app
TODO: upgrade mid-game
2024-01-04 09:50:24 -08:00
Eric House
bfa1c73b5e log sum of incoming invites 2024-01-04 09:50:24 -08:00
Eric House
9443bf14a4 make it work on android too 2024-01-04 09:50:24 -08:00
Eric House
5794cc43e3 log gameID wherever possible in comms.c and server.c 2024-01-04 09:50:24 -08:00
Eric House
52a1de0463 add fromRematch to existing api to avoid race condition 2024-01-04 09:50:24 -08:00
Eric House
b5de43e3dc fix assertion failure in mixed-version rematch case 2024-01-04 09:50:24 -08:00
Eric House
ffc64bc5dd cleanup/refactor 2024-01-04 09:50:24 -08:00
Eric House
f2c1f21da2 refactor 2024-01-04 09:50:24 -08:00
Eric House
7275569842 fix crash assuming wrong stream version 2024-01-04 09:50:24 -08:00
Eric House
713ce151e9 don't print duplicate status line 2024-01-04 09:50:24 -08:00
Eric House
e2414ff3bd fix NPE crash
Not sure why it happens with one old game...
2024-01-04 09:50:24 -08:00
Eric House
0ba0dcff19 replace 'make default' with remembering last choice as default
Decided it's too difficult to unset the default and not bad to just
click "ok" a second time.
2024-01-04 09:50:24 -08:00
Eric House
3d8f2886f2 more test scripts tweaks 2024-01-04 09:50:24 -08:00
Eric House
35ef711c42 print gameid as hex 2024-01-04 09:50:24 -08:00
Eric House
87557ce769 support more devices, and look for stalls 2024-01-04 09:50:24 -08:00
Eric House
f0ca490b3c fix stuff test script found 2024-01-04 09:50:24 -08:00
Eric House
3e6edd3ec4 remove the offer to reinvite from rematched games
Now that rematching creates all the invitations and an expectation of
how the invitees will be ordered it'll confuse things if unexpected
players show up. So don't allow players to send additional
invitations.
2024-01-04 09:50:24 -08:00
Eric House
1181e908dc Add option to choose how rematch-game players will be ordered
When rematching, some users have a convention that e.g. lowest scoring
player in the "parent" game goes first. So allow that, providing the
choice on each rematch until a default has been chosen. Support
changing that default in a new prefs setting.

The place I chose to enforce the order was on the host as invitees are
registering and being assigned slots. But by then there's no longer
any connection to the game that was rematched, e.g. to use its
scores. So during the rematched game creation process I create and
store with the new game the necessary ordering information. For the
3-and-4 device case, it was also necessary to tweak the information
about other guests that the host sends guests (added during earlier
work on rematching.)
2024-01-04 09:50:24 -08:00
Eric House
2936869b45 show host as part of each game display 2024-01-04 09:50:24 -08:00
Eric House
7b4f9ede41 cleanup: renaming only (server->host) 2024-01-04 09:50:24 -08:00
perro tuerto
8f6b4e1d86
Translated using Weblate (Spanish)
Currently translated at 100.0% (890 of 890 strings)
2024-01-04 15:09:45 +01:00