]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/ly-module.cc (make_stand_in_procs_weak): only kludge if
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 19 Aug 2005 10:34:27 +0000 (10:34 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 19 Aug 2005 10:34:27 +0000 (10:34 +0000)
scm_stand_in_procs is not weak_any.

* lily/volta-bracket.cc (print): don't use strcmp().

* lily/volta-engraver.cc (process_music): use
Text_interface::is_markup() for setting the 'text property of the
volta bracket.

* input/mutopia/claop.py (accents): update syntax to 2.6

ChangeLog
input/mutopia/claop.py
input/regression/accidental-unbroken-tie-spacing.ly
input/regression/number-staff-lines.ly
lily/ly-module.cc
lily/volta-bracket.cc
lily/volta-engraver.cc

index d7748423d55aa256362d6f649cdf41b9b5cf42e3..b5e17bbc693adea7c151f8f0868f1babcbbdeb1a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-08-19  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * lily/ly-module.cc (make_stand_in_procs_weak): only kludge if
+       scm_stand_in_procs is not weak_any.
+
+       * lily/volta-bracket.cc (print): don't use strcmp().
+
        * lily/volta-engraver.cc (process_music): use
        Text_interface::is_markup() for setting the 'text property of the
        volta bracket.
index 49843c5f7ebe62b9632a22b503a3b7e0d3446a49..3928d3d9f5a1ec8ebb170491b29a931c7ed51ead 100644 (file)
@@ -266,7 +266,7 @@ stemme%s =  {
     
     for i in range(start_measure-1, start_measure-1+no_measures):
       print16(str[i*16:i*16+16])
-      sys.stdout.write (" |\n")
+      sys.stdout.write (" \n")
     
     sys.stdout.write ("\\bar\"|.\" }\n")
     
@@ -298,12 +298,13 @@ sys.stdout.write (r""">>
        %hsize = 30.0 \cm
        %vsize = 42.0 \cm
 }
-\context
-{
+\layout {
+ \context {
   \translator {
     \StaffContext 
     \override StaffSymbol #'line-count  = #3
     minimumVerticalExtent = #'(-3 . 3)
   }
+ }
 }
 """)
index 0a1628a96292a22bbc72d0a044041c175cbb866b..f4ba16868fc07c0011f71d101b61757a5a5c2a9d 100644 (file)
@@ -6,15 +6,13 @@ wreak havoc in the spacing when unbroken."
 
 \version "2.6.0"
 
-rechts =  \relative c' {
+\relative c' {
   \clef treble
   \time 3/4
-    c8 b2  <g b des f>8 ~ |
-    <g b des f>8
+  c8 b2  <g b des f>8 ~ |
+  <g b des f>8
 }
 
-  \rechts
-
 \layout {
   raggedright = ##t
 }
index 01bb2d2970d520eb14ddf4ac028e27429b710838..6b1d9f12482d10738b8869cfd2f1a03b0f049bd8 100644 (file)
@@ -8,13 +8,10 @@ adjusted accordingly.  "
 }
 
 
-\context Voice \relative c {
+\new Staff \with {
+  \override StaffSymbol #'line-count = #3
+}
+\relative c {
   c' c c c | g' g g g  \bar ":|"
 }
-\layout {
-  \context {
-    \Staff
-    \override StaffSymbol #'line-count = #3
-  }
-
 
index afa97ae663f6afdd7366e275d98b7ce8dbd6f12c..9bc5f329862e43b0034cab38dd100b0fb768c958 100644 (file)
@@ -152,6 +152,9 @@ redefine_keyval (void *closure, SCM key, SCM val, SCM result)
 void
 make_stand_in_procs_weak ()
 {
+  if (SCM_IS_WHVEC_ANY(scm_stand_in_procs))
+    return; 
+  
   SCM old_tab = scm_stand_in_procs;
   SCM new_tab = scm_make_weak_key_hash_table (scm_from_int (257));
 
index 81bc5479ee06cc81cc3664479b0c5cadd65dd5c2..10e4a228b02d4d95dd2dca0a2a0c2cca54c3b064 100644 (file)
@@ -53,7 +53,6 @@ Volta_bracket_interface::print (SCM smob)
   else
     str = "|";
 
-  char const *cs = str.to_str0 ();
   no_vertical_end
     |= (str != ":|"
        && str != "|:"
index 25adb6f4736953e7541c6b70ba0605656062e3ce..69250670e009302d84dd86f68e61ee762a22cf27 100644 (file)
@@ -14,6 +14,7 @@
 #include "side-position-interface.hh"
 #include "warn.hh"
 #include "staff-symbol.hh"
+#include "text-interface.hh"
 
 #include "translator.icc"