Commit graph

7513 commits

Author SHA1 Message Date
Eric House
03a936de74 have "show traffic" action copy game URL to clipboard
Useful when using emulator to get to a large-screen view of things
2022-05-03 08:49:59 -07:00
Eric House
49076c54f8 remove use of ancient clipboard class 2022-05-02 17:47:56 -07:00
Eric House
0a216e1082 version mods for an f-droid kitkat+ release 2022-05-01 14:19:56 -07:00
Eric House
d52e24c9bf include being emulator in reg info 2022-04-30 09:12:46 -07:00
Eric House
849e296b4a up library versions
Trying to address
androidx.preference.PreferenceManager.getDefaultSharedPreferences
sometimes failing on Android 12. Using newer version of the library
probably won't hurt.
2022-04-27 10:23:14 -07:00
Eric House
a509b3d5e3 list possible variants as part of usage() 2022-04-26 09:48:44 -07:00
Eric House
c6a12b1961 changelog for 186 (KitKat and up) 2022-04-25 20:10:46 -07:00
Eric House
74cde606d5 changelog for 185 (JellyBean) 2022-04-25 20:07:28 -07:00
Eric House
50e80f0509 fix crash due to how radiobuttons don't work on JellyBean 2022-04-25 14:45:33 -07:00
Eric House
e6c5e2cf04 getting ready for first of two quick releases
Two branches doesn't work because they can't have the same
tag. Duh. I'll do two releases, and two tags, complete with version
code change, to support pre-Kitkat and everybody else.
2022-04-25 11:47:36 -07:00
Eric House
0cabd3f2fc link mqtt client version and min sdk via boolean
Looking to have a separate branch for older devs
2022-04-25 11:10:39 -07:00
Eric House
d88c050ab2 don't include relay in default address for new games!!! 2022-04-24 23:07:56 -07:00
Eric House
c21307c5b1 remove some logging 2022-04-24 23:02:33 -07:00
Eric House
cc32ff451c Up MQTT client version, and min sdk to 19
I'm getting a lot of crashes deep in the MQTT client. Upgrading may not fix
it, but it does crash on launch for JellyBean and before. So this
release will have the new MQTT client AND not get installed on the six
or so users I have running too-old Android. If the crashes continue
perhaps I don't orphen them. TBD.
2022-04-22 14:12:43 -07:00
Eric House
8118a9d823 remove send to stubbed-out (post-to-relay) web api 2022-04-22 11:50:40 -07:00
Eric House
1883f83033 fix NPE 2022-04-22 11:50:40 -07:00
Eric House
76299a34f9 fix crash showing dialog without title 2022-04-22 11:13:18 -07:00
Eric House
98cb3b4930 cleanup 2022-04-22 07:59:50 -07:00
Eric House
0c9fda4661 update changelog 2022-04-22 06:40:25 -07:00
Eric House
9778abd6a5 include dict's full-file md5sum when querying for upgrades
Requires adding a new db field to cache the value.
2022-04-21 13:50:34 -07:00
Eric House
05e2d2bdb9 cleanup 2022-04-20 21:00:51 -07:00
Eric House
e54cc0d473 up version code to make Finnish wordlist available 2022-04-20 13:17:07 -07:00
Eric House
2b900aef19 rebuild builtin wordlists with 21x21 counts
Didn't rename BasEnglish2to8 because user winds up getting forced to
pick a substitute wordlist.
2022-04-20 13:17:07 -07:00
ssantos
bd6f6e373c
Translated using Weblate (Portuguese)
Currently translated at 100.0% (892 of 892 strings)
2022-04-20 20:08:31 +02:00
ssantos
7c203c4b39
Translated using Weblate (German)
Currently translated at 87.5% (781 of 892 strings)
2022-04-20 20:08:30 +02:00
Wellington Terumi Uemura
e67ef9cf95
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (892 of 892 strings)
2022-04-13 00:12:22 +02:00
Hosted Weblate
ece4242576
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-04-11 22:11:37 +02:00
Hosted Weblate
ae40101264
Merge branch 'origin/android_branch' into Weblate. 2022-04-11 22:11:35 +02:00
ssantos
5a54b74025
Translated using Weblate (Portuguese)
Currently translated at 100.0% (887 of 887 strings)
2022-04-11 22:11:32 +02:00
ssantos
d5ac4d97e1
Translated using Weblate (German)
Currently translated at 86.9% (771 of 887 strings)
2022-04-11 22:11:32 +02:00
Eric House
b209188077 make android supports 21x21 too
Only Dbg builds will see option to create for now
2022-04-04 11:46:22 +02:00
Eric House
cc7298c6a5 add Finnish support 2022-03-31 10:10:05 +02:00
Hosted Weblate
b98d1059f7
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-03-29 19:12:25 +02:00
Hosted Weblate
22c024f001
Merge branch 'origin/android_branch' into Weblate. 2022-03-29 19:12:23 +02:00
ssantos
9564085638
Translated using Weblate (Portuguese)
Currently translated at 99.6% (887 of 890 strings)
2022-03-29 19:12:20 +02:00
Eric House
ceb41bd1cc ignore 2022-03-14 07:44:53 +01:00
Eric House
4813eb4689 remove custom localization stuff
I had a scheme where, as on WinMobile, I could download localization
data based on the local of the device I was on. Saved a lot of
space. Google didn't care about space, and I haven't for a while
either, so it's coming out except for the API that did in-place
translation of UI elements.
2022-03-10 11:45:24 -08:00
Wellington Terumi Uemura
c79137452f
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (890 of 890 strings)
2022-03-08 21:58:54 +01:00
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
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
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
Piotr
34210f2eb2
Translated using Weblate (Polish)
Currently translated at 65.9% (586 of 889 strings)
2022-01-20 17:54:01 +01: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
25c85af2e6 send LWT on release builds too 2022-01-10 20:50:15 -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
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
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
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
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
b5e484baa5 log rather than assert when game opened twice 2021-12-16 13:20:03 -08:00
Eric House
2cb0f95ba4 remove dead strings from translations
Not sure why weblate doesn't do this automatically. Maybe it can but I
don't know how to trigger it.
2021-12-07 11:32:26 -08:00
Eric House
fc986b68d4 update to use python3 and indent to match weblate 2021-12-07 11:15:38 -08:00
Eric House
b37985070b remove unused strings 2021-12-06 20:30:20 -08:00
Eric House
7a425f6db9 no need for advanced network prefs
since it has only one element in it now
2021-12-05 21:21:00 -08:00
Eric House
fd9e519eaa remove dead code around public rooms 2021-12-05 21:10:06 -08:00
Eric House
cdbdf8a121 up version code to replace rejected Store upload 2021-12-04 11:13:57 -08:00
Eric House
87337713ce sign with v2 as well (for android 30) 2021-12-04 11:02:23 -08:00
Eric House
5982af1a4a use sdk 30 -- required by Play Store 2021-12-04 09:30:08 -08:00
Eric House
f8ef1af1fb changelog 2021-12-01 10:57:50 -08:00
Eric House
3d89e18d8b show separate available and installed wordlist counts 2021-12-01 10:57:50 -08:00
Eric House
565af46789 send versionCode instead of custom flags
Since ability to grok a wordlist is a function of version, might as well
have the server know about that. Requires upping versionCode
prematurely, with stubbed-out release notes.
2021-12-01 08:27:26 -08:00
Eric House
bd6bc71603 use a single string array for lang code and name 2021-11-29 09:26:47 -08:00
Eric House
a738e60f1d fix sorting when lang names are localized 2021-11-28 12:28:52 -08:00
Eric House
b6c9e11f87 add flag that Romanian's understood 2021-11-28 11:03:01 -08:00
Eric House
fb7a819db7 add Romanian 2021-11-27 12:06:50 -08:00
Eric House
6251af983e stop using relay for new games for Release too 2021-11-27 11:26:31 -08:00
Eric House
8e45c57178 log BT UUID on startup 2021-11-01 12:44:56 -07:00
Hosted Weblate
378b068238
Merge branch 'origin/android_branch' into Weblate. 2021-11-01 13:35:42 +01:00
ssantos
e9e104221e
Translated using Weblate (Portuguese)
Currently translated at 100.0% (918 of 918 strings)
2021-11-01 13:35:38 +01:00
Sylvia van Os
fb015d94a1
Translated using Weblate (Dutch)
Currently translated at 54.1% (497 of 918 strings)
2021-11-01 13:35:38 +01:00
Eric House
6df8f10e3a use cellline color to frame tiles
Was just plain black before, and that didn't work well on dark theme
when it came time to select for trade.
2021-10-27 15:46:49 -07:00