| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
(--enable-std-string): On by default.
* flower/include/std-vector.hh: New file. Enable switch to
std::vector, update client code.
|
| |
|
| |
|
|
|
|
| |
buildscripts/fixcc.py: Fixes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/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/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.
|
|
|
|
|
|
|
| |
private. Changes throughout.
* lily/vertical-align-engraver.cc (acknowledge_grob): read
alignAboveContext and alignBelowContext
|
|
|
|
|
|
| |
writing up to date file. Add dvips usage suggestion.
* scm/define-markup-commands.scm (lower): New command.
|
| |
|
| |
|
|
|
|
|
| |
* lily
* kpath-guile: Nitpick run: buildscripts/fixcc.py.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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):
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
music/context/grob property functions. Internally, use
get_property() and set_property() for both.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|