| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Recent changes have rendered them trivial. This does not review their
accessibility status: in general, they should be protected since they
can be reused by derived classes but aren't needed externally. However,
where they are indeed called from static member functions of derived
classes, the associated trampoline instantiation appears to require
public access. This might warrant some more investigation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was done by running the following Bash script:
git grep '^ADD_TRANSLATOR (' lily|sed 's/^\([^:]*\):ADD_TRANSLATOR ( *\([a-zA-Z_]\+\),.*$/\1 \2/' |
while read file translator
do
lines="$(git grep -h '^\(ADD_ACKNOWLEDGER\|ADD_END_ACKNOWLEDGER\|IMPLEMENT_TRANSLATOR_LISTENER\) ('$translator, $file)"
sed -i "$(echo "$lines"|sed 's+^..*$+/&/d+')" $file
sed -i "/^ADD_TRANSLATOR ($translator,/i\\
void\\
$translator::boot ()\\
{\\
$(echo "$lines"|sed 's/IMPLEMENT_TRANSLATOR_LISTENER/ADD_LISTENER/;s/^./ &/;s/$/\\/')
}\\
" $file
done
|
| |
|
|
|
|
| |
Run make grand-replace to update all coopyright statements
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Apologies for the inconvenience in patch handling, but getting
this done at once will cause less long-term problems than trying
to do this piecemeal.
Note for future git historians: this patch was created by running
scripts/auxiliar/fixcc.py \
$(find flower lily -name '*cc' -o -name '*hh' | grep -v /out)
with astyle 2.02 installed. No manual changes were made.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
-) Remove all checks for exactly one or two notes as arguments to a
tremolo repeat
-) Create proper beaming for multi-note tremolo (so far, the
chord-tremolo-engraver always assumed exactly two beamed notes)
-) Extend the make-repeat function to scale the notes properly also
in the case of multi-note tremolos
patch from issue 1786041 on codereview.appspot.com
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Han-Wen Nienhuys <hanwen@xs4all.nl>
Signed-off-by: Jan Nieuwenhuizen <janneke@gnu.org>
Signed-off-by: John Mandereau <john.mandereau@gmail.com>
Signed-off-by: Graham Percival <graham@percival-music.ca>
Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
Signed-off-by: Joe Neeman <joeneeman@gmail.com>
Signed-off-by: Heikki Johannes Junes <hjunes@gmail.com>
Signed-off-by: Neil Puttock <n.puttock@gmail.com>
Signed-off-by: Carl D. Sorensen <c_sorensen@byu.edu>
Signed-off-by: Mats Bengtsson <mats.bengtsson@s3.kth.se>
Signed-off-by: Werner Lemberg <wl@gnu.org>
Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
Signed-off-by: Nicolas Sceaux <nicolas.sceaux@free.fr>
|
|
|
|
|
|
| |
Calculate tremolo beaming only from the repeat-count and the duration-log
of the original notes. In particular, don't use any information about
scaled durations when calculating the tremolo beaming.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
macros ADD_TRANSLATOR, DECLARE_SMOBS and DECLARE_SIMPLE_SMOBS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove try_music
* lily/*-engraver.cc, lily/*-performer.cc: Remove all remaining
references to Music; use ASSIGN_EVENT_ONCE everywhere
* lily/grob-info.cc: junk *music_cause
* lily/music.cc: copy eventified articulations to stream event
* lily/part-combine-iterator.cc: Cleanup using enums
* lily/translator-group.cc: Junk OldMusicEvent, and associated
methods
* lily/include/engraver.hh: Junk music.hh include
* lily/stream-event.cc: Changed constructors
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove try_music
* lily/*-engraver.cc, lily/*-performer.cc: Remove all remaining
references to Music; use ASSIGN_EVENT_ONCE everywhere
* lily/grob-info.cc: junk *music_cause
* lily/music.cc: copy eventified articulations to stream event
* lily/part-combine-iterator.cc: Cleanup using enums
* lily/translator-group.cc: Junk OldMusicEvent, and associated
methods
* lily/include/engraver.hh: Junk music.hh include
* lily/stream-event.cc: Changed constructors
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
works. More work is done by iterator now, and engraver has been
very much simplified.
* lily/translator-group.cc: try_music is now invoked through a
listener
* lily/*-iterator.cc: Massive cleanups. Junked
try_music_in_children globally. Renamed try_music to report_event,
and made that method descend to a bottom context automatically.
* lily/event-iterator.cc: New file.
* lily/output-property-iterator.cc,
lily/old-lyric-combine-music-iterator.cc: Removed.
|
|
|
|
|
|
|
| |
remove chord-tremolo property.
* lily/beam.cc (get_beam_segments): don't use stem position as
base for broken ends.
|
| |
|
|
|
|
|
|
|
|
| |
* flower/include/std-vector.hh: Finish std:: conversion; move
flower extensions from std:: namespace. Update users.
* lily/include/lily-proto.hh: Replace Link_array__*_ macros by
their expansion to vector<*>. Update users.
|
| |
|
| |
|
|
|
|
| |
ultimate_music_cause(). This fixes core dumps in unfold-all-repeats.ly
|
| |
|
|
|
|
| |
* lily/include/performer-group.hh: rename.
|
|
|
|
| |
buildscripts/fixcc.py: Fixes.
|
| |
|
|
|
|
| |
Update cut and paste code from Slur_engraver.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/spacing-spanner.cc (prune_loose_columns): right-items is a
grob-array.
* lily/arpeggio.cc (print): suicide arpeggio for single notehead.
* lily/note-column.cc (arpeggio): new function.
* lily/note-spacing.cc (get_spacing): also take arpeggio into
account for spacing.
|
|
|
|
|
|
|
| |
higher. This increases memory footprint, but provides overall
speedup of 15 to 20%.
* lily/grob.cc (Grob): look properties up directly.
|
|
|
|
|
|
|
|
|
|
| |
PRECOMPUTED_VIRTUAL everywhere.
* lily/include/lily-guile.hh: inline scm_c[ad]r, scm_is_pair.
* lily/context.cc (now_mom): non-recursive now_mom()
* lily/grob.cc (Grob): look properties up directly.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
where_defined().
* lily/bezier.cc (get_other_coordinate): use curve_coordinate
(curve_coordinate): new function
* flower/include/parray.hh (binsearch): add lo,hi range to arguments.
* lily/simple-spacer.cc (add_columns): only add rods between
column i and begin/end if keep-inside-line is set (this repleces
allow-outside-line as default)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/translator.cc (add_acknowledger): new file. Directly jump
into an Engraver::acknowledge_xxx () method based on a grobs
interface-list.
* lily/include/translator-dispatch-list.hh (class
Engraver_dispatch_list): new struct., new file.
* lily/engraver-group-engraver.cc (Engraver_group_engraver):
change acknowledgeHashTable to C++ member.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/paper-column-engraver.cc (process_music): new
file. Separate Paper_column factory from Score_engraver.
* lily/vertically-spaced-context-engraver.cc: administer
spaceable-staves property of System.
* lily/translator-group-ctors.cc: new file.
* lily/context-property.cc (make_grob_from_properties): construct
the right Grob class programmatically, looking at the class entry
for the meta property.
* lily/break-align-engraver.cc (stop_translation_timestep): call
Break_align_interface::add_element() directly.
* lily/context.cc (measure_position): measure_position() is now a
normal function.
* lily/include/translator.hh (class Translator): rename
process_acknowledged_grobs() to process_acknowledged() and move to
Translator.
* scm/define-grobs.scm (all-grob-descriptions): add a 'class meta
field for each grob description.
* lily/include/translator-group.hh (class Translator_group):
change to base class. Separate class from Translator. This gets
rid of virtual inheritance for Engravers/Performers.
* lily/staff-performer.cc (class Staff_performer): derive
Staff_performer from Performer, not Performer_group_performer
* Lily/translator-group.cc (precomputed_recurse_over_translators):
new function.
(precompute_method_bindings): new function. Precompute lists of
Translators, so we only call methods (process_music,
start_translation_timestep, etc.) for Translators needing
it. Also: dispose of pointer-to-member-function calls.
* lily/engraver-group-engraver.cc: remove engraver_each,
recurse_down_engravers ()
* lily/note-head.cc (internal_print): only call
glyph-name-procedure if style != default. 3 % speed increase (wtk2-fugue1).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
anymore, but do it centrally. Speedup: approximately 3-5 %.
* ly/engraver-init.ly (AncientRemoveEmptyStaffContext): remove
hammer hack.
* lily/grob-scheme.cc (LY_DEFINE): new function ly:grob-object
* scm/output-lib.scm: remove hammer-print-function.
* lily/include/pointer-group-interface.hh (extract_grob_set): new
macro. Declare a Link_array<Grob> and fill it from a grob.
(extract_item_set): idem for item.
* lily/break-substitution.cc: add header.
(fast_substitute_grob_array): rewrite for Grob_arrays.
(substitute_grob_array): idem.
* lily/group-interface.cc (add_thing): remove file.
* flower/include/parray.hh (class Link_array): slice() is const.
* lily/include/grob-array.hh: new file.
* lily/grob-array.cc (spanner): new file.
* lily/beam-quanting.cc (fill): read details property from beam.
* lily/beam.cc: support details property.
* lily/include/beam.hh: new struct, softcode beam quanting parameters
* lily/include/grob.hh (class Grob): add interfaces_ member.
* lily/bezier.cc (init_polynomial_cache): new function: cache
binom(3,j) t^j (1-t)^{3-j}
(curve_point): opps, actually use the cache for t^j , (1-t)^j!
* lily/grob-property.cc (internal_get_object): new routine.
(internal_set_object): idem. Store grob refrences in separate
alist. This saves processing time, since properties aren't
break-substituted, and the per grob namespace is smaller, both for
grobs and non-grob properties.
* scm/define-grob-properties.scm (all-internal-grob-properties):
remove center-element.
* lily/grob.cc: remove tweak-count, tweak-rank.
|
|
|
|
|
|
| |
* lily/stem-engraver.cc (make_stem): take duration log from event.
* lily/chord-tremolo-engraver.cc: don't ack note-head-interface.
|
|
|
|
|
|
|
| |
private. Changes throughout.
* lily/vertical-align-engraver.cc (acknowledge_grob): read
alignAboveContext and alignBelowContext
|
|
|
|
| |
* lily/*.cc: remove <? and >?
|
| |
|
|
|
|
|
| |
* lily
* kpath-guile: Nitpick run: buildscripts/fixcc.py.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
into "namespace" class.
* lily/event.cc: remove Key_change_event.
* lily/include/transposed-music.hh (class Transposed_music): remove.
* lily/transposed-music.cc: remove
* lily/include/relative-music.hh: remove.
* lily/include/music-sequence.hh (struct Music_sequence): change
into "namespace" class.
* lily/untransposable-music.cc (Module): remove
* lily/include/un-relativable-music.hh (Module): remove
* lily/include/untransposable-music.hh (Module): remove
* lily/un-relativable-music.cc: remove file.
|