]> git.donarmstrong.com Git - lilypond.git/log
lilypond.git
12 years agoMerge remote branch 'origin' into release/unstable
Graham Percival [Fri, 26 Aug 2011 08:45:40 +0000 (09:45 +0100)]
Merge remote branch 'origin' into release/unstable

12 years agoFixes issue 1628.
Mike Solomon [Thu, 25 Aug 2011 07:32:53 +0000 (09:32 +0200)]
Fixes issue 1628.

Changes the order in which callbacks are chained in the slur engravers,
allowing the correct callback order for articulations that are added
later on in a timestep.

12 years agoFixes issue 1328.
Mike Solomon [Thu, 25 Aug 2011 07:16:51 +0000 (09:16 +0200)]
Fixes issue 1328.

Finds the local minimum or maximum of a Bezier curve along the X
axis in the range of an intersection and shifts intersecting
curves up over this range plus slur padding.

Adds default slur padding to all scripts, as this algorithm makes
them almost just touch with the slur whereas the previous one already
had a bit of padding built into it because it was a generous approximation.

12 years agoDOC: Revise CG 3.4 commit access
Colin Campbell [Wed, 24 Aug 2011 02:28:32 +0000 (20:28 -0600)]
DOC: Revise CG 3.4 commit access

Minor revision to specify using RSA keys as required
by Savannah, and suggests copying keys if multiple
development machines are used.

12 years agogrob.cc: Don't start consing before smobify_self
David Kastrup [Tue, 23 Aug 2011 19:21:15 +0000 (21:21 +0200)]
grob.cc: Don't start consing before smobify_self

12 years agoGet rid of one more invalid memory access
Reinhold Kainhofer [Tue, 23 Aug 2011 19:11:57 +0000 (21:11 +0200)]
Get rid of one more invalid memory access

12 years agoFix 1783: Wrap filename in quotes for external commands, so spaces work
Reinhold Kainhofer [Mon, 15 Aug 2011 15:37:13 +0000 (17:37 +0200)]
Fix 1783: Wrap filename in quotes for external commands, so spaces work

12 years agoMusicXML testsuite: Fix compilation for out-of-source builds...
Reinhold Kainhofer [Tue, 23 Aug 2011 16:10:15 +0000 (18:10 +0200)]
MusicXML testsuite: Fix compilation for out-of-source builds...

12 years agopdf-scheme: use malloc and g_free to avoid mixing new/free in scm_take_str
Reinhold Kainhofer [Tue, 23 Aug 2011 15:24:10 +0000 (17:24 +0200)]
pdf-scheme: use malloc and g_free to avoid mixing new/free in scm_take_str

12 years agoabc2ly: Also ignore whitespace at begin of lyrics lines
Reinhold Kainhofer [Tue, 23 Aug 2011 14:12:49 +0000 (16:12 +0200)]
abc2ly: Also ignore whitespace at begin of lyrics lines

12 years agoFix uninitialized variables when Source_file::get_counts returns early due to !contai...
Reinhold Kainhofer [Tue, 23 Aug 2011 11:06:30 +0000 (13:06 +0200)]
Fix uninitialized variables when Source_file::get_counts returns early due to !contains (pos_str0)

12 years agoApply optical corrections to tight spacing; issue 1480
Keith OHara [Tue, 23 Aug 2011 05:47:21 +0000 (22:47 -0700)]
Apply optical corrections to tight spacing; issue 1480

12 years agoUnisons between voices may 'touch' regardless of dots; issue 589
Keith OHara [Tue, 23 Aug 2011 04:31:18 +0000 (21:31 -0700)]
Unisons between voices may 'touch' regardless of dots; issue 589

12 years agoResolve warnings: initialization, casting
Keith OHara [Sun, 21 Aug 2011 21:01:22 +0000 (14:01 -0700)]
Resolve warnings: initialization, casting

12 years agolexer.ll: remove unused patterns, avoid backing up
Keith OHara [Wed, 10 Aug 2011 07:57:44 +0000 (00:57 -0700)]
lexer.ll: remove unused patterns, avoid backing up

12 years agoIn memoriam, dotcol_.
Mike Solomon [Mon, 22 Aug 2011 13:41:57 +0000 (15:41 +0200)]
In memoriam, dotcol_.

Gone from rhythmic-column-engraver.cc, where it was vestigial.

12 years agoT1349 - Fix load order for running with Guile V2
Ian Hulin [Mon, 22 Aug 2011 10:01:13 +0000 (11:01 +0100)]
T1349 - Fix load order for running with Guile V2

1. Split load list into components (init-scheme-files-lib, *-used, *-body
and *-tail, and append them together before doing load.
2. Split markup macros from markup.scm to new file markup-macros.scm

12 years agoLilypond-book: Remove unused noquote option (commented only as internal, but never...
Reinhold Kainhofer [Sun, 21 Aug 2011 14:35:32 +0000 (16:35 +0200)]
Lilypond-book: Remove unused noquote option (commented only as internal, but never used)

12 years agoLilypond-book: rename variable in MusicXML snippets
Reinhold Kainhofer [Sun, 21 Aug 2011 14:33:42 +0000 (16:33 +0200)]
Lilypond-book: rename variable in MusicXML snippets

12 years agoLilypond-book: Move code around, no real changes
Reinhold Kainhofer [Sun, 21 Aug 2011 14:35:01 +0000 (16:35 +0200)]
Lilypond-book: Move code around, no real changes

12 years agoLilypond-book: Remove unused options/paper variables
Reinhold Kainhofer [Sat, 20 Aug 2011 18:00:47 +0000 (20:00 +0200)]
Lilypond-book: Remove unused options/paper variables

-) We don't have a force-assignment paper variable any more...
-) Remove unused LANG option

12 years agoLilypond-Book: We need the [snippetfile].txt files for makeinfo...
Reinhold Kainhofer [Sat, 20 Aug 2011 18:00:22 +0000 (20:00 +0200)]
Lilypond-Book: We need the [snippetfile].txt files for makeinfo...

Make the .txt file required, otherwise we'll get warnings from makeinfo.
Also create the .txt file for MusicXML files

12 years agoFix printing of our manuals (CSS messup, forgot to update the definitions when the...
Reinhold Kainhofer [Sat, 20 Aug 2011 17:59:53 +0000 (19:59 +0200)]
Fix printing of our manuals (CSS messup, forgot to update the definitions when the page structure changed)

12 years agoPart-combine: Fix uninitialized last_playing_ member
Reinhold Kainhofer [Sun, 21 Aug 2011 12:14:35 +0000 (14:14 +0200)]
Part-combine: Fix uninitialized last_playing_ member

12 years agoLilypond-book: Add missing translation
Reinhold Kainhofer [Mon, 22 Aug 2011 10:16:21 +0000 (12:16 +0200)]
Lilypond-book: Add missing translation

12 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/lilypond into clef
Janek Warchol [Mon, 22 Aug 2011 06:47:56 +0000 (08:47 +0200)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/lilypond into clef

12 years agoFixes Issue 40.
Mike Solomon [Mon, 22 Aug 2011 06:36:46 +0000 (08:36 +0200)]
Fixes Issue 40.

Adds an end-on-accidental bool in the details property of glissandi
that is used in line spanner bound calculations.

12 years agochanging shape of the G clef
Janek Warchol [Wed, 6 Jul 2011 16:40:42 +0000 (18:40 +0200)]
changing shape of the G clef

makes upper loop smaller,
bottom crook sticks less,
vertical line is more evenly curved.
Also the upper loop is slightly bigger
in _change version of the clef than
in the regular version, to fit stafflines well.

12 years agoDOC: fix T1811 warning re cueDuring fontsize
colinpkcampbell@gmail.com [Sun, 21 Aug 2011 23:54:48 +0000 (17:54 -0600)]
DOC: fix T1811 warning re cueDuring fontsize

DOC: NR Warning added to para for cueDuring
As per Tracker 1811.
Added @warning{} to alert users to create
explicit contexts in certain cases.

12 years agoFixed spacing in space-alist; issue 1785
Keith OHara [Sun, 21 Aug 2011 05:15:52 +0000 (22:15 -0700)]
Fixed spacing in space-alist; issue 1785

The 'fixed' distance was intended to limit compressibility.

12 years agoAvoid redundant space in note spacing; issue 1779
Keith OHara [Thu, 28 Jul 2011 00:32:25 +0000 (17:32 -0700)]
Avoid redundant space in note spacing; issue 1779

ly/staff-spacing.cc: don't increase ideal distance if the ideal
distance gives sufficient clearance.

ly/spacing-spanner.cc: compute total spring length before checking
clearances.

12 years agoRevert "Doc: NR-3.2 titling"
Jean-Charles Malahieude [Sun, 21 Aug 2011 18:09:12 +0000 (20:09 +0200)]
Revert "Doc: NR-3.2 titling"

This reverts commit 6810d727b278d15825eecb2b497d1a966241d4eb.

12 years agoadd Janek Warchol to authors
Janek Warchol [Sun, 21 Aug 2011 15:53:21 +0000 (17:53 +0200)]
add Janek Warchol to authors

12 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/lilypond
Mike Solomon [Sun, 21 Aug 2011 15:19:28 +0000 (17:19 +0200)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/lilypond

12 years agoProvides a pure height conversion for Beam::rest_collision_callback.
Mike Solomon [Sun, 21 Aug 2011 15:16:20 +0000 (17:16 +0200)]
Provides a pure height conversion for Beam::rest_collision_callback.

This prevents horizontal collisions between beamed rests and their
beamed neighbors.

12 years agoRevert "New alist to replace special characters."
Bertrand Bordage [Sun, 21 Aug 2011 14:44:23 +0000 (16:44 +0200)]
Revert "New alist to replace special characters."

This reverts commit 28d8d9ac38857927790af5759c393adeff1ceb82.

12 years agoRevert "New engraver for braces."
Bertrand Bordage [Sun, 21 Aug 2011 14:44:22 +0000 (16:44 +0200)]
Revert "New engraver for braces."

This reverts commit 97b34b56e2cf3f8465f651717b5e0f6ea10d7543.

12 years agoRevert "Fixes figuredBassCenterContinuations."
Bertrand Bordage [Sun, 21 Aug 2011 14:44:22 +0000 (16:44 +0200)]
Revert "Fixes figuredBassCenterContinuations."

This reverts commit 0f3d6992fe539249018a71257ae62a40858f3f96.

12 years agoRevert "New short and long lyric ties."
Bertrand Bordage [Sun, 21 Aug 2011 14:44:21 +0000 (16:44 +0200)]
Revert "New short and long lyric ties."

This reverts commit 60b4f9c7372dbed592f8c3b592d19872fad8adda.

12 years agoRevert "lily-guile updates and CG: "Scheme->C interface" section."
Bertrand Bordage [Sun, 21 Aug 2011 14:44:17 +0000 (16:44 +0200)]
Revert "lily-guile updates and CG: "Scheme->C interface" section."

This reverts commit f8eebf9751f142cedcedb370b34b5cc2d0fc737c.

12 years agoUpdate convertrules.py for use-breve-rest.
Bertrand Bordage [Sun, 21 Aug 2011 14:10:06 +0000 (16:10 +0200)]
Update convertrules.py for use-breve-rest.

12 years agolily-guile updates and CG: "Scheme->C interface" section.
Bertrand Bordage [Fri, 19 Aug 2011 14:17:12 +0000 (16:17 +0200)]
lily-guile updates and CG: "Scheme->C interface" section.

12 years agoNew short and long lyric ties.
Bertrand Bordage [Mon, 15 Aug 2011 23:17:51 +0000 (01:17 +0200)]
New short and long lyric ties.

12 years agoFixes figuredBassCenterContinuations.
Bertrand Bordage [Fri, 12 Aug 2011 11:48:49 +0000 (13:48 +0200)]
Fixes figuredBassCenterContinuations.

12 years agoNew engraver for braces.
Bertrand Bordage [Thu, 4 Aug 2011 12:56:50 +0000 (14:56 +0200)]
New engraver for braces.

12 years agoNew alist to replace special characters.
Bertrand Bordage [Fri, 29 Jul 2011 21:26:45 +0000 (23:26 +0200)]
New alist to replace special characters.

add-text-replacements! command for \paper blocks.

\replace to add replacements directly inside markups.

12 years agoDoc: NR-3.2 titling
Jean-Charles Malahieude [Sat, 20 Aug 2011 14:30:10 +0000 (16:30 +0200)]
Doc: NR-3.2 titling
Reinstate that normally only piece & opus are printed
when \header is within \score.

12 years agoCorrects image size in web.pdf - issue 982
Phil Holmes [Thu, 18 Aug 2011 14:25:24 +0000 (15:25 +0100)]
Corrects image size in web.pdf - issue 982

12 years agofix typo
Keith OHara [Fri, 19 Aug 2011 03:39:03 +0000 (20:39 -0700)]
fix typo

12 years agoLoglevels: Document distinction between PROGRESS and INFO
Reinhold Kainhofer [Thu, 18 Aug 2011 23:22:00 +0000 (01:22 +0200)]
Loglevels: Document distinction between PROGRESS and INFO

12 years ago[doc] Insert possible breakpoints after slashes.
Werner Lemberg [Thu, 18 Aug 2011 22:01:41 +0000 (00:01 +0200)]
[doc] Insert possible breakpoints after slashes.

This is far from complete, but...

12 years agoLilypond-book: Rewrite docs for MusicXML snippets
Reinhold Kainhofer [Thu, 4 Aug 2011 18:43:31 +0000 (20:43 +0200)]
Lilypond-book: Rewrite docs for MusicXML snippets

12 years agoLilypond-book: Rewrite docs for MusicXML snippets
Reinhold Kainhofer [Thu, 4 Aug 2011 18:43:31 +0000 (20:43 +0200)]
Lilypond-book: Rewrite docs for MusicXML snippets

12 years agoLilypond-book: Add more readable progress output, so one can see where things go...
Reinhold Kainhofer [Thu, 4 Aug 2011 17:41:55 +0000 (19:41 +0200)]
Lilypond-book: Add more readable progress output, so one can see where things go wrong

12 years agoLilypond-book: Variable name clash
Reinhold Kainhofer [Wed, 7 Jul 2010 11:55:18 +0000 (13:55 +0200)]
Lilypond-book: Variable name clash

12 years agoMusicXML test suite: use custom py formatter for MusicXML files
Reinhold Kainhofer [Thu, 24 Jun 2010 10:00:03 +0000 (12:00 +0200)]
MusicXML test suite: use custom py formatter for MusicXML files

Use the .xml (and .mxl) files in collated-files rather than the
converted .ly ones.

In the future, I want to change the layout of each test case to also
include renderings from other applications and maybe some other information.

12 years agolilypond-book: Add documentation for MusicXML support
Reinhold Kainhofer [Mon, 25 Jul 2011 23:25:25 +0000 (01:25 +0200)]
lilypond-book: Add documentation for MusicXML support

12 years agoLilypond-book: Implement MusicXML support in lilypond-book
Reinhold Kainhofer [Fri, 11 Jun 2010 19:19:19 +0000 (21:19 +0200)]
Lilypond-book: Implement MusicXML support in lilypond-book

This patch adds support for including MusicXML files into
documents processed by lilypond-book. In particular:
-) HTML: <musicxmlfile options>filename.xml</musicxmlfile>
-) TeX: \musicxmlfile[options]{filename.xml}
-) Texinfo: @musicxmlfile[options]{filename.xml}

Since MusicXML is so verbose, it doesn't make much sense to
support inline MusicXML.

The snippets are basically processed like a lilypond file,
except that musicxml2ly is run on them (with the options given
for the snippet) and the returned lilypond code is then processed
as if it were the original contents of the file.

For the output links, however, the html and texinfo pages will
link to the .xml/.mxl file rather than the intermediate .ly file.

If a file has the extension .mxl, it is assumed to be a compressed
MusicXML file (alternatively, the 'compressed' snippet option can
be given).

What's missing is proper documentation in "Usage". I'm unsure
how to document such new snippet types...

12 years agoFixes overlapping boxes in docs: issue 1813
Phil Holmes [Thu, 18 Aug 2011 11:38:07 +0000 (12:38 +0100)]
Fixes overlapping boxes in docs: issue 1813

12 years agoReduces size of architecture diagram
Phil Holmes [Thu, 18 Aug 2011 10:37:19 +0000 (11:37 +0100)]
Reduces size of architecture diagram

12 years agoGuile v2: Set 'show-file-name option correctly.
Patrick McCarty [Thu, 18 Aug 2011 06:18:46 +0000 (23:18 -0700)]
Guile v2: Set 'show-file-name option correctly.

This fixes a compile issue with Guile v2.

Using the `debug-enable' procedure with non-boolean debug options raises
an error with Guile v2.  The internal type for `show-file-name' is
SCM_OPTION_SCM, and this is why we can't use `debug-enable' here.

The fix is to use `debug-set!', passing the unquoted option name and
the value as arguments (as stated in the Guile documentation).

12 years ago[doc] Try to omit leading # if not necessary.
Werner Lemberg [Thu, 18 Aug 2011 06:04:35 +0000 (08:04 +0200)]
[doc] Try to omit leading # if not necessary.

I wonder whether a leading ' should be omitted also, but I think it doesn't
really harm because it's never part of a Scheme expression (unlike to `#f'
or `#t').

12 years agoUpdate \version in output of midi2ly; issue 1554
Keith OHara [Thu, 18 Aug 2011 03:53:55 +0000 (20:53 -0700)]
Update \version in output of midi2ly; issue 1554

12 years agoComplete removal of unused optarg in ly:stencil-combine-at-edge.
Neil Puttock [Wed, 17 Aug 2011 23:25:14 +0000 (00:25 +0100)]
Complete removal of unused optarg in ly:stencil-combine-at-edge.

12 years agoconvert-ly.py: Add convert rule for interval-translate.
Neil Puttock [Wed, 17 Aug 2011 23:01:32 +0000 (00:01 +0100)]
convert-ly.py: Add convert rule for interval-translate.

12 years ago[doc] Handle leading dash in @code.
Werner Lemberg [Wed, 17 Aug 2011 17:22:21 +0000 (19:22 +0200)]
[doc] Handle leading dash in @code.

Due to the default value of texinfo.tex's `@allowcodebreaks true', line
breaks after a dash within @code is allowed; this makes sense due to the
very long Scheme identifiers containing many dashes.  However, we have a lot
of `@code{-1}', and it looks very ugly to have a line break within this
expression.

This patch fixes it (also converting many `@code' to the correct `@option'),
using `@w{...}' where appropriate.  However, I've done it only for the
English documentation, expecting the translators to follow up.

12 years agoFixes issue 620.
Mike Solomon [Wed, 17 Aug 2011 08:18:00 +0000 (10:18 +0200)]
Fixes issue 620.

Also fixes issue 591 (which was previously fixed, but is re-fixed
here).

Does this by making the extents of an axis group maleable depending
on the interfaces one chooses to use for bounds in the property
bound-alignment-interfaces

See generic_bound_extent in axis-group-interface.cc to see
how this works.  All other changes get the data pumped into
this function.

12 years agoFix a number of boolean/SCM confusions
David Kastrup [Tue, 16 Aug 2011 23:20:18 +0000 (01:20 +0200)]
Fix a number of boolean/SCM confusions

12 years agokey-engraver.cc: Don't create a list head-first just to reverse it.
David Kastrup [Tue, 16 Aug 2011 19:05:05 +0000 (21:05 +0200)]
key-engraver.cc: Don't create a list head-first just to reverse it.

12 years agocontext-def.cc: scm_memq before scm_delete_x is redundant, and its result is not...
David Kastrup [Tue, 16 Aug 2011 17:46:33 +0000 (19:46 +0200)]
context-def.cc: scm_memq before scm_delete_x is redundant, and its result is not a valid C condition anyway and could have caused duplicate entries.

12 years ago[notation reference] One more line length fix.
Werner Lemberg [Tue, 16 Aug 2011 09:01:04 +0000 (11:01 +0200)]
[notation reference] One more line length fix.

12 years ago[notation reference] PDF layout fixes and other minor improvements.
Werner Lemberg [Tue, 16 Aug 2011 08:19:47 +0000 (10:19 +0200)]
[notation reference] PDF layout fixes and other minor improvements.

12 years agoImprove layout of `percussion-chart.ly'.
Werner Lemberg [Tue, 16 Aug 2011 07:43:00 +0000 (09:43 +0200)]
Improve layout of `percussion-chart.ly'.

There is certainly room for more improvements, but now it gives at least a
decent result in the PDF version of the Notation Reference.

12 years agoDoc: CG: disallow commas in @node names.
Graham Percival [Tue, 16 Aug 2011 05:11:14 +0000 (22:11 -0700)]
Doc: CG: disallow commas in @node names.

12 years agoTexi2HTML: don't wrap <p> around the contents of table cells.
Reinhold Kainhofer [Sat, 13 Aug 2011 13:32:37 +0000 (15:32 +0200)]
Texi2HTML: don't wrap <p> around the contents of table cells.

    This fixes the ugly huge space around table cells in our documentation

12 years agoUses python 2.4 syntax for scheme_float in output-distance.py
Mike Solomon [Mon, 15 Aug 2011 21:25:47 +0000 (23:25 +0200)]
Uses python 2.4 syntax for scheme_float in output-distance.py

12 years agoMerge remote branch 'origin' into release/unstable
Graham Percival [Mon, 15 Aug 2011 21:13:52 +0000 (22:13 +0100)]
Merge remote branch 'origin' into release/unstable

12 years agoLoglevels: Add to changes.tely
Reinhold Kainhofer [Mon, 15 Aug 2011 13:46:54 +0000 (15:46 +0200)]
Loglevels: Add to changes.tely

12 years agoLoglevels: Also document Grob:: warning functions and clean them up
Reinhold Kainhofer [Mon, 15 Aug 2011 10:13:26 +0000 (12:13 +0200)]
Loglevels: Also document Grob:: warning functions and clean them up

12 years agoMore g++ 4.6.1 compiler warnings (-Wunused-but-set-variable).
Werner Lemberg [Mon, 15 Aug 2011 10:53:38 +0000 (12:53 +0200)]
More g++ 4.6.1 compiler warnings (-Wunused-but-set-variable).

12 years agoClean up g++ 4.6.1 compiler warnings (-Wunused-but-set-variable).
Werner Lemberg [Mon, 15 Aug 2011 07:37:43 +0000 (09:37 +0200)]
Clean up g++ 4.6.1 compiler warnings (-Wunused-but-set-variable).

12 years agoSync type for lyricMelismaAlignment with self-alignment-X.
Neil Puttock [Sun, 14 Aug 2011 22:10:23 +0000 (23:10 +0100)]
Sync type for lyricMelismaAlignment with self-alignment-X.

* scm/define-context-properties.scm (all-user-translation-properties):

  change type for lyricMelismaAlignment to number?

12 years agoGet rid of some compiler warnings; Fix chdir handling of errors
Reinhold Kainhofer [Sun, 7 Aug 2011 17:13:04 +0000 (19:13 +0200)]
Get rid of some compiler warnings; Fix chdir handling of errors

-) Some "unused parameter" warnings
-) Some "ignoring return value" are a bit trickier. They are bad coding style:
    o) the file-name.cc one returns a string with undefined contents if getcwd
       fails, which might either crash guile or lead to other bugs.
    o) the lily-parser-scheme.cc warning was also a programming error (if you
       used --output=dir/file, and dir/ had the wrong permissions, then
       lilypond would not print an error, but simply put the output file into
       the current directory without telling the user!).
       In this case (output dir explicitly requested, but not possible
       to change there), I think it's best to exit lilypond with an
       error.
-) signed/unsigned warning in glissando-engraver.cc, where we already
   had a check for negative values, so explicitly casting to unsigned
   shuts up the compiler.
-) Remove unneccessary #(set-paper-size "a6") in the regtests
-) fix bad texinfo code in function documentation

12 years agoLoglevels: Fix version number in regtest
Reinhold Kainhofer [Sun, 14 Aug 2011 14:13:45 +0000 (16:13 +0200)]
Loglevels: Fix version number in regtest

12 years agoLoglevels: Developer documentation
Reinhold Kainhofer [Sat, 13 Aug 2011 13:33:22 +0000 (15:33 +0200)]
Loglevels: Developer documentation

12 years agoLoglevels: User documentation in AU
Reinhold Kainhofer [Sun, 14 Aug 2011 13:14:45 +0000 (15:14 +0200)]
Loglevels: User documentation in AU

12 years agoLoglevels: Add ly:input-warning, ly:music-warning Scheme functions
Reinhold Kainhofer [Fri, 5 Aug 2011 18:25:12 +0000 (20:25 +0200)]
Loglevels: Add ly:input-warning, ly:music-warning Scheme functions

-) Add ly:input-warning, ly:music-warning Scheme functions (also
   print location of the warning)
-) improve warnings from Scheme

12 years agoProper loglevels: cmd-line option --loglevel=NONE/ERROR/WARN/BASIC/PROGRESS/DEBUG
Reinhold Kainhofer [Fri, 29 Jul 2011 17:52:41 +0000 (19:52 +0200)]
Proper loglevels: cmd-line option --loglevel=NONE/ERROR/WARN/BASIC/PROGRESS/DEBUG

Allow the user to specify which messages (s)he wants to see on stderr:
The lilypond code basically stays the same, I only added a loglevel
global variable, which is used in the warning/error*/progress*/success
functions (ly:warning, ly:error, etc. in Scheme). If the proper level
is not set for a message, it is not printed.

There are only some larger changes:
-) Global var be_verbose_global replaced by loglevel (in warn.cc, accessor
   is_loglevel(...);  much finer-grained)
-) New functions debug_output, which replaces code like:
   if (be_verbose_global) {
   progress_indication (...)
   }
-) Move all scheme log functions to warn-scheme.cc
-) Add (optional) source location info to warning/error/log messages

All changes were done to warn.cc and to the member of the Input class
(apparently, we have two parallel error-reporting "frameworks" in
lilypond...).

Note for all functions in warn.cc (not for the members of Input):
The debug_output function (and progress_indication and message) have
an optional argument to specify whether the output of the message
should always start on a new line or continue the previous output.

All functions of the Input class now are just a front-end for the functions
in warn.cc

Documentation for this new feature is still missing (both in the AU
as well as in the CG).

12 years agoAdding Phil Holmes to dev team
Phil Holmes [Sat, 13 Aug 2011 14:09:56 +0000 (15:09 +0100)]
Adding Phil Holmes to dev team

12 years agoAdds a glyph for tied lyrics.
Bertrand Bordage [Sat, 6 Aug 2011 22:20:23 +0000 (00:20 +0200)]
Adds a glyph for tied lyrics.

12 years agoDoc: update Translation Status.
Francisco Vila [Sat, 13 Aug 2011 14:16:59 +0000 (16:16 +0200)]
Doc: update Translation Status.

12 years agoMerge branch 'master' into lilypond/translation
Francisco Vila [Sat, 13 Aug 2011 13:39:04 +0000 (15:39 +0200)]
Merge branch 'master' into lilypond/translation

12 years agoDoc-ja: add spacing.itely.
Yoshiki Sawada [Sat, 13 Aug 2011 07:39:23 +0000 (16:39 +0900)]
Doc-ja: add spacing.itely.

Doc-ja: add spacing.itely to NR-ja and some fixes.

12 years agoFix 1214: Don't crash with \relative c' \new Voice {...}
Reinhold Kainhofer [Wed, 3 Aug 2011 19:19:28 +0000 (21:19 +0200)]
Fix 1214: Don't crash with \relative c' \new Voice {...}

Also add better warnings if the quoted music is empty
or cannot be found.

Also works if a complete voice (or a more complex structure) is
quoted, i.e. when one uses
   \addQuote "quote" \new Voice {...}
   \addQuote "quote" \relative c' \new Voice {...}

As a positive (unintended) side-effect, quoting music
with parallel sections, i.e. containing << { ...} \\ { ...} >>
now also quote those notes.

12 years agoFix 1214: cueDuring and quoteDuring should also quote voices that create subvoices
Reinhold Kainhofer [Sat, 2 Jul 2011 14:15:23 +0000 (16:15 +0200)]
Fix 1214: cueDuring and quoteDuring should also quote voices that create subvoices

If a voice was quoted that created a subvoice, add-quotable wrongly selected
only that subvoice for quoting rather than the original voice.

The proper fix is to correctly use the assoc list returned by
recording-group-emulate. We need to hand it a proper unique voice name
and can then extract the events for just this voice, no matter which other
voices are created.

If the music expression passed to \addQuote is a voice itself, we only use
its contents for quoting.

12 years agoDoc: move Bertrand to developers.
Bertrand Bordage [Sat, 13 Aug 2011 07:49:06 +0000 (09:49 +0200)]
Doc: move Bertrand to developers.

12 years agoauto-beam-engraver: keep a Context_handle to starting Staff
Keith OHara [Sat, 6 Aug 2011 19:05:59 +0000 (12:05 -0700)]
auto-beam-engraver: keep a Context_handle to starting Staff

12 years agolily/context-handle: rename function, variable
Keith OHara [Sat, 6 Aug 2011 08:28:08 +0000 (01:28 -0700)]
lily/context-handle: rename function, variable

12 years agolily/note-collision.cc: close holes in logic; issue 1792
Keith OHara [Fri, 18 Mar 2011 20:34:26 +0000 (13:34 -0700)]
lily/note-collision.cc: close holes in logic; issue 1792

12 years agoMerge remote branch 'origin' into release/unstable
Graham Percival [Fri, 12 Aug 2011 08:00:54 +0000 (09:00 +0100)]
Merge remote branch 'origin' into release/unstable