visibility-lambda to break-visibility
+2002-06-21 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * scripts/convert-ly.py, lily/*.cc, scm/*.scm: change
+ visibility-lambda to break-visibility
+
2002-06-21 Jan Nieuwenhuizen <janneke@gnu.org>
* input/bugs/part-combiner.ly: New file.
2002-06-21 Jan Nieuwenhuizen <janneke@gnu.org>
* input/bugs/part-combiner.ly: New file.
MAJOR_VERSION=1
MINOR_VERSION=5
PATCH_LEVEL=62
MAJOR_VERSION=1
MINOR_VERSION=5
PATCH_LEVEL=62
# Use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
# Use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
- clef_p_->set_grob_property ("visibility-lambda", vis);
+ clef_p_->set_grob_property ("break-visibility", vis);
- octavate_p_->set_grob_property ("visibility-lambda", vis);
+ octavate_p_->set_grob_property ("break-visibility", vis);
}
typeset_grob (clef_p_);
}
typeset_grob (clef_p_);
- handle visibility-lambda the item itself iso. breakstatusdir, so
+ handle break-visibility the item itself iso. breakstatusdir, so
the function can do more complicated things.
*/
the function can do more complicated things.
*/
- SCM vis = get_grob_property ("visibility-lambda");
+ SCM vis = get_grob_property ("break-visibility");
if (gh_procedure_p (vis))
{
SCM args = scm_list_n (gh_int2scm (break_status_dir ()), SCM_UNDEFINED);
if (gh_procedure_p (vis))
{
SCM args = scm_list_n (gh_int2scm (break_status_dir ()), SCM_UNDEFINED);
ADD_INTERFACE(Item,
"item-interface",
"",
ADD_INTERFACE(Item,
"item-interface",
"",
- "no-spacing-rods visibility-lambda breakable")
+ "no-spacing-rods break-visibility breakable")
{
SCM vis = get_property ("explicitKeySignatureVisibility");
if (gh_procedure_p (vis))
{
SCM vis = get_property ("explicitKeySignatureVisibility");
if (gh_procedure_p (vis))
- item_p_->set_grob_property ("visibility-lambda",vis);
+ item_p_->set_grob_property ("break-visibility",vis);
for (int i=0; i < bar_l_arr_.size () ; i++)
Span_bar::add_bar (spanbar_p_,bar_l_arr_[i]);
for (int i=0; i < bar_l_arr_.size () ; i++)
Span_bar::add_bar (spanbar_p_,bar_l_arr_[i]);
- SCM vissym =ly_symbol2scm ("visibility-lambda");
+ SCM vissym =ly_symbol2scm ("break-visibility");
SCM vis = bar_l_arr_[0]->internal_get_grob_property (vissym);
if (scm_equal_p (spanbar_p_->internal_get_grob_property (vissym), vis) != SCM_BOOL_T)
spanbar_p_->internal_set_grob_property (vissym, vis);
SCM vis = bar_l_arr_[0]->internal_get_grob_property (vissym);
if (scm_equal_p (spanbar_p_->internal_get_grob_property (vissym), vis) != SCM_BOOL_T)
spanbar_p_->internal_set_grob_property (vissym, vis);
(break-glyph-function . ,default-break-barline)
(bar-size-procedure . ,Bar_line::get_staff_bar_size)
(molecule-callback . ,Bar_line::brew_molecule)
(break-glyph-function . ,default-break-barline)
(bar-size-procedure . ,Bar_line::get_staff_bar_size)
(molecule-callback . ,Bar_line::brew_molecule)
- (visibility-lambda . ,all-visible)
+ (break-visibility . ,all-visible)
(breakable . #t)
(before-line-breaking-callback . ,Bar_line::before_line_breaking)
(space-alist . (
(breakable . #t)
(before-line-breaking-callback . ,Bar_line::before_line_breaking)
(space-alist . (
. (
(molecule-callback . ,Text_item::brew_molecule)
(breakable . #t)
. (
(molecule-callback . ,Text_item::brew_molecule)
(breakable . #t)
- (visibility-lambda . ,begin-of-line-visible)
+ (break-visibility . ,begin-of-line-visible)
(padding . 1.0)
(direction . 1)
(font-family . roman)
(padding . 1.0)
(direction . 1)
(font-family . roman)
(font-family . music)
(text . "scripts-rcomma")
(Y-offset-callbacks . (,Breathing_sign::offset_callback))
(font-family . music)
(text . "scripts-rcomma")
(Y-offset-callbacks . (,Breathing_sign::offset_callback))
- (visibility-lambda . ,begin-of-line-invisible)
+ (break-visibility . ,begin-of-line-invisible)
(meta . ((interfaces . (break-aligned-interface breathing-sign-interface text-interface font-interface))))
))
(meta . ((interfaces . (break-aligned-interface breathing-sign-interface text-interface font-interface))))
))
(breakable . #t)
(font-family . music)
(break-align-symbol . clef)
(breakable . #t)
(font-family . music)
(break-align-symbol . clef)
- (visibility-lambda . ,begin-of-line-visible)
+ (break-visibility . ,begin-of-line-visible)
(space-alist . (
(staff-bar . (minimum-space . 3.7))
(key-signature . (minimum-space . 4.0))
(space-alist . (
(staff-bar . (minimum-space . 3.7))
(key-signature . (minimum-space . 4.0))
(break-align-symbol . custos)
(breakable . #t)
(molecule-callback . ,Custos::brew_molecule)
(break-align-symbol . custos)
(breakable . #t)
(molecule-callback . ,Custos::brew_molecule)
- (visibility-lambda . ,end-of-line-visible)
+ (break-visibility . ,end-of-line-visible)
(style . vaticana)
(neutral-position . 0)
(neutral-direction . -1)
(style . vaticana)
(neutral-position . 0)
(neutral-direction . -1)
(width . 2.0)
(thickness . 0.48)
(break-align-symbol . staff-bar)
(width . 2.0)
(thickness . 0.48)
(break-align-symbol . staff-bar)
- (visibility-lambda . ,begin-of-line-invisible)
+ (break-visibility . ,begin-of-line-invisible)
(meta . ((interfaces . (font-interface
break-aligned-interface
percent-repeat-interface))))
(meta . ((interfaces . (font-interface
break-aligned-interface
percent-repeat-interface))))
(self-alignment-Y . 0)
(molecule-callback . ,Text_item::brew_molecule)
(break-align-symbol . instrument-name)
(self-alignment-Y . 0)
(molecule-callback . ,Text_item::brew_molecule)
(break-align-symbol . instrument-name)
- (visibility-lambda . ,begin-of-line-visible)
+ (break-visibility . ,begin-of-line-visible)
(baseline-skip . 2)
(font-family . roman)
(meta . ((interfaces . (font-interface self-alignment-interface side-position-interface text-interface break-aligned-interface))))
(baseline-skip . 2)
(font-family . roman)
(meta . ((interfaces . (font-interface self-alignment-interface side-position-interface text-interface break-aligned-interface))))
))
(Y-offset-callbacks . (,Staff_symbol_referencer::callback))
(break-align-symbol . key-signature)
))
(Y-offset-callbacks . (,Staff_symbol_referencer::callback))
(break-align-symbol . key-signature)
- (visibility-lambda . ,begin-of-line-visible)
+ (break-visibility . ,begin-of-line-visible)
(breakable . #t)
(meta . ((interfaces . (key-signature-interface font-interface break-aligned-interface))))
))
(breakable . #t)
(meta . ((interfaces . (key-signature-interface font-interface break-aligned-interface))))
))
(direction . 1)
(breakable . #t)
(font-family . roman)
(direction . 1)
(breakable . #t)
(font-family . roman)
- (visibility-lambda . ,end-of-line-invisible)
+ (break-visibility . ,end-of-line-invisible)
(padding . 0.8)
(meta . ((interfaces . (text-interface side-position-interface font-interface mark-interface self-alignment-interface))))
))
(padding . 0.8)
(meta . ((interfaces . (text-interface side-position-interface font-interface mark-interface self-alignment-interface))))
))
. (
(self-alignment-X . 0)
(text . "8")
. (
(self-alignment-X . 0)
(text . "8")
- (visibility-lambda . ,begin-of-line-visible)
+ (break-visibility . ,begin-of-line-visible)
(X-offset-callbacks . (,Self_alignment_interface::centered_on_parent ,Self_alignment_interface::aligned_on_self))
(Y-offset-callbacks . (,Side_position_interface::aligned_side))
(molecule-callback . ,Text_item::brew_molecule)
(X-offset-callbacks . (,Self_alignment_interface::centered_on_parent ,Self_alignment_interface::aligned_on_self))
(Y-offset-callbacks . (,Side_position_interface::aligned_side))
(molecule-callback . ,Text_item::brew_molecule)
(break-align-symbol . staff-bar)
(bar-size-procedure . ,Span_bar::get_bar_size)
(molecule-callback . ,Span_bar::brew_molecule)
(break-align-symbol . staff-bar)
(bar-size-procedure . ,Span_bar::get_bar_size)
(molecule-callback . ,Span_bar::brew_molecule)
- (visibility-lambda . ,begin-of-line-invisible)
+ (break-visibility . ,begin-of-line-invisible)
(X-extent-callback . ,Span_bar::width_callback)
(Y-extent-callback . ())
(breakable . #t)
(X-extent-callback . ,Span_bar::width_callback)
(Y-extent-callback . ())
(breakable . #t)
(breakable . #t)
(molecule-callback . ,Text_item::brew_molecule)
(break-align-symbol . clef)
(breakable . #t)
(molecule-callback . ,Text_item::brew_molecule)
(break-align-symbol . clef)
- (visibility-lambda . ,begin-of-line-visible)
+ (break-visibility . ,begin-of-line-visible)
(font-family . roman)
(meta . ((interfaces . (break-aligned-interface text-interface font-interface))))
))
(font-family . roman)
(meta . ((interfaces . (break-aligned-interface text-interface font-interface))))
))
. (
(molecule-callback . ,Time_signature::brew_molecule)
(break-align-symbol . time-signature)
. (
(molecule-callback . ,Time_signature::brew_molecule)
(break-align-symbol . time-signature)
- (visibility-lambda . ,all-visible)
+ (break-visibility . ,all-visible)
(space-alist . (
(first-note . (extra-space . 2.0))
(staff-bar . (minimum-space . 2.0))
(space-alist . (
(first-note . (extra-space . 2.0))
(staff-bar . (minimum-space . 2.0))
[FIXME: type is too generic for this doc, move doco to intefrace]
")
[FIXME: type is too generic for this doc, move doco to intefrace]
")
-(grob-property-description 'visibility-lambda procedure? "a function that takes the break direction and returns a cons of booleans containing (TRANSPARENT . EMPTY).")
+(grob-property-description 'break-visibility procedure? "a function that takes the break direction and returns a cons of booleans containing (TRANSPARENT . EMPTY).")
(grob-property-description 'when moment? "when does this column happen?.")
(grob-property-description 'word-space number? "elongate left by this much (FIXME: cumbersome semantics).")
(grob-property-description 'alignment number? "alignment of lyrics on notehead, -1 is LEFT, 0 is CENTRE, 1 is RIGHT .")
(grob-property-description 'when moment? "when does this column happen?.")
(grob-property-description 'word-space number? "elongate left by this much (FIXME: cumbersome semantics).")
(grob-property-description 'alignment number? "alignment of lyrics on notehead, -1 is LEFT, 0 is CENTRE, 1 is RIGHT .")
(translator-property-description 'explicitKeySignatureVisibility
procedure? "visibility-lambda function for explicit Key changes;
(translator-property-description 'explicitKeySignatureVisibility
procedure? "visibility-lambda function for explicit Key changes;
-\override of #'visibility-lambda will set the visibility for normal
+\override of #'break-visibility will set the visibility for normal
(ie. at the start of the line) key signatures.")
(translator-property-description 'extraNatural boolean? "Whether to typeset an
(ie. at the start of the line) key signatures.")
(translator-property-description 'extraNatural boolean? "Whether to typeset an
conversions.append (((1,5,59), conv,
'XxxxVerticalExtent -> xxxVerticalExtent'))
conversions.append (((1,5,59), conv,
'XxxxVerticalExtent -> xxxVerticalExtent'))
+if 1:
+ def conv (str):
+ str = re.sub ('visibility-lambda', 'break-visibility', str)
+ return str
+
+ conversions.append (((1,5,62), conv,
+ 'visibility-lambda -> break-visibility'))
+
################################
# END OF CONVERSIONS
################################
# END OF CONVERSIONS