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).
David Kastrup [Sat, 5 Dec 2009 11:17:02 +0000 (12:17 +0100)]
Unify define-builtin-markup-command and define-markup-command
Get rid off define-builtin-markup-commnd and define-builtin-markup-list-command.
Introduce #:category and #:properties keywords.
Use weak hash-table for storing the defined markups (for documentation generation), to avoid the memory leak that caused the separation of builtin and user macros.
Joe Neeman [Sun, 20 Dec 2009 18:03:32 +0000 (10:03 -0800)]
Fix 932.
Add a more generic mechanism for dealing with non-pure
stencil callbacks. (The previous mechanism required
adding dummy height callbacks, since we could only
convert from height callbacks to pure-height callbacks
and not from print callbacks to pure-height callbacks.)
Graham Percival [Sun, 20 Dec 2009 18:49:26 +0000 (18:49 +0000)]
Web build: complicate macro to create links.
This ensures a more unified approach, but more importantly means
that any mistakes will be more visible.
Also, it paves the way to do a complicated @iftex, @ifhtml @ifset
web, etc, to change the @url links. (I mean, the horrible
construction that's upcoming will only be horrible in one place,
instead of duplicating this 10 times in manusl.itexi and
community.itexi)