summaryrefslogtreecommitdiff
path: root/lily/gregorian-ligature-engraver.cc
Commit message (Collapse)AuthorAgeFilesLines
* Issue 4365: non-member unsmob<T> replaces T::unsmob and T::is_smobDan Eble2015-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Hide Smob_base<>::is_smob() to prevent the misleading situation of D::is_smob(S) returning true when S represents an ancestor of D rather than a D. This issue was previously worked around by overriding is_smob in several derived smob classes; that is no longer needed. LY_ASSERT_SMOB() now returns a smob pointer. This is not used yet, but is available for future use to avoid unsmobbing twice. Smob_base<>::smob_p() is hidden because there doesn't seem to be a need for it to be public. Files in lily/include were edited by hand. Files in lily itself were processed with the following sed script. s/\([A-Za-z_]\+\)::derived_unsmob/unsmob<\1>/g s/derived_unsmob *<\([A-Za-z_]\+\)>/unsmob<\1>/g s/\([A-Za-z_]\+\)::unsmob/unsmob<\1>/g s/\([A-Za-z_]\+\)::is_smob/unsmob<\1>/g s/Input \*\([A-Za-z_]\+\) = unsmob /Input *\1 = unsmob<Input> /g s/LY_ASSERT_SMOB (\([^)]*\))$/LY_ASSERT_SMOB (\1);/g
* Run grand replace for 2015.Werner Lemberg2015-01-041-1/+1
|
* unsmob_pitch -> Pitch::unsmob and relatedDavid Kastrup2014-08-021-1/+1
| | | | | | | | | | | | | | This is part of moving away from implementing LilyPond infrastructure via the C preprocessor rather than C++ features since C++ features tend to be more transparent to IDEs, debuggers, editors, and newcomers. sed -i "$(git grep -h DECLARE_UNSMOB|sed 's/.*(\(.*\), \(.*\)).*/s\/unsmob_\2\\b\/\1::unsmob\/g/')" $(git grep -l unsmob_) sed -i '/^DECLARE_UNSMOB/d' `git grep -l DECLARE_UNSMOB` git checkout Documentation/misc/CHANGES-1.3 (the changes to the CHANGES file are not useful). The definition of DECLARE_UNSMOB is removed in a separate commit.
* Run grand-replace (issue 3765)Carl Sorensen2014-01-111-1/+1
| | | | Run make grand-replace to update all coopyright statements
* pass by reference-to-const, not by valueBenkő Pál2012-10-301-3/+3
|
* Run grand-replace for 2012Graham Percival2012-01-091-1/+1
|
* Grand fixcc.py run on all .hh .cc files.Graham Percival2011-08-011-94/+94
| | | | | | | | | | | 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
|
* 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-3/+14
| | | | | | | | | | | | | | | | 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>
* Run grand-replace for 2009.Jan Nieuwenhuizen2009-01-061-1/+1
|
* Run `make grand-replace'.Jan Nieuwenhuizen2008-12-011-1/+1
|
* Misc cleanups.Han-Wen Nienhuys2008-07-281-14/+16
|
* s/illegal/invalid/Werner Lemberg2007-07-291-1/+1
|
* add 2007 to (c) year.Han-Wen Nienhuys2007-01-081-1/+1
|
* Oops "cannot.Jan Nieuwenhuizen2006-12-221-2/+2
|
* initial.Jan Nieuwenhuizen2006-12-221-2/+2
|
* (fix_prefix): const correctness.Han-Wen Nienhuys2006-10-221-1/+1
|
* * lily/translator.cc, lily/context.cc:, lily/translator-group.cc:Erik Sandberg2006-09-221-1/+4
| | | | | | | | | | | | | | | | | | | | 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-11/+6
|
* Fix some bugs in the dynamic engraver and PostScript backendErlend Aasland2006-05-311-9/+11
|
* * lily/translator.cc, lily/context.cc:, lily/translator-group.cc:Erik Sandberg2006-09-221-1/+4
| | | | | | | | | | | | | | | | | | | | 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-11/+6
|
* * flower/include/std-string.hh:Jan Nieuwenhuizen2006-02-111-3/+3
| | | | | | | | * 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.
* * configure.in (--enable-std-vector): New option.Jan Nieuwenhuizen2006-01-311-5/+5
| | | | | | | (--enable-std-string): On by default. * flower/include/std-vector.hh: New file. Enable switch to std::vector, update client code.
* *** empty log message ***Jan Nieuwenhuizen2006-01-261-3/+4
|
* * The grand 2005-2006 replace.Jan Nieuwenhuizen2006-01-061-1/+1
|
* Nitpick run.Jan Nieuwenhuizen2005-08-131-6/+2
| | | | buildscripts/fixcc.py: Fixes.
* (parse_symbol_list): Bugfix.Jan Nieuwenhuizen2005-08-121-4/+2
|
* * lily/ligature-engaver.cc, lily/coherent-ligature-engaver.cc,Jürgen Reuter2005-08-051-18/+2
| | | | | | | | | | | | | | lily/gregorian-ligature-engaver.cc, lily/include/ligature-engraver.hh, lily/include/coherent-ligature-engraver.hh, lily/include/gregorian-ligature-engraver.hh: make these classes truely abstract. This should fix some internal oddities such as duplicate as well as dead translator/property declarations, and also some dead code. * lily/ligature-bracket-engraver.cc, lily/ligature-engraver.cc: bugfix: avoid message "junking empty ligature" on ligature brackets by collecting dummy grobs.
* * 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-3/+3
| | | | | | | higher. This increases memory footprint, but provides overall speedup of 15 to 20%. * lily/grob.cc (Grob): look properties up directly.
* * lily/context.cc (where_defined): also assign value inHan-Wen Nienhuys2005-07-241-1/+2
| | | | | | | | | | | | | 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: new file.Han-Wen Nienhuys2005-07-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/include/event.hh: remove file.Han-Wen Nienhuys2005-07-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | * lily/parser.yy (Lily_lexer): check EVENT_IDENTIFIER using 'event in 'types property. * lily/music.cc (duration_length_callback): new function. * lily/event.cc: remove file. * lily/music-constructor.cc: remove file. * lily/music-scheme.cc (LY_DEFINE): rename to ly:make-music * lily/context.cc (get_grob_key): nop if use_object_keys not set. (get_context_key): idem. * scm/lily.scm (lambda): new option object-keys (default to #f) * ps/music-drawing-routines.ps: remove draw_beam. * lily/lookup.cc (beam): use round_filled_polygon() for beam.
* * lily/include/grob-info.hh (class Grob_info): make data memberHan-Wen Nienhuys2005-05-081-2/+2
| | | | | | | private. Changes throughout. * lily/vertical-align-engraver.cc (acknowledge_grob): read alignAboveContext and alignBelowContext
* * scripts/lilypond-book.py (write_if_updated): Bugfix for notJan Nieuwenhuizen2005-04-191-2/+2
| | | | | | writing up to date file. Add dvips usage suggestion. * scm/define-markup-commands.scm (lower): New command.
* *** empty log message ***Jan Nieuwenhuizen2005-04-121-5/+3
|
* Update.Jan Nieuwenhuizen2005-03-161-12/+12
|
* * flowerJan Nieuwenhuizen2005-03-101-136/+136
| | | | | * lily * kpath-guile: Nitpick run: buildscripts/fixcc.py.
* *** empty log message ***Han-Wen Nienhuys2005-01-311-1/+1
|
* (DECLARE_EVENT_SWALLOWER): ENTER_DESCRIPTION -> ADD_TRANSLATORHan-Wen Nienhuys2004-12-091-1/+1
|
* * configure.in: Test for and accept lmodern if EC fonts not found.Jan Nieuwenhuizen2004-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | * Debian lmodern support. * scm/framework-tex.scm (font-load-command): TeX font name mangling for latin1 encoded cork-lm fonts. (convert-to-ps): Load lm.map if available. * ly/paper-defaults.ly: Use cork-lm encoding if ec is not available. * scm/encoding.scm (coding-alist): Add cork-lm encoding. * scm/font.scm: Add header. Autoload cork-lm and ec fonts if available. * lily/kpath.cc (ly_kpathsea_find_file): Rename. Do not use path for absolute file name, that is silly. * lily/score-engraver.cc (initialize):
* *** empty log message ***Han-Wen Nienhuys2004-09-031-1/+1
|
* * lily/include/lily-guile.hh: many new ly_ functions. Thanks toHan-Wen Nienhuys2004-04-071-4/+4
| | | | | | | | | | | | | | | | | Michael Welsh Duggan * lily/*.cc: deprecate gh_ interface. Thanks to Michael Welsh Duggan * lily/scaled-font-metric.cc (derived_mark): idem. * lily/scaled-font-metric.cc (derived_mark): is a const method. (Modified_font_metric): make alist for coding_description_ (LY_DEFINE): remove coding-name. * lily/scaled-font-metric.cc (ly_font_encoding): return vector * lily/my-lily-lexer.cc (set_identifier): remove gh_scm2newstr use.
* *** empty log message ***Han-Wen Nienhuys2004-03-081-2/+2
|
* (LY_DEFINE): use Scheme style naming forHan-Wen Nienhuys2004-02-221-17/+17
| | | | | music/context/grob property functions. Internally, use get_property() and set_property() for both.
* 2003 -> 2004Han-Wen Nienhuys2004-02-051-1/+1
|
* * lily/lily-guile.cc (alist_to_hashq): new functionHan-Wen Nienhuys2004-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scm/lily.scm (alist->hash-table): new function. * Documentation/user/refman.itely (Percussion staves): update doco. * input/regression/drums.ly (timb): updates * lily/note-performer.cc (create_audio_elements): robustness fix. * ly/engraver-init.ly: add DrumStaff and DrumVoice contexts * lily/drum-note-engraver.cc: new file. * ly/drumpitch-init.ly: move drum definitions * scm/drums.scm: remove file. * lily/*.cc: remove abort-event everywhere. * lily/note-heads-engraver.cc (process_music): robustification. * lily/accidental-engraver.cc (process_acknowledged_grobs): robustification. * lily/parser.yy (simple_element): add \drums mode. (simple_element): remove \pitchnames , \chordmodifiers. Use variables to store this. * lily/lexer.ll (My_lily_lexer): remove support for \PITCHNAME outside \notes.
* * lily/auto-change-iterator.cc: move contents fromHan-Wen Nienhuys2004-02-041-1/+6
| | | | | | | | | | | | | | | | | | | | new-auto-change-iterator.cc from * scm/part-combiner.scm: determine split-list from Scheme. * lily/parser.yy (part_combined_music): remove old PC cruft. * ly/engraver-init.ly: remove old PC cruft. * Documentation/user/refman.itely (The Lyrics context): note about extender lines. * scm/part-combiner.scm (determine-split-list): many bugfixes. * input/regression/new-part-combine-solo-global.ly: new file. * scm/part-combiner.scm: rewrite.