David Kastrup [Fri, 12 Jun 2015 11:41:11 +0000 (13:41 +0200)]
Issue 4442/7: Stop maintaining "parser" variable
When invoking a parser, the global "parser" variable was temporarily
pointing to the parser. This mechanism was somewhat awkward and with
problems of its own. Since an active parser maintains the %parser fluid
now, we can forego maintaining the "parser" variable altogether.
David Kastrup [Fri, 12 Jun 2015 12:14:36 +0000 (14:14 +0200)]
Issue 4442/6: Update some quoted example code in CG
David Kastrup [Thu, 11 Jun 2015 19:53:25 +0000 (21:53 +0200)]
Issue 4442/5: Fix the rest of removal of parser/(*parser*) manually
David Kastrup [Thu, 11 Jun 2015 18:03:30 +0000 (20:03 +0200)]
Issue 4442/4: Call all *-handler functions without parser argument
David Kastrup [Wed, 10 Jun 2015 09:05:26 +0000 (11:05 +0200)]
Issue 4442/3: Let ly:parse-error and others work with %parser fluid
David Kastrup [Thu, 11 Jun 2015 17:56:50 +0000 (19:56 +0200)]
Issue 4442/2: Run scripts/auxiliar/update-with-convert-ly.sh -f 2.19.21
Also converts scm via
find scm -name \*.scm -exec out/bin/convert-ly -en -f 2.19.21 -t 2.19.22 {} +
David Kastrup [Thu, 11 Jun 2015 17:54:48 +0000 (19:54 +0200)]
Issue 4442/1: convert rule: (xxx ... parser ...) -> (xxx ... ...)
Masamichi Hosoda [Mon, 1 Jun 2015 13:18:22 +0000 (22:18 +0900)]
Issue 4431 / 4: Add MinGW support of scale-down-image (ps-to-png.scm)
scale-down-image can work on MinGW by this commit.
Masamichi Hosoda [Mon, 1 Jun 2015 13:15:09 +0000 (22:15 +0900)]
Issue 4431 / 3: Add Netpbm commands search procedures
pngtopnm is obsoleted by pngtopam.
pnmscale is obsoleted by pamscale.
Masamichi Hosoda [Mon, 1 Jun 2015 13:12:49 +0000 (22:12 +0900)]
Issue 4431 / 2: Add ly:system-with-shell for pipe and redirection handling
ly:system can't handle pipe and redirection.
This procedure can handle them by using shell.
It also works on MinGW by switching shell.
Masamichi Hosoda [Mon, 1 Jun 2015 13:05:47 +0000 (22:05 +0900)]
Issue 4431 / 1: Delete duplicate and unused procedures in ps-to-png.scm
backend-library.scm:
sanitize-command-option: unused
ps-to-png.scm:
_: lily.scm
my-system: unused
Trevor Daniels [Tue, 9 Jun 2015 21:28:30 +0000 (22:28 +0100)]
Doc: Issue 4436: Warn about rests in lyrics repeats with \alternative's
Trevor Daniels [Sat, 6 Jun 2015 21:22:13 +0000 (22:22 +0100)]
Issue 4435: Remove Solo staff when empty
The recently added Solo staff is outside the ChoirStaff and so
is not affected by the ChoirStaff overrides to VerticalAxisGroup.
This patch moves the overrides into a \layout block at top level
so all staves are affected. The overrides in PianoStaff are then
no longer required. Note that this \layout block can itself be
overridden by setting the Layout variable.
Trevor Daniels [Fri, 12 Jun 2015 22:29:51 +0000 (23:29 +0100)]
Fix bad cross reference
Thomas Morley [Fri, 12 Jun 2015 21:16:47 +0000 (16:16 -0500)]
fret-diagram with barre returns weird output
issue 4428
take the fret-settings from barre into account
David Kastrup [Fri, 12 Jun 2015 15:34:17 +0000 (17:34 +0200)]
smobs.hh: mention that GUILE 1 gives callable structs at most 3 args
Dan Eble [Sun, 31 May 2015 20:23:20 +0000 (16:23 -0400)]
Issue 4429: fix timekeeping in Auto_change_iterator and Part_combine_iterator
Issue 4430: add start-callback to UnrelativableMusic
David Kastrup [Sun, 31 May 2015 16:53:38 +0000 (18:53 +0200)]
Issue 4440: Establish %parser in Lily_parser::do_yyparse
Consequently, this does not need to be done any more in syntax
constructors or Scheme expressions.
David Kastrup [Sat, 30 May 2015 08:58:22 +0000 (10:58 +0200)]
Issue 4425: Fix some CG musing about music functions
While the example code has been adapted to reflect the state of music
functions after acceptance of issue 4422 and issue 4421, the answer that
has now been replaced has been wrong from its inception.
Dan Eble [Sun, 31 May 2015 19:14:22 +0000 (15:14 -0400)]
Issue 4427: clean up finding & changing of contexts in C++
Combine the key feature of Change_iterator and Auto_change_iterator
into a common function (favoring the logic of Change_iterator).
Define functions for various context-search loops.
David Kastrup [Wed, 3 Jun 2015 10:17:11 +0000 (12:17 +0200)]
Issue 4421/7: Documentation and Changes entry
David Kastrup [Mon, 25 May 2015 12:10:27 +0000 (14:10 +0200)]
Issue 4421/6: Let some music functions call others via Scheme
David Kastrup [Wed, 3 Jun 2015 14:15:06 +0000 (16:15 +0200)]
Issue 4421/5: Add regression test
David Kastrup [Sun, 24 May 2015 17:38:34 +0000 (19:38 +0200)]
Issue 4421/4: Make music functions callable from Scheme
The functions get their signature checked and optional argument handling
is exactly like in LilyPond, with *unspecified* taking the role of
"\default".
David Kastrup [Fri, 29 May 2015 14:28:50 +0000 (16:28 +0200)]
Issue 4421/3: Add Fluid class for caching fluid values
David Kastrup [Mon, 25 May 2015 12:08:34 +0000 (14:08 +0200)]
Issue 4421/2: Factor out music-function-call-error
David Kastrup [Tue, 2 Jun 2015 09:51:32 +0000 (11:51 +0200)]
Issue 4421/1: Deal sensibly with non-existent parser/location
This concerns ly:parser-error and note-name->lily-string, and in
consequence also display-lily-music.
David Kastrup [Sun, 31 May 2015 08:53:57 +0000 (10:53 +0200)]
Issue 4426: Remove bar checks at the end of \parallelMusic passages
This allows ending \parallelMusic at non-bar boundaries.
Jean-Charles Malahieude [Sun, 7 Jun 2015 18:14:15 +0000 (20:14 +0200)]
Doc: updates translation status
Jean-Charles Malahieude [Sun, 7 Jun 2015 18:11:57 +0000 (20:11 +0200)]
Doc-fr: full update
Jean-Charles Malahieude [Sun, 7 Jun 2015 13:09:57 +0000 (15:09 +0200)]
Merge branch 'master' of /home/jcharles/GIT/Lily/. into translation
Jean-Charles Malahieude [Sun, 7 Jun 2015 13:06:15 +0000 (15:06 +0200)]
PO: Updates Danish from FTP
Jean-Charles Malahieude [Sun, 7 Jun 2015 13:01:30 +0000 (15:01 +0200)]
Doc-fr: fix bad xref
Jean-Charles Malahieude [Sun, 7 Jun 2015 13:00:55 +0000 (15:00 +0200)]
Doc-fr: updates texidocs
Jean-Charles Malahieude [Sun, 7 Jun 2015 12:56:10 +0000 (14:56 +0200)]
Doc-fr: updates AU
Jean-Charles Malahieude [Sun, 7 Jun 2015 12:37:14 +0000 (14:37 +0200)]
Doc-fr: updates AU
Jean-Charles Malahieude [Sun, 7 Jun 2015 12:35:11 +0000 (14:35 +0200)]
Doc-fr: updates LM
Jean-Charles Malahieude [Sun, 7 Jun 2015 12:32:37 +0000 (14:32 +0200)]
Doc-fr: updates Essay and EM
Dan Eble [Thu, 28 May 2015 01:23:45 +0000 (21:23 -0400)]
Issue 4423: eliminate part combiner's array of context handles (4/4)
The Part_combine_iterator no longer creates or keeps alive the Voice
contexts that it uses. make-directed-part-combine-music does it.
When the Part_combine_iterator needs to redirect a child iterator, it
finds the new Voice by name among the siblings of the current Voice.
Dan Eble [Thu, 28 May 2015 00:56:37 +0000 (20:56 -0400)]
Issue 4423: eliminate part combiner's array of context handles (3/4)
Use NullVoice instead of Devnull for the "null" context. This makes
all outlets a kind of Voice.
Dan Eble [Thu, 28 May 2015 00:39:47 +0000 (20:39 -0400)]
Issue 4423: eliminate part combiner's array of context handles (2/4)
Create child iterators in parent context. Add an initial split state
to ensure that the first split-list entry, whatever it is, will
redirect the outlets for the child iterators.
Dan Eble [Sat, 23 May 2015 16:33:40 +0000 (12:33 -0400)]
Issue 4423: eliminate part combiner's array of context handles (1/4)
Move mmrest killing after child iteration. Also limit mmrest killing
to contexts that have just changed from being used to being unused.
Trevor Daniels [Fri, 29 May 2015 15:12:34 +0000 (16:12 +0100)]
Issue 4424: Add Solo voice to built-in satb.ly template
David Kastrup [Wed, 27 May 2015 15:05:34 +0000 (17:05 +0200)]
Issue 4422/7: Documentation fixes and Changelog
David Kastrup [Sun, 31 May 2015 18:37:14 +0000 (20:37 +0200)]
Issue 4422/6: Fix (define-music-function (parser ... uses in scm/
David Kastrup [Wed, 27 May 2015 02:25:32 +0000 (04:25 +0200)]
Issue 4422/5: Run scripts/auxiliar/update-with-convert-ly.sh
David Kastrup [Wed, 27 May 2015 01:00:16 +0000 (03:00 +0200)]
Issue 4422/4: convert-ly rule for removing parser/location
David Kastrup [Tue, 26 May 2015 23:35:08 +0000 (01:35 +0200)]
Issue 4422/3: Remove parser/location args from music function calls
When a music function definition starts with a parameter named "parser",
a compatibility definition is created that recreates the parameters
from the fluid accessors (*parser*) and (*location*) when necessary.
David Kastrup [Tue, 26 May 2015 23:01:38 +0000 (01:01 +0200)]
Issue 4422/2: Fix various jumbled parser/location argument pairs
David Kastrup [Tue, 26 May 2015 11:36:53 +0000 (13:36 +0200)]
Issue 4422/1: Remove parser/location global variable setup
Instead of relying on the global parser/location work horse (or
respective symbols in local scope), now fluids %parser/%location and
getter functions (*parser*)/(*location*) are employed for setting up the
general parsing and providing #{...#} with accurate information.
This patch removes the global setup and internal information flow: there
is still a variable "parser" being set in local parser modules.
Phil Holmes [Sun, 24 May 2015 13:44:10 +0000 (14:44 +0100)]
Remove CR LF from snippets using makelsr
Masamichi Hosoda [Mon, 25 May 2015 14:41:16 +0000 (23:41 +0900)]
Issue 4420: Add Netpbm messages to verbose output
Messages of Netpbm commands
(pngtopnm, pnmscale, pnmtopng)
output to /dev/null.
So those messages couldn't be read.
This patch can add them to verbose output,
and they can be read.
Masamichi Hosoda [Sun, 24 May 2015 14:20:30 +0000 (23:20 +0900)]
Issue 4417 / 3: Fix png filename handling
This patch can compile the source file
whose name contains `%' and convert to png files.
(e.g. `%foobar.ly' to `%foobar.png')
Masamichi Hosoda [Sun, 24 May 2015 13:14:53 +0000 (22:14 +0900)]
Issue 4417 / 2: Use ly:system in make-ps-images (ps-to-png.scm)
In make-ps-images,
use ly:system instead of my-system for invoking gs.
It is the same way as postscript->pdf
(backend-library.scm).
Masamichi Hosoda [Sun, 24 May 2015 05:28:43 +0000 (14:28 +0900)]
Issue 4417 / 1: Delete duplicate procedures in ps-to-png.scm
PLATFORM: lily.scm
search-executable: backend-library.scm
search-gs: backend-library.scm
gulp-port: unused
David Kastrup [Sat, 30 May 2015 11:49:13 +0000 (07:49 -0400)]
Remove group-interface.hh which has been unused since 2005!
Dan Eble [Sat, 30 May 2015 11:49:13 +0000 (07:49 -0400)]
Remove time-scaled-music-iterator.hh which has been unused since 2006.
David Kastrup [Sat, 30 May 2015 08:14:21 +0000 (10:14 +0200)]
Fix oversight in CG from issue 4365
David Kastrup [Fri, 29 May 2015 10:15:06 +0000 (12:15 +0200)]
Run scripts/auxiliar/makelsr.py
Keith OHara [Thu, 28 May 2015 12:20:28 +0000 (14:20 +0200)]
Issue 4406: Tidy up \relative description after Issue 3229
Reviewed-by: David Kastrup <dak@gnu.org>
David Kastrup [Fri, 29 May 2015 13:06:30 +0000 (15:06 +0200)]
Revert "Some more issue 3229 rules"
This reverts commit
8c769fc52f092210a21288e81d008dc3f700a626.
David Kastrup [Thu, 28 May 2015 15:36:12 +0000 (17:36 +0200)]
Run scripts/auxiliar/update-with-convert-ly.sh -f 2.19.20
Then revert Documentation/snippets/*.ly
David Kastrup [Wed, 27 May 2015 12:33:34 +0000 (14:33 +0200)]
Some more issue 3229 rules
David Kastrup [Thu, 28 May 2015 16:34:54 +0000 (18:34 +0200)]
Improve some patterns/conversions for convert-ly
This mostly concerns expression arguments, particularly Scheme expressions.
David Kastrup [Thu, 28 May 2015 11:45:52 +0000 (13:45 +0200)]
Sanitize convert-ly version updating in no-change case with specified --from option
David Kastrup [Thu, 28 May 2015 11:45:16 +0000 (13:45 +0200)]
Let scripts/auxiliar/update-with-convert-ly.sh pass any options to convert-ly
David Kastrup [Thu, 21 May 2015 13:27:25 +0000 (15:27 +0200)]
Issue 4411: Omit unnecessary second argument to ly:make-unpure-pure-container, document this possibility
Masamichi Hosoda [Fri, 22 May 2015 13:31:34 +0000 (22:31 +0900)]
Issue 4414: Doc: Fix configure option
configure option `--with-ncsb-dir'
is changed to `--with-fonts-dir' by issue 4332.
Dan Eble [Thu, 21 May 2015 02:33:01 +0000 (22:33 -0400)]
Issue 4410: Part_combine_iterator: treat child iterators as a set
Allocate iterators for the two parts in an array instead of separate
named members. Use loops where appropriate.
David Kastrup [Tue, 26 May 2015 11:42:14 +0000 (13:42 +0200)]
Fix spurious newline from upstream Texinfo
hanwen [Sat, 14 Mar 2015 14:39:16 +0000 (15:39 +0100)]
Decrease space between vertical beams by length-fraction.
This causes 16th and higher grace beams to be closer together.
Thanks to Daniel Spreadbury for noting this in his blog,
http://blog.steinberg.net/2015/03/development-diary-part-10/
To fix the regression in grace-start.ly, decrease collision-padding
for grace beams: since grace beams are smaller, objects must come
closer to be considered a collision.
To fix regressions where grace stems become too large, decrease
importance of forbidden quant scoring if length-fraction != 1.0..
Keith OHara [Sun, 3 May 2015 05:51:48 +0000 (22:51 -0700)]
absolute pitch entry: accept an offset octave
Jean-Charles Malahieude [Mon, 25 May 2015 14:35:35 +0000 (16:35 +0200)]
Doc: correct typo for backslash in @warning is @bs{}
David Kastrup [Wed, 20 May 2015 15:31:32 +0000 (17:31 +0200)]
Issue 3057: misbehavior of \deadNotesOn et al at start of music
User-level commands that do not move to a particular context will tend
to be applied at Bottom context when following any notes or similar
events, but at arbitrary level when being at the start of music. That's
a bad idea. This patch moves the head styling overrides to Bottom
level. While this means that
\new Staff { \deadNotesOn ...
will only affect the default Voice instead of the whole Staff, one can
still get per-Staff behavior with
\new Staff \with { \deadNotesOn } { ...
so no functionality is really lost here.
David Kastrup [Mon, 18 May 2015 17:33:06 +0000 (19:33 +0200)]
Issue 4404: Add ly:disconnect-dispatchers function
David Kastrup [Wed, 20 May 2015 19:32:13 +0000 (21:32 +0200)]
Issue 4408: Several typos in the German doc
Particularly, the German docs confuse "eingestrichenes C" (middle C, C4,
LilyPond c') several times with "zweigestrichenenes C" (C in treble
staff, C5, LilyPond c'').
Dan Eble [Sun, 17 May 2015 19:53:22 +0000 (15:53 -0400)]
Issue 4402: Part combiner: ignore skips coinciding with rests within a part
Dan Eble [Mon, 18 May 2015 11:53:24 +0000 (07:53 -0400)]
Issue 4403: Part_combine_iterator: stop tracking the last-playing part
Rely on the Scheme-computed split state to choose which voice to use
for unisono and unisilence passages.
Phil Holmes [Mon, 25 May 2015 10:24:53 +0000 (11:24 +0100)]
Correct news
Phil Holmes [Sun, 24 May 2015 20:04:58 +0000 (21:04 +0100)]
Release: bump VERSION.
Phil Holmes [Sun, 24 May 2015 20:04:27 +0000 (21:04 +0100)]
Merge remote branch 'origin/release/unstable' into HEAD
Phil Holmes [Sun, 24 May 2015 12:12:20 +0000 (13:12 +0100)]
Release: update news.
Phil Holmes [Sun, 24 May 2015 12:12:20 +0000 (13:12 +0100)]
PO: update template.
Phil Holmes [Sun, 24 May 2015 12:12:20 +0000 (13:12 +0100)]
Release: bump VERSION_DEVEL.
Phil Holmes [Sun, 24 May 2015 10:58:02 +0000 (11:58 +0100)]
Correct vocal ensemble template from LSR
David Kastrup [Sun, 24 May 2015 09:26:29 +0000 (11:26 +0200)]
Merge branch 'doc-hu' into translation
David Kastrup [Sun, 24 May 2015 09:23:46 +0000 (11:23 +0200)]
Rerun the issue 3229 script to get back its changes into Doc-hu
Phil Holmes [Sat, 23 May 2015 14:34:46 +0000 (15:34 +0100)]
Remove snippets from /new that are now in the LSR
Phil Holmes [Wed, 20 May 2015 10:03:55 +0000 (11:03 +0100)]
Adds snippet showing transcription of mensural music to modern
Phil Holmes [Tue, 19 May 2015 09:43:57 +0000 (10:43 +0100)]
Some updates to the ancient music section
Dan Eble [Sat, 2 May 2015 02:21:43 +0000 (22:21 -0400)]
Issue 4365: non-member unsmob<T> replaces T::unsmob and T::is_smob
Hide Smob_base<>::is_smob() to prevent the misleading situation of
D::is_smob(S) returning true when S represents an ancestor of D rather
than a D. This issue was previously worked around by overriding
is_smob in several derived smob classes; that is no longer needed.
LY_ASSERT_SMOB() now returns a smob pointer. This is not used yet,
but is available for future use to avoid unsmobbing twice.
Smob_base<>::smob_p() is hidden because there doesn't seem to be a
need for it to be public.
Files in lily/include were edited by hand. Files in lily itself were
processed with the following sed script.
s/\([A-Za-z_]\+\)::derived_unsmob/unsmob<\1>/g
s/derived_unsmob *<\([A-Za-z_]\+\)>/unsmob<\1>/g
s/\([A-Za-z_]\+\)::unsmob/unsmob<\1>/g
s/\([A-Za-z_]\+\)::is_smob/unsmob<\1>/g
s/Input \*\([A-Za-z_]\+\) = unsmob /Input *\1 = unsmob<Input> /g
s/LY_ASSERT_SMOB (\([^)]*\))$/LY_ASSERT_SMOB (\1);/g
David Kastrup [Fri, 22 May 2015 13:15:12 +0000 (15:15 +0200)]
Remove unneeded include of grob.hh in unpure-pure-container.cc
David Kastrup [Sun, 17 May 2015 10:04:32 +0000 (12:04 +0200)]
Issue 4400: Rework LY_DECLARE_SMOB_PROC to declare a member function
This is nicer to work with. LY_DECLARE_SMOB_PROC now needs to
additionally get the class name for declaring the smob procedure: this
is astonishingly hard to avoid. Moving the initialization out of
Smob_base<Super>::init into a separate routine smob_proc_init defined by
LY_DECLARE_SMOB_PROC considerably simplifies the initialization.
David Kastrup [Sun, 17 May 2015 14:14:09 +0000 (16:14 +0200)]
Issue 4401: Remove unnecessary static casts on function member pointers
The commits
6d391dc04f0faa3248d64aa36faf38cf9e4e5fa2 Even more typecasting of member function pointers in smobs.tcc
30203dfe5c45fb9c6255512ba0f8366b322d303f Avoid comparing pointers-to-member of covariant types
were done as hotfixes (apparently without associated tracker issues) to
get the current implementation of smobs to compile with old versions of
GCC in GUB as of Oct 2014. The attempts to make these versions of GCC
work were ultimately unsuccessful and GUB was upgraded to newer versions
of GCC.
It does not make sense to retain the workarounds that did not really
help.
Dénes Harmath [Fri, 15 May 2015 23:43:09 +0000 (01:43 +0200)]
Doc-hu: translate Voices and vocals
David Kastrup [Thu, 14 May 2015 18:50:57 +0000 (20:50 +0200)]
Issue 4398/3: Move the protection of all_fonts_global to Protected_scm
Previously, this abused the protect/unprotect mechanism only intended
for temporary protection.
Also turns All_font_metrics into a Scheme Smob.
David Kastrup [Thu, 14 May 2015 18:50:57 +0000 (20:50 +0200)]
Issue 4398/2: Move the protection of global_translator_dict to Protected_scm
Previously, this abused the protect/unprotect mechanism only intended
for temporary protection.
David Kastrup [Thu, 14 May 2015 18:50:57 +0000 (20:50 +0200)]
Issue 4398/1: Move the protection of default_global_scale to Protected_scm
Previously, this abused the protect/unprotect mechanism only intended
for temporary protection.
David Kastrup [Fri, 15 May 2015 20:21:10 +0000 (22:21 +0200)]
Issue 4397: Arrange Protected_scm variables into single list
Since we need to allocate one cons cell per protected variable anyway,
we can just arrange them into a single list, making it possible to
a) just require a single scm_permanent_object call, namely for the head
b) have a representation able to return all protected elements, should
we require this at some later point of time
Carl Sorensen [Thu, 7 May 2015 17:39:33 +0000 (11:39 -0600)]
Adjust beam subdivision to only occur at baseMoment