]> git.donarmstrong.com Git - lilypond.git/commit
Fix 524 pitched trill losing accidental.
authorNeil Puttock <n.puttock@gmail.com>
Fri, 4 Jul 2008 22:32:09 +0000 (23:32 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Sat, 5 Jul 2008 00:05:06 +0000 (01:05 +0100)
commit2986878e42b272268adb989576e9ab946ca78d1e
treeb3dc3d8fff2fafef119be808635201fec4972040
parent6fc96a11b5a0321e9494c83dc4a8cae58255365a
Fix 524 pitched trill losing accidental.

- check localKeySignature more thoroughly when deciding whether
to print an accidental.  This includes checks for alteration and
measure number.
- print accidental if forced.
- move get_bar_number () from accidental-engraver.cc to context.cc
so that pitched-trill-engraver.cc can also use it.
- check secondary note events for `forced-accidental' property and pass to
engraver via trill-span-event if set.
- prevent accidental-engraver.cc setting `forced' property on non-existent
accidentals.
- add regression tests for forced-accidental and consecutive pitched trills.
input/regression/trill-spanner-pitched-consecutive.ly [new file with mode: 0644]
input/regression/trill-spanner-pitched-forced.ly [new file with mode: 0644]
lily/accidental-engraver.cc
lily/context.cc
lily/include/context.hh
lily/pitched-trill-engraver.cc
ly/music-functions-init.ly