+2004-02-29 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scripts/convert-ly.py (conv):
+
2004-02-29 Heikki Junes <hjunes@cc.hut.fi>
* ly/property-init: new functions: \arpeggioUp, \arpeggioDown,
@node Introduction
@chapter Introduction
-
+trn
The art of music typography is called @emph{(plate) engraving}. The
term derives from the traditional process of music printing. Only a
few decades ago, sheet music was made by cutting and stamping the
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=1
-PATCH_LEVEL=27
-MY_PATCH_LEVEL=hjj1
+PATCH_LEVEL=28
+MY_PATCH_LEVEL=
% how useful these enharmonic modifications are. Mats B.
%
% Why not to have a function that minimizes the number of accidentals? -HJJ
-i%
+%
#(define (unhair-pitch p)
(let* ((o (ly:pitch-octave p))
return;
}
+ static SCM proc;
+ if (!proc)
+ proc = scm_c_eval_string ("dump-gc-protects");
+
Input_file_results inp_file (init, in_file, out_file);
}
return tab;
}
-#if 0
+#if 1
/*
Debugging mem leaks:
*/
\consists "Figured_bass_engraver"
\consists "Rest_swallow_translator"
\consists "Note_swallow_translator"
+ \consists "Skip_event_swallow_translator"
\consists "Separating_line_group_engraver"
\consistsend "Hara_kiri_engraver"
%if %{info}
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
-gzip -9fn $RPM_BUILD_ROOT%{_infodir}/*
+gzip -9fn `find $RPM_BUILD_ROOT%{_infodir}/ -name '*.info'`
%endif
mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
(define gc-protect-stat-count 0)
(define-public (dump-gc-protects)
(set! gc-protect-stat-count (1+ gc-protect-stat-count) )
-
- (display
- (map (lambda (y)
- (let
- ((x (car y))
- (c (cdr y)))
-
- (string-append
- (string-join
- (map object->string (list (object-address x) c x))
- " ")
- "\n")))
-
- (sort
+ (let*
+ ((protects (sort
(hash-table->alist (ly:protects))
(lambda (a b)
(< (object-address (car a))
- (object-address (car b)))))
-
- )
- (open-file (string-append
+ (object-address (car b))))))
+ (outfile (open-file (string-append
"gcstat-" (number->string gc-protect-stat-count)
".scm"
- ) "w")))
+ ) "w"))
+ )
+
+ (display
+ (filter
+ (lambda (x) (not (symbol? x)))
+ (map (lambda (y)
+ (let
+ ((x (car y))
+ (c (cdr y)))
+
+ (string-append
+ (string-join
+ (map object->string (list (object-address x) c x))
+ " ")
+ "\n")))
+ protects))
+ outfile)
+
+ ))
conversions.append (((2,1,27), conv, """property transposing -> tuning"""))
def conv (str):
+ str = re.sub (r'make-music-by-name', 'make-music', str)
str = re.sub (r"\\override\s+.*Arpeggio\s+#.print-function\s+=\s+\\arpeggioBracket", r"\\arpeggioBracket", str)
return str
-conversions.append (((2,1,28), conv, """new syntax for setting \\arpeggioBracket"""))
+conversions.append (((2,1,28), conv,
+ """make-music-by-name -> make-music,
+new syntax for setting \\arpeggioBracket"""))
################################
# END OF CONVERSIONS