DescriptionFix crash when a stencil routine is missing
example: using embedded-ps with -dbackend=svg
- Remove obsolete code from lily.scm that was
used before the output backends took their current
form.
- Remove exported bindings from output-ps.scm; the
output backends no longer use a `public interface',
since all work is done with ly:outputter-dump-stencil,
which uses the modules directly.
- Reorganize define-stencil-commands.scm and add a couple
of missing stencil commands.
- Use a generic procedure (backend-testing) for the
current output backend to emit warnings if a stencil
routine is missing. Additionally, return an empty
string (null string) for missing routines.
- Create a new program option (-dwarning-as-error) that
will cause LilyPond to exit with an error for all warnings and programming_errors. It is disabled by default.
- In the `placebox' stencil routine, check for an empty
string before execution.
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add a new program option and use a single procedure for all output backends #Patch Set 3 : Same as Patch Set 2, except for a merge fix in output-ps.scm #Patch Set 4 : Reorganize define-stencil-commands.scm logically #Patch Set 5 : Make -dwarning-as-error a general option #Patch Set 6 : Resolve conflicts #
MessagesTotal messages: 3
|