Commit graph

92 commits

Author SHA1 Message Date
Eric House
7c7234f06c fix release-build compile warnings 2024-12-26 13:53:47 -08:00
Eric House
85ed7c0e5f remove some logging 2024-12-03 21:21:24 -08:00
Eric House
1a8979c549 cache mqttdevid to avoid lots of calls across jni boundary 2024-12-03 21:21:24 -08:00
Eric House
a60451d84c tweak logging around message parsing where crash seems to be 2024-12-03 21:21:24 -08:00
Eric House
c5730c4ff0 fix warning 2024-11-11 07:01:50 -08:00
Eric House
e4f10d4850 more ANR/crash logging 2024-11-02 21:11:00 -07:00
Eric House
f4c080cdf7 trivial API change
any key concatenation should be in common/ code
2024-11-01 08:18:06 -07:00
Eric House
bc695d1a65 add a bit of logging in search of ANR 2024-10-31 20:06:30 -07:00
Eric House
f4af1d69ea for emacs: move compile-command into directory-scoped file 2024-10-10 07:40:38 -10:00
Eric House
c23904fbb0 get qos from server, and use unless overridden by local settings 2024-09-02 12:49:06 -07:00
Eric House
4b1faec5f4 set ack timer to 5 seconds instead of 7.5 2024-09-02 12:49:06 -07:00
Eric House
466abffc43 rewrite mutex stuff to make timeout/asserting easier 2024-08-20 22:03:08 -07:00
Eric House
db35adbada use xwmutex more 2024-08-20 06:57:23 -07:00
Eric House
c45638e037 pool acks and send using a timer (untested on Android) 2024-08-19 06:56:33 -07:00
Eric House
f406757fb2 add generic timers (with dutil component for scheduling) 2024-08-12 21:11:14 -07:00
Eric House
c09ac28759 fix warnings about zeroing static structs (no behavior change) 2024-08-07 22:29:46 -07:00
Eric House
4ab6b1930f new stats module gathering data for debugging and upload (soon) 2024-08-07 08:16:12 -07:00
Eric House
daacc66ffe send ack info as array for later optimization 2024-07-30 16:15:44 -07:00
Eric House
b8e2877880 remove some logging 2024-07-28 08:48:33 -07:00
Eric House
a3078fb549 cleanup: fix flashing quarantine count and reduce logging 2024-07-19 22:48:34 -07:00
Eric House
9c96397ece plug memory leak 2024-07-09 21:43:43 -07:00
Eric House
18bbc37516 cleanup and fix for release builds 2024-04-26 10:29:43 -07:00
Eric House
21990ece1c Display "legal phonies" using same code as studylist words
Converted studylist to Kotlin, then made most of it a superclass
from which legal phonies display also inherits
2024-04-26 10:29:40 -07:00
Eric House
c73fcd336e cleanup from code review 2024-04-18 11:15:44 -07:00
Eric House
3a4748b7f7 remove release compile errors 2024-04-13 17:16:47 -07:00
Eric House
7d1636d65f cleanup approved phonies UI 2024-04-09 11:23:06 -07:00
Eric House
8be9d18287 new feature to remember acceptable phonies
Present to user option to remember "phonies", words played but not
in the current wordlist. They're stored by language (not by wordlist)
and not available for hints or the robot to use (as that would require
incorporating them into a wordlist, a much larger change.)
2024-04-09 10:52:43 -07:00
Eric House
e61573928e more safety checks 2024-03-04 10:45:30 -08:00
Eric House
2b58cc702a test for stream size 2024-03-04 10:21:08 -08:00
Eric House
fae8c0e28f check for null 2024-03-01 08:59:02 -08:00
Eric House
8643c8ae83 fix npe when network fails 2024-02-29 12:14:22 -08:00
Eric House
bb1a589ab0 make non-debug build compile 2024-02-27 16:07:47 -08:00
Eric House
b791d8eb99 cleanup from code review 2024-02-27 15:59:42 -08:00
Eric House
38889ac0d6 snapshot: cleanup cleanup 2024-02-18 19:28:29 -08:00
Eric House
9f514a4b85 snapshot: async return of web api result works both platforms 2024-02-18 19:28:29 -08:00
Eric House
47f06d4cb3 snapshot: reg works from Android and Linux 2024-02-18 19:28:29 -08:00
Eric House
7200833d27 snapshot: registering from linux works 2024-02-18 19:28:29 -08:00
Eric House
ee26816420 remove ackMQTTMsg() in favor of sendViaWeb()
Linux still doesn't work. I need to figure out curl :-(
2024-02-18 19:28:29 -08:00
Eric House
ab8d3d168c new API for general-purpose web api sends
Will later expand to include a callback for when the (async) web API
returns.
2024-02-18 19:28:29 -08:00
Eric House
55e36e10a7 new script to run many games per device
I need it to be much closer to Android....
2023-11-27 21:32:43 -08:00
Eric House
67cf8518de pass topic to ack() (so unretain can work) 2023-11-07 19:55:32 -08:00
Eric House
4dbb7362dd add dbg-only menuitem to set mqtt devid 2023-04-26 13:57:21 -07:00
Eric House
8c60b99e82 remove some asserts Frank's seeing 2023-04-20 14:24:10 -07:00
Eric House
f8c5a4ea58 add assert 2023-04-18 20:55:46 -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
326624e942 on linux, keep a queue of mqtt messages
Was dropping invitations that were posted before I connected to the
remote broker. Now they're kept, and sent until the broker says
publish succeeded. Better would be to have comms resend when mqtt
connects, but I'm not set up for that.
2023-03-25 10:24:39 -07:00
Eric House
7b2c327ba8 change send method to take list instead of array 2023-03-25 10:24:39 -07:00
Eric House
6ec0e64657 toward changing APIs to allow combined messages for mqtt 2023-03-25 10:24:39 -07:00
Eric House
e849d628d9 log when messages could be combined 2023-03-16 07:43:51 -07: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