]> git.lyx.org Git - features.git/commitdiff
the rest of the weekend stuff
authorLars Gullik Bjønnes <larsbj@gullik.org>
Mon, 15 Nov 1999 12:07:35 +0000 (12:07 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Mon, 15 Nov 1999 12:07:35 +0000 (12:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@315 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
autogen.sh
src/buffer.C

index 76641c2267ad05187e282489fde7268596694657..0f4d0f61f9ff9dfec749faa199aa0e4525fc9826 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,57 @@
+1999-11-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/undo.[Ch]: made the undostack use std::list to store undo's in
+       put the member definitions in undo.C.
+
+       * src/lyxparagraph.h, src/paragraph.C + a lot of files: removed
+       NEW_TEXT and have now only code that was included when this was
+       defined. 
+
+       * src/intl.C (LCombo): use static_cast
+       (LCombo2): ditto
+       (DispatchCallback): ditto
+
+       * src/definitions.h: removed whole file
+       
+       * src/commandtags.h: comment out LFUN_INSERT_INSET_LATEX
+
+       * src/chset.[Ch]: a lot rewritten, does not use lyxlex for cdef
+       parsing and stores in a std:map. a regex defines the file format.
+       removed unneeded members.
+
+       * src/bufferparams.h: added several enums from definitions.h here.
+       Removed unsused destructor. Changed some types to use proper enum
+       types. use block to have the temp_bullets and user_defined_bullets
+       and to make the whole class assignable.
+
+       * src/bufferparams.C (Copy): removed this functions, use a default
+       assignment instead. 
+
+       * src/buffer.h: made isLatex, isLinuxDoc, isDocBook, isSGML and
+       isLiterate const.
+
+       * src/buffer.C (readLyXformat2): commend out all that have with
+       oldpapersize to do. also comment out all that hve to do with
+       insetlatex and insetlatexdel. 
+       (setOldPaperStuff): commented out
+
+       * src/Makefile.am (lyx_SOURCES): remove definitions.h, add undo.C
+
+       * src/LyXAction.C: remove use of inset-latex-insert
+
+       * src/mathed/math_panel.C (button_cb): use static_cast
+
+       * src/insets/Makefile.am (insets_o_SOURCES): removed
+       insetlatex.[Ch] 
+
+       * src/support/lyxstring.C (helper): use the unsigned long
+       specifier, UL, instead of a static_cast.
+
+       * src/support/Makefile.am (libsupport_a_SOURCES): added block.h
+
+       * src/support/block.h: new file. to be used as a c-style array in
+       classes, so that the class can be assignable.
+
 1999-11-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * src/lyx_gui_misc.C (askForText): when fl_show_input() returns
index 6bf686d51484aefe4ed16b4644c12c8b79b93839..f76c35df62f5eff93fc9cd724cacdd05c6328913 100755 (executable)
@@ -58,8 +58,3 @@ grep -E "_\(\".*\"\)" `find src -name \*.[hHC]` | \
 awk 'BEGIN {FS= ":"} {print $1}' | sort -f -d | uniq >> tmppot
 mv tmppot po/POTFILES.in
 echo "done"
-
-
-
-
-
index f6b56a70e9a436856b9d70a4968be44307d57509..a252465a3d373255758e1c61985dfc9b5fc6e8ff 100644 (file)
@@ -2862,7 +2862,7 @@ void Buffer::makeDocBookFile(string const & filename, int column)
                                Inset *inset = par->GetInset(0);
                                char  lyx_code = inset->LyxCode();
                                if (lyx_code == Inset::LABEL_CODE){
-                                       command_name+= " id= \"";
+                                       command_name+= " id=\"";
                                        command_name+= ((InsetCommand *) inset)->getContents();
                                        command_name+= "\"";
                                        desc_on= 3;
@@ -3084,7 +3084,7 @@ void Buffer::SimpleDocBookOnePar(string & file, string & extra,
                                        file += tmp_out;
                        }
                } else if (font2.latex() == LyXFont::ON) {
-                       // "TeX"-Mode on == > SGML-Mode on.
+                       // "TeX"-Mode on ==> SGML-Mode on.
                        if (c!= '\0')
                                file += c;
                        char_line_count++;