Commit graph

13225 commits

Author SHA1 Message Date
Eric House
a83fbfebe2 hide name edit for existing games
This is a simpler fix that making it editable, as the name's in the
titlebar etc.
2022-10-09 08:07:12 -07:00
Eric House
4f8afadb25 toward adding name to config and transmitting it 2022-10-09 08:06:51 -07:00
Eric House
828f8b3af3 add support for non-empty Turkish wordlist 2022-10-07 08:12:56 -07:00
Eric House
2312290987 make only 15-letters dicts by default 2022-10-06 15:25:25 -07:00
Eric House
0663bbab5b fix test script param 2022-10-06 08:45:03 -07:00
Eric House
fad2c7b3c1 add assert and a debugging aid 2022-10-06 08:45:03 -07:00
Eric House
5c40f175bb work around old unstarted games where gi only was saved
I think....
2022-10-06 08:45:03 -07:00
ssantos
f74db30a5d
Translated using Weblate (Portuguese)
Currently translated at 100.0% (887 of 887 strings)
2022-10-04 17:20:05 +02:00
ssantos
9965119ad7
Translated using Weblate (German)
Currently translated at 99.6% (884 of 887 strings)
2022-10-04 17:20:04 +02:00
Kateryna Golovanvoa
e90092a0d5
Translated using Weblate (Russian)
Currently translated at 7.7% (69 of 887 strings)
2022-10-02 05:22:26 +02:00
Anna Malinovskaia
b3b283121b
Translated using Weblate (Russian)
Currently translated at 7.1% (63 of 887 strings)
2022-09-28 03:19:09 +02:00
Kateryna Golovanvoa
4c28c0b6c1
Translated using Weblate (Russian)
Currently translated at 7.1% (63 of 887 strings)
2022-09-28 03:19:09 +02:00
Kateryna Golovanvoa
d33a077f48
Translated using Weblate (Russian)
Currently translated at 3.1% (28 of 887 strings)
2022-09-24 20:24:30 +02:00
Eric
98b1567a87
Translated using Weblate (Chinese (Simplified))
Currently translated at 8.6% (77 of 887 strings)
2022-09-17 13:21:31 +02:00
Eric House
e55212df9f improve new game creation
There was some confusion around host and self addresses, where they're
created, default values, removing conTypes from defaults that are not
in received host addr, etc. I left in some asserts to help understand
if code that seems wrong but hard to fix is still getting called.
2022-09-14 21:37:44 -07:00
Eric House
11c2cca9b0 fix failure to launch url intent on Android 12 2022-09-13 18:15:12 -07:00
Eric House
b4a0616dfc fix so wordlist upgrades work again
Not sure when this broke...
2022-09-11 21:19:53 -07:00
Eric House
ce579213b1 fix asserts 2022-09-06 20:38:56 -07:00
Eric House
674c811a09 pass addresses to game on creation
Current networking, based on invitations rather than a relay that
plays matchmaker, allows host to know its address when a game is
created, and for guest to know its host's address in
addition. Enforcing this makes inviting and rematching in common
code (coming soon) easier. Big change on Android is I used to create a
new game prior to passing it to GameConfigDelegate, but now I have to
wait for user to configure (including choosing how to communicate)
before I can create it.
2022-09-06 18:21:53 -07:00
Eric House
ca2d97e647 add fields missing from missing from copy constructor 2022-09-06 11:40:09 -07:00
Eric House
881b9a92ad cleanup 2022-09-06 11:40:09 -07:00
Eric House
381b014b8b change name for clarity 2022-09-06 11:40:09 -07:00
Eric House
4996d3fe89 improve comms address tracking (breaks android for now)
Remove legacy relay-inspired logic around comms addressing. Now when a
device creates a game it's required to provide its "self address," and
if it's a client, the address of the host (which it presumably got
through the invitation in response to which the game is being
created.) Then as registration messages come in from clients, the host
gathers their addresses as always.
2022-09-06 11:40:09 -07:00
Eric House
ad8b81baf5 makefile for CSW21 2022-09-06 11:40:09 -07:00
ssantos
be4c199203
Translated using Weblate (Portuguese)
Currently translated at 98.0% (870 of 887 strings)
2022-09-02 22:16:47 +02:00
ssantos
894fe674cd
Translated using Weblate (German)
Currently translated at 92.1% (817 of 887 strings)
2022-09-01 14:22:50 +02:00
Eric House
2c80787f5c fix gtk invite for sms 2022-08-26 13:26:03 -07:00
Eric House
4ba1b2418c cleanup: remove some relay stuff 2022-08-25 11:20:26 -07:00
Eric House
3c9626c5ba always include ISO, even if including old langCode 2022-08-25 11:20:26 -07:00
Hugel
b54065d416
Translated using Weblate (Chinese (Simplified))
Currently translated at 7.5% (67 of 887 strings)
2022-08-25 18:19:43 +02:00
Eric House
baed9b16e5 back to android 30 for the time being
I'm going to make the 31 permission changes on a separate branch
2022-08-23 10:31:59 -07:00
Eric House
63a80b3726 Merge branch 'fixing-190' into android_branch 2022-08-22 11:51:40 -07:00
Eric House
dbe7ab5ae1 up release and changelog 2022-08-22 11:27:34 -07:00
Eric House
b93a9202e7 minimal changes for crash-fix release
* Unsubscribe all topics, not just one
* Use English when language not available to avoid NPE
* Use the same androidx component as everywhere else
2022-08-22 09:19:09 -07:00
Eric House
ccff0bd15e more fixes for Android 31
FLAG_IMMUTABLE and android:exported="true"
2022-08-20 12:33:48 -07:00
Eric House
20b29d026c Merge branch 'android_branch' of github.com:eehouse/xwords into android_branch 2022-08-20 12:17:36 -07:00
Eric House
8dac8910ae changelog and version strings 2022-08-20 12:14:22 -07:00
Eric House
653310ce2a fix manifest to work for Android 31 and above 2022-08-20 12:14:18 -07:00
Eric House
d1e462a0ba fix manifest to work for Android 31 and above 2022-08-20 11:58:20 -07:00
Eric House
1b9fd67e9f logging cleanup 2022-08-20 10:24:29 -07:00
Eric House
bab96c4528 work around NPE by defaulting to English
Somehow getLangIsoCode() is returning null when called early in app
launch, on some subset of devices the Play Store isn't
identifying. I'm just going to default to "en" when that happens.
2022-08-20 10:10:41 -07:00
Eric House
4ab88eb572 revert test for connectedness in mqtt shutdown
An assertion's firing indicating I don't understand what's going
on. Let's study some more first.
2022-08-20 09:55:59 -07:00
Eric House
d0b180a41d use androidX.preference.PreferenceManager everywhere
I'd left one file out when converting
2022-08-20 09:16:33 -07:00
Eric House
4106765d53 add some consts 2022-08-16 18:28:53 -07:00
Eric House
2638533e6f turn net state listening back on for MQTT
I'd removed it when the relay went away, but MQTT apparently doesn't
listen for network changes on its own and so there was no attempt to
resend messages when the device regained connectivity. Now there
is. Old logic to avoid thrashing remains and is not tested with MQTT
-- shouldn't need to be....
2022-08-14 11:38:42 -07:00
Eric House
e46fd52e00 remove assert that's firing and so obscuring logging of cause 2022-08-14 10:14:11 -07:00
Eric House
29a6ededda fix topic; don't try to unsubscribe or disconnect if not connected 2022-08-13 12:26:25 -07:00
Eric House
e05a18bdbb up target sdk to 31
Looks like that'll be required soon
2022-08-11 10:40:18 -07:00
Eric House
12511755a8 require --variant parameter 2022-08-10 18:18:08 -07:00
Eric House
0e9235dcd0 up version code 2022-08-10 12:13:50 -07:00