John Mandereau [Mon, 28 Dec 2009 20:51:25 +0000 (21:51 +0100)]
Remove non-POSIX grep option "--label"
This reverts commit d4401de33195113a8859629b4bd9483a03d9ab5c.
This option was not really useful anyway, as an empty output of
"find $(outdir) -name '*.html'" is the sign of a build error.
Use different types of events for cueDuring and quoteDuring
Typically, \quoteDuring is supposed to duplicate everything in a voice,
while \cueDuring is supposed to only quote the notes, but not e.g.
phrasing, slurs, accents, markup, etc.
So, this commit adds an additional property quotedCueEventTypes in
addition to quotedEventTypes, which allows to quote different types
for \cueDuring than for \quoteDuring.
By default, \quoteDuring now quotes everything (i.e. StreamEvent), while
\cueDuring quotes only notes, rest, ties, beams and tuplets.
Also document the difference between cue/quoteDuring and how to
selected the quoted event types
Matthias Kilian [Sun, 27 Dec 2009 15:53:20 +0000 (16:53 +0100)]
Always use $(PYTHON) scriptname.py.
The often-used idiom #!/usr/bin/env python not only is potentially
dangerous, but it also fails if there are several versions of python
installed, with the python binaries named python2.4, python2.5,
python2.6, ...
This patch hopefully catches all remaining cases of a missing $(PYTHON).
This reverts commit c731b754b33ee68a06f475193f9f8db2b1f76ae9. The
changes I'm reverting were introduced because some translated Texinfo
documents (namely website drafts) missed a @documentlanguage, causing
extract_texi_filenames to mess up xref-map files.
Joe Neeman [Sun, 27 Dec 2009 00:18:00 +0000 (11:18 +1100)]
Fix 916.
Handle the case where a loose line is marked as breakable. Previously,
the unbroken version of the last column was included as a loose line,
which broke System::broken_col_range.
John Mandereau [Thu, 24 Dec 2009 00:34:34 +0000 (01:34 +0100)]
Clean up lilypond-book snippet formatting and file name hashing
process_snippets(): eliminate duplicates in snippet lists written in
snippet-names-*.ly, which fixes issue #867.
LilyPondSnippet.get_checksum(): reintroduce in hashing fragment
options that matter for processing by lilypond, which had be neglected
since commit 4c5a581ca25398669b9ecbc7a606febb09e60214.
LilyPondSnippet.basename(): remove duplicated truncation of hash hex
value.
Ly snippet formatting: sort fragment options for more predictable and
repetable output, and don't write fragment options that don't have an
impact of lilypond processing.
Graham Percival [Sat, 26 Dec 2009 01:12:34 +0000 (01:12 +0000)]
Web build: separate makefile for security + ease.
We can't rely on the normal makefile stuff, since that 1) involves
a lot of extra building on lilypond.org, and 2) it's a security
risk. So anything that needs to be done for the automatic hourly
builds should be separated as much as possible, since I need to
manually look through any files used to check for security flaws.
I also need to do this whenever those files are updated.
Joe Neeman [Thu, 24 Dec 2009 22:32:52 +0000 (14:32 -0800)]
Fix page-breaking regression tests.
Decrease paper-height so that page-turn-page-breaking-badturns.ly,
page-turn-page-breaking and page-turn-page-breaking-repeats.ly are
forced to use more pages.
Graham Percival [Thu, 24 Dec 2009 21:38:06 +0000 (21:38 +0000)]
Doc build: rewrite to use python 2.4 only.
GUB only has python 2.4.5, and it looks like upgrading to python
2.5 will be tricky, so I've rewritten this file to avoid using
nice python 2.5+ syntax.
Trevor Daniels [Thu, 3 Dec 2009 15:26:13 +0000 (15:26 +0000)]
Add 'whiteout as a Grob interface property
- If true, the grob will be printed on a white
background which overlays grobs in lower
layers. As the order of printing grobs in the
same layer is generally unpredictable this
should always be used in conjunction with
explicit layer settings.
Fix the memory corruption issues I had by renaming the data structure
(shadowing was causing the corruption!).
Also fix the Issue found by Hu Haipeng that a note ending in one
voice would terminate all ongoing ties in all other notes, since so
far the code never checked whether the starting note of the tie was
still going on.
Also, use the correct moment comparison (remove if the end moment is
lower **or equal** to the moment that has just been processed).
\relative mode: Introduce a new RepeatedChord music type, which element
property is the copied chord (as produced by the chord repetition function).
Define a relative callback for repeated chords, which avoids
octaviation of repeated chords, by modifying the first note octave
before applying the octave relativization.
Only memorize <..> chords.
When copying a chord, unset cautionary and forced accidental (fix #925).