Commit graph

12758 commits

Author SHA1 Message Date
Eric House
06583daf7d more removing relay 2022-05-10 20:54:25 -07:00
Eric House
63b0d7c2fb always clear initial address and add MQTT 2022-05-10 20:54:25 -07:00
Eric House
0eaa71fce6 remove relay from linux client via conditional compile 2022-05-10 20:54:25 -07:00
Eric House
bc31024647 assert relay calls not getting made 2022-05-10 20:54:25 -07:00
Eric House
3a15b9daa4 remove more relay stuff 2022-05-10 20:54:25 -07:00
Eric House
b2a91246fa stub out all RelayService calls 2022-05-10 20:54:25 -07:00
Wellington Terumi Uemura
6347c9bcdb
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (894 of 894 strings)
2022-05-11 01:15:34 +02:00
Eric House
d2d8ca61ed remove NBSProxy
Only matters for GPlay case, and that's too few people to be worth
worrying about.
2022-05-09 15:21:38 -07:00
Eric House
da23bfe23b add debug pref to not add mqtt to all games
I want it for testing that stuff like NBS (data SMS) works for more
than connecting. MQTT works so well nothing ever gets used once it's
there.
2022-05-09 15:10:15 -07:00
Eric House
8d285cfd3c add relay2 game URL to clip without requiring button
Dumb to require launching browser I'm not going to use
2022-05-07 19:22:36 -07:00
Eric House
4332368a2e cleanup 2022-05-07 13:29:32 -07:00
Eric House
f32e0fbba4 add latest commit log to About (debug only) 2022-05-07 08:15:14 -07:00
Wellington Terumi Uemura
a5d6512ab2
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (892 of 892 strings)
2022-05-07 15:13:36 +02:00
Hosted Weblate
529617255c
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-05-05 20:55:55 +02:00
Hosted Weblate
cf622009c4
Merge branch 'origin/android_branch' into Weblate. 2022-05-05 20:55:54 +02:00
Wellington Terumi Uemura
1f49b206cc
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (892 of 892 strings)
2022-05-05 20:55:53 +02:00
Eric House
88aff7f53f nuke any downloaded upgrade .apk more than a week old
I've got 1.5G worth of these. Release FOSS builds will have far fewer,
but still...
2022-05-05 11:54:50 -07:00
Eric House
42b4e6eff6 log apks count and move string to xml 2022-05-05 10:52:51 -07:00
Eric House
2ace26f24c launch upgrade install immediately if requested manually 2022-05-05 08:39:06 -07:00
Eric House
6cd920a2e5 call game_saveSucceeded() for background processing
Fixes failure to send ACKs when the game receiving the message isn't
open. The problem was that though background processing was saving the
game it wasn't telling comms to change the lastMsgReceived variable
which meant the ACK sent didn't include the message that had just been
processed.
2022-05-04 20:07:00 -07:00
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
ab29dfa6ce cleanup 2022-04-21 13:26:26 -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
Eric House
338106dc81 gtk: make inital empty games window bigger 2022-04-20 13:17:07 -07:00
Eric House
1c9fe6745c fix crash with 23x23 (linux only); allow 6 blanks
Portuguese will want six blanks for a 21x21 board, so might as well
not crash in case that becomes a thing.
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
Hosted Weblate
f0637504b2
Merge branch 'origin/android_branch' into Weblate. 2022-04-13 00:12:25 +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
Prod User
44b7e09c32 log to stderr! 2022-04-11 13:43:24 -07: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
5d6d8c7499 bring in changes to make larger boards work for linux
Includes making tile sets vary with board size, calculated from 15x15
unless present in the wordlist. Likely breaks android.
2022-04-04 10:39:29 +02:00
Eric House
d3a80e316d add counts for 21x21 games to English 2022-04-04 08:28:34 +02:00
Eric House
3f7885ff59 ignore .xwd files 2022-04-04 08:15:51 +02:00
Eric House
5a65d0a3db change tile info format in info.txt
I'm moving toward allowing per-board-size counts with faces and values
staying the same. So it makes more sense to have face and values be
the first columns.
2022-04-04 08:12:29 +02:00
Eric House
93b38d568d use new format 2022-04-01 08:36:15 +02:00
Eric House
9568e4ab03 move extra counts into header so new dicts backward compatible 2022-04-01 07:51:13 +02:00
Eric House
c970d39768 move extra counts to header
Fix so old versions of the app will still be able to read the new format
2022-04-01 07:51:13 +02:00
Eric House
cdc77eaf68 add board sizes to wordlist format (English only)
Modify language metadata to have possibly different counts of tiles
for different board sizes. Make the necessary changes for loading such
files. Works on linux version at least. Only English will build for
now thanks to changes in info.txt format.
2022-04-01 07:51:13 +02:00
Eric House
cd4fb88a4d clean up color prefs 2022-04-01 07:51:13 +02:00
Eric House
4b1795cd5b fix crashes when quad-{word,letter} present 2022-04-01 07:51:13 +02:00
Eric House
08310b0179 fix wasm build 2022-04-01 07:51:13 +02:00
Eric House
25fadc9e93 update wasm instructions 2022-04-01 07:51:13 +02:00
Eric House
d0bda214e6 use the right number of bits to store larger scroll vals 2022-04-01 07:51:13 +02:00
Eric House
70d301f210 use the same bonus pattern for all sizes
Just drop the outer "rings" where size < max
2022-04-01 07:51:13 +02:00
Eric House
372d722b58 make number of tiles proportional to board size
Until there's a way to specify specifically for each size, adjusting
from the built-in 15x15 tileset works reasonably well.
2022-04-01 07:51:13 +02:00
Eric House
b34190d62d make 21x21 work on Android
Still needs default colors and the bonus square values working for
smaller sizes.
2022-04-01 07:51:13 +02:00
Eric House
cb2d847e6d add bonus squares for 21x21 board (linux only) 2022-04-01 07:51:13 +02:00
Eric House
b150ef471b use contributed Finnish wordlist 2022-03-31 10:10:05 +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
1c644d7af0 fix wasm build 2022-03-14 07:42:47 +01:00
Eric House
55db35867b add --board-size for testing 2022-03-13 15:02:08 +01:00
Eric House
0e1f10b802 fix assertion by adding missing methods
They're stubbed out; hope they're unused. :-)
2022-03-10 13:06:03 -08: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