Phil Holmes [Wed, 31 Aug 2016 08:06:31 +0000 (09:06 +0100)]
Release: bump VERSION.
Phil Holmes [Wed, 31 Aug 2016 08:05:44 +0000 (09:05 +0100)]
Merge remote-tracking branch 'origin/release/unstable' into HEAD
Phil Holmes [Tue, 30 Aug 2016 10:23:53 +0000 (11:23 +0100)]
Update release/unstable with recent changes
David Kastrup [Wed, 24 Aug 2016 17:45:55 +0000 (19:45 +0200)]
Issue 4959: output-ps.scm: remove unused helper functions
Their presence makes debugging harder by laying false trails.
David Kastrup [Mon, 15 Aug 2016 21:45:21 +0000 (23:45 +0200)]
Issue 4957: parser.yy: loc_on_music -> loc_on_copy
The function loc_on_music has been renamed to loc_on_copy and has been
changed to create a copy for a number of different expression types.
This makes \xxx.yyy behave similar to \xxx-yyy with regard to copying
the original expression in most cases, and it also helps with default
arguments of music/void/event/scheme functions of more types than just
music.
David Kastrup [Tue, 16 Aug 2016 14:23:57 +0000 (16:23 +0200)]
Issue 4956/4: Add regtest for \retrograde
David Kastrup [Mon, 15 Aug 2016 17:09:52 +0000 (19:09 +0200)]
Issue 4956/3: Augment warning about \retrograde
Ties work now, but the documentation points out a lot of other
shortcomings.
David Kastrup [Mon, 15 Aug 2016 15:41:04 +0000 (17:41 +0200)]
Issue 4956/2: Improve retrograde-music function
This allows to work with ties and glissandi, makes somewhat useful
changes for overrides, changes crescendi to descrescendi and vice versa.
David Kastrup [Mon, 15 Aug 2016 15:40:05 +0000 (17:40 +0200)]
Issue 4956/1: Let \retrograde expand repeat chords/notes
Since those lose their point of reference, expanding them
prior to retrograding keeps the results sane.
Mark Knoop [Tue, 2 Aug 2016 09:26:46 +0000 (10:26 +0100)]
Doc: CG update Indenting with vim section
Suggestions for .vimrc did not produce correct indentation of C++
code, and also included personal and irrelevant settings such as
statusline and incsearch. I have replaced them with the settings
in the GNU GCC Wiki which do correctly indent. Also changed
suggested Scheme settings to use setlocal, and added a section of
settings for Texinfo files.
David Kastrup [Sun, 7 Aug 2016 11:57:25 +0000 (13:57 +0200)]
Issue 4954/2: Changes entries for \= and in-chord slurs
Nathan Chou [Tue, 26 Jul 2016 00:45:29 +0000 (17:45 -0700)]
Issue 4954/1: Change spanner-id to be a key instead of a string
Also changes argument \= to be a key.
Backport-by: David Kastrup <dak@gnu.org>
Phil Holmes [Sat, 13 Aug 2016 12:39:07 +0000 (13:39 +0100)]
Release: bump Welcome versions.
Phil Holmes [Sat, 13 Aug 2016 12:39:07 +0000 (13:39 +0100)]
Release: update news.
Phil Holmes [Sat, 13 Aug 2016 12:39:07 +0000 (13:39 +0100)]
PO: update template.
Phil Holmes [Sat, 13 Aug 2016 12:39:07 +0000 (13:39 +0100)]
Release: bump VERSION_DEVEL.
Thomas Morley [Sun, 7 Aug 2016 10:00:13 +0000 (12:00 +0200)]
Issue 4952 Clearify ending of hairpins at bar line in NR
Thomas Morley [Mon, 8 Aug 2016 10:38:46 +0000 (12:38 +0200)]
Issue 4953 Fix SchemeTextSpanEvent in scheme-text-spanner.ly
Adding 'post-event to the types of SchemeTextSpanEvent in
(define scheme-event-spanner-types ...)
Werner Lemberg [Thu, 11 Aug 2016 04:52:15 +0000 (06:52 +0200)]
Typos.
James Lowe [Sun, 31 Jul 2016 16:32:44 +0000 (17:32 +0100)]
Doc: Extending - rewrite - LilyPond Variables
Issue 4948
Last para of Extending/LP variables
rewrite for clarity.
Jean-Charles Malahieude [Sun, 7 Aug 2016 14:04:48 +0000 (16:04 +0200)]
Doc: updates translation status
Jean-Charles Malahieude [Sun, 7 Aug 2016 13:58:22 +0000 (15:58 +0200)]
Doc-fr: Change Lilypond to LilyPond where it refers to the software
and NR: show optional \afterGrace argument
Carl Sorensen [Sat, 6 Aug 2016 18:37:49 +0000 (12:37 -0600)]
Change Lilypond to LilyPond where it refers to the software
Carl Sorensen [Sat, 6 Aug 2016 13:15:18 +0000 (07:15 -0600)]
Change 'Lily Pond' to 'LilyPond' in two translations
Dan Eble [Wed, 15 Jun 2016 22:54:53 +0000 (18:54 -0400)]
Issue 4947: Link notes to dynamics in Dynamic_performer rather than
Staff_performer. Dynamics in different voices are now independent.
David Kastrup [Wed, 27 Jul 2016 10:02:28 +0000 (12:02 +0200)]
Issue 4945/2: midi2ly should omit redundant chord durations
David Kastrup [Wed, 27 Jul 2016 10:01:48 +0000 (12:01 +0200)]
Issue 4945/1: midi2ly -e should not print durations in chords
David Kastrup [Thu, 21 Jul 2016 21:11:31 +0000 (23:11 +0200)]
Issue 4941/2: NR: show optional \afterGrace argument
David Kastrup [Thu, 21 Jul 2016 09:51:44 +0000 (11:51 +0200)]
Issue 4941/1: Optional fraction after \afterGrace command
\afterGrace had its fraction determining the position of the aftergrace
notes hardwired to be read from the parser variable afterGraceFraction.
This change here allows for optionally specifying it right as the first
argument of the \afterGrace command.
Phil Holmes [Tue, 2 Aug 2016 14:59:04 +0000 (15:59 +0100)]
Issue 4853 - correct make syntax in CG
Jean-Charles Malahieude [Sat, 30 Jul 2016 15:15:40 +0000 (17:15 +0200)]
Doc-fr: sync NR with master
Jean-Charles Malahieude [Sat, 30 Jul 2016 10:46:33 +0000 (12:46 +0200)]
Merge branch 'master' of /home/jcharles/GIT/Lily/. into translation
Federico Bruni [Thu, 28 Jul 2016 12:15:55 +0000 (14:15 +0200)]
Doc-it: fix error of translation
James Lowe [Mon, 18 Jul 2016 19:17:01 +0000 (20:17 +0100)]
Doc: CG fix misleading location for copying tarbal
Issue 4933
Fix misleading location
for copying tarball.
Heikki Tauriainen [Wed, 20 Jul 2016 10:06:56 +0000 (13:06 +0300)]
Issue 4938 (3/3) Rename Midi_control_function_performer to Midi_control_change_performer
Heikki Tauriainen [Thu, 7 Jan 2016 20:34:56 +0000 (22:34 +0200)]
Issue 4938 (2/3) Refactor handling of MIDI control changes
Handle the MIDI control value initialization from context properties
(Staff_performer::new_audio_staff), control value changes
(Midi_control_function_performer::announce_function_value_change), and
value conversion for output
(Midi_control_function_value_change::to_string) in the new
Midi_control_change_announcer class.
All MIDI control changes are now encoded using
{Audio,Midi}_control_change items. This change makes the old
{Audio,Midi}_control_function_value_change classes obsolete.
Heikki Tauriainen [Thu, 7 Jan 2016 20:02:07 +0000 (22:02 +0200)]
Issue 4938 (1/3) Add Audio_item and Midi_item subclasses for control changes
Phil Holmes [Wed, 27 Jul 2016 14:43:11 +0000 (15:43 +0100)]
Release: bump VERSION.
Phil Holmes [Wed, 27 Jul 2016 14:41:59 +0000 (15:41 +0100)]
Merge remote-tracking branch 'origin/release/unstable' into HEAD
Masamichi Hosoda [Thu, 21 Jul 2016 12:45:00 +0000 (21:45 +0900)]
Issue 4940/2: Replace texinfo.tex macro name
texinfo.tex ver. 2016-05-28.15 renames
commondummies to definedummies.
So we need to replace it which we use.
Masamichi Hosoda [Thu, 21 Jul 2016 12:41:48 +0000 (21:41 +0900)]
Issue 4940/1: Update texinfo.tex from upstream
texinfo.tex ver. 2016-07-20.14
This ver. fixes XeTeX PDF destination.
Werner Lemberg [Wed, 27 Jul 2016 04:17:43 +0000 (06:17 +0200)]
Phil Holmes [Tue, 26 Jul 2016 09:57:53 +0000 (10:57 +0100)]
Release: update news.
Heikki Tauriainen [Sun, 24 Jul 2016 19:39:11 +0000 (20:39 +0100)]
Doc: NR Describe the "midititle" \header variable
Issue 4932
The "midititle" header variable
can be used to set the sequence
name for MIDI files independently
of the contents of "title".
Phil Holmes [Sun, 24 Jul 2016 13:51:45 +0000 (14:51 +0100)]
Try changing near and far
Phil Holmes [Sun, 24 Jul 2016 10:11:33 +0000 (11:11 +0100)]
Release: bump Welcome versions.
Phil Holmes [Sun, 24 Jul 2016 10:11:33 +0000 (11:11 +0100)]
Release: update news.
Phil Holmes [Sun, 24 Jul 2016 10:11:33 +0000 (11:11 +0100)]
PO: update template.
Phil Holmes [Sun, 24 Jul 2016 10:11:32 +0000 (11:11 +0100)]
Release: bump VERSION_DEVEL.
Walter Garcia-Fontes [Sat, 23 Jul 2016 12:14:15 +0000 (14:14 +0200)]
Doc-ca: Catalan translation fixes
Walter Garcia-Fontes [Sun, 17 Jul 2016 14:05:13 +0000 (16:05 +0200)]
Doc-ca: Catalan translation fixes
Walter Garcia-Fontes [Sat, 16 Jul 2016 21:04:38 +0000 (23:04 +0200)]
Doc-ca: New Catalan translations and fixes
Heikki Tauriainen [Sat, 23 Jul 2016 09:48:11 +0000 (12:48 +0300)]
4944: Do not initialize static constants in class body (fix FTBFS on GCC 6)
Guido Aulisi [Fri, 22 Jul 2016 13:26:29 +0000 (15:26 +0200)]
Issue 4814: grob.cc segfaults with gcc6
From the release notes of GCC 6:
Optimizations remove null pointer checks for this
When optimizing, GCC now assumes the this pointer can never be null,
which is guaranteed by the language rules. Invalid programs which
assume it is OK to invoke a member function through a null
pointer (possibly relying on checks like this != NULL) may crash or
otherwise fail at run time if null pointer checks are optimized
away. With the -Wnull-dereference option the compiler tries to warn
when it detects such invalid code.
If the program cannot be fixed to remove the undefined behavior then
the option -fno-delete-null-pointer-checks can be used to disable
this optimization. That option also disables other optimizations
involving pointers, not only those involving this.
As a consequence, we cannot call a member function on a prospective null
pointer (which actually is a bad idea for a number of other reasons,
like when anything tries accessing the vtable) and then try sorting out
the condition in the routine itself.
This problem was first observed with Fedora 24. The Ubuntu GCC6
prerelease does not show this problem; presumably the respective
optimization has been disabled in the Ubuntu/Debian packaging because of
affecting other programs.
Commit-message-by: David Kastrup <dak@gnu.org>
Signed-off-by: David Kastrup <dak@gnu.org>
Werner Lemberg [Sat, 23 Jul 2016 11:13:23 +0000 (13:13 +0200)]
Doc: In NR, use comma before and after `etc.' where appropriate.
Werner Lemberg [Thu, 21 Jul 2016 13:32:03 +0000 (15:32 +0200)]
Doc: Make `Predefined commands' sections ragged-right.
This greatly enhances the PDF output.
Werner Lemberg [Thu, 21 Jul 2016 10:23:22 +0000 (12:23 +0200)]
Doc: Various minor fixes to NR.
Werner Lemberg [Thu, 21 Jul 2016 10:21:12 +0000 (12:21 +0200)]
Doc: In NR, always write comma after `e.g.' and `i.e.'.
This especially improves the formatting of `notation.pdf'.
Federico Bruni [Wed, 20 Jul 2016 13:37:43 +0000 (15:37 +0200)]
Doc-de: fix div class
Thanks Marc for the report:
http://lists.gnu.org/archive/html/lilypond-devel/2016-07/msg00116.html
Dan Eble [Mon, 4 Jul 2016 15:18:55 +0000 (11:18 -0400)]
Issue 4048 (5/5) Add midi regtests covering depart-return crescendo performance
Dan Eble [Sat, 25 Jun 2016 13:04:13 +0000 (09:04 -0400)]
Issue 4048 (4/5) Handle multiple (de)crescendi in depart/return groups
Dan Eble [Mon, 4 Jul 2016 15:13:33 +0000 (11:13 -0400)]
Issue 4048 (3/5) Add midi regtest decrescendo-single-contrary-target
Dan Eble [Wed, 15 Jun 2016 22:40:01 +0000 (18:40 -0400)]
Issue 4048 (2/5) Dynamic_performer: represent dynamics as a piecewise
linear function rather than a collection of discrete points
Dan Eble [Sat, 2 Jul 2016 15:12:46 +0000 (11:12 -0400)]
Issue 4048 (1/5) Add some midi regtests
Replace crescendo-abutting with variations crescendo-return-crescendo
and crescendo-return-unspecified-target.
David Kastrup [Sun, 10 Jul 2016 16:52:03 +0000 (18:52 +0200)]
Issue 4926: Remove warning to use \harmonics in chords only
This restriction has been abolished with issue 2240, "Don't wrap
EventChord around rhythmic events by default."
Masamichi Hosoda [Fri, 8 Jul 2016 16:48:30 +0000 (01:48 +0900)]
Issue 4924: Fix the warning message for OTC fonts
This commit fixes the warning message for OTC fonts.
Federico Bruni [Sun, 17 Jul 2016 15:37:22 +0000 (17:37 +0200)]
Doc: specify which \header blocks generate PDF metadata
Issue 4921
Jean-Charles Malahieude [Sat, 16 Jul 2016 11:44:42 +0000 (13:44 +0200)]
Doc-fr : sync with master
David Kastrup [Fri, 8 Jul 2016 19:41:54 +0000 (21:41 +0200)]
Issue 4925: Don't use @code inside of @example
@example is already set in monospace font (use @display if you don't
want to change fonts). This replacement was done mechanically using
the script
sed -i '/@example *$/,/@end example *$/{s/@code{\(\([^@}]\|@[@{}]\)*\)}/\1/g;s/ \+$//;}' $(git grep -l '^@end example$' Documentation)
so not all replacements are really formatted best. But overall this
looks like an improvement.
Masamichi Hosoda [Fri, 8 Jul 2016 16:37:27 +0000 (01:37 +0900)]
Issue 4923/2: Add closing a file in `scale-down-image`
This commit adds `close-port` for closing a file
in `scale-down-image`.
Masamichi Hosoda [Fri, 8 Jul 2016 16:16:39 +0000 (01:16 +0900)]
Issue 4923/1: Add closing a file in `is-collection-fonts?`
This commit adds `close-port` for closing a file
in `is-collection-fonts?`.
Masamichi Hosoda [Mon, 4 Jul 2016 14:22:54 +0000 (23:22 +0900)]
Issue 4918: Fix CFF flavored font embedding for multiple output
For multiple output (e.g. `-dbackend=eps`),
conflict checking needs to be done within each output.
Otherwise, the font which is embedded in the prior output
is not embedded in the subsequent output.
Urs Liska [Mon, 11 Jul 2016 07:54:03 +0000 (09:54 +0200)]
4915: NR: Mention standalone accidentals in figuremode
David Kastrup [Mon, 4 Jul 2016 08:08:41 +0000 (10:08 +0200)]
Issue 4917: Remove some set_location calls from parser
Older versions of Bison (current is 3.0.4) had problems assigning
location data to rules with empty production, possibly related to the
definition of YYLLOCA_DEFAULT when N is zero.
This lead to several workarounds in the code base. A number of them
dropped through the floor in the course of refactoring without
apparent problem, and the original problem does not appear to be
reproducible with the current versions of Bison.
This removes the remaining instances. Should the original problem
reoccur at some point of time (or with some versions of Bison), it
would be noticeable as bad point-and-click messages and/or error
messages with bad location data.
David Kastrup [Sun, 3 Jul 2016 14:06:59 +0000 (16:06 +0200)]
Issue 4916: Let \overrideProperty use ApplyOutputEvent.symbol
Heikki Tauriainen [Sun, 26 Jun 2016 14:47:03 +0000 (17:47 +0300)]
Issue 4907: Midi_walker::do_start_note: skip ignored notes in stop_note_queue
For each semitone pitch value, stop_note_queue is likely supposed to
contain at most one Midi_note event with its "ignore_" flag set to
false, and the comparisons between notes of equal semitone pitch to be
always done between the input note and this unique queued note that is
not (yet) being ignored.
If notes which are already being ignored are not skipped in the loop,
the task of raising the "ignore_" flags for note events of equal
semitone pitch (overlapping in time) which stop before the maximum
stopping time of these notes may, due to breaking out of the loop,
fail to work if the queue grows to contain three or more notes of equal
semitone pitch, leading to the emission of premature "note off" events
for this pitch, as demonstrated, for example, in
<http://lists.gnu.org/archive/html/bug-lilypond/2016-06/msg00042.html>.
David Kastrup [Sun, 10 Jul 2016 18:01:48 +0000 (20:01 +0200)]
Merge branch 'issue4914'
David Kastrup [Sat, 2 Jul 2016 23:42:15 +0000 (01:42 +0200)]
Issue 4914/3: Add Output_property_engraver back to Score
It was removed by a simplistic convert-ly rule.
David Kastrup [Sat, 2 Jul 2016 23:40:27 +0000 (01:40 +0200)]
Run scripts/auxiliar/update-with-convert-ly.sh
David Kastrup [Sat, 2 Jul 2016 23:40:04 +0000 (01:40 +0200)]
Issue 4914/2: convert-ly rule for removing Output_property_engraver
It's highly unlikely that users will redefine the Score context from
scratch, so the convert-ly rule just removes every occurence of
Output_property_engraver from user source. Obviously, when running the
rule on the LilyPond code base, we will need to fix up the Score
engraver manually to retain the Output_property_engraver .
David Kastrup [Sat, 2 Jul 2016 23:37:15 +0000 (01:37 +0200)]
Issue 4914/1: Move Output_property_engraver to Score level
This has the advantage of needing only one instantiation of the engraver
and not having \applyOutput mysteriously refrain from having an effect
in contexts without Output_property_engraver .
Due to the hierarchical nature of acknowledgers, acknowledgers in lower
contexts will now get to see the grobs before applyOutput has done its
work. However, grobs are still unfinished (except for type, properties
initialized via context properties and cause) at the time they are
announced, with other details only getting filled in by the engraver
after announcement, so the potential for trouble seems low.
Acknowledgers should usually just register a grob (or write grob data)
with any actual reading of grob data occurring at the end of the
timestep instead or in the process-acknowledged phase.
David Kastrup [Sat, 2 Jul 2016 09:23:43 +0000 (11:23 +0200)]
Issue 4911/4: Fix comments in context-mod-with regtest
David Kastrup [Thu, 30 Jun 2016 15:26:01 +0000 (17:26 +0200)]
Issue 4911/3: Don't treat context modification identifiers special
This requires using \with before context modifications like
\RemoveEmptyStaves in order to make the syntax get along
with fewer special cases and exceptions.
David Kastrup [Thu, 30 Jun 2016 18:38:27 +0000 (20:38 +0200)]
Run scripts/auxiliar/update-with-convert-ly.sh
David Kastrup [Thu, 30 Jun 2016 16:28:23 +0000 (18:28 +0200)]
Issue 4911/2: convert-ly rule to put \with before context mods
David Kastrup [Sat, 14 Sep 2013 19:12:38 +0000 (21:12 +0200)]
Issue 4911/1: \with #*unspecified* should be equivalent to \with { }
Phil Holmes [Sat, 9 Jul 2016 20:21:48 +0000 (21:21 +0100)]
Release: bump VERSION.
Phil Holmes [Sat, 9 Jul 2016 20:21:10 +0000 (21:21 +0100)]
Merge remote-tracking branch 'origin/release/unstable' into HEAD
David Kastrup [Fri, 8 Jul 2016 16:07:54 +0000 (18:07 +0200)]
Trivial typo fix in doc-work.itexi
Phil Holmes [Fri, 8 Jul 2016 12:58:06 +0000 (13:58 +0100)]
Release: bump Welcome versions.
Phil Holmes [Fri, 8 Jul 2016 12:58:06 +0000 (13:58 +0100)]
Release: update news.
Phil Holmes [Fri, 8 Jul 2016 12:58:06 +0000 (13:58 +0100)]
PO: update template.
Phil Holmes [Fri, 8 Jul 2016 12:58:06 +0000 (13:58 +0100)]
Release: bump VERSION_DEVEL.
Masamichi Hosoda [Thu, 30 Jun 2016 14:22:55 +0000 (23:22 +0900)]
Issue 4910/3: Avoid crash when g_spawn_sync () fails
When g_spawn_sync () fails,
`standard_output` and `standard_error` may not be set.
This commit makes to check whether or not the value is valid.
Masamichi Hosoda [Thu, 30 Jun 2016 14:15:41 +0000 (23:15 +0900)]
Issue 4910/2: Replace the warning message output method in ly_run_command ()
This commit replaces
the warning message output method in ly_run_command ()
from fprintf () to warning ().
Masamichi Hosoda [Thu, 30 Jun 2016 13:59:15 +0000 (22:59 +0900)]
Issue 4910/1: Fix memory leak in ly:spawn ()
This commit makes free the memory allocated by g_spawn_sync ().
John Gourlay [Thu, 23 Jun 2016 19:49:25 +0000 (15:49 -0400)]
Reimplement issue 4781 for musicxml2ly more literally. Reimplementation
was necessary as part of the implementation of issue 4751, but some of
the code changes for 4781 were omitted. This reproduces all the 4781 changes.
David Kastrup [Sat, 2 Jul 2016 08:08:42 +0000 (10:08 +0200)]
Issue 4912: Fix output definition use in \book and \bookpart
The only explicit output definition blocks allowed in \book and
\bookpart blocks were paper blocks. Output definitions supplied with
Scheme expressions were erroneously interpreted like global output
definitions, accepting all output definition types and overriding the
global defaults with them.
Now the only output definitions accepted as Scheme expressions are
paper blocks. As opposed to previously, they actually set the paper
block of the respective book or bookpart.
David Kastrup [Wed, 29 Jun 2016 16:58:11 +0000 (18:58 +0200)]
Issue 4908/7: Add Changes entry for \header expressions
David Kastrup [Thu, 30 Jun 2016 10:23:50 +0000 (12:23 +0200)]
Issue 4908/6: Use \markupId and \stringId in identifiers regtest