ssantos
41e4da2b04
Translated using Weblate (Portuguese)
...
Currently translated at 99.8% (881 of 882 strings)
2022-12-14 22:50:35 +01:00
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