summaryrefslogtreecommitdiff
path: root/scripts/convert-ly.py
Commit message (Expand)AuthorAgeFilesLines
* Run grand-replace for 2009.Jan Nieuwenhuizen2009-01-061-2/+2
* Update some python scripts to (c) --2008 and render grand-replace affectible.Jan Nieuwenhuizen2009-01-061-8/+15
* Fix "Report bugs..." localized strings...This allows adding a link to a list where the language of the translation is used. John Mandereau2008-12-091-3/+4
* Run `make grand-replace'.Jan Nieuwenhuizen2008-12-011-1/+1
* Fix typo in convert-ly.Neil Puttock2008-11-131-1/+1
* Python scripts: fail explicitly if Python version < 2.4...This is mainly intended for MacOS GUB binaries. John Mandereau2008-09-291-0/+2
* Improve man pages in `scripts' directory....help2man is quite picky: . It needs newlines to properly identify the various sections. . Examples must start with a shell prompt character. . Multiple usage lines needs the same indentation. . I've replaced the `Bugs' string with an empty one in the call to the `addoption_group' since it confuses help2man otherwise. Note that man page output is still not optimal yet; some constructs can't be handled well by automatic parsing. Werner Lemberg2008-07-311-4/+4
* Fix convert-ly and make --current-version really workJohn Mandereau2008-02-291-4/+4
* Add --current-version convert-ly cmd line option...Also allow guessing \version when reading from stdin, and clean up deprecated string functions. John Mandereau2008-02-291-16/+24
* Use encoded write in convert-ly...This should fix convert-ly failure in release 2.11.40. John Mandereau2008-02-191-11/+12
* Improve Python scripts localization...* all scripts: add --help and --version options manually so they are localized, and mark 'Bugs' for translation; * musicxml2ly.py: use gettext from lilylib, uniformize option descriptions (always start downcase and do not end with a period); * musicexp.py, musicxml.py: use encoded writing to stderr and save translation work by creating error and warning functions. John Mandereau2008-02-131-3/+12
* Use Python Unicode encoding for gettexted strings...Python 2.5 strings encoding handling seems not always consistent between various modules, so we must use Python Unicode strings and thus reencode strings when writing to stderr/stdout. This commit applies changes proposed on lilypond-devel a while ago in thread "Gettexted messages encoding with Python 2.5". Even if GUB still uses Python 2.4, LilyPond packages on some distros (e.g. Fedora) already use 2.5, so it's important to fix this. I think these changes are also compatible with 2.4, but anyway I must check GUB binary when it's out. By the way, further localization work is needed: localize musicxml2ly strings, and fix some nitpicks. John Mandereau2008-01-301-5/+5
* Run grand-replace on all sources. Updates (c) ....--2006 lines.Jan Nieuwenhuizen2007-08-091-1/+1
* use sed-atfiles to put relocation handling in python scripts.Han-Wen Nienhuys2007-01-251-12/+3
* More message fixes and dutch translations.Jan Nieuwenhuizen2006-12-231-22/+21
* Oops "cannot.Jan Nieuwenhuizen2006-12-221-2/+2
* initial.Jan Nieuwenhuizen2006-12-221-2/+2
* import convertrules explicitly. This catches FatalConversionError() correctly.Han-Wen Nienhuys2006-12-191-16/+15
* scripts/convert-ly.py: honour the -n command line switchJoe Neeman2006-08-101-3/+1
* (datadir): remove LILYPONDPREFIX support.Han-Wen Nienhuys2006-07-241-183/+175
* Fix some bugs in the dynamic engraver and PostScript backendErlend Aasland2006-05-311-175/+185
* scripts/convert-ly.py: honour the -n command line switchJoe Neeman2006-08-101-3/+1
* (datadir): remove LILYPONDPREFIX support.Han-Wen Nienhuys2006-07-241-183/+175
* (ATVARIABLES): add TARGET_PYTHON as subst...variable. Han-Wen Nienhuys2006-05-171-1/+1
* (get_option_parser):Han-Wen Nienhuys2006-03-121-1/+1
* * Documentation/user/invoking.itely: add note about MacOS X scripts....* scripts/convert-ly.py (do_options): don't print help for --show-rules rule. Han-Wen Nienhuys2006-03-091-1/+2
* * scripts/midi2ly.py (Key.dump): pychecker cleanups....* python/lilylib.py (underscore): remove identify() , warranty() * ps/music-drawing-routines.ps: change Border routine for GSView compatibility. * lily/stem.cc (height): use quantize-positions. This triggers set_stem_lengths, so scripts on beamed stems are handled correctly. * lily/side-position-interface.cc (aligned_side): check if edges of script are inside staff. Fixes accent of edge of the staff. * input/regression/staccato-pos.ly: more examples. Han-Wen Nienhuys2006-03-021-13/+31
* * scripts/midi2ly.py: optparse, strip lilylib copy....* scripts/abc2ly.py (voices): use optparse. * scripts/convert-ly.py (bindir): use optparse, argv[0] relocation. Han-Wen Nienhuys2006-03-011-1/+1
* * scripts/convert-ly.py (bindir): use optparse, argv[0] relocation....* scripts/lilypond-book.py (find_file): use global_options for include path Han-Wen Nienhuys2006-03-011-73/+78
* (get_beam_translation): new function....(calc_slope): new function. (height): don't use real slope. Han-Wen Nienhuys2006-02-101-0/+2
* *** empty log message ***Jan Nieuwenhuizen2006-02-081-0/+3
* the great dash-replace....(lilypond_version_re_str): require only numbers and dots in \version string. Han-Wen Nienhuys2006-02-061-1/+0
* (mangle_cxx_identifier): new...function. Class_bla::foo_bar_[px] -> ly:class-bla::foo-bar[?!]. Changes throughout Han-Wen Nienhuys2006-01-311-1/+1
* (scm_from_unsigned): add scm_from_unsigned().Han-Wen Nienhuys2006-01-311-1/+1
* * The grand 2005-2006 replace.Jan Nieuwenhuizen2006-01-061-1/+1
* * scripts/convert-ly.py (datadir): add prefix switching hack to....py too. * lily/grob-property.cc (del_property): new function. Han-Wen Nienhuys2005-10-211-1/+4
* * python/convertrules.py (conv): inside-slur -> avoid-slur....Remove functions. Remove if 1: constructs, reindent. * scripts/convert-ly.py (add_version): Add functions from convertrules.py * scm/script.scm (default-script-alist): s/priority/script-priority. Fixes script stacking. Backportme. (Fermata): Very low priority. Jan Nieuwenhuizen2005-08-181-3/+56
* Add exc -> eccentricity rule.Graham Percival2005-07-141-0/+3
* * scm/framework-ps.scm (write-preamble): use ly:system....(write-preamble): verbosity. * scripts/convert-ly.py: cleanup. Use lilylib. Use convertrules. Han-Wen Nienhuys2005-06-151-1/+1
* * scripts/convert-ly.py: cleanup. Use lilylib. Use convertrules....* python/convertrules.py: new file. Store conversion rules separately. Han-Wen Nienhuys2005-06-141-2683/+124
* * scripts/convert-ly.py (conv): unfoldrepeats -> unfoldRepeats,...compressmusic -> compressMusic. * ly/music-functions-init.ly (oldaddlyrics): idem. Han-Wen Nienhuys2005-05-251-1/+11
* * scripts/convert-ly.py: In the conversion to version 1.9.0,... keep Scheme expressions and strings unmodified when doing the conversion to postfix notation for slurs and beams. Should hopefully solve most related conversion problems. Mats Bengtsson2005-05-091-2/+42
* * scripts/convert-ly.py: Attempt to do a smarter update of... text markups from versions < 1.9.0 with arbitrary nesting. Mats Bengtsson2005-05-041-9/+38
* * scripts/convert-ly.py: Bug fixMats Bengtsson2005-05-021-1/+1
* * scripts/lilypond-book.py (ly_options): set timing to #f for...notime option. * scripts/convert-ly.py (conv): typo. Han-Wen Nienhuys2005-05-011-1/+1
* Typo.Werner Lemberg2005-04-221-1/+1
* * scm/auto-beam.scm (revert-property-setting): Bugfixes: add...missing parameter, actualy cdr through list. Actually return a list with ENTRY removed (was '()). * scripts/convert-ly.py: Update. Print warning if file cannot be opened. (do_conversion): Fix printing of continuation comma. * Documentation/user/advanced-notation.itely (Beam formatting): Remove refbugs about compound time and mixed duration. * scm/auto-beam.scm (default-auto-beam-settings): Write out all modulo moments explicitely. * lily/moment.cc (operator %): New function. * lily/moment-scheme.cc (ly:mod-moment): Wrap it. * lily/translator-scheme.cc (ly:translator-now, ly:translator-property): New function. * scm/auto-beam.scm (default-auto-beam-check): New function. * lily/auto-beam-engraver.cc (test_moment): Use it. * flower/rational.cc (operator %): Bugfix. Jan Nieuwenhuizen2005-04-211-3/+38
* Fix error message....Print usage if no files on command line. (usage): Add example usage. Jan Nieuwenhuizen2005-04-191-2/+16
* *** empty log message ***Han-Wen Nienhuys2005-04-191-2/+1
* release commitHan-Wen Nienhuys2005-04-141-0/+7