]> git.donarmstrong.com Git - lilypond.git/log
lilypond.git
17 years agoFix some bugs in the dynamic engraver and PostScript backend git/start
Erlend Aasland [Wed, 31 May 2006 01:47:30 +0000 (01:47 +0000)]
Fix some bugs in the dynamic engraver and PostScript backend

17 years ago(Two-pass vertical spacing): add documentation for two-pass spacing origin/cvs/master cvs/HEAD
Nicolas Sceaux [Sun, 8 Oct 2006 09:17:06 +0000 (09:17 +0000)]
(Two-pass vertical spacing): add documentation for two-pass spacing
technique.

17 years agoCompile fix.
Graham Percival [Sat, 7 Oct 2006 19:50:32 +0000 (19:50 +0000)]
Compile fix.

17 years agoNew location for this file (moved from bugs/ CVS).
Graham Percival [Fri, 6 Oct 2006 21:23:52 +0000 (21:23 +0000)]
New location for this file (moved from bugs/ CVS).

17 years ago * lily/note-head.cc: Fixed programming_error message.
Jürgen Reuter [Fri, 6 Oct 2006 16:44:59 +0000 (16:44 +0000)]
* lily/note-head.cc: Fixed programming_error message.

17 years ago(pure-conversion): move pure-callback
Han-Wen Nienhuys [Fri, 6 Oct 2006 11:40:39 +0000 (11:40 +0000)]
(pure-conversion): move pure-callback
further into body.

17 years ago(default-script-alist): set avoid-slur for turn,
Han-Wen Nienhuys [Fri, 6 Oct 2006 08:12:30 +0000 (08:12 +0000)]
(default-script-alist): set avoid-slur for turn,
marcato, stopped, thumb.

17 years ago(process_music): don't
Han-Wen Nienhuys [Thu, 5 Oct 2006 12:31:07 +0000 (12:31 +0000)]
(process_music): don't
skimp on memory usage.

17 years ago* lily/beam.cc (set_stem_lengths): do set_stemend for invisible
Han-Wen Nienhuys [Thu, 5 Oct 2006 12:11:32 +0000 (12:11 +0000)]
* lily/beam.cc (set_stem_lengths): do set_stemend for invisible
stems too. Fixes #5

* lily/parenthesis-engraver.cc (acknowledge_grob): set parent of
parenthesis item. This fixes premature Y-extent triggering. Fixes
issue #95.

* VERSION (PATCH_LEVEL): bump version.

17 years agoRemove empty file.
Werner Lemberg [Wed, 4 Oct 2006 21:03:46 +0000 (21:03 +0000)]
Remove empty file.

17 years agoInfo about adding names to pianostaffs and other contexts, thanks Marcus!
Graham Percival [Wed, 4 Oct 2006 19:53:54 +0000 (19:53 +0000)]
Info about adding names to pianostaffs and other contexts, thanks Marcus!

17 years agoUpdate Finnish translation.
Heikki Junes [Wed, 4 Oct 2006 18:31:54 +0000 (18:31 +0000)]
Update Finnish translation.

17 years ago* mf/feta-bolletjes.mf (solfa_quarter_width): use
Han-Wen Nienhuys [Wed, 4 Oct 2006 16:00:19 +0000 (16:00 +0000)]
* mf/feta-bolletjes.mf (solfa_quarter_width): use
solfa_base_notewidth as unit for non-DO-notes too.

* input/mutopia/W.A.Mozart/mozart-hrn-3.ly: update email.

17 years ago(Top): simpler, more clearer override.
Han-Wen Nienhuys [Wed, 4 Oct 2006 12:09:19 +0000 (12:09 +0000)]
(Top): simpler, more clearer override.

17 years ago*** empty log message ***
Han-Wen Nienhuys [Wed, 4 Oct 2006 12:01:48 +0000 (12:01 +0000)]
*** empty log message ***

17 years ago * python/lilylib.py (progress): Minor fix.
Mats Bengtsson [Wed, 4 Oct 2006 11:54:01 +0000 (11:54 +0000)]
* python/lilylib.py (progress): Minor fix.

17 years ago* scripts/lilypond-book.py (Lilypond_file_snippet.my_system):
Han-Wen Nienhuys [Wed, 4 Oct 2006 11:33:45 +0000 (11:33 +0000)]
* scripts/lilypond-book.py (Lilypond_file_snippet.my_system):
write snippet-names binary.

* scripts/lilypond-book.py (bindir): use os.pathsep for prepending
to $PATH.

* scm/define-grobs.scm (all-grob-descriptions): use callback to
calc dot count.

* scm/output-lib.scm (string-number::calc-text): new function.
(note-head::calc-duration-log): new function.

* scm/output-lib.scm (fingering::calc-text): new function.

17 years ago* python/lilylib.py (system): use os.system for mingw32
Han-Wen Nienhuys [Wed, 4 Oct 2006 11:21:40 +0000 (11:21 +0000)]
* python/lilylib.py (system): use os.system for mingw32

* scripts/lilypond-book.py (bindir): use os.pathsep for prepending
to $PATH.

17 years ago * scripts/lilypond-book.py (bindir): Use os.path.join to add the
Mats Bengtsson [Wed, 4 Oct 2006 11:14:43 +0000 (11:14 +0000)]
* scripts/lilypond-book.py (bindir): Use os.path.join to add the
path, in order to get correct path separators on all platforms.

17 years ago* scm/backend-library.scm: update email address.
Han-Wen Nienhuys [Wed, 4 Oct 2006 10:51:57 +0000 (10:51 +0000)]
* scm/backend-library.scm: update email address.

* scm/define-grobs.scm (all-grob-descriptions): use callback to
calc dot count.

* scm/output-lib.scm (string-number::calc-text): new function.
(note-head::calc-duration-log): new function.

* scm/output-lib.scm (fingering::calc-text): new function.

17 years ago* Documentation/topdocs/NEWS.tely (Top): add duration-log override
Han-Wen Nienhuys [Wed, 4 Oct 2006 10:46:33 +0000 (10:46 +0000)]
* Documentation/topdocs/NEWS.tely (Top): add duration-log override
example.

* scm/output-lib.scm (string-number::calc-text): new function.
(note-head::calc-duration-log): new function.

* scm/output-lib.scm (fingering::calc-text): new function.

17 years ago(process_music): idem.
Han-Wen Nienhuys [Wed, 4 Oct 2006 10:34:09 +0000 (10:34 +0000)]
(process_music): idem.

17 years ago* scm/define-grobs.scm (all-grob-descriptions): use callback to
Han-Wen Nienhuys [Wed, 4 Oct 2006 10:32:27 +0000 (10:32 +0000)]
* scm/define-grobs.scm (all-grob-descriptions): use callback to
calc dot count.

* lily/dots-engraver.cc (class Dots_engraver): new engraver:
handle dot creation separately.

* lily/tab-note-heads-engraver.cc (process_music): idem.

* lily/drum-note-engraver.cc (process_music): idem.

* lily/note-heads-engraver.cc (process_music): idem.

* lily/rest-engraver.cc: don't set duration-log.

* scm/output-lib.scm (string-number::calc-text): new function.
(note-head::calc-duration-log): new function.

* lily/fingering-engraver.cc (make_script): remove 'text setting.

* scm/output-lib.scm (fingering::calc-text): new function.

17 years ago * scripts/lilypond-book.py: Fix typo gs-load-font -> gs-load-fonts
Mats Bengtsson [Wed, 4 Oct 2006 09:24:55 +0000 (09:24 +0000)]
* scripts/lilypond-book.py: Fix typo gs-load-font -> gs-load-fonts
 and include-eps-font -> include-eps-fonts

17 years agouse internalBarNumber
Han-Wen Nienhuys [Tue, 3 Oct 2006 15:23:50 +0000 (15:23 +0000)]
use internalBarNumber

17 years ago* lily/multi-measure-rest-engraver.cc: use internalBarNumber
Han-Wen Nienhuys [Tue, 3 Oct 2006 15:18:07 +0000 (15:18 +0000)]
* lily/multi-measure-rest-engraver.cc: use internalBarNumber

* lily/timing-translator.cc: list properties.
(start_translation_timestep): update internalBarNumber too.

* scm/define-context-properties.scm
(all-user-translation-properties): add internalBarNumber.

17 years ago*** empty log message ***
Han-Wen Nienhuys [Tue, 3 Oct 2006 13:20:36 +0000 (13:20 +0000)]
*** empty log message ***

17 years ago(link_file): verbosity for OSError.
Han-Wen Nienhuys [Tue, 3 Oct 2006 13:19:12 +0000 (13:19 +0000)]
(link_file): verbosity for OSError.

17 years ago#include cleanup.
Han-Wen Nienhuys [Tue, 3 Oct 2006 13:06:37 +0000 (13:06 +0000)]
#include cleanup.

17 years agoadd assert to
Han-Wen Nienhuys [Tue, 3 Oct 2006 13:00:58 +0000 (13:00 +0000)]
add assert to
scm_or_str2symbol(SCM).

17 years ago*** empty log message ***
Han-Wen Nienhuys [Tue, 3 Oct 2006 12:55:49 +0000 (12:55 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Han-Wen Nienhuys [Tue, 3 Oct 2006 12:54:11 +0000 (12:54 +0000)]
*** empty log message ***

17 years ago* lily/spacing-spanner.cc (musical_column_spacing): handle
Han-Wen Nienhuys [Tue, 3 Oct 2006 12:53:57 +0000 (12:53 +0000)]
* lily/spacing-spanner.cc (musical_column_spacing): handle
musical->nonmusical spacing case, where there is no spacing wish.

* VERSION: release 2.9.20

17 years ago* lily/pango-font.cc (text_stencil): allow 'tight' bounds.
Han-Wen Nienhuys [Tue, 3 Oct 2006 12:29:54 +0000 (12:29 +0000)]
* lily/pango-font.cc (text_stencil): allow 'tight' bounds.
(pango_item_string_stencil): use logical rect horizontally (to
preserve spaces), ink_rect vertically (for time signatures).

* lily/font-metric.cc (word_stencil): new interface function

* input/regression/utf-8-mixed-text.ly: new file.

* lily/percent-repeat-engraver.cc (listen_percent): remove
spurious warning.

* lily/phrasing-slur-engraver.cc (acknowledge_script): only ack
non-dynamic scripts. Fixes #30.

* lily/pango-font.cc (pango_item_string_stencil): use
logical_rect. This prevents spaces after words from disappearing,
issue #72.

17 years ago(acknowledge_script): only ack
Han-Wen Nienhuys [Tue, 3 Oct 2006 12:05:26 +0000 (12:05 +0000)]
(acknowledge_script): only ack
non-dynamic scripts. Fixes #30.

17 years ago* lily/slur.cc (outside_slur_callback): make offset_scm optional.
Han-Wen Nienhuys [Tue, 3 Oct 2006 12:00:18 +0000 (12:00 +0000)]
* lily/slur.cc (outside_slur_callback): make offset_scm optional.

* lily/beam.cc (rest_collision_callback): make prev_offset optional.

* lily/grob-closure.cc (chain_offset_callback): don't pass 0 but
SCM_UNDEFINED for non-existent data.

* lily/side-position-interface.cc (general_side_position): allow
optional current_offset argument for chaining, so combinations of side-position
and outside slur callback don't add up.  Fixes issue #92.

17 years ago(pango_item_string_stencil): use
Han-Wen Nienhuys [Mon, 2 Oct 2006 23:27:10 +0000 (23:27 +0000)]
(pango_item_string_stencil): use
logical_rect. This prevents spaces after words from disappearing.

17 years ago*** empty log message ***
Han-Wen Nienhuys [Mon, 2 Oct 2006 23:14:44 +0000 (23:14 +0000)]
*** empty log message ***

17 years ago(all-user-grob-properties):
Han-Wen Nienhuys [Mon, 2 Oct 2006 15:57:58 +0000 (15:57 +0000)]
(all-user-grob-properties):
mention stencil as user settable.

17 years agoremove break-algorithm.{cc,hh} as they are no longer used.
Joe Neeman [Mon, 2 Oct 2006 10:47:33 +0000 (10:47 +0000)]
remove break-algorithm.{cc,hh} as they are no longer used.

17 years ago * Documentation/user/page.itely (Page formatting):
Joe Neeman [Mon, 2 Oct 2006 08:17:49 +0000 (08:17 +0000)]
* Documentation/user/page.itely (Page formatting):
document auto-first-page-number

* lily/page-breaking.cc (find_chunks_and_breaks):
* lily/paper-score.cc (calc_breaking): Follow changes to the
Constrained_breaking interface

* lily/constrained-breaking.cc (calc_subproblem): run the main loop
here backwards, as an optimisation
(initialize): new function; move most of the code in resize () here
(combine_demerits): cache ragged_right_
(Constrained_breaking): constructor now takes the Paper_score

17 years ago * lily/lexer.ll, lily/parser.yy: Add EXPECT_NO_MORE_ARGS token, to
Erik Sandberg [Mon, 2 Oct 2006 06:02:46 +0000 (06:02 +0000)]
* lily/lexer.ll, lily/parser.yy: Add EXPECT_NO_MORE_ARGS token, to
avoid parser lookahead for 0-ary functions.

* lily/translator.cc: Extract event classes from
IMPLEMENT_TRANSLATOR_LISTENER for documentation generation.

17 years agoFix spaces, commas etc. in Finnish translation using KBabel fix tool.
Heikki Junes [Sun, 1 Oct 2006 21:28:11 +0000 (21:28 +0000)]
Fix spaces, commas etc. in Finnish translation using KBabel fix tool.

17 years ago* scm/layout-page-layout.scm (page-breaking-wrapper): new
Nicolas Sceaux [Sun, 1 Oct 2006 11:10:15 +0000 (11:10 +0000)]
* scm/layout-page-layout.scm (page-breaking-wrapper): new
function. Call the page breaking function selected in the
`page-breaking' \paper variable, then the post processing function
chosen using the `page-post-process' \paper variable.
(line-height): new function. Return the height of a system.
(line-minimum-position-on-page): new function. Return the position
of a system on page (using the previous line position), only
considering between system padding.
(stretchable-line?): new function. Says whether a line can be
stretched (ie. is not a title nor a single staff system).
(page-maximum-space-left): new function. Computes space left on a
page, when all systems are separated by their padding.

* lily/page-breaking.cc (breaking::make_pages): Move page post
processing function call to page breaking wrapper (common to all
page breakers).

* lily/paper-book.cc (book::pages): call the page breaking
wrapper, instead of the page breaker directly

* ly/paper-defaults.ly: Add \paper variables for page breaking
wrapper and page post processing function. Make
`write-page-layout' value depend on the 'dump-tweaks option. Add a
`system-maximum-stretch-procedure' variable for holding a function
computing the maximum stretch a system allows.

* scm/layout-page-dump.scm (write-page-breaks): computes the
stretch to apply to systems on a page to minimize left
space. Dump this stretch length.

* ly/music-functions-init.ly (spacingTweaks): implement it. Read
the system-stretch property of the tweak data to stretch the
system.
(includePageLayoutFile): Void function which includes the
generated page-layout file if it exists and if the page layout
dumping is not asked.
(scoreTweak): if the score tweak named by the argument exists,
return it.

17 years ago * lily/page-spacing.cc (compress_lines, uncompress_solution):
Joe Neeman [Sat, 30 Sep 2006 20:59:53 +0000 (20:59 +0000)]
* lily/page-spacing.cc (compress_lines, uncompress_solution):
handle correctly the case where there are multiple \noPageBreaks
in a row.

17 years ago*** empty log message ***
Han-Wen Nienhuys [Sat, 30 Sep 2006 14:29:28 +0000 (14:29 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Han-Wen Nienhuys [Sat, 30 Sep 2006 14:23:17 +0000 (14:23 +0000)]
*** empty log message ***

17 years ago* lily/align-interface.cc: fix typo
Han-Wen Nienhuys [Sat, 30 Sep 2006 12:35:37 +0000 (12:35 +0000)]
* lily/align-interface.cc: fix typo

* lily/align-interface.cc (get_extents_aligned_translates): add
support for padding variable.

17 years ago* lily/dynamic-text-spanner.cc (print): Add a special case for
Han-Wen Nienhuys [Sat, 30 Sep 2006 12:10:39 +0000 (12:10 +0000)]
* lily/dynamic-text-spanner.cc (print): Add a special case for
trill spanner right sides.

* scm/define-grobs.scm (all-grob-descriptions): set padding to 0.1

* lily/align-interface.cc (get_extents_aligned_translates): add
support for padding variable.

17 years ago(self_align_callback): oops: use
Han-Wen Nienhuys [Sat, 30 Sep 2006 11:41:32 +0000 (11:41 +0000)]
(self_align_callback): oops: use
loop variable in guard.

17 years ago* input/regression/repeat-percent-grace.ly: new file.
Han-Wen Nienhuys [Sat, 30 Sep 2006 11:29:26 +0000 (11:29 +0000)]
* input/regression/repeat-percent-grace.ly: new file.

* lily/percent-repeat-engraver.cc (start_translation_timestep):
remember first currentCommandColumn of a grace run. Fixes issue 70.

* lily/percent-repeat-iterator.cc (class Percent_repeat_iterator):
move class definition to CC file.

* lily/multi-measure-rest.cc (percent): use robust_relative_extent()

* lily/slash-repeat-engraver.cc (listen_percent): don't warn for
measure-long  repeats.

* flower/include/international.hh: include stdarg.h

17 years ago * lily/page-turn-page-breaking.cc (calc_demerits): now that we allow
Joe Neeman [Sat, 30 Sep 2006 10:30:47 +0000 (10:30 +0000)]
* lily/page-turn-page-breaking.cc (calc_demerits): now that we allow
put_systems_on_pages to return an empty result, we need to assign
demerits properly in that case.
(put_systems_on_pages): Make the number of pages depend on the
evenness of page_number. Add auto-first-page-number.
(calc_subproblem): ensure that the page-number is even for the
left-hand page. Warn if the first page-turn doesn't fit onto the
first (right-hand) page.

* lily/page-spacing.cc (solve): bug: demerits_ would always be inf
(min_page_count): make this publicly accessible
(min_page_count): fix a bug when there are forced page breaks that
was introduced when I made this loop run backwards
(space_systems_on_n_pages, space_systems_on_n_or_one_more_pages):
replace space_systems_on_min_pages with these two. The logic in
space_systems_on_min_pages was getting too convoluted and is better
contained in page-turn-page-breaking.

17 years ago* lily/page-turn-engraver.cc (breakable_column): remove an always-true
Joe Neeman [Fri, 29 Sep 2006 23:28:04 +0000 (23:28 +0000)]
* lily/page-turn-engraver.cc (breakable_column): remove an always-true
conditional
(breakable_column): typo

* lily/source-file.cc (get_line): fix off-by-one error
and clean up some of the logic

17 years agolily/source-file.cc (get_line): fix off-by-one error
Joe Neeman [Fri, 29 Sep 2006 22:54:07 +0000 (22:54 +0000)]
lily/source-file.cc (get_line): fix off-by-one error
and clean up some of the logic

17 years ago* lily/page-breaking.cc (make_pages): honour the first-page-number
Joe Neeman [Thu, 28 Sep 2006 22:40:05 +0000 (22:40 +0000)]
* lily/page-breaking.cc (make_pages): honour the first-page-number
property

17 years agoUpdate Finnish translations.
Heikki Junes [Thu, 28 Sep 2006 07:54:32 +0000 (07:54 +0000)]
Update Finnish translations.

17 years ago(PACKAGE_NAME): bump version.
Han-Wen Nienhuys [Wed, 27 Sep 2006 09:36:54 +0000 (09:36 +0000)]
(PACKAGE_NAME): bump version.

17 years ago*** empty log message ***
Han-Wen Nienhuys [Wed, 27 Sep 2006 09:27:51 +0000 (09:27 +0000)]
*** empty log message ***

17 years ago * lily/part-combine-iterator.cc: solo1-event -> solo-one-event
Erik Sandberg [Tue, 26 Sep 2006 18:58:00 +0000 (18:58 +0000)]
    * lily/part-combine-iterator.cc: solo1-event -> solo-one-event

17 years ago(run_iterator_on_me): break out of loop
Han-Wen Nienhuys [Tue, 26 Sep 2006 10:54:17 +0000 (10:54 +0000)]
(run_iterator_on_me): break out of loop
if moment doesn't increase.

17 years ago* scm/define-grob-properties.scm (all-user-grob-properties): add
Han-Wen Nienhuys [Tue, 26 Sep 2006 10:49:11 +0000 (10:49 +0000)]
* scm/define-grob-properties.scm (all-user-grob-properties): add
forced property.

* lily/accidental.cc (after_line_breaking): read forced property.

* lily/accidental-engraver.cc (process_acknowledged): set 'forced
property.

* input/regression/accidental-forced-tie.ly:  new file.

17 years ago*** empty log message ***
Han-Wen Nienhuys [Tue, 26 Sep 2006 10:43:49 +0000 (10:43 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Han-Wen Nienhuys [Mon, 25 Sep 2006 01:29:26 +0000 (01:29 +0000)]
*** empty log message ***

17 years ago* ly/engraver-init.ly: set ignoreFiguredBassRest in Staff context.
Han-Wen Nienhuys [Mon, 25 Sep 2006 00:58:57 +0000 (00:58 +0000)]
* ly/engraver-init.ly: set ignoreFiguredBassRest in Staff context.

* lily/figured-bass-engraver.cc: only listen to rest events if
ignoreFiguredBassRest is not set.

* scm/define-context-properties.scm
(all-user-translation-properties): add ignoreFiguredBassRest

17 years ago* lily/paper-book.cc (get_system_specs):
Joe Neeman [Sun, 24 Sep 2006 06:21:56 +0000 (06:21 +0000)]
* lily/paper-book.cc (get_system_specs):
(set_system_penalty): fix breakbefore.
We used to set a penalty on the system after the break, now we
set a permission on the system before the break

17 years ago * lily/grob-property.cc: add scm debugging hooks into
Joe Neeman [Sat, 23 Sep 2006 22:51:56 +0000 (22:51 +0000)]
* lily/grob-property.cc: add scm debugging hooks into
property modification

* lily/context-property.cc:
* lily/engraver.cc:
rename make_foo_from_properties to internal_make_foo and
move it from context-property.cc to a member function of
Engraver.

* lily/include/lily-guile-macros.hh:
overload ly_symbol2scm macro so that there is no more need
to use internal_foo

* lily/volta-repeat-iterator.cc:
* lily/tweak-engraver.cc:
* lily/tuplet-bracket.cc:
* lily/span-bar-engraver.cc:
* lily/script-engraver.cc:
* lily/prob-scheme.cc:
* lily/pointer-group-interface.cc:
* lily/parser.yy:
* lily/grob-scheme.cc:
* lily/grob-property.cc:
* lily/context.cc:
* lily/context-property.cc:
* lily/break-substitution.cc:
* lily/break-align-engraver.cc:
* lily/axis-group-interface.cc:
* lily/align-interface.cc:
remove calls to internal_FOO

* lily/system-start-delimiter-engraver.cc:
* lily/parenthesis-engraver.cc:
* lily/accidental-engraver.cc:
remove calls to make_foo_from_properties

17 years agoFix old unconverted syntax.
Graham Percival [Sat, 23 Sep 2006 20:21:56 +0000 (20:21 +0000)]
Fix old unconverted syntax.

17 years ago* lily/page-spacing.cc (min_page_count): by running the loop
Joe Neeman [Sat, 23 Sep 2006 11:58:25 +0000 (11:58 +0000)]
* lily/page-spacing.cc (min_page_count): by running the loop
backwards, we can calculate ragged_last properly.

17 years agoTypo!
Mats Bengtsson [Fri, 22 Sep 2006 08:12:22 +0000 (08:12 +0000)]
Typo!

17 years ago * lily/translator.cc, lily/context.cc:, lily/translator-group.cc:
Erik Sandberg [Fri, 22 Sep 2006 07:51:37 +0000 (07:51 +0000)]
* lily/translator.cc, lily/context.cc:, lily/translator-group.cc:
remove try_music

* lily/*-engraver.cc, lily/*-performer.cc: Remove all remaining
references to Music; use ASSIGN_EVENT_ONCE everywhere

* lily/grob-info.cc: junk *music_cause

* lily/music.cc: copy eventified articulations to stream event

* lily/part-combine-iterator.cc: Cleanup using enums

* lily/translator-group.cc: Junk OldMusicEvent, and associated
methods

* lily/include/engraver.hh: Junk music.hh include

* lily/stream-event.cc: Changed constructors

17 years ago * ly/titling-init.ly (scoreTitleMarkup): Rename (typo!?)
Mats Bengtsson [Fri, 22 Sep 2006 07:31:30 +0000 (07:31 +0000)]
* ly/titling-init.ly (scoreTitleMarkup): Rename (typo!?)
printfirst-page-number -> print-first-page-number

* python/convertrules.py: corresponding rule.

* Documentation/user/page.itely (Page formatting): Document the
default values of all page layout parameters.

17 years ago2006-09-22 Erik Sandberg <mandolaerik@gmail.com>
Erik Sandberg [Fri, 22 Sep 2006 06:18:00 +0000 (06:18 +0000)]
2006-09-22  Erik Sandberg  <mandolaerik@gmail.com>

* lily/lexer.ll: remove limitation on music function arity. New
mode extratoken, which inserts extra EXPECT_* tokens after
MUSIC_FUNCTION token. Junk all MUSIC_FUNCTION_* tokens.

* lily/parser.yy: Change grammar for music function accordingly.

* lily/include/lily-parser.hh: New method get_state, new member
hidden_state. Works around a problem when parser fetches
MUSIC_FUNCTION token but not the following EXPECT_* token.

17 years agoChange suggested page settings in manual to avoid programming
Graham Percival [Thu, 21 Sep 2006 17:22:06 +0000 (17:22 +0000)]
Change suggested page settings in manual to avoid programming
error warnings.

17 years ago * Documentation/user/tweaks.itely (Fitting music onto fewer
Mats Bengtsson [Thu, 21 Sep 2006 07:38:50 +0000 (07:38 +0000)]
* Documentation/user/tweaks.itely (Fitting music onto fewer
pages): Add between-system-space setting.

17 years ago* lily/accidental-placement.cc (calc_positioning_done): don't
Han-Wen Nienhuys [Thu, 21 Sep 2006 00:19:07 +0000 (00:19 +0000)]
* lily/accidental-placement.cc (calc_positioning_done): don't
trigger Y-extent calculation too early. Use pure_height instead.

* lily/scale.cc (LY_DEFINE): new file.

17 years ago*** empty log message ***
Han-Wen Nienhuys [Wed, 20 Sep 2006 00:15:50 +0000 (00:15 +0000)]
*** empty log message ***

17 years ago * lily/page-breaking.cc (find_chunks_and_breaks): ignore breaks
Joe Neeman [Tue, 19 Sep 2006 22:57:34 +0000 (22:57 +0000)]
* lily/page-breaking.cc (find_chunks_and_breaks): ignore breaks
that happen at the start of a score: having a zero-length
chunk was messing up min_system_count calculations.

* lily/source-file.cc (get_line): lower_bound, not
binary_search. Fixes problem where point-and-click would
always point to the first line.

17 years ago(process_music): also set tieMelismaBusy if
Han-Wen Nienhuys [Tue, 19 Sep 2006 22:47:40 +0000 (22:47 +0000)]
(process_music): also set tieMelismaBusy if
event_ detected.

17 years ago(default-script-alist): avoid-slur and
Han-Wen Nienhuys [Tue, 19 Sep 2006 22:40:47 +0000 (22:40 +0000)]
(default-script-alist): avoid-slur and
slur-padding for portato script.

17 years ago* lily/stem-tremolo.cc (translated_stencil): new function.
Han-Wen Nienhuys [Tue, 19 Sep 2006 22:26:13 +0000 (22:26 +0000)]
* lily/stem-tremolo.cc (translated_stencil): new function.
(height): use new function. Fixes tremolos on whole notes.

* lily/slur-scoring.cc (get_best_curve): don't crash if no optimal
slur found.

17 years ago* scripts/abc2ly.py (try_parse_comment): idem.
Han-Wen Nienhuys [Tue, 19 Sep 2006 13:10:25 +0000 (13:10 +0000)]
* scripts/abc2ly.py (try_parse_comment): idem.

* scripts/lilypond-book.py (find_toplevel_snippets): use 'foo' in
bar_string iso. string.find()

17 years ago(get_curve): always use scm_is_pair() looping
Han-Wen Nienhuys [Tue, 19 Sep 2006 12:33:53 +0000 (12:33 +0000)]
(get_curve): always use scm_is_pair() looping
scheme lists.  Backportme.

17 years agoSmall bug warning.
Graham Percival [Tue, 19 Sep 2006 02:01:02 +0000 (02:01 +0000)]
Small bug warning.

17 years ago*** empty log message ***
Han-Wen Nienhuys [Mon, 18 Sep 2006 10:20:54 +0000 (10:20 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Han-Wen Nienhuys [Mon, 18 Sep 2006 09:01:42 +0000 (09:01 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
Han-Wen Nienhuys [Sun, 17 Sep 2006 17:23:29 +0000 (17:23 +0000)]
*** empty log message ***

17 years ago* scm/framework-ps.scm (dump-stencil-as-EPS): naming pad-eps-boxes.
Han-Wen Nienhuys [Sun, 17 Sep 2006 13:52:44 +0000 (13:52 +0000)]
* scm/framework-ps.scm (dump-stencil-as-EPS): naming pad-eps-boxes.

* scm/backend-library.scm: option naming:  gs-font-load*s*

* scm/framework-eps.scm (dump-stencils-as-EPSes): rename option to
include-eps-fonts

17 years ago * scm/define-music-types.scm (music-descriptions): remove
Joe Neeman [Sun, 17 Sep 2006 11:02:29 +0000 (11:02 +0000)]
* scm/define-music-types.scm (music-descriptions): remove
BreakEvent and fix {Page,Line}{Break,Turn}Event so
Music::to_event doesn't complain.

* lily/accidental-placement.cc (ape_compare):
* lily/semi-tie.cc (compare):
* lily/note-column.cc (shift_compare): replace by XXX_less

* lily/tie-formatting-problem.cc (set_chord_outline):
* lily/tie-column.cc (calc_positioning_done):
* lily/system.cc (post_processing)
(get_paper_system):
* lily/stem.cc (note_head_positions)
(calc_positioning_done):
* lily/spanner.cc (do_break_processing)
(find_broken_piece):
* lily/span-bar.cc (print):
* lily/semi-tie-column.cc (calc_positioning_done):
* lily/rest-collision.cc (calc_positioning_done):
* lily/program-option.cc (get_help_string):
* lily/note-collision.cc (get_clash_groups):
* lily/new-fingering-engraver.cc (position_scripts):
* lily/keyword.cc (Keyword_table):
* lily/hara-kiri-group-spanner.cc (request_suicide):
* lily/grob-pq-engraver.cc (stop_translation_timestep):
* lily/accidental-placement.cc (calc_positioning_done):
(stagger_apes):
* lily/beam.cc (get_beam_segments):
* lily/grob-array.cc (remove_duplicates):
use new vector_sort

* input/mutopia/W.A.Mozart/mozart-hrn3-defs.ily:
ragged-last-bottom = ##f (test the new page breaker)

* flower/include/std-vector.hh (vector_sort): use STL sort stuff

* scm/define-context-properties.scm
(all-internal-translation-properties): remove properties that
were used to communicate page-turn stuff to the paper-column
engraver.

* lily/lily-guile.cc (robust_scm2string): new function

* lily/paper-column-engraver.cc: Clean up page turn stuff

* lily/page-turn-engraver.cc: Re-write the page turn logic here
instead of cluttering up paper-column-engraver.cc

17 years ago* scm/layout-page-dump.scm (scm): export utility function names,
Nicolas Sceaux [Sun, 17 Sep 2006 07:45:56 +0000 (07:45 +0000)]
* scm/layout-page-dump.scm (scm): export utility function names,
to allow user writing cutsom dumping functions.

* scm/layout-page-layout.scm: export utility function names to
enable custom page breaking function writing. Tabify.
(line-next-space): use ?-suffix only for predicates
(page-maximum-space-to-fill): new function. Return the space
between first and bottom system of a page, to give to
space-systems.
(space-systems): use a space-to-fill argument (for instance as
computed by page-maximum-space-to-fill) instead of computing
internaly this space with the page height. That way, the caller
can adjust the space to use.
(make-page-from-systems, walk-paths): compute space to fill before
calling space-systems.

17 years ago(default-script-alist): set paddings for every
Han-Wen Nienhuys [Sat, 16 Sep 2006 22:34:52 +0000 (22:34 +0000)]
(default-script-alist): set paddings for every
type here, increase for portato mark.

17 years ago(define-scheme-options): typo: add s, so it is
Han-Wen Nienhuys [Sat, 16 Sep 2006 22:03:43 +0000 (22:03 +0000)]
(define-scheme-options): typo: add s, so it is
-dinclude-eps-fonts

17 years ago* scm/define-grobs.scm (all-grob-descriptions): oops, typo:
Han-Wen Nienhuys [Sat, 16 Sep 2006 21:43:22 +0000 (21:43 +0000)]
* scm/define-grobs.scm (all-grob-descriptions): oops, typo:
use spanner::set-spacing-ronds

* scm/define-grobs.scm (all-grob-descriptions): add
springs-and-rods

17 years ago* lily/note-column.cc: reformat.
Han-Wen Nienhuys [Sat, 16 Sep 2006 21:26:49 +0000 (21:26 +0000)]
* lily/note-column.cc: reformat.

* lily/rest-collision.cc (calc_positioning_done): fix whole/half
step positioning for note/rest combinations.

* input/regression/rest-note-collision.ly: new file.

* scm/define-grobs.scm (all-grob-descriptions): add
springs-and-rods

* flower/include/std-vector.hh: switch off again.

* VERSION (PATCH_LEVEL): bump to 2.9.18

* flower/include/std-string.hh: idem.

* flower/include/std-vector.hh (_GLIBCXX_DEBUG): set if NDEBUG not set.

17 years ago*** empty log message ***
Han-Wen Nienhuys [Sat, 16 Sep 2006 12:32:13 +0000 (12:32 +0000)]
*** empty log message ***

17 years ago * ly/engraver-init.ly: Make FiguredBass accepted in GrandStaff and
Mats Bengtsson [Fri, 15 Sep 2006 18:04:16 +0000 (18:04 +0000)]
* ly/engraver-init.ly: Make FiguredBass accepted in GrandStaff and
PianoStaff.

17 years agouse -D_GLIBCXX_DEBUG if optimize not set.
Han-Wen Nienhuys [Thu, 14 Sep 2006 22:53:58 +0000 (22:53 +0000)]
use -D_GLIBCXX_DEBUG if optimize not set.

17 years ago*** empty log message ***
Han-Wen Nienhuys [Thu, 7 Sep 2006 21:30:59 +0000 (21:30 +0000)]
*** empty log message ***

17 years agoDocumentation/user/page.itely: update page breaking documentation
Joe Neeman [Thu, 7 Sep 2006 21:28:14 +0000 (21:28 +0000)]
Documentation/user/page.itely: update page breaking documentation

17 years ago* lily/tuplet-engraver.cc: add tupletFullLengthNote to description.
Han-Wen Nienhuys [Thu, 7 Sep 2006 13:14:26 +0000 (13:14 +0000)]
* lily/tuplet-engraver.cc: add tupletFullLengthNote to description.

* lily/tuplet-engraver.cc (listen_tuplet_span): verify that
tuplets_ is non-empty before popping.

17 years ago* scm/framework-ps.scm (output-preview-framework): use new name.
Han-Wen Nienhuys [Thu, 7 Sep 2006 13:11:29 +0000 (13:11 +0000)]
* scm/framework-ps.scm (output-preview-framework): use new name.

* lily/program-option.cc (internal_set_option): use new names.

* Documentation/user/SConscript (lilypond_book_flags): update -d
variable names.

* Documentation/user/lilypond-book.itely (Inserting LilyPond
output into other programs): new variable names.

* scm/lily.scm (define-scheme-options): uniformize var names.

* lily/tuplet-engraver.cc (listen_tuplet_span): verify that
tuplets_ is non-empty before popping.