Eric House
e8beb103cb
add col to dictinfo telling whether dict is available on server
2023-05-29 16:55:14 -07:00
ssantos
b3a3bd7a37
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (885 of 885 strings)
2023-05-29 00:49:20 +02:00
ssantos
4edd5c2e7c
Translated using Weblate (German)
...
Currently translated at 100.0% (885 of 885 strings)
2023-05-29 00:49:19 +02:00
Wellington Terumi Uemura
b8522d8f20
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (885 of 885 strings)
2023-05-25 07:49:28 +02:00
Eric House
b316feb367
changelog and version strings
2023-05-24 21:49:48 -07:00
Eric House
0a912db347
move strings
2023-05-21 20:43:12 -07:00
Eric House
f9914c0fac
fix assertion by copying new field with the rest
2023-05-21 08:06:24 -07:00
ssantos
8c43e63637
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (883 of 883 strings)
2023-05-07 11:50:26 +02:00
ssantos
bb0a16bfef
Translated using Weblate (German)
...
Currently translated at 100.0% (883 of 883 strings)
2023-05-07 11:50:25 +02:00
Wellington Terumi Uemura
6fd4b53fc6
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (883 of 883 strings)
2023-05-05 23:50:19 +02:00
Eric House
93477ae744
show warnings for backup/restore on Android 9
...
Restore doesn't work there, so warn appropriately
2023-05-04 13:31:35 -07:00
Eric House
869967d1ec
move strings to where they'll be localizable
2023-05-04 11:33:53 -07:00
Eric House
4dbb7362dd
add dbg-only menuitem to set mqtt devid
2023-04-26 13:57:21 -07:00
Eric House
2c79df2f78
remove 255-char limit on chat messages.
...
If people wanna spew, let them.
2023-04-21 18:04:21 -07:00
Eric House
eab9068d89
sleep between logging assert and letting android kill the process
2023-04-20 13:15:42 -07:00
Çağkan Ünver
7b1eaf438e
Translated using Weblate (Turkish)
...
Currently translated at 10.3% (91 of 879 strings)
2023-04-15 19:48:50 +02:00
Eric House
b46b34cd70
changelog and version change
2023-04-07 10:14:40 -07:00
Hosted Weblate
ea7eccf426
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2023-04-07 05:23:09 +02:00
Eric House
021fa4e303
fix changelog not being shown
2023-04-06 20:22:29 -07:00
Eric House
131826d34f
fix release build
2023-04-06 20:22:29 -07:00
Hosted Weblate
fbd45b6a03
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2023-04-07 04:55:30 +02:00
Eric House
4a20e3d664
remove dead strings
2023-04-06 19:54:50 -07:00
Eric House
e09fb6776a
don't report game as deleted until it's at least connected
...
Otherwise remote might not have even saved it yet so of course it
won't exist.
2023-04-04 19:55:55 -07:00
Eric House
40f8f316fe
remove bogus assertion
2023-04-03 11:46:55 -07:00
FastAct
e7b81f240d
Translated using Weblate (Dutch)
...
Currently translated at 56.6% (500 of 882 strings)
2023-03-30 09:38:06 +02:00
Eric House
6828416b05
move some mqtt msg formatting into c code
...
Avoid a round-trip across the jni boundary to improve effeciency,
especially when multiple messages are involved (which is next)
2023-03-25 10:24:39 -07:00
Eric House
9cd8264e12
script change to build android from anywhere
2023-03-17 09:22:54 -07:00
Thunderstrike116
0b8f97afaf
Translated using Weblate (Greek)
...
Currently translated at 3.6% (32 of 882 strings)
2023-03-15 19:38:53 +01:00
Creeper0k
a7449033ec
Translated using Weblate (Russian)
...
Currently translated at 16.6% (147 of 882 strings)
2023-03-10 10:42:33 +01:00
Creeper0k
3c72df29a9
Translated using Weblate (Russian)
...
Currently translated at 12.9% (114 of 882 strings)
2023-03-08 12:40:50 +01:00
Eric House
eb5ed2b96d
tweak German
2023-03-02 13:13:32 -08:00
ssantos
d7fa8d7af8
Translated using Weblate (German)
...
Currently translated at 100.0% (882 of 882 strings)
2023-03-01 14:40:39 +01:00
Eric House
d0cf7fd318
fix one German string
2023-02-26 19:53:12 -08:00
Camille
8b80e9dfd5
Translated using Weblate (French)
...
Currently translated at 91.6% (808 of 882 strings)
2023-02-26 18:36:46 +01:00
Eric House
cc481373d8
use new public gameinfo api
2023-02-21 19:15:21 -08:00
Eric House
ef9ff71d8a
fix log formatting problems
2023-02-21 17:32:21 -08:00
ssantos
28f86e37c2
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (882 of 882 strings)
2023-02-19 17:39:00 +01:00
ssantos
670f2bc483
Translated using Weblate (German)
...
Currently translated at 100.0% (882 of 882 strings)
2023-02-19 17:38:59 +01:00
Eric House
89afb411bd
update INSTALL read-me file
2023-02-18 13:09:49 -08:00
Eric House
c94c7c5d35
fix offering Rematch when multiple games are selected
2023-02-18 13:09:49 -08:00
Wellington Terumi Uemura
05b463f3fb
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (882 of 882 strings)
2023-02-18 07:36:58 +01:00
Eric House
9ca291cf0d
enable rematch for 3- and 4-device games
...
Because only the host/inviter knows the addresses of all the devices
in a game it's hard for guests to rematch (unless it's a 2-device
game, as they know the host's address.) So now, as part of telling
guests the game is ready to play, include the addresses of other
guests. It's usually only 9 bytes per device, and only happens when
more than two devices are in a game.
2023-02-16 21:36:46 -08:00
Eric House
dcc9cd553c
move string into resources
2023-02-16 21:33:42 -08:00
Wellington Terumi Uemura
8613973b67
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (881 of 881 strings)
2023-02-15 11:36:15 +01:00
Thunderstrike116
94c934a241
Translated using Weblate (Greek)
...
Currently translated at 1.0% (9 of 881 strings)
2023-02-15 11:36:14 +01:00
ssantos
1b6e7b706b
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (881 of 881 strings)
2023-02-15 11:36:14 +01:00
ssantos
16f43fee44
Translated using Weblate (German)
...
Currently translated at 100.0% (881 of 881 strings)
2023-02-15 11:36:13 +01:00
Eric House
dc4032faf8
for debugging, add ability to invite via text mqtt devid
...
Add ability to copy to clipboard and then to invite by pasting from
clipboard. Makes it much easier to connect two emulator instances
where neither can camera the other's QR code.
2023-02-12 19:47:06 -08:00
Eric House
840abb4037
up version strings and changelog
2023-02-11 07:58:51 -08:00
Eric House
0e14783d3b
use negotiated streamVersion to decide what to send via MQTT
...
No point in sending the old-topic-format MQTT messages to clients that
know about the new one, and in fact it's harmful. Devices in a game
already agree on the stream version to use and communicate it, so pass
that into comms once it's known and from there on to the device code
that builds mqtt messages.
2023-02-09 16:53:18 -08:00
Eric House
4a57b76817
cleanup: pass xwe with closeProc rather than to destroy
...
It's only needed when there's a close proc, and that's rare.
2023-02-03 22:00:47 -08:00
Eric House
6584be9ec6
resendAll after mqtt host config changes
2023-02-03 17:15:02 -08:00
Eric House
4e029a0fda
optimize haveWithGameID()
2023-02-03 10:18:54 -08:00
JL Pilgram
a61725f934
Translated using Weblate (Italian)
...
Currently translated at 81.8% (720 of 880 strings)
2023-02-01 21:50:51 +01:00
Wellington Terumi Uemura
641c60779d
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (880 of 880 strings)
2023-02-01 21:50:51 +01:00
ssantos
516019a605
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (880 of 880 strings)
2023-02-01 21:50:51 +01:00
ssantos
57a54d2007
Translated using Weblate (German)
...
Currently translated at 100.0% (880 of 880 strings)
2023-02-01 21:50:50 +01:00
Hosted Weblate
bc238299c2
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2023-01-31 17:51:40 +01:00
Eric House
8cb0e83885
up version number
...
I already pushed the tag so it needs to change. No need to change
version code though and it already fails to track tag.
2023-01-31 08:43:21 -08:00
Eric House
84349cddec
fix jni crash by removing (unused) constructor
...
Older Android required a default constructor be explicily declared
unless there was none other, and the other was unused so just removed
it.
2023-01-31 08:37:04 -08:00
Eric House
d6a2004bdb
name change only
2023-01-31 08:36:49 -08:00
Hosted Weblate
19835d8dba
Update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2023-01-31 02:14:35 +01:00
Eric House
71dc5944bc
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (882 of 882 strings)
2023-01-30 17:14:11 -08:00
Eric House
c4167112c8
Translated using Weblate (German)
...
Currently translated at 100.0% (882 of 882 strings)
2023-01-30 17:13:51 -08:00
Eric House
fcff8dab35
send from inside comms_invite on Linux but not Android
...
This is probably a temporary fix for Linux not being aggressive enough
about calling comms_resendAll() when opening a game. For now, though,
test scripts fail without it.
2023-01-30 12:02:46 -08:00
Eric House
de3ebe5113
cleanup
2023-01-26 10:17:42 -08:00
Eric House
01c19d8f06
tweak getting permissions for phone and NBS
...
Use my set of permissions more than trying for individual ones, as
that's not enough on newer OS versions. Seems to work sometimes at
least, but maybe only after a new install.
2023-01-25 11:59:34 -08:00
Eric House
d863208118
make selfAddress for invitee reflect types in invitation
2023-01-25 11:55:47 -08:00
Eric House
60bc43724d
add NFC to selfAddress of new games (when supported)
2023-01-25 10:29:27 -08:00
Eric House
a18e19e574
logging change
2023-01-24 17:38:51 -08:00
Eric House
863a54bfe1
Once received, nuke invite on mqtt broker
...
To prevent deleted games' ghost invitations from remaining as
persisted on a topic and so being received over and over, have
recipient of invitation send an empty message on the same topic to
remove them. Any message sent once the game start would have replaced
the invitation, but sometimes if the sender is deleted at the right
time there's none.
2023-01-24 17:23:30 -08:00
Eric House
6bb14548c9
fix TransportSendInvt to include type
...
In failing to pass the type into TransportSendInvt I was forcing
implementations to send to all types, which led to a lot of duplicate
invitations.
2023-01-24 17:11:05 -08:00
Eric House
295ca02c84
fix race condition leading to thrashing MQTT clients
2023-01-24 12:06:06 -08:00
Eric House
f1262e49e7
remove unused util method
2023-01-16 10:10:01 -08:00
Eric House
efb6c2d0a6
remove mistaken assertion
2023-01-15 07:27:17 -08:00
Eric House
74d358a0ae
fix another mistaken int->long promotion
...
and change method names to avoid confusion later
2023-01-14 22:30:19 -08:00
Eric House
49e78f8666
tweak haveGame fix and add to changelog
2023-01-14 09:12:37 -08:00
Eric House
b003744645
provide haveGame() for gameIDs
...
Was getting false negatives when BT and WifiDir game-exists tests
passed gameID to method expecting rowid.
2023-01-13 22:15:33 -08:00
Eric House
514ca45e4f
change copyright date -- Happy New Year!
2023-01-11 20:38:40 -08:00
Eric House
a02ea95600
remove dead code: game_reset and friends
2023-01-11 12:28:09 -08:00
Eric House
baf02f6800
don't crash forever if mqtt host name mistyped
2023-01-10 22:36:52 -08:00
Eric House
08ea648a3f
changelog and version codes
2023-01-06 07:53:10 -08:00
Eric House
e2a13a0ec1
Clean up API (new objects in jni no longer scare me)
2023-01-04 20:41:45 -08:00
Eric House
4caf660c1c
cleanup
2023-01-04 14:13:53 -08:00
Eric House
f1ab7be1a3
remove assertion
2023-01-01 18:35:09 -08:00
Eric House
9e5b074f7e
remove dead strings; stage new ones
2022-12-30 15:49:06 -08:00
Eric House
837991feb4
remove timestamps from mqtt header and procs that feed it
...
It belongs in comms msg header. Also remove PROTO_2, which shipping
code can read but never could send.
2022-12-30 15:35:01 -08:00
Eric House
550248bce0
fix assertions from missing timestamps
2022-12-29 22:39:26 -08:00
Eric House
2942c140ee
consider channel when deciding if a game's present (and fix assign)
...
Rematch against self didn't work, and is useful for testing. So in
dutil method hasGame(), check if games with the same gameID are also
for the same channel. And when creating a new game for rematch, make
sure it's channel is 0.
2022-12-29 21:21:39 -08:00
Eric House
2b8c0194a2
fix string formatting mismatch
2022-12-29 07:22:54 -08:00
Eric House
ae9d576bad
fix crash when 0-length mqtt buffers arrive
...
Which is what happens when you "clear" retained messages
2022-12-28 23:21:32 -08:00
Eric House
5175775b1d
don't truncate gameID
...
In some cases games were created with 32-bit ids, and sometimes only
20 bits were used.
2022-12-27 17:38:26 -08:00
Eric House
5887140d9b
use hex for gameID in games list; fix compile error
2022-12-21 10:38:31 -08:00
Eric House
9b1fe83b61
fix to compile without DEBUG set
2022-12-21 10:29:48 -08:00
Eric House
8ce145f1fd
don't try to send invite via BT without an address
2022-12-21 08:30:09 -08:00
Eric House
933da2de07
API cleanup and all done
...
This should complete sending to multiple topics (for backwards
compatibility) and supporting combined messages in the future (sending
them is hard; receiving not so much.)
2022-12-20 11:55:30 -08:00
Eric House
233a9c465d
snapshot: message sending works on android
2022-12-20 09:02:17 -08:00
Eric House
b179a0bade
remove dead code
2022-12-18 18:50:05 -08:00
Eric House
3b6132d8a1
remove stuff that wasn't meant to get pushed
2022-12-18 16:21:51 -08:00
Eric House
096c13614a
use ifdefs to go back to using only old-style per-device topics
2022-12-18 16:17:05 -08:00