Commit graph

12916 commits

Author SHA1 Message Date
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
Eric House
a9e44fe132 include line num in log 2022-01-03 16:53:28 -08:00
Eric House
2fcf4db58f fix to compile and not crash 2022-01-03 08:25:49 -08:00
Hosted Weblate
45122a376a
Merge branch 'origin/android_branch' into Weblate. 2021-12-31 21:55:26 +01:00
tommyliu313
05b75dfe9c
Translated using Weblate (Chinese (Traditional))
Currently translated at 0.7% (7 of 889 strings)
2021-12-31 21:55:22 +01:00
Eric House
a85f5df4e3 another tweak: make version imply format 2021-12-29 07:35:43 -08:00
Eric House
b67ab9e32a refactor, and make msgids variable-length 2021-12-28 20:59:15 -08:00
Eric House
863ef88c22 add varible-length int encoding to streams
And test code that should be removed from linux client at some point.
2021-12-28 18:25:05 -08:00
ssantos
501b597a4a
Translated using Weblate (Portuguese)
Currently translated at 100.0% (889 of 889 strings)
2021-12-27 07:53:00 +01:00
Wellington Terumi Uemura
38a92b170f
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (889 of 889 strings)
2021-12-24 18:51:18 +01:00
Bernard Massot
c9e668662a
Translated using Weblate (French)
Currently translated at 99.4% (884 of 889 strings)
2021-12-24 18:51:18 +01:00
Hosted Weblate
bdc697e673
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2021-12-23 07:44:52 +01:00
Eric House
140e1210cc cleanup 2021-12-22 13:01:22 -08:00
Eric House
2b7daf067d shrink the comms header
Sending in 32 bits what can probably fit in 8 -- twice -- is dumb. As is
sending the gameID (as connID) when it's already known. In 2016 I added
a fixed marker, so I can count on all current code sending that. If I
fail to find that, I know the sender is new (current release or better.)
In that case, use 12 bits instead of 32 for two fields, drop the marker
and the connID. Result is that an ACK's size, including MQTT headers,
drops from 28 bytes to 21.
2021-12-21 16:34:04 -08:00
Eric House
483a49ad67 fix so mqtt really is the default 2021-12-21 16:34:04 -08:00
Eric House
b5e484baa5 log rather than assert when game opened twice 2021-12-16 13:20:03 -08:00
Eric House
0fa43a7394 remove duplicate code 2021-12-16 08:47:12 -08:00
Eric House
f49ec19921 make test script default MQTT-only 2021-12-15 10:06:14 -08:00