Janek Warchoł [Thu, 17 Oct 2013 10:49:19 +0000 (12:49 +0200)]
Improve formatting of PaperColumn debug info
Paper_column::print can be very helpful in debugging spacing
information, but until now its output was not very readable.
This patch:
- decreases font-size of debugging info so that it doesn't
collide and overlap everywhere,
- makes it possible to override the size of the arrow values
with font-size property,
- makes both red and blue arrows point in the same direction
(previous situation was confusing)
- centers the spring and rod values on the arrows (previously
it was hard to discern which number goes to which arrow),
- prints debugging info always on top,
- makes arrows and the distance between them scale with fontsize.
David Kastrup [Sun, 20 Oct 2013 15:23:46 +0000 (17:23 +0200)]
Issue 3624: make-connected-path-stencil broke on closed paths
Cf. <URL:http://lists.gnu.org/archive/html/bug-lilypond/2013-10/msg00083.html>.
Actually, the whole function is an obfuscated Scheme programming
contest. I made a few of the more flamboyant list manipulations
boring while at it.
David Kastrup [Sun, 20 Oct 2013 13:29:21 +0000 (15:29 +0200)]
Issue 3625: Overrides via \tweak don't insist on proper context/grob and property split
The normal \tweak syntax of overrides is
\tweak property #value Context.Grob
This version just concatenates the symbol list at the end with the one
at the start before checking for a valid (possibly sub-)property path.
This allows a somewhat more flexible programmatic use.
Remove definition of the "instrumentName" property from Score_performer
This setting has no effect; furthermore, according to the discussion on
issue 3581 and the related patch review comments, no default settings for
MIDI controls should ever be enforced if they are not set explicitly.
David Kastrup [Mon, 7 Oct 2013 18:44:48 +0000 (20:44 +0200)]
Issue 3603: Make \tweak ... Grob equivalent to \override rather than \once \override
This simplifies several uses of tweak for both tweak and override.
When desired, one can use \once \tweak in order to get either tweak or
override-once semantics: in the case of the tweak semantics, \once
will just ignore the contained expression.
The replacement of Simple_music_iterator with Music_iterator in
lily/bar-check-iterator.cc made bar checks at the start of music
expressions inoperative altogether, even when not at a bar boundary:
{ a a { | } a a }
stopped producing a diagnostic. Issue 3205 instead needs to be fixed
together with issue 2392 which apparently may be called "Segfault in
Midi when Simple_music_iterator is used at the beginning of an
implicitly created context".
David Nalesnik [Fri, 12 Apr 2013 23:40:45 +0000 (18:40 -0500)]
Issue 3313: Add the command \offset
The ability to offset values of various properties would be a useful
enhancement of LilyPond. Currently, this is possible for default values
of the property 'control-points using the \shape command. The following
patch seeks to generalize the application of offsets to grob properties.
Both overrides and tweaks are supported, on the model of \shape and
\alterBroken.
Offsets are currently limited to three data types: number, number-pair,
and number-pair-list (this last is defined by this patch and represents
the type used, for example, by 'control-points). Offsets are limited to
the properties listed in the grob descriptions contained in
`scm/define-grobs.scm'. Offsets will be reckoned against an override
currently in effect; otherwise, the default setting from the grob
description will be used.
David Kastrup [Sun, 13 Oct 2013 11:53:22 +0000 (13:53 +0200)]
Merge branch 'issue3602' into staging
Done as a merge commit since otherwise the conversion rules and their
application would have required splitting into two parts in order to
keep all commits in master compilable: too much mess for too little
benefit.
Thomas Morley [Wed, 2 Oct 2013 21:31:50 +0000 (23:31 +0200)]
Making flat flags available
Issue 3591
The markup-command 'note-ny-number' and the relvant regression-
tests are extended, too.
The sippet 'using-alternative-flag-styles.ly' from
Documentation/snippets/new/ isn't changed for now, will be tackled
in a follow up.
Julien Rioux [Sat, 5 Oct 2013 08:03:16 +0000 (10:03 +0200)]
Doc: Relayout the download pages (issue 3595).
This slightly modifies the layout of the download pages to make
them more balanced (in the HTML version) and to accomodate wide
pictures.
For Unix, the "Specific packages" box is moved to the top right,
next to the "Generic packages" box, while the "Compiling a file"
box is now a centered, full-width box.
For MacOS and Windows, a similar change is made: the "Compiling a
file" box is moved below and turned into a centered, full-width box
to better accomodate the picture-full content.
David Kastrup [Mon, 7 Oct 2013 19:46:50 +0000 (21:46 +0200)]
Issue 3604: Fix function signature of overrideTimeSignatureSettings
Using fraction? rather than pair? is more discriminative, and using
the cheap-list? predicate rather than plain list? is not really a
significant time saver in a complex construct like this.
Although labelled as optional, perl is required to build the
.pfb font files, which are not included in the tarball. With
this commit, perl becomes a required dependency.
The convert-ly rule was only intended for making our documentation
somewhat snappier. Since it is only intended to remove manual
beamings that have now become redundant, it's mainly interesting for
documentation rather than user-level documents.
David Kastrup [Tue, 24 Sep 2013 09:30:12 +0000 (11:30 +0200)]
Issue 3579: Make "Adding extra fingering with scheme" snippet do something useful
This snippet was never operative in 2.16 due to the EventChord changes
of issue 2240. This updates it into using a few 2.16 features in
order to make things simpler while retaining the basic purpose.
David Kastrup [Tue, 24 Sep 2013 14:40:02 +0000 (16:40 +0200)]
Issue 3580: Replace unwarranted uses of map with for-each and other Scheme cleanups
Note that some uses of map actually relied on execution order (namely
expecting map to behave like map-in-order) and thus were not just
inelegant because of the side effect. There are also some other
mostly trivial simplification of Scheme constructs.
David Kastrup [Sun, 22 Sep 2013 16:34:11 +0000 (18:34 +0200)]
Issue3571: Stop \lyricmode { \skip 1.*3 } from failing.
The problem was that the lexer preferred to match ".*" as a word since
the matched pattern was longer than the explicit pattern matching ".".
The word pattern is now amended so that it does not compete with the
single-character patterns.