From a25d74c21623ec9def245be3833cb1feff37d579 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Mon, 15 Nov 1999 12:07:35 +0000 Subject: [PATCH] the rest of the weekend stuff git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@315 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ autogen.sh | 5 ----- src/buffer.C | 4 ++-- 3 files changed, 56 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 76641c2267..0f4d0f61f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,57 @@ +1999-11-15 Lars Gullik Bjønnes + + * 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 * src/lyx_gui_misc.C (askForText): when fl_show_input() returns diff --git a/autogen.sh b/autogen.sh index 6bf686d514..f76c35df62 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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" - - - - - diff --git a/src/buffer.C b/src/buffer.C index f6b56a70e9..a252465a3d 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -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++; -- 2.39.5