]> git.donarmstrong.com Git - lilypond.git/log
lilypond.git
11 years agoRelease: update news. release/2.17.8-1
Phil Holmes [Sat, 1 Dec 2012 17:38:04 +0000 (17:38 +0000)]
Release: update news.

11 years agoPO: update template.
Phil Holmes [Sat, 1 Dec 2012 17:37:53 +0000 (17:37 +0000)]
PO: update template.

11 years agoIssue 2978: Simplify calculation of pitch-alist in determine-frets-and-strings
David Kastrup [Sat, 24 Nov 2012 22:27:33 +0000 (23:27 +0100)]
Issue 2978: Simplify calculation of pitch-alist in determine-frets-and-strings

The old code was contorted and undefined (it used map rather than
map-in-order but depended on sequential execution).

11 years agoIssue 2997/3: Let \single deal with nested property overrides
David Kastrup [Sat, 24 Nov 2012 20:04:54 +0000 (21:04 +0100)]
Issue 2997/3: Let \single deal with nested property overrides

11 years agoIssue 2997/2: Let \tweak deal with nested properties
David Kastrup [Sat, 24 Nov 2012 20:04:21 +0000 (21:04 +0100)]
Issue 2997/2: Let \tweak deal with nested properties

11 years agoIssue 2997/1: Let Tweak_engraver deal with nested properties
David Kastrup [Sat, 24 Nov 2012 20:02:18 +0000 (21:02 +0100)]
Issue 2997/1: Let Tweak_engraver deal with nested properties

11 years agoIssue 2976: Allow ly:grob-set-nested-property! to set a single (unnested) property
David Kastrup [Sat, 24 Nov 2012 17:57:00 +0000 (18:57 +0100)]
Issue 2976: Allow ly:grob-set-nested-property! to set a single (unnested) property

This makes things more orthogonal.

11 years agoIssue 2975: beam.cc: let a loop run backwards for better Scheme-fu.
David Kastrup [Fri, 18 Nov 2011 11:18:55 +0000 (12:18 +0100)]
Issue 2975: beam.cc: let a loop run backwards for better Scheme-fu.

11 years agoIssue 2974: music-functions-init.ly: Avoid unnecessary use of $ instead of #
David Kastrup [Sat, 24 Nov 2012 09:27:55 +0000 (10:27 +0100)]
Issue 2974: music-functions-init.ly: Avoid unnecessary use of $ instead of #

$ creates unnecessary copies, unnecessary reinterpretation, and
reassigns the music origin of some expressions to the current parser
location, which in #{ ... #} turns out to be music-functions-init.ly
itself, hardly helpful.

11 years agoparser.yy: use extended version of check_scheme_arg
David Kastrup [Fri, 23 Nov 2012 15:06:59 +0000 (16:06 +0100)]
parser.yy: use extended version of check_scheme_arg

11 years agoparser.yy: give check_scheme_arg optional argument for error display
David Kastrup [Fri, 23 Nov 2012 13:31:39 +0000 (14:31 +0100)]
parser.yy: give check_scheme_arg optional argument for error display

Sometimes a variation of the argument is being checked, and in that case
the error message, if any, should refer to the unchanged argument.

11 years agoDoc: ensure all level 3 and 4 headings have nodes (2967)
Trevor Daniels [Sun, 25 Nov 2012 22:41:58 +0000 (22:41 +0000)]
Doc: ensure all level 3 and 4 headings have nodes (2967)

  Without them the sections cannot be referenced,
  and links in the left panel in html and entries in
  the index do not link to the correct section.

  Correct more level 5 headings.

  Usage manual is not included.

  Complete the set of files in Documentation/nl/learning
  and Documentation/hu/learning with the English versions.
  This is needed to avoid errors in make doc following
  the change in node names.  Fixes Issue 2980.

11 years agoDoc: include aliases for note name languages.
Francisco Vila [Wed, 21 Nov 2012 09:58:06 +0000 (10:58 +0100)]
Doc: include aliases for note name languages.

11 years agoDoc: fix incorrect chording for fret diagram (2963)
Trevor Daniels [Wed, 21 Nov 2012 12:55:54 +0000 (12:55 +0000)]
Doc: fix incorrect chording for fret diagram (2963)

11 years agoDoc: new syntax for \tweak, \override (2936)
Trevor Daniels [Sun, 25 Nov 2012 11:56:36 +0000 (11:56 +0000)]
Doc: new syntax for \tweak, \override (2936)

  Also remove text saying spaces are required
  around the . in Lyric overrides

11 years agoDoc: add example left-aligning dynamic text (2943)
Trevor Daniels [Wed, 21 Nov 2012 16:56:39 +0000 (16:56 +0000)]
Doc: add example left-aligning dynamic text (2943)

11 years agoFix and document usage of `convert-ly - < test.ly'.
Julien Rioux [Tue, 20 Nov 2012 15:58:43 +0000 (10:58 -0500)]
Fix and document usage of `convert-ly - < test.ly'.

11 years agoUpdate bug squad rota
Phil Holmes [Tue, 20 Nov 2012 09:31:25 +0000 (09:31 +0000)]
Update bug squad rota

11 years agoIssue 2951: Allow music of nominally zero duration to be typeset.
David Kastrup [Tue, 6 Nov 2012 16:43:45 +0000 (17:43 +0100)]
Issue 2951: Allow music of nominally zero duration to be typeset.

This is important for things like incipits without notes or other
material that produces output without spending time.  In particular,
this is interesting for \score in markup which more often than not
only contains few notational elements and where attempts to just get
basic key/clef/timesignature drawings are sometimes failing in
frustrating manners.

11 years agoRelease: bump version.
Phil Holmes [Sat, 17 Nov 2012 17:35:36 +0000 (17:35 +0000)]
Release: bump version.

11 years agoRelease: update news. release/2.17.7-1
Phil Holmes [Sat, 17 Nov 2012 15:21:48 +0000 (15:21 +0000)]
Release: update news.

11 years agoPO: update template.
Phil Holmes [Sat, 17 Nov 2012 15:21:39 +0000 (15:21 +0000)]
PO: update template.

11 years agoLSR updates
Phil Holmes [Sat, 17 Nov 2012 12:27:55 +0000 (12:27 +0000)]
LSR updates

11 years agoLSR local updates
Phil Holmes [Sat, 17 Nov 2012 12:21:12 +0000 (12:21 +0000)]
LSR local updates

11 years agoMoves stem-length to C++.
Mike Solomon [Fri, 16 Nov 2012 20:16:08 +0000 (21:16 +0100)]
Moves stem-length to C++.
Makes Kievan notation more modular.

11 years agoDoc: Add index entry to MIDI, instrument
Trevor Daniels [Thu, 15 Nov 2012 15:54:13 +0000 (15:54 +0000)]
Doc: Add index entry to MIDI, instrument

  to avoid confusion with Instrument names in 1.6.3

11 years agoDoc: Add example of extending glissandi over repeats (2591)
Trevor Daniels [Fri, 9 Nov 2012 23:12:08 +0000 (23:12 +0000)]
Doc: Add example of extending glissandi over repeats (2591)

11 years agoAdd native utf8-coded aliases for note names language
Francisco Vila [Wed, 31 Oct 2012 12:45:53 +0000 (13:45 +0100)]
Add native utf8-coded aliases for note names language

  español in Spanish for espanol,
  français in French for italiano.

11 years agoIssue 2958: Web: Add LilyPond Report #28 to news
David Kastrup [Thu, 8 Nov 2012 15:09:40 +0000 (16:09 +0100)]
Issue 2958: Web: Add LilyPond Report #28 to news

11 years agoFix erroneous comment signs in scm/clip-region.scm
Marc Hohl [Mon, 12 Nov 2012 09:08:23 +0000 (10:08 +0100)]
Fix erroneous comment signs in scm/clip-region.scm

11 years agoIssue 2954: Context_mod should not have virtual copy constructor
David Kastrup [Wed, 7 Nov 2012 17:29:00 +0000 (18:29 +0100)]
Issue 2954: Context_mod should not have virtual copy constructor

Without a virtual destructor, this is asking for trouble.  It does not
appear that a virtual copy constructor is actually needed for anything
here.

11 years agoAdds documentation for optional octavation clef syntax
Marc Hohl [Wed, 7 Nov 2012 20:10:34 +0000 (21:10 +0100)]
Adds documentation for optional octavation clef syntax

This documents the new feature made available with commit
74b4c9351b01381f0dc1d6d4688dcd845fc59720

(see Issue 2933)

11 years agoIssue 2946: let Lyric_combine_music_iterator only listen to rhythmic events
David Kastrup [Wed, 7 Nov 2012 10:15:33 +0000 (11:15 +0100)]
Issue 2946: let Lyric_combine_music_iterator only listen to rhythmic events

Listening to articulations makes the rhythmic_music_iterator assume it
can just broadcast things like string numbers and right fingerings and
somebody will pick them up and deal with them which is, unfortunately,
not the case.

Listening only to rhythmic events should cure that problem.

11 years agoRelease: bump version.
Phil Holmes [Sat, 10 Nov 2012 11:22:14 +0000 (11:22 +0000)]
Release: bump version.

11 years agoRelease: update news.
Phil Holmes [Sat, 10 Nov 2012 11:20:35 +0000 (11:20 +0000)]
Release: update news.

11 years agoIssue 2949: Allow (closed) scheme function calls as text scripts.
David Kastrup [Mon, 5 Nov 2012 22:13:07 +0000 (23:13 +0100)]
Issue 2949: Allow (closed) scheme function calls as text scripts.

One motivation of recent grammar changes was to make scheme variables
identical to markup variables.  The obvious parallel idea of letting
scheme function calls be available for calculating markups has not
received similar attention.

The purpose of this patch is to allow for using scheme function calls
producing markup within text scripts.

11 years agofix divisioMaior; add more explanatory comments
Benkő Pál [Thu, 25 Oct 2012 18:57:03 +0000 (20:57 +0200)]
fix divisioMaior; add more explanatory comments

do what the (original) comment dictate: find staff spaces at the
required height, and draw a line between the centres of these spaces
(or perhaps a bit wider for extreme staves)

11 years agotest breathing signs in nonstandard staves
Benkő Pál [Fri, 26 Oct 2012 19:27:36 +0000 (21:27 +0200)]
test breathing signs in nonstandard staves

11 years agoGobble empty strings passed as arguments to python scripts.
Julien Rioux [Thu, 1 Nov 2012 10:19:36 +0000 (06:19 -0400)]
Gobble empty strings passed as arguments to python scripts.

This is needed on windows in combination with the fix to issue
1455. Either we go this way, or we revert the fix to issue 1455.

Should also be considered a candidate for the 2.16 stable branch.

11 years agoIssue 2953: Teach \displayLilyMusic the recommended override/revert syntax
David Kastrup [Wed, 7 Nov 2012 12:02:09 +0000 (13:02 +0100)]
Issue 2953: Teach \displayLilyMusic the recommended override/revert syntax

This is a followup to the large issue 2934 change.

11 years agoIssue 2945: Document symbol list changes.
David Kastrup [Sat, 27 Oct 2012 14:35:43 +0000 (16:35 +0200)]
Issue 2945: Document symbol list changes.

11 years agoAllows optional octavation for clefs
Marc Hohl [Sat, 27 Oct 2012 20:22:25 +0000 (22:22 +0200)]
Allows optional octavation for clefs

Clef specifications like \clef "G_(8)" or
\clef "bass^[15]" are supported.

A new property clefOctavationStyle (and its cue
clef couterpart cueClefOctavationStyle) is introduced.
When set to 'default, the octavation number is displayed
as before; 'parenthesized calls for parenthesized numbers
and 'bracketed used brackets around the number.

Furthermore, a scheme formatter function is used for
displaying the ocatavation number, so can be customized
more easily.

11 years agoIssue 2939: Fix relations between \maininput, EOF and safe mode
David Kastrup [Wed, 31 Oct 2012 11:33:15 +0000 (12:33 +0100)]
Issue 2939: Fix relations between \maininput, EOF and safe mode

In lexer.ll, assumptions about the depth of include_stack_ were hardwired
that only were valid for parsers started from the normal chain of input.

One consequence was that something like

    #{ \book { \include "line-arrows.ly" } #}

worked even in safe mode (where \include should be prohibited) but
might complain about unexpected EOF.  This commit adds a member
variable main_input_level to Lily_lexer for keeping track of when to
drop restrictions and deliver EOF in each parser separately.

11 years agoAdd support for measures split across lines.
David Nalesnik [Tue, 23 Oct 2012 17:13:19 +0000 (12:13 -0500)]
Add support for measures split across lines.

- All pieces are numbered.  The number before the break has its
default appearance, and any following numbers are parenthesized.
- A regtest for this feature is provided.

11 years agoIssue 2445: Add measure counter to LilyPond
David Nalesnik [Sat, 8 Sep 2012 12:38:28 +0000 (07:38 -0500)]
Issue 2445: Add measure counter to LilyPond

These changes implement a new grob, `MeasureCounter,' a spanner used to
number groups of successive measures.

This commit:
- defines a new event class, `MeasureCounterEvent.'
- defines a new interface, `measure-counter-interface.' This
interface contains `count-from,' the number which begins the count, and
`columns,' which contains the NonMusicalPaperColumn grobs forming
the bounds of the new spanner.
- defines the stencil with a function in scm/music-functions.scm.
- defines an engraver, `Measure_counter_engraver.'  This engraver
is written in Scheme and placed in a new file, scm/scheme-engravers.scm,
which is added to the load list in scm/lily.scm.
- sets various grob properties to default values.
- provides two commands to frame the measures to be counted:
\startMeasureCount and \stopMeasureCount.
- provides a regression test.

11 years agoUpdates pondings
Mike Solomon [Sun, 4 Nov 2012 05:58:20 +0000 (06:58 +0100)]
Updates pondings

11 years agoRelease: bump version.
Phil Holmes [Sat, 3 Nov 2012 22:18:20 +0000 (22:18 +0000)]
Release: bump version.

11 years agoRelease: update news. release/2.17.6-1
Phil Holmes [Sat, 3 Nov 2012 14:45:23 +0000 (14:45 +0000)]
Release: update news.

11 years agoPO: update template.
Phil Holmes [Sat, 3 Nov 2012 14:45:17 +0000 (14:45 +0000)]
PO: update template.

11 years agoMakeLSR updates
Phil Holmes [Fri, 2 Nov 2012 17:33:28 +0000 (17:33 +0000)]
MakeLSR updates

11 years agoDoc: NR-1.2.5 remove empty @snippets in "bar lines"
Jean-Charles Malahieude [Fri, 2 Nov 2012 12:36:31 +0000 (13:36 +0100)]
Doc: NR-1.2.5 remove empty @snippets in "bar lines"

11 years agoIssue 2930: Allow \tag to accept multiple tags, like \keepWithTag and \removeWithTag do.
David Kastrup [Fri, 26 Oct 2012 08:24:37 +0000 (10:24 +0200)]
Issue 2930: Allow \tag to accept multiple tags, like \keepWithTag and \removeWithTag do.

11 years agoLet \footnote and \shape rely on \tweak for overrides
David Kastrup [Thu, 25 Oct 2012 12:48:46 +0000 (14:48 +0200)]
Let \footnote and \shape rely on \tweak for overrides

11 years agoIssue 2929: Allow \tweak to act as a stand-in for \once\override
David Kastrup [Thu, 25 Oct 2012 12:46:15 +0000 (14:46 +0200)]
Issue 2929: Allow \tweak to act as a stand-in for \once\override

Making tweak optionally accept a grob specification instead of music
to tweak makes it compatible with the behavior of functions such as
\footnote and \shape, and actually serves to simplify their
implementation.

One slight complication occurs in lyrics mode, as demonstrated by the
change necessary to input/regression/lyric-tweak.ly: with

    \tweak color #red reddish fish,

LilyPond tries an override for a grob named "reddish" and fails.
Tweaks in lyrics mode are highly unusual, have not been supported for
long, and their effect can usually better be accomplished in markup
mode instead.  The fix here is to write

    \tweak color #red \markup reddish fish,

since LilyPond does not consider explicit markup a candidate for
conversion into symbols.  The same problem is inherent with other
commands using the same kind of symbol-list-or-music? interface, like
\footnote, \hide, \omit.

11 years agoIssue 2928: parser.yy: get rid of SCORE_IDENTIFIER token
David Kastrup [Thu, 25 Oct 2012 21:51:19 +0000 (23:51 +0200)]
Issue 2928: parser.yy: get rid of SCORE_IDENTIFIER token

This allows Scheme functions returning a score to be used as a score body
inside of \score { ... }.

11 years agoChange input/regression/alter-broken.ly to include tweak-like usage
David Kastrup [Sat, 27 Oct 2012 19:08:17 +0000 (21:08 +0200)]
Change input/regression/alter-broken.ly to include tweak-like usage

Also change override-like usage for ties to \once\alterBroken as the
control point manipulations are unlikely to be desirable for more than
a single occurence.

11 years agoMerge symbol_list into master
David Kastrup [Tue, 30 Oct 2012 21:57:54 +0000 (22:57 +0100)]
Merge symbol_list into master

This merge commit comprises the commits

13da8b2 Rerun scripts/auxiliar/update-with-convert-ly.sh
516cae5 Add more extensive rules for \tweak, \override, \revert, \overrideProperty
7b2cfcb Change \overrideProperty to take a single symbol-list as path
ec6b407 Change \alterBroken interface to match that of other tweak/overrides

that don't have a compilable work tree and should therefore not be
separate commits in the mainline.

11 years agoRerun scripts/auxiliar/update-with-convert-ly.sh
David Kastrup [Mon, 29 Oct 2012 15:25:02 +0000 (16:25 +0100)]
Rerun scripts/auxiliar/update-with-convert-ly.sh

11 years agoImplement function check-grob-path for checking/extending grob path specs
David Kastrup [Thu, 25 Oct 2012 12:42:25 +0000 (14:42 +0200)]
Implement function check-grob-path for checking/extending grob path specs

From the function documentation string:

Check a grob path specification @var{path}, a symbol list (or a
single symbol), for validity and possibly complete it.  Returns the
completed specification, or @code{#f} if invalid.  If optional
@var{parser} is given, a syntax error is raised in that case,
optionally using @var{location}.  If an optional keyword argument
@code{#:start @var{start}} is given, the parsing starts at the given
index in the sequence @samp{Context.Grob.property.sub-property...},
with the default of @samp{0} implying the full path.

If there is no valid first element of @var{path} fitting at the given
path location, an optionally given @code{#:default @var{default}} is
used as the respective element instead without checking it for
validity at this position.

The resulting path after possibly prepending @var{default} can be
constrained in length by optional arguments @code{#:min @var{min}} and
@code{#:max @var{max}}, defaulting to @samp{1} and unlimited,
respectively.

11 years agoAdd more extensive rules for \tweak, \override, \revert, \overrideProperty
David Kastrup [Wed, 10 Oct 2012 12:31:27 +0000 (14:31 +0200)]
Add more extensive rules for \tweak, \override, \revert, \overrideProperty

11 years agoChange \overrideProperty to take a single symbol-list as path
David Kastrup [Sun, 28 Oct 2012 13:10:15 +0000 (14:10 +0100)]
Change \overrideProperty to take a single symbol-list as path

11 years agoChange \alterBroken interface to match that of other tweak/overrides
David Kastrup [Sat, 27 Oct 2012 15:21:54 +0000 (17:21 +0200)]
Change \alterBroken interface to match that of other tweak/overrides

11 years agolexer.ll: duplicate a few quotes in character sets to help syntax highlighting
David Kastrup [Fri, 26 Oct 2012 12:33:13 +0000 (14:33 +0200)]
lexer.ll: duplicate a few quotes in character sets to help syntax highlighting

This uses regular expressions like [^''] rather than [^'] in order to keep
the confusion of editors like Emacs tolerable.

11 years agolexer.ll: lyric_quote was not necessary as separate state.
David Kastrup [Fri, 26 Oct 2012 10:54:25 +0000 (12:54 +0200)]
lexer.ll: lyric_quote was not necessary as separate state.

11 years agoIssue 2935: is_main_input_ should only be set by \maininput command
David Kastrup [Tue, 30 Oct 2012 10:17:22 +0000 (11:17 +0100)]
Issue 2935: is_main_input_ should only be set by \maininput command

is_main_input reflects the state of being in the reign of the main
input file as opposed to the init file, which corresponds to a drop of
privileges.  This drop of privileges is explicitly signified with

\maininput

and should not otherwise be tampered with in order not to restrict the
init file's capabilities.  There should be no way to arrive at a lexer
from within LilyPond or Scheme without is_main_input_ set unless one
already has one such lexer to start with.

11 years agoIssue 2592: index entries for slides and chord glissandi
Marc Hohl [Thu, 25 Oct 2012 06:44:40 +0000 (08:44 +0200)]
Issue 2592: index entries for slides and chord glissandi

The index entries are now placed correctly right before
the corresponding snippets.

11 years agoadds documentation for the new bar line interface
Marc Hohl [Mon, 22 Oct 2012 10:23:50 +0000 (12:23 +0200)]
adds documentation for the new bar line interface

11 years agoprevent collision of mensural ligature and next grob
Benkő Pál [Tue, 23 Oct 2012 18:12:56 +0000 (20:12 +0200)]
prevent collision of mensural ligature and next grob

compute the actual X extent of a mensural ligature and
create a rod of that length through the minimum-length property
and the set-spacing-rods mechanism

11 years agopass by reference-to-const, not by value
Benkő Pál [Tue, 23 Oct 2012 17:34:53 +0000 (19:34 +0200)]
pass by reference-to-const, not by value

11 years agoWeb: Add reference to Windows 8 in downloads
James Lowe [Wed, 24 Oct 2012 15:03:33 +0000 (16:03 +0100)]
Web: Add reference to Windows 8 in downloads

I was able to download install and run LilyPond's test file
with no problems, on Windows 8.

11 years agoDoc: Pitches.itely @knownissue OctavateEight grob
James Lowe [Wed, 24 Oct 2012 12:51:38 +0000 (13:51 +0100)]
Doc: Pitches.itely @knownissue OctavateEight grob

Issue 2832

Shows that any integers attached to a Clef is treated as a separate Grob
so any override applied to the Clef also has to be applied
as a separate override to the OctavateEight grob.

Includes brief description and @lilypond example.

11 years agoDoc: AU add -d option for convert-ly
James Lowe [Wed, 24 Oct 2012 11:57:50 +0000 (12:57 +0100)]
Doc: AU add -d option for convert-ly

Also rearranged options in alphabetical order.

Added short form for -t

Updated description for -l

Issue 2917

11 years agoLocal updates with makelsr
Phil Holmes [Sun, 28 Oct 2012 13:09:46 +0000 (13:09 +0000)]
Local updates with makelsr

11 years agoIssue 2920: Revert "Archive baselines in LILYPOND_BASELINES directory if specified"
David Kastrup [Tue, 23 Oct 2012 10:22:48 +0000 (12:22 +0200)]
Issue 2920: Revert "Archive baselines in LILYPOND_BASELINES directory if specified"

This reverts commit 2ab98854c8f67c0edf5bc655a45aa6226e2caca9.

It is likely that this code is no longer being used.

This has been issue 2422 originally.

11 years agoregtest for issue 2917, \keepWithTag and \removeWithTag with multiple tags
David Kastrup [Wed, 24 Oct 2012 16:47:01 +0000 (18:47 +0200)]
regtest for issue 2917, \keepWithTag and \removeWithTag with multiple tags

11 years agoIssue 2917: Extend \keepWithTag to allow multiple tags
David Kastrup [Tue, 23 Oct 2012 11:07:16 +0000 (13:07 +0200)]
Issue 2917: Extend \keepWithTag to allow multiple tags

Also extends \removeWithTag accordingly.

11 years agoFix unproper nesting of various property overrides
David Kastrup [Sat, 13 Oct 2012 16:01:51 +0000 (18:01 +0200)]
Fix unproper nesting of various property overrides

Due to the unavailability of \temporary\override, \acciaccatura and
\slashedGrace had been losing any previous setting of
Flag.stroke-style.

\crossStaff had been losing the previous setting of Flag.style.

\harmonicByFret and \harmonicDots had been losing the previous setting
of TabNoteHead.stencil, NoteHead.Y-extent and NoteHead.stencil.

\temporary\override is employed in this patch for fixing those
shortcomings.

11 years agoMerge branch 'symbol_list_simple' into master
David Kastrup [Fri, 26 Oct 2012 04:36:35 +0000 (06:36 +0200)]
Merge branch 'symbol_list_simple' into master

The following commits lead to uncompilable states before convert-ly is
being run, so they are combined into one merge commit for the sake of
bisection:

63a426b Run scripts/auxiliar/update-with-convert-ly.sh
5801d8b Change \footnote user interface and behavior to match \hide/\omit etc.
7dfbfb4 Let \overrideProperty accept nested properties
5ec4720 Change \tweak syntax to symbol syntax
a3d7090 convert-ly rule for \alterbroken, \accidentalStyle, \overrideProperty
15cae1f Change \accidentalStyle to get a symbol list as argument
53e6d49 Make \alterBroken, \hide, \omit, \overrideProperty, \shape take unquoted Context.Grob specs

11 years agoRun scripts/auxiliar/update-with-convert-ly.sh
David Kastrup [Thu, 25 Oct 2012 19:34:10 +0000 (21:34 +0200)]
Run scripts/auxiliar/update-with-convert-ly.sh

11 years agoChange \footnote user interface and behavior to match \hide/\omit etc.
David Kastrup [Thu, 11 Oct 2012 10:48:25 +0000 (12:48 +0200)]
Change \footnote user interface and behavior to match \hide/\omit etc.

This does the following changes to the footnote user interface for
footnotes in music rather than in markups:

Time-based footnote syntax:

    \footnote [mark] offset #'Grob text \default
->  \footnote [mark] offset text [ Context. ] Grob

Like with any override, you now need to specify Context if it is not
supposed to be Bottom, like with Staff.TimeSignature.

Music-based footnote syntax:

    \footnote [mark] offset text music
->  stays identical

    \footnote [mark] offset #'Grob text music
->  \single\footnote [mark] offset text Grob music

Specifying Context.Grob is possible, but Context gets ignored.

11 years agoLet \overrideProperty accept nested properties
David Kastrup [Tue, 9 Oct 2012 12:56:05 +0000 (14:56 +0200)]
Let \overrideProperty accept nested properties

11 years agoChange \tweak syntax to symbol syntax
David Kastrup [Wed, 10 Oct 2012 15:46:51 +0000 (17:46 +0200)]
Change \tweak syntax to symbol syntax

Instead of \tweak #'color, \tweak color can now be used.
Instead of \tweak Accidental #'color, \tweak Accidental.color is used.

The second change is mandatory, a convert-ly rule puts it in place.

11 years agoconvert-ly rule for \alterbroken, \accidentalStyle, \overrideProperty
David Kastrup [Mon, 8 Oct 2012 21:54:19 +0000 (23:54 +0200)]
convert-ly rule for \alterbroken, \accidentalStyle, \overrideProperty

This is required since not all of the old call forms can be
automatically recognized anymore, in particular not when the
Scheme-only form #"Context.GrobName" is being used.

11 years agoChange \accidentalStyle to get a symbol list as argument
David Kastrup [Mon, 8 Oct 2012 19:28:27 +0000 (21:28 +0200)]
Change \accidentalStyle to get a symbol list as argument

This changes the syntax of \accidentalStyle to accept specs like
Voice.piano-cautionary .

11 years agoReplace the rather fuzzy list-or-symbol? with symbol-list-or-symbol?
David Kastrup [Tue, 9 Oct 2012 11:26:52 +0000 (13:26 +0200)]
Replace the rather fuzzy list-or-symbol? with symbol-list-or-symbol?

list-or-symbol? was previously used in the meaning of
symbol-list-or-symbol? only, and there is no point in not checking the
list members for actually being symbols, in order to avoid ugly
surprises later.

11 years agoMake \alterBroken, \hide, \omit, \overrideProperty, \shape take unquoted Context...
David Kastrup [Mon, 8 Oct 2012 18:26:04 +0000 (20:26 +0200)]
Make \alterBroken, \hide, \omit, \overrideProperty, \shape take unquoted Context.Grob specs

This changes the syntax of the named commands to accept
Voice.Accidental and similar specifications without any quoting.

11 years agoAdd symbol-list-or-music? predicate
David Kastrup [Mon, 8 Oct 2012 17:43:35 +0000 (19:43 +0200)]
Add symbol-list-or-music? predicate

This is of interest for commands like \hide which accept either music
(to see an override) or a grob specification like Accidental or
Voice.Accidental.

11 years agoAllow the string "xxx.yyy" to parse as a symbol list
David Kastrup [Mon, 8 Oct 2012 17:37:15 +0000 (19:37 +0200)]
Allow the string "xxx.yyy" to parse as a symbol list

This changes the parser to let xxx.yyy be a valid way of specifying a
function argument required to be #'(xxx yyy).

11 years agoAllow property and grob paths to be constructed from strings
David Kastrup [Mon, 8 Oct 2012 15:52:36 +0000 (17:52 +0200)]
Allow property and grob paths to be constructed from strings

This allows use of either
\override Accidental color = #red
or
\override Accidental.color = #red
(in addition to existing forms), both for context modifications or for
property overrides in music, the latter with optional leading context
spec defaulting to Bottom. .  The same holds for reverts.

11 years agoAdd symbol-list? predicate
David Kastrup [Thu, 4 Oct 2012 13:44:25 +0000 (15:44 +0200)]
Add symbol-list? predicate

11 years agoAllow LilyPond strings to stand in for symbols when parsing
David Kastrup [Thu, 4 Oct 2012 17:38:38 +0000 (19:38 +0200)]
Allow LilyPond strings to stand in for symbols when parsing

Bare words and quote-enclosed words meeting word syntax can now be
used when a function argument expects to see a symbol.

11 years agoLet \accidentalStyle detect its optional context argument by looking at its letter...
David Kastrup [Sun, 7 Oct 2012 08:22:55 +0000 (10:22 +0200)]
Let \accidentalStyle detect its optional context argument by looking at its letter case

This is a fishy stopgap measure to let \accidentalStyle able to
distinguish #'Voice "default" from "default" alone while we generate
symbols from from #'Voice as well as "default".  If the first letter
is uppercase, the symbol is considered to be a context specification.

11 years agoFactor SCM_IDENTIFIER out from embedded_scm_arg*
David Kastrup [Sat, 6 Oct 2012 14:15:28 +0000 (16:15 +0200)]
Factor SCM_IDENTIFIER out from embedded_scm_arg*

SCM_IDENTIFIER indicates "active Scheme" introduced with $ that is
subject to copying and reinterpretation.  While the parser had its own
*_IDENTIFIER category for everything interpreted specially, the
fallback SCM_IDENTIFIER itself never needed special or different
treatment from material generated with # (SCM_TOKEN).  As the various
*_IDENTIFIER types are faded out, this is changing.  As a consequence,
SCM_IDENTIFIER no longer shares the non-terminals with other
Scheme-type definitions.

11 years agoparser.yy: make is_regular_identifier match the lexer definition
David Kastrup [Thu, 4 Oct 2012 15:11:25 +0000 (17:11 +0200)]
parser.yy: make is_regular_identifier match the lexer definition

is_regular_identifier checks now for valid identifiers employing the
definition of words that is also used in the lexer: letters, and
characters outside of the ASCII range, interspersed with single - and
_ characters.

11 years agoparser.yy: FRACTION does not require a closed expression before it
David Kastrup [Tue, 2 Oct 2012 14:45:44 +0000 (16:45 +0200)]
parser.yy: FRACTION does not require a closed expression before it

FRACTION items can't trail any other valid expression without
separating '*' or similar, so the argument list before them does not
need to be of "closed" type.

11 years agoAssignments can't contain literal lyric music (wrong lexer mode)
David Kastrup [Tue, 2 Oct 2012 14:43:11 +0000 (16:43 +0200)]
Assignments can't contain literal lyric music (wrong lexer mode)

Since assignments can't happen in lyrics mode (only in INITIAL mode or
the initial music mode), there is no point in supporting
non-mode-switching items on the right side of assignments that can
only occur in lyrics mode.

11 years agoMerge remote-tracking branch 'origin/translation' into master
David Kastrup [Thu, 25 Oct 2012 17:14:27 +0000 (19:14 +0200)]
Merge remote-tracking branch 'origin/translation' into master

11 years agoCG: fixed wrong link to Contact in web
Federico Bruni [Tue, 23 Oct 2012 06:30:30 +0000 (08:30 +0200)]
CG: fixed wrong link to Contact in web

11 years agoUpdate contributors.
Julien Rioux [Sun, 14 Oct 2012 14:34:22 +0000 (10:34 -0400)]
Update contributors.

11 years agoAttic: Add link to release announcement for v2.16
Julien Rioux [Sun, 14 Oct 2012 12:45:19 +0000 (08:45 -0400)]
Attic: Add link to release announcement for v2.16