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
385d4a7bb3
linux: log checksums of incoming and outgoing mqtt packets
2024-12-09 21:22:41 -08: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
fc30abd126
move methods from util to dutil
2024-10-31 10:16:03 -07:00
Eric House
a9e26e9fc8
fix breakage caused by addition of list sort test
2024-10-30 21:25:00 -07:00
Prod User
2b1843f025
ignore script data file
2024-10-21 09:39:32 -07:00
Prod User
b5db35764c
add test of sorting in my list.
...
In case it needs to be faster as common/ code relies on it more
2024-10-21 09:39:32 -07:00
Eric House
d9c6717a72
add pref, default false, to allow two games with same ID on device
...
This will fix ghost games. The *right* fix is to get channelNos
working consistently between comms.c and server.c. That's ongoing.
2024-10-10 07:40:38 -10:00
Eric House
659f282733
add missing file
2024-10-10 07:40:38 -10:00
Eric House
b2ffd915dd
remove compile-command here too
2024-10-10 07:40:38 -10:00
Eric House
4d6e6b2136
add to test script ability to specify whether hosts or guests rematch
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
31d0547a60
include phone in known players test
2024-09-21 22:09:22 -07:00
Eric House
04017ff7c6
test script: better printing of unfinished games
2024-09-21 22:09:22 -07:00
Prod User
2756734e97
remove limit on size of jsons being sent and received
2024-09-21 22:09:22 -07:00
Eric House
e092c76bbb
add param controlling how often invites are "out-of-band"
2024-09-21 22:09:22 -07:00
Eric House
79611a9028
print info about games that didn't complete by timeout
2024-09-21 22:09:22 -07:00
Eric House
dd00915b8e
turn back on killing run if there's too much time without change
2024-09-21 22:09:22 -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
9a86bd075b
cleanup: variable name and formatting only
2024-08-27 21:26:41 -07:00
Eric House
fd0dc389c4
test script tweaks
2024-08-26 19:26:55 -07:00
Eric House
5dd47fceae
fix bad linux list; simplify printing to stderr
2024-08-26 18:30:17 -07:00
Eric House
b974c878db
test app change: register using local player name
2024-08-25 18:23:22 -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
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
db35adbada
use xwmutex more
2024-08-20 06:57:23 -07:00
Eric House
f00343a1ed
add option to control odds of rematching
2024-08-19 12:20:34 -07:00
Eric House
526b3c6b8f
increase buffer so 100 games can run at once
...
Better fix is to not limit the size, but it's a test app and I have a
bug to find.
2024-08-19 11:33:16 -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
5eb4eb77d3
don't delete game dbs by default
...
I want to come close to reproducing the Android situation where many
games are present and potentially receiving stale mqtt messages.
2024-08-17 11:48:43 -07:00
Eric House
f406757fb2
add generic timers (with dutil component for scheduling)
2024-08-12 21:11:14 -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
041684a355
(linux) include gameID on game board screen
2024-07-31 18:22:23 -07:00
Eric House
696c47ace4
fix harvesting of known player names to not mismatch name/address
...
The buggy code assumed two arrays were in sync that weren't guaranteed
to be so. So now I'm leveraging rematch code that already put
addresses in player order.
2024-07-30 16:15:44 -07:00
Eric House
f3fb43e93b
handle invitations for excessive new addresses
...
Deal with somebody creating a new invitation, e.g. because it's been
realized that an existing one won't be accepted. Unused channels are
used first (though there will be none in a 4-device game), then
channels with old invites (only) are recycled.
2024-07-28 08:48:33 -07:00
Eric House
6d0686f737
add test for resigning (off by default)
2024-07-28 08:48:33 -07:00
Eric House
d61b4ce485
make comms choose channel for invitations
...
Since server will ultimately assign them as registrations come in
there's no point in trying to force an order earlier.
2024-07-28 08:48:33 -07:00
Eric House
7d4cfa5e26
don't assert in low-level logging code
...
Only possible explanation for deadlock is the assert, though I don't
see how it'd happen...
2024-07-28 08:48:33 -07:00
Eric House
67c2cab98c
test undo the new way, via script command
2024-07-09 21:43:43 -07:00
Eric House
5b4e35be10
add undo to test script
2024-07-09 21:43:43 -07:00
Eric House
8805c8c60e
random cleanup (no code change)
2024-07-02 22:25:55 -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
cb540c23c0
add (unused still) timers to dutil
...
I'll want timers and idle procs for device operations, not just games.
2024-04-26 09:33:59 -07:00
Eric House
1ea0c97115
get rid of getMQTTIDsFor
2024-04-26 09:33:59 -07:00