| Commit message (Expand) | Author | Age | Files | Lines |
* | Issue 4961/7: Remove complex{conjugate,divide,exp}, Offset::arg...They are promoting aspects of Offset not well-suited to graphics.
| David Kastrup | 2016-09-05 | 1 | -3/+0 |
* | Issue 4961/2: Add offset_directed (Real)...This converts an angle in degrees into a unit vector.
| David Kastrup | 2016-09-05 | 1 | -0/+1 |
* | Issue 4577: Remove the nasty workaround for platforms that don't provide...std::vector::data().
Replace most code that reached into into Grob_array and modified its
internal vector with calls to new member functions such as filter().
Move the definitions of some trivial methods into grob-array.hh.
| Dan Eble | 2015-09-11 | 1 | -49/+0 |
* | Revert "Issue 4550 (1/2) Avoid "using namespace std;" in included files"...This reverts commit f127e14af04f474d20406ca0e0f76f05061ee103.
| David Kastrup | 2015-08-23 | 1 | -1/+1 |
* | Revert "Issue 4550 (2/2) Avoid "using namespace std;" in included files"...This reverts commit 59a6d1a06432fc0ca88c3023c646182f389ec1b5.
| David Kastrup | 2015-08-23 | 25 | -135/+147 |
* | Issue 4550 (2/2) Avoid "using namespace std;" in included files...These changes are produced by a rather long shell script that is
posted in the code review for this issue. Summary:
* remove "using namespace std;" everywhere
* add "std::" in *.hh and other included files
* add "std::" to functions and lesser-used types in *.cc files
| Dan Eble | 2015-08-20 | 25 | -147/+135 |
* | Issue 4550 (1/2) Avoid "using namespace std;" in included files...These are manual changes in preparation for an automated removal of
"using namespace std;".
Mostly these are additions of using-declarations for commonly used
types and containers (e.g. std::string, std::vector) to *.cc files so
that they will continue to build after the big removal.
| Dan Eble | 2015-08-20 | 1 | -1/+1 |
* | Issue 4560: group #include directives at top of file...This is so that using-declarations can later be added without
appearing before #includes.
| Dan Eble | 2015-08-20 | 1 | -0/+1 |
* | Implement inline Real cross_product (Offset, Offset) | David Kastrup | 2015-08-20 | 1 | -0/+8 |
* | Issue 4548: eliminate flip(Direction*)...Use for (DOWN_and_UP (d)) {...} instead.
Also replace the few uses of other_dir() with unary minus.
| Dan Eble | 2015-08-17 | 1 | -21/+2 |
* | Issue 4547: remove unnecessary min() and max() functions | Dan Eble | 2015-08-14 | 1 | -4/+0 |
* | Issue 4546: don't redefine comparison operators for std::string | Dan Eble | 2015-08-14 | 2 | -5/+1 |
* | Issue 4464/2: include hygiene: break cycles, remove duplicate includes etc. | David Kastrup | 2015-07-02 | 4 | -4/+2 |
* | Issue 2787: Sanitize usage of -DDEBUG, -DNDEBUG and assert...The compiler option -DNDEBUG is no longer being used: -DNDEBUG disables
the assert function, and assert is essentially stating that the program
cannot useful continue if the assertion is not met. -DNDEBUG is
basically an option for compiling an application to a limited amount of
ROM when aborting with a diagnostic is not preferable to crashing.
This is not the case for LilyPond. So expensive debugging options now
are enabled with -DDEBUG instead. There is a new configure option
--enable-checking defaulting to "off" for this now.
At the current point of time, setting --disable-optimising also has the
effect of enabling the checks: this will be retained until Patchy has
been adapted to using --enable-checking.
| David Kastrup | 2015-05-19 | 3 | -3/+3 |
* | Run grand replace for 2015. | Werner Lemberg | 2015-01-04 | 28 | -28/+28 |
* | Polynomial.hh - Make LilyPond compile w/ musl libc...Provided by Felix Janda
| Felix Janda | 2014-02-20 | 1 | -0/+1 |
* | Run grand-replace (issue 3765)...Run make grand-replace to update all coopyright statements
| Carl Sorensen | 2014-01-11 | 28 | -28/+28 |
* | Issue 3656: Problems building Lilypond 2.17.95 with libc++ for use with llvm...std-vector.hh did not include config.hh but relied on it
| David Kastrup | 2013-11-20 | 1 | -0/+1 |
* | Issue 3531: replaced function argument 'string' by 'const string&' where it m......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%
| Frédéric Bron | 2013-09-10 | 7 | -28/+28 |
* | Issue 3513: removed unused code: functions that are declared but never define... | Frédéric Bron | 2013-09-03 | 1 | -5/+0 |
* | Issue 2758. ly_module_lookup caused deprecation warnings with Guile V2.06....The V2.17.0 definition of ly_module_lookup in module-scheme.cc uses two
functions, scm_sym2var and scm_module_lookup_closure, which issue
deprecation warnings in Guile V2.06. A call to the new Guile API function,
scm_module_variable, provides the functionality for both deprecated
routines, but has not been back-ported to Guile V1.8.
This patch adds a conditionally-compiled block when running with a Guile
version < V2.0, so that Guile V1 will not use the deprecated scm_ calls
in ly_module_lookup, and Guile V2 will use API call scm_module_variable.
| Ian Hulin | 2012-09-22 | 1 | -0/+8 |
* | remove top-level const's from declarations...results of the following searches were checked manually:
grep -rE -e 'const( +[a-zA-Z0-9_]*)? *, *$' .
grep -rE -e 'const( +[a-zA-Z0-9_]*)?( *,[^;]+)?\) *(const|= *0)? *;' .
| Benkő Pál | 2012-09-11 | 1 | -1/+1 |
* | Improvements in vertical skyline approximations (issue 2148)....The file stencil-integral.cc provides a suite of functions that
traverse a stencil and do linear approximations of its components.
These are then turned into boxes that are passed to the Skyline
constructor. This approximation is used for several vertical skylines
including those of VerticalAxisGroup and System. As a result of these
more accurate approximations, vertical spacing is more snug between
grobs.
Additionally, in axis-group-interface.cc, skylines of grobs are no
longer compared to a monolithic axis-group skyline but rather all
of the component skylines of the axis-group, allowing grobs to
be fit under other ones if there is space instead of always shifted over.
Two new python scripts allow to visualize the position of skylines.
All other changes provide functions that allow for better debugging
of Skylines, better approximations of grobs via skylines, and changes
to the measurement of distance between grobs via the new Skyline API.
This results in a significant time increase in score compilation for
objects with complex skylines such as all text grobs. For orchestral
scores, the increase is not as steep.
| Mike Solomon | 2012-08-27 | 2 | -12/+13 |
* | Run fixcc + astyle2.02.1 | Graham Percival | 2012-08-27 | 1 | -2/+2 |
* | Make distributed tarball from Git file list...This removes the requirement of having a GNUmakefile
in each and every directory of the source tree; this commit
also deletes GNUmakefiles made unnecessary this way.
dist-toplevel-txt-files toplevel target is also removed,
because it is unneeded outside of dist target and it
prevents linking of toplevel generated txt docs to
distdir when these docs are already generated.
In addition, on suggestions from Han-Wen, if dist is made with a
source directory tracked by Git, then
* the source directory is required to have no uncommitted changes nor
non-ignored untracked files,
* the time stamp of all files in the tarball is set to the time stamp
of the head of the checked-out branch.
| John Mandereau | 2012-08-15 | 1 | -10/+0 |
* | Run fixcc.py with astyle 2.02. | Graham Percival | 2012-08-10 | 2 | -2/+0 |
* | Issue 2704: Add missing "#include <unistd.h>" for use with g++ 4.7 | Frédéric Bron | 2012-08-01 | 1 | -0/+3 |
* | Issue 2491: Macro for(UP_and_DOWN) and 3 similar....Replaces do{ ... } while(flip (&d) != DOWN/UP/... with a macro for(DOWN_and_UP/UP_and_DOWN/....) { }
Signed-off-by: David Kastrup <dak@gnu.org>
| Łukasz Czerwiński | 2012-04-30 | 1 | -1/+11 |
* | Run grand-replace for 2012 | Graham Percival | 2012-01-09 | 28 | -28/+28 |
* | Remove unnecessary std | Graham Percival | 2012-01-09 | 1 | -1/+0 |
* | Avoid deprecated access declarations..."According the ANSI/ISO Standard, the use of access declarations
is considered deprecated. Instead, you should use a using
declaration for that purpose"
http://www.devx.com/tips/Tip/5707
| Graham Percival | 2012-01-09 | 1 | -1/+1 |
* | Avoid redefining struct String_convert to class. | Graham Percival | 2011-12-14 | 1 | -2/+2 |
* | Remove default comparison for binary search...clang++ complains about this, and we never rely on the default
comparison in our code.
/home/gperciva/src/lilypond/flower/include/std-vector.hh:197:36:
error: 'T' does
not refer to a value
Compare less = less<T> (),
^
/home/gperciva/src/lilypond/flower/include/std-vector.hh:193:19:
note: declared
here
template<typename T, typename Compare>
^
/home/gperciva/src/lilypond/flower/include/std-vector.hh:197:40:
error:
expected expression
Compare less = less<T> (),
| Graham Percival | 2011-12-14 | 1 | -1/+1 |
* | Run astyle 2.02. | Graham Percival | 2011-12-12 | 1 | -2/+0 |
* | Issue 2036: keep make test in flower from warnings | David Kastrup | 2011-12-07 | 1 | -2/+2 |
* | Fix almost all warnings in flower/ and many in lily/....Most of the remaining warnings are about vsize -> int casting,
where I'll have to find a proper solution (we don't want to cast
all appearances of vsize to int explicitly, but rather use vsize
wherever possible).
| Reinhold Kainhofer | 2011-12-05 | 4 | -12/+13 |
* | Warnings: Move all warning-as-error handling to warn.cc...This finally makes that option apply to ALL warnings, and it considerably cleans up the error/warning functions.
| Reinhold Kainhofer | 2011-11-14 | 1 | -0/+2 |
* | Don't let yaffut try to demangle when autoconf figures this won't work | David Kastrup | 2011-11-11 | 1 | -0/+9 |
* | Correct forward declarations (struct vs. class) | Graham Percival | 2011-11-09 | 1 | -3/+3 |
* | Add vector constructor with size argument | Carl Sorensen | 2011-10-29 | 1 | -0/+4 |
* | Fix 1477: Add (ly:expect-warning msg args) to suppress expected warnings...If a file contains (ly:expect-warning ....), the corresponding warning
string will be added to a list of expected warnings. If the corresponding
warning (or erro) is triggered, it will not be printed to stderr, but the
string will be removed from the list. So, each ly:expect-warning, suppresses
exactly one occurrence of the warning. To suppress a warning multiple times,
call ly:expect-warning multiple times.
After one file is processed, the list of expected warnings is checked.
If it is not empty, it means that an expected warning was not triggered,
which might be a bug. So we print out a warning message about this fact.
This allows the regtests to check proper warning messages, without
polluting the console output with those warning messages.
All warnings that are actually printed in the regtests are a bug.
For translated error message, there are two approaches: If the warning
is created from scheme, simply use
(ly:expect-warning (_ "msg with ~a") "args")
If the message is triggered from C++, the translated string is in printf
syntax, so we need to translate that and then convert it into a format
string for Scheme. This can be done with the new function
ly:translate-cpp-warning-scheme instead of _:
(ly:expect-warning (ly:translate-cpp-warning-scheme "msg with %s") "args")
This patch does not yet adapt all regtests that are supposed to print warnings
to this new approach. This will follow in a separate patch.
| Reinhold Kainhofer | 2011-09-29 | 1 | -0/+4 |
* | Loglevels: Add basic_progress and replace success...-) Add basic_progress function
-) use it for 'Processing xxx.ly...' message
-) new ly:basic-progress
-) get rid of the success function, use basic_progress instead
| Reinhold Kainhofer | 2011-09-03 | 1 | -1/+1 |
* | Fixes issue 1328....Finds the local minimum or maximum of a Bezier curve along the X
axis in the range of an intersection and shifts intersecting
curves up over this range plus slur padding.
Adds default slur padding to all scripts, as this algorithm makes
them almost just touch with the slur whereas the previous one already
had a bit of padding built into it because it was a generous approximation.
| Mike Solomon | 2011-08-25 | 1 | -0/+1 |
* | Loglevels: Document distinction between PROGRESS and INFO | Reinhold Kainhofer | 2011-08-19 | 1 | -2/+0 |
* | Proper loglevels: cmd-line option --loglevel=NONE/ERROR/WARN/BASIC/PROGRESS/D......Allow the user to specify which messages (s)he wants to see on stderr:
The lilypond code basically stays the same, I only added a loglevel
global variable, which is used in the warning/error*/progress*/success
functions (ly:warning, ly:error, etc. in Scheme). If the proper level
is not set for a message, it is not printed.
There are only some larger changes:
-) Global var be_verbose_global replaced by loglevel (in warn.cc, accessor
is_loglevel(...); much finer-grained)
-) New functions debug_output, which replaces code like:
if (be_verbose_global) {
progress_indication (...)
}
-) Move all scheme log functions to warn-scheme.cc
-) Add (optional) source location info to warning/error/log messages
All changes were done to warn.cc and to the member of the Input class
(apparently, we have two parallel error-reporting "frameworks" in
lilypond...).
Note for all functions in warn.cc (not for the members of Input):
The debug_output function (and progress_indication and message) have
an optional argument to specify whether the output of the message
should always start on a new line or continue the previous output.
All functions of the Input class now are just a front-end for the functions
in warn.cc
Documentation for this new feature is still missing (both in the AU
as well as in the CG).
| Reinhold Kainhofer | 2011-08-14 | 1 | -7/+40 |
* | Grand fixcc.py run on all .hh .cc files....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.
| Graham Percival | 2011-08-01 | 26 | -351/+342 |
* | Implement minmax() | Han-Wen Nienhuys | 2011-02-09 | 1 | -1/+7 |
* | Document Interval::delta(). | Han-Wen Nienhuys | 2011-01-31 | 1 | -0/+2 |
* | removed unused macro, function and file...The macro "classname" defined in flower/include/virtual-methods.hh is
never used. If it is removed then the function demangle_classname will
never be referenced, and hence file flower/rtti.cc can be removed.
I am assuming that they have not been added by someone who intends to use
them in future.
| Bernard Hurley | 2011-01-27 | 1 | -4/+0 |
* | Admin: run yearly grand-replace. | Graham Percival | 2011-01-13 | 28 | -28/+28 |