mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
the rest of the weekend stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@315 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a040c0bc6f
commit
a25d74c216
54
ChangeLog
54
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>
|
1999-11-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
* src/lyx_gui_misc.C (askForText): when fl_show_input() returns
|
* src/lyx_gui_misc.C (askForText): when fl_show_input() returns
|
||||||
|
@ -58,8 +58,3 @@ grep -E "_\(\".*\"\)" `find src -name \*.[hHC]` | \
|
|||||||
awk 'BEGIN {FS= ":"} {print $1}' | sort -f -d | uniq >> tmppot
|
awk 'BEGIN {FS= ":"} {print $1}' | sort -f -d | uniq >> tmppot
|
||||||
mv tmppot po/POTFILES.in
|
mv tmppot po/POTFILES.in
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -2862,7 +2862,7 @@ void Buffer::makeDocBookFile(string const & filename, int column)
|
|||||||
Inset *inset = par->GetInset(0);
|
Inset *inset = par->GetInset(0);
|
||||||
char lyx_code = inset->LyxCode();
|
char lyx_code = inset->LyxCode();
|
||||||
if (lyx_code == Inset::LABEL_CODE){
|
if (lyx_code == Inset::LABEL_CODE){
|
||||||
command_name+= " id= \"";
|
command_name+= " id=\"";
|
||||||
command_name+= ((InsetCommand *) inset)->getContents();
|
command_name+= ((InsetCommand *) inset)->getContents();
|
||||||
command_name+= "\"";
|
command_name+= "\"";
|
||||||
desc_on= 3;
|
desc_on= 3;
|
||||||
@ -3084,7 +3084,7 @@ void Buffer::SimpleDocBookOnePar(string & file, string & extra,
|
|||||||
file += tmp_out;
|
file += tmp_out;
|
||||||
}
|
}
|
||||||
} else if (font2.latex() == LyXFont::ON) {
|
} else if (font2.latex() == LyXFont::ON) {
|
||||||
// "TeX"-Mode on == > SGML-Mode on.
|
// "TeX"-Mode on ==> SGML-Mode on.
|
||||||
if (c!= '\0')
|
if (c!= '\0')
|
||||||
file += c;
|
file += c;
|
||||||
char_line_count++;
|
char_line_count++;
|
||||||
|
Loading…
Reference in New Issue
Block a user