And the patch. Alfredo
? save Index: ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/src/ChangeLog,v retrieving revision 1.1056 diff -u -r1.1056 ChangeLog --- ChangeLog 2003/02/28 09:49:43 1.1056 +++ ChangeLog 2003/02/28 17:03:52 @@ -1,5 +1,12 @@ 2003-02-28 Alfredo Braunstein <[EMAIL PROTECTED]> + * converter.[Ch]: + * format.[Ch]: + * graph.[Ch]: + * lyxrc.C: fix headers + +2003-02-28 Alfredo Braunstein <[EMAIL PROTECTED]> + * converter.[Ch]: split into itself + * graph.[Ch] * format.[Ch] Index: converter.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/converter.C,v retrieving revision 1.65 diff -u -r1.65 converter.C --- converter.C 2003/02/28 09:49:44 1.65 +++ converter.C 2003/02/28 17:03:53 @@ -29,10 +29,12 @@ #include "support/lyxfunctional.h" #include "support/path.h" #include "support/systemcall.h" +#include "support/lstrings.h" #include "BoostFormat.h" #include <cctype> +#include "LString.h" #ifndef CXX_GLOBAL_CSTD using std::isdigit; Index: converter.h =================================================================== RCS file: /cvs/lyx/lyx-devel/src/converter.h,v retrieving revision 1.25 diff -u -r1.25 converter.h --- converter.h 2003/02/28 09:49:44 1.25 +++ converter.h 2003/02/28 17:03:53 @@ -16,6 +16,7 @@ #include "graph.h" #include <vector> +#include "LString.h" class Format; class Formats; Index: format.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/format.C,v retrieving revision 1.1 diff -u -r1.1 format.C --- format.C 2003/02/28 09:49:44 1.1 +++ format.C 2003/02/28 17:03:53 @@ -8,12 +8,14 @@ * Full author contact details are available in file CREDITS */ + +#include <config.h> + #include "format.h" #include "lyxrc.h" #include "debug.h" #include "lyx_cb.h" // for ShowMessage() ... to be removed? #include "gettext.h" -#include "LString.h" #include "frontends/Alert.h" //to be removed? @@ -21,6 +23,17 @@ #include "support/path.h" #include "support/systemcall.h" #include "support/lyxfunctional.h" + +#include "BoostFormat.h" + +#include <iostream> + +#include <algorithm> + +using std::cout; +using std::endl; +using std::find_if; + namespace { Index: format.h =================================================================== RCS file: /cvs/lyx/lyx-devel/src/format.h,v retrieving revision 1.1 diff -u -r1.1 format.h --- format.h 2003/02/28 09:49:44 1.1 +++ format.h 2003/02/28 17:03:53 @@ -15,11 +15,8 @@ * Full author contact details are available in file CREDITS */ - - #include "buffer.h" #include "LString.h" -#include "support/lstrings.h" #include <vector> Index: graph.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/graph.C,v retrieving revision 1.1 diff -u -r1.1 graph.C --- graph.C 2003/02/28 09:49:44 1.1 +++ graph.C 2003/02/28 17:03:54 @@ -7,6 +7,7 @@ * * Full author contact details are available in file CREDITS */ +#include <config.h> #include "graph.h" #include "format.h" @@ -14,8 +15,12 @@ #include <queue> #include <vector> +#include <algorithm> + using std::queue; +using std::fill; using std::vector; +using std::reverse; Index: graph.h =================================================================== RCS file: /cvs/lyx/lyx-devel/src/graph.h,v retrieving revision 1.1 diff -u -r1.1 graph.h --- graph.h 2003/02/28 09:49:44 1.1 +++ graph.h 2003/02/28 17:03:54 @@ -14,7 +14,6 @@ */ #include "LString.h" - #include <queue> #include <vector> Index: lyxrc.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/lyxrc.C,v retrieving revision 1.143 diff -u -r1.143 lyxrc.C --- lyxrc.C 2003/02/28 09:49:46 1.143 +++ lyxrc.C 2003/02/28 17:03:57 @@ -23,6 +23,7 @@ #include "support/filetools.h" #include "support/LAssert.h" #include "support/userinfo.h" +#include "support/lstrings.h" #include "converter.h" #include "format.h" #include "gettext.h" Index: frontends/qt2/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/ChangeLog,v retrieving revision 1.414 diff -u -r1.414 ChangeLog --- frontends/qt2/ChangeLog 2003/02/28 09:49:46 1.414 +++ frontends/qt2/ChangeLog 2003/02/28 17:04:01 @@ -1,5 +1,9 @@ 2003-02-28 Alfredo Braunstein <[EMAIL PROTECTED]> + * QLImage.C: fix header + +2003-02-28 Alfredo Braunstein <[EMAIL PROTECTED]> + * QLImage.C * QSendto.C * QSendtoDialog.C: removed #include "converter.h", and... Index: frontends/qt2/QLImage.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/QLImage.C,v retrieving revision 1.17 diff -u -r1.17 QLImage.C --- frontends/qt2/QLImage.C 2003/02/28 09:49:46 1.17 +++ frontends/qt2/QLImage.C 2003/02/28 17:04:02 @@ -24,6 +24,9 @@ #include <qwmatrix.h> #include <qpainter.h> +#include "LString.h" +#include "support/lstrings.h" + #include <boost/tuple/tuple.hpp> using std::find_if; Index: frontends/xforms/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.686 diff -u -r1.686 ChangeLog --- frontends/xforms/ChangeLog 2003/02/28 09:49:47 1.686 +++ frontends/xforms/ChangeLog 2003/02/28 17:04:11 @@ -2,6 +2,12 @@ * FormPreferences.C * FormSento.C + * xformsImage.C: fix headers. + +2003-02-28 Alfredo Braunstein <[EMAIL PROTECTED]> + + * FormPreferences.C + * FormSento.C * xformsImage.C: Added #include "format.h" 2003-02-27 Angus Leeming <[EMAIL PROTECTED]> Index: frontends/xforms/FormPreferences.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/FormPreferences.C,v retrieving revision 1.154 diff -u -r1.154 FormPreferences.C --- frontends/xforms/FormPreferences.C 2003/02/28 09:49:47 1.154 +++ frontends/xforms/FormPreferences.C 2003/02/28 17:04:16 @@ -40,6 +40,7 @@ #include "support/lyxmanip.h" #include "support/filetools.h" #include "support/LAssert.h" +#include "support/lstrings.h" #include "graphics/GraphicsCache.h" #include "graphics/GraphicsTypes.h" @@ -47,6 +48,7 @@ #include <boost/bind.hpp> #include FORMS_H_LOCATION +#include "LString.h" #include <utility> #include <iomanip> #include <X11/Xlib.h> Index: frontends/xforms/FormSendto.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/FormSendto.C,v retrieving revision 1.19 diff -u -r1.19 FormSendto.C --- frontends/xforms/FormSendto.C 2003/02/28 09:49:48 1.19 +++ frontends/xforms/FormSendto.C 2003/02/28 17:04:16 @@ -19,6 +19,9 @@ #include "xforms_helpers.h" #include "format.h" #include "gettext.h" +#include "LString.h" +#include "support/lstrings.h" + #include FORMS_H_LOCATION using std::vector; Index: frontends/xforms/xformsImage.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/xformsImage.C,v retrieving revision 1.21 diff -u -r1.21 xformsImage.C --- frontends/xforms/xformsImage.C 2003/02/28 09:49:48 1.21 +++ frontends/xforms/xformsImage.C 2003/02/28 17:04:16 @@ -16,6 +16,7 @@ #include "Color.h" #include "format.h" #include "debug.h" +#include "support/lstrings.h" #include "support/LAssert.h" #include "support/lyxfunctional.h" // compare_memfun @@ -29,6 +30,7 @@ # endif #endif +#include "LString.h" #include <boost/tuple/tuple.hpp> using std::find_if; Index: graphics/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/src/graphics/ChangeLog,v retrieving revision 1.150 diff -u -r1.150 ChangeLog --- graphics/ChangeLog 2003/02/28 09:49:48 1.150 +++ graphics/ChangeLog 2003/02/28 17:04:18 @@ -1,6 +1,11 @@ 2003-02-28 Alfredo Braunstein <[EMAIL PROTECTED]> * GraphicsConverter.C + * LoaderQueue.C: fix headers. + +2003-02-28 Alfredo Braunstein <[EMAIL PROTECTED]> + + * GraphicsConverter.C * PreviewLoader.C: added #include "format.h" 2003-02-26 Angus Leeming <[EMAIL PROTECTED]> Index: graphics/GraphicsConverter.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/graphics/GraphicsConverter.C,v retrieving revision 1.28 diff -u -r1.28 GraphicsConverter.C --- graphics/GraphicsConverter.C 2003/02/28 09:49:48 1.28 +++ graphics/GraphicsConverter.C 2003/02/28 17:04:18 @@ -20,6 +20,7 @@ #include "support/forkedcall.h" #include "support/forkedcallqueue.h" #include "support/lyxlib.h" +#include "support/lstrings.h" #include <boost/bind.hpp> #include <boost/signals/trackable.hpp> @@ -28,6 +29,8 @@ #include "support/LOstream.h" #include <fstream> #include <sys/types.h> // needed for pid_t + +#include "LString.h" using std::endl; using std::ostream; Index: graphics/LoaderQueue.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/graphics/LoaderQueue.C,v retrieving revision 1.4 diff -u -r1.4 LoaderQueue.C --- graphics/LoaderQueue.C 2003/02/25 15:17:53 1.4 +++ graphics/LoaderQueue.C 2003/02/28 17:04:19 @@ -8,6 +8,8 @@ * Full author contact details are available in file CREDITS */ +#include <config.h> + #include "LoaderQueue.h" #include "debug.h" Index: insets/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/src/insets/ChangeLog,v retrieving revision 1.573 diff -u -r1.573 ChangeLog --- insets/ChangeLog 2003/02/28 09:49:49 1.573 +++ insets/ChangeLog 2003/02/28 17:04:24 @@ -1,5 +1,9 @@ 2003-02-28 Alfredo Braunstein <[EMAIL PROTECTED]> + * insetgraphics.C: fix headers. + +2003-02-28 Alfredo Braunstein <[EMAIL PROTECTED]> + * insetgraphics.C: added include "format.h" 2003-02-27 Angus Leeming <[EMAIL PROTECTED]> Index: insets/insetgraphics.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/insets/insetgraphics.C,v retrieving revision 1.153 diff -u -r1.153 insetgraphics.C --- insets/insetgraphics.C 2003/02/28 09:49:49 1.153 +++ insets/insetgraphics.C 2003/02/28 17:04:26 @@ -92,6 +92,8 @@ #include <boost/signals/trackable.hpp> #include "BoostFormat.h" +#include "LString.h" + #include <algorithm> // For the std::max extern string system_tempdir; Index: support/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/src/support/ChangeLog,v retrieving revision 1.158 diff -u -r1.158 ChangeLog --- support/ChangeLog 2003/02/27 13:41:22 1.158 +++ support/ChangeLog 2003/02/28 17:04:27 @@ -1,3 +1,7 @@ +2003-02-28 Alfredo Braunstein <[EMAIL PROTECTED]> + + * forkedcallqueue.C: add #include <config.h> + 2003-02-27 Ling Li <[EMAIL PROTECTED]> * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial Index: support/forkedcallqueue.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/support/forkedcallqueue.C,v retrieving revision 1.1 diff -u -r1.1 forkedcallqueue.C --- support/forkedcallqueue.C 2003/02/25 18:56:09 1.1 +++ support/forkedcallqueue.C 2003/02/28 17:04:28 @@ -8,6 +8,8 @@ * Full author contact details are available in file CREDITS */ +#include <config.h> + #include "forkedcallqueue.h" #include "debug.h"