]> git.lyx.org Git - features.git/commitdiff
Small changes needed by dec cxx
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 6 Apr 2000 09:17:40 +0000 (09:17 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 6 Apr 2000 09:17:40 +0000 (09:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@639 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
po/POTFILES.in
src/font.C
src/insets/lyxinset.h
src/lyxparagraph.h
src/support/lyxstring.h

index b9191f14376334f753740c2394bf8c7edbf542e2..8e82bbe2e8b3a1279dfd724aa7637822b092467a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2000-04-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/lyxparagraph.h: make strict InsetTable public.
+
+       * src/support/lyxstring.h: change lyxstring::difference_type to be
+       ptrdiff_t. Add std:: modifiers to streams.
+
+       * src/font.C: include the <cctype> header, for islower() and
+       isupper(). 
+
 2000-04-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
        * src/font.[Ch]: new files. Contains the metric functions for
index 38e34d5dc7a814c5dd119cd2699414f2fa794d62..ca08ee083209f0ab873d20959f1f92ea140cb03c 100644 (file)
@@ -28,7 +28,6 @@ src/insets/form_graphics.C
 src/insets/form_url.C
 src/insets/insetbib.C
 src/insets/inset.C
-src/insets/inseteditor.C
 src/insets/inseterror.C
 src/insets/insetert.C
 src/insets/insetfoot.C
@@ -84,6 +83,7 @@ src/spellchecker.C
 src/sp_form.C
 src/support/filetools.C
 src/support/getUserName.C
+src/support/path.C
 src/support/path.h
 src/TableLayout.C
 src/text2.C
index f8cd5c4eb7d0c4833ce0bf1c35325152c6ea5014..1590c72b551baede827d1d1305e2ba64df88966c 100644 (file)
@@ -1,5 +1,7 @@
 #include <config.h>
 
+#include <cctype>
+
 #include "font.h"
 #include "FontLoader.h"
 #include "lyxrc.h"
index 79d7904b0989be2c6267c3b1dfc0cef130243b8c..3a334ab900535d785fcde34661536e8bc9040285 100644 (file)
@@ -131,7 +131,7 @@ public:
        /** returns the number of rows (\n's) of generated tex code.
         fragile != 0 means, that the inset should take care about
         fragile commands by adding a \protect before.
-        If the freee_spc (freespacing) variable is set, then this inset
+        If the free_spc (freespacing) variable is set, then this inset
         is in a free-spacing paragraph.
         */
        virtual int Latex(std::ostream &, signed char fragile,
index 5517081fbf8b712adef1573206d26debfd3eb217..ad8e21484f1670a2ce7ef1d1bb4998739fec7cbd 100644 (file)
@@ -501,6 +501,15 @@ public:
        ///
        void SimpleDocBookOneTablePar(std::ostream &, string & extra,
                                      int & desc_on, int depth);
+       ///
+       struct InsetTable {
+               ///
+               size_type pos;
+               ///
+               Inset * inset;
+               ///
+               InsetTable(size_type p, Inset * i) { pos = p; inset = i;}
+       };
 private:
        /** A font entry covers a range of positions. Notice that the
          entries in the list are inserted in random order.
@@ -525,15 +534,6 @@ private:
                LyXFont font;
        };
        ///
-       struct InsetTable {
-               ///
-               size_type pos;
-               ///
-               Inset * inset;
-               ///
-               InsetTable(size_type p, Inset * i) { pos = p; inset = i;}
-       };
-       ///
        typedef std::list<FontTable> FontList;
        ///
        FontList fontlist;
index 27857ae5c20d53b9c6e9c1c5693c48aa31fae6d9..696acfc63dd8d9ecd74efa7651fab4005d020a29 100644 (file)
@@ -647,8 +647,8 @@ lyxstring operator+(lyxstring const & a, lyxstring::value_type b);
 
 void swap(lyxstring & s1, lyxstring & s2);
 
-istream & operator>>(istream &, lyxstring &);
-ostream & operator<<(ostream &, lyxstring const &);
-istream & getline(istream &, lyxstring &, lyxstring::value_type delim = '\n');
+std::istream & operator>>(std::istream &, lyxstring &);
+std::ostream & operator<<(std::ostream &, lyxstring const &);
+std::istream & getline(std::istream &, lyxstring &, lyxstring::value_type delim = '\n');
 
 #endif