summaryrefslogtreecommitdiff
path: root/lily/chord-tremolo-engraver.cc
Commit message (Collapse)AuthorAgeFilesLines
* Issue 4884: Remove DECLARE_* translator callback macrosDavid Kastrup2016-06-061-2/+2
| | | | | | | | | 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.
* Issue 4865/2: Rewrite of new translator initializationsDavid Kastrup2016-05-311-2/+7
| | | | | | | | | | | | | | | | | | 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 grand replace for 2015.Werner Lemberg2015-01-041-1/+1
|
* Run grand-replace (issue 3765)Carl Sorensen2014-01-111-1/+1
| | | | Run make grand-replace to update all coopyright statements
* Run grand-replace for 2012Graham Percival2012-01-091-1/+1
|
* Grand fixcc.py run on all .hh .cc files.Graham Percival2011-08-011-19/+18
| | | | | | | | | | | 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.
* Admin: run yearly grand-replace.Graham Percival2011-01-131-1/+1
|
* Add support for multi-note tremoloReinhold Kainhofer2010-07-131-18/+27
| | | | | | | | | | | -) 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
* Run grand-replace for 2010.Neil Puttock2010-01-231-1/+1
|
* Update source file headers. Fixes using standard GNU package conventions.Jan Nieuwenhuizen2009-11-251-4/+15
| | | | | | | | | | | | | | | | 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>
* Fix 453.Joe Neeman2009-06-101-13/+8
| | | | | | 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.
* Run grand-replace for 2009.Jan Nieuwenhuizen2009-01-061-1/+1
|
* Run `make grand-replace'.Jan Nieuwenhuizen2008-12-011-1/+1
|
* ADD_TRANSLATOR: Formatting, fix typos, add some doc strings.Werner Lemberg2008-03-141-4/+12
|
* add 2007 to (c) year.Han-Wen Nienhuys2007-01-081-1/+1
|
* announce chord tremolo beam end too.Han-Wen Nienhuys2007-01-061-2/+6
|
* * lily/*.cc, lily/include/*.hh: eliminate dummy arguments fromErik Sandberg2006-10-151-1/+0
| | | | macros ADD_TRANSLATOR, DECLARE_SMOBS and DECLARE_SIMPLE_SMOBS
* * lily/translator.cc, lily/context.cc:, lily/translator-group.cc:Erik Sandberg2006-09-221-9/+13
| | | | | | | | | | | | | | | | | | | | 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
* *** empty log message ***Han-Wen Nienhuys2006-08-021-26/+22
|
* Fix some bugs in the dynamic engraver and PostScript backendErlend Aasland2006-05-311-24/+24
|
* * lily/translator.cc, lily/context.cc:, lily/translator-group.cc:Erik Sandberg2006-09-221-9/+13
| | | | | | | | | | | | | | | | | | | | 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
* *** empty log message ***Han-Wen Nienhuys2006-08-021-26/+22
|
* * lily/chord-tremolo-*.cc: Reworked how \repeat "tremolo"Erik Sandberg2006-05-241-97/+34
| | | | | | | | | | | | | | | | | 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.
* * scm/define-grob-properties.scm (all-internal-grob-properties):Han-Wen Nienhuys2006-05-071-2/+0
| | | | | | | remove chord-tremolo property. * lily/beam.cc (get_beam_segments): don't use stem position as base for broken ends.
* *** empty log message ***Han-Wen Nienhuys2006-03-301-0/+1
|
* * flower/include/std-string.hh:Jan Nieuwenhuizen2006-02-111-1/+1
| | | | | | | | * 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.
* *** empty log message ***Jan Nieuwenhuizen2006-01-261-8/+10
|
* * The grand 2005-2006 replace.Jan Nieuwenhuizen2006-01-061-1/+1
|
* (acknowledge_stem): useHan-Wen Nienhuys2005-12-131-1/+1
| | | | ultimate_music_cause(). This fixes core dumps in unfold-all-repeats.ly
* release commitHan-Wen Nienhuys2005-11-031-1/+1
|
* * lily/include/engraver-group.hh: rename.Han-Wen Nienhuys2005-08-181-1/+1
| | | | * lily/include/performer-group.hh: rename.
* Nitpick run.Jan Nieuwenhuizen2005-08-131-6/+2
| | | | buildscripts/fixcc.py: Fixes.
* (parse_symbol_list): Bugfix.Jan Nieuwenhuizen2005-08-121-6/+3
|
* (class Phrasing_slur_engraver):Jan Nieuwenhuizen2005-08-111-4/+4
| | | | Update cut and paste code from Slur_engraver.
* * lily/accidental-engraver.cc: formatting fixes.Han-Wen Nienhuys2005-07-261-2/+2
| | | | | | | | | | | | * 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.
* * lily/main.cc (setup_guile_env): new function. Set GC min_yieldsHan-Wen Nienhuys2005-07-241-2/+2
| | | | | | | higher. This increases memory footprint, but provides overall speedup of 15 to 20%. * lily/grob.cc (Grob): look properties up directly.
* * lily/include/translator.hh (class Translator): removeHan-Wen Nienhuys2005-07-241-3/+3
| | | | | | | | | | 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.
* * lily/context.cc (where_defined): also assign value inHan-Wen Nienhuys2005-07-241-1/+0
| | | | | | | | | | | | | 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/include/translator.icc (ADD_ACKNOWLEDGER): new macro.Han-Wen Nienhuys2005-07-231-7/+8
| | | | | | | | | | | | * 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/include/translator.icc: new file.Han-Wen Nienhuys2005-07-181-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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).
* * lily/system.cc (do_derived_mark): don't mark from object_alist_Han-Wen Nienhuys2005-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/include/music.hh (class Music): remove Music::duration_log()Han-Wen Nienhuys2005-07-081-3/+4
| | | | | | * lily/stem-engraver.cc (make_stem): take duration log from event. * lily/chord-tremolo-engraver.cc: don't ack note-head-interface.
* * lily/include/grob-info.hh (class Grob_info): make data memberHan-Wen Nienhuys2005-05-081-5/+5
| | | | | | | private. Changes throughout. * lily/vertical-align-engraver.cc (acknowledge_grob): read alignAboveContext and alignBelowContext
* * flower/*.cc: remove <? and >?Han-Wen Nienhuys2005-04-301-1/+1
| | | | * lily/*.cc: remove <? and >?
* *** empty log message ***Jan Nieuwenhuizen2005-04-121-2/+2
|
* * flowerJan Nieuwenhuizen2005-03-101-38/+31
| | | | | * lily * kpath-guile: Nitpick run: buildscripts/fixcc.py.
* new file.Han-Wen Nienhuys2005-03-081-1/+1
|
* *** empty log message ***Han-Wen Nienhuys2005-03-081-1/+1
|
* *** empty log message ***Han-Wen Nienhuys2005-01-311-1/+1
|
* * lily/include/repeated-music.hh (class Repeated_music): changeHan-Wen Nienhuys2005-01-161-16/+16
| | | | | | | | | | | | | | | | | | | | | | | 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.