Han-Wen Nienhuys [Mon, 16 Feb 2004 02:29:01 +0000 (02:29 +0000)]
* lily/include/grob-info.hh: origin_contexts() now does not
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.
* scripts/convert-ly.py (FatalConversionError.subst_in_trans):
conversion rule for \translator{}. Apply everywhere.
* lily/auto-beam-engraver.cc (test_moment): use
updated_grob_properties() to retrieve autoBeam settings.
* lily/rest-collision.cc (do_shift): ignore rests with beams.
(do_shift): rewrite only-rests case: use common refpoints: the
routine will have sensible results when other rest-translations
have taken place.
Han-Wen Nienhuys [Fri, 13 Feb 2004 22:02:39 +0000 (22:02 +0000)]
* scripts/convert-ly.py (FatalConversionError.subst_in_trans):
conversion rule for \translator{}. Apply everywhere.
* lily/parser.yy (music_property_def): set property for \once in
the PropertyMusic itself, not the ContextSpec.
(property_operation): change syntax within \translator { }
Han-Wen Nienhuys [Fri, 13 Feb 2004 12:33:20 +0000 (12:33 +0000)]
* lily/rest.cc (polyphonic_offset_callback): new function. Do
vertical positioning for polyphony, without RestCollision object.
* lily/note-column.cc (add_head): prevent rests & note heads on
one stem.
* lily/rest-collision.cc (do_shift): ignore rests with beams.
(do_shift): rewrite only-rests case: use common refpoints: the
routine will have sensible results when other rest-translations
have taken place.
Han-Wen Nienhuys [Fri, 13 Feb 2004 00:32:24 +0000 (00:32 +0000)]
($(outdir)/%.pdf): add DVIPS_FLAGS. This will
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:
* Documentation/user/appendices.itely: add Scheme functions,
context-properties and layout properties to manual.
* scm/part-combiner.scm (determine-split-list): include rests in a
solo1/2 sequence.
* lily/new-part-combine-iterator.cc (substitute_both): new
function.
(class New_pc_iterator): add separate Voice=solo context, fixes
autobeams going from chords to solo.
Han-Wen Nienhuys [Wed, 11 Feb 2004 00:33:26 +0000 (00:33 +0000)]
(updated_grob_properties): new
function
(execute_pushpop_property): change to new convention:
object property inits are stored as (cons ALIST BASED-ON). This
storage format allows concurrent tweaks in different contexts.
* Documentation/user/refman.itely: Run texinfo-all-menus-update
(fixes make web).
* GNUmakefile.in (web-clean): Do not remove fonts (they do not
live in $(out)-www).
* scripts/lilypond-book.py: Small cleanups. Junk hairy include
dependencies. Add link to .ly source in HTML output.
(Lilypond_snippet.output_html): Handle multiple page picture
output.
(Lilypond_snippet.output_html, Lilypond_snippet.output_latex):
Make usable for output_texinfo again.
* Documentation/user/GNUmakefile: Add static dependency for
lilypond.tely includes.
(Substring.__init__): new class.
(Snippet.output_texinfo): add texidoc option.
(Include_snippet.replacement_text): new class.
(Lilypond_snippet.__init__): new class
(Lilypond_snippet.get_hash): bugfix: use full body for hashing.
(Substring.__init__): new class.
(Snippet.output_texinfo): add texidoc option.
(Include_snippet.replacement_text): new class.
(Lilypond_snippet.__init__): new class
(Lilypond_snippet.get_hash): bugfix: use full body for hashing.
* scripts/lilypond-book.py (Substring.__init__): new class.
(Snippet.output_texinfo): add texidoc option.
(Include_snippet.replacement_text): new class.
(Lilypond_snippet.__init__): new class
(Lilypond_snippet.get_hash): bugfix: use full body for hashing.
* Documentation/user/refman.itely (Sound):
note about number of channels.
(Snippet.output_print_filename): new
file, process printfilename option.
(Snippet.__init__): rewrite: do not use global variables h or
index.
(main): really support -I option.
(find_toplevel_snippets): new code.
(find_toplevel_snippets): reinstate old version, without global variables.
(Snippet.output_print_filename): new
file, process printfilename option.
(Snippet.__init__): rewrite: do not use global variables h or
index.
(main): really support -I option.
(find_toplevel_snippets): new code.
(find_toplevel_snippets): reinstate old version, without global variables.
(Snippet.output_print_filename): new
file, process printfilename option.
(Snippet.__init__): rewrite: do not use global variables h or
index.
(main): really support -I option.
(find_toplevel_snippets): new code.
(Snippet.output_print_filename): new
file, process printfilename option.
(Snippet.__init__): rewrite: do not use global variables h or
index.
(main): really support -I option.
* scripts/lilypond-book.py (Snippet.output_print_filename): new
file, process printfilename option.
(Snippet.__init__): rewrite: do not use global variables h or
index.
(main): really support -I option.