chiark / gitweb /
otter.git
3 years agodocs: Change sphinx theme to classic
Ian Jackson [Wed, 14 Apr 2021 22:52:06 +0000 (23:52 +0100)]
docs: Change sphinx theme to classic

This seems to make navigation a bit easier.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: user: include screenshots
Ian Jackson [Wed, 14 Apr 2021 22:44:18 +0000 (23:44 +0100)]
docs: user: include screenshots

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: user: convert to rst
Ian Jackson [Wed, 14 Apr 2021 22:39:29 +0000 (23:39 +0100)]
docs: user: convert to rst

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoscreenshots: Add screenshot files, manually grabbed
Ian Jackson [Wed, 14 Apr 2021 22:32:57 +0000 (23:32 +0100)]
screenshots: Add screenshot files, manually grabbed

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobuild: Recommend using `&& echo it worked` to work around make
Ian Jackson [Wed, 14 Apr 2021 21:50:51 +0000 (22:50 +0100)]
build: Recommend using `&& echo it worked` to work around make

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobuild: Fix a build race involving target/bundled-sources
Ian Jackson [Wed, 14 Apr 2021 21:47:37 +0000 (22:47 +0100)]
build: Fix a build race involving target/bundled-sources

Symptoms:
  cp: cannot create regular file '/home/user/otter/target/bundled-sources/README.md': No such file or directory

Reported-by: Aldabra Stoddart <aldabra@gmail.com>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agomailmap: Add an entry as requested by the data subject
Ian Jackson [Wed, 14 Apr 2021 20:42:47 +0000 (21:42 +0100)]
mailmap: Add an entry as requested by the data subject

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoMakefile: Show different texts for tests and full tests
Ian Jackson [Wed, 14 Apr 2021 16:13:00 +0000 (17:13 +0100)]
Makefile: Show different texts for tests and full tests

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoMakefile: Use --target, not -T, for deploy arch
Ian Jackson [Wed, 14 Apr 2021 16:03:03 +0000 (17:03 +0100)]
Makefile: Use --target, not -T, for deploy arch

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocargo: update thirtyfour_sync to latest
Ian Jackson [Wed, 14 Apr 2021 15:57:03 +0000 (16:57 +0100)]
cargo: update thirtyfour_sync to latest

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocargo: update ndarray to latest
Ian Jackson [Wed, 14 Apr 2021 15:54:18 +0000 (16:54 +0100)]
cargo: update ndarray to latest

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocargo: update enum-map to latest
Ian Jackson [Wed, 14 Apr 2021 15:51:37 +0000 (16:51 +0100)]
cargo: update enum-map to latest

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocargo: update usvg to 0.13.1
Ian Jackson [Wed, 14 Apr 2021 15:48:14 +0000 (16:48 +0100)]
cargo: update usvg to 0.13.1

We can't use 0.14 because its command line parser is broken:
  https://github.com/RazrFalcon/resvg/issues/374

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocargo update
Ian Jackson [Wed, 14 Apr 2021 15:14:14 +0000 (16:14 +0100)]
cargo update

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoMakefile: Do various additional builds during full-check
Ian Jackson [Wed, 14 Apr 2021 15:19:37 +0000 (16:19 +0100)]
Makefile: Do various additional builds during full-check

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobuild: build-depend on, and build our own, usvg and bundle-sources
Ian Jackson [Wed, 14 Apr 2021 15:11:57 +0000 (16:11 +0100)]
build: build-depend on, and build our own, usvg and bundle-sources

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocargo: Add dependencies for usvg and bundle-sources
Ian Jackson [Wed, 14 Apr 2021 14:53:04 +0000 (15:53 +0100)]
cargo: Add dependencies for usvg and bundle-sources

And unnail bundle-sources

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoMakefile: Add more tests to full-check
Ian Jackson [Wed, 14 Apr 2021 15:31:46 +0000 (16:31 +0100)]
Makefile: Add more tests to full-check

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agovpid, miri: Disable the check fn too
Ian Jackson [Wed, 14 Apr 2021 15:31:27 +0000 (16:31 +0100)]
vpid, miri: Disable the check fn too

This is then unused and produces a warning.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agovpid, miri: Disable the exhaustive test under miri
Ian Jackson [Wed, 14 Apr 2021 15:22:54 +0000 (16:22 +0100)]
vpid, miri: Disable the exhaustive test under miri

It is quite slow.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agomedia-scraper: Include a USVG_DEP in appropriate depenndencies
Ian Jackson [Wed, 14 Apr 2021 15:00:00 +0000 (16:00 +0100)]
media-scraper: Include a USVG_DEP in appropriate depenndencies

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agorust version: Fix to use min_type_alias_impl_trait
Ian Jackson [Wed, 14 Apr 2021 01:17:32 +0000 (02:17 +0100)]
rust version: Fix to use min_type_alias_impl_trait

This was split off since I last updated.

Reported-by: Aldabra Stoddart <aldabra@gmail.com>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: cancel special selection which clicking on background, etc.
Ian Jackson [Wed, 14 Apr 2021 00:39:52 +0000 (01:39 +0100)]
js: cancel special selection which clicking on background, etc.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodrag select: cancel selection indication properly
Ian Jackson [Wed, 14 Apr 2021 00:28:17 +0000 (01:28 +0100)]
drag select: cancel selection indication properly

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodrag select: drag, make less funky
Ian Jackson [Wed, 14 Apr 2021 00:27:11 +0000 (01:27 +0100)]
drag select: drag, make less funky

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodrag box: Fix box to be a box, still rather funky
Ian Jackson [Wed, 14 Apr 2021 00:22:20 +0000 (01:22 +0100)]
drag box: Fix box to be a box, still rather funky

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodrag box: Fix line aesthetics
Ian Jackson [Wed, 14 Apr 2021 00:13:20 +0000 (01:13 +0100)]
drag box: Fix line aesthetics

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodrag select: half working, display is odd
Ian Jackson [Wed, 14 Apr 2021 00:34:30 +0000 (01:34 +0100)]
drag select: half working, display is odd

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodrag: Provide movehist_end in template
Ian Jackson [Wed, 7 Apr 2021 18:53:10 +0000 (19:53 +0100)]
drag: Provide movehist_end in template

We're going to want to put things between this and static_defs.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Break out ungrab_clicked
Ian Jackson [Tue, 13 Apr 2021 23:44:43 +0000 (00:44 +0100)]
js: Break out ungrab_clicked

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodev: Fix a reference to zcoord
Ian Jackson [Tue, 13 Apr 2021 18:52:29 +0000 (19:52 +0100)]
dev: Fix a reference to zcoord

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodoc: Document "1" to select 1 not-necessarily-topmost
Ian Jackson [Tue, 13 Apr 2021 23:30:25 +0000 (00:30 +0100)]
doc: Document "1" to select 1 not-necessarily-topmost

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Handle first shift selection of count correctly
Ian Jackson [Tue, 13 Apr 2021 23:28:42 +0000 (00:28 +0100)]
js: Handle first shift selection of count correctly

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Fix shift counted select to only add
Ian Jackson [Tue, 13 Apr 2021 23:21:46 +0000 (00:21 +0100)]
js: Fix shift counted select to only add

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Rework drag spread
Ian Jackson [Tue, 13 Apr 2021 23:15:14 +0000 (00:15 +0100)]
js: Rework drag spread

Now it is coherent

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Do grab before drag
Ian Jackson [Tue, 13 Apr 2021 22:42:24 +0000 (23:42 +0100)]
js: Do grab before drag

This is more consistent and will enable better refactoring

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Properly handle shift-click deselection
Ian Jackson [Tue, 13 Apr 2021 22:41:22 +0000 (23:41 +0100)]
js: Properly handle shift-click deselection

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Sort out allow_for_deselect
Ian Jackson [Tue, 13 Apr 2021 22:24:53 +0000 (23:24 +0100)]
js: Sort out allow_for_deselect

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Handle (counted) (de)selection better
Ian Jackson [Tue, 13 Apr 2021 20:16:27 +0000 (21:16 +0100)]
js: Handle (counted) (de)selection better

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Break out inner function is_already()
Ian Jackson [Tue, 13 Apr 2021 20:15:22 +0000 (21:15 +0100)]
js: Break out inner function is_already()

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Skip already-selected pieces for deselection in counted selection
Ian Jackson [Tue, 13 Apr 2021 20:06:39 +0000 (21:06 +0100)]
js: Skip already-selected pieces for deselection in counted selection

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Provide ungrab_all_except (and PieceSet)
Ian Jackson [Tue, 13 Apr 2021 20:05:50 +0000 (21:05 +0100)]
js: Provide ungrab_all_except (and PieceSet)

Nothing calls the new function yet.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Break out grab_clicked
Ian Jackson [Tue, 13 Apr 2021 19:51:59 +0000 (20:51 +0100)]
js: Break out grab_clicked

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Prep mouse_find_predicate for drag selection
Ian Jackson [Tue, 13 Apr 2021 19:47:23 +0000 (20:47 +0100)]
js: Prep mouse_find_predicate for drag selection

We don't want to bail if we bottomed out, unless an amount was
specified.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Handle counted selection of mixed held states
Ian Jackson [Tue, 13 Apr 2021 19:46:58 +0000 (20:46 +0100)]
js: Handle counted selection of mixed held states

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Allow special select of pinned things in in wresting mode
Ian Jackson [Tue, 13 Apr 2021 19:23:43 +0000 (20:23 +0100)]
js: Allow special select of pinned things in in wresting mode

We are going to reuse this code for drag select.  Might as well let
this work, although it is a bit exciting and I think right now you
can't be in wresting mode and also special select.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoFix a typo
Ian Jackson [Tue, 13 Apr 2021 17:43:31 +0000 (18:43 +0100)]
Fix a typo

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoMerge remote-tracking branch 'aldabra/typos' into typos
Ian Jackson [Tue, 13 Apr 2021 17:41:27 +0000 (18:41 +0100)]
Merge remote-tracking branch 'aldabra/typos' into typos

(DCO confirmed via email.)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoProof-read
Aldabra [Tue, 13 Apr 2021 08:58:38 +0000 (09:58 +0100)]
Proof-read

3 years agojs: Tiny reformat
Ian Jackson [Mon, 12 Apr 2021 18:27:44 +0000 (19:27 +0100)]
js: Tiny reformat

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Break out mouse_find_lowest
Ian Jackson [Mon, 12 Apr 2021 18:27:19 +0000 (19:27 +0100)]
js: Break out mouse_find_lowest

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Break out mouse_predicate
Ian Jackson [Mon, 12 Apr 2021 18:25:21 +0000 (19:25 +0100)]
js: Break out mouse_predicate

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Break out mouse_clicked_one
Ian Jackson [Mon, 12 Apr 2021 18:18:55 +0000 (19:18 +0100)]
js: Break out mouse_clicked_one

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agojs: Break out mouse_find_clicked
Ian Jackson [Mon, 12 Apr 2021 18:09:49 +0000 (19:09 +0100)]
js: Break out mouse_find_clicked

Drag is going to want to change the way this is called.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoRevert "locks: Make config an Option"
Ian Jackson [Sat, 10 Apr 2021 17:15:14 +0000 (18:15 +0100)]
Revert "locks: Make config an Option"

There's no point to this unless it helps us get rid of the
lazy_static!  But it doesn't.

This reverts commit 79bf71d23437a33eaf4ce27f2d325d21508bb45e.

3 years agoscript: Suppress default actions of our keystrokes
Ian Jackson [Fri, 9 Apr 2021 17:57:54 +0000 (18:57 +0100)]
script: Suppress default actions of our keystrokes

In particular, this means that pressing SPC to cancel a special
selection mode will no longer scroll the main window.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoAbolish InstanceLockError, turning it into just GameBeingDestroyed
Ian Jackson [Fri, 9 Apr 2021 16:47:34 +0000 (17:47 +0100)]
Abolish InstanceLockError, turning it into just GameBeingDestroyed

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agolocks: Make config an Option
Ian Jackson [Fri, 9 Apr 2021 16:27:10 +0000 (17:27 +0100)]
locks: Make config an Option

This makes it plausible to implement ConstDefault for it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs/build: Add missing build-dep libtoml-parser-perl
Ian Jackson [Fri, 9 Apr 2021 16:25:46 +0000 (17:25 +0100)]
docs/build: Add missing build-dep libtoml-parser-perl

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agolocks: Switch to parking_lot for everything
Ian Jackson [Fri, 9 Apr 2021 15:58:13 +0000 (16:58 +0100)]
locks: Switch to parking_lot for everything

This gets rid of a lot of unwrap()

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agopoison, locks: Rename lock_even_poisoned
Ian Jackson [Fri, 9 Apr 2021 15:45:29 +0000 (16:45 +0100)]
poison, locks: Rename lock_even_poisoned

Actually, this just checks for liveness now.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agopoison, locks: Ignore all poisoning
Ian Jackson [Fri, 9 Apr 2021 15:39:44 +0000 (16:39 +0100)]
poison, locks: Ignore all poisoning

This does more harm than good.  Better to blunder on.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: sphinx-doc target: Print file: url
Ian Jackson [Thu, 8 Apr 2021 19:59:18 +0000 (20:59 +0100)]
docs: sphinx-doc target: Print file: url

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: much work
Ian Jackson [Thu, 8 Apr 2021 19:32:59 +0000 (20:32 +0100)]
docs: much work

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: rework build instructions
Ian Jackson [Thu, 8 Apr 2021 18:53:06 +0000 (19:53 +0100)]
docs: rework build instructions

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip work on build
Ian Jackson [Thu, 8 Apr 2021 18:32:07 +0000 (19:32 +0100)]
docs: wip work on build

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Add sphnix-doc to full-check
Ian Jackson [Thu, 8 Apr 2021 18:27:11 +0000 (19:27 +0100)]
docs: Add sphnix-doc to full-check

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Headings
Ian Jackson [Thu, 8 Apr 2021 18:26:33 +0000 (19:26 +0100)]
docs: Headings

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Edit some metadata
Ian Jackson [Thu, 8 Apr 2021 18:21:01 +0000 (19:21 +0100)]
docs: Edit some metadata

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Build not in spearate build/ subdir
Ian Jackson [Thu, 8 Apr 2021 18:14:24 +0000 (19:14 +0100)]
docs: Build not in spearate build/ subdir

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Wire build into our top-level Makefile
Ian Jackson [Thu, 8 Apr 2021 18:12:11 +0000 (19:12 +0100)]
docs: Wire build into our top-level Makefile

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: sphnix build: Add a link for our stuff.
Ian Jackson [Thu, 8 Apr 2021 17:43:32 +0000 (18:43 +0100)]
docs: sphnix build: Add a link for our stuff.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: sphinx build: Add our .md files
Ian Jackson [Thu, 8 Apr 2021 17:42:00 +0000 (18:42 +0100)]
docs: sphinx build: Add our .md files

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: sphnix build: Add markdown support
Ian Jackson [Thu, 8 Apr 2021 17:41:50 +0000 (18:41 +0100)]
docs: sphnix build: Add markdown support

This is a bit crazy.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: sphnix build: Add a .gitignore
Ian Jackson [Thu, 8 Apr 2021 17:18:22 +0000 (18:18 +0100)]
docs: sphnix build: Add a .gitignore

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: sphnix build: Reorganise a bit
Ian Jackson [Thu, 8 Apr 2021 17:05:47 +0000 (18:05 +0100)]
docs: sphnix build: Reorganise a bit

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Run sphinx-quickstart and commit the results
Ian Jackson [Thu, 8 Apr 2021 17:00:22 +0000 (18:00 +0100)]
docs: Run sphinx-quickstart and commit the results

There will be much editing of this, but at least note what we started
with.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Start of reorganisation and much editing
Ian Jackson [Wed, 7 Apr 2021 22:54:10 +0000 (23:54 +0100)]
docs: Start of reorganisation and much editing

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoMakefile: Honour new CARGO_DOC_OPTS variable
Ian Jackson [Thu, 8 Apr 2021 15:07:16 +0000 (16:07 +0100)]
Makefile: Honour new CARGO_DOC_OPTS variable

This can be used to limit the number of rustdoc processes when running
autotests.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoshapelib: Fix sort order for playing cards to be actually bridge
Ian Jackson [Wed, 7 Apr 2021 22:39:55 +0000 (23:39 +0100)]
shapelib: Fix sort order for playing cards to be actually bridge

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoPrevent use of organise function when rotated
Ian Jackson [Wed, 7 Apr 2021 18:17:49 +0000 (19:17 +0100)]
Prevent use of organise function when rotated

Add the proof token to the organise function, and check it in hand.

This only currently makes any difference for player labels, because
the other kinds of hand are unrotateable from load time.

Because we don't update uos on rotation, the player can try to
organise a rotated player label, but they will get an error.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoPrevent occultation by rotated pieces
Ian Jackson [Wed, 7 Apr 2021 18:19:57 +0000 (19:19 +0100)]
Prevent occultation by rotated pieces

* Add a OcculterRotationChecked proof token to create_occultation
* Make a function to get the proof token from the GPiece
* In ui_operation (do the thing) functions, check it and plumb it through
* In the load functions, set rotateable to false

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoPlumb ShowUnocculted through to ui_operation trait methods
Ian Jackson [Wed, 7 Apr 2021 17:41:59 +0000 (18:41 +0100)]
Plumb ShowUnocculted through to ui_operation trait methods

We're going to want this.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agorotateable: Provide PieceAngle::is_rotated
Ian Jackson [Wed, 7 Apr 2021 17:34:20 +0000 (18:34 +0100)]
rotateable: Provide PieceAngle::is_rotated

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agorotateable: wip plumbing
Ian Jackson [Wed, 7 Apr 2021 17:19:42 +0000 (18:19 +0100)]
rotateable: wip plumbing

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoupdates: Fix json_len for piecestate to include some for fixed stuff
Ian Jackson [Wed, 7 Apr 2021 18:38:11 +0000 (19:38 +0100)]
updates: Fix json_len for piecestate to include some for fixed stuff

Empirically, this broke!

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodeck, hand: Do not move unless Wresting
Ian Jackson [Wed, 7 Apr 2021 16:39:12 +0000 (17:39 +0100)]
deck, hand: Do not move unless Wresting

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoorganise: Better layouts
Ian Jackson [Tue, 6 Apr 2021 20:37:11 +0000 (21:37 +0100)]
organise: Better layouts

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoorganise: Apply overlap limit positon to all methods
Ian Jackson [Tue, 6 Apr 2021 20:23:55 +0000 (21:23 +0100)]
organise: Apply overlap limit positon to all methods

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoorganise: hanging: Show more clearly, whole of card ident
Ian Jackson [Tue, 6 Apr 2021 19:56:54 +0000 (20:56 +0100)]
organise: hanging: Show more clearly, whole of card ident

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodeck: implement organise and sort function
Ian Jackson [Tue, 6 Apr 2021 19:40:41 +0000 (20:40 +0100)]
deck: implement organise and sort function

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agootterlib: Show sort order in preview
Ian Jackson [Tue, 6 Apr 2021 19:13:57 +0000 (20:13 +0100)]
otterlib: Show sort order in preview

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoPlumb sortkey through PieceTrait to otterlib
Ian Jackson [Tue, 6 Apr 2021 19:07:10 +0000 (20:07 +0100)]
Plumb sortkey through PieceTrait to otterlib

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agootterlib: Break apart some html code (NFC)
Ian Jackson [Tue, 6 Apr 2021 19:06:22 +0000 (20:06 +0100)]
otterlib: Break apart some html code (NFC)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocards-oxymoron: Provide sort key information
Ian Jackson [Tue, 6 Apr 2021 18:57:34 +0000 (19:57 +0100)]
cards-oxymoron: Provide sort key information

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoshapelib: Provide sort key information
Ian Jackson [Tue, 6 Apr 2021 19:16:57 +0000 (20:16 +0100)]
shapelib: Provide sort key information

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoshapelib: Add "extra fields" feature
Ian Jackson [Tue, 6 Apr 2021 18:56:26 +0000 (19:56 +0100)]
shapelib: Add "extra fields" feature

We'll define one of these in a moment.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoshapelib-toml: Add an internal comment
Ian Jackson [Tue, 6 Apr 2021 18:54:21 +0000 (19:54 +0100)]
shapelib-toml: Add an internal comment

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoshapelib: Rename Registry.libs
Ian Jackson [Tue, 6 Apr 2021 00:44:24 +0000 (01:44 +0100)]
shapelib: Rename Registry.libs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agopcaliases: Tidy up
Ian Jackson [Tue, 6 Apr 2021 00:23:45 +0000 (01:23 +0100)]
pcaliases: Tidy up

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>