]> git.donarmstrong.com Git - lilypond.git/commitdiff
* Documentation/topdocs/NEWS.tely (Top): document new feature. release/2.7.25
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 23 Dec 2005 19:07:41 +0000 (19:07 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 23 Dec 2005 19:07:41 +0000 (19:07 +0000)
* input/regression/stem-direction-context.ly: new file.

* lily/relocate.cc (set_relocation): add PANGO_PREFIX

* lily/melody-spanner.cc (calc_neutral_stem_direction):

* lily/melody-spanner.cc: new file. Interpolate stem directions.

* lily/slur-engraver.cc (acknowledge_extra_object): remove
DynamicText hardcoding.

ChangeLog
Documentation/topdocs/NEWS.tely
THANKS
input/regression/stem-direction-context.ly [new file with mode: 0644]
lily/melody-spanner.cc
lily/relocate.cc
lily/tie.cc
lily/tuplet-bracket.cc

index 4a188a14db6dabb2fbb34f20ee9708d869aba614..ee5493c6b82bbf6eee2580090a4057ea7b05065d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2005-12-23  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * Documentation/topdocs/NEWS.tely (Top): document new feature.
+
+       * input/regression/stem-direction-context.ly: new file.
+
+       * lily/relocate.cc (set_relocation): add PANGO_PREFIX
+
        * lily/melody-engraver.cc (acknowledge_stem): restart MelodyItem
        on rest.
 
index 9e96c151521af70634fb17cfccf755d08e9bdc04..6ef9fdc3532789e95079bdbf2f8f8ac67b075409 100644 (file)
@@ -48,9 +48,17 @@ This document is also available in @uref{NEWS.pdf,PDF}.
 @item
 Stem direction on the center staff line are now interpolated between
 neighbors. This results in less stem direction changes, leading to a
-more even typography. For example,
+more even appearance. For example,
 
+@lilypond[raggedright]
+\relative c'' {
+  c4 b c b
+  c c c r
+  b a b a
+}
+@end lilypond 
+
+This feature was sponsored by Mike Rolish and Basil Crow.
 
 @item
 Slurs now avoid @code{TupletNumber}s, and tuplet numbers may enter the
diff --git a/THANKS b/THANKS
index ecb68c039725ec657440a492f093e85ef460f994..cfec48ece733e9a925febaf51a99ddf854bd441c 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -24,7 +24,9 @@ Yoshinobu Ishizaki
 
 SPONSORS
 
+
 Aaron Mehl
+Basil Crow
 Bertalan Fodor
 Christian Ebert
 Henrik Frisk
@@ -35,6 +37,7 @@ D. Josiah Boothby
 Kieren MacMillan
 Kris Shaffer
 Mark van den Borre
+Mike Rolish 
 Nancho Alvarez
 Nicolas Sceaux
 Sean Reed
diff --git a/input/regression/stem-direction-context.ly b/input/regression/stem-direction-context.ly
new file mode 100644 (file)
index 0000000..79f5630
--- /dev/null
@@ -0,0 +1,17 @@
+\header {
+
+  texidoc = "Stem directions for notes on the middle staff line are
+  determined by the directions of their neighbors."
+
+}
+
+\version "2.7.25"
+
+
+\relative c'' \new Voice {
+  c4 b c b
+  c c c r
+  b a b a
+} 
+  
+  
index d5cb6007ffedc382faa8d4694f9c095e2e0ff314..542b0328dd96c94c25872c43fcb89f1eea445258 100644 (file)
@@ -26,7 +26,9 @@ Melody_spanner::calc_neutral_stem_direction (SCM smob)
 {
   Grob *stem = unsmob_grob (smob);
   Grob *me =  unsmob_grob (stem->get_object ("melody-spanner"));
-
+  if (!me || !me->is_live ())
+    return SCM_UNSPECIFIED;
+  
   extract_grob_set (me, "stems", stems);
 
   Array<Direction> dirs;
index 39abfc74d79e8ccd7e9adb9b8b58e93f144138d1..1530e657269fc587d1b2fbf380bbe290b20131f8 100644 (file)
@@ -126,6 +126,8 @@ set_relocation (String bindir, String prefix)
                    + to_string ("/guile/%d.%d",
                                 SCM_MAJOR_VERSION, SCM_MINOR_VERSION));
   set_env_file ("PANGO_RC_FILE", sysconfdir + "/pango/pangorc");
+  set_env_file ("PANGO_PREFIX", prefix);
+               
   prepend_env_path ("PATH", bindir);
 }
 
index 05da06fb8271ce1d6bb3ea73417b882aa6fc2ee9..76d1b65b364adb422f26a7e8dfec1519014e56fd 100644 (file)
@@ -245,6 +245,7 @@ ADD_INTERFACE (Tie,
               
 
               /* properties */
+              "avoid-slur "    //  UGH.
               "control-points "
               "dash-fraction "
               "dash-period "
@@ -255,3 +256,4 @@ ADD_INTERFACE (Tie,
 
 
 
+
index cd27c28d61381f30c1aa759b2035c6d4ebdb56fe..d4a120ca5b15cbe4b7c4b89d4cd6a20c42e44fc3 100644 (file)
@@ -626,13 +626,6 @@ Tuplet_bracket::calc_positions (SCM smob)
   Grob *me = unsmob_grob (smob);
   extract_grob_set (me, "note-columns", columns);
 
-  if (columns.is_empty())
-    {
-      me->suicide ();
-      return scm_cons (scm_from_double (0),
-                      scm_from_double (0));
-    }
-  
   Direction dir = get_grob_direction (me);
   bool equally_long = false;
   Grob *par_beam = parallel_beam (me, columns, &equally_long);