David Kastrup [Sat, 24 Oct 2015 11:18:50 +0000 (13:18 +0200)]
Fix GC catastrophe in Slur_proto_engraver::derived_mark
In Slur_proto_engraver::Event_info, note_ will be 0 for slurs not
attached to particular note events. Calling self_scm on it is likely
to be a fatal error.
Thomas Morley [Tue, 13 Oct 2015 17:31:06 +0000 (19:31 +0200)]
simplify `make-bezier-stencil'
issue 4637
Use `make-path-stencil' for it.
As a consequence `make-curved-barre-stencil' from scm/fretdiagrams.scm
is simplified as well.
`make-parenthesis-stencil' in scm/stencil.scm a little bit, at least.
David Kastrup [Fri, 9 Oct 2015 14:17:49 +0000 (16:17 +0200)]
Issue 4634: Simplify coord-rotate
This does not fix the problem that (sin PI) is not really zero because
of the MPU working with higher precision than PI is specified, but at
least it makes the code nicer to read and modify.
David Kastrup [Mon, 24 Aug 2015 13:14:17 +0000 (15:14 +0200)]
Issue 4632: Make \tempo expression more discriminating
Previously \tempo accepted almost arbitrary expressions but was only
able to interpret textual expressions (markup or strings). Restrict the
accepted values to actual texts.
David Kastrup [Tue, 6 Oct 2015 13:36:28 +0000 (15:36 +0200)]
Issue 4630/2: Add override_input to music created from loc_on_music
This makes sure that music created from default arguments of function
calls appears to generate from surrounding music function calls rather
than the music function body.
James Lowe [Wed, 23 Sep 2015 11:01:47 +0000 (12:01 +0100)]
Doc: Included/compile.itexi - CG 4.2 - Updated notes on reqs for compiling
Added explicit instructions
for the more common Linux
Distributions as to which
commands to run to download
the correct software packages
to be able to compile LilyPond
and its documentation.
Included instructions for:
* Fedora 22
* Linux Mint (17.1 and LMDE - Betsy)
* OpenSUSE 13.2
* Ubuntu (14.04LTS, 14.10 and 15.04)
These instructions are based
on 2.19.27 and later, but should
also work for any earlier stable
2.18 release.
The lists of separate packages
are now put in a single section
for those distributions not
explicitly listed above. New
information added:
Information regarding Tex Gyre
fonts (required as of 2.19.26
or thereabouts).
More explicit instructions for
TExi2html 1.82 for distros now
using version 5.x.
Added URL for 'autoconf' tools.
Removed information about how to
fix a bug in Bison as this was
referring to a very old version
(1.85) and now just simply
recommend using 2.0 or newer.
David Kastrup [Tue, 10 Sep 2013 16:22:40 +0000 (18:22 +0200)]
Issue 4131/1: Reimplement forced partcombine decisions via context properties
One music type and concept less to worry about.
Since this tracks the partcombine decisions via context properties,
using one forced partcombine override in one voice will not be cancelled
by another forced partcombine in another.
In the event stream, \once\override is indistinguishable from
\override ... \revert so in order to be able to implement
\once\partcombine ... in one voice, we have to retain any permanent
\partcombineForce in the other.
Dan Eble [Sat, 3 Oct 2015 16:29:13 +0000 (12:29 -0400)]
Issue 4550 (2/2) Avoid "using namespace std;" in included files
These changes are produced by a rather long shell script that is
posted in the code review for this issue. Summary:
* remove "using namespace std;" everywhere
* add "std::" in *.hh and other included files
* add "std::" to functions and lesser-used types in *.cc files
Dan Eble [Sat, 8 Aug 2015 17:11:02 +0000 (13:11 -0400)]
Issue 4550 (1/2) Avoid "using namespace std;" in included files
These are manual changes in preparation for an automated removal of
"using namespace std;".
Mostly these are additions of using-declarations for commonly used
types and containers (e.g. std::string, std::vector) to *.cc files so
that they will continue to build after the big removal.
`extroversion' specifies where on the specified polygon to draw with the
pen of the given thickness. Its default of -1 corresponds to the
previous behavior of drawing strictly inside of the given polygon. An
extroversion value of 0 draws exactly along the given polygon, and a
value of 1 will draw just outside of the given polygon.
David Kastrup [Wed, 23 Sep 2015 19:50:39 +0000 (21:50 +0200)]
Issue 4618: Correct argument handling of Unpure_pure_call::call
When ly:make-unpure-pure-container is called with a single procedure
argument, this procedure is used for both unpure and pure calls. It
turns out that the calling convention in call_pure_function places the
start/end arguments always in position 2/3 of the call.
Unpure_pure_call::call previously always dropped the last 2 arguments of
a pure call before passing the rest on. Most calls take exactly 3
arguments (grob start end) where this does not make a difference, but
there may be use cases with a different number of arguments.
James Lowe [Wed, 23 Sep 2015 07:46:19 +0000 (08:46 +0100)]
Doc: CG - remove link to R. Kainhofer's doc builds
This link no longer works
I have not been able to
find any equivalent on
Reinhold's own site and
had no reply when contacted
by email to confirm if this
link had moved or was now
deprecated.
David Kastrup [Wed, 16 Sep 2015 19:43:50 +0000 (21:43 +0200)]
Issue 4611: Don't give RepeatTieColumn a `cause' event
Rationale: the cause is used for point-and-click information and for
stuff like \parenthesize, and a RepeatTieColumn does not have metrics
that would be useful for that. In particular, this causes code like
{ c'1-\parenthesize\repeatTie }
to compile without spurious parens and error messages.
David Kastrup [Tue, 15 Sep 2015 18:50:13 +0000 (20:50 +0200)]
Issue 4609/4: Move \once action from iterators to listeners
This ends the dependency of the events generated for \once\unset and
\once\set on the current context (bad for recording and replaying events
like with the part combiner and quoted music). It also implements
\once\revert and makes every \once\override and \once\revert impervious
to any other overrides and reverts that may happen at the same time.