chiark / gitweb /
Ian Jackson [Mon, 22 Mar 2021 00:57:01 +0000 (00:57 +0000)]
shapelib: Implement load_occult for ItemSpec
Nothing calls this yet, but we will soon, ourselves.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Mon, 22 Mar 2021 00:56:51 +0000 (00:56 +0000)]
shapelib refactoring: Break out svg_face and describe_face
We're going to want to reuse this.
Happily, this gets rid of a call to GPiece::dummy().
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Mon, 22 Mar 2021 00:56:23 +0000 (00:56 +0000)]
shapelib refactoring: Rename find_load
The old name was very confusing. Now there are fewer functions called
`load`.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Mon, 22 Mar 2021 00:42:28 +0000 (00:42 +0000)]
shapelib refactoring: Change return type of load1
We don't want this to be type-erased; we need to reuse it as a
different trait object.
This means making the `Item` struct public, but nothing else about it.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Mon, 22 Mar 2021 00:04:35 +0000 (00:04 +0000)]
Sprinkle some Send
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Mon, 22 Mar 2021 00:03:15 +0000 (00:03 +0000)]
Sprinkle some 'static + Send + Debug
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 23:46:32 +0000 (23:46 +0000)]
mao: Start on a definition
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 23:46:16 +0000 (23:46 +0000)]
shapelib: Fix centre for `orig_size` pieces
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 23:38:29 +0000 (23:38 +0000)]
library: Use default for centre
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 23:36:39 +0000 (23:36 +0000)]
shapelib: Provide sensible default for centre
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 22:58:52 +0000 (22:58 +0000)]
shapelib: Remove the default for `centre`
This is a useless default. We're about to introduce a non-useless
one, but removing this useless one first proves we're not using it.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 22:56:46 +0000 (22:56 +0000)]
card backs: Use `orig_size` to match oxyomron
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 22:56:25 +0000 (22:56 +0000)]
shapelib: Provide orig_size option
This is often more convenient than `scale` plus `size`
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 22:13:45 +0000 (22:13 +0000)]
shapelib: Allow FaceTransform::from_group to throw
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 21:52:50 +0000 (21:52 +0000)]
cards: Some card backs in the library
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 21:35:56 +0000 (21:35 +0000)]
wikimedia: Tolerate AGPL3+, and LGPL tag, which means LGPLv2.1+
LGPL2.1+ is upgradeable to AGPLv3+.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 21:49:45 +0000 (21:49 +0000)]
media-scraper: wikimedia: Tolerate varying effective licence
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 21:07:37 +0000 (21:07 +0000)]
media-scraper: Remove a pointless \E
\l is one character only, so fine.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 20:18:20 +0000 (20:18 +0000)]
media-scraper etc.: rename cards-oxymoron "scraper"
This isn't generic to local-builds; it has special knowledge of the
gif pathnames.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 20:09:53 +0000 (20:09 +0000)]
cards-oxymoron: Increase the size of the cards a bit
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 16:56:17 +0000 (16:56 +0000)]
cards-oxymoron: wip toml definition
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 20:53:32 +0000 (20:53 +0000)]
media-scraper: Provide local-build scraper (is actually for oxymoron)
This is not as general as its name, but this is how I wrote it. It
will be renamed in a later commit.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 20:53:20 +0000 (20:53 +0000)]
media-scraper: Support scrapers with - in their name
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 20:52:47 +0000 (20:52 +0000)]
media-scraper: Support "scrapers" that are just local massaging
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 20:29:02 +0000 (20:29 +0000)]
shapelib: Support desc_template
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 20:15:25 +0000 (20:15 +0000)]
shapelib preview: Considerable increase only-show-one size limit
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 15:20:54 +0000 (15:20 +0000)]
cards-oxymoron: Build arrangements
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 15:10:27 +0000 (15:10 +0000)]
cards-oxymoron: Delete autogenerated files
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 14:31:35 +0000 (14:31 +0000)]
cards-oxymoron: Commit downloaded files and add LICENCE
Downloaded this from
https://www.waste.org/~oxymoron/cards/
It's GPLv3+ so we can upgrade it to AGPLv3+.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 14:36:23 +0000 (14:36 +0000)]
LICENCE: Allow shapes to be AGPLv3+
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 12:34:35 +0000 (12:34 +0000)]
clock: Adjust and make consistent position of nick etc.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 12:32:50 +0000 (12:32 +0000)]
clock: Adjust position of (x) or (y)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 12:32:35 +0000 (12:32 +0000)]
clock: Swap x and y
It just makes more sense for White to be X.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 12:30:07 +0000 (12:30 +0000)]
clock: Show x and y when unclaimed
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 12:25:21 +0000 (12:25 +0000)]
clock: Better handling when one player has flag up
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 12:04:42 +0000 (12:04 +0000)]
Update to modern wasm-bindgen
This involves
* Cargo.toml update to unpin the version
* Cargo.lock update, consequential
* Get rid of our ad-hoc kludge to get the wasm object into script.ts
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 11:41:30 +0000 (11:41 +0000)]
cargo: Fix syntax for wasm-bindgen dependency
This meant what I meant, but it's strange.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 11:40:07 +0000 (11:40 +0000)]
README.md: Update dependency count
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 11:37:20 +0000 (11:37 +0000)]
Use stamp file for wasm-bindgen-cli
cargo doesn't always touch the file, so we end up with useless
rebuilds etherwise.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 11:20:00 +0000 (11:20 +0000)]
cargo: Rename lockfile to Cargo.lock
This is apparently recommended for a thing which is a program.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 11:19:05 +0000 (11:19 +0000)]
Makefile: Delete some obsolete commented-out stuff
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 11:18:25 +0000 (11:18 +0000)]
README.md: Mention bubblewrap dependency
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 11:17:19 +0000 (11:17 +0000)]
README.md: Remove references to wasm-pack
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 10:47:34 +0000 (10:47 +0000)]
Makefile: Drop use of wasm-pack
I'm told on Discord that this is obsolete. (The docs all still
mention it, though.)
Anyway, the only thing it was actually doing for us was obtaining and
running wasm-bindgen. We can do that ourselves.
At one time we were using it to get and run wasm-opt, saving 5k out of
50k in the wasm file, but that was broken so we disabled it a while
ago.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 10:21:38 +0000 (10:21 +0000)]
cargo: Add our dependency on wasm-bindgen-cli
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 11:10:14 +0000 (11:10 +0000)]
Makefile: introduce MAKEFILE_FIND_X
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 11:01:09 +0000 (11:01 +0000)]
Makefile: Introduce MAKEFILE_DEP
This lets us say MAKEFILE_DEP='' to avoid unwanted rebuilding, while
we are editing the Makefile itself.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 10:25:51 +0000 (10:25 +0000)]
cargo update
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 01:50:53 +0000 (01:50 +0000)]
cargo: Add two more missing newlines at end of files
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 01:50:05 +0000 (01:50 +0000)]
cargo: toplevel: Add missing newline at end of file
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 02:01:49 +0000 (02:01 +0000)]
Remove spurious "g" which ended up in the template somehow
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 00:49:57 +0000 (00:49 +0000)]
clock: Avoid distracting text selection when clicking
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 00:32:04 +0000 (00:32 +0000)]
hidden: Do not allow a player to access entirely-invisible pieces
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 00:20:14 +0000 (00:20 +0000)]
updates: Remove an obsolete todo
We don't need a function for mapping pos. This is done via
PieceRenderInstructions etc.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sun, 21 Mar 2021 00:16:01 +0000 (00:16 +0000)]
hidden: Update max_z for max occulted displaced Z
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:54:40 +0000 (23:54 +0000)]
hidden: Tidy up a dbg!
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:52:42 +0000 (23:52 +0000)]
Do occultation removal before actually removing the piece
Otherwise the code in hidden gets *quite* unhappy.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:42:39 +0000 (23:42 +0000)]
hidden: Handle removal of occulted pieces (more)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:37:35 +0000 (23:37 +0000)]
hidden: Handle removal of occulted pieces
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:31:04 +0000 (23:31 +0000)]
hidden: Remove a done comment
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:30:02 +0000 (23:30 +0000)]
hidden: Fix a comment to refer to the right thing
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:26:55 +0000 (23:26 +0000)]
hidden: Prevent occultation scrambling of grasped things
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:20:26 +0000 (23:20 +0000)]
script: Remove a done todo
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:19:48 +0000 (23:19 +0000)]
clock: Tiny style change
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:18:03 +0000 (23:18 +0000)]
clock: Make it Moveable IfWresting if claimed
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:11:03 +0000 (23:11 +0000)]
PieceMoveable: Honour in JS
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 23:10:51 +0000 (23:10 +0000)]
PieceMoveable: Provide in session data
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 22:58:41 +0000 (22:58 +0000)]
PieceMoveable: Enforce in /m api call
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 22:58:21 +0000 (22:58 +0000)]
PieceMoveable: Move calculation into a method on GPiece
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 22:52:11 +0000 (22:52 +0000)]
PieceMoveable: Put in updates
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 22:31:31 +0000 (22:31 +0000)]
hand: Remove a wrong todo comment
We don't need PUU::RecalculateOccultations. This is done by create_
and remove_occultation. This is just as well as a PUO would be
horrible.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 22:29:55 +0000 (22:29 +0000)]
hand: Remove a wrong todo comment
We don't need to do anything special. cmdlistener will take care of
removing any occultation.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 22:28:04 +0000 (22:28 +0000)]
clock: Serialise the `current`
Not sure why this wasn't done before. Probably some remnant of early
design things.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 22:27:51 +0000 (22:27 +0000)]
clock: Provide a loaded_hook, to restart after load
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 22:21:35 +0000 (22:21 +0000)]
PieceTrait, global: Provide loaded_hook() with &InstanceRef
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 22:15:44 +0000 (22:15 +0000)]
PieceTrait, global: Provide loaded_hook()
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 22:06:57 +0000 (22:06 +0000)]
Replace OE::PieceGone with POE::PieceGone
The client might experience PieceGone due to occultation, so that's
not an error. The Delete update in the updates stream will generally
tell them what's going on.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:58:37 +0000 (21:58 +0000)]
clock: Delete some now-obsolete todos
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:58:09 +0000 (21:58 +0000)]
otterlib: Turn an must fix into a todo
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:57:35 +0000 (21:57 +0000)]
clock: Delete mockup files
We don't need these now.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:38:47 +0000 (21:38 +0000)]
clock: Fix reset view again
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:37:45 +0000 (21:37 +0000)]
clock: Tidying, refactor, introduce initial()
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:34:18 +0000 (21:34 +0000)]
clock: Tidying, rename Spec
This was very confusing.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:32:54 +0000 (21:32 +0000)]
clock: Tidying, introduce ChessClock::per_move()
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:31:30 +0000 (21:31 +0000)]
clock: Tidying, code motion
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:28:43 +0000 (21:28 +0000)]
clock: Give Y an extra per_move
This breaks detection of whether we're reset. We'll fix that in a
moment.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:23:24 +0000 (21:23 +0000)]
clock: Actually get per_move basically working
There are still some wrinkles.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:22:20 +0000 (21:22 +0000)]
clock: Fix per_move implementation (try to)
This still doesn't work when it needs to because typically the clock
is paused in both cases and this function then exits early.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:19:37 +0000 (21:19 +0000)]
clock: Plumb was_current through to do_start_or_stop
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 21:16:17 +0000 (21:16 +0000)]
penultima: clock: Add a per_move time to the spec
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 20:16:55 +0000 (20:16 +0000)]
clock: Implement per_move, but brokenly
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 19:25:35 +0000 (19:25 +0000)]
clock: auto-swap active player
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 19:20:50 +0000 (19:20 +0000)]
clock: Fix spinning
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 19:20:13 +0000 (19:20 +0000)]
clock: Add a missing Debug derive
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 19:00:45 +0000 (19:00 +0000)]
clock: Some todos
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 18:47:04 +0000 (18:47 +0000)]
clock: Implement held_change_hook, at least in part
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 18:52:40 +0000 (18:52 +0000)]
clock: Break out unprepared_update()
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 18:10:41 +0000 (18:10 +0000)]
clock: Implement the thread which actually counts
This is still not entirely right...
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 18:47:41 +0000 (18:47 +0000)]
pass PieceId to held_change_hook
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 20 Mar 2021 18:45:18 +0000 (18:45 +0000)]
pass &InstanceRef to held_change_hook
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>