chiark / gitweb /
moebius3.git
6 years agosimplex wip: use gsl_vector_get for X, for abandonment
Ian Jackson [Sun, 8 Apr 2018 14:46:07 +0000 (15:46 +0100)]
simplex wip: use gsl_vector_get for X, for abandonment

This is too painful because it breaks POINT, which everyone expects to
be able to inspect with []

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: show it in a better way
Ian Jackson [Sun, 8 Apr 2018 13:21:48 +0000 (14:21 +0100)]
curveopt: show it in a better way

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: use new thing
Ian Jackson [Sun, 8 Apr 2018 13:16:45 +0000 (14:16 +0100)]
curveopt: use new thing

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: bespoke debugging
Ian Jackson [Sun, 8 Apr 2018 13:14:31 +0000 (14:14 +0100)]
curveopt: bespoke debugging

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: parallelise findcurve processes
Ian Jackson [Sun, 8 Apr 2018 13:05:48 +0000 (14:05 +0100)]
curveopt: parallelise findcurve processes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: use a fresh findcurve process for each curve
Ian Jackson [Sun, 8 Apr 2018 13:00:25 +0000 (14:00 +0100)]
curveopt: use a fresh findcurve process for each curve

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: some more checks
Ian Jackson [Sun, 8 Apr 2018 12:53:38 +0000 (13:53 +0100)]
curveopt: some more checks

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: better costs, seems more plausible now
Ian Jackson [Sun, 8 Apr 2018 12:53:30 +0000 (13:53 +0100)]
curveopt: better costs, seems more plausible now

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: ensure |EF| and |HG| are positive
Ian Jackson [Sun, 8 Apr 2018 12:41:50 +0000 (13:41 +0100)]
curveopt: ensure |EF| and |HG| are positive

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: new approach
Ian Jackson [Sun, 8 Apr 2018 12:37:26 +0000 (13:37 +0100)]
curveopt: new approach

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: wip, demos more of the same bug
Ian Jackson [Sat, 7 Apr 2018 23:28:54 +0000 (00:28 +0100)]
curveopt: wip, demos more of the same bug

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: wip
Ian Jackson [Sat, 7 Apr 2018 23:14:13 +0000 (00:14 +0100)]
curveopt: wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: wip, observe a bug
Ian Jackson [Sat, 7 Apr 2018 22:54:55 +0000 (23:54 +0100)]
curveopt: wip, observe a bug

This algorithm encourages a segment with a curve either side of it to
be shorter than its neighbours.  In this test case there is another
bug: the cp[1] (F) and cp[2] (G) vectors are wrong, exaggerating the
effect of the bug.

To fix the wrong encouragement bug, I think we will have to split the
penalty for curvature from the penalty for density variation.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: wip
Ian Jackson [Sat, 7 Apr 2018 22:41:34 +0000 (23:41 +0100)]
curveopt: wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: wip
Ian Jackson [Sat, 7 Apr 2018 22:11:02 +0000 (23:11 +0100)]
curveopt: wip

6 years agoMakefile: fix spelling of COPTIMISE
Ian Jackson [Sat, 7 Apr 2018 22:10:47 +0000 (23:10 +0100)]
Makefile: fix spelling of COPTIMISE

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: test a bit
Ian Jackson [Sat, 7 Apr 2018 21:59:32 +0000 (22:59 +0100)]
curveopt: test a bit

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: wip
Ian Jackson [Sat, 7 Apr 2018 21:59:26 +0000 (22:59 +0100)]
curveopt: wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: wip
Ian Jackson [Sat, 7 Apr 2018 21:40:33 +0000 (22:40 +0100)]
curveopt: wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agovisual: reduce nv and nw for debugging
Ian Jackson [Sat, 7 Apr 2018 21:29:12 +0000 (22:29 +0100)]
visual: reduce nv and nw for debugging

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt.py: wip
Ian Jackson [Sat, 7 Apr 2018 21:28:53 +0000 (22:28 +0100)]
curveopt.py: wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt.py: wip
Ian Jackson [Sat, 7 Apr 2018 20:26:02 +0000 (21:26 +0100)]
curveopt.py: wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agomoebius: break out moebez.py
Ian Jackson [Sat, 7 Apr 2018 20:06:26 +0000 (21:06 +0100)]
moebius: break out moebez.py

curveopt is going to want these.  We need to move it into a separate
file to avoid a circular import dependency.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: rename from helixish
Ian Jackson [Sat, 7 Apr 2018 20:02:03 +0000 (21:02 +0100)]
curveopt: rename from helixish

We're going to want to reuse the findcurve invocation machinery.  Most
of the rest of this is specific to the abandoned helixish approach, so
is due to be hacked away.  For now just rename this unused file.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agomoebius: break out DiscreteBezier (nfc)
Ian Jackson [Sat, 7 Apr 2018 20:00:14 +0000 (21:00 +0100)]
moebius: break out DiscreteBezier (nfc)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agomoebius: pass nt and it to MoebiusHalf, rather than just t
Ian Jackson [Sat, 7 Apr 2018 19:52:12 +0000 (20:52 +0100)]
moebius: pass nt and it to MoebiusHalf, rather than just t

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: symbolic: compiles
Ian Jackson [Sat, 7 Apr 2018 19:47:45 +0000 (20:47 +0100)]
curveopt: symbolic: compiles

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: symbolic: wip
Ian Jackson [Sat, 7 Apr 2018 19:37:48 +0000 (20:37 +0100)]
curveopt: symbolic: wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: symbolic: wip
Ian Jackson [Sat, 7 Apr 2018 18:42:55 +0000 (19:42 +0100)]
curveopt: symbolic: wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: symbolic: wip, before abandon provision for fdf
Ian Jackson [Sat, 7 Apr 2018 18:25:21 +0000 (19:25 +0100)]
curveopt: symbolic: wip, before abandon provision for fdf

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: symbolic: wip, before go back to conditional in C
Ian Jackson [Sat, 7 Apr 2018 18:00:28 +0000 (19:00 +0100)]
curveopt: symbolic: wip, before go back to conditional in C

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agocurveopt: symbolic: wip
Ian Jackson [Sat, 7 Apr 2018 15:55:37 +0000 (16:55 +0100)]
curveopt: symbolic: wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agoRevert "RecursiveBezierishCurve: Try it" working.beziers
Ian Jackson [Sat, 7 Apr 2018 11:00:53 +0000 (12:00 +0100)]
Revert "RecursiveBezierishCurve: Try it"

This reverts commit 9a77b7a72b35200447e25c105ae383a1186a3899.

6 years agoRecursiveBezierishCurve: Try it
Ian Jackson [Sat, 7 Apr 2018 10:59:10 +0000 (11:59 +0100)]
RecursiveBezierishCurve: Try it

This does not seem to make any difference.  How interesting.  I
suspect that in fact this construction arranges, somehow, to get the
same cubics for the two halves as for the original.  But I CBA to do
the algebra to check.

Ah well, we will revert this and try something else.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: Abandon
Ian Jackson [Sat, 7 Apr 2018 10:01:35 +0000 (11:01 +0100)]
helixish: Abandon

Remove calls to Helixish and hence to findcurve et al.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agoRevert "helixish: try three paths"
Ian Jackson [Sat, 7 Apr 2018 09:59:56 +0000 (10:59 +0100)]
Revert "helixish: try three paths"

This reverts commit 7de6976b27662081219291a52947d19bee422d44.

6 years agohelixish: try three paths
Ian Jackson [Sat, 7 Apr 2018 09:58:44 +0000 (10:58 +0100)]
helixish: try three paths

This shows that this approach does not work.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agoRevert "visual: debugging with one in darker blue"
Ian Jackson [Sat, 7 Apr 2018 09:46:17 +0000 (10:46 +0100)]
Revert "visual: debugging with one in darker blue"

This reverts commit 756c4104abae08a963de109dd9a2ea4659698f40.

6 years agoRevert "helixish: attempt at the whole thing"
Ian Jackson [Sun, 31 Dec 2017 19:55:49 +0000 (19:55 +0000)]
Revert "helixish: attempt at the whole thing"

This reverts commit 906edec3ef60cf3e0567c713b2a68688edb634d4.

6 years agohelixish: attempt at the whole thing
Ian Jackson [Sun, 31 Dec 2017 16:47:55 +0000 (16:47 +0000)]
helixish: attempt at the whole thing

This does not really work.  Should revert and try bits of it
one at a time, etc.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: seems to be able to solve
Ian Jackson [Sun, 31 Dec 2017 01:28:45 +0000 (01:28 +0000)]
helixish: seems to be able to solve

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: seems to be able to solve but answer is wrong due to wrong energy
Ian Jackson [Sun, 31 Dec 2017 01:13:28 +0000 (01:13 +0000)]
helixish: seems to be able to solve but answer is wrong due to wrong energy

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging changes
Ian Jackson [Sun, 31 Dec 2017 01:13:16 +0000 (01:13 +0000)]
helixish: debugging changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: fix .iters_fixed_T
Ian Jackson [Sun, 31 Dec 2017 00:56:22 +0000 (00:56 +0000)]
helixish: fix .iters_fixed_T

If this is zero, gsl_siman_solve does not do anything.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging changes
Ian Jackson [Sun, 31 Dec 2017 00:56:04 +0000 (00:56 +0000)]
helixish: debugging changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging changes
Ian Jackson [Sun, 31 Dec 2017 00:55:20 +0000 (00:55 +0000)]
helixish: debugging changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agovisual: debugging changes
Ian Jackson [Sat, 30 Dec 2017 23:22:57 +0000 (23:22 +0000)]
visual: debugging changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: fix sign problems
Ian Jackson [Sat, 30 Dec 2017 22:39:41 +0000 (22:39 +0000)]
helixish: fix sign problems

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: remember to transform back from findcurve basis (!)
Ian Jackson [Sat, 30 Dec 2017 22:29:34 +0000 (22:29 +0000)]
helixish: remember to transform back from findcurve basis (!)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: try_s and try_t now always >= 0
Ian Jackson [Sat, 30 Dec 2017 22:28:44 +0000 (22:28 +0000)]
helixish: try_s and try_t now always >= 0

Since we add tau if necessary

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agovisual: debugging changes
Ian Jackson [Sat, 30 Dec 2017 22:28:33 +0000 (22:28 +0000)]
visual: debugging changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agovisual: debugging with one in darker blue
Ian Jackson [Sat, 30 Dec 2017 22:12:53 +0000 (22:12 +0000)]
visual: debugging with one in darker blue

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: ensure s and t are >0
Ian Jackson [Sat, 30 Dec 2017 20:34:21 +0000 (20:34 +0000)]
helixish: ensure s and t are >0

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 20:34:14 +0000 (20:34 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: dist_pq_plane should be the distance in the dp/dq plane
Ian Jackson [Sat, 30 Dec 2017 19:28:39 +0000 (19:28 +0000)]
helixish: dist_pq_plane should be the distance in the dp/dq plane

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 19:28:18 +0000 (19:28 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 13:51:29 +0000 (13:51 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: convert r from polynomial back to our unscaled plane coordinates
Ian Jackson [Sat, 30 Dec 2017 13:51:01 +0000 (13:51 +0000)]
helixish: convert r from polynomial back to our unscaled plane coordinates

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 13:49:57 +0000 (13:49 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: add a trivial comma (nfc)
Ian Jackson [Sat, 30 Dec 2017 13:49:36 +0000 (13:49 +0000)]
helixish: add a trivial comma (nfc)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: rename vdbg_railway_angle for clarity (nfc)
Ian Jackson [Sat, 30 Dec 2017 13:49:21 +0000 (13:49 +0000)]
helixish: rename vdbg_railway_angle for clarity (nfc)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 13:48:46 +0000 (13:48 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 13:11:25 +0000 (13:11 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agovisdebug: make circle of variable size
Ian Jackson [Sat, 30 Dec 2017 13:01:01 +0000 (13:01 +0000)]
visdebug: make circle of variable size

Existing arrows have their circle sizes adjusted according to the
lengths of the arrows.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agovisdebug: introduce vdbg().circle() (nfc)
Ian Jackson [Sat, 30 Dec 2017 12:55:49 +0000 (12:55 +0000)]
visdebug: introduce vdbg().circle() (nfc)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: get sense of phi right
Ian Jackson [Sat, 30 Dec 2017 12:34:04 +0000 (12:34 +0000)]
helixish: get sense of phi right

In "Railway problem", phi is the direction we _leave_ Q.  Whereas in
our original representation, we have a direction vector in the
positive sense of the parameter (ie, for Q, the arrival direction).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 12:33:46 +0000 (12:33 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 12:31:00 +0000 (12:31 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: angles are unconventionally represented in "Railway problem"
Ian Jackson [Sat, 30 Dec 2017 12:30:55 +0000 (12:30 +0000)]
helixish: angles are unconventionally represented in "Railway problem"

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: make railway basis right-handed
Ian Jackson [Sat, 30 Dec 2017 12:30:18 +0000 (12:30 +0000)]
helixish: make railway basis right-handed

Previously the y axis was reversed!

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 12:24:59 +0000 (12:24 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: move so we put the basis stuff for debugging first
Ian Jackson [Sat, 30 Dec 2017 12:17:01 +0000 (12:17 +0000)]
helixish: move so we put the basis stuff for debugging first

No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agoRevert "helixish: railway_inplane_basis should not include a scale factor"
Ian Jackson [Sat, 30 Dec 2017 12:13:13 +0000 (12:13 +0000)]
Revert "helixish: railway_inplane_basis should not include a scale factor"

This reverts commit 5aba1dbd37afe0078ba09dbf6cf142b559d82d2b.

OK, so we'll make the railway basis have a scale in the (x,y) plane
so that Q is at [1,0,0].  This is used for debugging output, only.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: railway_inplane_basis should not include a scale factor
Ian Jackson [Sat, 30 Dec 2017 12:11:34 +0000 (12:11 +0000)]
helixish: railway_inplane_basis should not include a scale factor

Err, maybe it should ?

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 12:06:46 +0000 (12:06 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 30 Dec 2017 12:03:41 +0000 (12:03 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output, some bodges re color handling weirdness
Ian Jackson [Sat, 23 Dec 2017 11:42:33 +0000 (11:42 +0000)]
helixish: debugging output, some bodges re color handling weirdness

It seems that ring() ignores the color if it is in kw, but not
if it is a separate parameter.  WTF.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sat, 23 Dec 2017 11:27:49 +0000 (11:27 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sun, 17 Dec 2017 16:52:40 +0000 (16:52 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sun, 17 Dec 2017 16:52:30 +0000 (16:52 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agovisual: debug arrows better
Ian Jackson [Sun, 17 Dec 2017 16:05:24 +0000 (16:05 +0000)]
visual: debug arrows better

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: bugfix
Ian Jackson [Sun, 17 Dec 2017 11:34:43 +0000 (11:34 +0000)]
helixish: bugfix

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging output
Ian Jackson [Sun, 17 Dec 2017 11:34:37 +0000 (11:34 +0000)]
helixish: debugging output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agovisdebug: support caller-specified colour tuples
Ian Jackson [Sun, 17 Dec 2017 11:33:43 +0000 (11:33 +0000)]
visdebug: support caller-specified colour tuples

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging
Ian Jackson [Sat, 16 Dec 2017 14:46:41 +0000 (14:46 +0000)]
helixish: debugging

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: debugging
Ian Jackson [Sat, 16 Dec 2017 11:56:51 +0000 (11:56 +0000)]
helixish: debugging

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agomore debugging
Ian Jackson [Wed, 13 Dec 2017 00:07:39 +0000 (00:07 +0000)]
more debugging

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agomore debugging
Ian Jackson [Tue, 12 Dec 2017 21:38:34 +0000 (21:38 +0000)]
more debugging

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agomove various np stuff into moenp
Ian Jackson [Tue, 12 Dec 2017 21:38:17 +0000 (21:38 +0000)]
move various np stuff into moenp

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agodebugging arrangements for helixish
Ian Jackson [Tue, 12 Dec 2017 21:00:45 +0000 (21:00 +0000)]
debugging arrangements for helixish

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: well, it makes a brokenish thing
Ian Jackson [Wed, 29 Nov 2017 23:29:42 +0000 (23:29 +0000)]
helixish: well, it makes a brokenish thing

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agofindcurve handling: fflush stdout
Ian Jackson [Wed, 29 Nov 2017 23:25:25 +0000 (23:25 +0000)]
findcurve handling: fflush stdout

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: switch to siman
Ian Jackson [Wed, 29 Nov 2017 23:25:13 +0000 (23:25 +0000)]
helixish: switch to siman

Still a bit wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agofindcurve output: Use >> and << for debug
Ian Jackson [Wed, 29 Nov 2017 23:19:00 +0000 (23:19 +0000)]
findcurve output: Use >> and << for debug

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agosymbolic: make PARAM_NAMES ok to not use
Ian Jackson [Wed, 29 Nov 2017 23:18:28 +0000 (23:18 +0000)]
symbolic: make PARAM_NAMES ok to not use

siman findcurve does not use it right now

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agofindcurve output: tolerate "commentary"
Ian Jackson [Wed, 29 Nov 2017 23:17:58 +0000 (23:17 +0000)]
findcurve output: tolerate "commentary"

GSL siman generates this

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agofindcurve execution: report end with [] rather than None
Ian Jackson [Wed, 29 Nov 2017 23:17:15 +0000 (23:17 +0000)]
findcurve execution: report end with [] rather than None

Will want this in a moment for siman, which more conveniently
prints lots of other guff from GSL.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: more debug
Ian Jackson [Wed, 29 Nov 2017 21:54:53 +0000 (21:54 +0000)]
helixish: more debug

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: fix debug
Ian Jackson [Wed, 29 Nov 2017 21:37:37 +0000 (21:37 +0000)]
helixish: fix debug

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
6 years agohelixish: better debug
Ian Jackson [Wed, 29 Nov 2017 21:32:06 +0000 (21:32 +0000)]
helixish: better debug

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