chiark / gitweb /
otter.git
4 years agofixes
Ian Jackson [Sat, 22 Aug 2020 23:23:18 +0000 (00:23 +0100)]
fixes

4 years agoserver loads!
Ian Jackson [Sat, 22 Aug 2020 23:15:51 +0000 (00:15 +0100)]
server loads!

4 years agoswitch to results of otter reset
Ian Jackson [Sat, 22 Aug 2020 22:35:57 +0000 (23:35 +0100)]
switch to results of otter reset

USER=rustcargo target/debug/otter --scope-server reset dummy --reset-table ~ian/Rustup/Game/server/demo/test.{table,game}.toml

generates what is now in save/

however, the server doesn't load it ?

4 years agoget indices right
Ian Jackson [Sat, 22 Aug 2020 22:28:54 +0000 (23:28 +0100)]
get indices right

Now

target/debug/server ~ian/Rustup/Game/server/server.toml

rm ~ian/Rustup/Game/server/save/*foo*; USER=rustcargo target/debug/otter --scope-server reset foo`date +%s` --reset-table ~ian/Rustup/Game/server/demo/test.{table,game}.toml

diff -u <(./msgpack-dump save/g-dummy ) <( ./msgpack-dump save/g-foo* ) |less

shows differences I entirely like

4 years agosort keys for convenience
Ian Jackson [Sat, 22 Aug 2020 22:28:44 +0000 (23:28 +0100)]
sort keys for convenience

4 years agosave game after executing
Ian Jackson [Sat, 22 Aug 2020 22:22:07 +0000 (23:22 +0100)]
save game after executing

4 years agodo away with lexpr
Ian Jackson [Sat, 22 Aug 2020 22:17:03 +0000 (23:17 +0100)]
do away with lexpr

At this commit, I get a parse error with

target/debug/server ~ian/Rustup/Game/server/server.toml

rm ~ian/Rustup/Game/server/save/*foo*; USER=rustcargo strace -s1000 target/debug/otter --scope-server reset foo`date +%s` --reset-table ~ian/Rustup/Game/server/demo/test.{table,game}.toml

4 years agowip
Ian Jackson [Sat, 22 Aug 2020 22:15:35 +0000 (23:15 +0100)]
wip

4 years agomore code motion
Ian Jackson [Sat, 22 Aug 2020 21:55:45 +0000 (22:55 +0100)]
more code motion

4 years agomove several things into spec.rs
Ian Jackson [Sat, 22 Aug 2020 21:44:52 +0000 (22:44 +0100)]
move several things into spec.rs

4 years agoreorg, code motion
Ian Jackson [Sat, 22 Aug 2020 21:31:49 +0000 (22:31 +0100)]
reorg, code motion

4 years agoupdates: delete RECENT_BUFFER
Ian Jackson [Sat, 22 Aug 2020 21:31:41 +0000 (22:31 +0100)]
updates: delete RECENT_BUFFER

4 years agoreorg
Ian Jackson [Sat, 22 Aug 2020 21:21:51 +0000 (22:21 +0100)]
reorg

4 years agowip pieces in demo game
Ian Jackson [Sat, 22 Aug 2020 21:19:28 +0000 (22:19 +0100)]
wip pieces in demo game

4 years agodelete piece
Ian Jackson [Sat, 22 Aug 2020 21:09:40 +0000 (22:09 +0100)]
delete piece

4 years agoreset compiles
Ian Jackson [Sat, 22 Aug 2020 19:42:08 +0000 (20:42 +0100)]
reset compiles

4 years agoconditional logs
Ian Jackson [Sat, 22 Aug 2020 18:02:10 +0000 (19:02 +0100)]
conditional logs

4 years agocleanup etc.
Ian Jackson [Sat, 22 Aug 2020 17:56:14 +0000 (18:56 +0100)]
cleanup etc.

4 years agothis parses
Ian Jackson [Sat, 22 Aug 2020 17:11:45 +0000 (18:11 +0100)]
this parses

4 years agothis parses, but want to rename
Ian Jackson [Sat, 22 Aug 2020 17:09:37 +0000 (18:09 +0100)]
this parses, but want to rename

4 years agothis parses, but want to flatten
Ian Jackson [Sat, 22 Aug 2020 17:08:06 +0000 (18:08 +0100)]
this parses, but want to flatten

4 years agomsgpack-dump
Ian Jackson [Sat, 22 Aug 2020 16:48:04 +0000 (17:48 +0100)]
msgpack-dump

4 years agorationalise command enums
Ian Jackson [Sat, 22 Aug 2020 15:54:52 +0000 (16:54 +0100)]
rationalise command enums

4 years agoalter game create table
Ian Jackson [Sat, 22 Aug 2020 15:50:40 +0000 (16:50 +0100)]
alter game create table

4 years agowip otter create table
Ian Jackson [Sat, 22 Aug 2020 11:55:52 +0000 (12:55 +0100)]
wip otter create table

4 years agoRevert "for revert: invent ServerOperatorPrivilege"
Ian Jackson [Fri, 21 Aug 2020 18:35:50 +0000 (19:35 +0100)]
Revert "for revert: invent ServerOperatorPrivilege"

This reverts commit 85da91f69fdb5107d0e61800576b06de406c82f3.

4 years agofor revert: invent ServerOperatorPrivilege
Ian Jackson [Fri, 21 Aug 2020 18:34:58 +0000 (19:34 +0100)]
for revert: invent ServerOperatorPrivilege

gold plating

4 years agosetscope stuff all working now
Ian Jackson [Sat, 15 Aug 2020 12:25:14 +0000 (13:25 +0100)]
setscope stuff all working now

4 years agorunes
Ian Jackson [Sat, 15 Aug 2020 12:16:36 +0000 (13:16 +0100)]
runes

4 years agomuch EH
Ian Jackson [Sat, 15 Aug 2020 12:16:04 +0000 (13:16 +0100)]
much EH

4 years agowip server eh
Ian Jackson [Sat, 15 Aug 2020 12:04:20 +0000 (13:04 +0100)]
wip server eh

4 years agowip server config
Ian Jackson [Sat, 15 Aug 2020 11:19:39 +0000 (12:19 +0100)]
wip server config

4 years agoset scope
Ian Jackson [Sat, 15 Aug 2020 11:11:40 +0000 (12:11 +0100)]
set scope

4 years agowork around rustc message lossage
Ian Jackson [Sat, 15 Aug 2020 10:16:50 +0000 (11:16 +0100)]
work around rustc message lossage

4 years agorepro syn span thing before update
Ian Jackson [Fri, 14 Aug 2020 00:06:34 +0000 (01:06 +0100)]
repro syn span thing before update

4 years agomake compile
Ian Jackson [Thu, 13 Aug 2020 18:56:27 +0000 (19:56 +0100)]
make compile

4 years agobefore chase fehler span bug
Ian Jackson [Thu, 13 Aug 2020 18:55:45 +0000 (19:55 +0100)]
before chase fehler span bug

4 years agoless weird closure stuff
Ian Jackson [Thu, 13 Aug 2020 18:49:59 +0000 (19:49 +0100)]
less weird closure stuff

4 years agobefore subcommand as fn
Ian Jackson [Thu, 13 Aug 2020 18:32:59 +0000 (19:32 +0100)]
before subcommand as fn

4 years agotoml
Ian Jackson [Thu, 13 Aug 2020 17:36:16 +0000 (18:36 +0100)]
toml

4 years agomgmtchannel dyn
Ian Jackson [Thu, 13 Aug 2020 17:31:28 +0000 (18:31 +0100)]
mgmtchannel dyn

4 years agodelete empty
Ian Jackson [Thu, 13 Aug 2020 17:13:54 +0000 (18:13 +0100)]
delete empty

4 years agowip connect?
Ian Jackson [Thu, 13 Aug 2020 16:45:39 +0000 (17:45 +0100)]
wip connect?

4 years agowip mgmtchannel
Ian Jackson [Thu, 13 Aug 2020 16:05:39 +0000 (17:05 +0100)]
wip mgmtchannel

4 years agobefore into for mgmt errors
Ian Jackson [Thu, 13 Aug 2020 15:10:30 +0000 (16:10 +0100)]
before into for mgmt errors

4 years agowip mgmtchannel
Ian Jackson [Thu, 13 Aug 2020 15:04:57 +0000 (16:04 +0100)]
wip mgmtchannel

4 years agowip client
Ian Jackson [Thu, 13 Aug 2020 00:02:05 +0000 (01:02 +0100)]
wip client

4 years agodelete old stuff
Ian Jackson [Mon, 10 Aug 2020 19:39:59 +0000 (20:39 +0100)]
delete old stuff

4 years agoparse args
Ian Jackson [Mon, 10 Aug 2020 00:23:38 +0000 (01:23 +0100)]
parse args

4 years agowip create table
Ian Jackson [Sun, 9 Aug 2020 22:24:52 +0000 (23:24 +0100)]
wip create table

4 years agomain arguments
Ian Jackson [Sun, 9 Aug 2020 22:20:07 +0000 (23:20 +0100)]
main arguments

4 years agofix errors
Ian Jackson [Sun, 9 Aug 2020 22:00:35 +0000 (23:00 +0100)]
fix errors

4 years agowip new help
Ian Jackson [Sun, 9 Aug 2020 18:00:07 +0000 (19:00 +0100)]
wip new help

4 years agowip help msg
Ian Jackson [Sun, 9 Aug 2020 17:48:40 +0000 (18:48 +0100)]
wip help msg

4 years agogeneralise
Ian Jackson [Sun, 9 Aug 2020 17:40:41 +0000 (18:40 +0100)]
generalise

4 years agoreorg, compiles
Ian Jackson [Sun, 9 Aug 2020 17:32:25 +0000 (18:32 +0100)]
reorg, compiles

4 years agoreorg, compiles
Ian Jackson [Sun, 9 Aug 2020 11:00:39 +0000 (12:00 +0100)]
reorg, compiles

4 years agoreorg, compiles
Ian Jackson [Sun, 9 Aug 2020 09:35:42 +0000 (10:35 +0100)]
reorg, compiles

4 years agomove, compiles
Ian Jackson [Sun, 9 Aug 2020 09:32:31 +0000 (10:32 +0100)]
move, compiles

4 years agomove, compiles
Ian Jackson [Sun, 9 Aug 2020 09:29:03 +0000 (10:29 +0100)]
move, compiles

4 years agomove, compiles
Ian Jackson [Sun, 9 Aug 2020 09:25:06 +0000 (10:25 +0100)]
move, compiles

4 years agoclosure compiles
Ian Jackson [Sun, 9 Aug 2020 09:19:39 +0000 (10:19 +0100)]
closure compiles

4 years agoclosure compiles
Ian Jackson [Sun, 9 Aug 2020 09:17:16 +0000 (10:17 +0100)]
closure compiles

4 years agoclosure compiles
Ian Jackson [Sun, 9 Aug 2020 09:17:04 +0000 (10:17 +0100)]
closure compiles

4 years agoclosure compiles
Ian Jackson [Sun, 9 Aug 2020 09:15:23 +0000 (10:15 +0100)]
closure compiles

4 years agoclosure attempt
Ian Jackson [Sun, 9 Aug 2020 09:12:39 +0000 (10:12 +0100)]
closure attempt

4 years agoshuffle nfc
Ian Jackson [Sat, 8 Aug 2020 17:57:35 +0000 (18:57 +0100)]
shuffle nfc

4 years agoshuffle nfc
Ian Jackson [Sat, 8 Aug 2020 17:56:05 +0000 (18:56 +0100)]
shuffle nfc

4 years agoexit_usage
Ian Jackson [Sat, 8 Aug 2020 17:54:51 +0000 (18:54 +0100)]
exit_usage

4 years agotidying
Ian Jackson [Sat, 8 Aug 2020 11:34:23 +0000 (12:34 +0100)]
tidying

4 years agosubcommands
Ian Jackson [Sat, 8 Aug 2020 11:33:20 +0000 (12:33 +0100)]
subcommands

4 years agoparse subcommand
Ian Jackson [Sat, 8 Aug 2020 11:06:28 +0000 (12:06 +0100)]
parse subcommand

4 years agoinventory
Ian Jackson [Sat, 8 Aug 2020 10:58:39 +0000 (11:58 +0100)]
inventory

4 years agosome imports
Ian Jackson [Sat, 8 Aug 2020 10:58:22 +0000 (11:58 +0100)]
some imports

4 years agoinsist on IUSER
Ian Jackson [Fri, 7 Aug 2020 23:57:25 +0000 (00:57 +0100)]
insist on IUSER

4 years agowip
Ian Jackson [Fri, 7 Aug 2020 23:53:02 +0000 (00:53 +0100)]
wip

4 years agofix exit status
Ian Jackson [Fri, 7 Aug 2020 23:45:04 +0000 (00:45 +0100)]
fix exit status

4 years agowip opts
Ian Jackson [Fri, 7 Aug 2020 23:38:51 +0000 (00:38 +0100)]
wip opts

4 years agoparse scope
Ian Jackson [Fri, 7 Aug 2020 23:19:15 +0000 (00:19 +0100)]
parse scope

4 years agowip lifetime mess ?
Ian Jackson [Fri, 7 Aug 2020 21:46:27 +0000 (22:46 +0100)]
wip lifetime mess ?

4 years agobefore other way
Ian Jackson [Fri, 7 Aug 2020 17:16:36 +0000 (18:16 +0100)]
before other way

4 years agocompiles again
Ian Jackson [Wed, 5 Aug 2020 23:50:24 +0000 (00:50 +0100)]
compiles again

4 years agowip call
Ian Jackson [Wed, 5 Aug 2020 23:44:37 +0000 (00:44 +0100)]
wip call

4 years agocall flag
Ian Jackson [Wed, 5 Aug 2020 23:37:27 +0000 (00:37 +0100)]
call flag

4 years agoargparse call
Ian Jackson [Wed, 5 Aug 2020 23:17:52 +0000 (00:17 +0100)]
argparse call

4 years agoargparse
Ian Jackson [Wed, 5 Aug 2020 13:31:11 +0000 (14:31 +0100)]
argparse

4 years agoprep for argparse-rs
Ian Jackson [Wed, 5 Aug 2020 13:30:11 +0000 (14:30 +0100)]
prep for argparse-rs

4 years agobefore Cell::from_mut
Ian Jackson [Wed, 5 Aug 2020 01:51:13 +0000 (02:51 +0100)]
before Cell::from_mut

4 years agowip clap
Ian Jackson [Tue, 4 Aug 2020 23:48:37 +0000 (00:48 +0100)]
wip clap

4 years agosyntax
Ian Jackson [Tue, 4 Aug 2020 23:10:35 +0000 (00:10 +0100)]
syntax

4 years agoclap and update
Ian Jackson [Tue, 4 Aug 2020 23:10:30 +0000 (00:10 +0100)]
clap and update

4 years agowip cli
Ian Jackson [Tue, 4 Aug 2020 23:01:50 +0000 (00:01 +0100)]
wip cli

4 years agonote suppression issue
Ian Jackson [Mon, 3 Aug 2020 12:00:28 +0000 (13:00 +0100)]
note suppression issue

4 years agoclippy
Ian Jackson [Mon, 3 Aug 2020 10:32:24 +0000 (11:32 +0100)]
clippy

The message is wrong
   filed https://github.com/rust-lang/rust-clippy/issues/5862

but this seems weird style so change it

4 years agoclippy
Ian Jackson [Mon, 3 Aug 2020 01:13:51 +0000 (02:13 +0100)]
clippy

4 years agoclippy
Ian Jackson [Mon, 3 Aug 2020 01:10:32 +0000 (02:10 +0100)]
clippy

4 years agoclippy omg bugfix!
Ian Jackson [Mon, 3 Aug 2020 00:49:36 +0000 (01:49 +0100)]
clippy omg bugfix!

4 years agoclippy nfc
Ian Jackson [Mon, 3 Aug 2020 00:49:32 +0000 (01:49 +0100)]
clippy nfc

4 years agoprovide load_games, not called anywhere yet
Ian Jackson [Sun, 2 Aug 2020 23:44:24 +0000 (00:44 +0100)]
provide load_games, not called anywhere yet

4 years agotolerate missing a-* file as intended
Ian Jackson [Sun, 2 Aug 2020 23:12:32 +0000 (00:12 +0100)]
tolerate missing a-* file as intended