From: fred Date: Tue, 26 Mar 2002 22:45:21 +0000 (+0000) Subject: lilypond-1.3.23 X-Git-Tag: release/1.5.59~1902 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=fddd597b04a269d766a1453f5d8fa2461d0db013;p=lilypond.git lilypond-1.3.23 --- diff --git a/CHANGES b/CHANGES index 7fd2dfd03f..075a01b1e1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,38 @@ +1.3.22.hwn2 +=========== + +* Symbols opposite to stem (eg marcato) now get the proper glyph. + +* Breathing marks now have a direction by default. + +* Do set generic script properties. + +* Also put tuplet brackets under notes. + +* Score_element_info: only store origin of element, but not the path +to parent translators. Saves a little memory, and removes some complexity. + + +1.3.22.hwn1 +=========== + +* Autobeaming in time sigs that don't have 1/4 beats fixed. + +* (De)crescendi should now work. (Thanks Michael) + +* Better error reporting for conflicting time signatures. + +* Line_number_engraver: output locations of note head +definitions. Very handy when entering complicated scores. + +* Rewrote multi measure rest support: now they are entered as spanners +(\commandspanrequest \start "rest"). RXXXX is an abbreviation for +\commandspanrequest \start "rest" SXXXX \commandspanrequest \stop "rest". + +* Removed support of percent style repetitions. + +* Put texts outside the staff. + 1.3.21.mb1 ========== * Getopt bugfix: don't assert on certain errors. diff --git a/TODO b/TODO index 57b88fb58d..04eebc905c 100644 --- a/TODO +++ b/TODO @@ -11,11 +11,11 @@ Grep -i for TODO, FIXME and ugh/ugr/urg. .* TODO . * use hash tabs iso. alist_ for elt property? . * fix tremolos. +. * ROADMAP file. +. * change ) c4 to c4-) . * internationalize GUILE msgs. -gg . * unbroken marks. . * write smobifying howto. -. * tuplet spanner dir . * \property autoBeamOverRest (boolean). Don't stop for rests when autobeaming. ? . * put property test files in refman. @@ -23,8 +23,9 @@ gg . * alignment within @itemize . * interstaff stems . * junk dstream output. -. * agressive type-checking for SCM stuff. +. * Change website to be index to documentation. . * \prop slurdir in grace notes +. * \eltproperty "=Context" "Elt_name" "prop-name" #value . * script columns . * Must stop before this music ends: verse=\lyrics { diff --git a/VERSION b/VERSION index c12766d66b..8135fdaa69 100644 --- a/VERSION +++ b/VERSION @@ -1,7 +1,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=3 -PATCH_LEVEL=22 +PATCH_LEVEL=23 MY_PATCH_LEVEL= # use the above to send patches: MY_PATCH_LEVEL is always empty for a diff --git a/lily/breathing-sign-engraver.cc b/lily/breathing-sign-engraver.cc index 669a606353..46761a934f 100644 --- a/lily/breathing-sign-engraver.cc +++ b/lily/breathing-sign-engraver.cc @@ -32,10 +32,11 @@ Breathing_sign_engraver::Breathing_sign_engraver() bool Breathing_sign_engraver::do_try_music (Music*r_l) { - if (Breathing_sign_req * b= dynamic_cast (r_l)) { - breathing_sign_req_l_ = b; - return true; - } + if (Breathing_sign_req * b= dynamic_cast (r_l)) + { + breathing_sign_req_l_ = b; + return true; + } return false; } @@ -43,28 +44,31 @@ Breathing_sign_engraver::do_try_music (Music*r_l) void Breathing_sign_engraver::do_process_requests() { - if(breathing_sign_req_l_) { - breathing_sign_p_ = new Breathing_sign; - Staff_symbol_referencer_interface st (breathing_sign_p_); - st.set_interface (); + if(breathing_sign_req_l_) + { + breathing_sign_p_ = new Breathing_sign; + breathing_sign_p_->set_elt_property ("break-aligned", SCM_BOOL_T); + Staff_symbol_referencer_interface st (breathing_sign_p_); + st.set_interface (); - announce_element (Score_element_info (breathing_sign_p_, breathing_sign_req_l_)); - } + announce_element (Score_element_info (breathing_sign_p_, breathing_sign_req_l_)); + } } void Breathing_sign_engraver::do_pre_move_processing() { - if(breathing_sign_p_) { - typeset_element(breathing_sign_p_); - breathing_sign_p_ = 0; - } + if(breathing_sign_p_) + { + typeset_element(breathing_sign_p_); + breathing_sign_p_ = 0; + } } void Breathing_sign_engraver::do_post_move_processing() { - breathing_sign_req_l_ = 0; + breathing_sign_req_l_ = 0; } ADD_THIS_TRANSLATOR(Breathing_sign_engraver); diff --git a/lily/breathing-sign.cc b/lily/breathing-sign.cc index 97460a490a..f6672d2059 100644 --- a/lily/breathing-sign.cc +++ b/lily/breathing-sign.cc @@ -31,20 +31,26 @@ Breathing_sign::do_brew_molecule_p () const { Staff_symbol_referencer_interface si (this); - Real dl = si.staff_space(); - Interval i1(0, dl / 6), i2(-dl / 2, dl / 2); + Real space = si.staff_space(); + Interval i1(0, space / 6), i2(-space / 2, space / 2); Box b(i1, i2); Molecule *output = new Molecule (lookup_l()->filledbox(b)); - + return output; } void Breathing_sign::do_post_processing() { - Real dl = Staff_symbol_referencer_interface (this).staff_space(); - - translate_axis(2.0 * dl * directional_element(this).get (), Y_AXIS); + Real space = staff_symbol_referencer (this).staff_space(); + Direction d = directional_element (this). get (); + if (!d) + { + d = UP; + directional_element(this).set (d); + } + + translate_axis(2.0 * space * d, Y_AXIS); } diff --git a/lily/include/time-signature.hh b/lily/include/time-signature.hh index f349166731..e09572632f 100644 --- a/lily/include/time-signature.hh +++ b/lily/include/time-signature.hh @@ -23,6 +23,10 @@ protected: virtual Molecule*do_brew_molecule_p() const; public: Time_signature () ; + + /* + TODO: make this SCM! + */ Array args_; VIRTUAL_COPY_CONS(Score_element); diff --git a/lily/time-signature.cc b/lily/time-signature.cc index 09e51cf2b0..aaa7952d8e 100644 --- a/lily/time-signature.cc +++ b/lily/time-signature.cc @@ -18,6 +18,7 @@ Time_signature::Time_signature () set_elt_property ("breakable", SCM_BOOL_T); } +// ugh.! Molecule* Time_signature::do_brew_molecule_p () const {