chiark / gitweb /
otter.git
22 months agochangelog: document further make-release changes main otter-1.2.1
Ian Jackson [Sun, 26 Jun 2022 01:43:49 +0000 (02:43 +0100)]
changelog: document further make-release changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agomake-release: unset http proxy variables
Ian Jackson [Sun, 26 Jun 2022 01:42:24 +0000 (02:42 +0100)]
make-release: unset http proxy variables

This makes cargo publish slow!

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agochangelog: Document keybinding disambiguation fix
Ian Jackson [Sun, 26 Jun 2022 01:32:12 +0000 (02:32 +0100)]
changelog: Document keybinding disambiguation fix

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Builtin per-piece actions properly uniqueness tested
Ian Jackson [Sun, 26 Jun 2022 01:28:46 +0000 (02:28 +0100)]
script: Builtin per-piece actions properly uniqueness tested

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Break out prep_add_uo
Ian Jackson [Sun, 26 Jun 2022 01:28:18 +0000 (02:28 +0100)]
script: Break out prep_add_uo

We'll need this in a moment.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoCargo.toml: Update all versions to 1.2.1
Ian Jackson [Sun, 26 Jun 2022 01:00:09 +0000 (02:00 +0100)]
Cargo.toml: Update all versions to 1.2.1

Commit made automatically by update-versions.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agochangelog: document recent changes
Ian Jackson [Sun, 26 Jun 2022 00:55:14 +0000 (01:55 +0100)]
changelog: document recent changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agomake-release: Add a checklist entry for cargo audit
Ian Jackson [Sun, 26 Jun 2022 00:48:45 +0000 (01:48 +0100)]
make-release: Add a checklist entry for cargo audit

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agocargo update
Ian Jackson [Sun, 26 Jun 2022 00:48:26 +0000 (01:48 +0100)]
cargo update

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agomake-release: Add a checklist entry to run with --dry-run
Ian Jackson [Sun, 26 Jun 2022 00:47:52 +0000 (01:47 +0100)]
make-release: Add a checklist entry to run with --dry-run

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Fix event propagation (for Chromium)
Ian Jackson [Sun, 26 Jun 2022 00:46:07 +0000 (01:46 +0100)]
script: Fix event propagation (for Chromium)

Apparently Chromium handles default behaviour of mouse events
differently, and we need to suppress it like this.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agodocs: Fix date of 1.2.0 in in changelog
Ian Jackson [Fri, 24 Jun 2022 21:52:06 +0000 (22:52 +0100)]
docs: Fix date of 1.2.0 in in changelog

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agodocs: bundles: Properly document format statuses
Ian Jackson [Fri, 24 Jun 2022 21:51:53 +0000 (22:51 +0100)]
docs: bundles: Properly document format statuses

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoCargo.toml: Update all versions to 1.2.0 otter-1.2.0
Ian Jackson [Thu, 23 Jun 2022 19:50:08 +0000 (20:50 +0100)]
Cargo.toml: Update all versions to 1.2.0

Commit made automatically by update-versions.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agocargo: update x11rb
Ian Jackson [Thu, 23 Jun 2022 19:44:55 +0000 (20:44 +0100)]
cargo: update x11rb

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agocargo: update usvg
Ian Jackson [Thu, 23 Jun 2022 19:37:14 +0000 (20:37 +0100)]
cargo: update usvg

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agocargo: update delegate
Ian Jackson [Thu, 23 Jun 2022 19:36:37 +0000 (20:36 +0100)]
cargo: update delegate

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agocargo update
Ian Jackson [Thu, 23 Jun 2022 19:31:51 +0000 (20:31 +0100)]
cargo update

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agodocs: Correct `desc_template` description
Ian Jackson [Tue, 21 Jun 2022 23:05:31 +0000 (00:05 +0100)]
docs: Correct `desc_template` description

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agochanges since 1.1.0
Ian Jackson [Tue, 21 Jun 2022 22:22:07 +0000 (23:22 +0100)]
changes since 1.1.0

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: on delete, delete occregion too
Ian Jackson [Tue, 21 Jun 2022 21:25:02 +0000 (22:25 +0100)]
script: on delete, delete occregion too

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: on insert, call piece_modify, implying _image
Ian Jackson [Tue, 21 Jun 2022 21:10:19 +0000 (22:10 +0100)]
script: on insert, call piece_modify, implying _image

Previously, we ad-hoc open-coded:

  delem.innerHTML = info.svg
  p.pelem = pelem,
  p.uos = info.uos;
  piece_resolve_special(piece, p);

but this forgot:

  p.bbox = info.bbox;
  p.desc = info.desc;

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: multigrab even when the piece is held already
Ian Jackson [Sun, 19 Jun 2022 21:24:46 +0000 (22:24 +0100)]
script: multigrab even when the piece is held already

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Allow drag start in hands
Ian Jackson [Sun, 19 Jun 2022 19:57:55 +0000 (20:57 +0100)]
script: Allow drag start in hands

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Add a couple of debugs
Ian Jackson [Sun, 19 Jun 2022 21:08:13 +0000 (22:08 +0100)]
script: Add a couple of debugs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Break out mouseclick_core
Ian Jackson [Sun, 19 Jun 2022 19:54:57 +0000 (20:54 +0100)]
script: Break out mouseclick_core

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: rectsel_started_on_whynot
Ian Jackson [Sun, 19 Jun 2022 19:40:54 +0000 (20:40 +0100)]
script: rectsel_started_on_whynot

Calculate this when the mouse goes down.  That is more correct.
Also we're going to want to add another case.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript; Have pinned_message_for_log, returning the message
Ian Jackson [Sun, 19 Jun 2022 19:36:08 +0000 (20:36 +0100)]
script; Have pinned_message_for_log, returning the message

We want to save it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript; Add some piece descriptions to messages
Ian Jackson [Sun, 19 Jun 2022 19:30:50 +0000 (20:30 +0100)]
script; Add some piece descriptions to messages

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Allow rectangle select drag to start on pinned
Ian Jackson [Sun, 19 Jun 2022 19:24:08 +0000 (20:24 +0100)]
script: Allow rectangle select drag to start on pinned

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Break out pinned_log_message
Ian Jackson [Sun, 19 Jun 2022 19:16:51 +0000 (20:16 +0100)]
script: Break out pinned_log_message

We're going to reuse this.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Break out treat_as_pinned
Ian Jackson [Sun, 19 Jun 2022 19:13:51 +0000 (20:13 +0100)]
script: Break out treat_as_pinned

We're going to reuse this.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Leave wresting mode on space
Ian Jackson [Mon, 13 Jun 2022 00:11:40 +0000 (01:11 +0100)]
script: Leave wresting mode on space

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Change how we ungrab on all wresting transitions
Ian Jackson [Mon, 13 Jun 2022 00:50:29 +0000 (01:50 +0100)]
script: Change how we ungrab on all wresting transitions

We're going to change wresting in another place.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Properly update wresting warning in pane
Ian Jackson [Mon, 13 Jun 2022 00:49:14 +0000 (01:49 +0100)]
script: Properly update wresting warning in pane

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Allow backspace to delete typed special count
Ian Jackson [Mon, 13 Jun 2022 00:44:33 +0000 (01:44 +0100)]
script: Allow backspace to delete typed special count

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Fiddle with CSS to try to get cursor to update
Ian Jackson [Mon, 13 Jun 2022 00:26:19 +0000 (01:26 +0100)]
script: Fiddle with CSS to try to get cursor to update

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Make mouse cursor different in wresting mode
Ian Jackson [Sun, 12 Jun 2022 23:57:43 +0000 (00:57 +0100)]
script: Make mouse cursor different in wresting mode

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript; Call mousecursor_etc_reupdate on wresting entry/exit
Ian Jackson [Mon, 13 Jun 2022 00:10:47 +0000 (01:10 +0100)]
script; Call mousecursor_etc_reupdate on wresting entry/exit

This will let us change the mouse cursor according to wresting mode.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript; Rename mousecursor_etc_reupdate
Ian Jackson [Mon, 13 Jun 2022 00:10:20 +0000 (01:10 +0100)]
script; Rename mousecursor_etc_reupdate

We're going to call this when entering/leaving wresting mode.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoscript: Mouse cursor: Reorganise
Ian Jackson [Sun, 12 Jun 2022 23:47:01 +0000 (00:47 +0100)]
script: Mouse cursor: Reorganise

This will make it easier to reuse bits.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agocli: Provide set-access subcommand
Ian Jackson [Sun, 12 Jun 2022 23:22:10 +0000 (00:22 +0100)]
cli: Provide set-access subcommand

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agocli: Add do_links parameter to setup_table
Ian Jackson [Sun, 12 Jun 2022 23:17:03 +0000 (00:17 +0100)]
cli: Add do_links parameter to setup_table

This is to let us only do the ACL.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agocli: reset: Fix a typo in a message, and an old comment
Ian Jackson [Sun, 12 Jun 2022 23:19:02 +0000 (00:19 +0100)]
cli: reset: Fix a typo in a message, and an old comment

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoSend an info pane update when a player changes their nick
Ian Jackson [Sun, 12 Jun 2022 23:03:12 +0000 (00:03 +0100)]
Send an info pane update when a player changes their nick

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoBreak out prepare_set_player_update
Ian Jackson [Sun, 12 Jun 2022 23:01:46 +0000 (00:01 +0100)]
Break out prepare_set_player_update

We'll want this for nick updates.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoRename SetPlayer to AddPlayer
Ian Jackson [Sun, 12 Jun 2022 22:49:48 +0000 (23:49 +0100)]
Rename SetPlayer to AddPlayer

The JS code can handle this as an update to a new player or as an
update to an existing one.

We're going to send this update when a player nick changes.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoclock: Explain why separate rendering with abs positions
Ian Jackson [Sun, 12 Jun 2022 22:43:12 +0000 (23:43 +0100)]
clock: Explain why separate rendering with abs positions

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoChange monospace font to DejaVu Sans
Ian Jackson [Sun, 12 Jun 2022 22:37:46 +0000 (23:37 +0100)]
Change monospace font to DejaVu Sans

A user reported that the specified font wasn't available and they got
somthing that misrendered in the clock.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoWhen printing game access URL, say in message that it's private
Ian Jackson [Sun, 12 Jun 2022 22:07:46 +0000 (23:07 +0100)]
When printing game access URL, say in message that it's private

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agohidden: Note everything as occulted, even the unoccultable
Ian Jackson [Sun, 12 Jun 2022 22:00:23 +0000 (23:00 +0100)]
hidden: Note everything as occulted, even the unoccultable

They now have a `passive`, and an occid, and so on.  But of course
they don't look any different.  They end up treated as IOI::Distinct,
so in unnotched.

The overall effect is simply on counting: now they are counted.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agodemo game: Add a pickup deck
Ian Jackson [Sun, 12 Jun 2022 17:33:22 +0000 (18:33 +0100)]
demo game: Add a pickup deck

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agowdt-simple: Use initial_vpid_by_desc_glob
Ian Jackson [Sun, 12 Jun 2022 20:40:31 +0000 (21:40 +0100)]
wdt-simple: Use initial_vpid_by_desc_glob

Found with
    git-grep -P '\d+v\d+' wdriver/wdt-simple.rs

This is still not great; ideally we would do something more like the
newer tests, with downloading the piece list.  But this will do.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agowdt-hand: Use initial_vpid_by_desc_glob
Ian Jackson [Sun, 12 Jun 2022 19:54:13 +0000 (20:54 +0100)]
wdt-hand: Use initial_vpid_by_desc_glob

This fixes the pieceid literals.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agowdt-hand: Replace const vpid with ad-hoc strings and todos
Ian Jackson [Sun, 12 Jun 2022 19:53:05 +0000 (20:53 +0100)]
wdt-hand: Replace const vpid with ad-hoc strings and todos

This is a noisy commit with lots of variable reference changes.
The actual variable settings will be adjusted in a moment.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoapitest: Provide initial_[vp]id_by_desc_glob
Ian Jackson [Sun, 12 Jun 2022 19:29:08 +0000 (20:29 +0100)]
apitest: Provide initial_[vp]id_by_desc_glob

The plan is to replace literal pieceids with this.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoapitest: Promote PIA and PIB to where wdriver can use them
Ian Jackson [Sun, 12 Jun 2022 17:45:17 +0000 (18:45 +0100)]
apitest: Promote PIA and PIB to where wdriver can use them

I thought I wanted this for replacing literal piece values in tests,
but actually I don't think I do since MGI::ListPieces and list_pieces
will do.  But there seems little harm in it, so keep it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agoapitest: Mark some hyper things as too verbose
Ian Jackson [Sun, 12 Jun 2022 19:29:44 +0000 (20:29 +0100)]
apitest: Mark some hyper things as too verbose

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agodemo game: Fix a misindent.
Ian Jackson [Sun, 12 Jun 2022 17:33:10 +0000 (18:33 +0100)]
demo game: Fix a misindent.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
22 months agodemo game: Increase table size
Ian Jackson [Sun, 12 Jun 2022 17:30:31 +0000 (18:30 +0100)]
demo game: Increase table size

We want to add more things.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoMakefile: use deploy arch for usvg too
Ian Jackson [Thu, 26 May 2022 19:17:07 +0000 (20:17 +0100)]
Makefile: use deploy arch for usvg too

Otherwise it won't run in places that need the musl build.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agochangelog: Fix heading for 1.1.0 otter-1.1.0
Ian Jackson [Thu, 26 May 2022 17:54:22 +0000 (18:54 +0100)]
changelog: Fix heading for 1.1.0

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agochangeloc: Set version
Ian Jackson [Thu, 26 May 2022 00:12:13 +0000 (01:12 +0100)]
changeloc: Set version

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoCargo.toml: Update all versions to 1.1.0
Ian Jackson [Thu, 26 May 2022 00:11:41 +0000 (01:11 +0100)]
Cargo.toml: Update all versions to 1.1.0

Commit made automatically by update-versions.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoshapelib: Fix backward incompatible unnotched, stack_pos
Ian Jackson [Thu, 26 May 2022 00:04:46 +0000 (01:04 +0100)]
shapelib: Fix backward incompatible unnotched, stack_pos

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoshapelib: Fix a backward incompatible ifastsplits field
Ian Jackson [Wed, 25 May 2022 23:55:04 +0000 (00:55 +0100)]
shapelib: Fix a backward incompatible ifastsplits field

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoshapelib: Fix a backward incompatible itemname field
Ian Jackson [Wed, 25 May 2022 23:46:30 +0000 (00:46 +0100)]
shapelib: Fix a backward incompatible itemname field

This is a bit of a bodge, but it will work right for existing games.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agomake-release: Use new nailing-cargo git mode
Ian Jackson [Wed, 25 May 2022 23:15:52 +0000 (00:15 +0100)]
make-release: Use new nailing-cargo git mode

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agomake-release: Add missing `support` to cargo_order variable
Ian Jackson [Wed, 25 May 2022 23:15:06 +0000 (00:15 +0100)]
make-release: Add missing `support` to cargo_order variable

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agodocs: Tighten and clarify semver slightly
Ian Jackson [Wed, 25 May 2022 20:35:39 +0000 (21:35 +0100)]
docs: Tighten and clarify semver slightly

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agochangelog: document recent changes
Ian Jackson [Mon, 23 May 2022 18:27:08 +0000 (19:27 +0100)]
changelog: document recent changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agocargo upgrade: scraper
Ian Jackson [Wed, 25 May 2022 20:30:57 +0000 (21:30 +0100)]
cargo upgrade: scraper

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agocargo upgrade: nix
Ian Jackson [Wed, 25 May 2022 20:29:58 +0000 (21:29 +0100)]
cargo upgrade: nix

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agocargo upgrade: ordered-float
Ian Jackson [Wed, 25 May 2022 20:28:40 +0000 (21:28 +0100)]
cargo upgrade: ordered-float

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agocargo update
Ian Jackson [Wed, 25 May 2022 20:23:55 +0000 (21:23 +0100)]
cargo update

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agodocs: Document library magic items
Ian Jackson [Wed, 25 May 2022 00:26:25 +0000 (01:26 +0100)]
docs: Document library magic items

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agodocs: Fix formatting in mformat section
Ian Jackson [Wed, 25 May 2022 00:26:11 +0000 (01:26 +0100)]
docs: Fix formatting in mformat section

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agodocs: Clarify where extra fields go
Ian Jackson [Wed, 25 May 2022 00:24:54 +0000 (01:24 +0100)]
docs: Clarify where extra fields go

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agodocs: Provide xref for piece specs
Ian Jackson [Wed, 25 May 2022 00:24:29 +0000 (01:24 +0100)]
docs: Provide xref for piece specs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agodocs: Document new substitution syntax
Ian Jackson [Sun, 15 May 2022 21:23:40 +0000 (22:23 +0100)]
docs: Document new substitution syntax

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoangles: Reinstate compatibility with mf1 format
Ian Jackson [Mon, 23 May 2022 18:07:33 +0000 (19:07 +0100)]
angles: Reinstate compatibility with mf1 format

We don't need to check the mformat, since the old syntax is disjoint
from the new one.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoSupport stack_pos on PickupDeck
Ian Jackson [Sun, 22 May 2022 22:43:49 +0000 (23:43 +0100)]
Support stack_pos on PickupDeck

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoAdd more missing font options
Ian Jackson [Sun, 22 May 2022 19:28:26 +0000 (20:28 +0100)]
Add more missing font options

usvg has terrible defaults.  Without these, text silently vanishes.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agousvg: Pass default options even during bundle processing.
Ian Jackson [Sun, 22 May 2022 19:34:45 +0000 (20:34 +0100)]
usvg: Pass default options even during bundle processing.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agousvg: Refactor code that runs it in bundles.rs
Ian Jackson [Sun, 22 May 2022 19:31:12 +0000 (20:31 +0100)]
usvg: Refactor code that runs it in bundles.rs

This provides a place to put additional command line options.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoPlumb usvg options from a file src/USVG_DEFAULT_ARGS.txt
Ian Jackson [Sun, 22 May 2022 19:27:04 +0000 (20:27 +0100)]
Plumb usvg options from a file src/USVG_DEFAULT_ARGS.txt

Rather than the Makefile.  This will let us make the default arguments
available to Rust code.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agousvg-processor: Print the command we run
Ian Jackson [Sun, 22 May 2022 19:24:34 +0000 (20:24 +0100)]
usvg-processor: Print the command we run

We're going to bury some extra option addition here, but it should be
visibile.  Ah well, the build log ever grows.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoangles: Make not be insane
Ian Jackson [Sun, 22 May 2022 11:02:57 +0000 (12:02 +0100)]
angles: Make not be insane

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agodocs: Fix a typo
Ian Jackson [Sun, 22 May 2022 09:51:25 +0000 (10:51 +0100)]
docs: Fix a typo

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoat-currency: Test depositing from hidden
Ian Jackson [Sun, 22 May 2022 09:50:01 +0000 (10:50 +0100)]
at-currency: Test depositing from hidden

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoapitest: Rename some variables
Ian Jackson [Sun, 22 May 2022 09:29:44 +0000 (10:29 +0100)]
apitest: Rename some variables

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoat-currency: More tests
Ian Jackson [Sun, 22 May 2022 09:27:04 +0000 (10:27 +0100)]
at-currency: More tests

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoat-currency: More tests
Ian Jackson [Sun, 22 May 2022 09:21:22 +0000 (10:21 +0100)]
at-currency: More tests

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoapitest: Fish out quantities
Ian Jackson [Sun, 22 May 2022 09:07:59 +0000 (10:07 +0100)]
apitest: Fish out quantities

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoapitest: Introduce tree_walk; at-currency: test wip
Ian Jackson [Sun, 22 May 2022 08:53:29 +0000 (09:53 +0100)]
apitest: Introduce tree_walk; at-currency: test wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoat-currency: More tests
Ian Jackson [Sat, 21 May 2022 12:32:25 +0000 (13:32 +0100)]
at-currency: More tests

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoat-currency: Use move_money another time
Ian Jackson [Sat, 21 May 2022 12:24:39 +0000 (13:24 +0100)]
at-currency: Use move_money another time

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoat-currency: Make move_money a method on Session
Ian Jackson [Sat, 21 May 2022 12:23:33 +0000 (13:23 +0100)]
at-currency: Make move_money a method on Session

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoat-currency: Break out move_money
Ian Jackson [Sat, 21 May 2022 12:17:24 +0000 (13:17 +0100)]
at-currency: Break out move_money

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
23 months agoat-currency: wip occult test
Ian Jackson [Sat, 21 May 2022 10:48:49 +0000 (11:48 +0100)]
at-currency: wip occult test

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