summaryrefslogtreecommitdiff
path: root/lily/dots.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
* Stop quite weird positioning for dotsDavid Kastrup2013-05-261-1/+0
| | | | | 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.
* Run grand-replace for 2012Graham Percival2012-01-091-1/+1
|
* Grand fixcc.py run on all .hh .cc files.Graham Percival2011-08-011-25/+25
| | | | | | | | | | | 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
|
* In doc strings, replace trailing spaces with leading ones.Werner Lemberg2008-03-141-5/+5
| | | | Obviously, I can't remember my own formatting rules...
* ADD_INTERFACE: Formatting and fixing typos.Werner Lemberg2008-03-141-5/+5
|
* Document the 'style property in custos, dots, and system-start-delimiter ↵Erlend Aasland2008-03-111-1/+3
| | | | interface.
* Remove outdated Stencil code.Han-Wen Nienhuys2007-01-171-1/+1
| | | | | | | | - 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
* add 2007 to (c) year.Han-Wen Nienhuys2007-01-081-1/+1
|
* Fix #223.Han-Wen Nienhuys2007-01-061-1/+0
| | | | | | 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.
* use classnames for interface naming; remove inclusion ofHan-Wen Nienhuys2006-11-291-1/+1
| | | | grob/item/spanner headers in interface headers.
* * mf/parmesan-dots.mf (new), mf/parmesan-generic.mf,Jürgen Reuter2006-10-111-3/+15
| | | | | | ly/engraver-init.ly: Added vaticana-style augmentum dot glyph. * lily/dots.cc: Added style property for dots.
* * flower/include/std-string.hh:Jan Nieuwenhuizen2006-02-111-1/+1
| | | | | | | | * 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.
* *** empty log message ***Jan Nieuwenhuizen2006-01-261-1/+1
|
* * The grand 2005-2006 replace.Jan Nieuwenhuizen2006-01-061-1/+1
|
* release commitHan-Wen Nienhuys2005-11-031-1/+1
|
* * scm/define-context-properties.scmHan-Wen Nienhuys2005-10-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* Update.Jan Nieuwenhuizen2005-03-161-2/+1
|
* * flowerJan Nieuwenhuizen2005-03-101-8/+4
| | | | | * lily * kpath-guile: Nitpick run: buildscripts/fixcc.py.
* * scm/music-functions.scm (has-request-chord): don't useHan-Wen Nienhuys2005-02-041-4/+4
| | | | | | | | | | 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.
* *** empty log message ***Han-Wen Nienhuys2005-01-311-1/+1
|
* * lily/dots.cc (print): replace -Han-Wen Nienhuys2004-12-121-1/+1
| | | | | | | | | | | | | | * 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.
* * 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):
* * input/regression/key-signature-cancellation.ly (Module): new file.Han-Wen Nienhuys2004-09-051-1/+1
| | | | | | | | | | | | | | * 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
* *** empty log message ***Han-Wen Nienhuys2004-09-031-1/+1
|
* new file, move fromHan-Wen Nienhuys2004-05-271-1/+1
| | | | | | | | | | | | | | | | 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/lily-guile.hh: is_x -> ly_c_X_p naming.Han-Wen Nienhuys2004-04-121-1/+1
| | | | | | | | | | | | | | * 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.
* * lily/text-item.cc (interpret_string): new file, select font withHan-Wen Nienhuys2004-04-091-1/+1
| | | | | | | | | | 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.
* * lily/include/lily-guile.hh: many new ly_ functions. Thanks toHan-Wen Nienhuys2004-04-071-2/+2
| | | | | | | | | | | | | | | | | 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.
* (LY_DEFINE): use Scheme style naming forHan-Wen Nienhuys2004-02-221-1/+1
| | | | | music/context/grob property functions. Internally, use get_property() and set_property() for both.
* * lily/include/grob-info.hh: origin_contexts() now does notHan-Wen Nienhuys2004-02-161-4/+4
| | | | | | | | | | | | | | | | | | | | | 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.
* ($(outdir)/%.pdf): add DVIPS_FLAGS. This willHan-Wen Nienhuys2004-02-131-3/+3
| | | | | | | | | | | | | | | | | | 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
* cleanup. Separate into internalHan-Wen Nienhuys2004-02-111-2/+2
| | | | and user properties.
* 2003 -> 2004Han-Wen Nienhuys2004-02-051-1/+1
|
* * lily/tie.cc: change 'heads to 'head-pair.Han-Wen Nienhuys2004-01-061-23/+0
| | | | | | | | | | | | | | | | | | | | * 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.
* * lily/include/directional-element-interface.hh:Han-Wen Nienhuys2003-09-291-3/+3
| | | | | | | | | | | | | 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.
* *** empty log message ***Han-Wen Nienhuys2003-01-121-1/+1
|
* 2002-12-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>Han-Wen Nienhuys2002-12-071-1/+1
| | | | | | | | | | | | | * 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
* * lily/text-item.cc (text_to_molecule): new functionHan-Wen Nienhuys2002-11-181-3/+3
| | | | | | | * scm/new-markup.scm (lambda): new file * lily/function-documentation.cc (ly_add_function_documentation): add proc property as well
* ''Han-Wen Nienhuys2002-04-021-0/+4
|
* release: 1.5.47Han-Wen Nienhuys2002-03-241-0/+8
|
* release: 1.5.29Han-Wen Nienhuys2002-02-011-1/+1
|