Mike Solomon [Wed, 12 Sep 2012 05:59:38 +0000 (07:59 +0200)]
Allows the user to override the text property of ChordName
Checks to see if the user has set text and, if so, does not call
set_property in the engraver.
Compares contents of markups to determine chord equality, allowing
successive overridden chords with the same markup content to be
identified as equal.
Mike Solomon [Mon, 10 Sep 2012 07:17:28 +0000 (09:17 +0200)]
Better approximations for cross-staff slurs
SlurStub grobs are used to approximate the vertical skylines of
cross staff slurs by using control points generated by pure heights
instead of heights. Depending on how far off the actual translations are
from the minimal translations, these control points will be more or less
viable. A SlurStub is generated for every VerticalAxisGroup on which
a slur has encompass objects and only those residing on the extremal
UP and DOWN vertical axis groups get vertical skylines.
Mike Solomon [Mon, 10 Sep 2012 06:53:09 +0000 (08:53 +0200)]
Avoids script-tie collisions
Ties are now issued at their correct beginning time step and
are suicided if they are ultimately unused. This allows the
Script_engraver to acknowledge them at the correct timestep and
register them as supports for the side-position-interface.
David Kastrup [Sat, 8 Sep 2012 15:31:14 +0000 (17:31 +0200)]
When printing a context def, include the source location.
This is a supplement to make the printing of "parser objects should be
dead" messages more useful. Adding the source location of an undead
context def makes the problem far easier to identify.
David Kastrup [Sat, 8 Sep 2012 14:40:39 +0000 (16:40 +0200)]
Issue 2754 cleanup: Only complain once about any undead object
Embarrassingly, commit 2ea3798f3473a7dd02b85ac311aa9b8de4938c3c only
implemented the requisite fix in one place. This replicates the code
for avoiding duplicate error messages at the second call place of
ly:parsed-undead-list! in lily.scm.
Mike Solomon [Tue, 4 Sep 2012 22:52:19 +0000 (00:52 +0200)]
LedgerLineSpanner included in vertical skylines of VerticalAxisGroup.
An elements grob array was erroneously being created for the
LedgerLinesSpanner. This has been eliminated, which now means that its
stencil can be used to calculate its vertical skylines.
Keith OHara [Wed, 29 Aug 2012 19:47:47 +0000 (12:47 -0700)]
grob-property.cc: outdated comment
Callbacks do not, in practice, return SCM_UNSPECIFIED after
setting the property they were called with, and an assert()
added later with commit 635bff94 severely restricts doing so.
Trevor Daniels [Wed, 29 Aug 2012 10:13:44 +0000 (11:13 +0100)]
Doc: NR 3.2.1: clarify titles and \header blocks (2652)
- drop use of "title blocks"
- make headings consistent
- explain the two titling areas
- explain the four positions for \header blocks and their
hierarchy
- clarify text in several places
Mike Solomon [Fri, 31 Aug 2012 07:27:17 +0000 (09:27 +0200)]
Uses a heuristic to determine if chord tremolos collide with accidentals.
This heuristic makes several assumptions about when a chord tremolo
will collide with accidentals. It must be between whole notes, it
must be in the staff, and it must be an ascending major third or lower.
The heuristic is entirely contained in Beam::whole_note_close_chord_tremolo,
which should be modified if other cases involving chord tremolos arise.
John Mandereau [Mon, 27 Aug 2012 22:18:04 +0000 (00:18 +0200)]
Restore some directories for the documentation build
Some files/directories that had been removed in c20fff645e325d392d2588721144f4204d0ef9da Make distributed tarball from
Git file list were needed by extract_texi_filenames and other programs
used in the build system to work properly without issuing warnings.
Mike Solomon [Mon, 27 Aug 2012 21:47:04 +0000 (23:47 +0200)]
Improvements in vertical skyline approximations (issue 2148).
The file stencil-integral.cc provides a suite of functions that
traverse a stencil and do linear approximations of its components.
These are then turned into boxes that are passed to the Skyline
constructor. This approximation is used for several vertical skylines
including those of VerticalAxisGroup and System. As a result of these
more accurate approximations, vertical spacing is more snug between
grobs.
Additionally, in axis-group-interface.cc, skylines of grobs are no
longer compared to a monolithic axis-group skyline but rather all
of the component skylines of the axis-group, allowing grobs to
be fit under other ones if there is space instead of always shifted over.
Two new python scripts allow to visualize the position of skylines.
All other changes provide functions that allow for better debugging
of Skylines, better approximations of grobs via skylines, and changes
to the measurement of distance between grobs via the new Skyline API.
This results in a significant time increase in score compilation for
objects with complex skylines such as all text grobs. For orchestral
scores, the increase is not as steep.
Fix 2241: Proper copyright/header/tagline handling with multiple bookparts
If we have several bookparts inside a book, this patch prints the
copyright on the first page of each bookpart (and no header), and
the tagline on the last page of each bookpart.
The original design of the accidental code apparently had two modes
for entries: a (notename . alter) pair for entries belonging to the
key signature, and a ((octave . notename) . (alter barnum . measurepos))
construct for actually occuring accidentals affecting the key signature
locally. The documentation, however, also specifies an
((octave . notename) . alter) form for key signatures. The code in general
has not been quite prepared for this. This changes at least the accessor
functions for either car or cdr of a notename entry to only look at
their part of the signature entry.