Patrick McCarty [Sun, 24 Jan 2010 22:46:51 +0000 (14:46 -0800)]
Fix #887: Use ly:string-percent-encode for textedit URIs.
* Add an overloaded instance of String_convert::bin2hex optimized for
converting single bytes to hex.
* Add a new callback, ly:string-percent-encode, to be used for percent
escaping paths in textedit URIs. This does the following:
- Leave unreserved characters in textedit URIs unescaped. This
includes 0-9, A-Z, a-z, and three punctuation characters (hyphen,
underscore, and full-stop).
- Leave the forward slash (/) unescaped, since it is used as a path
delimiter.
- Escape all other characters. Don't check for a null byte, since
those likely won't sneak into a full pathname.
Patrick McCarty [Thu, 28 Jan 2010 21:04:37 +0000 (13:04 -0800)]
Fontconfig: simplify font caching process.
- Remove FcConfigGetCache(), since it returns NULL in all modern
Fontconfig versions.
- Remove obsolete code. Fontconfig automatically sets up rescanning
intervals for font caches and does not use per-user cache files
anymore.
- Use FcInitBringUptoDate(), which takes care of all caching issues
behind the scenes. For example, it will automatically call
FcConfigBuildFonts() and FcConfigSetCurrent(), if necessary.
Neil Puttock [Wed, 27 Jan 2010 01:41:04 +0000 (01:41 +0000)]
Set context-id for implicit voices in polyphony shorthand.
Since voicify-music now uses the context alias `Bottom' to create the
appropriate voice-level contexts in a << { } \\ { } >> construct, the
context-id sent via context-spec-music is ignored.
* add context-id as arg to Global_context/Context::get_default_interpreter (),
with empty string as default
* pass context-id to Context::get_default_interpreter () so it can
be used in call to create_context () instead of empty string
* add regtest, which will fail to compile if context-id is invalid
Graham Percival [Fri, 22 Jan 2010 00:18:18 +0000 (00:18 +0000)]
Build: hackily add bibliography.
This is quite yucky, but it's taken over an hour and frankly
nobody's complained that the bibliography has been broken for a
year, so I'm inclined just to go with this.
Alexander Kobel [Fri, 22 Jan 2010 02:34:14 +0000 (18:34 -0800)]
Fix X-translation of \fill-line markup.
fill-line currently only considers the extents of the stencils, not
their position relative to the X-origin; with the patch, they are
shifted according to the first stencil argument.
John Mandereau [Thu, 21 Jan 2010 18:43:53 +0000 (19:43 +0100)]
Update translation instructions in the Contribuotrs' Guide
- remove explanation for converting old translations that didn't use
@translationof, as there are probably no longer such docs around;
- really explain committishes stuff;
- remove last traces of the old Documentation index in HTML and the
switch to the new website in Texinfo;
- link to new CG sectiosn about Git usage;
- explicitly tell translators the freedom they may want to take w.r.t.
partial translation of a file or taking distance from the text in
English, using Community section of the website as an example.
Graham Percival [Wed, 20 Jan 2010 21:45:20 +0000 (21:45 +0000)]
Usage: add stub for info about shared \includes.
This is aimed at non-lilypond-distributed projects, such as
Dr. Chubb's articulate.ly (better MIDI sound). Ideally we'd have
nothing in this section (because anything useful would be merged
with lilypond, possibly about being cleaned up a bit), but adding
info here is a useful stepping stone.
Graham Percival [Wed, 20 Jan 2010 21:29:09 +0000 (21:29 +0000)]
Doc: new chapter "External programs" in Usage.
This consists of the old "Converting from other formats" chapter,
plus the "Point and click" and "Text editor support" from the
Running lilypond chapter; all of these kind-of stuck out
awkwardly.
No nodes were harmed (renamed) in the making of this patch so far.
"Running lilypond-book"'s "Alternate methods..." has been moved
into External programs, with the new name of "LilyPond output in
other programs". The old name still exists for ease of TOC and
whatnot, but anybody referring to it might want to change to the
new name to avoid a relatively pointless redirect.