Commit graph

1938 commits

Author SHA1 Message Date
Eric House
7c7234f06c fix release-build compile warnings 2024-12-26 13:53:47 -08:00
Eric House
ed8e007415 add XP_RAW_LOGFF (but don't use it) 2024-12-17 14:50: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
2a5fb95dac cleanup vtable/method macros 2024-12-03 21:21:24 -08:00
Eric House
e1ebba4d24 simplify macros
I'd love to generate the damned things but can't justify the time.
2024-12-03 21:21:24 -08:00
Eric House
ac194eb583 move logging out of a critical section
Could maybe possibly deadlock maybe?
2024-12-01 20:04:16 -08:00
Eric House
7c8a9e2464 add support for Basque wordlist 2024-11-27 09:42:26 -08:00
Eric House
5170044b63 fix compile on linux 2024-11-26 10:10:18 -08:00
Eric House
edca516ecd turn on mutex deadlock checking 2024-11-22 09:37:10 -08:00
Eric House
f5888befb8 cleanup 2024-11-11 07:14:54 -08:00
Eric House
c5730c4ff0 fix warning 2024-11-11 07:01:50 -08:00
Eric House
e87577a8e4 replace firing assert with logging 2024-11-06 08:15:11 -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
fc30abd126 move methods from util to dutil 2024-10-31 10:16:03 -07:00
Eric House
b2ffd915dd remove compile-command here too 2024-10-10 07:40:38 -10:00
Eric House
f4af1d69ea for emacs: move compile-command into directory-scoped file 2024-10-10 07:40:38 -10:00
Eric House
5504ca03d9 add stats entries for Bluetooth send/receive 2024-09-21 22:09:22 -07:00
Eric House
2a8a9b442a use dutil_phoneNumbersSame() instead of strcmp() 2024-09-21 22:09:22 -07:00
Eric House
2d9cb93ae6 add to test ability to invite using known players 2024-09-21 22:09:22 -07:00
Eric House
aee9dec0f4 don't ack using method other than how message arrived
I'm getting tons of SMS messages sent in response to a flood of
incoming MQTT messages: bad. And don't think it makes much sense to
try to ack other than how the message was delivered anyway.
2024-09-05 20:20:03 -07:00
Eric House
4d03261084 tweak logging 2024-09-05 20:19:59 -07: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
a15bb77fd9 fix bug determining to quit after too many passes
I was counting all passes in a game, not just in a row starting with
the last. Longstanding bug!
2024-08-28 22:07:04 -07:00
Eric House
4b730cf0b5 remove useless debug-only menuitem 2024-08-28 20:14:01 -07:00
Eric House
dfa0502a06 always generate gameID using the same function
Android was using curSeconds(): bad!
2024-08-26 11:29:09 -07:00
Eric House
5347762300 rewrite xwmutex to use a single thread 2024-08-26 10:13:49 -07:00
Eric House
df84bf6145 includ NBS sends/receives in stats on Android 2024-08-24 15:32:29 -07:00
Eric House
e492d8f7b5 mutex tweaks 2024-08-24 09:46:43 -07:00
Eric House
28edeb1877 add creation time to stats
Useful, especially when it's getting reset mysteriously -- which was
probably the Android timers bug
2024-08-24 09:41:22 -07:00
Eric House
a5132f22a4 rewrite lock detector to not use pthread_cancel
...which isn't available on Android
2024-08-22 22:00:37 -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
faf398790c cleanup; use new mutex for mempool 2024-08-17 22:03:37 -07:00
Eric House
2993e82ec7 fix assertion by implementing kplr_nameForAddress() fully 2024-08-15 17:38:34 -07:00
Eric House
0bd0d31d42 use new timers for stats saving on Android too 2024-08-13 13:58:45 -07:00
Eric House
f406757fb2 add generic timers (with dutil component for scheduling) 2024-08-12 21:11:14 -07:00
Eric House
ad651c6cba more work on stats 2024-08-11 20:45:11 -07:00
Eric House
0a992c5a4b move mutex into a struct (for future dev advantage) 2024-08-11 19:59:38 -07:00
Eric House
464e124038 add debug-only stats submenu, and ability to print stats
They won't persist on Android if I count on dutil shutting down, since
there's no such thing. So I save on every change, which is way too
often but good enough for now.
2024-08-10 20:54:56 -07:00
Eric House
2f8164d8c7 add test for email-style invitation 2024-08-09 10:48:27 -07:00
Eric House
c09ac28759 fix warnings about zeroing static structs (no behavior change) 2024-08-07 22:29:46 -07:00
Eric House
7286156c87 add a few more stats 2024-08-07 22:13:02 -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
72082cde0d add mutex utility
since I'm using them more now
2024-08-06 10:23:20 -07:00