CVSROOT: /cvsroot/lilypond
Module name: lilypond
Branch:
Changes by: Han-Wen Nienhuys <[EMAIL PROTECTED]> 05/09/12 23:33:24
Modified files:
. : ChangeLog
lily : accidental-placement.cc bar-line.cc
beam-concave.cc beam-quanting.cc beam.cc
bezier-bow.cc bezier.cc
break-align-interface.cc clef.cc
dimension-cache.cc font-select.cc
grob-property.cc grob.cc lily-guile.cc
line-spanner.cc lyric-extender.cc
lyric-hyphen.cc mensural-ligature.cc
midi-def.cc misc.cc note-collision.cc
pango-select.cc percent-repeat-item.cc
simple-spacer-scheme.cc simple-spacer.cc
slur-configuration.cc slur-scoring.cc slur.cc
spaceable-grob.cc spanner.cc
staff-symbol-referencer.cc stencil-scheme.cc
stencil.cc system-start-delimiter.cc system.cc
text-interface.cc tie-column-format.cc
tie-helper.cc tie.cc tuplet-bracket.cc
vaticana-ligature.cc
lily/include : accidental-interface.hh clef.hh
lily-guile-macros.hh
Log message:
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.4127&tr2=1.4128&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/accidental-placement.cc.diff?tr1=1.59&tr2=1.60&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/bar-line.cc.diff?tr1=1.58&tr2=1.59&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/beam-concave.cc.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/beam-quanting.cc.diff?tr1=1.75&tr2=1.76&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/beam.cc.diff?tr1=1.312&tr2=1.313&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/bezier-bow.cc.diff?tr1=1.29&tr2=1.30&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/bezier.cc.diff?tr1=1.66&tr2=1.67&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/break-align-interface.cc.diff?tr1=1.57&tr2=1.58&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/clef.cc.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/dimension-cache.cc.diff?tr1=1.38&tr2=1.39&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/font-select.cc.diff?tr1=1.48&tr2=1.49&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/grob-property.cc.diff?tr1=1.33&tr2=1.34&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/grob.cc.diff?tr1=1.143&tr2=1.144&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/lily-guile.cc.diff?tr1=1.223&tr2=1.224&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/line-spanner.cc.diff?tr1=1.64&tr2=1.65&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/lyric-extender.cc.diff?tr1=1.60&tr2=1.61&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/lyric-hyphen.cc.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/mensural-ligature.cc.diff?tr1=1.45&tr2=1.46&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/midi-def.cc.diff?tr1=1.49&tr2=1.50&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/misc.cc.diff?tr1=1.31&tr2=1.32&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/note-collision.cc.diff?tr1=1.55&tr2=1.56&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/pango-select.cc.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/percent-repeat-item.cc.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/simple-spacer-scheme.cc.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/simple-spacer.cc.diff?tr1=1.89&tr2=1.90&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/slur-configuration.cc.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/slur-scoring.cc.diff?tr1=1.59&tr2=1.60&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/slur.cc.diff?tr1=1.225&tr2=1.226&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/spaceable-grob.cc.diff?tr1=1.48&tr2=1.49&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/spanner.cc.diff?tr1=1.139&tr2=1.140&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/staff-symbol-referencer.cc.diff?tr1=1.78&tr2=1.79&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/stencil-scheme.cc.diff?tr1=1.50&tr2=1.51&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/stencil.cc.diff?tr1=1.47&tr2=1.48&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/system-start-delimiter.cc.diff?tr1=1.109&tr2=1.110&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/system.cc.diff?tr1=1.118&tr2=1.119&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/text-interface.cc.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/tie-column-format.cc.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/tie-helper.cc.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/tie.cc.diff?tr1=1.161&tr2=1.162&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/tuplet-bracket.cc.diff?tr1=1.105&tr2=1.106&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/vaticana-ligature.cc.diff?tr1=1.41&tr2=1.42&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/include/accidental-interface.hh.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/include/clef.hh.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/lily/include/lily-guile-macros.hh.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.4127 lilypond/ChangeLog:1.4128
--- lilypond/ChangeLog:1.4127 Mon Sep 12 13:17:19 2005
+++ lilypond/ChangeLog Mon Sep 12 23:33:22 2005
@@ -1,3 +1,7 @@
+2005-09-13 Han-Wen Nienhuys <[EMAIL PROTECTED]>
+
+ * lily/*.cc: remove <cmath> everywhere. <cmath> is included from real.hh
+
2005-09-12 Han-Wen Nienhuys <[EMAIL PROTECTED]>
* stepmake/stepmake/c++-vars.make (#EXTRA_CXXFLAGS): don't add
Index: lilypond/lily/accidental-placement.cc
diff -u lilypond/lily/accidental-placement.cc:1.59
lilypond/lily/accidental-placement.cc:1.60
--- lilypond/lily/accidental-placement.cc:1.59 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/accidental-placement.cc Mon Sep 12 23:33:23 2005
@@ -6,8 +6,7 @@
(c) 2002--2005 Han-Wen Nienhuys <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
+
#include "accidental-placement.hh"
#include "skyline.hh"
Index: lilypond/lily/bar-line.cc
diff -u lilypond/lily/bar-line.cc:1.58 lilypond/lily/bar-line.cc:1.59
--- lilypond/lily/bar-line.cc:1.58 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/bar-line.cc Mon Sep 12 23:33:23 2005
@@ -8,9 +8,6 @@
#include "bar-line.hh"
-#include <cmath>
-using namespace std;
-
#include "all-font-metrics.hh"
#include "font-interface.hh"
#include "lookup.hh"
Index: lilypond/lily/beam-concave.cc
diff -u lilypond/lily/beam-concave.cc:1.14 lilypond/lily/beam-concave.cc:1.15
--- lilypond/lily/beam-concave.cc:1.14 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/beam-concave.cc Mon Sep 12 23:33:23 2005
@@ -2,9 +2,6 @@
Determine whether a beam is concave.
*/
-#include <cmath>
-using namespace std;
-
#include "pointer-group-interface.hh"
#include "array.hh"
#include "stem.hh"
Index: lilypond/lily/beam-quanting.cc
diff -u lilypond/lily/beam-quanting.cc:1.75 lilypond/lily/beam-quanting.cc:1.76
--- lilypond/lily/beam-quanting.cc:1.75 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/beam-quanting.cc Mon Sep 12 23:33:23 2005
@@ -10,7 +10,6 @@
#include "beam.hh"
#include <algorithm>
-#include <cmath>
using namespace std;
#include "warn.hh"
Index: lilypond/lily/beam.cc
diff -u lilypond/lily/beam.cc:1.312 lilypond/lily/beam.cc:1.313
--- lilypond/lily/beam.cc:1.312 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/beam.cc Mon Sep 12 23:33:23 2005
@@ -24,9 +24,6 @@
- beam_translation is the offset between Y centers of the beam.
*/
-#include <cmath> // tanh.
-using namespace std;
-
#include "beam.hh"
#include "interval-set.hh"
#include "directional-element-interface.hh"
Index: lilypond/lily/bezier-bow.cc
diff -u lilypond/lily/bezier-bow.cc:1.29 lilypond/lily/bezier-bow.cc:1.30
--- lilypond/lily/bezier-bow.cc:1.29 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/bezier-bow.cc Mon Sep 12 23:33:23 2005
@@ -6,9 +6,6 @@
(c) 1998--2005 Jan Nieuwenhuizen <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
-
#include "misc.hh"
#include "bezier.hh"
Index: lilypond/lily/bezier.cc
diff -u lilypond/lily/bezier.cc:1.66 lilypond/lily/bezier.cc:1.67
--- lilypond/lily/bezier.cc:1.66 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/bezier.cc Mon Sep 12 23:33:23 2005
@@ -6,9 +6,6 @@
(c) 1998--2005 Jan Nieuwenhuizen <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
-
#include "bezier.hh"
#include "warn.hh"
#include "libc-extension.hh"
Index: lilypond/lily/break-align-interface.cc
diff -u lilypond/lily/break-align-interface.cc:1.57
lilypond/lily/break-align-interface.cc:1.58
--- lilypond/lily/break-align-interface.cc:1.57 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/break-align-interface.cc Mon Sep 12 23:33:24 2005
@@ -6,8 +6,6 @@
(c) 1997--2005 Han-Wen Nienhuys <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
#include "break-align-interface.hh"
Index: lilypond/lily/clef.cc
diff -u lilypond/lily/clef.cc:1.21 lilypond/lily/clef.cc:1.22
--- lilypond/lily/clef.cc:1.21 Thu Mar 10 14:36:15 2005
+++ lilypond/lily/clef.cc Mon Sep 12 23:33:24 2005
@@ -42,7 +42,7 @@
}
MAKE_SCHEME_CALLBACK (Clef, print, 1)
- SCM
+SCM
Clef::print (SCM smob)
{
Grob *me = unsmob_grob (smob);
Index: lilypond/lily/dimension-cache.cc
diff -u lilypond/lily/dimension-cache.cc:1.38
lilypond/lily/dimension-cache.cc:1.39
--- lilypond/lily/dimension-cache.cc:1.38 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/dimension-cache.cc Mon Sep 12 23:33:24 2005
@@ -6,8 +6,6 @@
(c) 1998--2005 Han-Wen Nienhuys <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
#include "dimension-cache.hh"
#include "warn.hh"
Index: lilypond/lily/font-select.cc
diff -u lilypond/lily/font-select.cc:1.48 lilypond/lily/font-select.cc:1.49
--- lilypond/lily/font-select.cc:1.48 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/font-select.cc Mon Sep 12 23:33:24 2005
@@ -6,8 +6,6 @@
(c) 2003--2005 Han-Wen Nienhuys <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
#include "dimensions.hh"
#include "all-font-metrics.hh"
Index: lilypond/lily/grob-property.cc
diff -u lilypond/lily/grob-property.cc:1.33 lilypond/lily/grob-property.cc:1.34
--- lilypond/lily/grob-property.cc:1.33 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/grob-property.cc Mon Sep 12 23:33:24 2005
@@ -3,8 +3,6 @@
*/
#include <cstring>
-#include <cmath>
-using namespace std;
#include "main.hh"
#include "input-smob.hh"
Index: lilypond/lily/grob.cc
diff -u lilypond/lily/grob.cc:1.143 lilypond/lily/grob.cc:1.144
--- lilypond/lily/grob.cc:1.143 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/grob.cc Mon Sep 12 23:33:24 2005
@@ -9,8 +9,6 @@
#include "grob.hh"
#include <cstring>
-#include <cmath>
-using namespace std;
#include "main.hh"
#include "input-smob.hh"
Index: lilypond/lily/include/accidental-interface.hh
diff -u lilypond/lily/include/accidental-interface.hh:1.11
lilypond/lily/include/accidental-interface.hh:1.12
--- lilypond/lily/include/accidental-interface.hh:1.11 Mon Jul 18 23:37:25 2005
+++ lilypond/lily/include/accidental-interface.hh Mon Sep 12 23:33:24 2005
@@ -18,8 +18,8 @@
public:
DECLARE_SCHEME_CALLBACK (print, (SCM));
DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM));
+
static bool has_interface (Grob *);
-
static String get_fontcharname (String style, int alteration);
static Array<Box> Accidental_interface::accurate_boxes (Grob *me,
Grob **common);
Index: lilypond/lily/include/clef.hh
diff -u lilypond/lily/include/clef.hh:1.16 lilypond/lily/include/clef.hh:1.17
--- lilypond/lily/include/clef.hh:1.16 Thu Mar 10 14:36:12 2005
+++ lilypond/lily/include/clef.hh Mon Sep 12 23:33:24 2005
@@ -8,6 +8,7 @@
#ifndef CLEF_HH
#define CLEF_HH
+
#include "lily-guile.hh"
#include "lily-proto.hh"
Index: lilypond/lily/include/lily-guile-macros.hh
diff -u lilypond/lily/include/lily-guile-macros.hh:1.7
lilypond/lily/include/lily-guile-macros.hh:1.8
--- lilypond/lily/include/lily-guile-macros.hh:1.7 Fri Aug 12 00:04:45 2005
+++ lilypond/lily/include/lily-guile-macros.hh Mon Sep 12 23:33:24 2005
@@ -94,7 +94,7 @@
{ \
TYPE ::FUNC ## _proc = scm_c_define_gsubr (#TYPE "::" #FUNC, \
(ARGCOUNT), 0, 0, \
- (Scheme_function_unknown)TYPE
::FUNC); \
+ (Scheme_function_unknown)
TYPE::FUNC); \
scm_c_export (#TYPE "::" #FUNC, NULL); \
} \
\
Index: lilypond/lily/lily-guile.cc
diff -u lilypond/lily/lily-guile.cc:1.223 lilypond/lily/lily-guile.cc:1.224
--- lilypond/lily/lily-guile.cc:1.223 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/lily-guile.cc Mon Sep 12 23:33:24 2005
@@ -13,6 +13,7 @@
#include <cstdlib>
#include <cstring> /* strdup, strchr */
#include <cctype>
+
using namespace std;
#include "config.hh"
Index: lilypond/lily/line-spanner.cc
diff -u lilypond/lily/line-spanner.cc:1.64 lilypond/lily/line-spanner.cc:1.65
--- lilypond/lily/line-spanner.cc:1.64 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/line-spanner.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "line-spanner.hh"
-#include <cmath>
-using namespace std;
#include "spanner.hh"
#include "output-def.hh"
Index: lilypond/lily/lyric-extender.cc
diff -u lilypond/lily/lyric-extender.cc:1.60
lilypond/lily/lyric-extender.cc:1.61
--- lilypond/lily/lyric-extender.cc:1.60 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/lyric-extender.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "lyric-extender.hh"
-#include <cmath>
-using namespace std;
#include "warn.hh"
#include "lookup.hh"
Index: lilypond/lily/lyric-hyphen.cc
diff -u lilypond/lily/lyric-hyphen.cc:1.21 lilypond/lily/lyric-hyphen.cc:1.22
--- lilypond/lily/lyric-hyphen.cc:1.21 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/lyric-hyphen.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "lyric-hyphen.hh"
-#include <cmath>
-using namespace std;
#include "lookup.hh"
#include "output-def.hh"
Index: lilypond/lily/mensural-ligature.cc
diff -u lilypond/lily/mensural-ligature.cc:1.45
lilypond/lily/mensural-ligature.cc:1.46
--- lilypond/lily/mensural-ligature.cc:1.45 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/mensural-ligature.cc Mon Sep 12 23:33:24 2005
@@ -7,8 +7,6 @@
Pal Benko <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
#include "mensural-ligature.hh"
#include "item.hh"
Index: lilypond/lily/midi-def.cc
diff -u lilypond/lily/midi-def.cc:1.49 lilypond/lily/midi-def.cc:1.50
--- lilypond/lily/midi-def.cc:1.49 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/midi-def.cc Mon Sep 12 23:33:24 2005
@@ -6,8 +6,6 @@
(c) 1997--2005 Jan Nieuwenhuizen <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
#include "misc.hh"
#include "output-def.hh"
Index: lilypond/lily/misc.cc
diff -u lilypond/lily/misc.cc:1.31 lilypond/lily/misc.cc:1.32
--- lilypond/lily/misc.cc:1.31 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/misc.cc Mon Sep 12 23:33:24 2005
@@ -7,8 +7,6 @@
Jan Nieuwenhuizen <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
#include "misc.hh"
#include "string.hh"
Index: lilypond/lily/note-collision.cc
diff -u lilypond/lily/note-collision.cc:1.55
lilypond/lily/note-collision.cc:1.56
--- lilypond/lily/note-collision.cc:1.55 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/note-collision.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "note-collision.hh"
-#include <cmath>
-using namespace std;
#include "warn.hh"
#include "note-column.hh"
Index: lilypond/lily/pango-select.cc
diff -u lilypond/lily/pango-select.cc:1.18 lilypond/lily/pango-select.cc:1.19
--- lilypond/lily/pango-select.cc:1.18 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/pango-select.cc Mon Sep 12 23:33:24 2005
@@ -5,8 +5,6 @@
(c) 2004--2005 Han-Wen Nienhuys <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
#include "dimensions.hh"
#include "all-font-metrics.hh"
Index: lilypond/lily/percent-repeat-item.cc
diff -u lilypond/lily/percent-repeat-item.cc:1.19
lilypond/lily/percent-repeat-item.cc:1.20
--- lilypond/lily/percent-repeat-item.cc:1.19 Mon Sep 12 12:46:48 2005
+++ lilypond/lily/percent-repeat-item.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "percent-repeat-item.hh"
-#include <cmath>
-using namespace std;
#include "lookup.hh"
#include "font-interface.hh"
Index: lilypond/lily/simple-spacer-scheme.cc
diff -u lilypond/lily/simple-spacer-scheme.cc:1.6
lilypond/lily/simple-spacer-scheme.cc:1.7
--- lilypond/lily/simple-spacer-scheme.cc:1.6 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/simple-spacer-scheme.cc Mon Sep 12 23:33:24 2005
@@ -7,8 +7,6 @@
*/
#include <cstdio>
-#include <cmath>
-using namespace std;
#include "paper-column.hh"
#include "spring.hh"
Index: lilypond/lily/simple-spacer.cc
diff -u lilypond/lily/simple-spacer.cc:1.89 lilypond/lily/simple-spacer.cc:1.90
--- lilypond/lily/simple-spacer.cc:1.89 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/simple-spacer.cc Mon Sep 12 23:33:24 2005
@@ -10,8 +10,6 @@
*/
#include <cstdio>
-#include <cmath>
-using namespace std;
#include "libc-extension.hh" // isinf
#include "simple-spacer.hh"
Index: lilypond/lily/slur-configuration.cc
diff -u lilypond/lily/slur-configuration.cc:1.23
lilypond/lily/slur-configuration.cc:1.24
--- lilypond/lily/slur-configuration.cc:1.23 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/slur-configuration.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "slur-configuration.hh"
-#include <cmath>
-using namespace std;
#include "stem.hh"
#include "warn.hh"
Index: lilypond/lily/slur-scoring.cc
diff -u lilypond/lily/slur-scoring.cc:1.59 lilypond/lily/slur-scoring.cc:1.60
--- lilypond/lily/slur-scoring.cc:1.59 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/slur-scoring.cc Mon Sep 12 23:33:24 2005
@@ -7,8 +7,6 @@
Jan Nieuwenhuizen <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
#include "slur-scoring.hh"
#include "libc-extension.hh"
Index: lilypond/lily/slur.cc
diff -u lilypond/lily/slur.cc:1.225 lilypond/lily/slur.cc:1.226
--- lilypond/lily/slur.cc:1.225 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/slur.cc Mon Sep 12 23:33:24 2005
@@ -9,8 +9,6 @@
#include "slur.hh"
-#include <cmath>
-using namespace std;
#include "beam.hh"
#include "bezier.hh"
Index: lilypond/lily/spaceable-grob.cc
diff -u lilypond/lily/spaceable-grob.cc:1.48
lilypond/lily/spaceable-grob.cc:1.49
--- lilypond/lily/spaceable-grob.cc:1.48 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/spaceable-grob.cc Mon Sep 12 23:33:24 2005
@@ -9,8 +9,6 @@
#include "spaceable-grob.hh"
#include <cstdio>
-#include <cmath>
-using namespace std;
#include "warn.hh"
#include "spring.hh"
Index: lilypond/lily/spanner.cc
diff -u lilypond/lily/spanner.cc:1.139 lilypond/lily/spanner.cc:1.140
--- lilypond/lily/spanner.cc:1.139 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/spanner.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "spanner.hh"
-#include <cmath>
-using namespace std;
#include "pointer-group-interface.hh"
#include "libc-extension.hh"
Index: lilypond/lily/staff-symbol-referencer.cc
diff -u lilypond/lily/staff-symbol-referencer.cc:1.78
lilypond/lily/staff-symbol-referencer.cc:1.79
--- lilypond/lily/staff-symbol-referencer.cc:1.78 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/staff-symbol-referencer.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "staff-symbol-referencer.hh"
-#include <cmath>
-using namespace std;
#include "staff-symbol.hh"
#include "output-def.hh"
Index: lilypond/lily/stencil-scheme.cc
diff -u lilypond/lily/stencil-scheme.cc:1.50
lilypond/lily/stencil-scheme.cc:1.51
--- lilypond/lily/stencil-scheme.cc:1.50 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/stencil-scheme.cc Mon Sep 12 23:33:24 2005
@@ -6,8 +6,6 @@
(c) 1997--2005 Han-Wen Nienhuys <[EMAIL PROTECTED]>
*/
-#include <cmath>
-using namespace std;
#include "font-metric.hh"
#include "libc-extension.hh"
Index: lilypond/lily/stencil.cc
diff -u lilypond/lily/stencil.cc:1.47 lilypond/lily/stencil.cc:1.48
--- lilypond/lily/stencil.cc:1.47 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/stencil.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "stencil.hh"
-#include <cmath>
-using namespace std;
#include "dimensions.hh"
#include "font-metric.hh"
Index: lilypond/lily/system-start-delimiter.cc
diff -u lilypond/lily/system-start-delimiter.cc:1.109
lilypond/lily/system-start-delimiter.cc:1.110
--- lilypond/lily/system-start-delimiter.cc:1.109 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/system-start-delimiter.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "system-start-delimiter.hh"
-#include <cmath>
-using namespace std;
#include "spanner.hh"
#include "axis-group-interface.hh"
Index: lilypond/lily/system.cc
diff -u lilypond/lily/system.cc:1.118 lilypond/lily/system.cc:1.119
--- lilypond/lily/system.cc:1.118 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/system.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "system.hh"
-#include <cmath>
-using namespace std;
#include "align-interface.hh"
#include "axis-group-interface.hh"
Index: lilypond/lily/text-interface.cc
diff -u lilypond/lily/text-interface.cc:1.9 lilypond/lily/text-interface.cc:1.10
--- lilypond/lily/text-interface.cc:1.9 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/text-interface.cc Mon Sep 12 23:33:24 2005
@@ -9,8 +9,6 @@
#include "text-interface.hh"
-#include <cmath>
-using namespace std;
#include "main.hh"
#include "config.hh"
Index: lilypond/lily/tie-column-format.cc
diff -u lilypond/lily/tie-column-format.cc:1.1
lilypond/lily/tie-column-format.cc:1.2
--- lilypond/lily/tie-column-format.cc:1.1 Mon Sep 12 12:20:25 2005
+++ lilypond/lily/tie-column-format.cc Mon Sep 12 23:33:24 2005
@@ -260,7 +260,8 @@
*/
for (int i = 1; i < tie_configs.size(); i++)
{
- if (fabs (tie_configs[i-1].position_ - tie_configs[i].position_) <= 1)
+ Real diff = tie_configs[i-1].position_ - tie_configs[i].position_;
+ if (fabs (diff) <= 1)
{
if (!tie_configs[i-1].dir_)
tie_configs[i-1].dir_ = DOWN;
Index: lilypond/lily/tie-helper.cc
diff -u lilypond/lily/tie-helper.cc:1.4 lilypond/lily/tie-helper.cc:1.5
--- lilypond/lily/tie-helper.cc:1.4 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/tie-helper.cc Mon Sep 12 23:33:24 2005
@@ -7,8 +7,6 @@
*/
-#include <cmath>
-using namespace std;
#include "tie.hh"
#include "bezier.hh"
Index: lilypond/lily/tie.cc
diff -u lilypond/lily/tie.cc:1.161 lilypond/lily/tie.cc:1.162
--- lilypond/lily/tie.cc:1.161 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/tie.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "tie.hh"
-#include <cmath>
-using namespace std;
#include "spanner.hh"
#include "lookup.hh"
Index: lilypond/lily/tuplet-bracket.cc
diff -u lilypond/lily/tuplet-bracket.cc:1.105
lilypond/lily/tuplet-bracket.cc:1.106
--- lilypond/lily/tuplet-bracket.cc:1.105 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/tuplet-bracket.cc Mon Sep 12 23:33:24 2005
@@ -29,8 +29,6 @@
todo: handle breaking elegantly.
*/
-#include <cmath>
-using namespace std;
#include "tuplet-bracket.hh"
#include "line-interface.hh"
Index: lilypond/lily/vaticana-ligature.cc
diff -u lilypond/lily/vaticana-ligature.cc:1.41
lilypond/lily/vaticana-ligature.cc:1.42
--- lilypond/lily/vaticana-ligature.cc:1.41 Mon Sep 12 12:46:49 2005
+++ lilypond/lily/vaticana-ligature.cc Mon Sep 12 23:33:24 2005
@@ -8,8 +8,6 @@
#include "vaticana-ligature.hh"
-#include <cmath>
-using namespace std;
#include "item.hh"
#include "font-interface.hh"
_______________________________________________
Lilypond-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-cvs