Werner Lemberg [Sun, 26 Jul 2009 17:22:08 +0000 (19:22 +0200)]
Formatting.
Patrick McCarty [Sun, 26 Jul 2009 07:45:58 +0000 (00:45 -0700)]
SVG backend: use a fill of currentColor for glyphs
Patrick McCarty [Sun, 26 Jul 2009 04:23:34 +0000 (21:23 -0700)]
SVG backend: round real-number values for 4 places
This is part of the SVG Tiny 1.2 spec
Note that the "path" stencil expression still needs
rounding treatment too.
Patrick McCarty [Tue, 14 Jul 2009 01:22:13 +0000 (18:22 -0700)]
SVG backend: convert music font glyphs to paths
This patch implements on-the-fly conversion of the Emmentaler/Aybabtu
glyphs to SVG <path> elements.
Note that this patch depends on the previous 4 patches to work
correctly.
Patrick McCarty [Sun, 26 Jul 2009 03:07:02 +0000 (20:07 -0700)]
Adjust "font-name-style" procedure for SVG backend
Changes to make this procedure more generic for matching both fonts
with string names and font smobs that need their names extracted.
In the future, if all fonts are identified with string names, and
the "feta-alphabet" PFB fonts are no longer used, this procedure may
need to be adjusted.
Note that this procedure is only used for the SVG backend.
Patrick McCarty [Wed, 15 Jul 2009 16:54:28 +0000 (09:54 -0700)]
Change API to filter music fonts in text-interface
Currently, some grobs using the text-interface require
the music fonts (Emmentaler and Aybabtu). The new changes
for the SVG backend require special handling for these
cases, thus the API change.
Now the SVG backend will use "glyph-string" to output text
in the music fonts, and "utf-8-string" for all other text.
Patrick McCarty [Fri, 24 Jul 2009 18:30:19 +0000 (11:30 -0700)]
Add lists for possible font encodings
Currently, there is no central location for all of the font encoding
values LilyPond uses.
This patch creates two new procedures, one that returns a list of all
encodings used for LilyPond's music fonts (Emmentaler and Aybabtu),
and one that returns a list of the encodings used for all other fonts
(currently, latin1).
Patrick McCarty [Fri, 24 Jul 2009 19:23:46 +0000 (12:23 -0700)]
Remove utf-8-string from PS/EPS backend
This procedure was only used to catch programming mistakes. The new
"backend-testing" procedure emits warnings for these types of mistakes,
so it is now obsolete.
Patrick McCarty [Sun, 26 Jul 2009 01:08:31 +0000 (18:08 -0700)]
Fix "make doc" compile
Patrick McCarty [Sat, 25 Jul 2009 21:51:48 +0000 (14:51 -0700)]
Docs: IR: improve docstrings for Output_def callbacks
Mark Polesky [Sat, 25 Jul 2009 21:40:29 +0000 (14:40 -0700)]
IR 3 Backend: More auto-sorting.
John Mandereau [Sat, 25 Jul 2009 19:18:51 +0000 (21:18 +0200)]
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
Conflicts:
Documentation/fr/learning/introduction.itely
Documentation/fr/learning/tutorial.itely
Documentation/fr/learning/tweaks.itely
Documentation/fr/learning/working.itely
input/texidocs/chord-name-major7.texidoc
input/texidocs/chordchanges-for-fretboards.texidoc
input/texidocs/making-slurs-with-complex-dash-structure.texidoc
input/texidocs/non-default-tuplet-numbers.texidoc
input/texidocs/non-traditional-key-signatures.texidoc
John Mandereau [Sat, 25 Jul 2009 18:56:25 +0000 (20:56 +0200)]
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
Conflicts:
Documentation/user/music-glossary.tely
Mark Polesky [Sat, 25 Jul 2009 18:14:17 +0000 (11:14 -0700)]
Add dynamic script fffff; update docs.
John Mandereau [Sat, 25 Jul 2009 13:44:39 +0000 (15:44 +0200)]
Docs: reorganize documentation directory structure
* rename manuals by stripping "lilypond-" prefix from all source file names
and HTML and PDF output (it is kept in Info output, where it is necessary),
* move manuals in Documentation/user one directory higher, in addition
rename lilypond-program to application, and put .itely files in
subdirectories,
* move Documentation/topdocs/NEWS.tely to Documentation,
* move Documentation/devel/contrib-guide.texi to
Documentation/contributor.texi,
* move input/lsr/lilypond-snippets.tely to Documentation/, move the
rest input/lsr to Documentation/snippets,
* move input/new to Documentation/snippets/new,
* move input/texidocs contents to
Documentation/<language_codes>/texidocs, splitting texidocs by
language,
* do the same changes in all translations when applicable,
* move Documentation/devel/index.html.in back to Documentation/deve.html.in.
'make all', 'make doc' and 'make dist' have been tested, although tons
of broken HTML and PDF links and Info cross-references are expected.
Maintenance makefiles (Documentation/GNUmakefile) and scripts
(scripts/auxiliar) are known to be broken, they will be updated in a
future commit.
TODO: Documentation/GNUmakefile is still a bit of a mess.
John Mandereau [Sat, 25 Jul 2009 12:48:39 +0000 (14:48 +0200)]
lilypond-book robustness: ensure EOL at the end of @verbatim
Also honor NOGETTEXT fragment option for snippets-files.
John Mandereau [Sat, 25 Jul 2009 10:54:10 +0000 (12:54 +0200)]
Ignore Emacs CEDET cache file
John Mandereau [Sat, 25 Jul 2009 10:52:15 +0000 (12:52 +0200)]
Add script to split texidocs translations
Patrick McCarty [Sat, 25 Jul 2009 08:21:51 +0000 (01:21 -0700)]
Docs: IR: standardize type-predicate docstring format
Patrick McCarty [Sat, 25 Jul 2009 07:58:37 +0000 (00:58 -0700)]
Docs: IR: improve docstring for ly:context-property
Patrick McCarty [Sat, 25 Jul 2009 07:54:35 +0000 (00:54 -0700)]
Docs: IR: improve docs for ly:add-option
Patrick McCarty [Sat, 25 Jul 2009 07:43:07 +0000 (00:43 -0700)]
Docs: IR: attempt to document join-right-amount
Patrick McCarty [Sat, 25 Jul 2009 07:24:52 +0000 (00:24 -0700)]
Docs: IR: document dynamicAbsoluteVolumeFunction
Patrick McCarty [Sat, 25 Jul 2009 07:12:40 +0000 (00:12 -0700)]
Docs: IR: add missing descriptions for contexts
Patrick McCarty [Sat, 25 Jul 2009 05:05:53 +0000 (22:05 -0700)]
Docs: IR: improve docstring for ly:grob-property-data
Patrick McCarty [Sat, 25 Jul 2009 04:50:12 +0000 (21:50 -0700)]
Docs: IR: improve docstring for ly:grob-property
Patrick McCarty [Sat, 25 Jul 2009 03:18:27 +0000 (20:18 -0700)]
Change "dfault" to "val" in various docstrings
Mark Polesky [Sat, 25 Jul 2009 01:36:30 +0000 (18:36 -0700)]
scm folder: Fix/add incorrect/missing filename headers.
Joe Neeman [Fri, 24 Jul 2009 20:39:29 +0000 (13:39 -0700)]
Add Skyline::clear()
Joe Neeman [Fri, 24 Jul 2009 20:36:36 +0000 (13:36 -0700)]
Change the treatment of min-distance in springs.
Previously, we ensured that the ideal distance was at least
as large as the minimum distance, but it sometimes useful
not to. Now, if a spring has minimum distance larger than
ideal distance, it will remain fixed (at minimum-distance)
for a while as you start to stretch it, but it will stretch
eventually. This helps give us a more uniform vertical
spacing.
Joe Neeman [Fri, 24 Jul 2009 20:08:44 +0000 (13:08 -0700)]
Move page-breaking-wrapper into C++.
This is in preparation for deleting layout-page-layout.scm.
Joe Neeman [Sun, 14 Jun 2009 14:07:24 +0000 (17:07 +0300)]
Fix a thinko that broke the contract of STL sort.
Mark Polesky [Fri, 24 Jul 2009 02:00:19 +0000 (19:00 -0700)]
Docs: IR 3.2.37: Update grob-interface docstring.
Ralph Palmer [Thu, 23 Jul 2009 14:40:46 +0000 (16:40 +0200)]
NR 1.8 Indexing from Ralph
Mark Polesky [Wed, 22 Jul 2009 23:29:54 +0000 (16:29 -0700)]
define-music-types.scm: Sort music-descriptions alist.
Mark Polesky [Wed, 22 Jul 2009 23:27:06 +0000 (16:27 -0700)]
define-music-properties.scm: Sort all-music-properties alist.
Mark Polesky [Wed, 22 Jul 2009 23:22:51 +0000 (16:22 -0700)]
define-music-display-methods.scm: Sort post-event? list.
Mark Polesky [Wed, 22 Jul 2009 23:12:40 +0000 (16:12 -0700)]
define-grobs.scm: Sort interfaces.
* Sort interfaces.
* Remove "reorder sensibly" comment.
Trevor Daniels [Wed, 22 Jul 2009 18:09:11 +0000 (19:09 +0100)]
Merge branch 'MGjon'
Trevor Daniels [Wed, 22 Jul 2009 18:08:37 +0000 (19:08 +0100)]
Docs:MG: add a few translated terms
Jean-Charles Malahieude [Tue, 21 Jul 2009 19:33:39 +0000 (21:33 +0200)]
Doc-fr: Learning Manual full update
Francisco Vila [Tue, 21 Jul 2009 08:54:35 +0000 (10:54 +0200)]
Doc-es: fix bad object warnings and LSR snippet versions
Francisco Vila [Tue, 21 Jul 2009 08:23:27 +0000 (10:23 +0200)]
Doc-es: Full update.
Trevor Daniels [Tue, 21 Jul 2009 08:17:34 +0000 (09:17 +0100)]
Docs: MG: add 'hook'
- edited by Kurt Kroon
Francisco Vila [Tue, 21 Jul 2009 08:03:07 +0000 (10:03 +0200)]
Merge branch 'master' into lilypond/translation
Mark Polesky [Tue, 21 Jul 2009 00:13:03 +0000 (17:13 -0700)]
define-grob-properties.scm: Sort user and internal property lists.
* Sort user and internal property lists.
* Change note-columns type from pair? to ly:grob-array?.
* Move glyph-name from internal to user list.
Mark Polesky [Sun, 19 Jul 2009 06:39:01 +0000 (23:39 -0700)]
define-context-properties.scm: Sort translation properties.
Patrick McCarty [Mon, 20 Jul 2009 22:24:32 +0000 (15:24 -0700)]
Document the socket backend as a valid option
John Mandereau [Mon, 20 Jul 2009 09:19:09 +0000 (11:19 +0200)]
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
Neil Puttock [Sun, 19 Jul 2009 16:56:12 +0000 (17:56 +0100)]
Correct \displayLilyMusic output for single-note harmonics.
* since \harmonic only works inside chords, ensure \displayLilyMusic
interprets a single-note harmonic as a note_chord_element
* remove trailing spaces
Graham Percival [Sun, 19 Jul 2009 08:53:55 +0000 (01:53 -0700)]
Doc: CG: improve release steps.
Mark Polesky [Sun, 19 Jul 2009 00:40:20 +0000 (17:40 -0700)]
Docs: IR 2 Translation: Auto-sort various elements.
Fix wrongly nested sort/ref-ify calls:
(sort (map ref-ify lst)) --> (map ref-ify (sort lst)).
Auto-sort various unsorted elements.
Mark Polesky [Sun, 19 Jul 2009 00:32:56 +0000 (17:32 -0700)]
Docs: IR 1 Music definitions: Auto-sort various elements.
Mark Polesky [Sat, 18 Jul 2009 23:12:23 +0000 (16:12 -0700)]
documentation-lib.scm: Clarify ref-ify docstring.
Mark Polesky [Sat, 18 Jul 2009 03:16:25 +0000 (20:16 -0700)]
Docs: IR 3.2 Graphical Object Interfaces: Sort interfaces.
Francisco Vila [Fri, 17 Jul 2009 16:09:01 +0000 (18:09 +0200)]
Full update and new translation status.
Mark Polesky [Fri, 17 Jul 2009 05:31:25 +0000 (22:31 -0700)]
Docs: NR B.6 The Feta font: Rename nodes, fix whitespace.
Patrick McCarty [Thu, 16 Jul 2009 21:09:24 +0000 (14:09 -0700)]
Socket backend: reorganize and alphabetize
Mark Polesky [Wed, 1 Jul 2009 23:34:18 +0000 (16:34 -0700)]
Auto-sort all-grob-properties alist for docs.
- add auto-sorting code to top of document-backend.scm
- remove calls to (sort ...) that are now redundant
Mark Polesky [Wed, 1 Jul 2009 23:21:14 +0000 (16:21 -0700)]
Add new file lily-sort.scm; improve sorting in docs.
- add new file lily-sort.scm
- add "lily-sort.scm" to the ly:load list in documentation-generate.scm
- "string<?" --> "ly:string-ci<?" etc. in the document-*.scm files
Carl Sorensen [Fri, 17 Jul 2009 03:20:05 +0000 (21:20 -0600)]
Merge branch 'master' of carldsorensen@git.sv.gnu.org:/srv/git/lilypond
Patrick McCarty [Thu, 16 Jul 2009 20:36:06 +0000 (13:36 -0700)]
define-stencil-commands.scm: Finish alphabetizing
- also fix the indentation
Carl Sorensen [Thu, 16 Jul 2009 16:07:27 +0000 (10:07 -0600)]
Add information about snippets and translations
John Mandereau [Thu, 16 Jul 2009 14:39:31 +0000 (16:39 +0200)]
Docs: update translations status
John Mandereau [Thu, 16 Jul 2009 14:17:49 +0000 (16:17 +0200)]
Docs: convert French PO back to UTF-8
John Mandereau [Thu, 16 Jul 2009 11:31:23 +0000 (13:31 +0200)]
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
Conflicts:
Documentation/po/fr.po
John Mandereau [Wed, 15 Jul 2009 23:41:46 +0000 (01:41 +0200)]
Docs makefiles: get rid of unconditional translations postprocessing
John Mandereau [Tue, 14 Jul 2009 22:14:12 +0000 (00:14 +0200)]
Docs: prepare direct translation of node names in Texinfo sources
- fix nits in texi-gettext.py,
- update tely-gettext.py and extract_texi_filenames.py,
- use --master-map-file option of extract_texi_filenames.py added in
this commit,
- remove embarrassing node translations in French and Spanish doc POs.
All these updates have been tested with a few makefiles hooks (not
included in this commit), an apparently successful execution of
tely-gettext.py on all translations followed by 'make doc' and a quick
check of HTML and PDF output.
John Mandereau [Tue, 14 Jul 2009 22:12:36 +0000 (00:12 +0200)]
Docs: do not attempt a build of Japanese docs in PDF
John Mandereau [Tue, 14 Jul 2009 22:06:04 +0000 (00:06 +0200)]
Make Perl treat all I/O streams as UTF-8
This is necessary to the upcoming translation of node names in Texinfo
source.
John Mandereau [Sun, 12 Jul 2009 20:33:42 +0000 (22:33 +0200)]
Docs: move common files and factorize Texinfo macros
- move macros.itexi to Documentation/ to anticipate the possible move
of all Texinfo documentation to the same directory,
- move Texinfo init file from top of the source tree,
- factorize macros common to all languages into common-macros.itexi.
Patrick McCarty [Thu, 16 Jul 2009 07:39:41 +0000 (00:39 -0700)]
SVG backend: alphabetize the stencil expressions
Patrick McCarty [Tue, 7 Jul 2009 18:31:06 +0000 (11:31 -0700)]
Make -dwarning-as-error more general
* The following calls now issue errors
with the option -dwarning-as-error:
Grob::warning ()
Grob::programming_error ()
Input::warning ()
Input::programming_error ()
ly:warning
ly:programming-error
Patrick McCarty [Mon, 6 Jul 2009 00:03:34 +0000 (17:03 -0700)]
Only assign warning values for stencil commands
- Since the expressions in ly:all-output-backend-commands
are not intended to be defined in output-*.scm,
only assign warnings for ly:all-stencil-commands.
Patrick McCarty [Sun, 5 Jul 2009 23:51:31 +0000 (16:51 -0700)]
scm/define-stencil-commands.scm: cleanup
- Create a new procedure for stencil "commands",
the subset of stencil expressions that can be
defined in output-*.scm.
- Add the missing `setrotation' and `resetrotation'
expressions.
- Use ly:all-output-backend-commands for the rest
of the stencil expressions; thus,
`delay-stencil-evaluation' belongs here, and
add the missing `rotate-stencil' expression.
- Document the differences between the two procedures.
- Register all of the expressions in "one go".
Patrick McCarty [Sun, 5 Jul 2009 20:15:51 +0000 (13:15 -0700)]
Check for a null string before using `placebox'
- This is most important for output-svg, due to
the regular expression matching, but the other
output backends can benefit from the removal of
the superfluous `placebox' expressions.
Patrick McCarty [Sun, 5 Jul 2009 19:47:01 +0000 (12:47 -0700)]
Return a null string after calling ly:warning
- This is needed to ensure a sane value for
an undefined stencil expression.
Patrick McCarty [Sun, 5 Jul 2009 20:12:25 +0000 (13:12 -0700)]
Remove obsolete backend code
- 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.
- Remove the "catch-all" routines from the svg and socket
output backends; these are covered by the new procedure
in backend-library.scm
Patrick McCarty [Sun, 5 Jul 2009 19:56:34 +0000 (12:56 -0700)]
Add a new program option: -dwarning-as-error
(Thanks to Han-Wen and Jan for the initial idea)
- If a valid stencil expression is found, but is
undefined in the current backend, issue a warning
for every occurrence.
- The option -dwarning-as-error will cause LilyPond
to output an error and exit upon the first warning
encountered.
Graham Percival [Thu, 16 Jul 2009 05:21:30 +0000 (22:21 -0700)]
Doc: add Font to all font nodes (avoids potential confusion).
Mark Polesky [Wed, 15 Jul 2009 20:54:48 +0000 (13:54 -0700)]
Docs: NR B.6 The Feta font: Add menu; separate into nodes.
Jean-Charles Malahieude [Wed, 15 Jul 2009 20:14:56 +0000 (22:14 +0200)]
Doc-fr: rhythm chapter nitpicks
* thanks to François Martin and Xavier Scheuer for their proof-reading
Patrick McCarty [Wed, 15 Jul 2009 02:26:34 +0000 (19:26 -0700)]
SVG output nitpick: use well-formed SGML comments
Patrick McCarty [Wed, 15 Jul 2009 00:03:29 +0000 (17:03 -0700)]
Fix compile (again)
Patrick McCarty [Tue, 14 Jul 2009 23:57:31 +0000 (16:57 -0700)]
Docs: IR: correct (de)crescendo syntax.
Patrick McCarty [Tue, 14 Jul 2009 23:48:55 +0000 (16:48 -0700)]
Fix compile
Patrick McCarty [Tue, 14 Jul 2009 23:46:28 +0000 (16:46 -0700)]
Docs: IR: remove references to \property command
We might want to junk all of the "Syntax:" lines in the IR eventually,
but for now, make sure the information is accurate, at least.
Trevor Daniels [Tue, 14 Jul 2009 22:14:07 +0000 (23:14 +0100)]
Docs: NR Tweak command: can't be used to modify stems,
beams or accidentals *directly*
Patrick McCarty [Tue, 14 Jul 2009 21:51:57 +0000 (14:51 -0700)]
Laissez_vibrer_engraver: avoid duplicate self_scm () calls
- Also, remove trailing whitespace
Carl Sorensen [Tue, 14 Jul 2009 21:35:53 +0000 (15:35 -0600)]
Eliminate unix-specific -u flags from internationalization build
Carl Sorensen [Tue, 14 Jul 2009 20:19:25 +0000 (14:19 -0600)]
Docs: CG: add feature update checklist
Trevor Daniels [Tue, 14 Jul 2009 19:21:25 +0000 (20:21 +0100)]
Docs: NR 5.5 Clarify placement of Bézier override
Trevor Daniels [Tue, 14 Jul 2009 17:23:05 +0000 (18:23 +0100)]
Docs: LM: Follow-ups to suggestions from Jonathan Wilkes
Maximilian Albert [Mon, 13 Jul 2009 10:28:10 +0000 (19:28 +0900)]
Suggestions for improving the LM by Jonathan Wilkes
Trevor Daniels [Tue, 14 Jul 2009 15:14:13 +0000 (16:14 +0100)]
Docs: NR 5: index bezier curves for slurs and ties
Patrick McCarty [Tue, 14 Jul 2009 04:27:59 +0000 (21:27 -0700)]
Add a new stencil expression: embedded-svg
* This can only be used with the SVG backend.
Patrick McCarty [Sun, 12 Jul 2009 22:14:11 +0000 (15:14 -0700)]
Docs: IR: Remove unneeded arpeggio description
Patrick McCarty [Sun, 12 Jul 2009 21:58:48 +0000 (14:58 -0700)]
Docs: IR: Improve grob interface docstrings
Maximilian Albert [Sun, 12 Jul 2009 03:22:16 +0000 (12:22 +0900)]
Use hashlib instead of deprecated md5 module if Python >= 2.5 is present
Maximilian Albert [Thu, 9 Jul 2009 09:04:11 +0000 (18:04 +0900)]
Add NEWS entry about automatic deletion of intermediate files