From: fred Date: Sun, 24 Mar 2002 19:54:06 +0000 (+0000) Subject: lilypond-0.1.9 X-Git-Tag: release/1.5.59~4099 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4a77eb54850d1b67e5f9737595c52ce1c2a65a21;p=lilypond.git lilypond-0.1.9 --- diff --git a/Documentation/CodingStyle.pod b/Documentation/CodingStyle.pod index db238815e6..cddf90b58e 100644 --- a/Documentation/CodingStyle.pod +++ b/Documentation/CodingStyle.pod @@ -179,10 +179,28 @@ Standard methods: Presence of these methods usually imply that it is not feasible to this via a constructor */ - add( .. ) + add (..) /// replace some data of *this - set( .. ) + set (..) + +=head2 Constructor + +Every class should have a default constructor. + +Don't use non-default constructors if this can be avoided: + + Foo f(1) + +is less readable than + + Foo f; + f.x = 1 + +or + Foo f(Foo_convert::int_to_foo (1)) + + =head1 HUNGARIAN NOTATION NAMING CONVENTION diff --git a/VERSION b/VERSION index e67ec04990..b5229ae0eb 100644 --- a/VERSION +++ b/VERSION @@ -1,6 +1,6 @@ TOPLEVEL_MAJOR_VERSION = 0 TOPLEVEL_MINOR_VERSION = 1 -TOPLEVEL_PATCH_LEVEL = 8 +TOPLEVEL_PATCH_LEVEL = 9 # use to send patches, always empty for released version: TOPLEVEL_MY_PATCH_LEVEL = diff --git a/bin/make-patch b/bin/make-patch index 4c98e9f35a..e11d7b8533 100755 --- a/bin/make-patch +++ b/bin/make-patch @@ -18,7 +18,7 @@ then echo untarring .. if [ ! -f $newarc ] then - echo cant find $newarc + echo "can't find $newarc" exit fi tar zfx $newarc @@ -29,7 +29,7 @@ then if [ ! -f $oldarc ] then - echo cant find $oldarc + echo "can't find $oldarc" exit fi tar zfx $oldarc diff --git a/flower/include/string-convert.hh b/flower/include/string-convert.hh index 13c9f41ca7..63785ac28d 100644 --- a/flower/include/string-convert.hh +++ b/flower/include/string-convert.hh @@ -8,6 +8,7 @@ #define STRING_CONVERT_HH #include "fproto.hh" +#include "string.hh" /** The functor String_convert handles all conversions to/from String diff --git a/lib/include/source.hh b/lib/include/source.hh index 96fb10193e..1d199671ff 100644 --- a/lib/include/source.hh +++ b/lib/include/source.hh @@ -5,8 +5,10 @@ #ifndef SOURCE_HH #define SOURCE_HH -#include "plist.hh" + #include "proto.hh" +#include "plist.hh" + class Sources { public: diff --git a/mi2mu/Makefile b/mi2mu/Makefile index 704221df8a..7100902c8f 100644 --- a/mi2mu/Makefile +++ b/mi2mu/Makefile @@ -81,5 +81,5 @@ localinstall: installexe localuninstall: uninstallexe - $(outdir)/mi2mu-version.o: $(outdir)/version.hh +