+**********
+march 27
+pl 51
+ - changed dutch -> nederlands, german -> deutsch etc.
+ - norwegian (AG)
+
+pl 50.jcn4
+ - fixes for cygnus' gnu-windows32 beta19
+ be sure to compile with -fno-rtti
+ - proof of concept for automated updating of Makefile.am
+ see mi2mu/GNUmakefile (still somewhat clumsy)
+ - mv'd both config.hh.in to acconfig.h
+ - copied printing/debugging/optimising options to flower conf
+ - (some modified) fixes from AO
+ - beginnetje los-toros-oboe
+ - bf: DIR_DATADIR
+ - bf: trills
+
+
+
+************
pl 50
- deprecate autowild
- --srcdir fixes
- static (default) and/or shared libs flower and lily
- patch from AO 'libtool 1.1.1'
- mf: trill-symbols: feta-slag.mf
-
-pl 49.jcn1
- shared libs (ugh: hardcoded switch in configure set to static)
- some fixes: denneboom.ly, standje.ly/standchen.ly
MAJOR_VERSION=0
MINOR_VERSION=1
-PATCH_LEVEL=50
+PATCH_LEVEL=51
MY_PATCH_LEVEL=
# now used as shell script in configure too
#undef INLINE
#endif
-#define INLINE inline
+//#define INLINE inline
-#include "full-storage.icc"
+// #include "full-storage.icc"
int
Diagonal_storage::dim() const
}
void
-
Full_storage::resize (int rows, int cols)
{
OK();
resize_rows (cols);
}
-
-
bool
Full_storage::mult_ok (int i, int) const
{
#endif
#define INLINE
+INLINE
+IMPLEMENT_VIRTUAL_COPY_CONS(Full_storage,Matrix_storage);
+
#include "full-storage.icc"
set_size (i);
}
-INLINE
-IMPLEMENT_VIRTUAL_COPY_CONS(Full_storage,Matrix_storage);
+//INLINE
+//IMPLEMENT_VIRTUAL_COPY_CONS(Full_storage,Matrix_storage);
#endif // FULL_STORAGE_ICC
#define LIST_CC
-// instantiate a template: explicit instantiation.
-#define LIST_INSTANTIATE(a) class List<a>; template class Cursor<a>; \
- template class Link<a>
-
#include "list.hh"
template<class T>
b++;
}
}
+
+#ifndef __CYGWIN32__ // ugh should check for some gcc/egcs version
+
+// instantiate a template: explicit instantiation.
+#define LIST_INSTANTIATE(a) template class List<a>; \
+ template class Cursor<a>; template class Link<a>
+
+#else
+
+#define LIST_INSTANTIATE(T)\
+ static void force_list_members ()\
+ {\
+ List<T> bla;\
+ bla.top().add ((void*)0);\
+ }
#endif
+
+#endif
+
#include "plist.hh"
-#define POINTERLIST_INSTANTIATE(a) class Pointer_list<a*>;\
- template class PCursor<a*>;
-
template<class T>
void
Pointer_list<T>::junk()
}
}
+#ifndef __CYGWIN32__ // ugh should check for some gcc/egcs version
+
+#define POINTERLIST_INSTANTIATE(a) template class Pointer_list<a*>;\
+ template class PCursor<a*>;
+
+#else
+
+#define POINTERLIST_INSTANTIATE(T)\
+ static void force_junk##T ()\
+ {\
+ Pointer_list<T*> bla;\
+ bla.junk ();\
+ }
+
+#endif
+
#endif // PLIST_TCC
#include "cursor.tcc"
#include "list.tcc"
-template LIST_INSTANTIATE (void *);
-template POINTERLIST_INSTANTIATE (Source_file);
+#if 0
+LIST_INSTANTIATE (void *);
+
+#else
+
+ static void force_list_members ()
+ {
+ List<void*> bla;
+ bla.top().add ((void*)0);
+ }
+
+#endif
+
+POINTERLIST_INSTANTIATE (Source_file);
void typeset_unbroken_spanner (Spanner*);
+ virtual ~Paper_score();
protected:
/* MAIN ROUTINES */
virtual void process();
- virtual ~Paper_score();
+// can't instantiate template with cygnus' gcc...
+// virtual ~Paper_score();
private:
/// before calc_breaking
#include "spanner.hh"
#include "paper-def.hh"
#include "scoreline.hh"
+#include "pcursor.hh"
+#include "plist.hh"
+#include "p-col.hh"
#include "p-score.hh"
#include "tex-stream.hh"
#include "p-col.hh"
#include "gourlay-breaking.hh"
#include "outputter.hh"
+// sucking Cygnus egcs - w32
+#include "plist.tcc"
+#include "pcursor.tcc"
+
Paper_score::Paper_score ()
{
outputter_l_ =0;
#define IPLC_INSTANTIATE(a) POINTERLIST_INSTANTIATE(a)
-
-template IPLC_INSTANTIATE(Score_elem);
-template IPLC_INSTANTIATE(Spanner);
-template IPLC_INSTANTIATE(Idealspacing);
-
+IPLC_INSTANTIATE(Score_elem);
+IPLC_INSTANTIATE(Spanner);
+IPLC_INSTANTIATE(Idealspacing);
*/
#include "line-spacer.hh"
-#include "plist.tcc"
#include "pcursor.tcc"
+#include "plist.tcc"
-template POINTERLIST_INSTANTIATE(Line_spacer);
+POINTERLIST_INSTANTIATE(Line_spacer);
#include "atom.hh"
#include "molecule.hh"
-#include "plist.tcc"
#include "pcursor.tcc"
+#include "plist.tcc"
-template POINTERLIST_INSTANTIATE(Atom);
+POINTERLIST_INSTANTIATE(Atom);
(c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
*/
-// empty. Yes I know.
+#include "proto.hh"
+#include "pcursor.hh"
+#include "plist.hh"
+#include "audio-item.hh"
+#include "audio-staff.hh"
+#include "p-col.hh"
+#include "p-score.hh"
+#include "cursor.tcc"
+#include "list.tcc"
+#include "pcursor.tcc"
+#include "plist.tcc"
+
+/*
+POINTERLIST_INSTANTIATE(Audio_item);
+POINTERLIST_INSTANTIATE(Audio_staff);
+POINTERLIST_INSTANTIATE(Paper_column);
+POINTERLIST_INSTANTIATE(Paper_score);
+*/
template INTERVAL__INSTANTIATE(Rational);
template INTERVAL__INSTANTIATE(int);
+#include "compare.hh"
+
Rational
Interval_t<Rational>::infinity()
{
#include "plist.tcc"
#include "translator.hh"
-
-template POINTERLIST_INSTANTIATE(Translator);
+POINTERLIST_INSTANTIATE(Translator);
#include "proto.hh"
#include "plist.hh"
-#include "plist.tcc"
#include "pcursor.tcc"
+#include "plist.tcc"
#include "music-list.hh"
#include "music-iterator.hh"
-template POINTERLIST_INSTANTIATE(Music);
-template POINTERLIST_INSTANTIATE(Music_iterator);
+POINTERLIST_INSTANTIATE(Music);
+POINTERLIST_INSTANTIATE(Music_iterator);
#include "proto.hh"
#include "plist.hh"
-#include "audio-column.hh"
#include "audio-item.hh"
-#include "audio-staff.hh"
+#include "audio-column.hh"
#include "midi-item.hh"
#include "pcursor.tcc"
#include "plist.tcc"
-
-template POINTERLIST_INSTANTIATE(Audio_element);
-template POINTERLIST_INSTANTIATE(Audio_column);
-template POINTERLIST_INSTANTIATE(Midi_event);
+POINTERLIST_INSTANTIATE(Audio_element);
+POINTERLIST_INSTANTIATE(Audio_column);
+POINTERLIST_INSTANTIATE(Midi_event);