]> git.donarmstrong.com Git - lilypond.git/log
lilypond.git
14 years agoMore refinements for the .mailmap
Patrick McCarty [Fri, 18 Sep 2009 02:54:19 +0000 (19:54 -0700)]
More refinements for the .mailmap

14 years agoAdditions for the .mailmap
Patrick McCarty [Fri, 18 Sep 2009 02:37:19 +0000 (19:37 -0700)]
Additions for the .mailmap

14 years agoContinue unsetting 'warning-as-error for regtests
Patrick McCarty [Thu, 17 Sep 2009 08:22:17 +0000 (01:22 -0700)]
Continue unsetting 'warning-as-error for regtests

14 years agoImprove 'warning-as-error handling again
Patrick McCarty [Thu, 17 Sep 2009 07:09:33 +0000 (00:09 -0700)]
Improve 'warning-as-error handling again

Currently, on the Scheme side, ly:warning and ly:programming-error are
redefined to ly:error.  This works, but if the user wants to override
this setting in an LY file, he will not be able to.

This commit moves the handling for the callbacks to C++, thus permitting
users to override -dwarning-as-error in LY files for calls to ly:warning
and ly:programming-error.

14 years agoframework-ps.scm: Fix indentation.
Neil Puttock [Thu, 17 Sep 2009 21:58:31 +0000 (22:58 +0100)]
framework-ps.scm: Fix indentation.

14 years agoExclude headers/top-level markup when processing systems for clipping.
Neil Puttock [Thu, 17 Sep 2009 21:53:24 +0000 (22:53 +0100)]
Exclude headers/top-level markup when processing systems for clipping.

14 years agoCompile fix.
Neil Puttock [Thu, 17 Sep 2009 21:14:38 +0000 (22:14 +0100)]
Compile fix.

14 years agoBuild: more EXTRA_DIST for GUB happiness.
Graham Percival [Thu, 17 Sep 2009 15:22:03 +0000 (16:22 +0100)]
Build: more EXTRA_DIST for GUB happiness.

No, I have no clue why most of these are necessary; they look wrong
to me.  But screw it, I want to get a release happening.  Tomorrow
morning, though.  I'm going to bed now.

14 years agoProviding more guitar tunings in scm/tablature.scm
Marc Hohl [Thu, 17 Sep 2009 08:47:52 +0000 (10:47 +0200)]
Providing more guitar tunings in scm/tablature.scm

The following tunings were added (low-high):
- guitar-open-d-tuning (D-A-D-F#-A-D)
- guitar-dadgad-tuning (D-A-D-G-A-D)
- guitar-lute-tuning (E-A-D-F#-B-E)
- guitar-asus4-tuning (E-A-D-E-A-E)

14 years agoDist: add files to dist to prevent GUB complaining.
Graham Percival [Thu, 17 Sep 2009 14:31:46 +0000 (15:31 +0100)]
Dist: add files to dist to prevent GUB complaining.

14 years agoDoc: prettify authors list.
Graham Percival [Thu, 17 Sep 2009 05:47:40 +0000 (06:47 +0100)]
Doc: prettify authors list.

14 years agoDocs: CG: recommend `git init' instead.
Patrick McCarty [Wed, 16 Sep 2009 22:59:46 +0000 (15:59 -0700)]
Docs: CG: recommend `git init' instead.

Since `git init-db' is an alias for `git init', we should document
the shorter, easier-to-remember version.

14 years agoLSR: Update.
Neil Puttock [Wed, 16 Sep 2009 21:16:15 +0000 (22:16 +0100)]
LSR: Update.

14 years agoDocs: Add @afourpaper to changes.tely.
Neil Puttock [Wed, 16 Sep 2009 20:28:17 +0000 (21:28 +0100)]
Docs: Add @afourpaper to changes.tely.

14 years agodefine-grobs.scm: Add missing interface.
Neil Puttock [Wed, 16 Sep 2009 19:50:52 +0000 (20:50 +0100)]
define-grobs.scm: Add missing interface.

14 years agoWhitespace error fixes.
Neil Puttock [Wed, 16 Sep 2009 19:42:21 +0000 (20:42 +0100)]
Whitespace error fixes.

14 years agoTurn assoc calls into secure assoc-get calls.
Michael Käppler [Sun, 13 Sep 2009 20:11:36 +0000 (22:11 +0200)]
Turn assoc calls into secure assoc-get calls.

* First stage: Turn all (cdr (assoc calls into (assoc-get calls.

14 years agoWeb: begin authors page.
Graham Percival [Wed, 16 Sep 2009 16:54:57 +0000 (17:54 +0100)]
Web: begin authors page.

14 years agoDoc build fix: apparently @uref{@version{}} breaks the tex input stack.
Graham Percival [Wed, 16 Sep 2009 16:22:48 +0000 (17:22 +0100)]
Doc build fix: apparently @uref{@version{}} breaks the tex input stack.

I guess I need to get python involved in writing version.itexi
sooner than I thought, because these "echo"s are ridiculous.  :(

14 years agoDoc build fix: apparently @uref{@version{}} breaks the tex input stack.
Graham Percival [Wed, 16 Sep 2009 16:22:48 +0000 (17:22 +0100)]
Doc build fix: apparently @uref{@version{}} breaks the tex input stack.

I guess I need to get python involved in writing version.itexi
sooner than I thought, because these "echo"s are ridiculous.  :(

14 years agoDoc build: add macros for stable/unstable version numbers.
Graham Percival [Wed, 16 Sep 2009 06:01:55 +0000 (07:01 +0100)]
Doc build: add macros for stable/unstable version numbers.

This is ugly, but it works.  We'll add a graceful way to do this
once people have the waf stuff working.

14 years agoDocs: LM 4.5.3: Fix Real music example
Trevor Daniels [Sun, 13 Sep 2009 21:59:48 +0000 (22:59 +0100)]
Docs: LM 4.5.3: Fix Real music example

 - the beaming is now correct by default, so remove
   the manual beaming and corresponding text

 - specify line-width to ensure changes elsewhere which
   might reduce line-width do not cause a line break

14 years agoExtending TabNoteHead properties
Marc Hohl [Fri, 11 Sep 2009 08:07:07 +0000 (10:07 +0200)]
Extending TabNoteHead properties

By introducing TabNoteHead #'details, we now have
better control about the appearance of split ties
and repeat ties.

To simplify the usage, two new commands are supported in
ly/property-init.ly: \showSplitTiedTabNotes and
                     \hideSplitTiedTabNotes, respectively.

14 years agoIdentify an additional contributor on mail map.
Francisco Vila [Mon, 14 Sep 2009 15:26:39 +0000 (17:26 +0200)]
Identify an additional contributor on mail map.

14 years agoDoc: CG: clarify instructions for macports.
Graham Percival [Mon, 14 Sep 2009 05:32:27 +0000 (06:32 +0100)]
Doc: CG: clarify instructions for macports.

14 years agoFine-tune mail map.
Francisco Vila [Sun, 13 Sep 2009 19:05:17 +0000 (21:05 +0200)]
Fine-tune mail map.

14 years agoImprove error checking in ly:assoc-get and ly:chain-assoc-get.
Michael Käppler [Sun, 13 Sep 2009 10:31:47 +0000 (12:31 +0200)]
Improve error checking in ly:assoc-get and ly:chain-assoc-get.

* Introduce a new optional argument strict_checking

* When strict_checking is set to true, output a programming_error
  if the given key is not found in the given alist / achain.

* This patch does not change the current behaviour. It prepares
  a greater modification to remove all assoc calls through
  secure assoc-get calls.

* Remove obsolete chain-assoc-get definition from lily-library.scm

14 years agoDoc build: move @afourpaper into individual manuals.
Graham Percival [Sun, 13 Sep 2009 13:58:05 +0000 (14:58 +0100)]
Doc build: move @afourpaper into individual manuals.

14 years agoDoc build: fix HTML names of translated files.
Graham Percival [Sun, 13 Sep 2009 12:14:27 +0000 (13:14 +0100)]
Doc build: fix HTML names of translated files.

14 years agoMerge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
John Mandereau [Sat, 12 Sep 2009 19:00:03 +0000 (21:00 +0200)]
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond

14 years agoPrepare introduction of Waf build system
John Mandereau [Fri, 11 Sep 2009 14:37:10 +0000 (16:37 +0200)]
Prepare introduction of Waf build system

14 years agoFix wrongly spelt name
Reinhold Kainhofer [Fri, 11 Sep 2009 09:33:41 +0000 (11:33 +0200)]
Fix wrongly spelt name

14 years agoFixed typo in mailmap
Reinhold Kainhofer [Fri, 11 Sep 2009 09:31:03 +0000 (11:31 +0200)]
Fixed typo in mailmap

14 years agoAdd .mailcap file for git shortlog
Reinhold Kainhofer [Fri, 11 Sep 2009 09:22:13 +0000 (11:22 +0200)]
Add .mailcap file for git shortlog

Add .mailcap file for git shortlog, so different spelling and different addresses don't affect statistics

14 years agoDocs: LM 4.5.2: Change example of 'right-padding
Trevor Daniels [Thu, 10 Sep 2009 23:13:11 +0000 (00:13 +0100)]
Docs: LM 4.5.2: Change example of 'right-padding

 - the previous example relied on a bug in accidental spacing
   which was corrected by the fix to bug 546.  This example also
   relies on some poor spacing, but that's the only reason for
   ever using 'right-padding.

14 years agoDocs: Compile fix.
Neil Puttock [Tue, 8 Sep 2009 21:07:33 +0000 (22:07 +0100)]
Docs: Compile fix.

14 years agoDoc-de: move engraving essay
Till Paala [Tue, 8 Sep 2009 08:27:23 +0000 (11:27 +0300)]
Doc-de: move engraving essay

14 years agoWeb: minor formatting fixes to Testimonials.
Graham Percival [Mon, 7 Sep 2009 20:33:39 +0000 (21:33 +0100)]
Web: minor formatting fixes to Testimonials.

14 years agoFix check for `utf-8-string' in output modules
Patrick McCarty [Mon, 7 Sep 2009 08:23:26 +0000 (01:23 -0700)]
Fix check for `utf-8-string' in output modules

When checking for `utf-8-string', we must not include the "warning"
definitions (set at runtime) for backends without `utf-8-string'.

An additional check is therefore necessary in order to ignore module
variables bound to lambda expressions.

All of the stencil expression procedures defined in output-*.scm create
variable<->symbol bindings, and has_utf8_string should be true in these
cases.  But the variable<->#f bindings should not count, because they
are set at runtime.

This commit adds an additional check to disclude the variable<->#f
bindings.

14 years agopo/nl.po: Translato.
Jan Nieuwenhuizen [Mon, 7 Sep 2009 09:26:39 +0000 (11:26 +0200)]
po/nl.po: Translato.

Or: fix really ugly dutch translation error message. ;-)

Thanks Martin!

14 years agoFix crash on overfull lines.
Joe Neeman [Mon, 7 Sep 2009 06:17:58 +0000 (23:17 -0700)]
Fix crash on overfull lines.

Previously, the line breaker would return an uninitialized Line_details
struct for lines that were overfull, causing the page breaker to
crash.

14 years agoDocs: NR 2.10.1: More specific node name
Trevor Daniels [Mon, 7 Sep 2009 06:43:48 +0000 (07:43 +0100)]
Docs: NR 2.10.1: More specific node name

14 years agoDoc: fix duplicate node name.
Joseph Wakeling [Sun, 6 Sep 2009 23:39:31 +0000 (01:39 +0200)]
Doc: fix duplicate node name.

14 years agoDoc: Further Reading for contemporary music.
Joseph Wakeling [Sat, 5 Sep 2009 20:30:58 +0000 (22:30 +0200)]
Doc: Further Reading for contemporary music.

14 years agoWeb: add links for regtests.
Graham Percival [Mon, 7 Sep 2009 00:03:24 +0000 (01:03 +0100)]
Web: add links for regtests.

14 years agoDoc: remove some of the GNUs.
Graham Percival [Sun, 6 Sep 2009 23:27:59 +0000 (00:27 +0100)]
Doc: remove some of the GNUs.

14 years agoDoc: minor fixes for new title pages.
Graham Percival [Sun, 6 Sep 2009 23:04:35 +0000 (00:04 +0100)]
Doc: minor fixes for new title pages.

14 years agoDoc: use title page macro for other manuals.
Graham Percival [Sun, 6 Sep 2009 07:39:08 +0000 (08:39 +0100)]
Doc: use title page macro for other manuals.

14 years agoWeb: add link to translation status page.
Graham Percival [Sun, 6 Sep 2009 07:38:51 +0000 (08:38 +0100)]
Web: add link to translation status page.

14 years agoDocs: abstract title page setup into a macro.
Graham Percival [Sun, 6 Sep 2009 07:12:57 +0000 (08:12 +0100)]
Docs: abstract title page setup into a macro.

14 years agoFix #743: Reinstate warnings for unterminated span dynamics.
Neil Puttock [Sun, 6 Sep 2009 22:35:33 +0000 (23:35 +0100)]
Fix #743: Reinstate warnings for unterminated span dynamics.

14 years agoDoc: Sketch of topics for contemporary approaches to rhythm
Joseph Wakeling [Sun, 6 Sep 2009 08:42:18 +0000 (09:42 +0100)]
Doc: Sketch of topics for contemporary approaches to rhythm

14 years agoDoc: move alternate editor ads to webpage.
Graham Percival [Sat, 5 Sep 2009 04:02:21 +0000 (05:02 +0100)]
Doc: move alternate editor ads to webpage.

14 years agoDoc: fix amusing typo.
Graham Percival [Sat, 5 Sep 2009 03:57:50 +0000 (04:57 +0100)]
Doc: fix amusing typo.

14 years agoDoc: AU reorg.
Graham Percival [Sat, 5 Sep 2009 03:57:13 +0000 (04:57 +0100)]
Doc: AU reorg.

14 years agoEssay: freshened up Baerenreiter images
Andrew Hawryluk [Fri, 4 Sep 2009 04:22:24 +0000 (22:22 -0600)]
Essay: freshened up Baerenreiter images

Remove annotations from baer-ledger.png, add original scan of
Bach's Sarabande, straighten baer-sarabande.png, and add a
high resolution (1200 dpi) b/w version for the PDF.

14 years agoReduce 'outside-staff-priority of fermata over full measure rests
Trevor Daniels [Fri, 4 Sep 2009 21:28:00 +0000 (22:28 +0100)]
Reduce 'outside-staff-priority of fermata over full measure rests

 - keep a fermata placed over a multi-measure rest
   close to the staff, in particular ensure it is
   not displaced upwards by TextScripts

 - add regression test for this and for inverting fermata
   glyph when placed under the staff

14 years agoContemporary music: pitch and harmony.
Joseph Wakeling [Fri, 4 Sep 2009 14:45:28 +0000 (16:45 +0200)]
Contemporary music: pitch and harmony.

 * Outline of subsubsections for pitch & harmony in
   contemporary music specialist notation section

 * Initial set of references for pitch & harmony in
   contemporary music

 * Moved Contemporary music to be above Ancient music
   in the Specialist Notation menu

14 years agoContemporary music: overview of new specialist notation section.
Joseph Wakeling [Thu, 3 Sep 2009 23:27:10 +0000 (01:27 +0200)]
Contemporary music: overview of new specialist notation section.

14 years agoDoc: a few minor text/formatting improvements to OSX compile stuff.
Graham Percival [Fri, 4 Sep 2009 04:07:49 +0000 (05:07 +0100)]
Doc: a few minor text/formatting improvements to OSX compile stuff.

14 years agoDoc: CG: moved OSX compiling into "Problems" subsection.
Graham Percival [Fri, 4 Sep 2009 04:02:56 +0000 (05:02 +0100)]
Doc: CG: moved OSX compiling into "Problems" subsection.

14 years agoAdd 'Compiling on Mac OS X' section to basic-compile.texi
Travis Briggs [Fri, 4 Sep 2009 01:18:44 +0000 (21:18 -0400)]
Add 'Compiling on Mac OS X' section to basic-compile.texi

Added this section, which details the resolutions to issues encountered
while compiling source on OS X 10.5.

14 years agoTurkish classical music documentation tweaks.
Joseph Wakeling [Thu, 3 Sep 2009 09:30:13 +0000 (11:30 +0200)]
Turkish classical music documentation tweaks.

14 years agoMinor formatting.
Werner Lemberg [Thu, 3 Sep 2009 05:58:42 +0000 (07:58 +0200)]
Minor formatting.

14 years agoThere shouldn't be empty lines after @seealso.
Werner Lemberg [Thu, 3 Sep 2009 05:56:10 +0000 (07:56 +0200)]
There shouldn't be empty lines after @seealso.

14 years agoDocs: fix minor FIXMEs.
Graham Percival [Thu, 3 Sep 2009 03:46:20 +0000 (04:46 +0100)]
Docs: fix minor FIXMEs.

14 years agoDocs: reorg of AU almost complete.
Graham Percival [Thu, 3 Sep 2009 03:45:21 +0000 (04:45 +0100)]
Docs: reorg of AU almost complete.

14 years agoDoc: add macros for the manual intro page, and links to the CG.
Graham Percival [Thu, 3 Sep 2009 03:44:43 +0000 (04:44 +0100)]
Doc: add macros for the manual intro page, and links to the CG.

14 years agoBuild: add a special target for the split website portion of the docs.
Graham Percival [Fri, 28 Aug 2009 01:45:31 +0000 (02:45 +0100)]
Build: add a special target for the split website portion of the docs.

14 years agoTurkish classical music corrections.
Joseph Wakeling [Wed, 2 Sep 2009 18:29:13 +0000 (20:29 +0200)]
Turkish classical music corrections.

14 years agoExtended documentation on Turkish classical music and Makam.
Joseph Wakeling [Tue, 1 Sep 2009 19:33:41 +0000 (21:33 +0200)]
Extended documentation on Turkish classical music and Makam.

 * New section on 'Non-Western note names and accidentals'
   in the Pitches section of the Notation Reference.
   Contains table of accidentals for makam.ly.

 * New section on Turkish classical music in the World
   Music section of the Notation Reference.

14 years agoSpanish update of MG
Francisco Vila [Wed, 2 Sep 2009 15:53:41 +0000 (17:53 +0200)]
Spanish update of MG

14 years agoDocs: NR 2.7: index chordChanges
Trevor Daniels [Wed, 2 Sep 2009 16:09:30 +0000 (17:09 +0100)]
Docs: NR 2.7: index chordChanges

14 years agoMerge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into...
Till Paala [Wed, 2 Sep 2009 07:19:40 +0000 (10:19 +0300)]
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into lilypond/translation

14 years agoMerge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
John Mandereau [Tue, 1 Sep 2009 13:59:24 +0000 (15:59 +0200)]
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond

14 years agoDoc: web: resolve some FIXMEs.
Graham Percival [Tue, 1 Sep 2009 02:48:05 +0000 (03:48 +0100)]
Doc: web: resolve some FIXMEs.

14 years agoDoc: reorg sections in AU.
Graham Percival [Tue, 1 Sep 2009 02:38:56 +0000 (03:38 +0100)]
Doc: reorg sections in AU.

14 years agoDoc: remove material duplicated in General.
Graham Percival [Tue, 1 Sep 2009 02:09:33 +0000 (03:09 +0100)]
Doc: remove material duplicated in General.

14 years agoLSR: Local update.
Neil Puttock [Mon, 31 Aug 2009 20:39:37 +0000 (21:39 +0100)]
LSR: Local update.

14 years agoDon't replace % by \% in ly:format. The png backen uses % as escape sequence
Reinhold Kainhofer [Mon, 31 Aug 2009 17:33:50 +0000 (19:33 +0200)]
Don't replace % by \% in ly:format. The png backen uses % as escape sequence

14 years agoDon't access counter directly (not available any more), use output-suffix instead
Reinhold Kainhofer [Mon, 31 Aug 2009 17:07:49 +0000 (19:07 +0200)]
Don't access counter directly (not available any more), use output-suffix instead

14 years agoAdd $current-book and $current-bookpart parser variables
Reinhold Kainhofer [Sun, 30 Aug 2009 00:52:33 +0000 (02:52 +0200)]
Add $current-book and $current-bookpart parser variables

They allow us to properly add scores programmatically and mix them
with explicit scores.

Add a sample file to show how to add scores. This is also a proper
regtest for automatically generated scores in scheme

14 years ago Add the header block to all children, not just the first bookpart
Reinhold Kainhofer [Mon, 31 Aug 2009 14:08:45 +0000 (16:08 +0200)]
 Add the header block to all children, not just the first bookpart

14 years agomake several *->lily-string public, so they can be used e.g. in debug messages
Reinhold Kainhofer [Mon, 31 Aug 2009 14:06:50 +0000 (16:06 +0200)]
make several *->lily-string public, so they can be used e.g. in debug messages

Also useful for automatically-generated scores (e.g. given a pitch, one can
now automatically determine the lilypond pitch name).

14 years agoImprove behavior of `make distclean'
Patrick McCarty [Sun, 30 Aug 2009 22:52:53 +0000 (15:52 -0700)]
Improve behavior of `make distclean'

This target is supposed to perform a `make clean', and then remove the
appropriate parts of configure output.

Thus, $(LOOP) should be removed, since configure output only appears in
the top-src-dir, and $(outdir) should be removed afterwards.

The other two changes are just nitpicks: the quotes are not needed, and
$(outdir) already expands to ./out, so the extra ./ is superfluous.

14 years agoWeb: use static PNG images for the SVG examples
Patrick McCarty [Mon, 31 Aug 2009 07:35:18 +0000 (00:35 -0700)]
Web: use static PNG images for the SVG examples

Ideally, we want to convert from SVG->PNG during the build process, but
this is too much of a hassle right now.

14 years agoDoc: overview of manuals.
Graham Percival [Mon, 31 Aug 2009 06:50:38 +0000 (07:50 +0100)]
Doc: overview of manuals.

14 years agoVim ftdetect: use `set ft' instead of `setf'.
Patrick McCarty [Mon, 31 Aug 2009 05:32:03 +0000 (22:32 -0700)]
Vim ftdetect: use `set ft' instead of `setf'.

Since filetype.vim is no longer distributed, the `setf' command will
only set the filetype if Vim's default filetype.vim does not detect a
matching filetype first.

Unfortunately, when certain lines begin with #(, the "generic" filetype
is matched, so the LilyPond-specific highlighting is never loaded.

A workaround is to use `set ft'; this sets the filetype to `lilypond'
unconditionally for all files ending in .ly or .ily, which is what we
want.

14 years agoVim syntax: set current_syntax to `lilypond'.
Patrick McCarty [Mon, 31 Aug 2009 04:08:09 +0000 (21:08 -0700)]
Vim syntax: set current_syntax to `lilypond'.

14 years agoDoc: workaround weird bug in macros and/or texi2html.
Graham Percival [Mon, 31 Aug 2009 01:40:59 +0000 (02:40 +0100)]
Doc: workaround weird bug in macros and/or texi2html.

14 years agolily-library.scm: add `interval-intersection' procedure
Patrick McCarty [Mon, 31 Aug 2009 01:34:38 +0000 (18:34 -0700)]
lily-library.scm: add `interval-intersection' procedure

14 years agoDocs: CG: add URL for git man pages
Patrick McCarty [Mon, 31 Aug 2009 01:26:32 +0000 (18:26 -0700)]
Docs: CG: add URL for git man pages

14 years agoDoc: clarify early Learning.
Graham Percival [Mon, 31 Aug 2009 01:18:49 +0000 (02:18 +0100)]
Doc: clarify early Learning.

14 years agoDoc: CG: make central location for other git docs.
Graham Percival [Mon, 31 Aug 2009 01:04:25 +0000 (02:04 +0100)]
Doc: CG: make central location for other git docs.

14 years agoDoc-de: move working.itely to application.tely and updates from master
Till Paala [Sun, 30 Aug 2009 14:12:07 +0000 (17:12 +0300)]
Doc-de: move working.itely to application.tely and updates from master

14 years agoUpdate commitish for essay.tely
Till Paala [Sun, 30 Aug 2009 13:53:49 +0000 (16:53 +0300)]
Update commitish for essay.tely

14 years agoSVG backend: robustify glyph-matching regexp
Patrick McCarty [Sun, 30 Aug 2009 00:37:18 +0000 (17:37 -0700)]
SVG backend: robustify glyph-matching regexp

Use the [:space:] POSIX character class instead of [\r\n\t ]; it is more
legible, and it also accounts for formfeeds and vertical tabs too.

14 years agoClean up indentation.
Patrick McCarty [Sun, 30 Aug 2009 00:12:21 +0000 (17:12 -0700)]
Clean up indentation.

14 years agoUse our own ~s ly:format placeholder, since guile is broken with wide chars
Reinhold Kainhofer [Thu, 20 Aug 2009 09:54:20 +0000 (11:54 +0200)]
Use our own ~s ly:format placeholder, since guile is broken with wide chars

We need our own ~S format placeholder to escape quotes, so use
lilypond's string formating to make wide utf-8 chars work in filenames

Guile seems unable to handle wide characters, so we mustn't use
simple-format or format, because that will break with non-ANSI characters
(char code > 255). Instead, Implement our own ~S placeholder, that
wraps the string in double quotes and escapes backslashes, double
quotes, percent and dollar signs.

Use this format placeholder to generate the proper cmd line args
for our calls to gs.

14 years agoImplement framework for post-fix text (de)cresc spanners (backend only)
Reinhold Kainhofer [Fri, 21 Aug 2009 22:47:41 +0000 (00:47 +0200)]
Implement framework for post-fix text (de)cresc spanners (backend only)

The main problem why \decr or \dim were prefix operators was that the
new dynamic engraver was reading only the properties of the Engraver
itself, so there was no way to create a CrescendoEvent and at the same
time specify the hairpin/text behavior.

This patch makes the New_dynamic_engraver also look at the properties
of the (Dec|C)recendoEvent and prefer a setting from there. If the event
does not have a property (which will be the case most of the time), the
Engraver's settings are used (i.e. same behavior as now).

With this change, e.g. \dim can be defined as
dim = #(make-music 'DecrescendoEvent 'span-direction START
            'span-type text 'span-text "dim.")
and used as postfix like a4\dim without the need of any overrides
before the affected note.

This is just the backend commit, implementing processing of the event's
properties. The definition of \cresc is still unchanged, leaving the old
prefix notation in place, until we find  good upgrade path.

Also add regtests for text cresc spanners and add the regtest to the
snippets.