]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/slur-scoring.cc (broken_trend_y): always take use vdir
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 11 Sep 2004 16:23:15 +0000 (16:23 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 11 Sep 2004 16:23:15 +0000 (16:23 +0000)
extent index of other system. Fixes slurs across line breaks.

ChangeLog
VERSION
input/regression/page-layout.ly
input/regression/slur-broken-trend.ly
lily/slur-scoring.cc
lily/tuplet-engraver.cc

index 467fb79d0397fafa642d3cfb8d3d689170624240..ebb9fa93f61a651e974a8eb59901de16bb7faa8b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,13 @@
 
 2004-09-11  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
+       * lily/slur-scoring.cc (broken_trend_y): always take use vdir
+       extent index of other system. Fixes slurs across line breaks.
+
+       * lily/tuplet-engraver.cc (start_translation_timestep): use
+       Tuplet_description::stop_ for determining when to stop producing
+       tuplet brackets. This fixes: tuplet-overwrite.ly
+
        * lily/*-engraver.cc: remove all Protected_scm objects to fix GC
        errors with GUILE 1.7 CVS.
 
diff --git a/VERSION b/VERSION
index 5df6ca883533f87aee1f148f3cc336a6d6ed4e0a..92f66445f3f24f9fe6f4cdc53482200a1afbcebf 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1,6 +1,6 @@
 PACKAGE_NAME=LilyPond
 MAJOR_VERSION=2
 MINOR_VERSION=3
-PATCH_LEVEL=15
+PATCH_LEVEL=16
 MY_PATCH_LEVEL=
 
index de332bcd07d4b1b47165d0473dfe2583a906fb8d..3190076d433df4dbf9395fa323ea97b727e50767 100644 (file)
@@ -35,7 +35,7 @@ values for the whole paper while \paper for each \score block." }
 
 \book {
     \score {
-        \notes {
+        \relative c'' {
             \repeat unfold 10 {
                 \repeat unfold 4 {c4}
             }
@@ -44,7 +44,7 @@ values for the whole paper while \paper for each \score block." }
         \paper {linewidth = 13\cm}
     }
     \score {
-        \notes {
+        \relative c'' {
             \repeat unfold 10 {
                 \repeat unfold 4 {c4}
             }
@@ -52,4 +52,4 @@ values for the whole paper while \paper for each \score block." }
         \header {piece = "Piece II"}
         \paper {linewidth = 9\cm}
     }
-}
\ No newline at end of file
+}
index 89903b62faa3a426e01c1028e9bda0167496e498..5c5ac839a6c0cd33af853489df8a91c966e3d4f6 100644 (file)
@@ -27,6 +27,8 @@ in unbroken state.
        } }
      >>
     \break 
-    c4)
+    c4) f='2.(\break
+    a4)
+    
 }
 
index 1d6dccb0bde7b85d229359faa857d33118d97d69..0eb5259b5ccfbb667f373966aceb203030e121b3 100644 (file)
@@ -241,7 +241,7 @@ Slur_score_parameters::Slur_score_parameters(Grob *me)
   init_score_param (me, this);
 }
 
-/* HDIR indicates the direction for the slur.  */
+/* HDIR indicates which side (left or right) we are processing here.  */
 Real
 broken_trend_y (Grob *me, Grob **common, Direction hdir)
 {
@@ -282,7 +282,7 @@ broken_trend_y (Grob *me, Grob **common, Direction hdir)
       Direction vdir = get_grob_direction (me);
       Real neighbor_y
        = neighbor_col->extent (neighbor_common, Y_AXIS)
-       .linear_combination (int(neighbor_cols.size()==1 ? CENTER : vdir))
+       .linear_combination (int(vdir))
        - common_next_system->relative_coordinate (neighbor_common, Y_AXIS);
 
       Link_array<Grob> my_cols
index 54c3eb18634768d8ebc8f2d075b75d9e0ca41671..f2838a32c46d2383491d1e7b053aafa8b1a2bdaa 100644 (file)
@@ -125,7 +125,7 @@ Tuplet_engraver::start_translation_timestep ()
            tuplets_[i].span_stop_ += tsd.main_part_;
        }
 
-      if (now.main_part_ >= tuplets_[i].span_stop_)
+      if (now.main_part_ >= tuplets_[i].stop_)
        {
          tuplets_.del (i);
        }