| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This is a followup on the solution for issue 2010 that was too eager
killing off unrelated iterators when an iterator in the vicinity of a
Lyric_combine_music_iterator died.
The salient point is to have Simultaneous_music_iterator::process_music
check for pending_moment () going from finite to infinite when
iterating, signifying the loss of an iterator defining an end point.
It happens to also fix issue 4339.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
The problem here was that the simultaneous iterator might keep
rerhythmed lyrics around when the associated voice has died already,
blocking the simultaneous iterator. The solution is that when removing
the last regular iterator to remove all remaining lyric-combined
iterators at the same time.
|
|
|
|
|
|
|
|
| |
This runs
sed -i 's/unsmob_\(engraver\|global_context\|input\|item\|music\|paper_score\|performance\|performer\|spanner\|stream_event\)\b/\u\1::unsmob/g' $(git grep -l unsmob_ lily)
as the mechanical part of the conversion. A separate commit provides
the required definitions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
smaller pieces.
* lily/score-engraver.cc, lily/score-performer.cc,
scm/define-context-properties.scm: Make paper/midi output
accessable as a context property.
* lily/score-translator.cc, lily/score-context.cc: Removed.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
smaller pieces.
* lily/score-engraver.cc, lily/score-performer.cc,
scm/define-context-properties.scm: Make paper/midi output
accessable as a context property.
* lily/score-translator.cc, lily/score-context.cc: Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
substitute appropriate functions.
* flower/include/string.hh (class String): remove to_str0 and
is_empty(). S&R everywhere.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Music_iterator::quit() for iterators that start out invalid. This
fixes indefinitely continuing contexts.
|
|
|
|
| |
* lily/*.cc: remove <? and >?
|
| |
|
|
|
|
|
| |
* lily
* kpath-guile: Nitpick run: buildscripts/fixcc.py.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
ly:music-name anywhere. Fixes <<\\>> notation.
* lily/pango-font.cc (pango_item_string_stencil): bugfix: don't
crash if psname is null.
* lily/pango-font.cc (physical_font_tab): new member. Store PSname
-> font_filename mapping.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/include/music-list.hh (Module): remove file
* lily/un-relativable-music.cc: remove file.
|
| |
|
|
|
|
| |
lyric spacing on the penultimate column.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
quoted-context-type, quoted-context-id.
* scm/lily.scm (type-check-list): new function.
* scm/lily-library.scm: new file. Generic library routines.
* lily/parser.yy (Generic_prefix_music): move typechecking out of
parser.
* ly/music-functions-init.ly: add quoteDuring function.
* lily/include/music-iterator.hh (class Music_iterator): rename
set_translator -> set_context
* lily/parser.yy (Generic_prefix_music_scm): add
MUSIC_FUNCTION_SCM_SCM_MUSIC
* scm/lily.scm (sanitize-command-option): new function. (backportme)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/lily-parser.cc (LY_DEFINE): ignore scores with errors.
* lily/book.cc (process): ignore books with errors
* lily/drum-note-engraver.cc (try_music): idem.
* lily/part-combine-iterator.cc (Part_combine_iterator): use
BusyPlayingEvent to determine which voice was active last.
(unisono): use last active to where to get unisono information
from. This fixes: partcombine-rest.ly (again).
|
|
|
|
|
| |
* lily/lyric-engraver.cc (get_voice_to_lyrics): recursively go
higher for finding Voice. (backportme)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(children_contexts): new accessor function.
* lily/include/translator.hh (class Translator): make
daddy_context_ protected.
(class Translator): clean up.
* lily/include/context.hh (class Context): make daddy_context_
private.
* lily/lyric-engraver.cc (get_voice_to_lyrics): recursively go
higher for finding Voice. (backportme)
* lily/include/context.hh (class Context): remove
find_context_below() as a method.
* Documentation/user/notation.itely (The Lyrics context): add note
about manual durations
* ly/chord-modifiers-init.ly (blackTriangleMarkup): use TeX-math
encoding.
* scm/output-tex.scm (text): dump \inputencoding{} for text.
|
|
|
|
|
|
|
|
|
|
| |
encoding.
* lily/include/lily-guile.hh: ly_XXX_p -> is_XXX. Changes throughout.
* scm/define-markup-commands.scm (encoded-simple): new markup command.
* lily/parser.yy (markup): take encoding from lexer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
offset, this fixes right-padding of AccidentalPlacement.
* Documentation/user/tutorial.itely (An orchestral part): more
fixes for the tutorial.
* lily/parser.yy (context_def_spec_block): use \context instead of
\translator.
* Documentation/user/tutorial.itely (Automatic and manual beams):
editing of tutorial.
|
| |
|
|
|
|
|
| |
music/context/grob property functions. Internally, use
get_property() and set_property() for both.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include the originating engraver
* lily/translator-group.cc (translator_each): clean up contents,
remove superfluous stubs. Engraver_group_engraver and
Performer_group_performer are the only classes using multiple
inheritance.
* lily/include/score-context.hh (class Score_context): interface
between Score_{engraver,performer} and Global_context.
* lily/include/global-context.hh (Context): change from
global-translator. This is the entry point for contexts; it is not
tweakable using \translator{}. Score is no longer the top context,
but sits underneath Global.
* lily/include/context.hh (class Context): brain surgery: split
out Context functionality from Translator_group. Context is now a
separate type from Translator.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
constructor from Music_iterator. Changes throughout.
* lily/include/music-iterator.hh (class Music_iterator): remove
Music_iterator::skip and Music_iterator::get_pending_events from
interface. Rename report_to -> get_outlet
* lily/auto-change-iterator.cc: move contents from
new-auto-change-iterator.cc from
|