]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.1.18.jcn3
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 5 Jan 1999 13:55:32 +0000 (14:55 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 5 Jan 1999 13:55:32 +0000 (14:55 +0100)
pl 18.jcn3
- bf: (beamed) forced stem shorten
- bf: broken slurs and ties; minimal slur/tie length setting ignored
- bf: separators on cygwin

12 files changed:
NEWS
TODO
VERSION
aclocal.m4
input/test/beam-urg.ly [new file with mode: 0644]
lily/slur.cc
lily/stem-info.cc
lily/tie.cc
stepmake/NEWS
stepmake/VERSION
stepmake/aclocal.m4
stepmake/stepmake/package.make

diff --git a/NEWS b/NEWS
index 819de031143a98966a8a5440a91386a2cbd7255f..733fbe3bd9e1db648c3b3b60170ce551e8ba971f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+pl 18.jcn3
+       - bf: (beamed) forced stem shorten
+       - bf: broken slurs and ties; minimal slur/tie length setting ignored
+       - bf: separators on cygwin
+
 pl 18.jcn2
        - bf: stem-length algorithm
        - bf: beam direction algorithm
diff --git a/TODO b/TODO
index cbde6686c0ead00014590fca26212e9a2cd6b9bf..8ab5d25dde036e3444fe4719a200929165ed6427 100644 (file)
--- a/TODO
+++ b/TODO
@@ -41,6 +41,8 @@ BUGS:
 
        * latex bla.tex broken (titles / \lilyfooter stuff?)
 
+       * check/set minimum slur/tie length
+
        * msgfmt -o check?
 
        * \breathmark TeX macro 
@@ -59,6 +61,8 @@ BUGS:
 
        * space after bars?
 
+       * 'hinterfleisch' before bar (e.g. wtk1-fugue2)?
+
        * \type Voice \times 2/3 { [c8 c16 c16 c16 c16] }
 
        * fix singleStaffBracket
diff --git a/VERSION b/VERSION
index 313548784a7271d58bab1602df56728811e16bab..c7fab2aa3f23c27d4199cb3e83ee2fe5e861a9c9 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=1
 PATCH_LEVEL=18
-MY_PATCH_LEVEL=jcn2
+MY_PATCH_LEVEL=jcn3
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index ba07a79c23aabb25aa84fa81f33fe7f0bc7fdf01..15d012b7a4d0094113e7eb7b46d8d639f0e1ba18 100644 (file)
@@ -1,5 +1,7 @@
 dnl WARNING WARNING WARNING WARNING
 dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4
+dnl WARNING WARNING WARNING WARNING
+dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4
 dnl aclocal.m4   -*-shell-script-*-
 dnl StepMake subroutines for configure.in
 
@@ -298,9 +300,32 @@ dnl    fi
        LN_S=cp # symbolic link does not work for native nt
        ZIP="zip -r -9" #
        DOTEXE=.exe
-       DIRSEP='\\'
-       PATHSEP=';'
-       INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
+       # urg
+        # DIRSEP='\\'
+       # PATHSEP=';'
+       #
+       # cygwin fixes all these things.  
+       # it seems these were used because of dos-style TEXINPUTS and
+       # MFINPUTS needed for miktex.
+       # but this breaks parsing of all other cygwin/unix style paths.
+       #
+       # if your (mik)tex breaks, make a:
+       #    /usr/local/bin/tex:
+       #    #!/bin/sh
+       #    TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex $*
+       #
+       # and
+       #
+       #    /usr/local/bin/mf:
+       #    #!/bin/sh
+       #    MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf $*
+       #
+       # this way, you may have buildscripts/out/lilypond-profile 
+       # 'automatically' sourced from /usr/etc/profile.d/ too.
+       #
+        DIRSEP='/'
+       PATHSEP=':'
+       INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
     else
        DIRSEP='/'
        PATHSEP=':'
diff --git a/input/test/beam-urg.ly b/input/test/beam-urg.ly
new file mode 100644 (file)
index 0000000..6813892
--- /dev/null
@@ -0,0 +1,11 @@
+\score{
+       \notes\relative c''{
+               \property Score.beamquantisation = \none
+               % \property Score.beamquantisation = \normal
+               % \property Score.beamquantisation = \traditional
+               [g16 e f g]
+       }
+       \paper{
+               linewidth = -1.;
+       }
+}
index 465102e6af68084b38c3da7c9fe4e32bdd6e65d9..b88c4b5614f3fca46828d040f44c4fc4ba814414 100644 (file)
@@ -191,13 +191,20 @@ Slur::do_post_processing ()
 
          dy_f_drul_[d] = dy_f_drul_[(Direction)-d];
 
-         // pre and post
+       /*
+        urg, this is broken
+        but who *is* going to assure that dx >= slur_min?
+        */
+#if 0
+
          if (dx_f_drul_[RIGHT] - dx_f_drul_[LEFT] < slur_min)
            {
-             dx_f_drul_[d] -= d * slur_min 
-               - (dx_f_drul_[RIGHT] - dx_f_drul_[LEFT]);
+           // huh? what was this supposed to do?
+//           dx_f_drul_[d] -= d * slur_min 
+//             - (dx_f_drul_[RIGHT] - dx_f_drul_[LEFT]);
              dx_f_drul_[d] = dx_f_drul_[(Direction)-d] + d * slur_min;
            }
+#endif
        }
      }
   while (flip(&d) != LEFT);
index 35e67136f54edfcc91e4d44fa3e0c4107648813d..ad09936111bfe821c2aeba4d62111e801c70c13d 100644 (file)
@@ -91,7 +91,10 @@ Stem_info::Stem_info (Stem const *s)
         central line is never 'forced'
        */
       if (((int)s->chord_start_f ()) && (s->dir_ != s->get_default_dir ()))
-       idealy_f_ -= shorten_f;
+       {
+         idealy_f_ -= shorten_f;
+         miny_f_ = miny_f_ <? idealy_f_;
+       }
 
       // lowest beam of (UP) beam must never be lower than second staffline
       miny_f_ = miny_f_ >? (- 2 * internote_f - beam_f
@@ -116,6 +119,7 @@ Stem_info::Stem_info (Stem const *s)
        }
     }
 
+
   idealy_f_ /= internote_f;
   miny_f_ /= internote_f;
   maxy_f_ /= internote_f;
index 1483196b2eb14c56f5294c7366f1d2a67f3c312b..cc68a065e33f67258edef983ee95c30de0632249 100644 (file)
@@ -121,12 +121,19 @@ Tie::do_post_processing()
       // tie attached to outer notehead
       if (!head_l_drul_[d])
        {
+
+       /*
+        urg, this is broken
+        but who *is* going to assure that dx >= tie_min?
+        */
+#if 0
          if (dx_f_drul_[RIGHT] - dx_f_drul_[LEFT] < tie_min)
            {
-             dx_f_drul_[d] -= d * tie_min 
-               - (dx_f_drul_[RIGHT] - dx_f_drul_[LEFT]);
+//           dx_f_drul_[d] -= d * tie_min 
+//             - (dx_f_drul_[RIGHT] - dx_f_drul_[LEFT]);
              dx_f_drul_[d] = dx_f_drul_[(Direction)-d] + d * tie_min;
            }
+#endif
 
          dy_f_drul_[d] = dy_f_drul_[(Direction) -d];
        }
index 514a33a8accfa7b79c26925c817e6e2b91a9b8a6..97e21a5ad45a2914f9d8373cec32556b4428fa64 100644 (file)
@@ -1,3 +1,6 @@
+pl 65
+       - unix style pathsep/dirsep for cygwin
+
 pl 64
        - gcc-2.8/egcs
 
index 8195e1a7ded3cdab1010cf6be64234f7e6e00e67..a2ba4512106c49e53d57e5f21cf876e1a501ad53 100644 (file)
@@ -1,7 +1,7 @@
 PACKAGE_NAME=StepMake
 MAJOR_VERSION=0
 MINOR_VERSION=1
-PATCH_LEVEL=64
+PATCH_LEVEL=65
 MY_PATCH_LEVEL=
 
 # use the above to send patches, always empty for released version:
index db2f2d517381b33fd7c7448ad21cb085456a9312..3df8f7b6c84da5c1d67cc3897c57a8956635115c 100644 (file)
@@ -1,3 +1,5 @@
+dnl WARNING WARNING WARNING WARNING
+dnl do not edit! this is aclocal.m4, generated from stepmake/aclocal.m4
 dnl aclocal.m4   -*-shell-script-*-
 dnl StepMake subroutines for configure.in
 
@@ -296,9 +298,32 @@ dnl    fi
        LN_S=cp # symbolic link does not work for native nt
        ZIP="zip -r -9" #
        DOTEXE=.exe
-       DIRSEP='\\'
-       PATHSEP=';'
-       INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
+       # urg
+        # DIRSEP='\\'
+       # PATHSEP=';'
+       #
+       # cygwin fixes all these things.  
+       # it seems these were used because of dos-style TEXINPUTS and
+       # MFINPUTS needed for miktex.
+       # but this breaks parsing of all other cygwin/unix style paths.
+       #
+       # if your (mik)tex breaks, make a:
+       #    /usr/local/bin/tex:
+       #    #!/bin/sh
+       #    TEXINPUTS=`cygpath -pw $TEXINPUTS` /texmf/miktex/bin/tex $*
+       #
+       # and
+       #
+       #    /usr/local/bin/mf:
+       #    #!/bin/sh
+       #    MFINPUTS=`cygpath -pw $MFINPUTS` /texmf/miktex/bin/mf $*
+       #
+       # this way, you may have buildscripts/out/lilypond-profile 
+       # 'automatically' sourced from /usr/etc/profile.d/ too.
+       #
+        DIRSEP='/'
+       PATHSEP=':'
+       INSTALL="\$(SHELL) \$(stepdir)/../bin/install-dot-exe.sh -c"
     else
        DIRSEP='/'
        PATHSEP=':'
index 79f7da48c0fa68ad03de2381b7eaa3e2a8444292..0b0fb1d8b866191ffd3b64ef10fbbe07f346ebb2 100644 (file)
@@ -17,7 +17,7 @@ deb:
          dpkg-buildpackage -b; \
        )'
 
-makeflags=$(patsubst %==, %, $(patsubst ----%,,$(MAKEFLAGS:%=--%)))
+makeflags=$(patsubst %==, %, $(patsubst ---%,,$(patsubst ----%,,$(MAKEFLAGS:%=--%))))
 
 diff:
        $(PYTHON) $(step-bindir)/package-diff.py --package=$(topdir) $(makeflags)