]> git.donarmstrong.com Git - lilypond.git/blobdiff - ChangeLog
* lily/include/input.hh (class Input): new `end_' slot for end of
[lilypond.git] / ChangeLog
index dcebb017337ae60ca6b1579ecbaed26d29f8408e..99b7d155b834305461f94a53575da916959143f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,425 @@
+2005-01-11  Nicolas Sceaux  <nicolas.sceaux@free.fr>
+
+       * lily/include/input.hh (class Input): new `end_' slot for end of
+       input. Renamed defined_str0_ to start_.
+
+       * lily/input.cc (Input): Add Input::Input (Input const &) and
+       remove Input::Input (Source_file*, char const *). Use the new
+       slots.
+       (set_location): method used by bison to propagate input
+       locations (YYLLOC_DEFAULT).
+       (end_line_number, end_column_number, step_forward): new methods
+       
+       * lily/input-scheme.cc (ly:input-both-locations): new function,
+       similar to ly:input-location, but also return the end line and
+       column.
+
+       * lily/include/includable-lexer.hh: 
+       * lily/includable-lexer.cc: 
+       * lily/include/lily-lexer.hh (class Lily_lexer): 
+       * lily/lily-lexer.cc (add_lexed_char): Move add_lexed_char from
+       Includable_lexer to Lily_lexer, in order to update lexloc (the
+       yylloc), a new slot of Lily_lexer.
+       (here_input, LexerError): simplify by using the lexloc slot (aka
+       yylloc)
+
+       * lily/lexer.ll: #define yylloc to use input locations (it may
+       be useless here?). Fixed the #embedded_scm rule (step the location
+       forward in order to skip the sharp sign before parsing the scheme
+       expression)
+
+       * lily/include/lily-parser.hh (class Lily_parser): 
+       * lily/lily-parser.cc: Remove push_spot(), pop_spot() and
+       here_input()
+       (parser_error): overload for more precise locations of errors.
+
+       * lily/parser.yy (YYLTYPE): set location type to Input
+       (YYLLOC_DEFAULT): use Input::set_location()
+       (yylex): add the YYLTYPE* location parameter.
+       Clean push_spot()/pop_spot()/here_input(), and use @$, @1, etc.
+       Give an Input parameter to THIS->parser-error() for more accurate
+       messages.
+
+2005-01-10  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * stepmake/aclocal.m4: do NDEBUG for optimizing builds.
+
+       * lily/include/beam.hh (DEBUG_QUANTING): performance: only switch
+       on BEAMQUANTING for non-NDEBUG builds.
+
+       * lily/stem.cc (head_count): performance: avoid String::String()
+       inside oft called function.
+
+2005-01-09  Graham Percival  <gperlist@shaw.ca>
+
+       * Documentation/user/examles.itely: attempted fix for broken
+       string quartet template.
+
+       * Documentation/user/notation.itely: remove unnecessary broken
+       link.
+
+2005-01-09  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * VERSION (PACKAGE_NAME): release 2.5.7
+
+2005-01-09  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * config.make.in (METAFONT): Append -progname=mf, fixes use with
+       mf-nowin for teTeX-3.0.  Backportme.
+
+       * scm/output-svg.scm (utf8-string): New function.
+
+       * scm/output-gnome.scm (utf8-string): New function.
+       (otf-name-mangling): Remove.
+
+       * lily/pango-font.cc (Pango_font): Use font string iso font
+       filename for utf8-text.
+
+       * buildscripts/gen-emmentaler-scripts.py: Remove designsize from
+       name.
+
+2005-01-08  Graham Percival  <gperlist@shaw.ca>
+
+       * Documentation/user/notation.itely: add info about
+       Staff.extraNatural = ##f in Pitches section.  Also
+       fixed some minor issues in the Vocal music section.
+
+2005-01-08  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * scm/output-ps.scm (white-text): comment out Helvetica font,
+       which is broken for my GS install.
+
+       * lily/pango-font.cc (pango_item_string_stencil): use ink_rect,
+       which provides a tighter bbox.
+
+       * scm/define-grobs.scm (all-grob-descriptions): remove all
+       extra-offsets from definitions.
+
+2005-01-08  Erlend Aasland  <erlenda@gmail.com>
+
+       * scm/output-lib.scm: Rename guitar-tunings to guitar-tuning and
+       add tuning for 4-string bass and some common 4/5-string banjo
+       tunings.  New function (four-string-banjo) turns a 5-string tuning
+       into a 4-string tuning.  New function
+       (fret-number-tablature-format-banjo) computes correct fret numbers
+       on 5-string banjos.
+
+       * ly/engraver-init.ly: Default stringTunings = #guitar-tuning
+       Add beam correction to TabVoice.
+
+       * scm/define-grobs.scm: Adjust notehead offset. Print fret numbers
+       using bold font; makes tabs more readable.
+
+2005-01-08  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * lily/font-select.cc (get_font_by_design_size): don't make
+       Modified_font_metric; this causes trouble, since we don't know the
+       font magnification from inside Pango_font::text_stencil()
+
+       * lily/all-font-metrics.cc (find_pango_font): take magnification argument.
+
+       * Documentation/user/notation.itely (The Lyrics context): comment out
+       broken {Small ensembles} link.
+
+       * scm/framework-svg.scm (output-framework): change calling convention.
+
+       * lily/object-key-dumper-scheme.cc: new file.
+
+       * lily/object-key-undumper-scheme.cc: new file.
+
+       * lily/tweak-registration-scheme.cc: new file.
+
+       * lily/pango-select.cc (symbol_to_pango_variant): init local variable.
+
+       * Documentation/user/examples.itely (String quartet): uncomment
+       broken example.
+
+       * lily/font-config.cc: new file.
+
+2005-01-08  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * scm/output-svg.scm: 
+       * scm/output-gnome.scm: s/bigcheese/emmentaler.
+
+       * lily/score-engraver.cc (MUSIC_FONT): Use emmentaler20.
+
+2005-01-07  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * lily/general-scheme.cc (LY_DEFINE): Use snprintf (WAS: sprintf).
+       Add headers.
+
+       * lily/GNUmakefile (general-scheme.o): Add version.hh dependency.
+
+2005-01-07  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * mf/GNUmakefile (debian-mirror): rename bigcheese to emmentaler.
+
+       * lily/include/main.hh: lose _b hungarian suffixes for global
+       variables.
+
+       * lily/include/lily-guile-macros.hh: new file.
+
+       * lily/pango-select-scheme.cc (LY_DEFINE): new file.
+
+       * lily/general-scheme.cc: new file. 
+
+       * lily/font-select.cc (get_font_by_design_size): retrieve
+       PangoFont for (designsize . "pango-descr") entries.
+
+       * lily/lily-parser-scheme.cc: new file.
+
+       * lily/output-def-scheme.cc: new file.
+
+       * lily/paper-book-scheme.cc: new file.
+
+       * lily/duration-scheme.cc (LY_DEFINE): new file.
+
+       * lily/pitch-scheme.cc:  new file.
+
+       * scm/font.scm (add-cmr-fonts): use real dimens in font selection.
+
+2005-01-07  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * lily/dimensions.cc (LY_DEFINE): add ly:{inch,cm,mm,bp,pt}.
+
+2005-01-06  Graham Percival  <gperlist@shaw.ca>
+
+       * Documentation/user/notation.itely: minor editing.
+
+       * Documentation/user/changing-defaults: minor editing.
+
+       * Documentation/user/examples.itely: add template for
+       string quartet part extraction; demonstrates tag.
+
+2005-01-06  Erlend Aasland  <erlenda@gmail.com>
+
+       * Documentation/user/notation.itely: documents
+       format-mark-box-letters and format-mark-box-numbers
+
+       * scm/define-context-properties.scm: change comment.
+
+2005-01-06  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * scm/framework-ps.scm (output-classic-framework): new function:
+       dump systems as separate .eps files (without fonts) and write a
+       single collecting .tex file.
+
+2005-01-05  Mats Bengtsson  <mabe@drongo.s3.kth.se>
+
+       * Documentation/user/notation.itely (Setting simple songs):
+       Correct several errors in the equivalent formulation of
+       \addlyrics. 
+       (The Lyrics context): Corrected link to the SATB example.
+
+2005-01-05  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * scm/lily.scm (completize-formats): new function
+       (postprocess-output): new function
+
+       * lily/paper-book.cc (classic_output): change calling
+       convention. Give basename as first argument. 
+       remove Paper_book::post_processing().
+
+       * lily/lily-guile.cc (LY_DEFINE): ly:output-backend, new function.
+
+2005-01-04  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * lily/paper-outputter.cc (LY_DEFINE): new function
+       ly:outputter-close.
+
+       * lily/main.cc: change --format,-f to --backend,-b
+
+       * lily/include/main.hh: rename format to backend.
+
+       * scm/translation-functions.scm (format-mark-box-numbers): add.
+       patch by Erlend Aasland
+
+2005-01-03  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * lily/pango-font.cc (text_stencil): dump string as
+       (utf-8-string FONTDESC UTF8) for use in -f gnome, -f svg.
+
+2005-01-03  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * configure.in (gui_b): Remove handy developer-only
+       PKG_CONFIG_PATH settings that cater for Jan-and-Han-Wen ~/usr/pkg/
+       CVS source installations (but break other non-default but correct
+       PKG_CONFIG_PATH setups), as this is no longer developer-only.
+
+       * SConstruct: 
+       * ps/GNUmakefile (INSTALLATION_FILES): teTeX-3.0
+       compatibility (backportme).
+
+       * GNUmakefile.in: teTeX-3.0 compatibility (backportme).
+
+2005-01-03  Werner Lemberg  <wl@gnu.org>
+
+       Prepare glyph shapes for mf2pt1 conversion.
+
+       * mf/feta-accordion.mf (accreg_pen): Removed.  No longer used.
+       (accDiscant, accFreebase, accStdbase): Replace `draw' with
+       `penstroke'.
+       (accDot): Use `drawdot'.
+       (accBayanbase): Replace `draw' with `draw_gridline'.
+       (print_penpos): Moved to feta-macros.mf.
+       (accOldEE): Replace `filldraw' with `penstroke'.
+       Replace `draw' with `penstroke' and `drawdot'.
+
+       * mf/feta-banier.mf: Code clean-up.
+       ("grace dash (up)", "grace dash (down)"): Replace `draw' with
+       `fill'.
+
+       * mf/feta-bolletjes (draw_cross): Remove call to `labels'.
+
+       * mf/feta-eindelijk.mf (draw_rest_bulb, draw_eigth_rest): Add
+       paremeter to control drawing of labels.  Update all callers.
+
+       * mf/feta-klef.mf (draw_c_clef): Use `&' not `..' to connect paths.
+       (new_bulb): Return a bulb as a single path.  To do that, it now
+       takes some more parameters.  Updated all callers.
+       (draw_gclef): Major clean-up.  `draw' has been replaced with
+       `penstroke', unnecessary outlines have been removed.
+       Remove (unused) gnome-canvas code.
+
+       * mf/feta-macros.mf (print_penpos): New macro (from
+       feta-accordion.mf).
+       Other minor fixes.
+
+       * mf/feta-pendaal.mf ("Pedal asterisk"): Use `undrawdot'.
+       ("Pedal dot"): Use `drawdot'.
+       (draw_pedal_P): Add parameter to control drawing of labels.  Update
+       all callers.
+       Fix shape at top.
+       (draw_pedal_e): Add parameter to control drawing of labels.  Update
+       all callers.
+       (draw_pedal_d): Add parameter to control drawing of labels.  Update
+       all callers.
+       Revert drawing direction.
+
+       * mf/feta-schrift.mf (draw_fermata): Use single path.
+       (draw_short_fermata): Replace `filldraw' with `fill'.
+       (draw_long_fermata, draw_very_long_fermata): Replace calls to
+       `draw_rounded_block' with a single path.
+       ("Thumb"): Draw full circle instead of mirroring segments.
+       (draw_accent): New macro.
+       ("> accent", "espr"): Use it.
+       (draw_marcato): Replace `filldraw' and `draw' with `fill'.
+       ("open (unstopped)"): Draw full circle instead of mirroring
+       segments.
+       (draw_vee): Removed.
+       ("Upbow"): Use `draw_accent' instead of `draw_vee'.
+       ("Downbow"): Replace calls to `draw_rounded_block' with a single
+       path.
+       ("Trill (`tr')"): Replace overlapping loop drawn with `draw' with
+       partial pieces drawn with `fill' -- these do still overlap with the
+       stem of the `t' but just once, not multiple times so that fontforge
+       can handle it gracefully.
+       Change other parts of the glyph so that fontforge's overlapping
+       algorithm reliably works.
+       (draw_heel): Replace `draw' with `fill'.
+       (draw_toe): Use `draw_accent' instead of `draw_vee'.
+       ("Flageolet"): Replace `draw' with `penstroke'.
+       ("Segno"): Replace `filldraw' with `penstroke'.
+       Replace `draw' with `drawdot'.
+       ("Coda"): Replace `fill' with `penstroke', using a single path.
+       ("Varied Coda"): Use less overlapping paths.
+       (draw_arpeggio_arrow): Replace `filldraw' with `fill', using a
+       single path.
+
+       * mf/feta-slag.mf (draw_trillelement): Put `clearxy' outside of
+       group to better control the `labels' command.
+       Rename argument to `offset' and use it actually.  Update all
+       callers.
+       Replace `filldraw' with `fill'.
+       ("mordent", "prallmordent", "upmordent", "downmordent",
+       "lineprall"): Replace `draw' with `draw_gridline'.
+       ("upprall", "downprall"): Replace `draw' with `fill'.
+
+       * mf/feta-timesig.mf: Formatting.
+
+       * mf feta-toevallig.mf (draw_meta_flag): Move code to draw labels
+       to...
+       ("Flat"): Here.
+       (draw_paren): Move code to draw labels to...
+       ("Right Parenthesis"): Here.
+
+2005-01-02  Graham Percival <gperlist@shaw.ca>
+
+       * Documentation/user/notation.itely: add example of \setTextDecresc
+       and \setTextDim.
+
+2005-01-02  Tatsuya Ono <tats_ono@infoseek.jp>
+
+       * scm/define-markup-commands.scm :  fix glyph-strings of
+       accidentals and \note-by-number
+
+2005-01-01  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * VERSION: 2.5.6 released.
+       
+       * ps/lilyponddefs.ps: put mm -> pt scaling in here.
+
+       * input/regression/new-markup-scheme.ly: oops. font-family=music
+       -> font-encoding fetaMusic.  
+
+       * lily/main.cc: put default to PS.
+
+       * lily/tfm.cc: idem.
+
+       * lily/afm.cc: idem.
+
+       * lily/include/modified-font-metric.hh (struct
+       Modified_font_metric): remove coding_scheme() method.
+
+       * input/mutopia/F.Schubert/morgenlied.ly: convert to utf8
+
+       * scripts/convert-ly.py (conv): crash on encountering \encoding.
+
+       * input/les-nereides.ly: convert to utf8
+
+       * lily/modified-font-metric.cc (text_dimension): idem.
+
+       * lily/parser.yy (TODO): idem.
+
+       * lily/include/lily-lexer.hh (class Lily_lexer): idem.
+
+       * lily/lexer.ll: remove encoding
+
+       * scm/framework-ps.scm (output-variables): separately scale the
+       page to mm 
+
+       * lily/pango-font.cc (Pango_font): fix scaling.
+
+       * lily/font-metric.cc (design_size): design_size returns a
+       dimension now as well.
+
+2004-12-31  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * mf/GNUmakefile ($(outdir)/%.otf-table): use findstring. Fixes
+       brace generation. 
+
+       * lily/text-metrics.cc (LY_DEFINE): use scm_c_make_hash_table().
+
+2004-12-30  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * mf/GNUmakefile (INSTALLATION_OUT_SUFFIXES): Do not try to
+       install unbuildable Fontmap and Fontmap.lily (Simon Aridis-Lang).
+
+2004-12-30  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * mf/GNUmakefile ($(outdir)/%.otf-table): include parmesan20.lisp
+       in first run as well.
+
+       * scm/paper.scm (layout-set-staff-size): use text-font-size in
+       dimension less points (ie. 12 = 12 point)
+
+       * lily/pango-select.cc (select_pango_font): use find_scaled_font().
+
+       * lily/all-font-metrics.cc (find_pango_font): set description_
+
+       * lily/pango-font.cc (text_stencil): export size as well.
+       (text_stencil): fix scaling and extents box.
+
 2004-12-29  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
        * Documentation/topdocs/NEWS.texi (Top): add -f texstr
 
 2004-12-25  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * VERSION: release 2.5.5
+       
        * lily/main.cc: use TeX as default output format.
 
        * flower/file-path.cc (find): try to open directly as well, so we
        * mf/feta-toevallig.mf ("Double Sharp"): Minor path fix.
 
        * mf/feta-bolletjes.mf (penposx): New auxiliary macro.
-       (define_triangle_shape): Use it replace `draw' with `fill' and
+       (define_triangle_shape): Use it to replace `draw' with `fill' and
        `unfill'.  Update all callers.
        (draw_slash): Replace `filldraw' with `fill'.  Update all callers.
        (draw_cross): Ditto.