Eric House
31593aaeda
call setRetained on all outbound messages
2022-12-13 17:41:48 -08:00
Eric House
e051fa04f9
fix robot having human name in config dialog
2022-12-13 06:13:03 -08:00
Eric House
988cf7f175
remove mistaken assert
2022-12-11 21:08:24 -08:00
Eric House
53e1a68d6d
track, and offer to display, comms-sent invites like others
...
I'm only keeping the most recent since they're sent every time a game
opens, app launches, etc.
2022-12-10 22:17:14 -08:00
Hosted Weblate
b8a9e1715a
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-12-10 17:09:33 +01:00
Hosted Weblate
693ded041b
Merge branch 'origin/android_branch' into Weblate.
2022-12-10 17:09:32 +01:00
Viktória Nagy
df70b0dbb5
Translated using Weblate (Hungarian)
...
Currently translated at 10.5% (93 of 883 strings)
2022-12-10 17:09:31 +01:00
Eric House
ed21fe01f4
remove dead string
2022-12-10 08:09:19 -08:00
ssantos
497bac22dd
Translated using Weblate (German)
...
Currently translated at 99.8% (882 of 883 strings)
2022-12-09 15:48:20 +01:00
Wellington Terumi Uemura
89d0572fd7
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (883 of 883 strings)
2022-12-07 14:48:29 +01:00
Eric House
aea7c3fd92
always save known player game start time
...
Was only saving it in case of conflict, which is rare
2022-12-06 07:45:10 -08:00
Hosted Weblate
a14e08240f
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-12-06 06:21:59 +01:00
Eric House
a2806f1c3f
show known player name of missing host
...
This is for debugging use only for now, but it's useful when a host
seems non-responsive to know which it is.
2022-12-05 21:21:46 -08:00
Hosted Weblate
ce8372f46a
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-12-05 22:57:20 +01:00
Hosted Weblate
9c0ec79424
Merge branch 'origin/android_branch' into Weblate.
2022-12-05 22:57:19 +01:00
Wellington Terumi Uemura
cbaee81ec9
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (886 of 886 strings)
2022-12-05 22:57:19 +01:00
Eric House
48748110ed
get rid of banned-nbs info -- been long enough
2022-12-05 13:56:12 -08:00
Eric House
47a5e66d72
perms now needed for NBS
2022-12-05 13:56:12 -08:00
Eric House
3826ddfbff
don't ask for phone permissions if can't send NBS
2022-12-05 13:56:12 -08:00
Eric House
af8c7b9900
remove notion of banned permissions
2022-12-05 13:56:12 -08:00
Eric House
e5d91be4c4
add another bt perms test
2022-12-05 13:56:12 -08:00
Eric House
871a45d3d3
add permissions
2022-12-05 13:56:12 -08:00
Eric House
f72a6c1b88
default nbs_port to 0
...
Shouldn't be referenced at all on GPlay builds, but that's more work
2022-12-05 13:54:49 -08:00
Eric House
93db9f5add
remove REQUEST_INSTALL_PACKAGES from all variants
...
And start adding it to those not on the Play Store
2022-12-05 13:54:02 -08:00
Eric
c5e24d1294
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 8.6% (77 of 886 strings)
2022-12-03 14:48:51 +01:00
Lucie Vávrová
8d9e478487
Translated using Weblate (Czech)
...
Currently translated at 18.8% (167 of 886 strings)
2022-12-03 14:48:51 +01:00
ssantos
c2d1eef69c
Translated using Weblate (Portuguese)
...
Currently translated at 99.8% (885 of 886 strings)
2022-11-25 22:47:47 +01:00
ssantos
cfdec4f22e
Translated using Weblate (German)
...
Currently translated at 99.8% (885 of 886 strings)
2022-11-25 22:47:47 +01:00
Eric House
3e32fdb840
sort words using blanks behind those not
...
Engine shouldn't be so stupid as to play a blank for 0 points. So when
comparing two moves, sort first on score, then use number of blanks
used to break any ties.
2022-11-24 08:25:40 -08:00
Eric House
9f37faff7c
make NBS invitations work through new comms mech
2022-11-24 08:25:40 -08:00
Eric House
ad6bf4a976
add fdroid sha256 so invitations work there too
2022-11-24 08:25:40 -08:00
Wellington Terumi Uemura
43c712d7fe
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (886 of 886 strings)
2022-11-19 23:48:31 +01:00
Eric House
929de903f4
don't hide delete box for archived games
2022-11-19 09:07:11 -08:00
Eric House
34f68a435b
include game name in nli when rematching
2022-11-18 21:52:10 -08:00
Hosted Weblate
e7cebe1d46
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-11-18 21:21:31 +01:00
Eric House
9881305c97
remove REQUEST_INSTALL_PACKAGES from google play variants
2022-11-18 12:21:19 -08:00
Hosted Weblate
7a129c5a5b
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2022-11-18 20:17:31 +01:00
Eric House
0141f110be
fix to compile without DEBUG set
2022-11-18 11:09:22 -08:00
Eric House
067ceffc53
fix theme sharing
...
Had broken it when adding 21x21 board support, and it looks as if I
never hooked up receiving the incoming theme URLs.
2022-11-18 11:09:22 -08:00
Eric House
e59161ae2d
fix crash starting three-device games
2022-11-18 11:09:22 -08:00
Eric House
b999da1a92
remove BT perms crashes and fix so BT invitations work
2022-11-18 11:09:22 -08:00
Eric House
8ca83ae871
add BT permissions requests
2022-11-18 11:09:22 -08:00
Eric House
43a96fb6fc
get rid of stuff trying to support two sdk versions
2022-11-18 11:09:22 -08:00
Eric House
2d30854949
better way to create enum
2022-11-18 11:09:22 -08:00
Eric House
3c3e148ae8
more permission checks
2022-11-18 11:09:22 -08:00
Eric House
551c5332c4
more permissions checking
2022-11-18 11:09:22 -08:00
Eric House
347e54d2e7
start checking for BT permissions
2022-11-18 11:09:22 -08:00
Eric House
c888e2621b
builds for both 30 and 31 (with manual changes)
2022-11-18 11:09:22 -08:00
Eric House
7620e64516
switch DBG build to sdk 31
...
Now if I grant the permission manually in Settings the app doesn't
crash trying to use Bluetooth. Can't test for or ask for it yet.
2022-11-18 11:09:22 -08:00
Eric House
92b02fccb7
cleanup
2022-11-18 11:09:22 -08:00
Eric House
4419e0347c
remove unused property
2022-11-18 11:09:22 -08:00
Eric House
93e6e315db
fix to not crash, and exit cleanly, when opening unopenable games
...
When e.g. I open a game saved with a newer stream version flag it as
bad rather than asserting each time.
2022-11-18 11:09:22 -08:00
Eric House
e7861dca48
fix crashes when emulator decides it supports Bluetooth
2022-11-18 11:09:22 -08:00
Eric House
86303475af
fix assertion firing when relay address still present
2022-11-18 11:09:22 -08:00
Eric House
a2667eab0b
tweak search order and remove relay
...
Can't rematch using the relay any more!
2022-11-18 11:09:22 -08:00
Eric House
ec71ea349e
remove dead code
2022-11-18 11:09:22 -08:00
Eric House
f2b034d710
recognize in-comms invites when opening incomplete game
...
Android offers to invite when it thinks no invitations have been
sent. Now it knows about those buried in comms.
2022-11-18 11:09:22 -08:00
Eric House
6f57665da2
pass number of pending comms invites into informMissing()
2022-11-18 11:09:22 -08:00
Eric House
e8d2c4d600
add channel to nli logging
2022-11-18 11:09:22 -08:00
Eric House
403bbafb0d
go back to quarantine requiring two failures to close
2022-11-18 11:09:22 -08:00
Eric House
924695d3fb
add new stream version that skips relay and allows longer string
...
And remove some dead code
2022-11-18 11:09:22 -08:00
Eric House
41d9d4a254
complete getUsername() impl to call into prefs for user choice
2022-11-18 11:09:22 -08:00
Eric House
848ae6f0f6
remove dead code; assert other dead
...
Adding asserts to confirm that code that shouldn't be called in fact
isn't.
2022-11-18 11:09:22 -08:00
Eric House
ee6c88b944
fix inviting known players by adding invitee to new game creation
2022-11-18 11:09:22 -08:00
Eric House
12d8a092d7
move getUsername() to dutils to avoid crash
...
Being in util meant the default implementation got called, and that
returned a null string: boom.
2022-11-18 11:09:22 -08:00
Eric House
34a72705c0
set quarantine count to 1 for debug builds
2022-11-18 11:09:22 -08:00
Eric House
be9d80533e
cleanup and add helper functions
...
Looking toward a time when channelNo's high-order bits ensuring the
right device is receiving messages go away.
2022-11-18 11:09:22 -08:00
Eric House
e960877256
more
2022-11-18 11:09:22 -08:00
Eric House
066232d234
more stuff
2022-11-18 11:09:22 -08:00
Eric House
f2809e6e15
start of getting rid of gameID part of channelNo
...
Don't seem to need it post-relay, and it complicates things when
invitations are messages too.
2022-11-18 11:09:22 -08:00
Eric House
9a7946de36
fix stall showing up in curses test app
...
Duplicate messages early on, which happened only in the test script
but could have anywhere, broke connectivity. So don't kill address
records when a duplicate shows up. Dupes only escape message ID
checking early (before channel is established). I used to remove
address records when a message was rejected, but don't understand why
so removed that, though asserts show it's not mattering except for
those early messages.
2022-11-18 11:09:22 -08:00
Eric House
0ed20391c3
save game before summary (summary does UPDATE only, not INSERT)
2022-11-18 11:09:22 -08:00
Eric House
4cfc781cd7
remove assert (until I figure out why firing)
2022-11-18 11:09:22 -08:00
Eric House
f5cc23f591
add assert
2022-11-18 11:09:22 -08:00
Eric House
1e447e9d60
move TransportProcs into cGlobals to fix gtk crash
2022-11-18 11:09:22 -08:00
Eric House
47ea296c39
fix crash by passing missing proc ptrs
2022-11-18 11:09:22 -08:00
Eric House
f2b707ed4d
add assert to test where param is unnecessary
2022-11-18 11:09:22 -08:00
Eric House
e372b5e6d1
set game name from nli
2022-11-18 11:09:22 -08:00
Eric House
758a157472
check for dict before making game from invite
...
This belongs in common code but that's for later.
2022-11-18 11:09:22 -08:00
Eric House
75eaadaddb
cleanup -- belongs on main
2022-11-18 11:09:22 -08:00
Eric House
5a5a8e7db8
make games connect after creation from invitation
2022-11-18 11:09:22 -08:00
Eric House
3923a2d9a6
check for duplicate invites; don't create if found
...
Add dutil proc haveGame() and use it to detect duplicate
invitations. I'm passing, but ignoring on android, the channel, which
means that for now you can't invite yourself and on-device testing
requires having CrossWords and CrossDbg or a second user.
2022-11-18 11:09:22 -08:00
Eric House
2a861db675
remove dead code
2022-11-18 11:09:22 -08:00
Eric House
980ba68297
fix stuff crashing android
2022-11-18 11:09:22 -08:00
Eric House
7587653541
fix memory leaks; get curses using new invite resp. code
2022-11-18 11:09:22 -08:00
Eric House
766554d3f5
snapshot: rematch and invitation handling most work from common
...
But curses will crash, duplicates and missing dicts aren't handled,
etc.
2022-11-18 11:09:22 -08:00
Eric House
8a64d53f61
cleanup
2022-11-18 11:09:22 -08:00
Eric House
6b29ee92e6
tweaks to game_makeRematch
2022-11-18 11:09:22 -08:00
Eric House
b9c6551e8b
merge android_branch changes to comms_make
...
Not tested at all on android
2022-11-18 11:09:22 -08:00
Eric House
d1a9c07adc
fix so invites work, at least in simple case
2022-11-18 11:09:22 -08:00
Eric House
10bbab88bf
tweak
...
There's an assertion I need to remove or understand here.
2022-11-18 11:09:22 -08:00
Eric House
98184b9e47
fix to compile and allow invites too late
...
The curses test scripts keep sending invitations, so don't assert
that's not true.
2022-11-18 11:09:22 -08:00
Eric House
16857ab74a
snapshot: comms_invite() call gets to jni
2022-11-18 11:09:22 -08:00
Eric House
5bc2a38439
fix so invite via SMS works too (discon_ok2 test passes)
2022-11-18 11:09:22 -08:00
Eric House
61faf1a730
support comparing SMS addresses too
2022-11-18 11:09:22 -08:00
Eric House
8a91970ba8
add sms for curses (untested)
2022-11-18 11:09:22 -08:00
Eric House
b4e197f8af
snapshot: mqtt invites for gtk work via comms
...
Merge that won't compile, but I want it to start fromp
2022-11-18 11:09:22 -08:00
Alejandro Rodriguez
31777c3807
Translated using Weblate (Spanish)
...
Currently translated at 36.1% (321 of 887 strings)
2022-11-17 14:46:59 +01:00
Alejandro Rodriguez
c3da21c707
Translated using Weblate (Spanish)
...
Currently translated at 36.0% (320 of 887 strings)
2022-11-15 21:47:20 +01:00
Alejandro Rodriguez
74b8468ae7
Translated using Weblate (Spanish)
...
Currently translated at 35.9% (319 of 887 strings)
2022-11-12 12:50:41 +01:00
Eric House
3b71ba9aca
Merge branch 'for-fdroid-193' into android_branch
2022-11-11 13:11:16 -08:00
Eric House
1ba8148dd1
update change log and version strings
2022-11-11 12:59:02 -08:00
Eric House
98dd2148ce
use constant for flag that must change with sdk version
2022-11-11 12:59:02 -08:00
Eric House
93902d6336
set sdk versions per variant
...
Prev build will crash on android 12 because it claims to know about
sdk 31 but gets Bluetooth permissions wrong. It's been released on
fdroid due to miscommunication. Fix will be to roll non-gplay variants
back to 30 for now. I'm deliberately breaking gplay builds because
nothing should ship there until I sort out the permissions stuff 31
requires. (Shipping 30 is no longer possible for the gplay store.)
2022-11-11 11:59:33 -08:00
Eric House
041f21f1a5
Merge branch 'branch-192' into android_branch
2022-11-07 09:57:34 -08:00
Eric House
7ca39180ab
up version strings and changelog
2022-11-05 20:47:52 -07:00
Eric House
3caa0f14e8
fix failure to launch url intent on Android 12
2022-11-05 20:45:06 -07:00
Eric House
edc9d34654
fix so wordlist upgrades work again
...
Not sure when this broke...
2022-11-05 20:45:06 -07:00
Eric House
458eeb7176
add fields missing from missing from copy constructor
2022-11-05 20:45:06 -07:00
Eric House
9429fd34e6
more fixes for Android 31
...
FLAG_IMMUTABLE and android:exported="true"
2022-11-05 20:45:06 -07:00
Eric House
5654602662
fix manifest to work for Android 31 and above
2022-11-05 20:45:06 -07:00
Eric House
85e6fb0dbf
up target sdk to 31
...
Looks like that'll be required soon
2022-11-05 20:45:06 -07:00
Alejandro Rodriguez
07d4690b95
Translated using Weblate (Spanish)
...
Currently translated at 34.1% (303 of 887 strings)
2022-11-05 20:45:06 -07:00
liimee
394ff601f6
Translated using Weblate (Indonesian)
...
Currently translated at 36.5% (324 of 887 strings)
2022-11-05 13:33:12 -07:00
ssantos
cf824a3241
Translated using Weblate (German)
...
Currently translated at 99.8% (886 of 887 strings)
2022-11-05 13:33:12 -07:00
ssantos
d42eb06100
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (887 of 887 strings)
2022-11-05 13:33:12 -07:00
ssantos
5a02a53f3c
Translated using Weblate (German)
...
Currently translated at 99.6% (884 of 887 strings)
2022-11-05 13:33:12 -07:00
Kateryna Golovanvoa
1f46d1783e
Translated using Weblate (Russian)
...
Currently translated at 7.7% (69 of 887 strings)
2022-11-05 13:33:12 -07:00
Anna Malinovskaia
d5cdc2f7f6
Translated using Weblate (Russian)
...
Currently translated at 7.1% (63 of 887 strings)
2022-11-05 13:33:12 -07:00
Kateryna Golovanvoa
8c54584eae
Translated using Weblate (Russian)
...
Currently translated at 7.1% (63 of 887 strings)
2022-11-05 13:33:12 -07:00
Kateryna Golovanvoa
82312fe9ae
Translated using Weblate (Russian)
...
Currently translated at 3.1% (28 of 887 strings)
2022-11-05 13:33:12 -07:00
Eric
f30ff9ea61
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 8.6% (77 of 887 strings)
2022-11-05 13:33:12 -07:00
ssantos
1cfe4ec854
Translated using Weblate (Portuguese)
...
Currently translated at 98.0% (870 of 887 strings)
2022-11-05 13:33:12 -07:00
ssantos
5d07e8d48b
Translated using Weblate (German)
...
Currently translated at 92.1% (817 of 887 strings)
2022-11-05 13:33:12 -07:00
Hugel
86ec37cd9f
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 7.5% (67 of 887 strings)
2022-11-05 13:33:12 -07:00
Eric House
ecf3b0cae9
server-side file required for Android 12 deep links
2022-11-05 13:33:12 -07:00
Eric House
66914ad341
get deep links to the point where adb launches on android 12
2022-11-05 12:01:20 -07:00
Eric House
6f5ae560e1
use https for deep links
2022-11-05 12:01:05 -07:00
Eric House
3eb07410bd
don't show delete checkbox if there are un-ack'd messages
2022-11-04 10:08:24 -07:00
Eric House
7c33bb41af
add note explaining source
2022-11-04 10:08:24 -07:00
liimee
d7f8fa8d9b
Translated using Weblate (Indonesian)
...
Currently translated at 36.5% (324 of 887 strings)
2022-10-30 06:07:28 +01:00
ssantos
3167050b14
Translated using Weblate (German)
...
Currently translated at 99.8% (886 of 887 strings)
2022-10-10 20:02:58 +02:00
Eric House
29d44cd49c
use an explicit mapping to uppercase Turkish
...
Sed is otherwise turning stuff into 'I' that shouldn't be
2022-10-09 10:40:04 -07:00
Eric House
a672728305
fix crash using wrong widget id
2022-10-09 08:07:58 -07:00
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
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
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
Eric House
52c7ced4aa
changelog
2022-08-10 12:13:50 -07:00
Eric House
cd9ea8ce3f
oops: don't revert the bug-fix change to server.c
2022-08-10 12:13:50 -07:00
Eric House
cb362618e9
revert move-reporting changes
...
They need more testing before the next release, and are fine except
for duplicate-mode play.
2022-08-10 13:33:18 -05:00
Eric House
2a13229a40
revert MQTT disconnect changes
...
They seem to be causing problems and need to be part of a later
release with more testing.
2022-08-09 21:16:16 -07:00
Eric House
0497a456e7
cleanup
2022-08-09 22:39:41 -05:00
Wellington Terumi Uemura
518fcc4a70
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (887 of 887 strings)
2022-08-10 04:18:54 +02:00
Eric House
736dc2039c
tweak explanations for new game-over dialog checkboxes
2022-08-07 20:24:24 -07:00
Eric House
896e86fd28
Fix NPE most likely due to empty getLanguage() result
2022-08-07 19:28:12 -07:00
Eric House
97f280a6ea
don't shut down MQTT levels we didn't reach
...
This is a shot-in-the-dark at internal MQTT crashes being reported
through the Play Store.
2022-08-06 20:52:50 -07:00
Eric House
37b5f80e05
Use Object... in a few more methods
2022-08-06 11:07:28 -07:00
Eric House
47abbf39be
Use Object... in place of Object[] everywhere for consistency
2022-08-06 11:07:20 -07:00
Eric House
6397f3f27c
Fix game-over alert to allow deletion
...
Add checkboxes to allow delete or archive action to be scheduled for
after a rematch is done. The UI's a bit awkward. NA tips help,
but it may be possible to make it easier to understand.
2022-08-06 11:07:15 -07:00
Eric House
11ea30c882
make alert builders take varargs to simplify calling
...
Required making the string res id the last arg rather than first,
but let me clean up a bunch of code. Should be no behavior change
at all.
2022-08-06 06:49:06 -07:00
Eric House
c00bbf8ef1
simplify move expl tracking; don't show for dup-mode robots
...
Removed a boolean that seemed unnecessary. Stopped showing
move-explanations for robots in duplicate mode. They were being shown
too early thanks to bad logic, but I don't think there's any call for
them at all. A robot's move is only interesting if it's the one that
wins the turn.
2022-08-04 16:03:07 -07:00
Eric House
818868bdb2
remove undo as an option for duplicate mode games
2022-08-03 19:54:53 -07:00
Anupam Malhotra
345f104505
Translated using Weblate (Spanish)
...
Currently translated at 18.6% (165 of 884 strings)
2022-08-03 18:14:54 +02:00
Eric House
e6d516ca1d
remove assertion firing in dup mode
...
The assertion's clearly blocking testing, but I'm not sure it's not an
error for two move explanations to want to co-exist. For now they're
concatenated.
2022-08-01 13:05:19 -07:00
Eric House
7d3502eddd
cleanup and force draw
...
Got rid of pre-cairo drawing stuff, but that didn't fix drawing not
happening without something like a window resize to force it. Instead
I added a manual gtk_widget_queue_draw() call. It's gross, but I'm
this app's only user. :-)
2022-07-31 17:57:57 -07:00
Eric House
10a2c5e4b7
fix assertion failure in dupe mode
2022-07-30 19:50:09 -07:00
Eric House
76f943de36
update changelog
2022-07-28 18:04:46 -07:00
Eric House
9357328747
Fix curses api misuse flagged by new C compiler
2022-07-28 12:00:12 -07:00
Laura Vasconcelos Pereira Felippe
de6b1a3560
Translated using Weblate (Portuguese)
...
Currently translated at 93.6% (828 of 884 strings)
2022-07-26 16:23:12 +02:00
ssantos
bcb3f91f0d
Translated using Weblate (German)
...
Currently translated at 86.3% (763 of 884 strings)
2022-07-20 19:19:39 +02:00
Eric House
27d5127f12
cleanup
2022-07-16 15:39:32 -07:00
Wellington Terumi Uemura
68e3a3337d
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (884 of 884 strings)
2022-07-14 06:16:28 +02:00
joe
bb6b102c85
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 6.3% (56 of 884 strings)
2022-07-14 06:16:27 +02:00
Hosted Weblate
f30ebdee54
Merge branch 'origin/android_branch' into Weblate.
2022-07-12 23:36:24 +02:00
Wellington Terumi Uemura
05a6cc16fe
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (881 of 881 strings)
2022-07-12 23:36:24 +02:00
Eric House
e9f95180e5
add debug-only menu in place of always showing net status
...
I want to add a relay2 API that'll tell how long it's been since peer
connected etc. First will show it in debug-only builds via this menu.
2022-07-12 14:35:59 -07:00
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
882c717add
cleanup/fix compiler warning
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
8c4a1d2be6
add support for Dazaga language
2022-06-05 16:38:23 -07:00
Eric House
fd726a9563
add support for Tudaga language
2022-06-05 16:27:26 -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
20df5fec3a
add command to print language name
2022-06-05 13:47:29 -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
7e591f39a5
log isoCode
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
ba132bb23d
Replace LangCode with ISOCode, linux and common side
...
This will break the Android build, but it's the order in which I
work...
2022-06-05 09:07:01 -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
0e665a990e
add langName and isoCode to dict struct
2022-05-28 09:00:20 -07:00
Eric House
8c335aace3
fix crash on shutdown (post-relay world)
2022-05-28 08:49:07 -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
2937aed7e1
log caller/lineno when string in stream too long
...
I'm seeing it and so want it logged in the future
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
babccc9e21
logf -> logff
2022-05-10 20:54:25 -07:00
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