chiark / gitweb /
otter.git
4 years agoparse log config
Ian Jackson [Sat, 5 Sep 2020 15:53:16 +0000 (16:53 +0100)]
parse log config

4 years agodefend against PosOffTable in spec
Ian Jackson [Fri, 4 Sep 2020 20:53:48 +0000 (21:53 +0100)]
defend against PosOffTable in spec

4 years agofix EH
Ian Jackson [Fri, 4 Sep 2020 20:44:06 +0000 (21:44 +0100)]
fix EH

4 years agotry map error back to update
Ian Jackson [Thu, 3 Sep 2020 21:21:56 +0000 (22:21 +0100)]
try map error back to update

4 years agouse PrepareUpdatesBuffer for errors
Ian Jackson [Thu, 3 Sep 2020 20:53:06 +0000 (21:53 +0100)]
use PrepareUpdatesBuffer for errors

4 years agobefore refactor report
Ian Jackson [Thu, 3 Sep 2020 20:34:35 +0000 (21:34 +0100)]
before refactor report

4 years agobefore refactor report
Ian Jackson [Thu, 3 Sep 2020 20:26:35 +0000 (21:26 +0100)]
before refactor report

4 years agohandle PosOffTable
Ian Jackson [Thu, 3 Sep 2020 20:21:40 +0000 (21:21 +0100)]
handle PosOffTable

4 years agorefactor piece_modify
Ian Jackson [Thu, 3 Sep 2020 20:14:48 +0000 (21:14 +0100)]
refactor piece_modify

4 years agopiece state in piece update error
Ian Jackson [Thu, 3 Sep 2020 20:09:04 +0000 (21:09 +0100)]
piece state in piece update error

4 years agouse visible pieceid in client
Ian Jackson [Thu, 3 Sep 2020 19:34:28 +0000 (20:34 +0100)]
use visible pieceid in client

4 years agobetter error handling in js
Ian Jackson [Thu, 3 Sep 2020 19:24:50 +0000 (20:24 +0100)]
better error handling in js

4 years agobetter error handling in js
Ian Jackson [Thu, 3 Sep 2020 01:16:32 +0000 (02:16 +0100)]
better error handling in js

4 years agobetter error handling in js
Ian Jackson [Thu, 3 Sep 2020 01:13:40 +0000 (02:13 +0100)]
better error handling in js

4 years agoactually save (!)
Ian Jackson [Thu, 3 Sep 2020 00:40:29 +0000 (01:40 +0100)]
actually save (!)

4 years agosome debug
Ian Jackson [Thu, 3 Sep 2020 00:40:22 +0000 (01:40 +0100)]
some debug

4 years agomuch error reorg
Ian Jackson [Wed, 2 Sep 2020 23:48:49 +0000 (00:48 +0100)]
much error reorg

4 years agoend drag when Conflict
Ian Jackson [Tue, 1 Sep 2020 13:15:57 +0000 (14:15 +0100)]
end drag when Conflict

4 years agoclamp onto table
Ian Jackson [Sun, 30 Aug 2020 10:28:32 +0000 (11:28 +0100)]
clamp onto table

4 years agoadd arrayvec
Ian Jackson [Sun, 30 Aug 2020 10:28:15 +0000 (11:28 +0100)]
add arrayvec

4 years agohandle piece api errors
Ian Jackson [Sat, 29 Aug 2020 13:00:00 +0000 (14:00 +0100)]
handle piece api errors

4 years agocors
Ian Jackson [Wed, 26 Aug 2020 23:39:14 +0000 (00:39 +0100)]
cors

4 years agorocket-cors
Ian Jackson [Wed, 26 Aug 2020 22:33:52 +0000 (23:33 +0100)]
rocket-cors

4 years agodone
Ian Jackson [Wed, 26 Aug 2020 22:32:19 +0000 (23:32 +0100)]
done

4 years agotemplate_dir from config
Ian Jackson [Wed, 26 Aug 2020 22:31:30 +0000 (23:31 +0100)]
template_dir from config

4 years agorename variable
Ian Jackson [Wed, 26 Aug 2020 22:29:05 +0000 (23:29 +0100)]
rename variable

4 years agorefactor rocket config
Ian Jackson [Wed, 26 Aug 2020 22:26:14 +0000 (23:26 +0100)]
refactor rocket config

4 years agoprovide debug in config
Ian Jackson [Wed, 26 Aug 2020 22:17:44 +0000 (23:17 +0100)]
provide debug in config

4 years agoformatting nfc
Ian Jackson [Wed, 26 Aug 2020 22:14:32 +0000 (23:14 +0100)]
formatting nfc

4 years agodisable rocket colours
Ian Jackson [Wed, 26 Aug 2020 21:47:28 +0000 (22:47 +0100)]
disable rocket colours

4 years agogardening
Ian Jackson [Sun, 23 Aug 2020 23:42:34 +0000 (00:42 +0100)]
gardening

4 years agofix
Ian Jackson [Sun, 23 Aug 2020 23:41:48 +0000 (00:41 +0100)]
fix

4 years agoregex
Ian Jackson [Sun, 23 Aug 2020 23:41:21 +0000 (00:41 +0100)]
regex

4 years agofixed
Ian Jackson [Sun, 23 Aug 2020 22:56:06 +0000 (23:56 +0100)]
fixed

4 years agotable size propagates
Ian Jackson [Sun, 23 Aug 2020 22:19:46 +0000 (23:19 +0100)]
table size propagates

4 years agosome todos
Ian Jackson [Sun, 23 Aug 2020 22:07:59 +0000 (23:07 +0100)]
some todos

4 years agonot critical now
Ian Jackson [Sun, 23 Aug 2020 22:00:23 +0000 (23:00 +0100)]
not critical now

4 years agodone
Ian Jackson [Sun, 23 Aug 2020 21:59:30 +0000 (22:59 +0100)]
done

4 years agono, don't use cs.desc
Ian Jackson [Sun, 23 Aug 2020 21:59:23 +0000 (22:59 +0100)]
no, don't use cs.desc

4 years agofix
Ian Jackson [Sun, 23 Aug 2020 21:58:26 +0000 (22:58 +0100)]
fix

4 years agothese are fine
Ian Jackson [Sun, 23 Aug 2020 21:47:55 +0000 (22:47 +0100)]
these are fine

4 years agoRevert "for revert - error_display - can just use {:?}"
Ian Jackson [Sun, 23 Aug 2020 21:46:41 +0000 (22:46 +0100)]
Revert "for revert - error_display - can just use {:?}"

This reverts commit 75d063d87f67c161ad5fcbf9eb5955dfed0d1611.

4 years agofor revert - error_display - can just use {:?}
Ian Jackson [Sun, 23 Aug 2020 21:46:28 +0000 (22:46 +0100)]
for revert - error_display - can just use {:?}

4 years agonicer import
Ian Jackson [Sun, 23 Aug 2020 21:46:10 +0000 (22:46 +0100)]
nicer import

4 years agofix error and default and socket and things
Ian Jackson [Sun, 23 Aug 2020 21:45:59 +0000 (22:45 +0100)]
fix error and default and socket and things

4 years agoconfig read in global
Ian Jackson [Sun, 23 Aug 2020 20:57:41 +0000 (21:57 +0100)]
config read in global

4 years agowip config
Ian Jackson [Sun, 23 Aug 2020 20:51:27 +0000 (21:51 +0100)]
wip config

4 years agonew config defaulting
Ian Jackson [Sun, 23 Aug 2020 20:23:57 +0000 (21:23 +0100)]
new config defaulting

4 years agofix
Ian Jackson [Sun, 23 Aug 2020 20:04:39 +0000 (21:04 +0100)]
fix

4 years agodone
Ian Jackson [Sun, 23 Aug 2020 20:04:02 +0000 (21:04 +0100)]
done

4 years agodupe nick handling
Ian Jackson [Sun, 23 Aug 2020 20:02:48 +0000 (21:02 +0100)]
dupe nick handling

4 years agowip player fix
Ian Jackson [Sun, 23 Aug 2020 17:15:30 +0000 (18:15 +0100)]
wip player fix

4 years agovariable name coherency
Ian Jackson [Sun, 23 Aug 2020 11:54:58 +0000 (12:54 +0100)]
variable name coherency

4 years agonote re fehler trouble
Ian Jackson [Sun, 23 Aug 2020 11:52:59 +0000 (12:52 +0100)]
note re fehler trouble

4 years agosyntax
Ian Jackson [Sun, 23 Aug 2020 11:23:54 +0000 (12:23 +0100)]
syntax

4 years agodone
Ian Jackson [Sun, 23 Aug 2020 11:21:31 +0000 (12:21 +0100)]
done

4 years agogame save later
Ian Jackson [Sun, 23 Aug 2020 11:20:19 +0000 (12:20 +0100)]
game save later

4 years agodone
Ian Jackson [Sun, 23 Aug 2020 10:43:02 +0000 (11:43 +0100)]
done

4 years agocommentary
Ian Jackson [Sun, 23 Aug 2020 10:24:31 +0000 (11:24 +0100)]
commentary

4 years agotodo
Ian Jackson [Sun, 23 Aug 2020 10:13:59 +0000 (11:13 +0100)]
todo

4 years agotodo
Ian Jackson [Sun, 23 Aug 2020 02:15:05 +0000 (03:15 +0100)]
todo

4 years agoexpire old clients function
Ian Jackson [Sun, 23 Aug 2020 02:07:37 +0000 (03:07 +0100)]
expire old clients function

4 years agofix
Ian Jackson [Sun, 23 Aug 2020 00:33:44 +0000 (01:33 +0100)]
fix

4 years agofix
Ian Jackson [Sun, 23 Aug 2020 00:29:10 +0000 (01:29 +0100)]
fix

4 years agofixed
Ian Jackson [Sun, 23 Aug 2020 00:28:37 +0000 (01:28 +0100)]
fixed

4 years agowip
Ian Jackson [Sun, 23 Aug 2020 00:21:30 +0000 (01:21 +0100)]
wip

4 years agofixes
Ian Jackson [Sun, 23 Aug 2020 00:06:57 +0000 (01:06 +0100)]
fixes

4 years agodrop libc
Ian Jackson [Sat, 22 Aug 2020 23:50:41 +0000 (00:50 +0100)]
drop libc

4 years agouse nix Uid
Ian Jackson [Sat, 22 Aug 2020 23:50:05 +0000 (00:50 +0100)]
use nix Uid

4 years agonix and fs2
Ian Jackson [Sat, 22 Aug 2020 23:43:33 +0000 (00:43 +0100)]
nix and fs2

4 years agoan xxx
Ian Jackson [Sat, 22 Aug 2020 23:42:23 +0000 (00:42 +0100)]
an xxx

4 years agofixes
Ian Jackson [Sat, 22 Aug 2020 23:24:54 +0000 (00:24 +0100)]
fixes

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