]> git.donarmstrong.com Git - lilypond.git/commitdiff
* Documentation/user/GNUmakefile
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 18 Jan 2004 22:37:40 +0000 (22:37 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 18 Jan 2004 22:37:40 +0000 (22:37 +0000)
($(outdir)/lilypond/lilypond.html): posix conforming globs. Link
iso. copy.

* stepmake/stepmake/metafont-rules.make: remove --keep-trying.

* lily/separating-group-spanner.cc (set_spacing_rods): add padding.

ChangeLog
Documentation/topdocs/INSTALL.texi
Documentation/user/GNUmakefile
THANKS
lily/include/separating-group-spanner.hh
lily/separating-group-spanner.cc
ly/engraver-init.ly
mf/GNUmakefile
stepmake/stepmake/metafont-rules.make

index 520f0028385b442569e22c7fef432ccbbfc4b302..5338b5cee4e5907f8eb9f77044536a1b7792fbe8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2004-01-18  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
+       * Documentation/user/GNUmakefile
+       ($(outdir)/lilypond/lilypond.html): posix conforming globs. Link
+       iso. copy.
+
+       * stepmake/stepmake/metafont-rules.make: remove --keep-trying.
+
+       * lily/separating-group-spanner.cc (set_spacing_rods): add padding.
+
        * mf/,scripts/,make/,ly/,scm/: remove AsciiScript remnants.
 
        * lily/lily-guile.cc (robust_scm2double): new function. Use throughout.
index 6437694eac730cefd3df832f65fcff8e80ac5c35..02b91dc74c0eb5c373491f58e7a9ede92a83d753 100644 (file)
@@ -267,6 +267,20 @@ reports to @email{bug-lilypond@@gnu.org}.
 
 Bugs that are not fault of LilyPond are documented here.
 
+@subsection Bison 1.875
+
+There is a bug in bison-1.875: compilation fails with "parse error
+before `goto'" in line 4922 due to a bug in bison. To fix, either
+recompile bison 1.875 with the following fix:
+
+@example
+   $ cd lily; make out/parser.cc
+   $ vi +4919 out/parser.cc
+   # append a semicolon to the line containing "__attribute__ ((__unused__))
+   # save
+   $ make
+@end example
+
 @subsection Linking to kpathsea
 
 If kpathsea and the corresponding header files are installed in some
index 806e5b72f698e70c672547d3d0d5f9601bc8a237..dea8570b276753eb7e3ae7c364f0b50ce56fbb00 100644 (file)
@@ -69,7 +69,7 @@ $(outdir)/lilypond/lilypond.html: $(outdir)/lilypond.texi
        mkdir -p $(dir $@)
        $(MAKEINFO) --output=$(outdir)/lilypond --html $<
        $(MAKEINFO) -I $(outdir) --output=$@ --html --no-split --no-headers $<
-       -cp -f $(outdir)/*.{png,ly} $(outdir)/lilypond
+       -ln -f $(outdir)/*.png $(outdir)/*.ly $(outdir)/lilypond/
 
 $(outdir)/lilypond-internals/lilypond-internals.html: $(outdir)/lilypond-internals.texi
        mkdir -p $(dir $@)
diff --git a/THANKS b/THANKS
index 21d40658a6a63995aac6724aa9f10bc84512c2cd..45cc9324c167c2c38fffbdb9edd16158fa9a72a8 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -3,6 +3,7 @@ Release 2.1
 
 BUG HUNTERS/SUGGESTIONS
 
+Matthias Kilian
 Eric Wurbel
 John Williams
 José Luis Cruz
index 85b108c1707be0629a85b895e809ef895dbcb387..5a6376775a0e9a0c4688d514e36d4b727f8c0550 100644 (file)
@@ -14,9 +14,9 @@
 
 class Separating_group_spanner
 {
+  static void find_rods (Item*, SCM, Real);
 public:
   static void add_spacing_unit (Grob*me, Item*);
-  static void find_rods (Item*, SCM);
   
   static bool has_interface (Grob*);
   static void find_musical_sequences (Grob*);
index cfe9409140b9bc092250b503cca411a8356a8082..ae543ba2dba9c16a11945fd905fcdbe482fd0640 100644 (file)
@@ -15,7 +15,7 @@
 #include "group-interface.hh"
 
 void
-Separating_group_spanner::find_rods (Item * r, SCM next)
+Separating_group_spanner::find_rods (Item * r, SCM next, Real padding)
 {
 
   /*
@@ -26,7 +26,8 @@ Separating_group_spanner::find_rods (Item * r, SCM next)
   */
   if (Separation_item::width (r).is_empty ())
     return; 
-  
+
+
   for(; gh_pair_p (next); next = ly_cdr (next))
     {
       Item *l = dynamic_cast<Item*> (unsmob_grob (ly_car( next)));
@@ -43,7 +44,7 @@ Separating_group_spanner::find_rods (Item * r, SCM next)
              rod.item_l_drul_[LEFT] = lb;
              rod.item_l_drul_[RIGHT] = r;
 
-             rod.distance_ = li[RIGHT] - ri[LEFT];
+             rod.distance_ = li[RIGHT] - ri[LEFT] + padding;
              rod.add_to_cols ();
            }
        }
@@ -57,7 +58,7 @@ Separating_group_spanner::find_rods (Item * r, SCM next)
          rod.item_l_drul_[LEFT] =l;
          rod.item_l_drul_[RIGHT]=r;
 
-         rod.distance_ = li[RIGHT] - ri[LEFT];
+         rod.distance_ = li[RIGHT] - ri[LEFT] + padding;
        
          rod.add_to_cols ();
          break;
@@ -85,6 +86,7 @@ SCM
 Separating_group_spanner::set_spacing_rods (SCM smob)
 {
   Grob*me = unsmob_grob (smob);
+  Real padding = robust_scm2double (me->get_grob_property ("padding"), 0.1);
   
   for (SCM s = me->get_grob_property ("elements"); gh_pair_p (s) && gh_pair_p (ly_cdr (s)); s = ly_cdr (s))
     {
@@ -100,9 +102,9 @@ Separating_group_spanner::set_spacing_rods (SCM smob)
       Item *rb
        = dynamic_cast<Item*> (r->find_prebroken_piece (LEFT));
       
-      find_rods (r, ly_cdr (s));
+      find_rods (r, ly_cdr (s), padding);
       if (rb)
-       find_rods (rb, ly_cdr (s));
+       find_rods (rb, ly_cdr (s), padding);
     }
 
   return SCM_UNSPECIFIED ;
index 6722db4821de08ffff40fd92b968bc8272c292a7..8b13c41ebd53d2a1d1512a50d552e2694bb720fc 100644 (file)
        
        minimumVerticalExtent = #'(0 . 2.5)
        extraVerticalExtent = ##f
+       SeparatingGroupSpanner \override #'padding = #0.8
        verticalExtent = ##f 
 }
 
index 54407dfc52c69b037fff3784ad5842dd62f94cc8..23b792a59bb32c1e95e321cb06bce1aca52ab1a5 100644 (file)
@@ -71,7 +71,7 @@ default: pfa_warning $(ALL_GEN_FILES)
 
 
 pfa_warning:
-ifneq ($(basename $(MFTRACE)),mftrace)
+ifneq ($(notdir $(MFTRACE)),mftrace)
        @echo ""
        @echo "ERROR: mftrace not found"
        @echo ""
index 8f10f03530c221f4763224e5205dbb0134ef4096..a5d48d996dd3cb3808c13cf0928f16213997673c 100644 (file)
@@ -30,11 +30,11 @@ $(outdir)/%.$(XPM_RESOLUTION)pk: $(outdir)/%.$(XPM_RESOLUTION)gf
 
 
 $(outdir)/%.pfa: %.mf
-       $(MFTRACE) $(MFTRACE_FLAGS) -I $(outdir)/ --pfa --simplify --keep-trying $(basename $(@F))
+       $(MFTRACE) $(MFTRACE_FLAGS) -I $(outdir)/ --pfa --simplify $(basename $(@F))
        mv $(basename $(@F)).pfa $(outdir)
 
 $(outdir)/%.pfb: %.mf
-       $(MFTRACE)  $(MFTRACE_FLAGS) -I $(outdir)/ --pfa --pfb --simplify --keep-trying  $(basename $(@F))
+       $(MFTRACE)  $(MFTRACE_FLAGS) -I $(outdir)/ --pfa --pfb --simplify  $(basename $(@F))
        -mv $(basename $(@F)).pfa $(outdir)
        mv $(basename $(@F)).pfb $(outdir)