]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/parser.yy (My_lily_parser): uncomment code. (Causes
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 13 May 2002 13:07:31 +0000 (13:07 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 13 May 2002 13:07:31 +0000 (13:07 +0000)
problems  with recent bison releases).

* make/lilypond.redhat.spec.in: add pfa fonts to X.

ChangeLog
VERSION
input/template/piano-dynamics.ly
input/test/reverse-music.ly
lily/clef.cc
lily/paper-column.cc
lily/parser.yy
lily/spacing-spanner.cc
lilypond-font-lock.el
make/lilypond.redhat.spec.in
scm/grob-property-description.scm

index c73fa2d13817cbdb90b12106e12839e1a9c1c208..db78e92c1cfd03714816c09bbc2c4c226ca349e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2002-05-13  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+       * lily/parser.yy (My_lily_parser): uncomment code. (Causes
+       problems  with recent bison releases).
+
+       * make/lilypond.redhat.spec.in: add pfa fonts to X. 
+
+2002-05-07  Heikki Junes <hjunes@cc.hut.fi>
+
+       * lilypond-font-lock.el: Fixes the order of the note name list.
+
 2002-05-06  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * scripts/lilypond-book.py: Add html/dtml output, pseudo-filter
diff --git a/VERSION b/VERSION
index 6f9ba79be6fd24723ee92f9f00528f80e53717ca..9b3ebc3c30dabc9050ff4af2c4b6ce5c7e258989 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 MAJOR_VERSION=1
 MINOR_VERSION=5
 PATCH_LEVEL=55
-MY_PATCH_LEVEL=hjj1
+MY_PATCH_LEVEL=hjj2
 
 # use the above to send patches: MY_PATCH_LEVEL is always empty for a
 # released version.
index e95a273378de69b2f2de613033a917557568f022..34e9025e59a0bf8a331b673b1f114644c654efff 100644 (file)
@@ -2,16 +2,16 @@
 
 \header {
   dedication = "dedication"
-  title = "Title"
-  subtitle = "Subtitle"
-  subsubtitle = "Subsubtitle"
-  composer = "Composer (xxxx-yyyy)"
-  opus = "Opus 0"
-  piece = "Piece I"
-  instrument = "Instrument"
-  arranger = "Arranger"
-  poet = "Poet"
-  texttranslator = "Translator"
+  title = "title"
+  subtitle = "subtitle"
+  subsubtitle = "subsubtitle"
+  composer = "composer (xxxx-yyyy)"
+  opus = "opus 0"
+  piece = "piece i"
+  instrument = "instrument"
+  arranger = "arranger"
+  poet = "poet"
+  texttranslator = "translator"
   copyright = "public domain"
   enteredby = "jcn"
   source =  "urtext"
@@ -31,24 +31,24 @@ dynamics = \notes {
 }
 
 pedal = \notes {
- s2\sustainDown s2\sustainUp
+ s2\sustaindown s2\sustainup
 }
 
 \score {
-  \context PianoStaff <
-    \context Staff=upper \upper
-    \context Dynamics=dynamics \dynamics
-    \context Staff=lower <
+  \context pianostaff <
+    \context staff=upper \upper
+    \context dynamics=dynamics \dynamics
+    \context staff=lower <
       \clef bass
       \lower
     >
-    \context Dynamics=pedal \pedal
+    \context dynamics=pedal \pedal
   >
   \paper {
     \translator {
-      \type "Engraver_group_engraver"
-      \name Dynamics
-      \consists "Output_property_engraver"
+      \type "engraver_group_engraver"
+      \name dynamics
+      \consists "output_property_engraver"
       Generic_property_list = #generic-voice-properties
       \consists "Property_engraver"
       MinimumVerticalExtent = #'(-1 . 1)
index 8f40c63a40bde2b8e68a4915e05359e002ec783e..4da5b6d8862da91e96a6891f7aee3fc85a5f7711 100644 (file)
@@ -6,15 +6,21 @@ Simple customised music apply.
 "
 }
 
-music = \notes { c'4 d'4( e'4 f'4 }
+music = \notes \relative c'' { c4 d4( e4 f4 }
 
 #(define (reverse-music music)
   (let* ((elements (ly-get-mus-property music 'elements))
          (reversed (reverse elements))
+         (e (ly-get-mus-property music 'element))
          (span-dir (ly-get-mus-property music 'span-direction)))
 
     (ly-set-mus-property music 'elements reversed)
 
+    (if (music? e)
+        (ly-set-mus-property
+         music 'element
+         (reverse-music e)))
+
     (if (dir? span-dir)
         (ly-set-mus-property music 'span-direction (- span-dir)))
 
index 943f5e24d4bb341247f79b14859c501c2818b85b..bac75e343ff3cac2e6264f473e66bff4c7e0f57e 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
   clef.cc -- implement Clef_item
 
@@ -7,7 +6,6 @@
   (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-
 #include "clef.hh"
 #include "string.hh"
 #include "molecule.hh"
index fb22e1314e03e2a4560c8b891fab706dfdd513a2..248af8cabf632d8656f0b92083aabb8a02bbf984 100644 (file)
@@ -128,4 +128,4 @@ Paper_column::brew_molecule (SCM p)
 
 ADD_INTERFACE (Paper_column, "paper-column-interface",
   "",
-  "between-cols count between-system-string when bounded-by-me shortest-playing-duration shortest-starter-duration");
+  "between-cols between-system-string when bounded-by-me shortest-playing-duration shortest-starter-duration");
index 88d34227b820bb57d0ac6d9f1fc7be22d7fc6d59..22d49dc65abf8983f4fe674581cc0d4e51559ba0 100644 (file)
@@ -116,9 +116,6 @@ set_music_properties (Music *p, SCM a)
 #include <stdlib.h>
 
 
-#ifndef NDEBUG
-#define YYDEBUG 1
-#endif
 
 #define YYERROR_VERBOSE 1
 
@@ -1511,7 +1508,8 @@ close_request:
                $$ = $1;
                dynamic_cast<Span_req*> ($$)->set_span_dir ( START);
        }
-       
+       ;
 close_request_parens:
        '('     {
                Span_req* s= new Span_req;
@@ -2115,9 +2113,9 @@ questions:
 %%
 
 void
-My_lily_parser::set_yydebug (bool b)
+My_lily_parser::set_yydebug (bool )
 {
-#ifdef YYDEBUG
+#if 0
        yydebug = b;
 #endif
 }
index d99dc2ff5041e380cc2b181e5f0c50817034af60..57c2a1f4b5e2a5613068729ed2fa2eeeec192718 100644 (file)
@@ -558,7 +558,9 @@ Spacing_spanner::musical_column_spacing (Grob *me, Item * lc, Item *rc, Real inc
   bool ragged = to_boolean (me->paper_l ()->get_scmvar ("raggedright"));
   Real strength = (ragged) ? 1.0 : 1 / (max_note_space - max_fixed_note_space);
   Real distance = (ragged) ? max_fixed_note_space : max_note_space;
-  Spaceable_grob::add_spring (lc, rc, distance, strength, expand_only);
+  //  Spaceable_grob::add_spring (lc, rc, distance, strength, expand_only);
+  
+  Spaceable_grob::add_spring (lc, rc, distance, strength, false);  
 }
 
 void
index 308d3faaf98aaba3725064740e2d49904b722328..aa3e21c7945be39e368d7618db6e354bacc2f42d 100644 (file)
       (cons (concat "\\(" rwregex "\\)") 'font-lock-variable-name-face)
 
 ;; ... notes and rests, accidentals and duration (multiplied), e.g., b,?16.*3/4
-      '("\\(^\\|[ <\{[~(!)\t\\\|]\\)\\(\\(\\(\\(\\(do\\|re\\|[ms]i\\|[fl]a\\|sol\\)\\(bb?\\|dd?\\|ss?\\)?\\)\\|\\([a-h]\\(flat\\(flat\\)?\\|sharp\\(sharp\\)?\\|ff?\\|ss?\\|is\\(siss\\|s\\|is\\)?\\|es\\(sess\\|s\\|es\\)?\\)?\\)\\|\\(as\\(as\\|es\\)?\\)\\|\\(es\\(es\\)?\\)\\|\\(bb\\)\\)[,']*[?!]?\\|[srR]\\)\\([ \t]*\\(128\\|6?4\\|3?2\\|16?\\|8\\|\\\\breve\\)[.]*\\([ \t]*[*][ \t]*[0-9]+\\(/[1-9]+\\)?\\)?\\)?\\)" 2 font-lock-type-face)
+      '("\\(^\\|[ <\{[~(!)\t\\\|]\\)\\(\\(\\(\\(bb\\|as[ae]s\\|eses\\|\\(do\\|re\\|[ms]i\\|[fl]a\\|sol\\)\\(bb?\\|dd?\\|ss?\\)?\\)\\|\\([a-h]\\(\\(flat\\)+\\|\\(sharp\\)+\\|is\\(siss\\|i?s\\)?\\|es\\(sess\\|e?s\\)?\\|ff?\\|ss?\\)?\\)\\)[,']*[?!]?\\|[srR]\\)\\([ \t]*\\(128\\|6?4\\|3?2\\|16?\\|8\\|\\\\breve\\)[.]*\\([ \t]*[*][ \t]*[0-9]+\\(/[1-9][0-9]*\\)?\\)?\\)?\\)" 2 font-lock-type-face)
 
 ;; "on top", ... '{[]}'-brackets
       '("\\([][}{]\\)" 0 font-lock-warning-face t)
index 0fb954c137df22fd1a0aab541f5e12978a2b58f3..abd9e1479ec0e1af98552d4372a72c3891ae7348 100644 (file)
@@ -89,6 +89,8 @@ rm `find /var/lib/texmf -name 'feta*pk -print' -or -name 'feta*tfm -print'` /tmp
 %endif
 
 
+chkfontpath --add=/usr/share/lilypond/pfa/
+
 echo 'Please logout first before using LilyPond.'
 
 %preun
@@ -99,6 +101,7 @@ if [ $1 = 0 ]; then
 fi
 %endif
 
+chkfontpath --remove=/usr/share/lilypond/pfa/
 
 %files
 %defattr(-, root, root)
index 4390761f99ccffb427ebd983701d9b1e1cd5f461..f9031e12a767d98ba4ea59132321e1f8a628bd25 100644 (file)
@@ -103,7 +103,6 @@ square of the inner notes involved.")
 (grob-property-description 'collapse-height number? "Minimum height of system start delimiter.  If equal or smaller, the bracket is removed.")
 
 (grob-property-description 'columns list? "list of grobs, typically containing paper-columns.")
-(grob-property-description 'count integer? "")
 (grob-property-description 'control-points list? "List of 4 offsets (number-pairs) that form control points for the  tie/slur shape.")
 (grob-property-description 'damping integer? "amount of beam slope damping should beam slope be damped? 0: no, 1: yes, 100000: horizontal beams .")
 (grob-property-description 'dash-length number? "the length of a dash.")