]> git.donarmstrong.com Git - lilypond.git/log
lilypond.git
7 years agoMerge branch 'master' of /home/jcharles/GIT/Lily/. into translation
Jean-Charles Malahieude [Sat, 2 Jul 2016 14:11:49 +0000 (16:11 +0200)]
Merge branch 'master' of /home/jcharles/GIT/Lily/. into translation

7 years agoDoc-ca: nitpick in web.texi
Jean-Charles Malahieude [Sat, 2 Jul 2016 14:10:53 +0000 (16:10 +0200)]
Doc-ca: nitpick in web.texi

7 years agoDoc-ca: Catalan translations and corrections
Walter Garcia-Fontes [Thu, 30 Jun 2016 14:09:24 +0000 (16:09 +0200)]
Doc-ca: Catalan translations and corrections

7 years agoDoc-ca: Catalan translations and corrections
Walter Garcia-Fontes [Tue, 21 Jun 2016 07:50:35 +0000 (09:50 +0200)]
Doc-ca: Catalan translations and corrections

7 years agoDoc-it: add NR "World music" chapter
Federico Bruni [Thu, 30 Jun 2016 16:49:10 +0000 (18:49 +0200)]
Doc-it: add NR "World music" chapter

7 years agoIssue 4902/2: Improve `-dgs-load-fonts` option for TTF
Masamichi Hosoda [Sun, 19 Jun 2016 12:54:46 +0000 (21:54 +0900)]
Issue 4902/2: Improve `-dgs-load-fonts` option for TTF

`-dgs-load-fonts` loads fonts via Ghostscript.
However, if a TrueType font (TTF)
that does not have glyph names is loaded via Ghostscript,
all characters are shown in TOFU.

This commit lets `-dgs-load-fonts` loads those fonts
in a way that is not via Ghostscript.

7 years agoIssue 4902/1: Add procedure `ly:has-glyph-names?`
Masamichi Hosoda [Sun, 19 Jun 2016 12:48:01 +0000 (21:48 +0900)]
Issue 4902/1: Add procedure `ly:has-glyph-names?`

This commit adds procedure `ly:has-glyph-names?`
to check whether or not a font has glyph names.

7 years agoIssue 4901: Improve `-dgs-load-fonts` option for OTC fonts
Masamichi Hosoda [Sun, 19 Jun 2016 02:59:45 +0000 (11:59 +0900)]
Issue 4901: Improve `-dgs-load-fonts` option for OTC fonts

`-dgs-load-fonts` loads fonts via Ghostscript.
However, Ghostscript could not load
OpenType/CFF Collection (OTC) fonts by this way.
http://bugs.ghostscript.com/show_bug.cgi?id=696808

This commit lets `-dgs-load-fonts` loads the OTC fonts
in a way that is not via Ghostscript.

7 years agoIssue 4900: Improve `-dgs-load-fonts` option for non-zero font-index
Masamichi Hosoda [Sat, 18 Jun 2016 13:49:44 +0000 (22:49 +0900)]
Issue 4900: Improve `-dgs-load-fonts` option for non-zero font-index

`-dgs-load-fonts` loads fonts via Ghostscript.
However, it could not load the font that has non-zero font-index.
This commit lets it loads the font
in a way that is not via Ghostscript.

7 years agoDoc-it: update
Federico Bruni [Sun, 26 Jun 2016 07:39:53 +0000 (09:39 +0200)]
Doc-it: update

7 years agoDon't overload Slur_engraver::listen_slur
David Kastrup [Sat, 25 Jun 2016 21:01:25 +0000 (23:01 +0200)]
Don't overload Slur_engraver::listen_slur

Having two overloaded variants of Slur_engraver::listen_slur leads to
problems with ADD_LISTENER template resolution at least in some versions
of g++.  So the two-argument version is renamed to listen_note_slur.

7 years agoIssue 4903/4: Fold Slur_proto_engraver into Slur_engraver
David Kastrup [Mon, 20 Jun 2016 21:48:14 +0000 (23:48 +0200)]
Issue 4903/4: Fold Slur_proto_engraver into Slur_engraver

A symmetrical common base class to both Slur_engraver and
Phrasing_slur_engraver seems like an unnecessary complication.  Instead,
Phrasing_slur_engraver can just be derived from Slur_engraver .

7 years agoIssue 4903/3: Restructure slur engravers
David Kastrup [Mon, 20 Jun 2016 18:37:46 +0000 (20:37 +0200)]
Issue 4903/3: Restructure slur engravers

Replaces data members specific to derived classes of Slur_proto_engraver
with virtual functions.

7 years agoIssue 4903/2: {phrasing-,}slur-engraver.cc: adjust includes
David Kastrup [Tue, 21 Jun 2016 00:05:54 +0000 (02:05 +0200)]
Issue 4903/2: {phrasing-,}slur-engraver.cc: adjust includes

7 years agoIssue 4903/1: internal_make_grob: Remove unused `name' argument
David Kastrup [Mon, 20 Jun 2016 21:00:28 +0000 (23:00 +0200)]
Issue 4903/1: internal_make_grob: Remove unused `name' argument

7 years agoIssue 4898: Set rhythmic-location early in paper-column-engraver
David Kastrup [Thu, 16 Jun 2016 17:12:51 +0000 (19:12 +0200)]
Issue 4898: Set rhythmic-location early in paper-column-engraver

This makes it possible to refer to rhythmic-location in callbacks
for PaperColumn grobs.

7 years agoIssue 4897: Allow multiple \with per context creation
David Kastrup [Thu, 16 Jun 2016 17:52:01 +0000 (19:52 +0200)]
Issue 4897: Allow multiple \with per context creation

This allows using more than one \with context modification in
connection with \new, \context, \addlyrics, \drums, \lyrics, \chords,
\figures .  While combining them inside of a single \with {...} is
possible, sometimes it may be inconvenient.

7 years agoIssue 4899/6: Remove {Translator,Engraver}::ack_find_base
David Kastrup [Sat, 18 Jun 2016 08:49:06 +0000 (10:49 +0200)]
Issue 4899/6: Remove {Translator,Engraver}::ack_find_base

The indirection and complication added by it does not really
help in any manner.

7 years agoIssue 4899/5: Remove Translator::method_find_base
David Kastrup [Sat, 18 Jun 2016 08:23:30 +0000 (10:23 +0200)]
Issue 4899/5: Remove Translator::method_find_base

It's basically a trivial replacement and confuses more than it helps.

7 years agoIssue 4899/4: Listeners should not be virtual
David Kastrup [Sat, 18 Jun 2016 08:13:10 +0000 (10:13 +0200)]
Issue 4899/4: Listeners should not be virtual

Gregorian_ligature_engraver::listen_pes_or_flexa and
Ligature_engraver::listen_pes_or_flexa were accidentally
declared virtual, but their registration already caters
for what amounts to virtual overrides in effect.

7 years agoIssue 4899/3: Revert "Issue 4885/2: Let ADD_ACKNOWLEDGER state actual classes"
David Kastrup [Fri, 17 Jun 2016 14:23:09 +0000 (16:23 +0200)]
Issue 4899/3: Revert "Issue 4885/2: Let ADD_ACKNOWLEDGER state actual classes"

This reverts commit 7c36dbb1834c7c68e4b94777241de3ea02971aca.

7 years agoIssue 4899/2: Revert "Issue 4885/3: Remove ack_finder/ack_find_base"
David Kastrup [Fri, 17 Jun 2016 14:13:55 +0000 (16:13 +0200)]
Issue 4899/2: Revert "Issue 4885/3: Remove ack_finder/ack_find_base"

This reverts commit b9040afd1dcfbee6b45bc3d54850ff50d51c8ee9.

7 years agoIssue 4899/1: Let method_finder also find listeners
David Kastrup [Sat, 18 Jun 2016 08:20:43 +0000 (10:20 +0200)]
Issue 4899/1: Let method_finder also find listeners

This allows using inherited listeners directly like with
acknowledgers and translator methods.

7 years agoRelease: bump VERSION.
Phil Holmes [Wed, 22 Jun 2016 08:14:00 +0000 (09:14 +0100)]
Release: bump VERSION.

7 years agoMerge remote branch 'origin/release/unstable' into HEAD
Phil Holmes [Wed, 22 Jun 2016 08:13:36 +0000 (09:13 +0100)]
Merge remote branch 'origin/release/unstable' into HEAD

7 years agoIssue 4895 Give SystemStartSquare a default of 5.0 for collapse-height
Thomas Morley [Tue, 14 Jun 2016 19:11:16 +0000 (21:11 +0200)]
Issue 4895 Give SystemStartSquare a default of 5.0 for collapse-height

This ensures same behaviour of SystemStartSquare while using
RemoveEmptyStaves as SystemStartBar, SystemStartBrace and
SystemStartBracket. The latter ones already have this default.

7 years agoRelease: bump Welcome versions. release/2.19.44-1
Phil Holmes [Tue, 21 Jun 2016 11:58:17 +0000 (12:58 +0100)]
Release: bump Welcome versions.

7 years agoRelease: update news.
Phil Holmes [Tue, 21 Jun 2016 11:58:17 +0000 (12:58 +0100)]
Release: update news.

7 years agoPO: update template.
Phil Holmes [Tue, 21 Jun 2016 11:58:17 +0000 (12:58 +0100)]
PO: update template.

7 years agoRelease: bump VERSION_DEVEL.
Phil Holmes [Tue, 21 Jun 2016 11:58:16 +0000 (12:58 +0100)]
Release: bump VERSION_DEVEL.

7 years agoCorrect accidental type for mensural fictas
Phil Holmes [Tue, 14 Jun 2016 14:23:56 +0000 (15:23 +0100)]
Correct accidental type for mensural fictas

7 years agoIssue 4896: Ignore backslash when indexing
David Kastrup [Tue, 14 Jun 2016 22:45:22 +0000 (00:45 +0200)]
Issue 4896: Ignore backslash when indexing

Apparently, this currently works just with PDF.  Info files and
HTML retain separate indexing of commands starting with backslash.

7 years agoIssue 4894: Remove unescaped @funindex entries
David Kastrup [Tue, 14 Jun 2016 18:41:13 +0000 (20:41 +0200)]
Issue 4894: Remove unescaped @funindex entries

With adjacent @funindex entries of which one differs from the other
only by the absence of a preceding backslash, the one without the
preceding backslash is removed.  This is done by using the script:

    sed -i '/^@funindex/{N;s/^@funindex \\\([^\n\\]*\)\n@funindex \1$/@funindex \\\1/mg;s/^@funindex \([^\n\\]*\)\n@funindex \\\1$/@funindex \\\1/mg;P;D;}' $(git grep -l '^@funindex')

7 years agoIssue 4883 Implement public definition of bar-line::draw-filled-box
Thomas Morley [Sun, 5 Jun 2016 15:19:57 +0000 (17:19 +0200)]
Issue 4883 Implement public definition of bar-line::draw-filled-box

bar-line::draw-filled-box calls the hereby renamed procedure
bar-line::calc-blot to determine the blot diameter.
It will be used in:
  make-simple-bar-line
  make-thick-bar-line
  make-tick-bar-line
This simplifies user-customized bar-lines, which are build with
ly:round-filled-box.
No need to copy/paste the blot-calculating procedure anymore.

7 years agoAdd halfopenvertical to script.scm
Carl Sorensen [Mon, 23 May 2016 14:56:23 +0000 (08:56 -0600)]
Add halfopenvertical to script.scm

7 years agoIssue 4866/2: Remove the settings that ignore some major OTC fonts
Masamichi Hosoda [Sun, 12 Jun 2016 10:55:51 +0000 (19:55 +0900)]
Issue 4866/2: Remove the settings that ignore some major OTC fonts

LilyPond becomes possible to handle
OpenType/CFF Collection (OTC) fonts.
So this commit removes the settings
that ignore some major OTC fonts.
OTC fonts can be used.

7 years agoIssue 4866/1: Improve OTC fonts support
Masamichi Hosoda [Sun, 12 Jun 2016 10:25:28 +0000 (19:25 +0900)]
Issue 4866/1: Improve OTC fonts support

This commit adds to distinguish font type
without filename extension,
and to switch font embedding method by font type.

OpenType/CFF Collection (OTC) fonts
which have filename extension `*.ttc' can be used.

7 years agoIssue 4890: Fix ly:format for the string that contain zero
Masamichi Hosoda [Fri, 10 Jun 2016 13:12:33 +0000 (22:12 +0900)]
Issue 4890: Fix ly:format for the string that contain zero

strcpy and strncpy cannot be used in std::string concatenation
because std::string may contain '\0' in its contents.

In order to avoid problems with string that contains '\0',
this commit replaces the strncpy to std::string::copy.

7 years agoIssue 4889/2: Integrate Type1 font embedding procedures
Masamichi Hosoda [Tue, 7 Jun 2016 13:26:06 +0000 (22:26 +0900)]
Issue 4889/2: Integrate Type1 font embedding procedures

For embedding both PFA and PFB fonts are used
the same procedure `ly:type1->pfa'.

7 years agoIssue 4889/1: Rewrite Type1 font converting procedures
Masamichi Hosoda [Tue, 7 Jun 2016 13:25:40 +0000 (22:25 +0900)]
Issue 4889/1: Rewrite Type1 font converting procedures

This commit rewrites `ly:pfb->pfa' to `ly:type1->pfa'.
For PFA fonts, it passes through the PFA.
For PFB fonts, it converts the PFB to PFA.

7 years agoIssue 2232: fix MIDI output of abutting (de)crescendi
Dan Eble [Sun, 5 Jun 2016 21:29:37 +0000 (17:29 -0400)]
Issue 2232: fix MIDI output of abutting (de)crescendi

7 years agoAvoid using ?: on lvalues in Protected_scm
David Kastrup [Mon, 13 Jun 2016 22:38:54 +0000 (00:38 +0200)]
Avoid using ?: on lvalues in Protected_scm

This might have caused problems with older compilers.  C++11
sounds like it would have been fine with th original code.

7 years agoDynamic_performer: eliminate an unnecessary variable
Dan Eble [Sat, 4 Jun 2016 19:42:21 +0000 (15:42 -0400)]
Dynamic_performer: eliminate an unnecessary variable
Use -1 to represent an unknown volume.

7 years agoIssue 3945: fix (De)crescendo with unspecified starting volume in MIDI
Dan Eble [Sat, 4 Jun 2016 19:25:13 +0000 (15:25 -0400)]
Issue 3945: fix (De)crescendo with unspecified starting volume in MIDI

7 years agoSet minimum size dots for text spanner to be round.
Carl Sorensen [Mon, 16 May 2016 01:01:59 +0000 (19:01 -0600)]
Set minimum size dots for text spanner to be round.

Previous code had them set up as rounded ovals with a length of twice the thickness.

7 years agoIssue 4881: Axis_group_engraver: add interesting items only once
David Kastrup [Sun, 5 Jun 2016 11:28:49 +0000 (13:28 +0200)]
Issue 4881: Axis_group_engraver: add interesting items only once

7 years agoIssue 4886: Replace Grace_beam_engraver::listen_beam
David Kastrup [Sun, 5 Jun 2016 14:32:11 +0000 (16:32 +0200)]
Issue 4886: Replace Grace_beam_engraver::listen_beam

The comment for it complains about copy&paste code, but the
actual code for Beam_engraver::listen_beam has evolved since
then and the changes, while seeming appropriate for the
Grace_beam_engraver as well, have not been copied over.

Deleting the listener callback and instead utilizing
the one from the base class Beam_engraver seems like
the sanest course of action.

7 years agoAdd the non-default property to the KeySignature grob
Steven Weber [Fri, 27 May 2016 21:41:43 +0000 (14:41 -0700)]
Add the non-default property to the KeySignature grob

7 years agoDoc-fr: updates texidocs
Jean-Charles Malahieude [Sat, 11 Jun 2016 12:46:51 +0000 (14:46 +0200)]
Doc-fr: updates texidocs

7 years agoWeb-fr: updates community and manuals
Jean-Charles Malahieude [Sat, 11 Jun 2016 12:45:37 +0000 (14:45 +0200)]
Web-fr:  updates community and manuals

7 years agoMerge branch 'master' of /home/jcharles/GIT/Lily/. into translation
Jean-Charles Malahieude [Sat, 11 Jun 2016 12:26:38 +0000 (14:26 +0200)]
Merge branch 'master' of /home/jcharles/GIT/Lily/. into translation

7 years agoBring dev/johngourlay/issue-4751 up to date with respect to staging.
John Gourlay [Fri, 10 Jun 2016 14:22:41 +0000 (10:22 -0400)]
Bring dev/johngourlay/issue-4751 up to date with respect to staging.

7 years agoRelease: bump VERSION.
Phil Holmes [Thu, 9 Jun 2016 21:37:34 +0000 (22:37 +0100)]
Release: bump VERSION.

7 years agoMerge remote branch 'origin/release/unstable' into HEAD
Phil Holmes [Thu, 9 Jun 2016 21:36:37 +0000 (22:36 +0100)]
Merge remote branch 'origin/release/unstable' into HEAD

7 years agoIssue 4880: Add ly:get-font-format to get the font format
Masamichi Hosoda [Fri, 3 Jun 2016 15:49:15 +0000 (00:49 +0900)]
Issue 4880: Add ly:get-font-format to get the font format

Most of the OpenType/CFF Collection (OTC) fonts
have the extension `*.ttc'.
TrueType Collection (TTC) fonts
also have the same extension `*.ttc'.

However, it is necessary that different embed method,
between OTC and TTC.
So we need to distinguish them.

This commit adds ly:get-font-format
that can get font format for distinguishing them.

7 years agoMerge remote branch 'origin/master' into release/unstable release/2.19.43-1
Phil Holmes [Thu, 9 Jun 2016 11:06:07 +0000 (12:06 +0100)]
Merge remote branch 'origin/master' into release/unstable

7 years agoIssue 4879: Display \time beat structure as list
David Kastrup [Fri, 3 Jun 2016 14:46:20 +0000 (16:46 +0200)]
Issue 4879: Display \time beat structure as list

Example: \displayLilyMusic \time 1,2 3/4

7 years agoIssue 4878: Make type_p_name_ always char pointer
David Kastrup [Fri, 3 Jun 2016 12:21:55 +0000 (14:21 +0200)]
Issue 4878: Make type_p_name_ always char pointer

This avoids the pitfalls cured by issue 4783 without the
associated inconvenience when no predicate is desired.

7 years agoIssue 4875: Make define-session{,-public} private
David Kastrup [Thu, 2 Jun 2016 10:34:36 +0000 (12:34 +0200)]
Issue 4875: Make define-session{,-public} private

At the current point of time, their execution only makes sense in the
lily module anyway.

7 years agoIssue 4874/3: Import various input session variables into parser
David Kastrup [Thu, 2 Jun 2016 12:18:48 +0000 (14:18 +0200)]
Issue 4874/3: Import various input session variables into parser

This concerns pitchnames, drumPitchNames, and chordmodifiers,
saving a lookup for each use.

7 years agoIssue 4874/2: Turn pitch-related settings into session variables
David Kastrup [Thu, 2 Jun 2016 12:17:18 +0000 (14:17 +0200)]
Issue 4874/2: Turn pitch-related settings into session variables

This concerns pitchnames, default-language, previous-pitchnames,
drumPitchNames, and chordmodifiers.

7 years agoIssue 4874/1: Don't overwrite pre-bound session variables
David Kastrup [Thu, 2 Jun 2016 12:07:02 +0000 (14:07 +0200)]
Issue 4874/1: Don't overwrite pre-bound session variables

This is necessary in order to use session variables
in lily-imports.cc

7 years agoIssue 4789: Note_performer: articulate events
David Kastrup [Wed, 1 Jun 2016 12:43:38 +0000 (14:43 +0200)]
Issue 4789: Note_performer: articulate events

Previously, only per-note articulations rather than actual stream events
were interpreted in Midi.  This change supports articulations on chords
or added via simultaneous music.

7 years agoRelease: bump Welcome versions.
Phil Holmes [Wed, 8 Jun 2016 12:11:44 +0000 (13:11 +0100)]
Release: bump Welcome versions.

7 years agoRelease: update news.
Phil Holmes [Wed, 8 Jun 2016 12:11:44 +0000 (13:11 +0100)]
Release: update news.

7 years agoPO: update template.
Phil Holmes [Wed, 8 Jun 2016 12:11:44 +0000 (13:11 +0100)]
PO: update template.

7 years agoRelease: bump VERSION_DEVEL.
Phil Holmes [Wed, 8 Jun 2016 12:11:44 +0000 (13:11 +0100)]
Release: bump VERSION_DEVEL.

7 years agoLSR updates
Phil Holmes [Wed, 8 Jun 2016 11:08:14 +0000 (12:08 +0100)]
LSR updates

7 years agoConsistently use semicolons after some macro calls
David Kastrup [Tue, 7 Jun 2016 14:14:43 +0000 (16:14 +0200)]
Consistently use semicolons after some macro calls

That's nicer for reading and code indentation.

7 years agoIssue 4868/2: Add limited embedding support for OTC fonts
Masamichi Hosoda [Mon, 30 May 2016 10:03:21 +0000 (19:03 +0900)]
Issue 4868/2: Add limited embedding support for OTC fonts

This commit adds limited embedding support
for OpenType/CFF Collection (OTC) fonts
which have `*.otc' filename extension.

Essentially, the extension of OTC font files should be `*.otc'.
However, most of the OTC fonts have the extension `*.ttc'
for backward compatibility.
https://www.microsoft.com/typography/otspec/recom.htm

So this is limited support
because most of the OTC fonts cannot be used.

TODO: distinguish files which have extension `*.ttc'
whether TrueType Collection (TTC) fonts or OTC fonts.

7 years agoIssue 4868/1: Add font-index for embedding OTC fonts
Masamichi Hosoda [Mon, 30 May 2016 10:02:53 +0000 (19:02 +0900)]
Issue 4868/1: Add font-index for embedding OTC fonts

This commit adds support font-index
for OpenType/CFF Collection (OTC) fonts
not only TrueType Collection (TTC) fonts.

7 years agoIssue 4867: Ignore some major OpenType/CFF Collection (OTC) fonts
Masamichi Hosoda [Sun, 29 May 2016 15:24:09 +0000 (00:24 +0900)]
Issue 4867: Ignore some major OpenType/CFF Collection (OTC) fonts

Current LilyPond cannot handle OpenType/CFF Collection (OTC) fonts
(NotoSansCJK.ttc and SourceHanSans.ttc etc.).
This commit is a workaround that ignores some major OTC fonts
for avoiding errors.
TODO: Add OTC fonts support and remove this settings

7 years agoissue 4848: fix broken link on GSoC page
Federico Bruni [Tue, 31 May 2016 10:34:08 +0000 (12:34 +0200)]
issue 4848: fix broken link on GSoC page

Replace comma in URL with %2C entity, otherwise texinfo
considers it as a comma delimiter of @uref.

7 years agoIssue 4887: Remove delegating listener stubs
David Kastrup [Sun, 5 Jun 2016 21:09:33 +0000 (23:09 +0200)]
Issue 4887: Remove delegating listener stubs

ADD_LISTENER can delegate directly to base class listeners.

7 years agoIssue 4885/3: Remove ack_finder/ack_find_base
David Kastrup [Sun, 5 Jun 2016 18:48:36 +0000 (20:48 +0200)]
Issue 4885/3: Remove ack_finder/ack_find_base

ADD_ACKNOWLEDGER and ADD_END_ACKNOWLEDGER can work without them when
the base is specified correctly when calling them inside of some
CLASS::boot ().

7 years agoIssue 4885/2: Let ADD_ACKNOWLEDGER state actual classes
David Kastrup [Sun, 5 Jun 2016 19:10:00 +0000 (21:10 +0200)]
Issue 4885/2: Let ADD_ACKNOWLEDGER state actual classes

Declaring the correct containing classes for acknowledgers
allows dropping a bunch of black magic.

7 years agoIssue 4885/1: Simplify ADD_{,END_}ACKNOWLEDGER
David Kastrup [Sun, 5 Jun 2016 14:17:44 +0000 (16:17 +0200)]
Issue 4885/1: Simplify ADD_{,END_}ACKNOWLEDGER

No explicit scopes are needed any more since they are run from within
the static member function CLASS::boot () .

7 years agoIssue 4884: Remove DECLARE_* translator callback macros
David Kastrup [Sun, 5 Jun 2016 16:52:47 +0000 (18:52 +0200)]
Issue 4884: Remove DECLARE_* translator callback macros

Recent changes have rendered them trivial.  This does not review their
accessibility status: in general, they should be protected since they
can be reused by derived classes but aren't needed externally.  However,
where they are indeed called from static member functions of derived
classes, the associated trampoline instantiation appears to require
public access.  This might warrant some more investigation.

7 years agoIssue 4873/2: Give add_acknowledger SCM &, not Protected_scm &
David Kastrup [Wed, 1 Jun 2016 18:57:26 +0000 (20:57 +0200)]
Issue 4873/2: Give add_acknowledger SCM &, not Protected_scm &

7 years agoIssue 4873/1: operator SCM & () for Protected_scm
David Kastrup [Wed, 1 Jun 2016 17:38:35 +0000 (19:38 +0200)]
Issue 4873/1: operator SCM & () for Protected_scm

This allows passing SCM reference parameters that are
actually based on Protected_scm.

7 years agoIssue 4872: Remove Protected_scm destructor
David Kastrup [Wed, 1 Jun 2016 15:16:43 +0000 (17:16 +0200)]
Issue 4872: Remove Protected_scm destructor

Protected_scm works only for static data and single members cannot
be destructed without destroying the whole protection chain.  When
static member destructors are called, the Guile memory subsystem
is already down, so tampering with the storage is just a waste of
effort and snake oil at best.

7 years agoIssue 4862: Merge get_acknowledger and get_end_acknowledger
David Kastrup [Tue, 24 May 2016 13:50:00 +0000 (15:50 +0200)]
Issue 4862: Merge get_acknowledger and get_end_acknowledger

7 years ago#4877: Revert #4747: (Remove (all) uses of is-absolute?)
Urs Liska [Thu, 2 Jun 2016 14:17:41 +0000 (16:17 +0200)]
#4877: Revert #4747: (Remove (all) uses of is-absolute?)

This reverts

commit f30a8189adbbeefa2103e2c2e194040f66bc2291
Author: Urs Liska <ul@openlilylib.org>
Date:   Tue Jan 19 10:52:33 2016 +0100

    #4747: Remove (all) uses of is-absolute?

====================

As discussion revealed the commit message is not true
and indicates a misconception.
(car ly:input-file-line-char-column a-location) does
*not* always return an absolute path, instead this
depends on how the file path has been passed to LilyPond.

As this commit changed the behaviour of point-and-click
in a somewhat unintentional and unmaintainable way it
is better to revert the commit. Especially as the
original behaviour was not harmful.

========================

The check for absolute paths in  in output-ps.scm
and -svg.scm is unnecessary because
(car ly:input-file-line-char-column a-location)
always returns an absolute, slashified path

Now is-absolute? is not used anymore by LilyPond itself. (reverted from commit f30a8189adbbeefa2103e2c2e194040f66bc2291)

7 years agoFunction (_ ...) takes only one argument
David Kastrup [Thu, 2 Jun 2016 19:56:02 +0000 (21:56 +0200)]
Function (_ ...) takes only one argument

7 years agoIssue 4861: Update texinfo.tex from upstream
Masamichi Hosoda [Wed, 25 May 2016 12:31:40 +0000 (21:31 +0900)]
Issue 4861: Update texinfo.tex from upstream

texinfo.tex ver. 2016-05-26.20
This ver. fixes XeTeX PDF link page number duplicates

7 years agoAdd semicola to a few macro calls
David Kastrup [Wed, 1 Jun 2016 12:53:16 +0000 (14:53 +0200)]
Add semicola to a few macro calls

This slight cosmetic change keeps code formatters happier.

7 years agoIssue 4858: Let define-session-public place variables natively into parser
David Kastrup [Sun, 22 May 2016 11:54:40 +0000 (13:54 +0200)]
Issue 4858: Let define-session-public place variables natively into parser

Putting them as native variables in the parser module (rather than
using export/import) makes `set!' and `define' equivalent rather than
having `define' create a shadowing definition of the session variable.
That is important in order to avoid the values of the variable
diverging between parser module and `lily'.

7 years agoIssue 4871: Autoconf variable $(LD) should be just for C
David Kastrup [Tue, 31 May 2016 13:52:42 +0000 (15:52 +0200)]
Issue 4871: Autoconf variable $(LD) should be just for C

We link using $(CXX) for C++.  This was smudged together previously.

7 years agoIssue 4870: [midi2ly] Delay import of 'midi' module.
Werner Lemberg [Tue, 31 May 2016 11:37:03 +0000 (13:37 +0200)]
Issue 4870: [midi2ly] Delay import of 'midi' module.

`make all` starts with generating the manual pages for lilypond's python
scripts using help2man.  However, at the time `midi2ly --help` gets called,
the 'midi' python module (which is based on code written in C) imported by
'midi2ly' has not been compiled yet, making help2man abort.

7 years agoDoc-it: update translation
Federico Bruni [Fri, 20 May 2016 14:18:31 +0000 (16:18 +0200)]
Doc-it: update translation

7 years agoIssue 4865/2: Rewrite of new translator initializations
David Kastrup [Sun, 29 May 2016 07:28:51 +0000 (09:28 +0200)]
Issue 4865/2: Rewrite of new translator initializations

This was done by running the following Bash script:

git grep '^ADD_TRANSLATOR (' lily|sed 's/^\([^:]*\):ADD_TRANSLATOR ( *\([a-zA-Z_]\+\),.*$/\1 \2/' |
    while read file translator
    do
lines="$(git grep -h '^\(ADD_ACKNOWLEDGER\|ADD_END_ACKNOWLEDGER\|IMPLEMENT_TRANSLATOR_LISTENER\) ('$translator, $file)"
sed -i "$(echo "$lines"|sed 's+^..*$+/&/d+')" $file
sed -i "/^ADD_TRANSLATOR ($translator,/i\\
void\\
$translator::boot ()\\
{\\
$(echo "$lines"|sed 's/IMPLEMENT_TRANSLATOR_LISTENER/ADD_LISTENER/;s/^./  &/;s/$/\\/')
}\\
" $file
    done

7 years agoIssue 4865/1: Move translator initializations to X::boot ()
David Kastrup [Sun, 29 May 2016 09:12:30 +0000 (11:12 +0200)]
Issue 4865/1: Move translator initializations to X::boot ()

This reorganization of the C++ translator initializations leads to more
predictable initialization order and makes the initializations have
access to private members of the class.  This is a precondition for more
restrictive access control, helping to pin down accidental references to
members of the wrong class.

7 years agoissue 4857: update doc tarball link
Federico Bruni [Thu, 19 May 2016 16:48:46 +0000 (18:48 +0200)]
issue 4857: update doc tarball link

This completes issue 4833.

7 years ago4855: Move old news from news-front to news
Urs Liska [Mon, 16 May 2016 13:11:53 +0000 (15:11 +0200)]
4855: Move old news from news-front to news

As requested in
http://lists.gnu.org/archive/html/bug-lilypond/2016-04/msg00042.html
we should strictly reduce the number of old news items on the
front page. This will probably also make it more straightforward
to think about a new appearance of our entry page.

However, I suggest a change in the old-news display.
Currently "news items" are mixed with release notes, and I think
*if* we want to keep old news available it would be better to
separate these two categories.

7 years agoIssue 4863: Protect Grob_interface<>::interface_symbol_
David Kastrup [Fri, 27 May 2016 08:20:18 +0000 (10:20 +0200)]
Issue 4863: Protect Grob_interface<>::interface_symbol_

7 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/lilypond into
John Gourlay [Thu, 26 May 2016 22:16:10 +0000 (18:16 -0400)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/lilypond into
dev/johngourlay/issue-4751 to bring the development branch up to date.

7 years agoRemove a nonsensical line from the \paper section of ly output.
John Gourlay [Thu, 26 May 2016 21:50:27 +0000 (17:50 -0400)]
Remove a nonsensical line from the \paper section of ly output.

7 years agoIn python/musicexp.py:
John Gourlay [Thu, 26 May 2016 20:24:23 +0000 (16:24 -0400)]
In python/musicexp.py:
  In the ly output add a space between a direction modifier and quote.
  Remove a redundant <<.
In python/musicxml2ly_conversion.py:
  Add a definition for _.

7 years agoWeb-ja: typo
Masamichi Hosoda [Wed, 25 May 2016 12:49:27 +0000 (21:49 +0900)]
Web-ja: typo

7 years agoIssue 4850: Remove self method bindings of translator groups
David Kastrup [Mon, 9 May 2016 18:09:21 +0000 (20:09 +0200)]
Issue 4850: Remove self method bindings of translator groups

They are not actually being used (and consequently untested), and the added
complexity makes understanding the code harder.