]> git.donarmstrong.com Git - lilypond.git/log
lilypond.git
10 years agoAdd version to satb.ly for GUB build release/2.19.0-1
Phil Holmes [Sun, 5 Jan 2014 16:48:49 +0000 (16:48 +0000)]
Add version to satb.ly for GUB build

10 years agoAdd version to make-relative-copies regtest for GUB build
Phil Holmes [Sun, 5 Jan 2014 15:52:39 +0000 (15:52 +0000)]
Add version to make-relative-copies regtest for GUB build

10 years agoRelease: update news.
Phil Holmes [Sun, 5 Jan 2014 15:12:22 +0000 (15:12 +0000)]
Release: update news.

10 years agoPO: update template.
Phil Holmes [Sun, 5 Jan 2014 15:12:21 +0000 (15:12 +0000)]
PO: update template.

10 years agoRelease: bump VERSION_DEVEL.
Phil Holmes [Sun, 5 Jan 2014 15:12:21 +0000 (15:12 +0000)]
Release: bump VERSION_DEVEL.

10 years agoIssue 3773: Add Changes entries for bare rhythms and \beamExceptions
David Kastrup [Sat, 4 Jan 2014 16:22:33 +0000 (17:22 +0100)]
Issue 3773: Add Changes entries for bare rhythms and \beamExceptions

10 years agoDoc: NR improve example of \accepts
James Lowe [Fri, 20 Dec 2013 00:03:22 +0000 (00:03 +0000)]
Doc: NR improve example of \accepts

Issue 3641

Improve example given in NR 5.1.7

10 years agoDoc: NR add \chord to examples in A2
James Lowe [Fri, 27 Dec 2013 23:50:57 +0000 (23:50 +0000)]
Doc: NR add \chord to examples in A2

Issue 3755

Added new column to show a working example (also useful for Blind composers)
Minor layout quibbles with @multitable means using the @* (forced break)
for TexInfo commands - not strictly LP doc policy - to enhance clarity

Reduced the line-width slightly of the @lilypond examples simply to
help accommodate the extra column

10 years agoDoc: NR Tidy up of A4 - fretboard diagrams
James Lowe [Sun, 29 Dec 2013 05:46:45 +0000 (05:46 +0000)]
Doc: NR Tidy up of A4 - fretboard diagrams

Removed bar numbers - inappropriate for this section

Added an @appendixsubsec for each of the three pre-defined
fretboard instruments (Guitar, Ukulele and Mandolin) so as
to make it easier to find in the index but also to break up
the apparent 'wall' of fretboard diagrams when viewing the
Appendix.

10 years agoRevert "Prevents dynamics from colliding with cross-staff stems."
Keith OHara [Thu, 26 Dec 2013 22:52:01 +0000 (14:52 -0800)]
Revert "Prevents dynamics from colliding with cross-staff stems."

This reverts commit 3bcfd69d91f52f70598f73719fbed7aa6eea8ad3.

Conflicts:

input/regression/dynamics-avoid-cross-staff-stem.ly
lily/include/interval-minefield.hh
lily/include/self-alignment-interface.hh
lily/interval-minefield.cc
lily/new-dynamic-engraver.cc
lily/self-alignment-interface.cc
scm/define-grob-properties.scm
scm/define-grobs.scm
scm/output-lib.scm

10 years agonote-spacing: let compressibility be uniform; issue 3304
Keith OHara [Wed, 18 Dec 2013 01:20:22 +0000 (17:20 -0800)]
note-spacing: let compressibility be uniform; issue 3304

Comments implied that half the width of accidentals, etc., was added
to the ideal spacing between notes, but in fact only compressibility
was affected.  The non-uniform compressibility caused note-spacing
to become non-uniform when the lines were compressed.  For example
A sequence {\stemUp a a d a] would have the head of the D tuck under
the preceding A.

This commit keeps spacing uniform on compressed lines until objects
come within padding of each other.

10 years agonote-spacing: stretch somewhat uniformly
Keith OHara [Wed, 18 Dec 2013 00:41:51 +0000 (16:41 -0800)]
note-spacing: stretch somewhat uniformly

Start with a basic spring based on the note duration, and apply optical
corrections to that.  This results in more consistent springs thus more
uniform stretching in polyphonic situations.

10 years agosprings: comment and typo
Keith OHara [Tue, 17 Dec 2013 22:59:31 +0000 (14:59 -0800)]
springs: comment and typo

10 years agospacing-options: clarify documentation
Keith OHara [Tue, 17 Dec 2013 22:58:29 +0000 (14:58 -0800)]
spacing-options: clarify documentation

10 years agoledger-lines: horizontal space only when present
Keith OHara [Sat, 28 Dec 2013 21:40:45 +0000 (13:40 -0800)]
ledger-lines: horizontal space only when present

10 years agoIssue 3635: Doc LM: Improve the explanation of 'force-hshift
Trevor Daniels [Fri, 27 Dec 2013 23:29:51 +0000 (23:29 +0000)]
Issue 3635: Doc LM: Improve the explanation of 'force-hshift

  Add an explanation of the 'horizontal-shift property

  Expand the explanation of the 'force-hshift property

  Make the example of using the 'force-hshift property
  more transparently clear.

10 years agoIssue 3720: Add SATB built-in template
Devon Schudy [Thu, 26 Dec 2013 23:21:56 +0000 (23:21 +0000)]
Issue 3720: Add SATB built-in template

Signed-off-by: Trevor Daniels <t.daniels@treda.co.uk>
10 years agoIssue 3720: Doc: Built-in templates for SATB vocal scores
Trevor Daniels [Thu, 26 Dec 2013 23:05:19 +0000 (23:05 +0000)]
Issue 3720: Doc: Built-in templates for SATB vocal scores

  Add documentation to LM Templates Appendix

  Add cross-refs from other parts of the manual set

10 years agoIssue 621: Dynamics should avoid cross-staff BarLines
David Kastrup [Thu, 26 Dec 2013 15:07:50 +0000 (16:07 +0100)]
Issue 621: Dynamics should avoid cross-staff BarLines
(e.g. GrandStaff, PianoStaff etc)

Dynamics usually have extra-spacing-width set to an empty interval so
that their placement does not cause other elements to shift.

With span bars, however, the resulting overlap is a worse cure than
the problem.  So this switches off the width-hiding setting of
extra-spacing-width inside of staff groups using span bars by default.
No extra space is allocated, so dynamics will clear the span bars only
narrowly, a reasonable compromise.

10 years agoRun makelsr.py
James Lowe [Tue, 31 Dec 2013 07:21:49 +0000 (07:21 +0000)]
Run makelsr.py

added new snippet - commit c9acfc85c

10 years agoDoc: NR Updated Delayed Turn Snippet
James Lowe [Tue, 24 Dec 2013 06:52:22 +0000 (06:52 +0000)]
Doc: NR Updated Delayed Turn Snippet

Issue 3369

Suggestion from Arno Waschk

Simplification of original snippet

Note: This snippet will only work since 2.17 versions (where the /single
command has been implemented) and does not work on the 'current' LSR
(which is still at 2.14 as of this patch).

10 years agoDoc: NR Appendix A10.3 \path examples
James Lowe [Tue, 24 Dec 2013 18:26:48 +0000 (18:26 +0000)]
Doc: NR Appendix A10.3 \path examples

Issue 3587

Added two extra examples for the \path command

Also moved two paras down as it seemed more of a logical order

10 years agoDoc: NR - Tidy up of 3.5.1 and 3.5.3 - MIDI
James Lowe [Tue, 24 Dec 2013 18:56:29 +0000 (18:56 +0000)]
Doc: NR - Tidy up of 3.5.1 and 3.5.3 - MIDI

Seemed some of this information was repeeated (and so redundant)
with additional grammar and sentence structure changes and more consistent
@examples.

No new technical information added.

10 years agoDoc: Tidy up of chord-names-jazz.ly
James Lowe [Tue, 31 Dec 2013 07:06:11 +0000 (07:06 +0000)]
Doc: Tidy up of chord-names-jazz.ly

Added a new context definitigon to remove the Bar Number Engraver
as it was clashing with the instrument names and looked messy.
As it was not actually pertinent to the example I thought this the
simplest method

Also tidied up the spacing of the information as per standard doc
guidelines

10 years agoDoc: Extending addition about calling stencil func
James Lowe [Tue, 24 Dec 2013 06:32:16 +0000 (06:32 +0000)]
Doc: Extending addition about calling stencil func

Issue 3669

Came out of:
http://lists.gnu.org/archive/html/lilypond-user/2013-11/msg00587.html

Text based on Keith OHara's suggestions

Indicate that it is possible to call the stencil function in a user's
own override of the stencil property

10 years agoAdds outside-staff-interface and outside-staff-axis-group-interface
Mike Solomon [Mon, 16 Dec 2013 08:11:10 +0000 (10:11 +0200)]
Adds outside-staff-interface and outside-staff-axis-group-interface

When a property exists in an interface, the property should make sense for
a sensible of grobs that implement that interface.  Otherwise, the property
should be part of a separate interface that applies to a sensibly-sized
group of grobs.

Various properties having to do with outside-staff calculations belong to
grob-interface.  This does not make sense for many grobs (StaffSpacing,
NoteSpacing, SpacingSpanner, StaffSymbol just to name a few).  There is a
limited collection of grobs for which outside-staff properties make sense.
The outside-staff-interface provides a separate interface to be implemented
by these grobs.

The same is true for axis groups that place outside-staff grobs, which form
a limited subset of grobs implementing the axis-group-interface.  Rather than
putting the relevant properties in the axis-group-interface, we move
them to an outside-staff-axis-group-interface.

10 years agopython/convertrules.py: bump version for 2.18 release
David Kastrup [Tue, 31 Dec 2013 00:16:13 +0000 (01:16 +0100)]
python/convertrules.py: bump version for 2.18 release

10 years agoPO: update template.
Phil Holmes [Mon, 30 Dec 2013 09:31:33 +0000 (09:31 +0000)]
PO: update template.

10 years agoRelease: update news.
Phil Holmes [Mon, 30 Dec 2013 09:30:43 +0000 (09:30 +0000)]
Release: update news.

10 years agoRelease: bump VERSION.
Phil Holmes [Mon, 30 Dec 2013 09:30:21 +0000 (09:30 +0000)]
Release: bump VERSION.

10 years agoIssue 3746: Fix unfold-repeats-fully with alternatives
David Kastrup [Sun, 22 Dec 2013 09:33:31 +0000 (10:33 +0100)]
Issue 3746: Fix unfold-repeats-fully with alternatives

When fewer alternatives than repeats are given, the _first_ alternative
needs to get reused (the previous code wrongly used the last one).

10 years agoMatch python/convertrules.py versions to that of stable branch.
David Kastrup [Fri, 27 Dec 2013 17:29:20 +0000 (18:29 +0100)]
Match python/convertrules.py versions to that of stable branch.

This became necessary due to cherry-picking the following into stable:

convert-ly rule for new make-relative semantics accepting music arguments

This only works when the "reference pitch" is the first or last of
the list.

No attempt is made to rewind the version numbers of already converted
files from 2.19.0 to 2.17.97.

10 years agoUpdate documentation for what's supported in MIDI. (issue 3740)
Devon Schudy [Sun, 15 Dec 2013 22:27:00 +0000 (17:27 -0500)]
Update documentation for what's supported in MIDI. (issue 3740)

Also clarify what articulate.ly supports.

Change the snippet for redefining a shorthand to use an ArticulationEvent
instead of an articulation name, so users who follow its example will have
their articulations work in MIDI.

10 years agoIssue 3732: Web: Rewrite "Features" content
Urs Liska [Fri, 20 Dec 2013 09:09:04 +0000 (10:09 +0100)]
Issue 3732: Web: Rewrite "Features" content

The "Features" page had some problematic content and structure.
This commit makes some points more clear, removes problematic
claims and introduces some more points pro LilyPond.

Additionally replace some "color2" divs by generic divClass

10 years agoIssue 3732: Web: "Features": Modify outline
Urs Liska [Mon, 16 Dec 2013 11:53:06 +0000 (12:53 +0100)]
Issue 3732: Web: "Features": Modify outline

This doesn't modify the content, although I have a clear idea about it.
So some contents don't seem to fit to the headings.

10 years agoMerge branch 'translation' into staging
David Kastrup [Thu, 26 Dec 2013 21:49:51 +0000 (22:49 +0100)]
Merge branch 'translation' into staging

10 years agoDoc-it: translate footer and browser-language page
Federico Bruni [Thu, 26 Dec 2013 10:11:26 +0000 (11:11 +0100)]
Doc-it: translate footer and browser-language page

10 years agoDocumentation/included/authors.itexi: remove Chong Yidong from core contributors
David Kastrup [Wed, 25 Dec 2013 23:05:18 +0000 (00:05 +0100)]
Documentation/included/authors.itexi: remove Chong Yidong from core contributors

He crept in through a misinterpretation of a commit message.

10 years agogrob-property: if callback is independent of layout, call just once
Keith OHara [Sat, 14 Dec 2013 05:46:49 +0000 (21:46 -0800)]
grob-property: if callback is independent of layout, call just once

10 years agoIssue 3748: Allow assignments with property paths to use x.y.z = value syntax
David Kastrup [Sun, 22 Dec 2013 19:38:22 +0000 (20:38 +0100)]
Issue 3748: Allow assignments with property paths to use x.y.z = value syntax

This is actually an embarrassing oversight in issue 2883: while it
became possible to rewrite

    markup-system-spacing #'minimum-distance = #25
as
    markup-system-spacing minimum-distance = #25

it has been overlooked to allow for the obvious

    markup-system-spacing.minimum-distance = #25

10 years agoDoc: Add @knownissue for AddLyrics with Nullvoice
James Lowe [Thu, 19 Dec 2013 23:35:50 +0000 (23:35 +0000)]
Doc: Add @knownissue for AddLyrics with Nullvoice

Issue 3654

10 years agoDoc: Usage add .vimrc syntax highlighting
James Lowe [Fri, 20 Dec 2013 00:25:13 +0000 (00:25 +0000)]
Doc: Usage add .vimrc syntax highlighting

Issue 3492

10 years agoWeb: Improve notes about Linux Dist LP Packages
James Lowe [Fri, 20 Dec 2013 01:35:32 +0000 (01:35 +0000)]
Web: Improve notes about Linux Dist LP Packages

Issue 3735

Explain that LP in most Linux Repositories is going to be
older than the current available code on the LP website

10 years agoWeb: What we wrote... Book about LP in Turkish
James Lowe [Fri, 20 Dec 2013 01:12:49 +0000 (01:12 +0000)]
Web: What we wrote... Book about LP in Turkish

Came from message

URL: http://lists.gnu.org/archive/html/bug-lilypond/2013-12/masg00051.html

Professor Server Acim's book in Turkish about LilyPond

10 years agoWeb: updated Authors.itexi
James Lowe [Fri, 20 Dec 2013 20:04:23 +0000 (20:04 +0000)]
Web: updated Authors.itexi

All contributions since release of 2.17.0

Circa Aug 25 2012

10 years agoIssue 2067: Give all of \display{LilyMusic,Music,Scheme} optional port arguments.
David Kastrup [Thu, 17 Oct 2013 10:52:53 +0000 (12:52 +0200)]
Issue 2067: Give all of \display{LilyMusic,Music,Scheme} optional port arguments.

10 years agoIssue 3719: CG: Add comment about git-cl editor
Urs Liska [Thu, 12 Dec 2013 11:06:39 +0000 (12:06 +0100)]
Issue 3719: CG: Add comment about git-cl editor

git-cl fires either the editor specified by the
EDITOR environment variable or vi if EDITOR isn't defined.
Commit mentions this in the CG

Signed-off-by: David Kastrup <dak@gnu.org>
10 years agoTypo fix in NR
David Kastrup [Sun, 22 Dec 2013 09:29:34 +0000 (10:29 +0100)]
Typo fix in NR

10 years agoMerge branch 'issue3714' into staging
David Kastrup [Sat, 21 Dec 2013 06:17:09 +0000 (07:17 +0100)]
Merge branch 'issue3714' into staging

10 years agofix sidebar colors in html documentation
Carl Peterson [Thu, 12 Dec 2013 23:05:11 +0000 (18:05 -0500)]
fix sidebar colors in html documentation

Change the default color of the TOC sidebar when no manual-specific color has been specified. Because the text color was changed to white, the TOC was not legible in manuals like the glossary, which is not assigned a color currently.

Also, darkened most of the manual TOC sidebars to separate from header and footer colors. Lightened the header and footer for the Contributor's Guide since it is the "black book."

10 years agoRemove duplicate CSS definitions in manual file
Carl Peterson [Thu, 12 Dec 2013 22:37:20 +0000 (17:37 -0500)]
Remove duplicate CSS definitions in manual file

Remove second definition of background color from lilypond-manuals.css.

Also remove color spec for changes documentation since its color is not being defined at this time.

10 years agoAdd comments to lilypond-texi2html.init
Carl Peterson [Thu, 12 Dec 2013 06:08:57 +0000 (01:08 -0500)]
Add comments to lilypond-texi2html.init

Adding inline comments to lilypond-texi2html.init to explain the added lines of code in the file to enable the manual-specific CSS styling.

Also cleaned up the code indentation levels.

10 years agoCSS changes to color-code major manuals
Carl Peterson [Mon, 9 Dec 2013 00:20:03 +0000 (19:20 -0500)]
CSS changes to color-code major manuals

Added styling to use a manual-specific class in the <body> tag to color code each of the major manuals.

Now:
* Learning Manual: Green book
* Notation Reference: Blue book
* Usage Manual: Yellow book
* Extending: Red book
* Internals Reference: Purple book
* Contributor's Guide: Black book

10 years agoAdd classes to <body> tag of documentation files
Carl Peterson [Sun, 8 Dec 2013 16:44:08 +0000 (11:44 -0500)]
Add classes to <body> tag of documentation files

To facilitate request from lilypond-user to facilitate differentiating among the various manuals, appending CSS classes to the <body> tag of the documentation files so that the main CSS stylesheet can be modified to look for those classes to specifically style each manual and development status.

The present solution for indicating development status is a hardcoded line in Documentation/lilypond-texi2html.init.

10 years agoWeb: Reword contactUsAbout macro
Urs Liska [Thu, 12 Dec 2013 10:16:10 +0000 (11:16 +0100)]
Web: Reword contactUsAbout macro

Providing information on new reviews/productions etc.
should be possible by simply writing an email to bug-lilypond.
Redirecting to the Bug Report guide is off-putting.

10 years agoMerge branch 'translation'
David Kastrup [Fri, 20 Dec 2013 09:26:07 +0000 (10:26 +0100)]
Merge branch 'translation'

10 years agoInclude `freetype.hh' where appropriate.
Werner Lemberg [Wed, 11 Dec 2013 06:53:14 +0000 (07:53 +0100)]
Include `freetype.hh' where appropriate.

This ensures that we aren't dependent on indirect header inclusion chains of
third-party packages.

10 years agoInclude `freetype.hh' where appropriate.
Werner Lemberg [Wed, 11 Dec 2013 06:53:14 +0000 (07:53 +0100)]
Include `freetype.hh' where appropriate.

This ensures that we aren't dependent on indirect header inclusion chains of
third-party packages.

10 years agoWeb: Iintroduction.itexi - Minor typos
James Lowe [Fri, 20 Dec 2013 01:39:13 +0000 (01:39 +0000)]
Web: Iintroduction.itexi - Minor typos

LilyPond not lilypond

10 years agofont: parametrize and cleanup sharp code
Janek Warchoł [Wed, 4 Dec 2013 14:26:03 +0000 (15:26 +0100)]
font: parametrize and cleanup sharp code

Changes:
* as much as possible is controlled by global parameters,
* variables have more consistent names,
* the functions are more consistently structured,
* stem ends are placed in one line using explicit beam direction.

The glyphs remain identical.

It would be good to extract one global procedure that would draw
all needed sharps (instead of having 6 similar ones), but i didn't
have enough time to do this.

10 years agofont: rewrite and parametrize natural code
Janek Warchoł [Wed, 4 Dec 2013 11:20:12 +0000 (12:20 +0100)]
font: rewrite and parametrize natural code

The logic remains virtually the same. List of changes:
* more descriptive variable names,
* removed surplus points (1', 3', 11', 21'),
* stem brushing is controlled in a simpler way,
* beam slant does no longer depend on stem thickness,
* all dimensions are explicitely and straightforwardly
  derived from global parameters.  This makes it trivial
  to get a differently-looking natural by just changing
  clearly defined values.

At size 20, the natural remains identical.  At signifincantly
different sizes there are a few microscopic changes, but they
are too small to be noticeable:

* stem end thickness is defined in terms of stem thickness,
  so regardless of design size the ratio between them is constant.
* beam slant is slightly more consistent.  But you wouldn't notice
  the change if i haven't told you ;-)

10 years agoWeb: Add 3 published productions by Joe Smeets
James Lowe [Sun, 15 Dec 2013 03:55:47 +0000 (03:55 +0000)]
Web: Add 3 published productions by Joe Smeets

Issue 3657

Introduction.itexi

10 years agounify formatting and indentation
Janek Warchoł [Fri, 6 Dec 2013 17:22:43 +0000 (18:22 +0100)]
unify formatting and indentation

10 years agoinclude subfonts unconditionally
Janek Warchoł [Fri, 13 Dec 2013 19:46:39 +0000 (20:46 +0100)]
include subfonts unconditionally

10 years agoremove spurious else
Janek Warchoł [Fri, 13 Dec 2013 19:16:47 +0000 (20:16 +0100)]
remove spurious else

10 years agomake comments more uniform
Janek Warchoł [Fri, 6 Dec 2013 17:22:43 +0000 (18:22 +0100)]
make comments more uniform

10 years agofactor out common inclusions and initializations
Janek Warchoł [Fri, 13 Dec 2013 17:58:00 +0000 (18:58 +0100)]
factor out common inclusions and initializations

10 years agofactor out autometric_parameter declarations
Janek Warchoł [Fri, 13 Dec 2013 17:28:42 +0000 (18:28 +0100)]
factor out autometric_parameter declarations

10 years agomove brace-drawing procedure to separate file (and rename files)
Janek Warchoł [Fri, 6 Dec 2013 17:22:43 +0000 (18:22 +0100)]
move brace-drawing procedure to separate file (and rename files)

10 years agorename feta-alphabet to feta-alphabet-generic
Janek Warchoł [Thu, 12 Dec 2013 21:21:41 +0000 (22:21 +0100)]
rename feta-alphabet to feta-alphabet-generic

to conform to the convention

10 years agorename feta-generic to feta-other-generic; similarly parmesan-generic
Janek Warchoł [Fri, 6 Dec 2013 16:45:59 +0000 (17:45 +0100)]
rename feta-generic to feta-other-generic; similarly parmesan-generic

these files are not for the whole font,
but just some glyphs that aren't in their own subfonts

10 years agoremove feta-test-generic.mf and other testing files
Janek Warchoł [Fri, 6 Dec 2013 17:22:43 +0000 (18:22 +0100)]
remove feta-test-generic.mf and other testing files

they were just polluting the code

10 years agofont: clean up staffline-display in testing mode
Janek Warchoł [Fri, 6 Dec 2013 16:45:59 +0000 (17:45 +0100)]
font: clean up staffline-display in testing mode

Previous testing code was a mix of hideous copy&paste with
non-obvious passing glyph outlines around, which attempted
to produce additional glyphs in testing mode, so that there
would be both on-staffline and on-staffspace variations.

That code was completely unreadable and unmaintainable.

Instead i've introduced a global variable that determines
how the stafflines will be printed relative to the glyphs.
To see alternative configuration, just change that value.

10 years agofont: rename draw_staff to draw_staff_if_debugging
Janek Warchoł [Mon, 2 Dec 2013 23:13:23 +0000 (00:13 +0100)]
font: rename draw_staff to draw_staff_if_debugging

Previous name was confusing: the stafflines are actually
not drawn unless 'test' is set to non-zero value.

10 years agofeta accidentals: split into several files
Janek Warchoł [Mon, 2 Dec 2013 21:36:37 +0000 (22:36 +0100)]
feta accidentals: split into several files

10 years agoomit filename extension as in the rest of the file
Janek Warchoł [Thu, 12 Dec 2013 22:01:46 +0000 (23:01 +0100)]
omit filename extension as in the rest of the file

10 years agoMerge branch 'issue3723' into staging
David Kastrup [Thu, 19 Dec 2013 11:21:23 +0000 (12:21 +0100)]
Merge branch 'issue3723' into staging

10 years agoAdapt documentation for optional arguments now that lookahead is permissible
David Kastrup [Fri, 13 Dec 2013 05:24:17 +0000 (06:24 +0100)]
Adapt documentation for optional arguments now that lookahead is permissible

10 years agoParser: properly disambiguate pitches from music in function arguments
David Kastrup [Fri, 13 Dec 2013 05:01:43 +0000 (06:01 +0100)]
Parser: properly disambiguate pitches from music in function arguments

In many instances, function arguments were parsed greedily without
looking at the function argument predicates first.  This did not allow
using subsequent function arguments of type pitch and duration since
they were combined into one music expression.

10 years agoParser: remove command_element and command_event synonyms of tempo_event
David Kastrup [Thu, 12 Dec 2013 17:57:09 +0000 (18:57 +0100)]
Parser: remove command_element and command_event synonyms of tempo_event

10 years agoParser: remove pitch_arg and PITCH_ARG
David Kastrup [Thu, 12 Dec 2013 16:19:15 +0000 (17:19 +0100)]
Parser: remove pitch_arg and PITCH_ARG

10 years agoParser: inline a few "common" expressions occuring only once now
David Kastrup [Thu, 12 Dec 2013 15:43:34 +0000 (16:43 +0100)]
Parser: inline a few "common" expressions occuring only once now

10 years agoRemove all closed music expressions
David Kastrup [Wed, 11 Dec 2013 19:25:29 +0000 (20:25 +0100)]
Remove all closed music expressions

10 years agoPermit event functions to use a non-closed argument list.
David Kastrup [Wed, 30 Oct 2013 20:01:39 +0000 (21:01 +0100)]
Permit event functions to use a non-closed argument list.

10 years agoAdd location data to extra_tokens_ stack in lexer.
David Kastrup [Mon, 25 Nov 2013 16:29:23 +0000 (17:29 +0100)]
Add location data to extra_tokens_ stack in lexer.

10 years agoParser: let MYREPARSE and MYBACKUP back up even in presence of lookahead
David Kastrup [Thu, 12 Dec 2013 14:34:33 +0000 (15:34 +0100)]
Parser: let MYREPARSE and MYBACKUP back up even in presence of lookahead

This implies that the lookahead token must not yet have made an impact
on the state stack other than causing the reduction of the current
rule, or switching the lookahead token while Bison is mulling it over
will cause trouble.

Since an LALR(1) works on the top of the stack, this can usually be
guaranteed.  The "Too much lookahead" message is not produced.  If
these constructs are misused, the parser should typically complain
about the replacement token being unexpected.

The advantage is the ability to vastly simplify syntax rules that up
to now have to avoid lookahead tokens with a lot of drudgework.

10 years agoMove the extra_token mechanism out of the lexer proper
David Kastrup [Wed, 11 Dec 2013 20:35:53 +0000 (21:35 +0100)]
Move the extra_token mechanism out of the lexer proper

Calling lex->pop_extra_token explicitly in the parser's yylex function
makes things considerably more robust.  It also allows pushing and
popping the EOF condition, necessary for backing up right at the end
of a file, like with ##{ \relative { c d e f } #} where the music
expression is checked against being a pitch, and then is backed up.

10 years agoIssue 3726: toplevel-music-functions should be a session variable
David Kastrup [Sat, 14 Dec 2013 15:08:33 +0000 (16:08 +0100)]
Issue 3726: toplevel-music-functions should be a session variable

We don't want changes in a .ly file to bleed into subsequent files.

10 years agoIssue 3728: Allow score and book identifiers at top level, and score identifiers...
David Kastrup [Sat, 14 Dec 2013 21:33:53 +0000 (22:33 +0100)]
Issue 3728: Allow score and book identifiers at top level, and score identifiers in book(part)s

Instead of

xxx = \score { ... }
yyy = \book { ... }
\score { \xxx }
\book { \yyy }

you can now just write

xxx = \score { ... }
yyy = \book { ... }
\xxx
\yyy

Book and bookparts at top level are distinguished by virtue of only
books having a \paper block.

10 years agoRegularize score handling (origin and copying)
David Kastrup [Sat, 14 Dec 2013 21:29:12 +0000 (22:29 +0100)]
Regularize score handling (origin and copying)

Scores get their origin set when score_body is called, and when encountered
in \xxx and  constructs, are properly copied.

10 years agoIssue 3727: Allow header blocks and output definitions in \score to precede music
David Kastrup [Sat, 14 Dec 2013 19:59:30 +0000 (20:59 +0100)]
Issue 3727: Allow header blocks and output definitions in \score to precede music

This addresses a frequent complaint of users.

10 years agoSimplifies pure documentation in the CG.
Mike Solomon [Sat, 14 Dec 2013 10:14:58 +0000 (12:14 +0200)]
Simplifies pure documentation in the CG.
Removes old information about lists and articulates everything in terms
of unpure-pure-containers.

10 years agoMake parsing of articulation shorthands more robust. (issue 3664)
Devon Schudy [Fri, 6 Dec 2013 21:14:46 +0000 (16:14 -0500)]
Make parsing of articulation shorthands more robust. (issue 3664)

Allow articulation shorthands to be any post-event. Commit 6baa453 tried
to restrict them to ArticulationEvents, but actually allowed anything.

As opposed to previously, return a dummy PostEvents on error as
fallback rather than an incomplete ArticulationEvent causing followup
errors and a crash.

Signed-off-by: David Kastrup <dak@gnu.org>
10 years agoWeb: update Translation status.
Francisco Vila [Wed, 18 Dec 2013 14:43:14 +0000 (15:43 +0100)]
Web: update Translation status.

10 years agoDoc-es: version markers for snippets.
Francisco Vila [Tue, 17 Dec 2013 14:14:04 +0000 (15:14 +0100)]
Doc-es: version markers for snippets.

10 years agoDoc-es: translate remaining snippets, phase two.
Francisco Vila [Tue, 17 Dec 2013 13:52:18 +0000 (14:52 +0100)]
Doc-es: translate remaining snippets, phase two.

10 years agoIssue 3713: default for baseline-skip not available in the lists for repeatCommands
David Kastrup [Sun, 8 Dec 2013 23:08:38 +0000 (00:08 +0100)]
Issue 3713: default for baseline-skip not available in the lists for repeatCommands

10 years agoDoc: Add mention of LibreOffice
Martin Tarenskeen [Thu, 12 Dec 2013 06:09:11 +0000 (06:09 +0000)]
Doc: Add mention of LibreOffice

Issue 3686

OooLilyPond works for LibreOffice as well as OpenOffice.

10 years agoDoc: Add links to LP user blog for Video Tutorials
James Lowe [Tue, 10 Dec 2013 22:02:12 +0000 (22:02 +0000)]
Doc: Add links to LP user blog for Video Tutorials

Issue 3540

Added referfences and links to Video Tutorials
for beginners via LilyPond user Ben Lemon's blog

10 years agoDoc-fr: get rid of @c LocalWords left by Aspell
Jean-Charles Malahieude [Mon, 16 Dec 2013 18:39:45 +0000 (19:39 +0100)]
Doc-fr: get rid of @c LocalWords left by Aspell