On Mon, Oct 06, 2003 at 04:45:30PM +0200, Lars Gullik Bjønnes spake thusly: > > > Ok if I commit this now? > > -- > Lgb
Thanks... when you did this I pretty much knew how I would spend the rest of the evening... here's the patch needed for STLport. Feel free to commit, I'm hitting the sack. And *please* Lars, don't do anything yucky before I've got Boxes in tomorrow :-) - Martin
Index: src/CutAndPaste.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/CutAndPaste.h,v retrieving revision 1.33 diff -u -p -r1.33 CutAndPaste.h --- src/CutAndPaste.h 6 Oct 2003 15:42:02 -0000 1.33 +++ src/CutAndPaste.h 6 Oct 2003 19:58:09 -0000 @@ -17,6 +17,7 @@ #include "ParagraphList_fwd.h" #include "support/types.h" +#include <string> #include <vector> class Buffer; Index: src/DepTable.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/DepTable.h,v retrieving revision 1.20 diff -u -p -r1.20 DepTable.h --- src/DepTable.h 6 Oct 2003 15:42:02 -0000 1.20 +++ src/DepTable.h 6 Oct 2003 19:58:09 -0000 @@ -14,6 +14,7 @@ #define DEP_TABLE_H #include <map> +#include <string> /// class DepTable { Index: src/FloatList.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/FloatList.h,v retrieving revision 1.15 diff -u -p -r1.15 FloatList.h --- src/FloatList.h 6 Oct 2003 15:42:02 -0000 1.15 +++ src/FloatList.h 6 Oct 2003 19:58:09 -0000 @@ -13,6 +13,7 @@ #define FLOATLIST_H #include <map> +#include <string> class Floating; Index: src/LaTeXFeatures.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LaTeXFeatures.h,v retrieving revision 1.53 diff -u -p -r1.53 LaTeXFeatures.h --- src/LaTeXFeatures.h 6 Oct 2003 15:42:03 -0000 1.53 +++ src/LaTeXFeatures.h 6 Oct 2003 19:58:09 -0000 @@ -17,6 +17,7 @@ #include <set> #include <list> #include <map> +#include <string> class Buffer; class BufferParams; Index: src/ParagraphParameters.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ParagraphParameters.h,v retrieving revision 1.19 diff -u -p -r1.19 ParagraphParameters.h --- src/ParagraphParameters.h 6 Oct 2003 15:42:03 -0000 1.19 +++ src/ParagraphParameters.h 6 Oct 2003 19:58:09 -0000 @@ -20,6 +20,7 @@ #include "support/types.h" #include <iosfwd> +#include <string> class BufferView; class LyXLength; Index: src/TextCache.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/TextCache.h,v retrieving revision 1.15 diff -u -p -r1.15 TextCache.h --- src/TextCache.h 6 Oct 2003 15:42:04 -0000 1.15 +++ src/TextCache.h 6 Oct 2003 19:58:09 -0000 @@ -14,6 +14,7 @@ #include <iosfwd> #include <map> +#include <string> class Buffer; class LyXText; Index: src/Thesaurus.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/Thesaurus.h,v retrieving revision 1.9 diff -u -p -r1.9 Thesaurus.h --- src/Thesaurus.h 6 Oct 2003 15:42:04 -0000 1.9 +++ src/Thesaurus.h 6 Oct 2003 19:58:09 -0000 @@ -14,6 +14,7 @@ #include <vector> #include <map> +#include <string> #ifdef HAVE_LIBAIKSAURUS #include AIKSAURUS_H_LOCATION Index: src/bufferlist.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/bufferlist.h,v retrieving revision 1.44 diff -u -p -r1.44 bufferlist.h --- src/bufferlist.h 6 Oct 2003 15:42:07 -0000 1.44 +++ src/bufferlist.h 6 Oct 2003 19:58:09 -0000 @@ -14,6 +14,7 @@ #include <boost/utility.hpp> +#include <string> #include <vector> class Buffer; Index: src/exporter.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/exporter.h,v retrieving revision 1.18 diff -u -p -r1.18 exporter.h --- src/exporter.h 6 Oct 2003 15:42:15 -0000 1.18 +++ src/exporter.h 6 Oct 2003 19:58:09 -0000 @@ -13,6 +13,7 @@ #ifndef EXPORTER_H #define EXPORTER_H +#include <string> #include <vector> Index: src/importer.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/importer.h,v retrieving revision 1.9 diff -u -p -r1.9 importer.h --- src/importer.h 6 Oct 2003 15:42:15 -0000 1.9 +++ src/importer.h 6 Oct 2003 19:58:09 -0000 @@ -14,6 +14,7 @@ #ifndef IMPORTER_H #define IMPORTER_H +#include <string> #include <vector> Index: src/lastfiles.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lastfiles.h,v retrieving revision 1.22 diff -u -p -r1.22 lastfiles.h --- src/lastfiles.h 6 Oct 2003 15:42:19 -0000 1.22 +++ src/lastfiles.h 6 Oct 2003 19:58:09 -0000 @@ -15,6 +15,7 @@ #include <boost/utility.hpp> #include <deque> +#include <string> /** The latest documents loaded. Index: src/lyxfind.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfind.h,v retrieving revision 1.15 diff -u -p -r1.15 lyxfind.h --- src/lyxfind.h 6 Oct 2003 15:42:21 -0000 1.15 +++ src/lyxfind.h 6 Oct 2003 19:58:09 -0000 @@ -16,6 +16,8 @@ #include "support/types.h" +#include <string> + class BufferView; class LyXText; Index: src/lyxfont.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfont.h,v retrieving revision 1.62 diff -u -p -r1.62 lyxfont.h --- src/lyxfont.h 6 Oct 2003 15:42:22 -0000 1.62 +++ src/lyxfont.h 6 Oct 2003 19:58:09 -0000 @@ -16,6 +16,7 @@ #define LYXFONT_H #include <iosfwd> +#include <string> class LColor_color; class LyXLex; Index: src/lyxlex.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxlex.h,v retrieving revision 1.35 diff -u -p -r1.35 lyxlex.h --- src/lyxlex.h 6 Oct 2003 15:42:26 -0000 1.35 +++ src/lyxlex.h 6 Oct 2003 19:58:09 -0000 @@ -20,6 +20,7 @@ #include <boost/utility.hpp> #include <iosfwd> +#include <string> /// Index: src/lyxtextclasslist.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxtextclasslist.h,v retrieving revision 1.9 diff -u -p -r1.9 lyxtextclasslist.h --- src/lyxtextclasslist.h 6 Oct 2003 15:42:29 -0000 1.9 +++ src/lyxtextclasslist.h 6 Oct 2003 19:58:09 -0000 @@ -16,6 +16,7 @@ #include <boost/utility.hpp> +#include <string> #include <vector> class LyXTextClass; Index: src/messages.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/messages.h,v retrieving revision 1.7 diff -u -p -r1.7 messages.h --- src/messages.h 6 Oct 2003 15:42:29 -0000 1.7 +++ src/messages.h 6 Oct 2003 19:58:09 -0000 @@ -12,6 +12,7 @@ #define MESSAGES_H #include <boost/scoped_ptr.hpp> +#include <string> /// class Messages { Index: src/paragraph.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/paragraph.h,v retrieving revision 1.107 diff -u -p -r1.107 paragraph.h --- src/paragraph.h 6 Oct 2003 15:42:31 -0000 1.107 +++ src/paragraph.h 6 Oct 2003 19:58:09 -0000 @@ -23,6 +23,7 @@ #include "support/types.h" +#include <string> class Buffer; class BufferParams; Index: src/paragraph_pimpl.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/paragraph_pimpl.C,v retrieving revision 1.86 diff -u -p -r1.86 paragraph_pimpl.C --- src/paragraph_pimpl.C 6 Oct 2003 15:42:32 -0000 1.86 +++ src/paragraph_pimpl.C 6 Oct 2003 19:58:09 -0000 @@ -31,6 +31,7 @@ using lyx::pos_type; using std::endl; using std::upper_bound; +using std::lower_bound; using std::string; using std::ostream; Index: src/textcursor.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/textcursor.h,v retrieving revision 1.10 diff -u -p -r1.10 textcursor.h --- src/textcursor.h 6 Oct 2003 15:42:42 -0000 1.10 +++ src/textcursor.h 6 Oct 2003 19:58:09 -0000 @@ -17,6 +17,8 @@ #include "lyxcursor.h" +#include <string> + class Buffer; // Do not even think of forward declaring LyXText/BufferView etc here! Index: src/frontends/lyx_gui.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/lyx_gui.h,v retrieving revision 1.22 diff -u -p -r1.22 lyx_gui.h --- src/frontends/lyx_gui.h 6 Oct 2003 15:42:44 -0000 1.22 +++ src/frontends/lyx_gui.h 6 Oct 2003 19:58:09 -0000 @@ -15,6 +15,7 @@ #include "FuncStatus.h" +#include <string> #include <vector> class Dialogs; Index: src/frontends/controllers/BCView.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/BCView.h,v retrieving revision 1.6 diff -u -p -r1.6 BCView.h --- src/frontends/controllers/BCView.h 6 Oct 2003 15:42:44 -0000 1.6 +++ src/frontends/controllers/BCView.h 6 Oct 2003 19:58:09 -0000 @@ -16,6 +16,7 @@ #include <boost/shared_ptr.hpp> #include <list> +#include <string> class ButtonController; Index: src/frontends/controllers/ControlCommandBuffer.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/ControlCommandBuffer.h,v retrieving revision 1.11 diff -u -p -r1.11 ControlCommandBuffer.h --- src/frontends/controllers/ControlCommandBuffer.h 6 Oct 2003 15:42:45 -0000 1.11 +++ src/frontends/controllers/ControlCommandBuffer.h 6 Oct 2003 19:58:09 -0000 @@ -14,6 +14,7 @@ #ifndef CONTROLCOMMANDBUFFER_H #define CONTROLCOMMANDBUFFER_H +#include <string> #include <vector> Index: src/frontends/controllers/biblio.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/biblio.h,v retrieving revision 1.16 diff -u -p -r1.16 biblio.h --- src/frontends/controllers/biblio.h 6 Oct 2003 15:42:47 -0000 1.16 +++ src/frontends/controllers/biblio.h 6 Oct 2003 19:58:09 -0000 @@ -13,6 +13,7 @@ #define BIBLIOHELPERS_H #include <map> +#include <string> #include <vector> /** Functions of use to citation and bibtex GUI controllers and views */ Index: src/frontends/controllers/frnt_lang.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/frnt_lang.h,v retrieving revision 1.10 diff -u -p -r1.10 frnt_lang.h --- src/frontends/controllers/frnt_lang.h 6 Oct 2003 15:42:47 -0000 1.10 +++ src/frontends/controllers/frnt_lang.h 6 Oct 2003 19:58:09 -0000 @@ -12,6 +12,7 @@ #ifndef FRNT_LANG_H #define FRNT_LANG_H +#include <string> #include <utility> #include <vector> Index: src/frontends/controllers/tex_helpers.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/tex_helpers.h,v retrieving revision 1.13 diff -u -p -r1.13 tex_helpers.h --- src/frontends/controllers/tex_helpers.h 6 Oct 2003 15:42:47 -0000 1.13 +++ src/frontends/controllers/tex_helpers.h 6 Oct 2003 19:58:09 -0000 @@ -12,6 +12,7 @@ #ifndef TEX_HELPERS_H #define TEX_HELPERS_H +#include <string> #include <vector> Index: src/graphics/GraphicsCache.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/graphics/GraphicsCache.h,v retrieving revision 1.33 diff -u -p -r1.33 GraphicsCache.h --- src/graphics/GraphicsCache.h 6 Oct 2003 15:42:58 -0000 1.33 +++ src/graphics/GraphicsCache.h 6 Oct 2003 19:58:11 -0000 @@ -25,6 +25,7 @@ #include <boost/shared_ptr.hpp> #include <vector> +#include <string> namespace lyx { Index: src/graphics/PreviewImage.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/graphics/PreviewImage.h,v retrieving revision 1.15 diff -u -p -r1.15 PreviewImage.h --- src/graphics/PreviewImage.h 6 Oct 2003 15:42:59 -0000 1.15 +++ src/graphics/PreviewImage.h 6 Oct 2003 19:58:11 -0000 @@ -13,6 +13,7 @@ #define PREVIEWIMAGE_H #include <boost/scoped_ptr.hpp> +#include <string> class InsetOld; Index: src/mathed/math_macrotable.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_macrotable.h,v retrieving revision 1.19 diff -u -p -r1.19 math_macrotable.h --- src/mathed/math_macrotable.h 6 Oct 2003 15:43:15 -0000 1.19 +++ src/mathed/math_macrotable.h 6 Oct 2003 19:58:11 -0000 @@ -15,6 +15,7 @@ #include "math_atom.h" #include <map> +#include <string> class MathMacroTable {
pgp00000.pgp
Description: PGP signature