From: fred Date: Sun, 24 Mar 2002 19:35:54 +0000 (+0000) Subject: lilypond-0.0.43 X-Git-Tag: release/1.5.59~5154 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f3f032fc49c0c8a49443aad878a7e966aadefbd2;p=lilypond.git lilypond-0.0.43 --- diff --git a/TODO b/TODO index 8f67365717..e074ce5aa6 100644 --- a/TODO +++ b/TODO @@ -1,36 +1,30 @@ - * remove notename.* README.pod LilyPond.pod - before 0.1 * remove spurious/outdated comments in .ly, debug .ly - + * pushgroup, popgroup. * basic dynamics - * basic syntax & parser/lexer cleanup. - * decent TeX page layout - * clean split for m2m of sources. - - * caching of Register_group_register hierarchies. + * remove unnecessary or confusing constructs from .ly This is an assorted collection of stuff that will be done, might be done, or is an idea that I want to think about +PARSER + * Duration + MAKE-STUFF - * fix increase build ( libflower rebuilt when making lilypond. ) + * flower config: separate optiflags. * sort out headers, see m2m * do platform stuff: configure, header(s), targets, build (out?) - - * make install. BUGS - * plet bugs: scales.ly * key at clef change. @@ -40,7 +34,7 @@ BUGS * [c8. c32 c32] - * $cis ( | ) cis$ + * cis ( | ) cis * Group_feature at start of music. @@ -48,13 +42,25 @@ BUGS SEVERELY LACKING: + * hairpins + * grace notes +FURTHER FOR ORCHESTRAL SCORE: + + * multibar rests + + * barnumbers, markers + + * abbreviations c4=16 + INPUTLANGUAGE - * read ENV for include path + * read ENV for include /init path - * lose the $ and @ ? + * configure pitch_byte + + * special key. * figured bass? @@ -62,12 +68,20 @@ INPUTLANGUAGE * rest name configurable - * < .. > vs. { .. } syntax? ! - - * '*' vs. '/' + * uniformate: \clef\violin, \clef"violin", \geometric 1.4, + \meter{ 2/4 }, etc. SMALLISH PROJECTS + * key transposition + + * key { C } + + * use dstream feature in mi2mu + + * qtor, btor, mtor-> tor( QUIET_ver ), tor( DEBUG_ver ), etc. + + * use tors feature in lily * midi esp.: use I32 iso int where 32 bits are needed (or assumed...) @@ -75,13 +89,11 @@ SMALLISH PROJECTS * parshape - * a pure parser. - - * bar numbers/repetition marks + * a pure parser? * read from mmap directly: study yy_scan_buffer - * binsearch/hash for notenames, id. for identifiers + * binsearch/hash for identifiers * stafftypes: voice names/ instrument names. @@ -100,7 +112,8 @@ SMALLISH PROJECTS * Brackets - * space rest. + * caching of Register_group_register hierarchies. + * use (char *) iso. String for communication between lexer and parser. @@ -109,9 +122,11 @@ SMALLISH PROJECTS * collision Request_register. - * make install (gnu dir names) + * add (good guess of) width to lyric items + + * midi output: eat-up dynamic, key/meter/tempo changes, and write them neatly - * LilyPond .rpm and .deb + * LilyPond .deb DOC @@ -125,7 +140,7 @@ DOC FUTURE - * Register_container baseclass + * mixed fontsizes * put scripts on bars @@ -133,7 +148,7 @@ FUTURE * guitar chord - * better beamslope calculation + * better beamslope calculation: QLP for beams? * implement better breaking algorithm @@ -143,21 +158,17 @@ FUTURE * merge key{item} & localkey{item}? - * QLP for beams? - * revise calcideal * eentje/tweetje * piano staff - * abbreviations a4*8 - IDEAS * integrate Register/Midi stuff - * create libmudela, or liblily_frontend + * create libmudela, or liblily_frontend * Horizontal_align_item, Vertical_align_item. @@ -165,8 +176,6 @@ IDEAS * fold indentifiers and notenames? - * enter Requests directly - * itemcolumns: Use dummy items. * use an embedded language: scheme, lisp, S-lang, Perl, GUILE, ? diff --git a/input/Makefile b/input/Makefile index 94970aa5c0..94a5042a3f 100644 --- a/input/Makefile +++ b/input/Makefile @@ -9,13 +9,13 @@ build = ./$(depth)/lily/$(outdir)/.build # generic stuff/Makefile # -include ./$(depth)/make/Stuff.make +include ./$(depth)/make/Include.make # # list of distribution files: # -LYFILES = $(shell ls *.ly) -TEXFILES = $(shell ls *.tex) +LYFILES = $(wildcard *.ly) +TEXFILES = $(wildcard *.tex) DISTFILES = Makefile $(LYFILES) $(TEXFILES) # diff --git a/input/error.ly b/input/error.ly index 283f48922d..570300af98 100644 --- a/input/error.ly +++ b/input/error.ly @@ -1,29 +1,29 @@ include "this-is-hopefully-a-nonexisting-file" -mwa = music { - $ +mwa = \music { + [ a8 a8 a8 a8 a8 ] % [ a8 ] % % segfault - { \music{ [ bes^"1"( )a bes-. g-. ] a4-.^"4" } \music{ [ e ] } \music{ [ c ] } } | + < { [ bes^"1"( )a bes-. g-. ] a4-.^"4" } { [ e ] } { [ c ] } > | a ) b ] c % warning & % ok; error a b ) ] % ok; error % a......... % fatal error -- assert a b c ||| % - abc % ok; print error, no output + abc % ok; print error, no \output \bla % no warning-> this STRING, reduced to lyric_elt. - a [ b % warning, still output - { a( b } % warning, still output + a [ b % warning, still \output + { a( b } % warning, still \output a b ,c a b c-* a b c& { a-. b-. } - $ + } -bla = music { +bla = \music { @ These Gates will open just like windows. % ok; warning @ @@ -33,13 +33,13 @@ bla = music { include "this-is-hopefully-a-nonexisting-file" score { - staff { - lyric music { bla } + \staff { + lyric \music { bla } } - staff { - melodic music { mwa } + \staff { + \melodic \music { mwa } } - commands { - meter {3*4} + \co\mmands { + \meter {3/4} } } diff --git a/lily/command-request.cc b/lily/command-request.cc index 769d522ba5..92e7097c43 100644 --- a/lily/command-request.cc +++ b/lily/command-request.cc @@ -25,7 +25,7 @@ Cadenza_req::Cadenza_req(bool b) int -Bar_req::compare(const Bar_req &c1)const +Bar_req::compare(Bar_req const &c1)const { return type_str_ == c1.type_str_; } @@ -124,6 +124,16 @@ Measure_grouping_req::do_print() const } } /* *************** */ + +void +Key_change_req::transpose(Melodic_req const & d)const +{ + WARN << "don't know how to transpose a key. \n"; + for (int i=0; i < melodic_p_arr_.size(); i++) { + melodic_p_arr_[i]->transpose(d); + } +} + void Key_change_req::do_print() const {