]> git.donarmstrong.com Git - lilypond.git/commitdiff
* configure.in: bump GCC requirements to 3.x
authorhanwen <hanwen>
Tue, 26 Aug 2003 14:07:34 +0000 (14:07 +0000)
committerhanwen <hanwen>
Tue, 26 Aug 2003 14:07:34 +0000 (14:07 +0000)
* lily/include/audio-item.hh (class Audio_tie): rename
note_l_drul_ to note_drul_

* lily/tie-performer.cc (class Tie_performer): patch for new ties.

* lily/beam-engraver.cc: move new-beam-event to beam-event

* lily/tie-engraver.cc (class Tie_engraver): move New_tie_engraver
to Tie_engraver

78 files changed:
ChangeLog
Documentation/topdocs/INSTALL.texi
configure.in
input/regression/tie-chord-partial.ly
input/test/add-staccato.ly
input/test/ancient-accidentals.ly
input/test/bar-always.ly
input/test/bar-lines.ly
input/test/bar-number-show-all.ly
input/test/beam-auto-4-8.ly
input/test/beam-auto-override.ly
input/test/beam-auto.ly
input/test/beam-control.ly
input/test/beam-count.ly
input/test/beam-dir-functions.ly
input/test/beam-isknee.ly
input/test/beam-neutral-direction.ly
input/test/blank-notes.ly
input/test/boxed-molecule.ly
input/test/caps.ly
input/test/clef-8-syntax.ly
input/test/coriolan-margin.ly
input/test/count-systems.ly
input/test/crescendi.ly
input/test/drarn-slurs.ly
input/test/drarn.ly
input/test/dynamic-absolute-volume.ly
input/test/dynamic-extra.ly
input/test/embedded-postscript.ly
input/test/embedded-scm.ly
input/test/embedded-tex.ly
input/test/extra-offset.ly
input/test/hymn.ly
input/test/incipit.ly
input/test/ly2dvi-testpage.ly
input/test/midi-scales.ly
input/test/move-specific-text.ly
input/test/no-bar-lines.ly
input/test/octave-duplicate.ly
input/test/part-combine-moments.ly
input/test/part-combine-staff.ly
input/test/part-combine.ly
input/test/partial-blank.ly
input/test/pedal.ly
input/test/phrasing-slur-height.ly
input/test/repeat-manual.ly
input/test/rest-dot-positions.ly
input/test/rests.ly
input/test/reverse-music.ly
input/test/script-priority.ly
input/test/script-stack.ly
input/test/separate-staccato.ly
input/test/slur-attachment-override.ly
input/test/slur-beautiful.ly
input/test/slur-minimum-length.ly
input/test/slur-ugly.ly
input/test/smart-transpose.ly
input/test/spanner-after-break-tweak.ly
input/test/staff-lines.ly
input/test/stem-centered.ly
input/test/stem-length.ly
input/test/tablature-hammer.ly
input/test/text-spanner.ly
input/test/textscript.ly
input/test/tie-sparse.ly
input/test/time-signature-double.ly
input/test/time.ly
input/test/timing.ly
input/test/transposition.ly
lily/audio-element-info.cc
lily/audio-item.cc
lily/include/audio-element-info.hh
lily/include/audio-item.hh
lily/tie-engraver.cc
lily/tie-performer.cc
ly/engraver-init.ly
ly/performer-init.ly
scripts/lilypond-book.py

index cbc8d898c0fed8c3851cb78a8699d80b11d4b48a..9b6dd7ffd123c0197871885edb10d2eb42da8fb7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2003-08-26  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * configure.in: bump GCC requirements to 3.x
+
+       * lily/include/audio-item.hh (class Audio_tie): rename
+       note_l_drul_ to note_drul_
+
+       * lily/tie-performer.cc (class Tie_performer): patch for new ties.
+
        * lily/parser.yy (relative_music): whoops. All \relative were off
        by ...  a lot .... Ahem.
 
index 913644d1f813be0801903beb31594994e1c267c2..7581d9c4f0f503a2c48ecc81c8126b5a0c4b38cc 100644 (file)
@@ -79,7 +79,7 @@ You need the following packages to compile LilyPond:
 @item
  @uref{http://gcc.gnu.org/,
 The GNU c++ compiler} (version 3.1 or newer).
-EGCS 1.1 may work, but is no longer supported.
+EGCS and 2.x are known to cause crashes.
 
 @item @uref{http://www.python.org,Python} (version 2.1 or newer).
 
@@ -357,6 +357,8 @@ set include paths for kpathsea.
 @item The flex precompiled in NetBSD-1.4.2 is broken.
 Upgrade to flex-2.5.4a.
 
+@ignore
+@c is this current?
 @item The configuration of Gcc (egcs-2.91.60 19981201 (egcs-1.1.1
 release)) does not include @file{/usr/pkg} paths.  Configure it using:
 @example
@@ -364,6 +366,7 @@ release)) does not include @file{/usr/pkg} paths.  Configure it using:
        CFLAGS='-I /usr/pkg/include' LDFLAGS='-L/usr/pkg/lib' ./configure
 
 @end example
+@end ignore
 
 @end itemize
 
index da18169b13c9c0416a3d8ba089bc7c076811bf69..d9fd097efacdcd6ead2a7b92a8eebe9933255045 100644 (file)
@@ -28,7 +28,7 @@ STEPMAKE_COMPILE
 STEPMAKE_PYTHON(REQUIRED,2.1)
 STEPMAKE_GCC(REQUIRED, 2.8)
 STEPMAKE_CXX(REQUIRED)
-STEPMAKE_GXX(REQUIRED, 2.95)
+STEPMAKE_GXX(REQUIRED, 3.0)
 STEPMAKE_CXXTEMPLATE
 STEPMAKE_LIB(REQUIRED)
 # Do not use bison 1.50 and 1.75.
index c6bd6357feb52816e3c0606c3f9e56206bf002f5..121b070c56de045a34b33ec77f4e5e6a87762bd5 100644 (file)
@@ -21,11 +21,9 @@ to a different thread."
 \translator {
   \ThreadContext
   \consists "Tie_engraver"
-  \consists "New_tie_engraver"
 }
 \translator { \VoiceContext
   \remove "Tie_engraver"
-  \remove "New_tie_engraver"
 }
 }}
 
index 09c1371bd22361583648ca5e25a1fd8f3114d6d3..c42f94a63b082d606239989ce792abb29271e68e 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header {
index c2c64ceab54b01d515a7ff3d8642b11d2085fc3e..fb98e13d537a0a7e35c7a6f4d3e4e092d23aa960 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \header {
 texidoc = "@cindex Ancient Accidentals
 Accidentals are available in different ancient styles. This
index da3ca6b5a641b7b5138787170db6b78027b5060c..1c321467a377c76fcf443c47793432c129479c64 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {
 
index 70f21d68107d85a37f0ec038a71adf4a3e46326f..3a164bab302a783ccee24da696b8a95a0d9a8842 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {
     texidoc = "@cindex Bar Lines
index 91848ef8d12d297f0d4114e54b7cdfe71a83ce63..65ef473ee703b64212d3469437e4ed9e0a23bbd8 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{
     texidoc="@cindex Bar Number Show All
index fe9a9ff08c4d03db8a6678d317511a70229cd2b1..a90532f42774f25a611a95eb983f68aad0024d53 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % keep for now, although merging into beam-auto-override is a possibility.
 \header {
index 562ed46e004a02a42d8214b7b5c5e0a148dc6e14..f007c793a75230f652675284a46a9f25cfd62e14 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {
 
index 400ee4a643f407acc8ff2fc53900c96a5d7f1073..47c68d13460da53487fe292ca6743f0ab5d9dc1e 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{
        texidoc = "@cindex Beaming Presets
index 2954c761022a105fd7b3696255bc547de2e0936a..827c540fb1c33c315edfdb0e8db8a5a40ae1b964 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{
     texidoc="@cindex Beam Position Control
index 1e5b7d01feded7ff4ba26d11ab52a8ef57166654..16364f953be8b1b7adec76f7617dd417ba5e6fb9 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{
        texidoc="@cindex Beam Count
index d4969bc60615a9d84dd65a44b05dbebd45e38ef8..dac6ac949d9672d25ba044c61652b8c525d1d3ce 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {
   texidoc = "@cindex Beam Dir Functions
index fc87e7b7841f01d361c052382e00a39762ba52ad..563663d7cd7cf5e10d6f87a642bf6fa8925710af 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{
        texidoc="@cindex Beam Isknee
index b5848bbd88859a9300fe82def2d123d086f8e234..507beb635363c9f79fe45b31ee6e4736e82872cd 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{
        texidoc="@cindex Beam Neutral Direction
index 1c96ce72478073fd0fb6923a91bcf3e8abe56a09..0798c806bed2404c91e7d04e63d4761435343382 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % possible rename to invis-notes.ly
 % check if other documents call this "blank notes", though.  I think
index fd873045d8d8d0404fa661511d4b55add6c58c96..f7a243b495613a6bf1383575d2cea473ca40761e 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {
 texidoc = "@cindex Boxed Molecule
index 6fc6a94a0abfc58146be3e16e5a3cb01f8da4577..d9acee507e35bc9f14a0c085deb441d9e2b8850e 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {
 texidoc =  "@cindex Capital Letters
index ded15d04da7f8642e940d8801d1e91cab91d67d9..a56b71766b4f809b9f0b9d9d1b222e427876d835 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {
     texidoc = "@cindex Chord Octavation
index 6e28ba73537e79c40e7e21ea7fd5b7fc89a85603..eab0363521fddd20605c318337ae4db6e64ea81b 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 
index 57b425f325cb566051185d9c7699bdddd861a786..e36e589d8f15019a6df228b6878f068866ac60db 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{
     
index 83fb68eb720409f0e7f17b1cf001bf94b0690f12..b91ffa492af590db7ec4dc464d528fafb342cae8 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{
        texidoc="@cindex Crescendi
index b98c25f6acf92631465d4d3578d1f4fcdedd00db..928c99e8702597445c60914444460211a44dd745 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % possible rename to slurs-?
 % TODO: find out what drarn means, and if there's an overlap with drarn.ly
index 25f0575c7fee93c5a31f9968cc552bdc79958b31..3569f3b771799bbc3c3d2d6b71f65bf63fbcbef0 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{texidoc="@cindex Drarn
 You can attach slurs and ties to noteheads.
index 21c88addf401c23eb4846771f51d78c2cfb62ecb..accb180f9cc5c746b47163589f6dee2ed877a2dd 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {
     texidoc = "@cindex Dynamic Absolute Volume
index 86ee253f8c5f9060b46860efa51215646b56733f..c27a70b129f3a818042c80c2341b1af873c68796 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % probably should be merged into refman.
 \header{
index e9f91f46c0e1d4db576491f4ebacebcbaba58a9f..996cecaf44d36ab07226d0dba1ec389e292dc2ee 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {
   texidoc = "@cindex Embedded Postscript
index c6c07ad63af97899648730f0f0a1078fc92cc2c7..6c8a8af45de5f242db2488d77e4875596257135e 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % TODO: does this work?  It doesn't do anything with 1.7.20
 \header {texidoc="@cindex Embedded scm
index ff00ad55ca42f011f4efce52e95a75ad6d83046d..41bb591c214b99c239022f35f0a7c6ad899dda2b 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{ texidoc="@cindex Embedded Tex
 You can embed Tex commands in your score. "}
index fbbfd9d8c96505fc1e34320b8378607f1e238f1e..cd9bea2d3dbef4aaaf51788c2515b605a757985c 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header { texidoc = "@cindex Scheme Move Notehead
 You can move objects around with scheme.  This example shows how to
index e95229d97c5cc9b56f08d522797846078d55a1eb..b9a05d4faf3fb2f73c2f04a3d19033f4791bf515 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header { texidoc = "
index 6677642c8ca22390441c9de95b6593985fce679c..9b3074803f01bc00ca1bda879ab61704f86eec20 100644 (file)
@@ -33,7 +33,7 @@ violin =  \notes\relative c''{
   \clef treble
 
   a4. b8 c4 fis |
-V  gis~ gis8 fis16^\trill (e) b8 c
+  gis~ gis8 fis16^\trill (e) b8 c
   <{ a d}\\ { es,4}>|
 }
 
index 2f68490423f3cb9535174289070e39bb04cc7e48..58ba2d995d795817ffea68f25f9dd36cceaa37ca 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % MERGE with title.ly -gp
 
index af72243593eb9f84cbb675289f2feee813353f66..dc44fe85903784016a85469b437519881a547440 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % candidate for regression.  -gp
 \header {
index 662f108e515e1aa48d55d88c678624002b95f43c..070548742cdc2c9eada0cd308112ab94990188de 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % possible rename to scheme- or something like that.  -gp
 \header { texidoc = "@cindex Scheme Move Text
index 480af1c4e9df2119d7a74a636ccb8f6efd352a79..3f4c8814a7681d9b9542ded766918fdb7214ff64 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % possible rename to bar-lines-foo.  -gp
 
index 22164c10b2b722c26040ee4ceb679840f18ba4d5..3eef43f38ad67cdcef8565d5557a61ec8d1d80cb 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header { texidoc="@cindex Octave Doubling
 Octave doubling parts of music. "
index 78d8bc6210e715eeaacf4a1192a60f47147bd8f4..a336eb323f1824d01637d54376fe5a31e9eeb085 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % TODO: this example has a ton of text for very little output.
 % Is it all needed?  -gp
index 2b0f3d70ca04516a8665d25f454ea549a48855df..f058a46271d687f64e24e5d56fb29a7d542a91d8 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header { texidoc = "@cindex Part Combine Staff
 You can combine parts on two staffs, as well as two voices. "
index c4bab602857aa6a9b963dd4176340910116ba3f8..c49ebe4178c5a61e0a762fd29a10b5f1bbe318a0 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header{ texidoc="@cindex Part Combine
index 26667edea65a365d1e6edf4c152ba5e4c6b2a660..ed1df8584138c7e21525636a599b324ad5bbc694 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % check with invisible-notes or blank-notes.  possible rename. -gp
 \header{ texidoc = "@cindex Partial Blank
index 16eab39aa4268ca604d9eeb05310e48c700f03b6..c42b66e8a49f825e24f20321466dfbe9ed199b0a 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header{ texidoc = "@cindex Pedal
index 141998b1816f54f044319eec8976d147616c1976..4a7928a64df7fb8f6349bb3b196b881bf561c98e 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header{ texidoc="@cindex Phrasing Slur Height
 Make PhrasingSlur higher, to avoid colission from other slurs. "
index 7540bf74e64346dfc9a0f42f2c2aa95d74d78c3c..d6fb9bcac0a57bb60c22dd43ba37491e97bf11c2 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header { texidoc = "@cindex Repeat Manual
 You can manually control repeat signs and numbers to produce
index 63d117f706406b6af19b47c1521e0567ed7c5a7a..e580cd4268c65cbe1d9613c84dff71a2ae8464d0 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % candidate for regression.  -gp
 \header { texidoc = "@cindex Rest Dot Positions
index f50ee2f64bbf87720141773b7cdc27dd07555f5e..11f971d49f0c3cbdeb94ecd2d6b2c1f95c2b2b96 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {
     texidoc = "@cindex Rests
index 77db66b19da54adaf9dc6a2160b2417159cb076e..af74fb2154760892f4df0f237a34bb7aa088de19 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % possible rename to scheme-something.
 \header { texidoc="@cindex Scheme Reverse Music
index 3fc020eb3589b49f335e9a8887c356f2049ebb60..b191208b5dc5f2a6cc955266c144f3ce83d9f37d 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header { texidoc = "@cindex Script Priority
index ce4bd661c4607c8c2b597a1788d76e9aedefa25a..3ebd6017c41a1ab2f59f59ba6a12bf20e6812caa 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header { texidoc = "@cindex Stacked Text Articulation
index feb6e2048868f236b097b761a8b8d60202b75248..643b05f850bfefdc4c7b4ce290ebe862ae4a027a 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % possible rename.  -gp
 
index 62481132e728250548ec3c3f008b2244918babe7..fe3a8679bff58eb7a4422fa476ccbfc70f37568d 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header{
index 7e9e9f1870f4c4de0a300c9232eb74470125fc06..ebe98ee70d8614271f4b80e03427540604979e21 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % TODO bit too wordy; edit a bit to cut stuff.  -gp
 \header { texidoc ="@cindex Slur Beautiful
index c9a98379d1b97f991b359072e250be9c4f8ba9a1..bb3a5a46003604994622e388c8fbdbe654e065af 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header { texidoc = "@cindex Slur Minimum Length
index 6974532d8af4ba7b0176c4fb7abefa3d9380fdd7..6ec95789a2828e83a6a41eb06c81dd61280ea1c4 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header { texidoc="@cindex Slur Ugly
index 05ed0cda9c4609adecde8202544f49be945462c5..96d7c78fb56ab7e08e2365c9c5ca77c891d4faa7 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header {
index a01d4796b856ae14ca6a91d28ab6350ab98322d0..f90e43e410f52df7be2c8dab517dacecd1a0de11 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header { texidoc = "@cindex Spanner after break
index a5f3e511075270a65078cae8928d546e2ddf676a..e2e6f0b727768087d7f3a65b37a313529099031b 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header { texidoc="@cindex Staff Lines
index 36f4500dcd6cd6287d48c40c3fd9da0e6f35b1b1..57e72153cc67efd59f8d7c55a6653030bcd34abc 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % possible rename to ancient- something.
 \header {
index 8d2b7eb0f7ae3577d07b952185a449dc7daa0020..172a521c184236e0687596ae33e4823fc7167917 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header{ texidoc = "@cindex Stem Length
index 7e6b2416489881020ab51cc5f8e840295037d289..cb1cffdda635717ccb5b37b4cde8e5548d4d8252 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 \header {texidoc = "@cindex Tablature hammer
 You can fake a hammer in tablature with slurs. "
index d0c9bb60a0ba80debe284b9d2c2b65c083a956fb..dad97ad71932e759a1284fca7922faf39e8f71e7 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % TODO: check about other ottava functions.
 
index 710d88f03754a2b8800b314d4e042a4e2ce4965e..811aca0be878a920849414ff8d773ba8eff7dd77 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header { texidoc = "@cindex Textscript
index d8e714ed9090e1488f9d0b84eb4cefc1c0616370..0aa1a80a8ae2b97afda94ea8d039c18ffe684569 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header { texidoc = "@cindex Tie Sparse
index d5ed3f1f9fcdea4ddff410806fb1c2f46086a748..a449b0f7b89f3c36ff854e133163bb1cc972f7a3 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header { texidoc= "@cindex Time Signature Double
index 2043ac8c3d329a87c034288132ec87762b4680de..6ecfe16ed12ec8a2c69ecea88bbb32eb32aab929 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % TODO: This file could be old.  Ask about it later.  -gp
 
index b6ca6232ca4aff6878f780862cc8deed9712825c..eeed0326e1cf08f83a169fdadd0c40ac87b9a218 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 % possible rename to bar-something.
 
index 89b9868a2178c4fef0f9b611b5c811d005581bc6..1e906df1cd39c899a24f696a158a48ee67ff788c 100644 (file)
@@ -1,4 +1,4 @@
-#(ly:set-option 'old-relative)
+
 \version "1.9.1"
 
 \header{ texidoc = "@cindex Transposition
index c38e482b205f303d55cb8f208b2f655572176480..7876f47cc13206b6e3817d580ab0f7d3d89d5957 100644 (file)
@@ -13,14 +13,14 @@ Audio_element_info::Audio_element_info (Audio_element*s, Music *r)
 {
   elem_ = s;
   origin_trans_ =0;
-  req_ = r;
+  event_ = r;
 }
 
 
 Audio_element_info::Audio_element_info ()
 {
   elem_ = 0;
-  req_ = 0;
+  event_ = 0;
   origin_trans_ =0;
 }
 
index c3f2f7f507ade37c77b4c790e9372e12f37341d4..dc78d61dc14673e15105fe2b5d56e2195bf74a2e 100644 (file)
@@ -70,15 +70,15 @@ Audio_text::Audio_text (Audio_text::Type type, String text_string)
 
 Audio_tie::Audio_tie ()
 {
-  note_l_drul_[RIGHT] = 0;
-  note_l_drul_[LEFT] = 0;
+  note_drul_[RIGHT] = 0;
+  note_drul_[LEFT] = 0;
 }
 
 void
 Audio_tie::set_note (Direction d, Audio_note* note)
 {
-  assert (!note_l_drul_[d]);
-  note_l_drul_[d] = note;
+  assert (!note_drul_[d]);
+  note_drul_[d] = note;
   //set_bound (d, head);
 
   //  add_dependency (head);
index 71df4b44600646d2f081ae44d0e1a04109e30f92..392837e214e7d11ea0e09f34de890cd68f1a04f7 100644 (file)
@@ -18,7 +18,7 @@
   */
 struct Audio_element_info {
   Audio_element * elem_;
-  Music *req_;
+  Music *event_;
   Translator *  origin_trans_;
   Link_array<Translator> origin_transes (Translator*) const;  
 
index c5063b09667155b74e707cb851f3b818fead5b51..c2869f1d66d0920015f9f1c1e6eef7c209858852 100644 (file)
@@ -108,7 +108,7 @@ class Audio_tie : public Audio_item
 public:
   Audio_tie ();
   void set_note (Direction, Audio_note*);
-  Drul_array<Audio_note*> note_l_drul_;
+  Drul_array<Audio_note*> note_drul_;
 };
 
 class Audio_time_signature : public Audio_item
index ad6e6b8859c0c5c9641ec6beeed9dfe2d069a6fc..7806f311f7df25beb3b2719ab538862c04742c1c 100644 (file)
@@ -94,7 +94,7 @@ Tie_engraver::acknowledge_grob (Grob_info i)
     {
       Grob * h  = i.grob_;
       now_heads_.push (h);
-      for  (int  i=heads_to_tie_.size (); i--;)
+      for  (int i = heads_to_tie_.size (); i--;)
        {
          Grob *th =  heads_to_tie_[i];
          int staff_pos = gh_scm2int (h->get_grob_property ("staff-position"));
@@ -132,7 +132,6 @@ Tie_engraver::process_acknowledged_grobs ()
 void
 Tie_engraver::stop_translation_timestep ()
 {
-
   if (ties_.size ())
     {
       heads_to_tie_.clear ();
index dd438f1f20638b79ea535f361a2ff2d8605d9a5b..2129c57a3de92fbec0489c4a69838d21995ae289 100644 (file)
@@ -14,7 +14,7 @@
 #include "performer.hh"
 
 struct CNote_melodic_tuple {
-  Music *req_ ;
+  Music *event_ ;
   Audio_note *note_;
   Moment end_;
   CNote_melodic_tuple ();
@@ -42,10 +42,13 @@ public:
   TRANSLATOR_DECLARATIONS(Tie_performer);
 private:
   bool done_;
-  PQueue<CNote_melodic_tuple> past_notes_pq_;
-  Music *req_;
+  
   Array<CNote_melodic_tuple> now_notes_;
-  Array<CNote_melodic_tuple> stopped_notes_;
+  Array<CNote_melodic_tuple> tied_notes_;
+
+  Music *event_;
+  Music * prev_event_;
+  
   Link_array<Audio_tie> ties_;
   
 protected:
@@ -60,7 +63,7 @@ protected:
 
 Tie_performer::Tie_performer ()
 {
-  req_ = 0;
+  event_ = 0;
   done_ = false;
 }
 
@@ -72,16 +75,16 @@ ENTER_DESCRIPTION (Tie_performer, "", "",
 void
 Tie_performer::initialize ()
 {
-  req_ = 0;
+  event_ = 0;
 }
 
 
 bool
 Tie_performer::try_music (Music *m)
 {
-  if (!req_)
+  if (!event_)
     {
-      req_ = m;
+      event_ = m;
       return true;
     }
   return false;
@@ -92,7 +95,7 @@ Tie_performer::acknowledge_audio_element (Audio_element_info i)
 {
   if (Audio_note *nh = dynamic_cast<Audio_note *> (i.elem_))
     {
-      Music *m = i.req_;
+      Music *m = i.event_;
       if (m->is_mus_type ("note-event"))
        now_notes_.push (CNote_melodic_tuple (nh, m, now_mom ()+ m->get_length ()));
     }
@@ -101,63 +104,36 @@ Tie_performer::acknowledge_audio_element (Audio_element_info i)
 void
 Tie_performer::create_audio_elements ()
 {
-  if (req_ && ! done_)
-    {
-      Moment now = now_mom ();
-      Link_array<Audio_note> nharr;
-      
-      stopped_notes_.clear ();
-      while (past_notes_pq_.size ()
-            && past_notes_pq_.front ().end_ == now)
-       stopped_notes_.push (past_notes_pq_.get ());
-      done_ = true;
-      return;
-    }
-
-  if (req_)
+  /*
+    This is a nested loop. Not optimal, but good enough.
+   */
+  if (tied_notes_.size ())
     {
-      now_notes_.sort (CNote_melodic_tuple::pitch_compare);
-      stopped_notes_.sort (CNote_melodic_tuple::pitch_compare);
-      int i=0;
-      int j=0;
-      int tie_count=0;
-      while (i < now_notes_.size () && j < stopped_notes_.size ())
+      Moment now = now_mom();
+      for (int i = tied_notes_.size (); i--; )
        {
-         int comp
-           = Pitch::compare (*unsmob_pitch (now_notes_[i].req_->get_mus_property ("pitch")),
-                                     *unsmob_pitch (stopped_notes_[j].req_->get_mus_property ("pitch")));
+         if (tied_notes_[i].end_ != now)
+           continue;
 
-         if (comp)
+         for (int j = now_notes_.size(); j--;)
            {
- (comp < 0) ? i ++ : j++;
-             continue;
-           }
-         else
-           {
-             tie_count ++;
+             int comp
+               = Pitch::compare (*unsmob_pitch (tied_notes_[i].event_->get_mus_property ("pitch")),
+                                 *unsmob_pitch (now_notes_[j].event_->get_mus_property ("pitch")));
 
-             /* don't go around recreating ties that were already
-                made. Not infallible. Due to reordering in sort (),
-                we will make the wrong ties when notenotes are
-                added.  */
-             if (tie_count > ties_.size ())
+             if (comp == 0)
                {
+                 
                  Audio_tie * p = new Audio_tie;
-                 p->set_note (LEFT, stopped_notes_[j].note_);
-                 p->set_note (RIGHT, now_notes_[i].note_);
+                 p->set_note (LEFT, tied_notes_[i].note_);
+                 p->set_note (RIGHT, now_notes_[j].note_);
                  ties_.push (p);
-                     announce_element (Audio_element_info (p, req_));
+                 announce_element (Audio_element_info (p, event_));
+
+                 tied_notes_.del (i);
                }
-             i++;
-             j++;
-             
            }
        }
-      
-      if (!ties_.size ())
-       {
-         req_->origin ()->warning (_ ("No ties were created!"));
-       }
     }
 }
 
@@ -165,42 +141,62 @@ Tie_performer::create_audio_elements ()
 void
 Tie_performer::stop_translation_timestep ()
 {
-  for (int i=0; i < now_notes_.size (); i++)
+  if (prev_event_ && tied_notes_.size () && !ties_.size ())
     {
-      past_notes_pq_.insert (now_notes_[i]);
+      prev_event_->origin ()->warning (_ ("No ties were performed."));
     }
-  now_notes_.clear ();
+  else
+    prev_event_ = 0;
+  
+  if (event_)
+    {
+      tied_notes_ = now_notes_ ;
+      prev_event_ = event_;
+    }
+  else
+    {
+      tied_notes_.clear (); 
+    }
+
+  event_ = 0;
+  now_notes_ .clear ();
 
   for (int i=0; i<  ties_.size (); i++)
-   {
-     //play_element (ties_[i]);
-     ties_[i]->note_l_drul_[RIGHT]->tie_to (ties_[i]->note_l_drul_[LEFT]);
-   }
+    {
+      ties_[i]->note_drul_[RIGHT]->tie_to (ties_[i]->note_drul_[LEFT]);
+    }
+  
   ties_.clear ();
 }
 
 void
 Tie_performer::start_translation_timestep ()
 {
-  req_ =0;
+  event_ =0;
   done_ = false;
   Moment now = now_mom ();
-  while (past_notes_pq_.size () && past_notes_pq_.front ().end_ < now)
-    past_notes_pq_.delmin ();
+  for (int i= tied_notes_.size ();
+       i -- ;)
+    {
+      if (tied_notes_[i].end_ < now)
+       tied_notes_.del (i);
+      else
+       break ;
+    }
 }
 
 
 CNote_melodic_tuple::CNote_melodic_tuple ()
 {
   note_ =0;
-  req_ =0;
+  event_ =0;
   end_ = 0;
 }
 
 CNote_melodic_tuple::CNote_melodic_tuple (Audio_note *h, Music*m, Moment mom)
 {
   note_ = h;
-  req_ = m;
+  event_ = m;
   end_ = mom;
 }
 
@@ -208,8 +204,8 @@ int
 CNote_melodic_tuple::pitch_compare (CNote_melodic_tuple const&h1,
                                    CNote_melodic_tuple const &h2)
 {
-  SCM p1  = h1.req_->get_mus_property ("pitch");
-  SCM p2  = h2.req_->get_mus_property ("pitch");  
+  SCM p1  = h1.event_->get_mus_property ("pitch");
+  SCM p2  = h2.event_->get_mus_property ("pitch");  
   return Pitch::compare (*unsmob_pitch (p1),
                               *unsmob_pitch (p2));
 }
index 065a8e502afcb8172187326005fbb5ca7a72df1c..09b78356b873f49866a0dc2bff173dddb6d8eddd 100644 (file)
@@ -212,7 +212,6 @@ ThreadContext = \translator{
 
        % why here ? 
        \consists "Output_property_engraver"    
-
 }
 
 
index 7edd61bbbb2d5b5714b293ff6f19a81288e7d70c..3a92961ae86ee3511ed1d45a19db1b0ad3dc7d5a 100644 (file)
@@ -19,6 +19,7 @@ VoiceContext = \translator {
        \name Voice
        \consists "Dynamic_performer"
        \consists "Span_dynamic_performer"
+       \consists "Tie_performer"
        \consists "Piano_pedal_performer"
        \accepts "Thread"
 }
@@ -27,7 +28,6 @@ ThreadContext = \translator {
        \type "Performer_group_performer"
        \name Thread
        \consists "Note_performer"
-       \consists "Tie_performer"
 }
 
 FiguredBassContext = \translator {
index 7ae8ccb323349635d12eb1d72d182143fb335630..5411f8bc3b1f2ef8af9c87775d5f297cdd01c770 100644 (file)
@@ -219,7 +219,7 @@ class LatexPaper:
                cmd = "latex '\\nonstopmode \input %s'" % fname
                # Ugh.  (La)TeX writes progress and error messages on stdout
                # Redirect to stderr
-               cmd += ' 1>/dev/stderr'
+               cmd = '(( %s  >&2 ) >&- )' % cmd
                status = ly.system (cmd, ignore_error = 1)
                signal = 0xf & status
                exit_status = status >> 8
@@ -1406,7 +1406,8 @@ def compile_all_files (chunks):
                cmd = r"latex '\nonstopmode \input %s'" % file
                # Ugh.  (La)TeX writes progress and error messages on stdout
                # Redirect to stderr
-               cmd += ' 1>/dev/stderr'
+               cmd = '(( %s  >&2 ) >&- )' % cmd
+               
                ly.system (cmd)
                ly.system ("dvips -E -o %s.eps %s" % (file, file))
        map (to_eps, eps)