]> git.donarmstrong.com Git - lilypond.git/commitdiff
* scm/define-grobs.scm (all-grob-descriptions): remove
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 31 May 2004 10:35:27 +0000 (10:35 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 31 May 2004 10:35:27 +0000 (10:35 +0000)
break-visibility. Should fix: bugs/piano-repeat.ly

* lily/chord-tremolo-engraver.cc (stop_translation_timestep):
reset repeat_ after setting stem tremolo. Should fix:
bugs/tremolo-repeat.ly

* lily/accidental-engraver.cc (set_property_on_children): copy key
signature setting. Backport. Should fix:
bugs/custom-key-signatures.ly

ChangeLog
lily/accidental-engraver.cc
lily/chord-tremolo-engraver.cc
scm/define-grobs.scm

index e9524b3080e55725221fc841fb44bd2b8df32540..350edca37e99a936e508e2211f10da0d218e3cb5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2004-05-31  Han-Wen Nienhuys   <hanwen@xs4all.nl>
+
+       * scm/define-grobs.scm (all-grob-descriptions): remove
+       break-visibility. Should fix: bugs/piano-repeat.ly
+
+       * lily/chord-tremolo-engraver.cc (stop_translation_timestep):
+       reset repeat_ after setting stem tremolo. Should fix:
+       bugs/tremolo-repeat.ly
+
+       * lily/accidental-engraver.cc (set_property_on_children): copy key
+       signature setting. Backport. Should fix:
+       bugs/custom-key-signatures.ly
+
 2004-05-27  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
        * lily/context-def.cc (filter_engravers): backport.  Fixes:
index 022b2fe1f8d2b05261d72e9955d19dc15f64e7fa..d457463fcdf60d96b10acfa960c3a2475616c713 100644 (file)
@@ -72,7 +72,7 @@ public:
 static void
 set_property_on_children (Context * trans, const char * sym, SCM val)
 {
-  trans->set_property (sym, val);
+  trans->set_property (sym, ly_deep_copy (val));
   for (SCM p = trans->context_list_; gh_pair_p (p); p = ly_cdr (p))
     {
       Context *trg =  unsmob_context (ly_car (p));
@@ -384,7 +384,7 @@ Accidental_engraver::stop_translation_timestep ()
          /*
            huh? we set props all the way to the top? 
          */
-         SCM localsig = origin->get_property ("localKeySignature");
+         SCM localsig =  ly_deep_copy (origin->get_property ("localKeySignature"));
          bool change = false;
          if (accidentals_[i].tied_)
            {
index 1d06bd4ea419e4db837b9740ad5aab2d29e7cc46..7f9646f14539ec9545b1d2e92b8ed637a261332b 100644 (file)
@@ -218,6 +218,7 @@ Chord_tremolo_engraver::stop_translation_timestep ()
     {
       typeset_grob (stem_tremolo_);
       stem_tremolo_ = 0;
+      repeat_ = 0;
     }
 }
 
index 0e086b6a692e8b04362d97d50c4fd3c647ffc46c..171219a8d2d7adf4b28bac30e0c763189b1bbff9 100644 (file)
        (break-align-symbol . staff-bar)
        (bar-size-procedure . ,Span_bar::get_bar_size) 
        (print-function . ,Span_bar::print)
-       (break-visibility . ,begin-of-line-invisible)
        (X-extent-callback . ,Span_bar::width_callback)
        (Y-extent-callback . ())
        (breakable . #t)