[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fixes certain undocumented properties. (issue 5412050)

From: mtsolo
Subject: Fixes certain undocumented properties. (issue 5412050)
Date: Fri, 18 Nov 2011 16:49:54 +0000

Reviewers: ,

Should compile clean.  My apologies in advance if it breaks the regtests
- haven't had a chance to compile it on the road.  If miraculously it
speeds them up, lemme know!


Fixes certain undocumented properties.

Please review this at

Affected files:
  M lily/
  M lily/
  M lily/
  M lily/
  M lily/
  M scm/define-grob-properties.scm
  M scm/define-music-properties.scm

Index: lily/
diff --git a/lily/ b/lily/
index 320f0e4051100a66dfc8f62a067fa9616252523b..c0c2986b0888757cd269e91635e6ea5da511a546 100644
--- a/lily/
+++ b/lily/
@@ -230,5 +230,6 @@ ADD_INTERFACE (Dot_column,
                "dots "
                "positioning-done "
                "direction "
+               "note-collision "

Index: lily/
diff --git a/lily/ b/lily/
index a21ab9c5d9ae9c4bcd6f438f6db5b896fd0d3536..f06f6210e4ef2e7e929182f3d59f099bac5eb9f3 100644
--- a/lily/
+++ b/lily/
@@ -768,6 +768,7 @@ ADD_INTERFACE (Grob,
                "extra-X-extent "
                "extra-Y-extent "
                "extra-offset "
+               "forced-spacing "
                "interfaces "
                "layer "
                "meta "
Index: lily/
diff --git a/lily/ b/lily/
index c2910d5cd1b8772f127258dea214d338711fc979..b1008bb934d628c2660a7fdda09f094d8fd1374f 100644
--- a/lily/
+++ b/lily/
@@ -37,6 +37,7 @@ ADD_INTERFACE (Semi_tie_column,
                "positioning-done "
                "head-direction "
                "tie-configuration "
+               "ties "

Index: lily/
diff --git a/lily/ b/lily/
index c217d0de15b4a53d9ab40f4af38e8a4b24030e65..7ef1b938426113110d16ce92fa07c94de5a4a1dd 100644
--- a/lily/
+++ b/lily/
@@ -1095,6 +1095,7 @@ ADD_INTERFACE (Stem,
                "length "
                "length-fraction "
                "max-beam-connect "
+               "melody-spanner "
                "neutral-direction "
                "no-stem-extend "
                "note-heads "
Index: lily/
diff --git a/lily/ b/lily/
index c73694d334e2f581f66727a1cfd012a26dac5033..3f0957d1cd86929c43b3fee1bfe3b5fcf67fd0d4 100644
--- a/lily/
+++ b/lily/
@@ -122,5 +122,6 @@ ADD_INTERFACE (Tie_column,
                /* properties */
                "positioning-done "
                "tie-configuration "
+               "ties "

Index: scm/define-grob-properties.scm
diff --git a/scm/define-grob-properties.scm b/scm/define-grob-properties.scm
index c7960fe76a6cf483efab30742c6a97baf2fc3724..a2e8d865cd41cc19d1382a02955074cc80f9b456 100644
--- a/scm/define-grob-properties.scm
+++ b/scm/define-grob-properties.scm
@@ -303,6 +303,8 @@ larger.  Fractional values are allowed.")
      (force-hshift ,number? "This specifies a manual shift for notes
 in collisions.  The unit is the note head width of the first voice
 note.  This is used by @rinternals{note-collision-interface}.")
+     (forced-spacing ,number? "Spacing forced between grobs, used in
+various ligature engravers.")
      (fraction ,fraction? "Numerator and denominator of a time
 signature object.")
      (french-beaming ,boolean? "Use French beaming style for this
@@ -1053,6 +1055,8 @@ empty in a particular staff, then that staff is erased.") (left-neighbor ,ly:grob? "The right-most column that has a spacing-wish
 for this column.")

+     (melody-spanner ,ly:grob? "The @code{MelodyItem} object for a stem.")
      (normal-stems ,ly:grob-array? "An array of visible stems.")
      (note-columns ,ly:grob-array? "An array of @code{NoteColumn} grobs.")
      (note-head ,ly:grob? "A single note head.")
@@ -1095,6 +1099,7 @@ results, use @code{LEFT} and @code{RIGHT}.")
      (stems ,ly:grob-array? "An array of stem objects.")

      (tie ,ly:grob? "A pointer to a @code{Tie} object.")
+     (ties ,ly:grob-array? "A grob array of @code{Tie} objects.")
      (tremolo-flag ,ly:grob? "The tremolo object on a stem.")
      (tuplet-number ,ly:grob? "The number for a bracket.")
      (tuplets ,ly:grob-array? "An array of smaller tuplet brackets.")
@@ -1139,6 +1144,9 @@ entries @code{name} and @code{interfaces}.")
      (minimum-distances ,list? "A list of rods that have the format
 @code{(@var{obj} . @var{dist})}.")

+     (note-collision ,ly:grob? "The @code{NoteCollision} object of a
+dot column.")
      (positioning-done ,boolean? "Used to signal that a positioning element
 did its job.  This ensures that a positioning is only done once.")
      (pure-Y-extent ,number-pair? "The estimated height of a system.")
Index: scm/define-music-properties.scm
diff --git a/scm/define-music-properties.scm b/scm/define-music-properties.scm index a6b910c7db6c60527c3ffeaef8bff2792696f211..8911239473dd3cbf7977843d5bf87d4a6cf726df 100644
--- a/scm/define-music-properties.scm
+++ b/scm/define-music-properties.scm
@@ -60,8 +60,10 @@ TODO: Use SpanEvents?")
 cautionary accidental.")
      (change-to-id ,string? "Name of the context to change to.")
      (change-to-type ,symbol? "Type of the context to change to.")
+     (class ,symbol? "The class name of an event class.")
      (compress-procedure ,procedure? "Compress this music expression.
 address@hidden: the music, address@hidden: factor.")
+     (context ,ly:context? "The context to which an event is sent.")
      (context-id ,string? "Name of context.")
      (context-type ,symbol?  "Type of context.")
      (create-new ,boolean? "Create a fresh context.")
@@ -84,6 +86,7 @@ simultaneous music, or the alternatives of repeated music.")
 a sequential iterator.  Takes a single music parameter.")
      (error-found ,boolean?
                  "If true, a parsing error was found in this expression.")
+     (events ,list? "A list of events contained in this event.")

      (figure ,integer? "A bass figure.")
      (footnote-text ,markup? "Text to appear in a footnote.")
@@ -96,6 +99,7 @@ always be printed on this note.")
 property, e.g., @code{(beamed-lengths details)}.")
      (grob-value ,scheme? "The value of the grob property to set.")

+     (id ,symbol? "The ID of an event.")
      (input-tag ,scheme? "Arbitrary marker to relate input and output.")
      (inversion ,boolean? "If set, this chord note is inverted.")
      (iterator-ctor ,procedure? "Function to construct a
@@ -111,6 +115,9 @@ This property can only be defined as initializer in
 whether to allow, forbid or force a line break.")

      (metronome-count ,number-or-pair? "How many beats in a minute?")
+     (moment ,ly:moment? "The moment at which an event happens.")
+     (music-cause ,ly:music? "The music object that is the cause of
+an event.")

      (name ,symbol? "Name of this music object.")
      (no-continuation ,boolean? "If set, disallow continuation lines.")
@@ -119,6 +126,8 @@ whether to allow, forbid or force a line break.")
      (octavation ,integer? "This pitch was octavated by how many octaves?
 For chord inversions, this is negative.")
      (once ,boolean? "Apply this operation only during one time step?")
+     (ops ,scheme? "The operations to apply during the creation of a
      (origin ,ly:input-location? "Where was this piece of music defined?")
      (original-chord ,ly:music? "Original chord of a repeated chord.
Used by repeated chords in \\relative mode, to determine the first note octave")
@@ -146,6 +155,7 @@ on some grob property.")
 It must take a single argument, being the context.")
      (property-operations ,list? "Do these operations for instantiating
 the context.")
+     (property-path ,symbol? "The path of a property.")

(quoted-context-id ,string? "The ID of the context to direct quotes to,
 e.g., @code{cue}.")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]