Han-Wen Nienhuys [Fri, 23 Dec 2005 13:03:36 +0000 (13:03 +0000)]
* lily/slur-configuration.cc (fit_factor): more robust check for
point in curve X-extent.
* lily/slur.cc (outside_slur_callback): return offset_scm, not 0.
(outside_slur_callback): check for 'outside avoidance.
* lily/slur-configuration.cc (score_extra_encompass): don't use
bound->column() == avoid->column() for checking extents, as this
doesn't work for accidentals.
Han-Wen Nienhuys [Fri, 23 Dec 2005 12:06:56 +0000 (12:06 +0000)]
* lily/slur-configuration.cc (score_extra_encompass): don't use
bound->column() == avoid->column() for checking extents, as this
doesn't work for accidentals.
Han-Wen Nienhuys [Tue, 20 Dec 2005 16:14:53 +0000 (16:14 +0000)]
* stepmake/bin/install-sh (Module): remove.
* GNUmakefile.in ($(tree-share-prefix)/mf-link-tree link-mf-tree):
separate target for making font symlinks.
(documentation-dir): use $(if $(findstring )) for switching off
Documentation.
* GNUmakefile.in ($(tree-share-prefix)/mf-link-tree link-mf-tree):
separate target for making font symlinks.
(documentation-dir): use $(if $(findstring )) for switching off
Documentation.
Han-Wen Nienhuys [Mon, 19 Dec 2005 23:55:02 +0000 (23:55 +0000)]
($(tree-share-prefix)/mf-link-tree link-mf-tree):
separate target for making font symlinks.
(documentation-dir): use $(if $(findstring )) for switching off
Documentation.
Han-Wen Nienhuys [Mon, 19 Dec 2005 16:56:38 +0000 (16:56 +0000)]
* lily/tuplet-bracket.cc (print): suicide if no control-points.
* lily/tuplet-number.cc (print): new file, new interface.
* lily/tuplet-bracket.cc (calc_control_points): new function
(calc_connect_to_neighbors): new function.
(print): remove text handling for tuplet numberdef.
* scm/define-grobs.scm (all-grob-descriptions): new grob TupletNumber
* lily/tuplet-bracket.cc (calc_position_and_height): use
staff-padding to control whether tuplet brackets are over staves.
* lily/grob.cc (suicide): clear dim_caches_.
* lily/grob.cc (extent): swap order of min-extent and extent
calculations. This fixes hara kiri staves.
Han-Wen Nienhuys [Mon, 19 Dec 2005 16:27:29 +0000 (16:27 +0000)]
* lily/slur-configuration.cc (score_extra_encompass): different
distance measure for avoid and inside avoidance.
(score_extra_encompass): use 1/(distance+eps) as penalty.
* lily/tuplet-bracket.cc (calc_control_points): new function
(calc_connect_to_neighbors): new function.
(print): remove text handling for tuplet numberdef.
Han-Wen Nienhuys [Tue, 13 Dec 2005 16:21:02 +0000 (16:21 +0000)]
* lily/tie-formatting-problem.cc (score_ties): new function
(get_variations): new function. Try flipping dirs for collisions.
(generate_optimal_chord_configuration): new function. 1-opt search
for better configuration.
* lily/tie-formatting-problem.cc (score_ties_aptitude): new function.
(score_ties_configuration): new function.
(generate_ties_configuration): new function.
(generate_base_chord_configuration): new function.
(set_ties_config_standard_directions): Move body from tie-column-format.cc
(set_manual_tie_configuration): Move body from tie-column-format.cc
Han-Wen Nienhuys [Tue, 13 Dec 2005 15:59:57 +0000 (15:59 +0000)]
* lily/tie-formatting-problem.cc (score_ties): new function
(get_variations): new function. Try flipping dirs for collisions.
(generate_optimal_chord_configuration): new function. 1-opt search
for better configuration.
* lily/tie-formatting-problem.cc (score_ties_aptitude): new function.
(score_ties_configuration): new function.
(generate_ties_configuration): new function.
(generate_base_chord_configuration): new function.
(set_ties_config_standard_directions): Move body from tie-column-format.cc
(set_manual_tie_configuration): Move body from tie-column-format.cc
Han-Wen Nienhuys [Tue, 13 Dec 2005 15:54:20 +0000 (15:54 +0000)]
* Documentation/topdocs/NEWS.tely (Top): document new feature.
* lily/tie-formatting-problem.cc (score_ties): new function
(get_variations): new function. Try flipping dirs for collisions.
(generate_optimal_chord_configuration): new function. 1-opt search
for better configuration.
* lily/tie-configuration.cc: new file.
* lily/tie.cc: junk Tie::get_configuration()
* lily/tie-formatting-problem.cc (score_ties_aptitude): new function.
(score_ties_configuration): new function.
(generate_ties_configuration): new function.
(generate_base_chord_configuration): new function.
(set_ties_config_standard_directions): Move body from tie-column-format.cc
(set_manual_tie_configuration): Move body from tie-column-format.cc
Nicolas Sceaux [Mon, 12 Dec 2005 19:42:04 +0000 (19:42 +0000)]
* input/no-notation/display-lily-tests.ly (test):
* scm/display-lily.scm (tag->lily-string): the syntax for tags has
changed from \tag #'(a b) to \tag #'a \tag #'b
* scripts/musicxml2ly.py (musicxml_voice_to_lily_voice): don't
forget
(musicxml_voice_to_lily_voice): use pending_skip iso. ly_voice[-1]
(main): add if __main__ for debugging.
* scripts/musicxml2ly.py (progress): new function
(musicxml_key_to_lily): don't barf on modeless keys.
(create_skip_music): new function.
(musicxml_spanner_to_lily_event): new function. Handle beams too.
(musicxml_note_to_lily_main_event): new function.
* python/musicxml.py (Accidental.__init__): new class.
* scripts/musicxml2ly.py (progress): new function
(musicxml_key_to_lily): don't barf on modeless keys.
(create_skip_music): new function.
(musicxml_spanner_to_lily_event): new function. Handle beams too.
(musicxml_note_to_lily_main_event): new function.
* scripts/musicxml2ly.py (progress): new function
(musicxml_key_to_lily): don't barf on modeless keys.
(create_skip_music): new function.
(musicxml_spanner_to_lily_event): new function. Handle beams too.
(musicxml_note_to_lily_main_event): new function.
* python/musicexp.py (Music.__init__): add comment field.
(NestedMusic.append): new routine.
(SequentialMusic.print_ly): print comment.
(ArpeggioEvent.ly_expression): new class
(BeamEvent.ly_expression): new class
(NoteEvent.__init__): support for cautionary/forced accs.
* lily/lookup.cc (slur): normal order for array loop.