Commit graph

1452 commits

Author SHA1 Message Date
Eric House
1ae714d834 start to remove obsolete XWFEATURE_STANDALONE_ONLY 2024-01-09 18:17:36 -08:00
Eric House
24e1085b30 clarify old app start percentage option 2024-01-05 12:58:58 -08:00
Eric House
b8e29423c4 cleanup 2024-01-05 08:46:19 -08:00
Eric House
6018392160 send/handle all invitations at once
I'm trying to reproduce with initial invitations the stalls I'm seeing
with rematches (rarely)
2024-01-04 20:28:49 -08:00
Eric House
8388b27002 add comments about problems with signed gameIDs 2024-01-04 18:03:38 -08:00
Eric House
ac71aac787 add tile count to summary 2024-01-04 11:14:30 -08:00
Eric House
7219206214 get rid of ancient ifdef 2024-01-04 09:50:24 -08:00
Eric House
c68050e190 add summary 2024-01-04 09:50:24 -08:00
Eric House
6f6714596a add board size tests
These fail in a way that I think is unique to the curses app, so I'm
not fixing them right away.
2024-01-04 09:50:24 -08:00
Eric House
fcf1e49c16 fix double dispose in curses app 2024-01-04 09:50:24 -08:00
Eric House
4ffaa5dd73 cleanup -- should be no behavior/code change 2024-01-04 09:50:24 -08:00
Eric House
c167183e37 add core detection and board/tray size to test script 2024-01-04 09:50:24 -08:00
Eric House
78cbf7aa7b add upgrading of app mid-script 2024-01-04 09:50:24 -08:00
Eric House
d1061327c7 add ability to use new and old versions of app
TODO: upgrade mid-game
2024-01-04 09:50:24 -08:00
Eric House
bfa1c73b5e log sum of incoming invites 2024-01-04 09:50:24 -08:00
Eric House
5794cc43e3 log gameID wherever possible in comms.c and server.c 2024-01-04 09:50:24 -08:00
Eric House
52a1de0463 add fromRematch to existing api to avoid race condition 2024-01-04 09:50:24 -08:00
Eric House
f2c1f21da2 refactor 2024-01-04 09:50:24 -08:00
Eric House
713ce151e9 don't print duplicate status line 2024-01-04 09:50:24 -08:00
Eric House
3d8f2886f2 more test scripts tweaks 2024-01-04 09:50:24 -08:00
Eric House
35ef711c42 print gameid as hex 2024-01-04 09:50:24 -08:00
Eric House
87557ce769 support more devices, and look for stalls 2024-01-04 09:50:24 -08:00
Eric House
f0ca490b3c fix stuff test script found 2024-01-04 09:50:24 -08:00
Eric House
1181e908dc Add option to choose how rematch-game players will be ordered
When rematching, some users have a convention that e.g. lowest scoring
player in the "parent" game goes first. So allow that, providing the
choice on each rematch until a default has been chosen. Support
changing that default in a new prefs setting.

The place I chose to enforce the order was on the host as invitees are
registering and being assigned slots. But by then there's no longer
any connection to the game that was rematched, e.g. to use its
scores. So during the rematched game creation process I create and
store with the new game the necessary ordering information. For the
3-and-4 device case, it was also necessary to tweak the information
about other guests that the host sends guests (added during earlier
work on rematching.)
2024-01-04 09:50:24 -08:00
Eric House
2936869b45 show host as part of each game display 2024-01-04 09:50:24 -08:00
Eric House
7b4f9ede41 cleanup: renaming only (server->host) 2024-01-04 09:50:24 -08:00
Eric House
f377ec6bef add missing package 2023-12-05 19:33:01 -08:00
Eric House
434096046b log to file even if --debug not on 2023-12-03 21:09:33 -08:00
Eric House
c31bc3c0eb improve rematch test 2023-12-02 14:45:25 -08:00
Eric House
c726477878 cleanup 2023-11-30 11:03:27 -08:00
Eric House
d021bb4029 add test for rematch (once for now) 2023-11-29 17:11:51 -08:00
Eric House
be9159fc35 add support for tray and board sizes 2023-11-29 11:33:12 -08:00
Eric House
b3123c5a48 add better status printing 2023-11-29 11:12:18 -08:00
Eric House
c099ea30e6 remove unnecessary saves
all games are saved on app-shutdown now
2023-11-27 21:32:48 -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
47004a0e08 linux: remove ask to accept duplicate invitations 2023-11-26 19:58:07 -08:00
Eric House
e2f9c1c699 implement mqtt msg ack for linux 2023-11-26 19:58:07 -08:00
Eric House
67cf8518de pass topic to ack() (so unretain can work) 2023-11-07 19:55:32 -08:00
Eric House
e78d9fbc33 add quashed to summary, and show as part of games-list state 2023-11-06 13:11:34 -08:00
Eric House
e44584e652 linux: add option to delete orphaned game 2023-11-06 13:11:34 -08:00
Eric House
3dcac063b5 show quashed state in net state icon (DEBUG only) 2023-11-06 13:11:34 -08:00
Eric House
28318eb38a shorten file path in logs
Couldn't figure out how to do it at compile-time on Android.
2023-10-29 08:09:37 -07:00
Eric House
26ea25c011 fix to compile with old and new glib versions 2023-10-28 11:31:07 -07:00
Eric House
cae91d20cb Preliminary sketch of how cmd callbacks work 2023-08-14 08:11:01 -07:00
Prod User
7f1eec654c fix linux client test to compile and run on Anlinux proot on Android tablet 2023-08-14 08:11:01 -07:00
Eric House
53ce78e1ed initial changes toward a new test script
Android has lots of games on a single device. My current test has one
device per game. I'm hoping to fix that, and am starting with figuring
out how the script and "device" instances will communicate.
2023-08-08 12:09:47 -07:00
Eric House
c488235ca7 make new compiler happy 2023-08-03 23:47:05 -07:00
Eric House
280fc3bfe1 fix failure to correctly pass devids into linux client 2023-07-18 21:35:17 -07:00
Eric House
41e8cbf20c fix concurrency issues with mqttcon's msg queue 2023-04-07 10:14:40 -07:00
Eric House
131826d34f fix release build 2023-04-06 20:22:29 -07:00