context creation events

2006-05-28 Thread Erik Sandberg
Hi, The attached patch makes context creation happen through stream events, and also fixes some related bugs. Members unique and init are removed from Context. This time I'll try more seriously to make web 100% cleanly before I commit. -- Erik ? .sconf_temp ? build-stamp ? context-unique.diff

Updated parser patch

2006-05-28 Thread Erik Sandberg
Hi, The attached patch is an updated version of the previous parser patch. News: - new syntax rule for property settings - The music function handler now signals errors through the parser. I have added a new function ly:parser-error, which music functions can use to signal errors. I think it c

Re: Yet another 2 patches for music streams

2006-05-28 Thread Erik Sandberg
On Monday 22 May 2006 11:47, Han-Wen Nienhuys wrote: > Erik Sandberg schreef: > > + if (start_moment_.main_part_.is_infinity () && start_moment_ < 0) > > +start_moment_ = now; > > + > > I don't understand. What is this for? I remember now. When I streamified Score::Prepare, I introduced a ne

New lyrics trick available in 2.9.6

2006-05-28 Thread Erik Sandberg
Hi, As a side-effect of my recent cleanups in the 2.9 branch, there's a new trick for advanced uses of \lyricsto. If you want to do something very nonstandard in a line lyrics, so there's no voice that corresponds to the lyric line, then the previous solution has been to insert invisible notes.

music events vs stream events

2006-05-28 Thread Erik Sandberg
Hi, During my current parser work, my way of viewing the Music class is changing; the difference between events and non-events tends to grow over time. Here's a couple of observations: - on the translator side, the only immutable properties that are read are, with few exceptions, name and type

Re: [patch] annotations

2006-05-28 Thread Han-Wen Nienhuys
Nicolas Sceaux schreef: Hi, Here is a patch which aim at displaying spacing annotations in a little more readable fashion. A question however: is there a reason why the whiteout markup command forces the foreground color to black? This does not seem necessary at first sight, but maybe this is u

Resigning as Build Meister

2006-05-28 Thread Pedro Kröger
Fellow lilypond hackers, Unfortunatelly I haven't had much time for lilypond last months. I've been rather busy with my job. So, I'd like to resign from my position as Bug Meister. Is there anyone out there who is willing to take my position? I intend to continue to contribute to lilypond develo

Re: Lilypond developing: getting started

2006-05-28 Thread Erik Sandberg
Citerar Kieren Richard MacMillan <[EMAIL PROTECTED]>: > 1. How much of the code is in C++, and how much in Scheme? Does the > roadmap see this balance changing in any way, and if so in what > direction? [n.b. I have very little experience with either C++ or > Scheme specifically.] If you on

Re: interactive Lilypond

2006-05-28 Thread Nicolas Sceaux
Guido Amoruso <[EMAIL PROTECTED]> writes: > 2. Creation of music expression. I'd like to be able to do something >like > > "(define music (parse-string "{c'' dd'}")" > >in order to build scores both interactively and programmatically. I >know there is "ly:parse-string", but I do

interactive Lilypond

2006-05-28 Thread Guido Amoruso
Hi! While fiddling with Lilypond's internals, I often like to play interactively with data structures: so I've made a script like this #!/bin/bash lilypond -e "(use-modules (ice-9 readline)) (activate-readline) (top-repl)" which gives me an almost initialized

[patch] annotations

2006-05-28 Thread Nicolas Sceaux
Hi, Here is a patch which aim at displaying spacing annotations in a little more readable fashion. A question however: is there a reason why the whiteout markup command forces the foreground color to black? This does not seem necessary at first sight, but maybe this is useful in some context...

Re: lilypond-book fragment with ties/slurs continuing over the end of the fragment

2006-05-28 Thread Vaclav Smilauer
I tried putting #(use-modules (scm framework-ps)) #(define-public output-framework output-preview-framework) at the beginning of the file but apparently I am missing something since it does not do anything. The idea was to override the default output function with the preview one. Anyone? _