| 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
|
|
|
|
|
| |
Some code here used a translation on dots that should never have had
an effect but causes problems in relation to the issue 3330 fix.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
| |
Obviously, I can't remember my own formatting rules...
|
| |
|
|
|
|
| |
interface.
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
Set a callback for Dots #'staff-position, depending on duration-log of
the rest. This fixes the longest standing regression in Lily as yet,
as this did work in Lily 2.0.
|
|
|
|
| |
grob/item/spanner headers in interface headers.
|
|
|
|
|
|
| |
ly/engraver-init.ly: Added vaticana-style augmentum dot glyph.
* lily/dots.cc: Added style property for dots.
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(all-user-translation-properties): remove verticalAlignmentChildCallback
* lily/tuplet-bracket.cc: use positions property iso. left,right-position.
(calc_direction): use callback
(calc_positions): use callback.
* lily/tie.cc (calc_direction): use callback. Only call parent
positioning for more than one tie.
* lily/tie-column.cc (calc_positioning_done): use callback
* lily/slur-scoring.cc (calc_control_points): use callback
* lily/slur.cc (calc_direction): use callback.
* lily/note-collision.cc (force_shift_callback): remove.
* lily/dot-column.cc (force_shift_callback): remove. Use
other_axis_parent_positioning.
* lily/grob.cc (other_axis_parent_positioning): new function.
(same_axis_parent_positioning): new function
* lily/align-interface.cc (alignment_callback): remove function.
* lily/note-collision.cc (calc_positioning_done): use callback.
* lily/laissez-vibrer-tie.cc (calc_control_points): use callback.
(calc_direction): idem.
remove print function.
* lily/laissez-vibrer-tie-column.cc (calc_positioning_done): use callback.
* lily/dot-column.cc (calc_positioning_done): use callback.
* lily/break-align-interface.cc (calc_positioning_done): use callback.
* lily/beam.cc (calc_direction): use pseudo-property for beam
direction callback.
(calc_positions): use callback
* lily/align-interface.cc (calc_positioning_done): use
callback. Fold fixed distance and normal alignment in one function.
* lily/stem.cc (calc_stem_end_position): use callback.
(calc_positioning_done): idem.
(calc_direction): idem.
(calc_stem_end_position): idem
(calc_stem_info): idem.
* lily/grob-property.cc (get_property_data): new function:
(try_callback): new function.
* scm/define-grob-properties.scm (all-user-grob-properties): doc
callbacks property.
* lily/break-align-interface.cc: remove Break_align_interface::alignment_callback.
|
| |
|
|
|
|
|
| |
* 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/open-type-font.cc (attachment_point): new function.
(load_table): read LILC table
* buildscripts/gen-bigcheese-scripts.py (Module): new
file. Generate FF scripts.
* mf/feta-din10.mf: idem.
* mf/feta-nummer10.mf: remove mf files.
* mf/feta-alphabet.mf (dynamic_design_size): merge din and number font.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/key-signature-interface.cc (print): take position
difference into account when spacing naturals.
* lily/key-engraver.cc (create_key): create KeyCancellation grob
separately, so the cancellation can be put before the staff-bar
* scm/define-grobs.scm (all-grob-descriptions): add a
KeyCancellation grob.
* lily/tuplet-engraver.cc (struct Tuplet_description): new
struct. Use to clean-up Tuplet_engraver
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
music-output-def.hh
* lily/include/paper-def.hh: move all functionality out of class.
Junk header.
* lily/include/music-output-def.hh: rename Music_output_def to
Output_def.
* input/wilhelmus.ly: only set space for Paper formatting.
* lily/include/midi-def.hh: remove file, remove class.
Move functions to Music-output-def.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/include/context.hh (class Context): make members protected.
(children_contexts): new accessor function.
* 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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
and user properties.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/lyric-phrasing-engraver.cc (process_acknowledged_grobs):
fill in 'heads field.
* lily/lyric-extender.cc (brew_molecule): use heads for width, use
minimum-length for short ones, and shorten so collisions with the
next syllable are avoided.
* lily/beam-quanting.cc (score_slopes_dy): add extra points for
near-zero slopes.
Only do DAMPING_DIRECTION_PENALTY for non-horizontal dy
* lily/dots.cc: remove quantized_position callback. All Y
positioning is done by dot-column.cc
* lily/dot-column.cc (do_shifts): rewrite shifting routine: do
exhaustive test of all dot positions. This fixes disappearing dots
in dotted chords.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
junk class, make {get,set}_grob_direction functions.
* lily/slur.cc (get_attachment): do something sensible when
attaching to stem without heads (eg. a rest).
* lily/stem.cc: remove #'up-to-staff ; use #'stem-end for forcing
up to staff. Add #'rests.
remove #'support-head property
(brew_molecule): small cleanup.
(flag): remove #'grace property.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* scm/new-markup.scm (lambda): new file
* lily/function-documentation.cc (ly_add_function_documentation):
add proc property as well
|
| |
|
| |
|
| |
|