]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/spacing-spanner.cc (note_spacing): don't make longer
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 24 Sep 2003 15:49:57 +0000 (15:49 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 24 Sep 2003 15:49:57 +0000 (15:49 +0000)
durations than measure-length.

* VERSION: release 2.0.0

* GNUmakefile.in (rsync-web): version independent rsync target.

* input/regression/+.ly: print version number.

* Documentation/topdocs/NEWS.texi (Top): insert close brace.

* VERSION (PACKAGE_NAME): release 1.9.10

ChangeLog
Documentation/topdocs/NEWS.texi
lily/spacing-spanner.cc

index bf9b4bb5c7fc22c3603dcd34f09a5c4263ff029c..c247896f5e608ac1622ef8dab3b590bc6bc1712e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-09-24  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * lily/spacing-spanner.cc (note_spacing): don't make longer
+       durations than measure-length.
+
        * VERSION: release 2.0.0
 
        * GNUmakefile.in (rsync-web): version independent rsync target.
@@ -44,7 +47,6 @@
        quartertones, not semitones.
        (NoteNamesContext): swallow more event types
 
-
        * Documentation/topdocs/NEWS.texi (Top): insert close brace.
 
        * VERSION (PACKAGE_NAME): release 1.9.10
index bd9426472906cc97ebcb21c5d1cfa740df5cf23e..4b996abc1362d8508dea89f7c5a2d1f6ef5e894a 100644 (file)
@@ -81,8 +81,8 @@ one with cue notes for the instrumental part:
 
 @example
 << \tag #'part <<
-  @{ c4 f2 g4 @}      % in the part, we have cue-notes  
-  \\ R1 >>
+     @{ c4 f2 g4 @}      % in the part, we have cue-notes  
+     \\ R1 >>
   \tag #'score R1  % in the score: only a rest
 >>
 @end example
index 72d72af0ebf29f6edb52831b43cb9c07004acacb..996d2caf80d9e4705f1b5dd12b7533495cc381b6 100644 (file)
@@ -867,6 +867,18 @@ Spacing_spanner::note_spacing (Grob*me, Grob *lc, Grob *rc,
   Moment rwhen =  Paper_column::when_mom (rc);
 
   Moment delta_t = rwhen - lwhen;
+  if (!Paper_column::musical_b (rc ))
+    {
+      /*
+       when toying with mmrests, it is possible to have musical
+       column on the left and non-musical on the right, spanning
+       several measures.
+       */
+      
+      Moment *dt = unsmob_moment (rc->get_grob_property ("measure-length"));
+      if (dt)
+       delta_t = delta_t <? *dt; 
+    }
   Real dist = 0.0;
 
   /*