Commit graph

12933 commits

Author SHA1 Message Date
Hosted Weblate
774baab300
Merge branch 'origin/android_branch' into Weblate. 2022-03-06 17:59:51 +01:00
Wellington Terumi Uemura
a1619018bf
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (893 of 893 strings)
2022-03-06 17:59:46 +01:00
Eric House
6721f37efb make hostname switchable in one place
I'm working on being able to test against a local VM....
2022-03-04 20:49:14 -08:00
Hosted Weblate
37f5d89e5a
Merge branch 'origin/android_branch' into Weblate. 2022-03-05 03:58:47 +01:00
Elizabeth Sherrock
298243604b
Translated using Weblate (Chinese (Simplified))
Currently translated at 5.0% (45 of 889 strings)
2022-03-05 03:58:43 +01:00
Eric House
ace8781c3a update version strings and changelog 2022-03-01 11:00:43 -08:00
Eric House
fd17633ca4 more on showing timer stats 2022-03-01 11:00:43 -08:00
Eric House
3d4993bf09 fix compile 2022-03-01 10:54:34 -08:00
Eric House
bc989dc903 allow show timer stats and game traffic on release builds 2022-03-01 10:51:54 -08:00
Eric House
e101050779 add ignore 2022-02-25 17:25:06 -08:00
Eric House
964a4df5b0 fix script 2022-02-25 15:33:34 -08:00
Eric House
e613adcac2 removing old code 2022-02-20 11:30:27 -08:00
Eric House
2175600190 use new webapi to fetch mqttid to replace relayid
And drop relay once we have it. Makes perfecting RelayService backoff
less an issue.
2022-02-12 13:27:24 -08:00
Eric House
4bfcf2afb4 deal better with old relay games
Attempting to stop calling the relay, but to let relay-only games finish
and issue invitations. Big changes are that relay is removed from games
if they have viable mqtt connections, and relay timers fire less often,
then eventually stop getting set if there are no active games. Result is
that a relay-only invitation won't likely be received, but there should
be few or none of those now.
2022-02-10 08:28:34 -08:00
Eric House
0cd3be2668 switch to a single alarm and job for all timers
Main goal is to not fire RelayService timer when mqtt timer fires and
there are not any active relay games at all. Adds new class that keeps
a timer for each client, sets the closest each time, and dispatches only
that one.
2022-02-07 12:55:18 -08:00
Eric House
2c79d7dfe6 assert logging as expected 2022-02-07 12:55:18 -08:00
Eric House
0cd757d327 fix lollipop-only logging of formatting exception 2022-02-07 12:49:59 -08:00
Eric House
76dc78cd1c use sed instead of tr to uppercase -- everywhere
Required for some unicode chars, but might as well use it everywhere to
make copying easier.
2022-01-27 19:36:55 -08:00
Eric House
acc17c2ce2 Don't connect to relay for games with mqtt
I was determining I need to check the relay for messages if I have open
games using it. But they can also use mqtt, and the goal's go stop using
the relay. So only force the connection if the games can only connect
via relay. Once I've confirmed via a study of relevant databases that
all recent relay games are also connecting via mqtt this can ship, and
should stop nearly all relay traffic .
2022-01-27 08:10:40 -08:00
Eric House
733567c949 move ints from res to code so exist in one place only
Debug ids were in one place, non- in another. Now they're all
together.
2022-01-26 20:36:18 -08:00
Eric House
d22ffbec3f handle byod download links
Download the thing and offer to open it on success.
2022-01-24 20:48:13 -08:00
Eric House
3912a60ee9 limit word lengths to 2-15
dict2dawg crashes when given a 1-letter word. Easier to fix in the
filtering that has to be there anyway.
2022-01-23 17:46:52 -08:00
Eric House
2d6ce6cfda fix problems with tile picking introduced by 9-tiles
Not sure if these would show up if you're not picking face-up,
but if so they justify a release.
2022-01-20 22:14:13 -08:00
Eric House
4b55b0b873 fix typo in Makefile
Didn't seem to matter...
2022-01-20 22:14:13 -08:00
Eric House
924511ac82 remove "room" from relay stuff
which is going away anyway....
2022-01-20 22:14:13 -08:00
Hosted Weblate
6d56f2c82c
Merge branch 'origin/android_branch' into Weblate. 2022-01-20 17:54:04 +01:00
Piotr
34210f2eb2
Translated using Weblate (Polish)
Currently translated at 65.9% (586 of 889 strings)
2022-01-20 17:54:01 +01:00
Eric House
7546d82876 If can't create new game, say so; don't crash
In curses version there's no new-game dialog, so if the params passed in
don't give enough information NewGame menu can't be handled. Rather than
asserting later, refuse after posting an explanation.
2022-01-17 20:00:04 -08:00
Eric House
5e028281de fix mis-reporting number of tiles traded 2022-01-17 16:31:19 -08:00
Eric House
7d869a6bda add sorting options 2022-01-17 16:31:19 -08:00
Hosted Weblate
9dd69e86e7
Merge branch 'origin/android_branch' into Weblate. 2022-01-16 19:53:01 +01:00
Ömer Faruk Çakmak
65b78c035d
Translated using Weblate (Turkish)
Currently translated at 12.1% (108 of 889 strings)
2022-01-16 19:52:57 +01:00
Eric House
8738791ead version strings and changelog for release 2022-01-11 12:12:32 -08:00
Eric House
46cc7566e5 don't signal succesful builds 2022-01-11 12:12:32 -08:00
Eric House
25c85af2e6 send LWT on release builds too 2022-01-10 20:50:15 -08:00
Eric House
d9b1fb4df6 cleanup -- no behavior change 2022-01-10 08:42:41 -08:00
Eric House
ce6537f2a9 add lwt to connect 2022-01-10 07:47:51 -08:00
Hosted Weblate
44923910ea
Merge branch 'origin/android_branch' into Weblate. 2022-01-10 10:53:07 +01:00
عادل نصري
d172ddaf45
Translated using Weblate (Arabic)
Currently translated at 8.8% (79 of 889 strings)
2022-01-10 10:53:04 +01:00
Eric House
8095a0da54 fix uninitialized memory getting treated as a mqtt address
augmentAddrIntrnl() sets the has-mqtt bit in comms->addr but not the
address data (has none). If that address had been loaded from stream
the address bits will be random, not 0, and so get treated as an
address.
2022-01-08 18:55:53 -08:00
Eric House
e5a6f05e92 Revert "add timestamps to logs where older OS doesn't provide"
This reverts commit f0a05c004c. Turns out
logcat can be made to show timestamps on older devices too.
2022-01-08 08:56:16 -08:00
Eric House
f0a05c004c add timestamps to logs where older OS doesn't provide 2022-01-07 17:46:37 -08:00
Eric House
2e5f6128f2 post new msg message from relay2
This is to have a utility back, but mostly to start playing with being
able to send keepalives to a device that have nothing to do with moves.
2022-01-06 19:07:08 -08:00
Eric House
dcd3a4cc8c up version strings 2022-01-04 13:27:01 -08:00
Eric House
b0f2d10446 add help target; cleanup 2022-01-04 13:27:01 -08:00
Eric House
5aa1a50f10 change notes and up copyright 2022-01-04 13:26:58 -08:00
Eric House
a8963c952e use variable length ints to store msgID and len 2022-01-04 11:12:58 -08:00
Eric House
b96c7a21aa add README for emcc stuff to ease setup elsewhere 2022-01-03 20:58:15 -08:00
Eric House
759cf12ecf set bingoMin 2022-01-03 20:23:00 -08:00
Eric House
38c80209c4 fix crashes and failure to connect
Seems to be back to working now.
2022-01-03 17:40:23 -08:00