From 7aa08fff81e00dc160ed8e2ea5a017bfe0a182ff Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:57:47 +0000 Subject: [PATCH] lilypond-0.1.14 --- NEWS | 29 +++++++++++++++++++++++++++++ TODO | 15 ++++++++------- lily/include/p-score.hh | 5 +++-- lily/include/scoreline.hh | 8 +++++--- lily/include/super-elem.hh | 23 +++++++++++++++-------- 5 files changed, 60 insertions(+), 20 deletions(-) diff --git a/NEWS b/NEWS index 6724d8e860..34ebe729b2 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,31 @@ +pl 14 + - Simple but nifty mudela-mode.el for Emacs + - slightly better syntax for single-note-repeat, now default kept in +Stem_engraver + - bf: Abbrev_beams are not the only beams (see: jcn4, stem-info, thanks, Jan) + - a CPU timer for Interpreting and Breaking + - Separate Score_elem: + * invoke-once stuff in Super_elem (using function pointers; much cleaner now) + * geometrical stuff into Graphical_element + * Axis_group_* accept Graphical_elements iso. Score_elems + * A dimension cache, hopefully this makes lily a bit faster + * TeX output moved out of Score_elem, separate interface Outputter + + - < \multi 2; bla > -> \multi 2 < bla > (mudela 0.1.6) + - bf: don't do \multi if \type specified + - Translator switching: Change_translator, Change_iterator + + +pl 12.jcn4 + - fixed dynamic f, magstep bug + - gaps on abbrev-beams + - bf: stem-info + - bf: last abbrev + - bf: stem: do_width + - bf: removed rest-column.hh + +******* +sep 11 pl 13 - big Rest/notehead rewrite: @@ -30,6 +58,7 @@ by the parser (mudela 0.1.4) - Molecule::add_XXXX -> Molecule::add_at_edge () - doco updeet: why no midi FAQ, index, CodingStyle hungarian + pl 12.jcn3 - try at better dynamic font, copied from cmbxti10: mf/* - typesetting abbreviation beams; abbreviation-* diff --git a/TODO b/TODO index ac8a74e7d6..47cd313b81 100644 --- a/TODO +++ b/TODO @@ -6,6 +6,8 @@ done, or is an idea that I want to think about Most of the items are marked in the code as well, with full explanation. grep for TODO and ugh/ugr + - bf: abbrevs over whole note + * use properties for: - Text_style - default_octave @@ -49,8 +51,7 @@ PROJECTS * \header - revise lexer mode - write perl script for handling it into databases - - * emacs-mode for mudela + - write TeX macros to generate titles * Makefile stuff: - have make dist produce tarball in out/ directory. @@ -100,7 +101,7 @@ languages: ****************** \score { < - \melodic { \id "Staff" ""; c'4 g'4 } + \melodic \type Staff { c'4 g'4 } \lyric { \id "Lyric" ""; hello4 bye4 < a chord > } \lyric { \id "Lyric" ""; bye4 hello4 } \melodic { \id "Staff" ""; c'4 g'4 } @@ -337,9 +338,6 @@ SMALLISH PROJECTS IDEAS - * scoping in Lexer: do general id- assignments in mudela. - - ID '=' EXPR; * create libmudela, or liblily_frontend @@ -395,7 +393,6 @@ IDEAS * lyrics in chords still fuck up. - * - rewire acknowledge_element() logic with a process_acknowledged() * pushgroup/popgroup @@ -405,3 +402,7 @@ IDEAS * multi threading? - 1 thread per element/ 1 thread per line - 1 thread per Translator + + * Use hooks/dependency graphs for properties + + * Make general "spanning"-elements and "placer"-elements diff --git a/lily/include/p-score.hh b/lily/include/p-score.hh index 1ca1f30ac8..0bce434619 100644 --- a/lily/include/p-score.hh +++ b/lily/include/p-score.hh @@ -22,6 +22,7 @@ */ class Paper_score : public Music_output { + void tex_output (); public: Paper_def *paper_l_; @@ -33,7 +34,8 @@ public: /// other elements Pointer_list elem_p_list_; - + + Outputter *outputter_l_; Super_elem *super_elem_l_; Paper_score (); @@ -55,7 +57,6 @@ public: /* STANDARD ROUTINES */ - void OK() const; void print() const; void typeset_element (Score_elem*); diff --git a/lily/include/scoreline.hh b/lily/include/scoreline.hh index fc1cac844e..cb089cdb05 100644 --- a/lily/include/scoreline.hh +++ b/lily/include/scoreline.hh @@ -16,8 +16,7 @@ class Line_of_score : public Spanner public: Link_array cols; bool error_mark_b_; - virtual String TeX_output_str () const; - + DECLARE_MY_RUNTIME_TYPEINFO; Line_of_score(); @@ -30,7 +29,10 @@ public: void set_breaking (Array const&); protected: - virtual void do_breakable_col_processing (); + virtual Link_array get_extra_dependencies () const; + + virtual void do_unlink (); + virtual void do_junk_links (); virtual void break_into_pieces (bool); virtual Interval do_width() const; virtual void do_print() const; diff --git a/lily/include/super-elem.hh b/lily/include/super-elem.hh index 1b5a994037..74bfda6691 100644 --- a/lily/include/super-elem.hh +++ b/lily/include/super-elem.hh @@ -16,17 +16,24 @@ */ class Super_elem : public Score_elem { public: - Link_array lines_arr_; - Line_of_score * line_of_score_l_; + Link_array lines_arr_; + Line_of_score * line_of_score_l_; void add_broken_line (Line_of_score*); - Super_elem(); - virtual String TeX_output_str() const; + Super_elem(); + + void pre_processing(); + void breakable_col_processing(); + void break_processing(); + void post_processing(); + void output_all (); + void unlink_all (); + protected: - virtual void do_substitute_dependency (Score_elem*,Score_elem*); - virtual void handle_broken_dependencies(); + virtual void do_substitute_dependency (Score_elem*,Score_elem*); + virtual void handle_broken_dependencies(); - virtual void do_add_processing(); - DECLARE_MY_RUNTIME_TYPEINFO; + virtual void do_add_processing(); + DECLARE_MY_RUNTIME_TYPEINFO; }; #endif // SUPER_ELEM_HH -- 2.39.5