From c503b51338494161bb12383652584e58df418d26 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 23:41:53 +0000 Subject: [PATCH] lilypond-1.3.46 --- debian/control | 28 ----- debian/doc-base | 11 -- debian/prerm | 6 -- input/bugs/auto-staff-switch.ly | 38 ------- input/bugs/b.ly | 2 - input/bugs/core.ly | 21 ---- input/bugs/k.fly | 2 - input/bugs/k.ly | 2 - input/bugs/s.ly | 19 ---- input/bugs/staccato-quantisation.sly | 2 - input/bugs/staff-margin.ly | 38 ------- input/bugs/updownstem.ly | 8 -- lily/bar-script-engraver.cc | 156 --------------------------- lily/include/bar-number-engraver.hh | 22 ---- lily/include/bar-script-engraver.hh | 47 -------- 15 files changed, 402 deletions(-) delete mode 100644 debian/control delete mode 100644 debian/doc-base delete mode 100644 debian/prerm delete mode 100644 input/bugs/auto-staff-switch.ly delete mode 100644 input/bugs/b.ly delete mode 100644 input/bugs/core.ly delete mode 100644 input/bugs/k.fly delete mode 100644 input/bugs/k.ly delete mode 100644 input/bugs/s.ly delete mode 100644 input/bugs/staccato-quantisation.sly delete mode 100644 input/bugs/staff-margin.ly delete mode 100644 input/bugs/updownstem.ly delete mode 100644 lily/bar-script-engraver.cc delete mode 100644 lily/include/bar-number-engraver.hh delete mode 100644 lily/include/bar-script-engraver.hh diff --git a/debian/control b/debian/control deleted file mode 100644 index 12d811e790..0000000000 --- a/debian/control +++ /dev/null @@ -1,28 +0,0 @@ -Source: lilypond1.3 -Build-Depends: debhelper (>= 2.0.71), python-base (>= 1.5.2-4), libguile6-dev, tetex-bin (>= 1.0.5-1), tetex-base (>= 1.0-1), tetex-extra (>= 1.0-1), flex (>= 2.5.4a-1), bison (>= 1:1.28-1), texinfo (>= 4.0-1) -Section: tex -Priority: optional -Maintainer: Anthony Fok -Standards-Version: 3.1.0 - -Package: lilypond1.3 -Architecture: any -Replaces: lilypond -Provides: lilypond -Depends: ${shlibs:Depends}, tetex-bin (>= 1.0.5-1) -Recommends: python-base (>= 1.5.2-4), tetex-base (>= 1.0-1), tetex-extra (>= 1.0-1) -Conflicts: lilypond, musixtex-fonts -Description: A program for printing sheet music. - LilyPond is a music typesetter. It produces beautiful sheet music - using a high level description file as input. LilyPond is part of - the GNU Project. - . - This is the unstable 1.3 branch of LilyPond. It is not intended for - use with stable projects! - . - URLs: http://www.cs.uu.nl/~hanwen/lilypond/ - http://www.xs4all.nl/~jantien/lilypond/ - http://sca.uwaterloo.ca/~praetzel/lilypond/ - http://www.lilypond.org/ - Authors: Han-Wen Nienhuys - Jan Nieuwenhuizen diff --git a/debian/doc-base b/debian/doc-base deleted file mode 100644 index 13016d1aad..0000000000 --- a/debian/doc-base +++ /dev/null @@ -1,11 +0,0 @@ -Document: lilypond -Title: LilyPond, the GNU Project music typesetter -Author: Various -Abstract: This documentation describes LilyPond (the GNU Project music - typesetter), its language Mudela, and the Mutopia project, a.k.a. - "Music To the People." -Section: Apps/Music - -Format: info -Index: /usr/share/info/lilypond.info.gz -Files: /usr/share/info/lilypond.info* diff --git a/debian/prerm b/debian/prerm deleted file mode 100644 index 0c665397e0..0000000000 --- a/debian/prerm +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -set -e - -install-info --quiet --remove /usr/share/info/lilypond.info.gz - -#DEBHELPER# diff --git a/input/bugs/auto-staff-switch.ly b/input/bugs/auto-staff-switch.ly deleted file mode 100644 index cd4e3f27e4..0000000000 --- a/input/bugs/auto-staff-switch.ly +++ /dev/null @@ -1,38 +0,0 @@ - -\score { -\notes { - \context AutoSwitchGrandStaff \relative c' { - c8 d b a' a, f' g,4 ~ g - - } -} - -\paper { -\translator { \ScoreContext -\accepts AutoSwitchGrandStaff; -} -\translator{ - \type "Engraver_group_engraver"; - \name AutoSwitchGrandStaff; - \consists "Span_bar_engraver"; - \consists "Vertical_align_engraver"; - \consists "Piano_bar_engraver"; - \consistsend "Axis_group_engraver"; - minVerticalAlign = 2.*\staffheight; - maxVerticalAlign = 2.*\staffheight; - switcherName = "Voice"; - acceptorName = "Thread"; - staffContextName = "Staff"; - - \accepts "AutoSwitchContext"; - \accepts "Staff"; -} -\translator { - \type "Engraver_group_engraver"; - \name "AutoSwitchContext"; - \consists "Staff_switching_translator"; -} - -}} - -\version "1.3.4"; diff --git a/input/bugs/b.ly b/input/bugs/b.ly deleted file mode 100644 index 87ff53e5a3..0000000000 --- a/input/bugs/b.ly +++ /dev/null @@ -1,2 +0,0 @@ - -\score { \notes <{ [ r8 g''16 des'] [r8 c16 a] }>} diff --git a/input/bugs/core.ly b/input/bugs/core.ly deleted file mode 100644 index 2ad2caf191..0000000000 --- a/input/bugs/core.ly +++ /dev/null @@ -1,21 +0,0 @@ -% core dumps - -global = \notes { - \key a \minor; - \time 6/4; -} - -\score{ - \notes \context PianoStaff < - \global - \context Staff=up { c } - %\context Staff=down { \autochange Staff c } - \context Staff=down { c } - > - \paper { - \translator{ - \StaffContext - } - } -} - diff --git a/input/bugs/k.fly b/input/bugs/k.fly deleted file mode 100644 index b7d1761124..0000000000 --- a/input/bugs/k.fly +++ /dev/null @@ -1,2 +0,0 @@ - -\key e; c2 \clef "treble";\key es; c \break c1 diff --git a/input/bugs/k.ly b/input/bugs/k.ly deleted file mode 100644 index 67091644be..0000000000 --- a/input/bugs/k.ly +++ /dev/null @@ -1,2 +0,0 @@ -\score { \notes { -c4 \clef bass ; c4}} diff --git a/input/bugs/s.ly b/input/bugs/s.ly deleted file mode 100644 index b46c17e74c..0000000000 --- a/input/bugs/s.ly +++ /dev/null @@ -1,19 +0,0 @@ - -\header { - tagline=""; -} -\version "1.3.5" -\include "paper16.ly"; -\score { - \notes { - \relative c'' \sequential { - \clef "violin"; - \time 5/4; - \key c; - ~ f )g-\rc - } - } - \paper{ - linewidth = 5.0\cm; - } -} diff --git a/input/bugs/staccato-quantisation.sly b/input/bugs/staccato-quantisation.sly deleted file mode 100644 index 1c290a4491..0000000000 --- a/input/bugs/staccato-quantisation.sly +++ /dev/null @@ -1,2 +0,0 @@ -\stemup -f'-. g-. a-. b-. c-. d-. e-. diff --git a/input/bugs/staff-margin.ly b/input/bugs/staff-margin.ly deleted file mode 100644 index 1275f6926a..0000000000 --- a/input/bugs/staff-margin.ly +++ /dev/null @@ -1,38 +0,0 @@ -voice = \notes\relative c'{ - \property Staff.instrument = "Voice" - \property Staff.instr = "V." - - % Staff_margin_engraver kan be `fixed' by doing a silly request: - %\bar ".|"; - - c1\break c \bar "|."; -} - -soprano = \notes\relative c'{ - \property Staff.instrument = "Soprano" - \property Staff.instr = "S." - c1 c \bar "|."; -} - -tenor = \notes \relative c'{ - \property Staff.instrument = "Tenor" - \property Staff.instr = "T." - c1 c -} - -\score -{ - \context StaffGroup< - \context Staff = "voice" \voice - \context GrandStaff< - \context Staff = "soprano" \soprano - \context Staff = "tenor" \tenor - > - > - - \paper { - indent = 50.0\mm; - linewidth = 100.0\mm; - \translator { \StaffContext \consists Staff_margin_engraver; } - } -} diff --git a/input/bugs/updownstem.ly b/input/bugs/updownstem.ly deleted file mode 100644 index 8d2cabc3f3..0000000000 --- a/input/bugs/updownstem.ly +++ /dev/null @@ -1,8 +0,0 @@ -% silly short upstem? -\score{ -\context Staff \notes\relative c''{ -< a4 c e > -} -\paper{ -} -} diff --git a/lily/bar-script-engraver.cc b/lily/bar-script-engraver.cc deleted file mode 100644 index 521b23f7aa..0000000000 --- a/lily/bar-script-engraver.cc +++ /dev/null @@ -1,156 +0,0 @@ -/* - bar-script-engraver.cc -- implement Bar_script_engraver - - source file of the GNU LilyPond music typesetter - - (c) 1999--2000 Han-Wen Nienhuys - - */ - -#include "bar-script-engraver.hh" -#include "bar.hh" -#include "clef-item.hh" -#include "side-position-interface.hh" -#include "text-item.hh" -#include "lily-guile.hh" -#include "paper-column.hh" -#include "paper-def.hh" -#include "dimension-cache.hh" -#include "staff-symbol-referencer.hh" -#include "side-position-interface.hh" -#include "staff-symbol.hh" - -Bar_script_engraver::Bar_script_engraver () -{ - axis_ = Y_AXIS; - text_p_ =0; -} - -void -Bar_script_engraver::do_creation_processing () -{ - String t = type_ + "VisibilityFunction"; - SCM proc = get_property (t); - - if (gh_procedure_p (proc)) - visibility_lambda_ = proc; -} - - -/* - Some interesting item came across. Lets attach the text and the - positioner to the item. - -*/ - -void -Bar_script_engraver::attach_script_to_item (Item *i) -{ - Axis other_axis = Axis((axis_ + 1)%2); - if (text_p_ && !text_p_->parent_l(other_axis)) - { - text_p_->set_parent (i,other_axis); - text_p_->set_parent (i,axis_); - - if (!text_p_->parent_l(other_axis)) - text_p_->set_parent (i,other_axis); - - Side_position_interface (text_p_).add_support (i); - - /* - How do we make sure that text_p_ has a dependency from - someone else? We can't use I for that, so we use some other element. - */ - // text_p_->set_elt_property ("dangling", SCM_BOOL_T) - get_staff_info ().command_pcol_l ()->add_dependency (text_p_); - } -} - -/* - URG. - */ -Item* -Bar_script_engraver::cast_to_interesting_item (Score_element *e) -{ - Item * i =0; - - /* - should do type lookup: if (e ->is_type (hang_on_type)) - */ - i = dynamic_cast (e); - - return i; -} - -void -Bar_script_engraver::acknowledge_element (Score_element_info inf) -{ - if (inf.origin_trans_l_arr (this).size () == 1) - { - Item *i=cast_to_interesting_item (inf.elem_l_); - if (!i) - return; - - /* Only put numbers on bars that are at our own level (don't put - numbers over the staffs of a GrandStaff, only over the GrandStaff - itself */ - if (inf.origin_trans_l_arr (this).size () != 1) - return; - - attach_script_to_item (i); - } -} - -void -Bar_script_engraver::do_pre_move_processing () -{ - if (text_p_) - { - Staff_symbol * st = staff_symbol_referencer (text_p_).staff_symbol_l(); - - if (st) - side_position (text_p_).add_support (st); - - typeset_element (text_p_); - text_p_ =0; - } -} - - -void -Bar_script_engraver::create_items (Request *rq) -{ - if (text_p_) - return; - - text_p_ = new Text_item; - text_p_->set_elt_property ("breakable", SCM_BOOL_T); // ugh - Side_position_interface staffside(text_p_); - staffside.set_axis (axis_); - - SCM prop = get_property (type_ + "Direction"); - if (!isdir_b (prop)) - { - prop = gh_int2scm (UP); - } - text_p_->set_elt_property ("direction", prop); - - SCM padding = get_property (type_ + "ScriptPadding"); - if (gh_number_p(padding)) - { - text_p_->set_elt_property ("padding", padding); - } - else - { - text_p_ - ->set_elt_property ("padding", - gh_double2scm(paper_l ()->get_var ("interline"))); - } - - if (gh_procedure_p (visibility_lambda_)) - text_p_->set_elt_property ("visibility-lambda", - visibility_lambda_); - - announce_element (Score_element_info (text_p_, rq)); -} - diff --git a/lily/include/bar-number-engraver.hh b/lily/include/bar-number-engraver.hh deleted file mode 100644 index 22c6c3ef22..0000000000 --- a/lily/include/bar-number-engraver.hh +++ /dev/null @@ -1,22 +0,0 @@ -/* - bar-number-engraver.hh -- declare Bar_number_grav - - source file of the GNU LilyPond music typesetter - - (c) 1997--2000 Han-Wen Nienhuys -*/ - - -#ifndef BAR_NUMBER_GRAV_HH -#define BAR_NUMBER_GRAV_HH - -#include "bar-script-engraver.hh" - -class Bar_number_engraver : public Bar_script_engraver { -protected: - void do_process_music (); -public: - VIRTUAL_COPY_CONS(Translator); - Bar_number_engraver(); -}; -#endif // BAR_NUMBER_GRAV_HH diff --git a/lily/include/bar-script-engraver.hh b/lily/include/bar-script-engraver.hh deleted file mode 100644 index 2e330e88a4..0000000000 --- a/lily/include/bar-script-engraver.hh +++ /dev/null @@ -1,47 +0,0 @@ -/* - bar-script-engraver.hh -- declare Bar_script_engraver - - source file of the GNU LilyPond music typesetter - - (c) 1999--2000 Han-Wen Nienhuys - - */ - -#ifndef BAR_SCRIPT_ENGRAVER_HH -#define BAR_SCRIPT_ENGRAVER_HH -#include "engraver.hh" -#include "protected-scm.hh" - -/** - put stuff over or next to bars. Examples: bar numbers, marginal notes, - rehearsal marks. - */ -class Bar_script_engraver : public Engraver -{ -public: - VIRTUAL_COPY_CONS(Translator); -protected: - Text_item* text_p_; - Protected_scm visibility_lambda_; - String type_; - Axis axis_; - -protected: - /** - Put the script on #it# - */ - void attach_script_to_item (Item *it); - /** - Return non-nil if we want to hang something on this. - */ - Item *cast_to_interesting_item (Score_element*); - Bar_script_engraver (); - virtual void do_creation_processing (); - virtual void do_pre_move_processing (); - virtual void acknowledge_element (Score_element_info); - void create_items(Request*); -}; - - -#endif /* BAR_SCRIPT_ENGRAVER_HH */ - -- 2.39.5