Commit graph

14123 commits

Author SHA1 Message Date
Eric House
2f91ff1f78 display known player names for pending invites
When an invitation is pending for a player in GameSummary or
scoreboard, show "<Name> invited" instead of "remote missing."
2024-07-28 08:48:33 -07:00
Eric House
f3fb43e93b handle invitations for excessive new addresses
Deal with somebody creating a new invitation, e.g. because it's been
realized that an existing one won't be accepted. Unused channels are
used first (though there will be none in a 4-device game), then
channels with old invites (only) are recycled.
2024-07-28 08:48:33 -07:00
Eric House
6d0686f737 add test for resigning (off by default) 2024-07-28 08:48:33 -07:00
Eric House
d61b4ce485 make comms choose channel for invitations
Since server will ultimately assign them as registrations come in
there's no point in trying to force an order earlier.
2024-07-28 08:48:33 -07:00
Eric House
7d4cfa5e26 don't assert in low-level logging code
Only possible explanation for deadlock is the assert, though I don't
see how it'd happen...
2024-07-28 08:48:33 -07:00
Eric House
b8e2877880 remove some logging 2024-07-28 08:48:33 -07:00
Eric House
ae03f4ed5b trivial API change 2024-07-28 08:48:33 -07:00
Eric House
93770f29d2 fix so GameWrapper can work with already opened games 2024-07-28 08:48:33 -07:00
Eric House
a3f8d22f89 import class: no code change 2024-07-28 08:48:33 -07:00
Eric House
ff7c20c52e no-op: DO NOT PUSH 2024-07-28 08:48:33 -07:00
Eric House
be97ef5a7b don't log exception when web api conn fails 2024-07-28 08:48:33 -07:00
Eric House
a3078fb549 cleanup: fix flashing quarantine count and reduce logging 2024-07-19 22:48:34 -07:00
Eric House
7642613612 clean up logging file 2024-07-18 22:06:19 -07:00
Eric House
3ee909df7d use mutex in comms
I've long had logging to detect (and assert(0))when two methods access
comms at the same time on different threads. I'm getting that
assertion more often now due, I guess, to subtle changes introduced by
the kotlin port. I wanted to avoid a mutex in cross-platform code, but
I've been using them without problems in a couple of less critical
modules so let's just do the simple thing.
2024-07-18 08:38:24 -07:00
blomusti
c5851207fa
Translated using Weblate (Turkish)
Currently translated at 13.3% (123 of 923 strings)
2024-07-18 15:09:37 +00:00
ssantos
ea5c765030
Translated using Weblate (Portuguese)
Currently translated at 100.0% (923 of 923 strings)
2024-07-18 15:09:29 +00:00
大王叫我来巡山
b6036f8d7d
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (923 of 923 strings)
2024-07-15 06:09:21 +02:00
Federico Di Lorenzo
d073d63c59
Translated using Weblate (Italian)
Currently translated at 100.0% (923 of 923 strings)
2024-07-10 21:09:10 +02:00
Eric House
88177f718a use http for N(24) and below 2024-07-09 21:43:43 -07:00
Eric House
220431e581 fix NPE I was getting on closing dict download fragment 2024-07-09 21:43:43 -07:00
Eric House
15ea7ff553 fix so can try download again after failure 2024-07-09 21:43:43 -07:00
Eric House
67c2cab98c test undo the new way, via script command 2024-07-09 21:43:43 -07:00
Eric House
270583effd cleanup 2024-07-09 21:43:43 -07:00
Eric House
99951b8ee2 add equals override so assert doesn't fail 2024-07-09 21:43:43 -07:00
Eric House
6bc9b06d11 fix http prefs assertion caused by locale switch
Saved prefs are often localized strings, so when I switched locales I
was firing an assert that the saved pref was known. Add new logic to
ensure that the saved pref is one of the expected values, and to use
the default if it's not.
2024-07-09 21:43:43 -07:00
Eric House
9c96397ece plug memory leak 2024-07-09 21:43:43 -07:00
Eric House
5b4e35be10 add undo to test script 2024-07-09 21:43:43 -07:00
Federico Di Lorenzo
4f0d3f103f
Translated using Weblate (Italian)
Currently translated at 81.7% (755 of 923 strings)
2024-07-09 20:09:22 +02:00
Eric House
a3daf58497 remove menuitem for non-mqtt games 2024-07-07 20:17:10 -07:00
Eric House
41e1a2e3c3 cleanup, esp. to remove some nullable params
squash me
2024-07-07 20:17:10 -07:00
ssantos
c405bb0f32
Translated using Weblate (Portuguese)
Currently translated at 99.8% (922 of 923 strings)
2024-07-04 15:09:35 +00:00
ssantos
0eadf88e37
Translated using Weblate (German)
Currently translated at 100.0% (923 of 923 strings)
2024-07-04 15:09:33 +00:00
Eric House
3cbf8bafae fix NPE by removing unused param
In the java world it was ok to pass null because the param was never
used. But in Kotlin it became non-nullable, and then null was
passed...
2024-07-03 15:36:12 -07:00
Eric House
6e1b36f38f remove assertion firing when relay games present 2024-07-02 22:25:55 -07:00
Eric House
8805c8c60e random cleanup (no code change) 2024-07-02 22:25:55 -07:00
joaooliva
56268b4692
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (923 of 923 strings)
2024-07-02 18:09:22 +02:00
Eric House
69916bccde remove paho's mqtt client in favor of hivemq's
The paho client hasn't been touched in years, and crashes periodically
in ways I can't seem to prevent (or even catch). Hivemq's has worked
fine in a few month of local testing, so let's move it to main and see
how things go.
2024-06-30 19:07:20 -07:00
Eric House
a5b386b29e fix mistaken assertion 2024-06-30 15:30:31 -07:00
Eric House
425ca54713 remove logs and obsolete tests 2024-06-28 09:19:01 -07:00
Eric House
f9d2edc871 fix infinite recursion 2024-06-28 09:09:48 -07:00
gallegonovato
d649ea987c
Translated using Weblate (Spanish)
Currently translated at 100.0% (923 of 923 strings)
2024-06-28 04:55:44 +02:00
复予
03a9e2dc1d
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (923 of 923 strings)
2024-06-27 10:09:19 +02:00
hugoalh
1c61e1855f
Translated using Weblate (Chinese (Traditional))
Currently translated at 5.2% (48 of 923 strings)
2024-06-27 10:09:18 +02:00
Eric House
5369cf171a cleanup: be consistent with static calls 2024-06-26 16:16:55 -07:00
Eric House
cddacca7db remove @JvmStatic -- don't merge 2024-06-26 09:46:07 -07:00
Eric House
e791b0d001 remove @JvmStatic wherever possible
If I understood correctly, it generates extra code, and to call from
Kotlin I don't need it.
2024-06-26 09:45:20 -07:00
Eric House
31f276d36a merging 2024-06-25 18:39:48 -07:00
Eric House
bf1e9a9722 move strings to public space; add German translations 2024-06-25 18:39:26 -07:00
Eric House
63ad25104c Translated using Weblate (German)
Currently translated at 100.0% (920 of 920 strings)
2024-06-25 18:37:51 -07:00
Hosted Weblate
6b354c92f2
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2024-06-26 03:33:07 +02:00