Commit graph

12265 commits

Author SHA1 Message Date
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
d3cf74920e remove unused method 2021-02-10 19:37:19 -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
Eric House
4fef4e4b29 Move to using androidx-based prefs classes and recipes
Use the current recommended classes and organization of app
settings. Means breaking xwprefs.xml into eight or so files and a bunch
of changes to classes derived from Preference. Seems to work, but there
will be bugs. Also got rid of most Activity subclasses that were
alternatives to Fragments, since all Android versions I'm allowed to
support now support Fragments.
2021-01-29 16:05:38 -08:00
Eric House
31cfbaab1a up changelog for new release 2021-01-28 19:02:00 -08:00
Eric House
457955c40e move QR-Code to top of local invite-means list
It'll be the most often used I suspect so make it easier to find.
2021-01-28 16:22:44 -08:00
Eric House
8dd1db31c7 don't include FCM service in shared Manifest
Since not everybody has it now, and you crash if you try to load what
you don't have.
2021-01-28 16:22:44 -08:00
Eric House
0373f02c3e tweak color edit dialog 2021-01-27 11:58:56 -08:00
Eric House
4850b77756 UI and string tweaks 2021-01-25 21:58:36 -08:00
Eric House
0698e67dcf tweak string 2021-01-25 20:21:50 -08:00
Eric House
0ea9b42db8 clear high-bit when generating gameIDs
postgres DB, at least on ARM, doesn't like it.
2021-01-25 07:58:49 -08:00
Eric House
d3440dc7d6 Squashed commit of the following:
commit 663c0c3395
Author: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Date:   Sat Jan 23 16:22:50 2021 +0000

    Translated using Weblate (Portuguese (Brazil))

    Currently translated at 100.0% (887 of 887 strings)
2021-01-24 19:57:56 -08:00
Eric House
73f9b20df7 Squashed commit of the following:
commit d255dc7758
Author: Allan Nordhøy <epost@anotheragency.no>
Date:   Sun Jan 17 18:26:54 2021 +0000

    Translated using Weblate (Norwegian Bokmål)

    Currently translated at 69.3% (619 of 892 strings)

commit 542af0a287
Author: Allan Nordhøy <epost@anotheragency.no>
Date:   Sun Jan 17 18:27:24 2021 +0000

    Translated using Weblate (English)

    Currently translated at 100.0% (892 of 892 strings)

commit 8ced0990d0
Author: Luca De Filippo <luca.defilippo@translationcommons.org>
Date:   Thu Jan 14 15:41:05 2021 +0000

    Translated using Weblate (Italian)

    Currently translated at 96.3% (859 of 892 strings)
2021-01-19 20:35:10 -08:00
Eric House
178042159b remove debug-only warnings about relay stall
Yeah it stalls. That's why MQTT and why BT doesn't use Service any more.
2021-01-19 20:25:18 -08:00
Eric House
ddd5f7b978 remember last-used radio and start with it next time
Saves a step if you generally create games the same way most of the
time. Required reordering alert init.
2021-01-19 13:40:08 -08:00
Eric House
fafbac7a4e catch rare NPE
I got this crash once. This hack avoids it at no cost until I can track
it down.
2021-01-19 10:05:49 -08:00
Eric House
fb8d86c5da tweak text 2021-01-19 10:05:42 -08:00
Eric House
ceec6e7468 fix crash verifying first tray can yield a move
Had never needed an engine for a remote player before. So create one on
demand and nuke after use.
2021-01-18 16:55:20 -08:00
Eric House
2927ded334 default undo pct to 0
Until it's fixed don't need to be have tests always fail for a known
reason
2021-01-18 16:27:16 -08:00
Eric House
19542fee88 send sdk INT when registering
better for tracking than version string
2021-01-18 08:45:57 -08:00
Eric House
66456725ef revert Paho upgrade (crashes on boot on 4.1.1) 2021-01-18 08:44:47 -08:00
Eric House
bb6049fc25 Squashed commit of the following:
commit 8ced0990d0
Author: Luca De Filippo <luca.defilippo@translationcommons.org>
Date:   Thu Jan 14 15:41:05 2021 +0000

    Translated using Weblate (Italian)

    Currently translated at 96.3% (859 of 892 strings)
2021-01-16 18:12:08 -08:00
Eric House
5080889f68 toward a debug build that's closer to f-droids
since that's where the majority of downloads are coming from, let's make
sure play using SMS works and than MQTT is fine without FCM.
2021-01-16 18:00:04 -08:00
Eric House
4f6c13a0d2 upgrade paho client
One I'm using crashes occasionally so see if it's fixed. Not that I'm
checking changelogs or anything :-)
2021-01-11 14:09:57 -08:00
Eric House
d41d5c700f don't let first player have unplayable rack 2021-01-09 20:39:33 -08:00
Eric House
7af001d481 game config changes
get rid of password; disable, not hide, stuff that's irrelevant for a
non-local player
2021-01-09 20:39:33 -08:00
Allan Nordhøy
0f97cd217d
Translated using Weblate (Norwegian Bokmål)
Currently translated at 67.6% (603 of 892 strings)
2021-01-10 02:32:04 +01:00
Wellington Terumi Uemura
f141b148fd
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (892 of 892 strings)
2021-01-07 10:29:14 +01:00
Hosted Weblate
8d800d4307
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2021-01-06 01:11:36 +01:00
Eric House
91d306270d remember which KnownPlayer entries are expanded 2021-01-05 12:21:54 -08:00
Eric House
4aaee07369 add button taking you to Known Players browser
from the new-game alert. It winds up closing that alert without creating
a game, but that's ok for now IMO.
2021-01-05 11:47:21 -08:00
Eric House
3350ca19b7 use same (new) dialog for solo games 2021-01-04 21:26:12 -08:00
Eric House
4d1e380616 Update translation files
Updated by "Cleanup translation files" hook in Weblate.
2021-01-04 12:07:13 -08:00
Eric House
65ba8cef66 use same dialog for all new networked games 2021-01-04 11:46:34 -08:00
Eric House
185abd2d04 up copyright date: Happy New Year 2021-01-04 08:23:51 -08:00
Eric House
64a470185c display known player timestamp when known (debug only)
For some reason it's getting cleared sometimes. Will fix.
2021-01-04 08:12:05 -08:00
Eric House
a3048441e9 fix the unable-to-post-alert alert
Returning null from createDialog() isn't allowed, so return this as a
fallback as before. But the old code immediately dismissed it and
created another in an infinite loop. So just suck it up and display it.
And as always hope users don't see it.
2021-01-03 17:43:28 -08:00
Eric House
bf6afb803f remove obsolete BuildConfig variable 2021-01-03 17:01:52 -08:00
Hosted Weblate
3a26e9a1ea
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2021-01-03 23:24:31 +01:00
Eric House
a8b9a6c206 Merge branch 'android_branch' of https://hosted.weblate.org/git/xwords/android into android_branch 2021-01-03 14:22:42 -08:00
Eric House
0ef43fe30a tweak alert layout 2021-01-03 14:15:57 -08:00
Eric House
672de280da squash me 2021-01-03 12:36:49 -08:00
Eric House
6f5c2799c4 Squashed commit from weblate, e.g.:
commit ef81d3ce08
Author: joaooliva <joaooliva@protonmail.com>
Date:   Sun Jan 3 18:15:16 2021 +0000

    Translated using Weblate (Portuguese (Brazil))

    Currently translated at 97.1% (867 of 892 strings)
2021-01-03 12:33:07 -08:00
joaooliva
ef81d3ce08
Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.1% (867 of 892 strings)
2021-01-03 21:27:53 +01:00
Eric House
f202ca107c make radio text larger 2021-01-03 12:26:14 -08:00
Eric House
2e3ba03f3d Squashed commit of the following:
Author: joaooliva <joaooliva@protonmail.com>
Date:   Sun Jan 3 03:54:00 2021 +0000

    Translated using Weblate (Portuguese (Brazil))

    Currently translated at 88.4% (784 of 886 strings)

Author: Luca De Filippo <luca.defilippo@translationcommons.org>
Date:   Mon Dec 14 15:04:16 2020 +0000

    Translated using Weblate (Italian)

    Currently translated at 2.8% (25 of 883 strings)
2021-01-02 20:44:28 -08:00
Hosted Weblate
9eb5bb329a
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2021-01-03 05:28:32 +01:00
Hosted Weblate
1fea94f73c
Merge branch 'origin/android_branch' into Weblate. 2021-01-03 05:28:31 +01:00
joaooliva
2a53586ada
Translated using Weblate (Portuguese (Brazil))
Currently translated at 88.4% (784 of 886 strings)
2021-01-03 05:28:30 +01:00
Eric House
4e49faac1f let background fragment post dialog
Fix -- I think -- problem where game-deleted message received but not
handled by ChatDelegate would loop forever. Fix is to let non-visible
fragments take a shot, the BoardDelegate in this case. Seems to work,
but wasn't 100% reproducible AND the fix may break something else.
2021-01-02 20:24:15 -08:00
Eric House
13c1c8c940 cleanup bits of game config dialog 2021-01-02 17:51:40 -08:00
Eric House
72f2db4f57 improve new-games dialog
Add radio buttons to make clear what the choices are. This should
eventually replace the alert that's show when you don't have any Known
Players.
2021-01-02 17:02:08 -08:00
joaooliva
2a803af158
Translated using Weblate (Portuguese (Brazil))
Currently translated at 58.1% (515 of 886 strings)
2021-01-02 22:45:28 +01:00
Eric House
07c4deb185 don't show wordlist note line unless present 2021-01-01 16:48:06 -08:00
Eric Prod
ebe1c5a22d just the message, ma'am 2021-01-01 16:15:42 -08:00
Eric House
8a6244bd9f cleanup: make config setting like all the others 2020-12-30 19:31:40 -08:00
Eric House
2df966b0cd tweak string and logging 2020-12-29 15:50:23 -08:00
Eric House
1a5d967054 up versions codes 2020-12-28 14:58:33 -08:00
Eric House
0c939984f5 choose the shortest pattern
Don't assume it's the last as previous code did
2020-12-28 14:58:33 -08:00
Eric House
d72142ad40 cleanup 2020-12-28 14:58:33 -08:00
Eric House
35bdd2282e limit pattern parse by max length of tiles 2020-12-27 11:53:36 -08:00
Eric House
d0f5d9949a handle two-letter tiles better
Choose the two-letter tile where possible. Not sure though if this is
always the right move.
2020-12-26 20:45:34 -08:00
Eric House
dc4fcada2a show wordlist's md5sum (non-release builds only) 2020-12-21 17:22:17 -08:00
Eric House
e4a3d55876 include all possible case combinations (like Spanish) 2020-12-20 21:23:45 -08:00
Eric House
9929feecdc use the last pattern when several available
For some reason, in Spanish but not Catalan, filtering doesn't work with
two-letter tiles. The reason is that e.g. with RR two patterns, R.R and
RR (i.e. two R tiles, or one RR tile), are returned. The first shouldn't
be there since there are no words with RR that are spelled with two R
tiles. Until I can fix this picking the second (last) pattern seems to
work better.
2020-12-20 21:19:51 -08:00
Eric House
15c5f18e7e update changelog 2020-12-19 15:12:21 -08:00
Eric House
5a30f75c0a Translated using Weblate (Portuguese (Brazil)) 2020-12-18 20:46:43 -08:00
Eric House
563db2f089 send language code (since name is getting localized)
Allows server to check for wordlist upgrades correctly.
2020-12-18 20:44:16 -08:00
Eric House
2b7ffb3030 don't report NULL loc strings version 2020-12-18 08:00:32 -08:00
Eric House
4f7ab4fd46 turn on batch proto for BT
Will break apps more than maybe two years old. Sad.
2020-12-17 15:51:08 -08:00
Eric House
a175ed525f add handling of new wordlist-download uri
If I can't figure out how to register for .xwd files, next best idea is
to encode a download in a custom url. This is one way of doing that, and
works with the urls just added to BYOD. Will likely change.
2020-12-17 15:37:13 -08:00
Eric House
7fd82b4831 fix to compile on raspberry pi (64-bit ARM) 2020-12-15 10:02:51 -08:00
Eric House
c2c4a0b60a Squashed commit of the following:
commit fef7443517
Merge: a9b7f64ee 62e181857
Author: Hosted Weblate <hosted@weblate.org>
Date:   Tue Dec 15 18:04:37 2020 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit 62e1818578
Author: Luca De Filippo <luca.defilippo@translationcommons.org>
Date:   Mon Dec 14 15:04:16 2020 +0000

    Translated using Weblate (Italian)

    Currently translated at 2.8% (25 of 883 strings)
2020-12-15 09:07:05 -08:00
Eric House
4936adab75 add option to output number of words 2020-12-14 08:57:11 -08:00
Eric House
4b2dd9e9c5 up version strings and changelog 2020-12-14 08:57:11 -08:00
Eric House
ef7c0965ba fix to build wordlist from current sources
I'd lost the old source, so uncompressed a current list to recreate.
2020-12-14 08:57:11 -08:00
Eric House
085aad63ee offer debug menuitems on NON_RELEASE builds
not just DEBUG
2020-12-14 08:57:11 -08:00
Eric House
731a24ba0a include mqttdevid in app info sent for upgrade check 2020-12-14 08:57:11 -08:00
Eric House
57ab42223a fix to print older wordlists with tiny headers 2020-12-14 08:57:11 -08:00