| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Issue 4346
Remove cygwin_conv_to_posix_path
cygwin_conv_to_posix_path is
deprecated on cygwin (32bit) and
not available on cygwin64.
It is not needed in a pure
cygwin environment.
|
| |
|
|
|
|
| |
Run make grand-replace to update all coopyright statements
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
makes sense to avoid unnecessary copying of 'string' objects.
Measurements on x86_64 (i7-2760QM, 2.40GHz) Fedora 19 with g++ 4.8.1, with
configure --enable-optimising --disable-debugging; tests run 10 times, average
elapsed time compared (/usr/bin/time)
* Bach, Concerto in E major or violin and strings, BWV 1042 (Mutopia source),
38 pages:
$ lilypond score.ly -> master: 15.4s, with patch: -0.1%
* lilypond regression tests (1153 .ly files):
$ lilypond *.ly -> master: 276.6s, with patch: -2.5%
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-) Some "unused parameter" warnings
-) Some "ignoring return value" are a bit trickier. They are bad coding style:
o) the file-name.cc one returns a string with undefined contents if getcwd
fails, which might either crash guile or lead to other bugs.
o) the lily-parser-scheme.cc warning was also a programming error (if you
used --output=dir/file, and dir/ had the wrong permissions, then
lilypond would not print an error, but simply put the output file into
the current directory without telling the user!).
In this case (output dir explicitly requested, but not possible
to change there), I think it's best to exit lilypond with an
error.
-) signed/unsigned warning in glissando-engraver.cc, where we already
had a check for negative values, so explicitly casting to unsigned
shuts up the compiler.
-) Remove unneccessary #(set-paper-size "a6") in the regtests
-) fix bad texinfo code in function documentation
|
|
|
|
|
|
|
|
|
|
|
| |
Apologies for the inconvenience in patch handling, but getting
this done at once will cause less long-term problems than trying
to do this piecemeal.
Note for future git historians: this patch was created by running
scripts/auxiliar/fixcc.py \
$(find flower lily -name '*cc' -o -name '*hh' | grep -v /out)
with astyle 2.02 installed. No manual changes were made.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Han-Wen Nienhuys <hanwen@xs4all.nl>
Signed-off-by: Jan Nieuwenhuizen <janneke@gnu.org>
Signed-off-by: John Mandereau <john.mandereau@gmail.com>
Signed-off-by: Graham Percival <graham@percival-music.ca>
Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
Signed-off-by: Joe Neeman <joeneeman@gmail.com>
Signed-off-by: Heikki Johannes Junes <hjunes@gmail.com>
Signed-off-by: Neil Puttock <n.puttock@gmail.com>
Signed-off-by: Carl D. Sorensen <c_sorensen@byu.edu>
Signed-off-by: Mats Bengtsson <mats.bengtsson@s3.kth.se>
Signed-off-by: Werner Lemberg <wl@gnu.org>
Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
Signed-off-by: Nicolas Sceaux <nicolas.sceaux@free.fr>
|
| |
|
| |
|
|
|
|
|
| |
- replace_all() takes string*
- remove some scm_i_XXX uses.
|
| |
|
|
|
|
|
|
| |
- add string_join()
- do the right thing with a//b for string_split()
- test functions
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dashed-line.
* lily/bar-line.cc (dashed_bar_line): new function.
(compound_barline): support \bar "dashed".
* lily/lily-parser-scheme.cc (LY_DEFINE): only write
--output=DIR to DIR/BASE if it is a dir.
* flower/file-name.cc (file_part): new function
(dir_part): new function
* lily/lily-parser-scheme.cc (LY_DEFINE):
* DEDICATION: update
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dashed-line.
* lily/bar-line.cc (dashed_bar_line): new function.
(compound_barline): support \bar "dashed".
* lily/lily-parser-scheme.cc (LY_DEFINE): only write
--output=DIR to DIR/BASE if it is a dir.
* flower/file-name.cc (file_part): new function
(dir_part): new function
* lily/lily-parser-scheme.cc (LY_DEFINE):
* DEDICATION: update
|
|
|
|
|
|
|
|
|
|
|
|
| |
pdf conversion behaviour.
* flower/file-name.cc (dir_name)
(get_working_directory): Move from relocate.cc.
* lily/relocate.cc (setup_paths): Remove rogue stat calls.
* lily/relocate.cc: Encapsulate sys/stat.h in
HAVE_STAT_H.
|
| |
|
|
|
|
|
|
|
|
| |
* flower/include/std-vector.hh: Finish std:: conversion; move
flower extensions from std:: namespace. Update users.
* lily/include/lily-proto.hh: Replace Link_array__*_ macros by
their expansion to vector<*>. Update users.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jobserver going.
* configure.in (std_vector): On by default.
* lily/include/font-metric.hh:
* lily/include/tfm-reader.hh:
* lily/include/spanner.hh: Use unsigned for indices and sizes.
Update users.
* Documentation/user/changing-defaults.itely: Fix link v2.5, out-www.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use NPOS for `not found' (iso -1), use ssize for length () and pos
type.
* flower/rational.cc:
* flower/include/rational.hh:
* flower/offset.cc:
* flower/include/offset.hh:
* flower/interval.cc:
* flower/include/interval.hh:
* flower/string-convert.cc:
* flower/include/string-convert.hh: Use std::string [interface].
Update callers.
|
|
|
|
|
|
|
|
| |
* flower/std-string.cc:
* flower/include/std-string.hh: New file.
* flower/file-name.cc[STD_STRING]:
* flower/include/file-name.hh[STD_STRING]: Use it.
|
| |
|
|
|
|
|
|
|
| |
dir without directory part.
* flower/file-name.cc (is_absolute): new method.
(is_absolute): check root_ too.
|
| |
|
| |
|
|
|
|
|
|
| |
* lily/main.cc (setup_paths): Bugfix for argv0 logic.
(setup_paths)[__CYGWIN__ || __MINGW32__ || ]: Normalize argv0.
(setup_paths)[__MINGW32__]: Also look for argv0 + .exe.
|
|
|
|
|
| |
unconverted value if cygwin_conv_to_posix_path () fails. Fixes
absolute file name bug. Backportme.
|
|
|
|
|
|
|
|
|
|
| |
* lily/laissez-vibrer-tie.cc: new file.
* lily/tie-column.cc (set_tie_config_directions): new function
(final_shape_adjustment): new function.
(shift_small_ties): new function.
* lily/tie-column.cc (set_chord_outline): new function.
|
| |
|
|
|
|
| |
or EXT_ components non-empty.
|
|
|
|
|
|
|
|
|
|
|
|
| |
append to it. Fixes \include with directories.
* flower/include/file-path.hh (class File_path): don't derive from
Array<String>.
* flower/include/file-name.hh (class File_name): remove to_str0()
* lily/hara-kiri-engraver.cc (acknowledge_grob): split
Hara_kiri_engraver in separate file.
|
|
|
|
|
|
|
|
| |
* scm/framework-ps.scm (write-preamble)[MINGW]: Use
load-font-via-GS, ttftool or fopencookie is broken on windows.
* scm/backend-library.scm (postscript->pdf)[MINGW]: Do not use
-dSAFER, that is broken on windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with Windows root in file name.
* scm/backend-library.scm (ly:system): Only redirect output (using
system and shell, ugh) if /dev/null is writable.
* Documentation/pictures/GNUmakefile [PLATFORM_WINDOWS]: Build
windows icon.
* scm/lily.scm (is-absolute?): New function. Fixes absolute files
on Mingw.
* scm/output-ps.scm (grob-cause): Use it. Fixes PDF point and
click.
* flower/file-path.cc (is_dir, is_file): New function. Actually
use result of stat when available.
* flower/file-path.cc (find): Use it. Refactor. Fixes Mingw,
absolute file name and root.
* scm/lily.scm (PLATFORM): On mingw, slashify getcwd.
* scm/editor.scm (get-editor-command): Typo: do not apply editor.
* flower/file-name.cc (slashify): Bugfix, do substitute if no
slashes in file name.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* flower/file-path.cc (to_string): Bugfix: use PATHSEP.
* ly/Welcome_to_LilyPond.ly: New file.
* lily/main.cc (main): Only identify if we have a terminal.
* scm/backend-library.scm (postscript->png)
(postscript->pdf): Fix file name quoting for GS/MINGW (ie,
non-/bin/sh).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
characters. Update callers.
* flower/file-name.cc (File_name): Slashify.
* scm/lily.scm: Use gui-main iso lilypond-main on MINGW.
* scripts/GNUmakefile (SEXECUTABLES): Add lilypond-invoke-editor.
* stepmake/aclocal.m4 (STEPMAKE_WINDOWS): New function.
* configure.in (gui_b): Use it.
* lily/lilypond.rc.in: New file.
* lily/GNUmakefile[PLATFROM_WINDOWS]: Compile it into executable.
|
|
|
|
|
| |
* lily
* kpath-guile: Nitpick run: buildscripts/fixcc.py.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Debian lmodern support.
* scm/framework-tex.scm (font-load-command): TeX font name
mangling for latin1 encoded cork-lm fonts.
(convert-to-ps): Load lm.map if available.
* ly/paper-defaults.ly: Use cork-lm encoding if ec is not
available.
* scm/encoding.scm (coding-alist): Add cork-lm encoding.
* scm/font.scm: Add header. Autoload cork-lm and ec fonts if
available.
* lily/kpath.cc (ly_kpathsea_find_file): Rename. Do not use
path for absolute file name, that is silly.
* lily/score-engraver.cc (initialize):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* input/test/SConscript:
* input/template/SConscript:
* input/regression/SConscript:
* Documentation/bibliography/SConscript:
* Documentation/bibliography/index.html.in: New file.
* Documentation/bibliography/GNUmakefile (local-WWW): Remove index
generation.
* buildscripts/builder.py: Add new builders.
* make/stepmake.make:
* stepmake/stepmake/*.make:
* configure.in:
* lily/*:
* flower*: Use config.hh (Was config.h).
* scm/encoding.scm (get-coding): Print friendly error message when
no encoding is found, rather than crashing.
|