| 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 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* input/regression/repeat-slash-mixed.ly, repeat-slash-multi.ly:
new regtests
* lily/context.cc (check_repeat_count_visibility):
add repeat count visibility proc for use in percent repeat engravers
* lily/double-percent-repeat-engraver.cc (new file):
create separate engraver for double-measure percent repeats, which listens
to DoublePercentEvent
* lily/percent-repeat-engraver.cc:
listen to PercentEvent and create single-measure repeats only
* lily/percent-repeat-item.cc: (brew_slash, brew_slash):
add count arg to set number of slashes
read slash-count from event-cause
* lily/percent-repeat-iterator.cc (get_music_list):
send separate synthetic events for percent, double-percent and beat repeats
use measure length to choose between full-measure types
call scheme proc to get slash count for beat repeats
* lily/slash-repeat-engraver.cc:
listen to RepeatSlashEvent and use slash-count to switch between RepeatSlash
and DoublePercentRepeat
* ly/engraver-init.ly:
add Double_percent_repeat_engraver to Voice context
* scm/define-event-classes.scm (event-classes):
add new classes (double-percent-event/repeat-slash-event)
* scm/define-grobs.scm (all-grob-descriptions):
add DoubleRepeatSlash
set slash-negative-kern in RepeatSlash (required for multi-slash beat repeats)
* scm/define-music-properties.scm (all-music-properties):
doc slash-count
* scm/define-music-types.scm (music-descriptions):
add synthetic events DoublePercentEvent and RepeatSlashEvent
* scm/music-functions.scm (calc-repeat-slash-count):
new function used by Percent_repeat_iterator to check durations; returns
either number of slashes (if all durations equal) or 0 (if durations vary)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
| |
- use grob properties for dot_neg_kern and slash_neg_kern.
|
| |
|
|
|
|
|
|
|
|
| |
- Stencil::origin_
- Stencil::origin()
- Stencil::moved_to_edge()
- ly:stencil-moved-to-edge
- minimum argument for Stencil::add_at_edge and ly:stencil-combine-at-edge
|
| |
|
|
|
|
| |
grob/item/spanner headers in interface headers.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* lily/laissez-vibrer-tie.cc: new file.
* lily/tie-column.cc (set_tie_config_directions): new function
(final_shape_adjustment): new function.
(shift_small_ties): new function.
* lily/tie-column.cc (set_chord_outline): new function.
|
|
|
|
| |
buildscripts/fixcc.py: Fixes.
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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):
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
create scalable PS and PDFs for input/{test,template,regression}.
* lily/context.cc (is_alias): move function.
(is_alias): add Bottom as context alias.
(find_create_translator): add Bottom as a context alias for creation.
* lily/stencil.cc: rename Molecule to Stencil. Changes throughout.
* lily/parser.yy (music_property_def): new syntax for property
assignments:
\set A.B = #C , \unset A.B
\override A.B #C = #D, \revert A.B #C
* lily/my-lily-lexer.cc: remove \property
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/hairpin.cc: use Line_interface
* lily/tuplet-bracket.cc (make_bracket): use Line_interface.
* lily/mensural-ligature.cc (brew_flexa): replace horizontal_slope
() with beam ().
* lily/beam.cc (position_beam): new function
(brew_molecule): make sure that positions are calced before making
the molecule.
* lily/beam.cc (brew_molecule): fix beam offsets: overlap with the
stem do avoid small dents.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/molecule-scheme.cc: move scheme functions to separate file.
* lily/font-metric.cc (ly_get_glyph): new function.
* scm/new-markup.scm (column-markup): use baseline-skip for columns.
(italic-markup, dynamic-markup): new functions
(font-markup): new function
* lily/molecule.cc (ly_molecule_combined_at_edge): optional
padding and minimum
|
| |
|
| |
|
|
1.3.141.jcn3
============
* some mup2ly progress.
* Bugfix: ly2dvi: don't include empty set fo latexheaders, don't use
python-1.5.2 abspath func.
|