Commit graph

7944 commits

Author SHA1 Message Date
Eric House
ac7e918718 Rewrite to actually cache lang names and codes we encounter 2022-07-11 17:47:57 -07:00
Eric House
041a9f3c3e change button to "Delete Game" for clarity 2022-07-11 17:47:57 -07:00
Eric House
b1b8644f8f cleanup: delete ref where it's last used 2022-07-11 17:47:57 -07:00
Eric House
dac0727c40 fix sig mismatch between jni and java 2022-07-11 17:47:57 -07:00
Artem
8c598c8aca
Translated using Weblate (Ukrainian)
Currently translated at 0.5% (5 of 879 strings)
2022-07-09 14:16:24 +02:00
Hosted Weblate
0750ce5bf4
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-07-09 06:58:07 +02:00
Eric House
51abc98647 use same variable name throughout 2022-07-08 21:57:42 -07:00
Hosted Weblate
162d1fcb14
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-07-07 19:00:45 +02:00
Eric House
a393a99c19 add ISOCode class
I was getting language name and iso code confused so adding a new type
to keep them separate. Keep string type for crossing JNI boundary and
passing as param e.g. in URLs and Bundles.
2022-07-07 10:00:24 -07:00
Eric House
9e835b90bf refactor jni code
Adding some utility functions
2022-07-07 10:00:24 -07:00
Eric House
b7e1a4d0ec remove assert 2022-07-07 10:00:24 -07:00
Hosted Weblate
b26da5e4af
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-07-03 05:16:18 +02:00
Eric House
a6a6523e9c cleanup: remove asserts and unused strings
Some asserts were firing in the very rare case where for some reason
relay couldn't be converted to mqtt.
2022-07-02 20:15:29 -07:00
Eric House
2dfc9129f3 add timestamp to saved msgs, modify mqtt header to include later
I want receiver to know when message was originally created. This adds
timestamp to messages and passes it via send proc. Client needs to
send it where possible. So far, MQTT format can't include it without
change, so I'm adding a new proto version. This change can read the
new version. Once that's well-enough distributed I can start sending
using it. Other transmission types than MQTT are for later.
2022-06-29 12:34:27 -07:00
Eric House
ec4822bbe9 remove redundant checkUpdates param 2022-06-28 11:50:12 -07:00
Eric House
1c6afc7909 avoid caught exception with better sql statement 2022-06-28 10:51:45 -07:00
Eric House
2c26af0e68 remove / from archive filenames
Older versions of Android use / in default date strings to produce
illegal file names. Swap '-' in instead.
2022-06-28 10:51:45 -07:00
Eric
cfd7842862
Translated using Weblate (Chinese (Simplified))
Currently translated at 5.2% (47 of 900 strings)
2022-06-27 07:17:00 +02:00
Hosted Weblate
cdac39e808
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-06-26 06:19:36 +02:00
Hosted Weblate
cb72c5dac5
Merge branch 'origin/android_branch' into Weblate. 2022-06-26 06:19:34 +02:00
Wellington Terumi Uemura
eb024391eb
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (903 of 903 strings)
2022-06-26 06:19:34 +02:00
Eric House
0f2d8e7e8f remove titles from renamer alerts 2022-06-25 21:18:35 -07:00
Eric House
880e0812a7 Move new strings to where Weblate will see them
I think they're not going to change and so translators' efforts won't
be wasted.
2022-06-25 13:30:47 -07:00
Eric House
3b711ac253 fix so menugroup hidden; remove elipses 2022-06-25 10:41:36 -07:00
Eric House
e516dbcf66 fix so process restarts after archive loaded 2022-06-24 12:43:35 -07:00
Eric House
08a8bc4189 add non-again tip for archive backup 2022-06-24 12:34:46 -07:00
Eric House
6ec78c0441 group backup/restore menuitems 2022-06-24 10:37:12 -07:00
Eric House
b0d0fa8da7 fix nag timers firing when display disabled
Logic to set the fire time in the future wasn't firing when display of
the nag was diabled, so timers fired every few ms because they always
existed in the past.
2022-06-22 20:46:39 -07:00
Eric House
2f6680b9a3 tweak string 2022-06-22 20:46:39 -07:00
Viktória Nagy
f2f8904569
Translated using Weblate (Hungarian)
Currently translated at 9.7% (86 of 885 strings)
2022-06-17 18:18:07 +02:00
Viktória Nagy
ae1e9fb1ae
Added translation using Weblate (Hungarian) 2022-06-16 16:00:50 +02:00
Eric House
81236961bd deal with attempts to open bogus file
Because I can't filter for file type, user may ask to open the wrong
thing. So put up an alert with a "try again" button. And include the
name of the chosen file for clarity.
2022-06-14 22:16:25 -07:00
Eric House
ca1b12d194 add a warning before overwriting games 2022-06-14 13:36:33 -07:00
Eric House
c311eac65e don't show empty messages
Need to remember that jsonobj.optString() returns "" by default
2022-06-14 11:01:39 -07:00
Wellington Terumi Uemura
971d267460
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (885 of 885 strings)
2022-06-14 18:16:33 +02:00
Eric House
2635be0429 fix filename 2022-06-13 17:06:50 -07:00
Eric House
ec658fb970 load */* rather than x-zip
After a hard-reset I can't open an archive file if I'm looking for
x-zip, because, I guess, the mime type is something the OS records
rather than deduced from the file. With this change, I can export,
hard-reset, and then import the file to get my settings and games
going again.
2022-06-13 14:25:41 -07:00
Hosted Weblate
7c88042102
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-06-13 18:00:23 +02:00
Eric House
f04e19e6bd add missing file to fix build 2022-06-13 09:00:05 -07:00
Hosted Weblate
ca424315a4
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-06-13 17:54:19 +02:00
Eric House
883ab7ca1e add title (same as menuitem text) 2022-06-13 08:51:10 -07:00
Eric House
c705b6caa0 move strings 2022-06-13 08:51:10 -07:00
Eric House
7a0b38d5cf disable button when nothing checked 2022-06-13 08:51:10 -07:00
Eric House
3c1acf28ac closer to finished UI 2022-06-13 08:51:10 -07:00
Eric House
ff5a1b9ad4 add to .gitignore 2022-06-13 08:51:10 -07:00
Eric House
d3d702ad9e fixes to data export/import
Main problem, aside from the explanations being stubbed out, is that
zip file overwriting doesn't work: once an entry is in the file, it'll
be there when the file's overwritten even if that entry is
excluded. This happens even if I create the file in memory and then
overwrite using the bytes.
2022-06-13 08:51:10 -07:00
Eric House
d73481ba9b don't offer backup/restore earlier than KitKat
I'm using ContentResolver now, and it shows up in KitKat
2022-06-13 08:51:10 -07:00
Eric House
a620ae4afc use ContentResolver to export and import backups
This is the kosher way now, and solves problems with accessing
Downloads or other public directories on newer Android versions.
2022-06-13 08:51:10 -07:00
Eric House
c329b1bab4 always show load-saved-games menuitem if file present
You can't create the file naively, but want it to be easy to use if
it's present.
2022-06-13 08:51:10 -07:00
ssantos
2c3d0dd52a
Translated using Weblate (German)
Currently translated at 88.0% (781 of 887 strings)
2022-06-13 09:17:01 +02:00
Wellington Terumi Uemura
e762ad46f3
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (887 of 887 strings)
2022-06-09 12:16:28 +02:00
Eric House
6720367e66 fix NPE likely introduced by lang->isoCode changes 2022-06-06 21:46:38 -07:00
Eric House
2a6d1a0af2 save and restore prefs as part of saving/restoring games
A bit of testing says this works (to allow somebody moving to a new
phone to export and then import sharedpreferences in addition to the
games DB. There may be race conditions, but it probably works better
than nothing.
2022-06-06 20:49:58 -07:00
Eric House
4f3decc1c5 add config to get "legacy" external storage access 2022-06-06 20:38:26 -07:00
Eric House
58680980e2 show an error Toast when db file export fails
Right now I seem to be writing it someplace I'm not supposed to
2022-06-06 20:21:50 -07:00
Eric House
3dea7bd205 fix display of wordlist note when there is none 2022-06-05 17:04:28 -07:00
Eric House
6b1e28e0e6 add asserts and logging 2022-06-05 16:15:31 -07:00
Eric House
d4572f2aea up version code so can test with new-format wordlists 2022-06-05 16:15:01 -07:00
Eric House
d24099f52b clean up Hex wordlist
Remove it from known set so it can be used to test. Get rid of
filenames having umlaut since that screws up URLs between Android and
nginx (not sure whose fault and not going there now.) Lang name should
be able to have an umlaut, but it gets used for filename for now so
fix later....
2022-06-05 14:38:33 -07:00
Eric House
ce743a7e11 cleanup: tweak assertions 2022-06-05 09:46:33 -07:00
Eric House
e30fd7151f add asserts and logging 2022-06-05 09:07:06 -07:00
Eric House
6f96317e69 test for null data rather than catch and log every time 2022-06-05 09:07:06 -07:00
Eric House
d28aaa17a9 fix failure to detect missing isocode
Needed to supply null to optString, as default is ""
2022-06-05 09:07:06 -07:00
Eric House
4398632d87 move table scheme into table name emum
Just a cleanup, basically; no behavior change
2022-06-05 09:07:06 -07:00
Eric House
20908284f5 LangCode->ISOCode replacement, Android side
Now we use only ISOCode string internally to identify languages, and
since that's universal it can be built into an wordlist and used
without the build of CrossWords knowing about that language
specifically (though it'll have to know about it to have the language
name be localizable.) For legacy support, though, the old int codes
are transmitted in invitations and URLs IFF available, otherwise the
string's used. If a newer build invites and older build to play in a
too-new language there will be trouble.
2022-06-05 09:07:06 -07:00
Eric House
8c04dddcc8 Fix not passing lang for studylist 2022-06-04 14:18:03 -07:00
Eric House
33b636b458 cleanup around lc code; add to JNI 2022-06-04 14:18:03 -07:00
Eric House
4190926c0a add isoCode to DictInfo, and load it 2022-06-04 14:18:00 -07:00
Eric House
5101fb46cb move wordlist md5sums into About alert 2022-05-22 19:54:02 -07:00
Wellington Terumi Uemura
7a85d5cbcc
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (886 of 886 strings)
2022-05-19 22:16:37 +02:00
Hosted Weblate
ebf85dbd74
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-18 21:32:20 +02:00
Hosted Weblate
450541fc38
Merge branch 'origin/android_branch' into Weblate. 2022-05-18 21:32:19 +02:00
vitoUwu
f0ac3452d1
Translated using Weblate (Portuguese)
Currently translated at 98.3% (871 of 886 strings)
2022-05-18 21:32:18 +02:00
Eric House
a084d57654 make wordlist About menuitem include its name 2022-05-18 12:30:52 -07:00
Eric House
23241400f0 fix assert: move disconnect into own thread
It's sometimes on the UI thread and so since it makes blocking calls
needs to be elsewhere. Give it its own thread.
2022-05-16 21:46:49 -07:00
Eric House
99e4905a68 add Variants class
I want a place to fix-up what goes wrong when one variant is installed
on top of another. May be a dev-only thing. We'll see.
2022-05-16 20:31:15 -07:00
Eric House
2148288cf1 tweak permissions; stop using shouldShowRequestPermissionRationale()
It apparently returns false if I haven't asked before, and that's the
one time you want to be sure to ask.
2022-05-16 15:12:11 -07:00
ssantos
71e90eed77
Translated using Weblate (German)
Currently translated at 88.2% (782 of 886 strings)
2022-05-16 11:18:00 +02:00
Eric House
46515704c0 add to changelist 2022-05-15 14:01:18 -07:00
Eric House
6f4d386ad3 fix reversed sense of enable for mqtt enabled state change 2022-05-15 13:55:36 -07:00
Eric House
69f23b2898 wait for mqtt disconnect steps to complete
I'm hoping this is going to fix the crashes I see on GPlay. Clearly I
was wrong calling close() while disconnect() might still be doing
work.
2022-05-15 13:54:28 -07:00
Eric House
df1606c8fb use ifdef to remove relay-only params 2022-05-15 12:10:37 -07:00
Eric House
6236042ee1 formatting changes only 2022-05-15 12:10:37 -07:00
Eric House
71e957421c remove assert that fired for one user 2022-05-15 12:10:03 -07:00
Eric House
fbec2c926f remove more relay-only/dead code 2022-05-15 12:10:03 -07:00
Eric House
0a3851fba2 quick script to build and upload from HEAD
Working around TravisCI having killed my builds
2022-05-15 12:10:03 -07:00
Eric House
57b0a0f98d don't try to determine if I'm on an emulator
What I have doesn't work, and there's no consensus online what might
2022-05-14 21:01:15 -07:00
Eric House
e5470c458a tweak string 2022-05-14 21:01:15 -07:00
Wellington Terumi Uemura
a01a94dd4a
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (886 of 886 strings)
2022-05-15 04:17:05 +02:00
Eric House
6529e1e21a cleanup (no code changes) 2022-05-14 06:41:12 -07:00
Eric House
a04c33fe89 Actually reenable mqtt play when user says to 2022-05-14 06:00:33 -07:00
Eric House
7f401ce809 remove dead key strings 2022-05-14 05:56:47 -07:00
Eric House
0561f0ef23 changelog and version strings 2022-05-13 22:26:07 -07:00
Eric House
088caee4f2 use opt instead of get
If I'd done that before I could stop the current false-upgrade problem
server-side....
2022-05-13 22:06:16 -07:00
Eric House
78b5e280cd use full sum to fix fake dict upgrade offers
Needed to be incorporating the fullfile md5sum that was added recently
2022-05-13 19:43:36 -07:00
Hosted Weblate
f4c36f8c81
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-14 03:15:37 +02:00
Eric House
5d71d88cfb resend invites more aggressively
Was silently failing to send additional invitations when asked. This
should fix this. If this is too aggressive I hope I'll notice.
2022-05-13 18:15:25 -07:00
Eric House
90eabd45c0 cleanup and asserts 2022-05-13 18:15:25 -07:00
Eric House
a281bb25a7 cleanup: remove dead code and add asserts 2022-05-13 18:15:25 -07:00
Hosted Weblate
7f8fc53182
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-13 02:49:07 +02:00
Hosted Weblate
8574f7a793
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-13 02:47:49 +02:00
Eric House
8a3e106ebb show toast about trading tiles mode on board open
I was confused, so others will be too :-)
2022-05-12 17:47:00 -07:00
Wellington Terumi Uemura
e849b5f965
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (886 of 886 strings)
2022-05-12 14:14:37 +02:00
Hosted Weblate
500ec791bb
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-11 05:56:42 +02:00
Eric House
49a0fd8462 remove premature assert
older devices will still have relay games
2022-05-10 20:54:26 -07:00
Eric House
66b94ce67b more cleanup 2022-05-10 20:54:26 -07:00
Eric House
cdb56c265f remove relay-related pref and strings 2022-05-10 20:54:26 -07:00
Eric House
f97623b489 more cleanup: remove obits and relay sync menuitem 2022-05-10 20:54:26 -07:00
Eric House
5834125058 remove two relay-related prefs 2022-05-10 20:54:26 -07:00
Eric House
5f4dd46f72 rip out most devid stuff 2022-05-10 20:54:26 -07:00
Eric House
58cba766d3 remove RelayService and stuff that uses it 2022-05-10 20:54:26 -07:00
Eric House
3953ab19a4 remove more relay code (and undef XWFEATURE_RELAY) 2022-05-10 20:54:26 -07:00
Eric House
b52d263f61 remove unused method 2022-05-10 20:54:25 -07:00
Eric House
06583daf7d more removing relay 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
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
Eric House
847024512a move colors setting up 2021-10-27 15:46:49 -07:00
Bernard Massot
50c57bf190
Translated using Weblate (French)
Currently translated at 99.4% (913 of 918 strings)
2021-10-17 23:58:26 +02:00
Wellington Terumi Uemura
6e2f16983e
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (918 of 918 strings)
2021-10-16 16:41:05 +02:00
Eric House
3b51eb0629 don't make unsolicited upgrade offer more than once
Debug build checks for upgrades every hour, and when I don't want one
it's annoying to keep dismissing notifications. Should have no impact on
release builds.
2021-10-14 12:13:46 -07:00
Eric House
ba5a141b3f cleanup: add and use overridden method 2021-10-14 12:09:34 -07:00
Eric House
a0f1f1d045 add post-export option to email logs; remove export
No point in exporting only to create a file, so export-and-email as one step
2021-10-05 15:19:46 -07:00
Eric House
f083ba9897 add timestamp to saved logs, and zip on export
They're otherwise too big to email
2021-09-30 21:27:22 -07:00
Hosted Weblate
afe030eabc
Merge branch 'origin/android_branch' into Weblate. 2021-09-06 04:35:07 +02:00
liimee
ea97b2b6c7
Translated using Weblate (Indonesian)
Currently translated at 31.6% (289 of 913 strings)
2021-09-06 04:35:04 +02:00
Eric House
550795d3a1 don't lose track of what's open when device rotates
GamesListDelegate is the wrong place to track open games (boards). Let's
try doing it in BoardDelegate.
2021-09-04 15:19:40 -07:00
Eric House
4c94f19ec6 tweak line & bonus hint colors & sizes
Upgraders will only get the smaller hints, but not the brighter color
that compensates.
2021-09-04 11:29:47 -07:00
Eric House
bbb2ab3856 changelog and version changes 2021-08-31 10:46:59 -07:00
Eric House
79d77410a5 fix failure to send NO_SUCH_GAME over NBS
Wasn't sending zero-length messages, which this one is. Needs testing,
because there must have been a reason for that test.
2021-08-31 10:44:39 -07:00
Eric House
94c57c3b14 remove "one" plurals items for Chinese
AFAIK, only "other" is ever used in Chinese. I've seen messed up
plurals from Weblate before so I'm assuming that's what's going on
here. Hope I'm not misunderstanding.
2021-08-29 21:10:46 -07:00
Eric House
ffa3f245ac remove logging 2021-08-29 21:10:46 -07:00
Eric House
789978b8b2 tweak player colors (dark) 2021-08-29 18:20:52 -07:00
ssantos
a3ae7b7b69
Translated using Weblate (Portuguese)
Currently translated at 100.0% (913 of 913 strings)
2021-08-29 09:35:05 +02:00
Wellington Terumi Uemura
c2852734c4
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (913 of 913 strings)
2021-08-20 02:46:08 +02:00
Bernard Massot
cc01c8033f
Translated using Weblate (French)
Currently translated at 99.4% (908 of 913 strings)
2021-08-18 14:34:52 +02:00
Hosted Weblate
9e3392ec75
Merge branch 'origin/android_branch' into Weblate. 2021-08-17 11:32:28 +02:00
Reza Almanda
591d99f2f1
Translated using Weblate (Indonesian)
Currently translated at 29.6% (267 of 899 strings)
2021-08-17 11:32:24 +02:00
Eric House
2e6572f250 add not-again hint when dark-theme used 2021-08-13 13:47:54 -07:00
Eric House
a8abdaad8c cleanup: not a new feature any more 2021-08-13 11:04:45 -07:00
Eric House
4ed46f6681 make default settable by sdk version
This is a better way to do it: use separate values that user doesn't
see and so that they can be defined as defaults without worrying about
translation.
2021-08-10 18:13:00 -07:00
Eric House
cf553a0aed set first theme choice as default
workaround for not knowing how to set default based on os version:
don't set default, and when there's none set use the first in the
list.
2021-08-10 14:46:47 -07:00
Eric House
bfd7963ea6 Add dark- and light-mode themes for board
Allow user to choose a new dark-mode color scheme for the board, with
colors editable same as the old mode. Support exporting a URL
encapsulating those colors to clipboard and importing from the URL
when it's tapped e.g. in email.
2021-08-09 09:31:20 -07:00
Hosted Weblate
1776638467
Merge branch 'origin/android_branch' into Weblate. 2021-08-09 10:32:22 +02:00
ssantos
8461b2e022
Translated using Weblate (Portuguese)
Currently translated at 100.0% (899 of 899 strings)
2021-08-09 10:32:19 +02:00
Eric House
7d07a2319b get rid of HostActivity
New Prefs framework doesn't require it.
2021-07-29 19:38:00 -07:00
Eric House
fb1088b9a8 'show network' option takes priority over 'reset'
These are debug-build-only, but useful for my debugging!
2021-07-24 12:29:13 -07:00
liimee
15cc0dfac5
Translated using Weblate (Indonesian)
Currently translated at 29.1% (262 of 899 strings)
2021-07-24 14:34:15 +02:00
Wellington Terumi Uemura
9edb749c9f
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (899 of 899 strings)
2021-07-21 15:33:19 +02:00
Hosted Weblate
364a6f9109
Merge branch 'origin/android_branch' into Weblate. 2021-07-20 11:33:25 +02:00
liimee
0b8042747e
Translated using Weblate (Indonesian)
Currently translated at 27.8% (249 of 895 strings)
2021-07-20 11:33:21 +02:00
Anna Malinovskaia
b7af5e577e
Translated using Weblate (Russian)
Currently translated at 0.6% (6 of 895 strings)
2021-07-20 11:33:20 +02:00
Zhou Nan
7833d15c94
Translated using Weblate (Chinese (Simplified))
Currently translated at 4.6% (42 of 895 strings)
2021-07-20 11:33:20 +02:00
Eric House
7a63a97259 changelog and version codes 2021-07-18 15:19:34 -07:00
Eric House
34f2a853d6 make bonus hints smaller 2021-07-18 15:19:29 -07:00
Eric House
6439f6d223 don't crash when BT's off 2021-07-17 13:31:08 -07:00
Eric House
b49792c750 make cell line width settable 2021-07-16 12:21:49 -07:00
Eric House
694953c820 add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
liimee
5ce616ebdc
Translated using Weblate (Indonesian)
Currently translated at 27.3% (245 of 895 strings)
2021-06-29 16:33:24 +02:00
liimee
29bc7ad029
Translated using Weblate (Indonesian)
Currently translated at 19.8% (178 of 895 strings)
2021-06-27 17:32:17 +02:00
liimee
60dd623b69
Translated using Weblate (Indonesian)
Currently translated at 12.4% (111 of 895 strings)
2021-06-24 05:32:15 +02:00
liimee
15142779db
Translated using Weblate (Indonesian)
Currently translated at 6.7% (60 of 895 strings)
2021-06-22 17:33:33 +02:00
liimee
d5e231299c
Added translation using Weblate (Indonesian) 2021-06-21 16:38:06 +02:00
Wellington Terumi Uemura
21b21bd708
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (895 of 895 strings)
2021-06-17 11:32:41 +02:00
ssantos
1800a647ec
Translated using Weblate (Portuguese)
Currently translated at 99.7% (893 of 895 strings)
2021-06-17 11:32:41 +02:00
Bernard Massot
aeed1d316c
Translated using Weblate (French)
Currently translated at 99.4% (890 of 895 strings)
2021-06-17 11:32:40 +02:00
Hosted Weblate
0ed6611f83
Merge branch 'origin/android_branch' into Weblate. 2021-06-14 22:33:34 +02:00
Wellington Terumi Uemura
b8a11e6153
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (893 of 893 strings)
2021-06-14 22:33:31 +02:00
ssantos
d294084193
Translated using Weblate (Portuguese)
Currently translated at 97.7% (873 of 893 strings)
2021-06-14 22:33:31 +02:00
Eric House
5764a752a7 add default mqtt server to test app 2021-05-30 16:39:55 -07:00
Eric House
e667291da5 show invitee name where possible
When I've invited a Known Player, use that player's name in parens in
scoreboard and games list elem/summary until a remote device connects
(usually in response to an invitation) and provides an actual player
name. Makes it much easier to tell one pending game from another. And
doesn't really work (yet) where there's more than one remote player in
a game.
2021-05-30 13:31:33 -07:00
Eric House
6352958066 update changelog and version strings for release 2021-05-27 12:26:59 -07:00
Eric House
e18b2d5c75 avoid crash by dropping GAME_OVER event
Play Store reports say I'm getting this event when I don't have a
valid jni game instance to work with. So test for that, and drop the
event. If it's a race condition this should fix it. If not I'll get
some other crash report that might be more useful.
2021-05-27 10:56:21 -07:00
Eric House
dd8e7584e6 fix NPE
Needed to init globals first
2021-05-27 10:49:20 -07:00
Eric House
3d1ec565b0 add two ways to launch web view of game traffic
This'll should it a lot easier to look at what's going on e.g. for a
stalled game
2021-05-23 18:39:28 -07:00
Liu Tao
881d600b9b
Translated using Weblate (Chinese (Simplified))
Currently translated at 4.4% (40 of 893 strings)
2021-05-23 12:31:59 +02:00
Hosted Weblate
6c6765871b
Merge branch 'origin/android_branch' into Weblate. 2021-05-19 20:33:02 +02:00
Eugenia Russell
1e216ca0f1
Translated using Weblate (Greek)
Currently translated at 0.6% (6 of 893 strings)
2021-05-19 20:32:58 +02:00
Eric House
9e4a889b6c update commented-out log statements 2021-05-17 17:26:30 -07:00
Eric House
515a253028 changelog and version codes 2021-05-17 12:50:22 -07:00
Eric House
3fd6303f9e add assert toward tracking crash on Play Store 2021-05-17 12:50:22 -07:00
Eric House
8f5484c5a6 fix crash opening BT game when BT disabled 2021-05-16 08:29:57 -07:00
Eric House
3f332480fb switch menu positions 2021-05-15 20:55:05 -07:00
Eric House
be698069a4 cleanup of recent changes 2021-05-14 11:34:15 -07:00
Hosted Weblate
c63dacfa36
Merge branch 'origin/android_branch' into Weblate. 2021-05-13 19:33:15 +02:00
ssantos
22fcb6db95
Translated using Weblate (Portuguese)
Currently translated at 97.6% (872 of 893 strings)
2021-05-13 19:33:12 +02:00
Eric House
0881566209 restore relay for release builds
I want to do a release, and the no-relay stuff isn't sufficiently
tested.
2021-05-13 08:44:44 -07:00
ssantos
301f16b100
Translated using Weblate (Portuguese)
Currently translated at 93.7% (837 of 893 strings)
2021-05-12 17:33:33 +02:00
Joan Araujo
1377b59c7d
Translated using Weblate (Spanish)
Currently translated at 21.3% (191 of 893 strings)
2021-05-10 19:33:48 +02:00
yokodos 2003
c42d12b48c
Translated using Weblate (Spanish)
Currently translated at 21.3% (191 of 893 strings)
2021-05-10 19:33:47 +02:00
ssantos
fda272d6e6
Translated using Weblate (Portuguese)
Currently translated at 93.6% (836 of 893 strings)
2021-05-10 19:33:46 +02:00
Hosted Weblate
b8a073cc71
Merge branch 'origin/android_branch' into Weblate. 2021-05-05 16:32:15 +02:00
phlostically
79480174b6
Translated using Weblate (Esperanto)
Currently translated at 4.4% (40 of 893 strings)
2021-05-05 16:32:12 +02:00
Eric House
03c9d92368 remove typo apparently introduced by translator 2021-05-02 19:33:58 -07:00
Eric House
9a2fa9534a moving metadata to see if weblate picks it up 2021-05-02 19:19:58 -07:00
Hosted Weblate
b2fd3533f3
Merge branch 'origin/android_branch' into Weblate. 2021-05-02 21:40:29 +02:00
ssantos
7a97d66a2f
Translated using Weblate (Portuguese)
Currently translated at 93.2% (833 of 893 strings)
2021-05-02 21:40:29 +02:00
Jakub Fabijan
886be38c70
Added translation using Weblate (Esperanto) 2021-05-02 21:40:09 +02:00
Eric House
fab7a7befe fix Oreo-only crash by not setting screen orientation
This may hurt Oreo users in some other way, but I'm not taking the time
right now to figure out what's special about DwnldActivity that it
crashes when setting screen orientation on Oreo. It's only 5% of my
users anyway.
2021-05-02 07:11:36 -07:00
Eric House
f1123bebfc played word lookup: skip choosing if only one choice 2021-04-26 08:16:24 -07:00
Eric House
6f46220946 Squashed commit of the following:
commit 3815c8a9e8
Author: Bernard Massot <bmassot@free.fr>
Date:   Fri Apr 23 19:59:31 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.4% (888 of 893 strings)

commit 4c930410b8
Author: Hosted Weblate <hosted@weblate.org>
Date:   Fri Apr 23 17:02:05 2021 +0200

    Update translation files

    Updated by "Cleanup translation files" hook in Weblate.

    Translation: Crosswords/Android
    Translate-URL: https://hosted.weblate.org/projects/xwords/android/

commit 585dc7ab4b
Merge: daf5894d7 3613b658f
Author: Hosted Weblate <hosted@weblate.org>
Date:   Fri Apr 23 17:02:04 2021 +0200

    Merge branch 'origin/android_branch' into Weblate.

commit 3613b658f9
Author: Bruno Oliveira Rosa <brunokauaoliveira@gmail.com>
Date:   Sun Apr 11 19:21:19 2021 +0000

    Translated using Weblate (Portuguese (Brazil))

    Currently translated at 100.0% (893 of 893 strings)

commit a2a47d4633
Author: Bernard Massot <bmassot@free.fr>
Date:   Thu Apr 1 17:09:29 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.2% (886 of 893 strings)

commit 399971e82f
Merge: fbc7a70c4 23806627a
Author: Hosted Weblate <hosted@weblate.org>
Date:   Thu Apr 1 02:33:17 2021 +0200

    Merge branch 'origin/android_branch' into Weblate.

commit 23806627a3
Merge: 97962fcee 5b77a60de
Author: Hosted Weblate <hosted@weblate.org>
Date:   Wed Mar 31 21:37:55 2021 +0200

    Merge branch 'origin/android_branch' into Weblate.

commit 5b77a60de5
Author: Hosted Weblate <hosted@weblate.org>
Date:   Thu Mar 25 23:46:57 2021 +0100

    Update translation files

    Updated by "Cleanup translation files" hook in Weblate.

    Translation: Crosswords/Android
    Translate-URL: https://hosted.weblate.org/projects/xwords/android/

commit b6125b38f1
Merge: 0e7edd9dc 2bad54965
Author: Hosted Weblate <hosted@weblate.org>
Date:   Thu Mar 25 23:46:56 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit 2bad549655
Author: Bernard Massot <bmassot@free.fr>
Date:   Thu Mar 25 20:19:20 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.2% (886 of 893 strings)

commit e0810e2d05
Merge: 430750e23 1480b0a80
Author: Hosted Weblate <hosted@weblate.org>
Date:   Thu Mar 25 20:11:15 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit 1480b0a804
Merge: 59acc5d61 3d6a265d7
Author: Hosted Weblate <hosted@weblate.org>
Date:   Thu Mar 25 17:48:56 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit 3d6a265d76
Author: Bernard Massot <bmassot@free.fr>
Date:   Mon Mar 22 20:30:12 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.2% (885 of 892 strings)

commit e6d3ca46bf
Merge: a11db395d da85904a2
Author: Hosted Weblate <hosted@weblate.org>
Date:   Mon Mar 22 20:24:11 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit da85904a21
Merge: 177bb28a6 a3524ddef
Author: Hosted Weblate <hosted@weblate.org>
Date:   Mon Mar 22 19:14:50 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit a3524ddefa
Merge: bdb081d0e 1f8a46156
Author: Hosted Weblate <hosted@weblate.org>
Date:   Mon Mar 22 18:42:09 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit 1f8a46156f
Author: Bernard Massot <bmassot@free.fr>
Date:   Sun Mar 21 22:03:07 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.2% (885 of 892 strings)

commit 965583d091
Merge: 64246f246 cb13297d4
Author: Hosted Weblate <hosted@weblate.org>
Date:   Sun Mar 21 21:54:38 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit cb13297d4e
Merge: 310227184 aaa8346e2
Author: Hosted Weblate <hosted@weblate.org>
Date:   Sun Mar 21 21:42:41 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit aaa8346e29
Author: Bernard Massot <bmassot@free.fr>
Date:   Fri Mar 19 21:47:26 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.4% (884 of 889 strings)

commit 3cef9ca4ba
Merge: 073b5f6bf d044c2cc4
Author: Hosted Weblate <hosted@weblate.org>
Date:   Fri Mar 19 22:23:16 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit d044c2cc45
Merge: ca88d9c0b f68186caf
Author: Hosted Weblate <hosted@weblate.org>
Date:   Fri Mar 19 21:06:16 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit f68186cafb
Author: Bernard Massot <bmassot@free.fr>
Date:   Sun Feb 21 19:22:45 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.4% (883 of 888 strings)

commit 76df89a517
Merge: 28e0dfe31 cd3cf2755
Author: Hosted Weblate <hosted@weblate.org>
Date:   Sun Feb 21 20:58:22 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit cd3cf27559
Merge: 0df49bcb6 7c930c6e9
Author: Hosted Weblate <hosted@weblate.org>
Date:   Sun Feb 21 20:25:45 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit 7c930c6e91
Author: Hosted Weblate <hosted@weblate.org>
Date:   Sun Feb 21 20:05:02 2021 +0100

    Update translation files

    Updated by "Cleanup translation files" hook in Weblate.

    Translation: Crosswords/Android
    Translate-URL: https://hosted.weblate.org/projects/xwords/android/

commit 4cadd85ce5
Merge: 18aacdefe fabc29dfe
Author: Hosted Weblate <hosted@weblate.org>
Date:   Sun Feb 21 20:05:01 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit fabc29dfef
Author: Bernard Massot <bmassot@free.fr>
Date:   Sun Feb 21 18:25:36 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.3% (882 of 888 strings)

commit b26f383d32
Author: Hosted Weblate <hosted@weblate.org>
Date:   Sun Feb 21 19:09:29 2021 +0100

    Update translation files

    Updated by "Cleanup translation files" hook in Weblate.

    Translation: Crosswords/Android
    Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2021-04-23 17:49:43 -07:00
Eric House
daf5894d79 call new web api to ack mqtt messages
This is toward debugging. Not sure it'll be use to add functionality yet.
2021-04-19 07:04:58 -07:00
Eric House
356280565a ensure default addr type set never empty 2021-04-08 21:43:24 -07:00
Eric House
b9c34b2b31 don't include relay in rematch addressing 2021-04-01 13:26:25 -07:00
Eric House
a1cabd6c4c don't add relay to new games -- mqtt only 2021-04-01 10:10:08 -07:00
Eric House
2d3f86a396 Merge branch 'from_android_beta_175' into android_branch 2021-03-31 16:59:31 -07:00
Eric House
ad3fd9342c up strings for bug-fix release 2021-03-31 16:37:12 -07:00
Eric House
229ced9a29 add and use new string for networked case 2021-03-31 16:33:53 -07:00
Eric House
0e3cd7c9f5 upgrade to latest stable (LTS) NDK 2021-03-31 16:21:03 -07:00
Eric House
29261dd370 fix crash when no radio's been chosen 2021-03-31 16:19:19 -07:00
Eric House
60d6cf444a fix crash when no radio's been chosen 2021-03-31 16:18:44 -07:00
Eric House
97962fceed upgrade to latest stable (LTS) NDK 2021-03-29 18:26:05 -07:00
Eric House
d74161958e cleanup: remove dead and use new code 2021-03-28 20:27:24 -07:00
Eric House
f13e81a4b5 Merge branch 'android_branch' into wasm 2021-03-28 18:39:07 -07:00
Eric House
9cf07b6327 remove unused json field 2021-03-28 10:28:47 -07:00
Eric House
2a20caa6d7 fix breakage caused by merge 2021-03-27 11:00:06 -07:00
Eric House
64ff2e5f69 Merge branch 'android_branch' into wasm 2021-03-27 10:27:14 -07:00
Eric House
61d580adeb remove extra line-feeds 2021-03-26 22:19:00 -07:00
Eric House
f441ec18b3 changelog and version change for upgrade 2021-03-25 20:25:54 -07:00
Eric House
0e9a7f0434 capitalize variant 2021-03-25 20:25:54 -07:00
Eric House
0e7edd9dcf fix build breakage by reusing rather than duplicating string 2021-03-25 15:45:53 -07:00
Eric House
430750e23a Change text for blank-out-filter-config Clear, not Reset
Reset somehow makes me expect the filter to be re-applied after the
inputs are removed.
2021-03-25 12:10:49 -07:00
Eric House
59acc5d619 disable reset button unless there's state to clear
Using a timer seemed easier than adding listeners on a bunch of fields.
2021-03-25 09:41:43 -07:00
Eric House
ccd557658f Squashed commit of e.g.
commit 3d6a265d76
Author: Bernard Massot <bmassot@free.fr>
Date:   Mon Mar 22 20:30:12 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.2% (885 of 892 strings)
2021-03-24 21:21:25 -07:00
Eric House
a11db395d5 fix invite alert not being dismissed on game connect
At least where QR was being used, it didn't go away. Not sure why, but a
global was getting nulled when it shouldn't have been. Race condition I
guess.
2021-03-22 12:22:53 -07:00
Eric House
177bb28a67 Squashed commit including:
commit 1f8a46156f
Author: Bernard Massot <bmassot@free.fr>
Date:   Sun Mar 21 22:03:07 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.2% (885 of 892 strings)
2021-03-22 10:45:52 -07:00
Eric House
561c5c9eb1 cleanup 2021-03-22 10:43:34 -07:00
Eric House
bdb081d0e3 cleanup: remove version test and tweak strings
There's no point in checking if I'm running on a version the Play Store
hasn't supported for years.
2021-03-21 17:29:08 -07:00
Eric House
64246f2463 Squashed commit (irrelevant pruned):
commit aaa8346e29
Author: Bernard Massot <bmassot@free.fr>
Date:   Fri Mar 19 21:47:26 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.4% (884 of 889 strings)
2021-03-21 13:53:16 -07:00
Eric House
3102271840 turn "known players" on for all 2021-03-21 13:40:17 -07:00
Eric House
4f8ae02bbe regression: don't offer to archive archived game 2021-03-21 13:25:47 -07:00
Eric House
1869557f12 when a move is dropped for lack of dict, alert user
Better to encourage deletion so the remote player knows what's up. This
will not happen often but it has bitten me so....
2021-03-21 10:33:49 -07:00
Eric House
637c47e506 add another as-generated vector asset
Can't figure out how to change the color on the untrade one, so it'll
wait.
2021-03-20 20:05:13 -07:00
Eric House
21b4f51648 swap menuitem positions 2021-03-20 13:46:02 -07:00
Eric House
677abe6fb8 remember prev dict choice and use for longtap
Often I want to view a different wordlist from what's in use in the
game. So make the in-board long-tap shortcut to a wordlist remember what
the short-tap gesture chose most recently and use that instead of
assuming the game's list is what's wanted. Remember the choice on a
per-language rather than per-game basis.
2021-03-20 13:29:22 -07:00
Eric House
e1712f4560 when KP is deleted, remove record of its being expanded
I'm tired of having a record recreated and showing up expanded first
thing. Better to save less garbage.
2021-03-20 08:49:41 -07:00
Eric House
88e76af7ab put scores alert on backstack too
It also should go away when board is dismissed.
2021-03-19 18:14:00 -07:00
Eric House
521a5b57b8 put gameover alert on backstack
This seems to do what I want: cause it to be dismissed whenever the
board fragment behind it (that launched it) goes away, e.g. because the
remote deleted first and local got a deleted-elsewhere-so-delete-here?
alert.
2021-03-19 18:04:52 -07:00
Eric House
17311dc757 get rid of dict processing where possible
The old API required passing dict into game creation/loading. New
doesn't, but in some places I was doing other stuff there (like checking
existance), so can't remove there. Still code goes away.
2021-03-19 14:29:20 -07:00
Eric House
970c2f6f9a make android compile/run with wasm changes 2021-03-19 14:29:20 -07:00
Eric House
34aee3d7d0 add remaining langs to code-to-lang table 2021-03-19 14:29:20 -07:00
Eric House
23cb7bb85d unsigned->signed to fix drawing garbage in empty tiles 2021-03-19 14:27:04 -07:00
Eric House
9bc72d0745 move stream storage into super 2021-03-19 14:26:18 -07:00
Eric House
d620461574 fix so all compile 2021-03-19 14:26:18 -07:00
Eric House
073b5f6bf3 enable delete and archive when msg queue empties
Recent change added Delete button to game-over alert, but only when no
unacked messages remained (since deleted games can't continue trying to
send messages other games might still need to know the game's over.)
Typically the alert would go up and then, if the remote device is
online, shortly after acks would arrive. Now when that happens the alert
gets updated to offer to delete and archive.
2021-03-19 14:07:43 -07:00
Eric House
e30a02ee7c cleanup: more getting rid of Dialog 2021-02-25 17:20:15 -08:00
Eric House
d0323b5ce1 move game name field to top of dialog 2021-02-25 17:18:52 -08:00
Eric House
f7ba081e01 don't offer to archive or delete games missing acks
Once in the archive games don't ever send unless opened explicitly (no
resend-all-on-gained-network stuff for them). So don't offer to put a
game there if it has unsent (unacked) messages. Should prevent problem
of a host being archived before it's managed to send its final move to
all guests.
2021-02-25 12:13:23 -08:00
Eric House
c22526b1f7 Offer to delete finished games 2021-02-25 10:14:06 -08:00
Eric House
9804594237 cleanup: use AlertDialog not Dialog 2021-02-25 08:56:08 -08:00
Eric House
5c09d9b9a4 add commented-out javac option
(so I don't have to research it again)
2021-02-25 08:55:05 -08:00
Eric House
ad8451d5c9 fix NPE
When nothing has focus can't close keyboard. (Likely it's not up in that
case anyway.)
2021-02-24 21:18:59 -08:00
Eric House
1c9b94efbc hide keyboard when filter run and when filter closed 2021-02-24 20:15:58 -08:00
Eric House
5736870357 when filtering, enter key hides keyboard and applies filter 2021-02-24 20:08:43 -08:00
Eric House
e2b51beb60 for filters, bring up keyboard all-caps 2021-02-24 20:03:39 -08:00
Eric House
9af5ed2a6c add reset button to wordlist filter 2021-02-24 19:10:31 -08:00
Eric House
c97b9875bd cleanup: make TableLayout include less
Scroller is allowed only one child and I guess I wanted the TableLayout
to suffice, but having unrelated stuff in it sucked. So wrap it in a
LinearLayout and move the unrelated stuff out.
2021-02-24 19:03:52 -08:00
Eric House
ae0a30a088 french translation for f-droid metadata
We'll see if it shows up.
2021-02-23 17:09:09 -08:00
Eric House
e351a5e4f0 up release numbers; changelog changes 2021-02-22 08:12:48 -08:00
Eric House
5abc95dd6e add experimental translatable f-droid metadata 2021-02-21 16:21:02 -08:00
Eric House
1a79d124f2 Squashed commit of the following:
commit f68186cafb
Author: Bernard Massot <bmassot@free.fr>
Date:   Sun Feb 21 19:22:45 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.4% (883 of 888 strings)
2021-02-21 15:28:06 -08:00
Eric House
28e0dfe315 give prefs entry-page a title 2021-02-21 11:52:37 -08:00
Eric House
0df49bcb62 Squashed commit of the weblate cleanup 2021-02-21 11:06:37 -08:00
Eric House
18aacdefeb Squashed commit of the following:
commit fabc29dfef
Author: Bernard Massot <bmassot@free.fr>
Date:   Sun Feb 21 18:25:36 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.3% (882 of 888 strings)

commit b26f383d32
Author: Hosted Weblate <hosted@weblate.org>
Date:   Sun Feb 21 19:09:29 2021 +0100

    Update translation files

    Updated by "Cleanup translation files" hook in Weblate.

    Translation: Crosswords/Android
    Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2021-02-21 10:54:55 -08:00
Hosted Weblate
e9e0834048 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2021-02-21 10:44:53 -08:00
Eric House
aaca73eb40 bring up different dialog after invite sent 2021-02-21 10:40:53 -08:00
Eric House
4e21e40de5 tweak buttons and text of invite dialog
I want to encourage people not to think there's action to be taken
between when they invite and an invitee responds, e.g. to email. So make
the "Close Game" button the "positive" one that case.
2021-02-20 20:33:35 -08:00
Eric House
014cafe67e cleanup 2021-02-18 16:53:00 -08:00
Eric House
8cd1162421 fix to build Foss by default
(had to change: replacing something no longer there)
2021-02-18 16:00:11 -08:00
Eric House
309fcece03 generate mapping from prefs file to binding to fix reset
I balked at writing code consisting of a bunch of classes there only to
provide a mapping to resource file IDs, instead opting to generate them.
(The right move might have been to generate everything from the old
xwprefs.xml, but it's too late for that. :-)
2021-02-18 15:57:10 -08:00
Eric House
fdb9b43c63 regenerate new prefs xml files from previous scheme
I realized I'd made some mistakes and so rebuilt them from the old
xwprefs.xml file. Didn't find any new mistakes, but there are fewer
unnecessary changes so the release-to-release diff should make more
sense.
2021-02-18 09:57:59 -08:00
Bernard Massot
e4febd814e
Translated using Weblate (French)
Currently translated at 99.4% (884 of 889 strings)
2021-02-18 17:11:11 +01:00
Eric House
a13e33688a add missing prefs 2021-02-17 20:21:58 -08:00
Eric House
ea189ab6ae Squashed commit of the following:
commit 8e985b09a7
Author: Bernard Massot <bmassot@free.fr>
Date:   Wed Feb 17 22:47:17 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.3% (883 of 889 strings)
2021-02-17 19:08:30 -08:00
Eric House
6c50fcb818 cleanup; make original tiles-values choice the default
We've decided that on upgrade users shouldn't be surprised by a busy
board and unaware of how to fix it. So keep it the way it's been and let
the curious discover the new ability. Also, simplify code.
2021-02-17 15:47:55 -08:00
Eric House
6cc370e63c Squashed commit of the following:
commit e31ebc05c2
Author: Hosted Weblate <hosted@weblate.org>
Date:   Wed Feb 17 20:29:01 2021 +0100

    Update translation files

    Updated by "Cleanup translation files" hook in Weblate.

    Translation: Crosswords/Android
    Translate-URL: https://hosted.weblate.org/projects/xwords/android/

commit a6ad3e4292
Merge: d168e6e5e 69538a11a
Author: Hosted Weblate <hosted@weblate.org>
Date:   Wed Feb 17 20:28:59 2021 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit 69538a11a9
Author: Hosted Weblate <hosted@weblate.org>
Date:   Wed Feb 17 20:21:22 2021 +0100

    Update translation files

    Updated by "Cleanup translation files" hook in Weblate.

    Translation: Crosswords/Android
    Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2021-02-17 11:31:07 -08:00
Eric House
d168e6e5e6 Squashed commit of the following:
commit 69538a11a9
Author: Hosted Weblate <hosted@weblate.org>
Date:   Wed Feb 17 20:21:22 2021 +0100

    Update translation files

    Updated by "Cleanup translation files" hook in Weblate.

    Translation: Crosswords/Android
    Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2021-02-17 11:26:53 -08:00
Eric House
2ebb8caaf9 don't over-scroll
At least with my dozens of Known Players I was getting an empty alert.
2021-02-17 10:34:15 -08:00
Eric House
ad3be6732a Squashed commit of the following:
commit 3176272c43
Author: Muha Aliss <muhaaliss@pm.me>
Date:   Tue Feb 9 17:56:50 2021 +0000

    Translated using Weblate (Turkish)

    Currently translated at 4.2% (38 of 887 strings)

commit 5579eae91d
Author: Bernard Massot <bmassot@free.fr>
Date:   Thu Feb 11 21:27:37 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.2% (880 of 887 strings)
2021-02-17 07:27:32 -08:00
Eric House
04bc1d20a3 use radio buttons for menu to show cur setting 2021-02-11 14:42:57 -08:00
Eric House
be0a6f83f3 drive letters/values from a three-value enum
There are three choices now. The button pops up a menu on android and
moves through the choices on linux.
2021-02-11 14:11:02 -08:00
Eric House
64f1d83b5d show-values mode now means show along with face
not instead of. It now feels as if it should be a global setting, not a
per-game thing to toggle. We'll see what folks think.
2021-02-10 20:43:11 -08:00
Eric House
232cbe04ef tweak strings 2021-02-10 17:19:47 -08:00
Eric House
da352d6948 draw tile value in cell
This is an experiment. I suspect the eventual fix will be to have two
modes, one of which draws the values and the other doesn't, replacing
the TILES/VALUES pref.
2021-02-10 17:05:55 -08:00
Eric House
538ab5ab3b Rename a couple of variants to be more clear 2021-01-29 18:05:33 -08:00
Eric House
d5c706fb07 trying to not have all travis builds show "dirty" 2021-01-29 16:28:52 -08:00