X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=d0e05c2ba09758664a31cf31ad23ae6af9288cba;hb=d719688df38b73e915ea36c8357a3c57376c4ef7;hp=bf10e8509a348b6f601a1cdc13caa847354dbcac;hpb=3f1021344b067ebf2b5a048d0bd03d3d4d9cd2dc;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index bf10e8509a..d0e05c2ba0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,702 @@ +2002-01-08 Martin Vermeer + + * FuncStatus.[Ch]: new files. This is a rewrite as a proper class + of the func_satus stuff. Edited and massaged in various ways by + JMarc. + + * lyxfunc.C (getStatus): use FuncStatus + +2002-01-08 Juergen Vigna + + * text.C (nextBreakPoint): use function Inset::isChar(). + + * paragraph.C (TeXOnePar): use function + Inset::forceDefaultParagraphs. + + * buffer.C (latexParagraphs): use function + Inset::forceDefaultParagraphs. + +2002-01-07 Angus Leeming + + * lyx_gui.C (init): set the style of the menu popups to + FL_BOLD_STYLE, thereby fixing bugzilla bug #32. + +2002-01-07 Juergen Vigna + + * text.C (setHeightOfRow): small fix + (prepareToPrint): don't look at alignment if we don't have the place + for doing it. + +2002-01-07 Angus Leeming + + * box.C: New file. Move the Box methods and functions out of box.h, + following Lars' suggestion. + +2002-01-07 Angus Leeming + + * box.h: #include "support/LOstream.h", needed for inlined function. + + * lyxtextclass.C: + * lyxtextclasslist.C: added some using std declarations. + +2002-01-06 John Levon + + * box.h: make signed dimensions to allow insets wider than + the screen (bug #162) + + * BufferView_pimpl.C: add some insetHit debug + +2002-01-05 John Levon + + * vc-backend.C: add FIXME + +2002-01-03 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): enable code for showing math font status + in toolbar/menu. + +2002-01-07 Juergen Vigna + + * text.C (nextBreakPoint): removed debug output not needed anymore. + +2002-01-06 Juergen Vigna + + * text.C (nextBreakPoint): fixed up this function we had this bug + since ever but now hopefully we break row better. + (insertChar): we have to check if an inset is the next char as it + could now happen that a large inset is causing a break. + +2002-01-05 Juergen Vigna + + * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor + if it doesn't like to be drawed. + +2002-01-04 Juergen Vigna + + * BufferView2.C (lockInset): forgot to set a cursor. + + * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE. + +2002-01-03 Martin Vermeer + + * FormMathsPanel.C: + * FormMathsPanel.h + * MathsSymbols.C: + * form_maths_panel.C: + * form_maths_panel.h: + * form_maths_panel.fd: implemented sub- and super- buttons in math + panel. + + * lyx_main.C: Revised hardwired bindings to allow original _ and ^ + (or ^ space) to be used as in TeX (req'd by André). + + * lyxfunc.C: Allow ^ and _ again to be used both as + super/subscript (mathed) and as themselves (in text). + +2002-01-03 Allan Rae + + * LyXView.C (updateWindowTitle): Setup a short icon title of either + "LyX" or the filename of the current buffer if it has one. This is a + modified form of John Levon's patch. + + * XFormsView.C (setWindowTitle): also set icon title. + + * LyXView.h (setWindowTitle): signature changed. + * XFormsView.h (setWindowTitle): ditto. + +2002-01-02 Juergen Vigna + + * tabular.C (AppendColumn): hopefully fixed this memory access problem. + +2001-12-28 Lars Gullik Bjønnes + + * screen.C (topCursorVisible): introduce a temp var for + text->cursor.row(), handle the case where this row is null. (kindo + hachish) + + * text2.C (setCursor): add a couple of asserts. + + * paragraph.h (inset_iterator): add -> operator + + * paragraph.[Ch] (autoDeleteInsets): remove member function + + * BufferView2.C (removeAutoInsets): rewrite to handle the old + cursor pos correctly and handle inset deletion by itself. + (insertErrors): move iterator declaration out of for expression + + * lyxtextclass.C: add + + * Makefile.am: added the new files to sources, removed layout.C + + * layout.C: removed file + + * layout.h: remove LYX_DUMMY_LAYOUT + + * lyxtextclasslist.C (NumberOfLayout): do not special case dummy + layout. + + * lyxlayout.[Ch]: + * lyxtextclass.[Ch]: + * lyxtextclasslist.[Ch]: new files + + * include order changes to a lot of files, also changes because of + the six new files. + +2001-12-27 Juergen Vigna + + * buffer.C (asciiParagraph): more fixes. + + * tabular.C (ascii): make ascii export support export of only the + data separated by a column-delimiter. + (ascii): better support for ascii export. + + * buffer.C (asciiParagraph): rewrote to hopefully work as expected! + +2001-12-26 Jean-Marc Lasgouttes + + * tabular_funcs.C: use a "using std::getline" instead of the + previous fix from Angus (necessary for cxx + lyxstring) + +2001-12-24 Juergen Vigna + + * BufferView_pimpl.C (tripleClick): fixed for InsetText. + + * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read + problems. First check a minipage also if we have some ert-contents + (not only on par->size(), second set the right depth of the paragraph + on the relink to the root-paragraph-list! + + * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix + which then did not anymore update the main paragraphs on undo/redo! + +2001-12-21 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): use func_status::toggle to simplify the + code. Support all font-changing funcs (even those which are not in + menu currently). Support for reporting font settings in + mathed (disabled until Andre provides a function on mathed's side). + + * func_status.h (toggle): small helper function to set toggle + state on a flag. + +2001-12-21 Angus Leeming + + * tabular_funcs.C: getline -> std::getline + +2001-12-21 Juergen Vigna + + * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is + accessed and could be 0 (I couldn't generate this but it seems + Michael could!). + +2001-12-20 Lars Gullik Bjønnes + + * tabular_funcs.C: add LIstream.h, move write_attribute to.. + * tabular_funcs.h: here and include iosfwd + +2001-12-20 Juergen Vigna + + * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not + inside inset but undo_par was. + +2001-12-19 Jean-Marc Lasgouttes + + * Thesaurus.C: always include in sources. + + * Painter.h: + * lyxlookup.h: + * box.h: do not include in header files + + * text.C (paintLastRow): remove unused variable + + * text.C (transformChar): + (insertChar): + * tabular-old.C (getTokenValue): use IsDigit instead of isdigit. + + * Painter.C (text): + * font.C (width): rewrite to use uppercase() instead of + islower/toupper. + + * lyxfind.C (IsStringInText): use uppercase instead of toupper. + +2001-12-12 John Levon + + * lyxfind.C: clean up of find failure position change + +2001-12-20 Juergen Vigna + + * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC]. + + * tabular.C (isValidRow): added to check if we're in a LT-h/f row. + (TeXRow): added to LaTeX a single tabular row. + (TeXLongtableHeaderFooter): added to output LT-h/f data. + (Latex): simplified and finally good LT-h/f support. + (various_functions): just small adaptions for LT-h/f support. + + * tabular_funcs.[hC]: added and moved here all not classfunctions + of LyXTabular. + +2001-12-19 Juergen Vigna + + * tabular.[Ch]: better support for longtabular options (not finished + yet!) + +2001-12-18 Jean-Marc Lasgouttes + + * text.C (paintLastRow): use the label font instead of the font of + the last character to compute the size of *_BOX. This makes more + sense and avoids a crash with empty paragraphs. + Use Painter::rectangle to draw EMPTY_BOX. + +2001-12-19 Juergen Vigna + + * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of + the paragraphs if the replaced paragraph is not the first one! + Tried to delete not used paragraphs but does not work yet so for + now it's inside #ifdef's and by default off! + +2001-12-18 Jean-Marc Lasgouttes + + * MenuBackend.C: include "lyx_main.h" instead of declaring + lastfiles (actually was declared as LastFiles* instead of a + scoped_ptr). + +2001-12-17 Juergen Vigna + + * tabular.C (AppendColumn): applied John's fix + +2001-12-15 John Levon + + * BufferView.h: + * BufferView.C: + * BufferView_pimpl.h: + * BufferView_pimpl.C: cleanup and fix of checkInsetHit(). + + * Makefile.am: + * box.h: new start of class for above + + * lyxfunc.C: ignore space-only minibuffer dispatches. + Show the command name when it doesn't exist + + * minibuffer.C: don't add empty lines to the history + + * minibuffer.C: add a space on dropdown completion + +2001-12-14 John Levon + + * text.C: fix line above/below drawing in insets + +2001-12-15 Lars Gullik Bjønnes + + * lyxlength.C (LyXLength): Initialize private variables. + +2001-12-15 Dekel Tsur + + * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language + when inserting error insets. + +2001-12-13 Juergen Vigna + + * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was + actually sometimes the before-paragraph. + (setUndo): don't clear the redostack if we're not actually undoing! + +2001-12-06 Juergen Vigna + + * undo_funcs.C (textHandleUndo): well after John's hint I got here + and fixed redoing of main paragraph, so we can use it now ;) + + * text2.C (redoParagraphs): fixed a crash when having only 1 row! + +2001-12-13 Jean-Marc Lasgouttes + + * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per + Juergen's request + +2001-12-13 André Pönitz + + * undostack.[Ch]: + * undo_func.C: minor cleanup + +2001-12-12 Jean-Marc Lasgouttes + + * FontLoader.C (getFontinfo): only use symbol fonts with encoding + -adobe-fontspecific. At least Mandrake and Redhat have a symbol + font in urw-fonts package which is marked as -urw-fontspecific and + does not work (incidentally, changing the encoding in the + fonts.dir of this package to -adobe-fontspecific fixes the + problem). + + * undo_funcs.C (textHandleUndo): fix leak in undo, but now there + is a crash when undoing first paragraph (Juergen, please take a + look). THis does not mean the undo fix is wrong, just that it + uncovers problems. + + * text2.C (ownerParagraph): let the (int,Paragraph*) version call + the (Paragraph*) version when needed instead of duplicating the + code. + + * text.C (workWidth): use Inset::parOwner to find out where the + inset has been inserted. This is a huge performance gain for large + documents with lots of insets. If Inset::parOwner is not set, fall + back on the brute force method + + * paragraph_pimpl.C (insertInset): + * paragraph.C (Paragraph): + (cutIntoMinibuffer): set parOwner of insets when + inserting/removing them + + * lyxtext.h: add short comment on deleteEmptyParagraphMechanism + +2001-12-12 Martin Vermeer + + * commandtags.h: + * LyXAction.C: + * lyx_main.C: + * lyxfunc.C: + * mathed/formulabase.C: + * mathed/math_cursor.[Ch]: + make sub/superscript into functions LFUN_SUB/SUPERSCRIPT. + + +2001-12-12 Lars Gullik Bjønnes + + * lyxlength.[Ch] (operator!=): new function + +2001-12-12 Jean-Marc Lasgouttes + + * text.C (workWidth): use Inset::parOwner to find out where the + inset has been inserted. This is a huge performance gain for large + documents with lots of insets. If Inset::parOwner is not set, fall + back on the brute force method + + * paragraph_pimpl.C (insertInset): + * paragraph.C (Paragraph): + (cutIntoMinibuffer): set parOwner of insets when + inserting/removing them + + * lyxtext.h: add short comment on deleteEmptyParagraphMechanism + +2001-12-10 Jean-Marc Lasgouttes + + * tabular-old.C (getTokenValue): + * tabular.C (getTokenValue): + (write_attribute): new versions for LyXLength + (everywhere): adjust the use of widths + + * tabular.h: change the type of widths from string to LyXLength + +2001-12-11 Ben Stanley + + * paragraph.C: fixed missing line number count when exporting + Environments to LaTeX file + + * buffer.C: added informational message for checking line numbers. + +2001-12-11 Jean-Marc Lasgouttes + + * text2.C (deleteEmptyParagraphMechanism): if there is only one + paragraph, do the 'double space' part, but not the 'empty + paragraph' one. + + * text.C (workWidth): small optimization + (getLengthMarkerHeight): use minimal size for negative lengths. + +2001-12-11 Dekel Tsur + + * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array + + * FontLoader.C (getFontinfo): Use "*-eufrak-medium" + +2001-12-11 André Pönitz + + * FontLoader.C: + * lyxfont.[Ch]: support for fraktur font used by \mathfrak + +2001-12-06 John Levon + + * text2.C: keep selection on a setFont() + +2001-12-06 John Levon + + * lyx_cb.C: another bv->text misuse, from insert label + +2001-12-03 John Levon + + * kbsequence.h: + * kbsequence.C: re-instate nmodifier mask + +2001-12-12 Angus Leeming + + * lyx_main.h: make lyxGUI private. + +2001-12-06 John Levon + + * lyxfind.C: place the cursor correctly on failed search + +2001-12-09 Jean-Marc Lasgouttes + + * text.C (getLengthMarkerHeight): for small heights, the arrows + are not always on top/bottom of the text + (drawLengthMarker): smaller arrows; take the left margin in + account; draw also vfills. + (paintFirstRow): + (paintLastRow): remove special code for vfill and standard spaces, + since everything is handled in drawLengthMarker now. + +2001-12-08 Lars Gullik Bjønnes + + * buffer.C (insertErtContents): try to handle font and language + interaction a bit better.g + + * ColorHandler.C (updateColor): change the hash to cover the whole + LColor enum, ws cleanup + (getGCLinepars): ditto + (getGCLinepars): only lookup in the linecache once. + +2001-12-07 Dekel Tsur + + * iterators.C (operator++): Make the iterator more robust + + * BufferView2.C (removeAutoInsets): Use paragraph iterators + (John's patch) + * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto + +2001-12-05 John Levon + + * lyxtext.h: + * text.C: better added space drawing + +2001-12-05 John Levon + + * LyXView.C: + * BufferView2.C: fix layout combo update on inset unlock + +2001-12-05 John Levon + + * Makefile.am: don't compile unused files + +2001-12-05 John Levon + + * lyxfunc.C: + * commandtags.h: + * LyXAction.C: remove old LFUN_LAYOUTNO + +2001-12-05 John Levon + + * paragraph_pimpl.h: + * paragraph_pimpl.C: isTextAt() doesn't need font param + +2001-12-05 John Levon + + * lyxlex.h: + * lyxlex.C: little cleanup + +2001-12-05 John Levon + + * BufferView_pimpl.C: fix insertAscii for insets + +2001-12-05 Juergen Vigna + + * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and + set the right font on the "multi" paragraph paste! + +2001-12-05 Lars Gullik Bjønnes + + * trans_decl.h: + * trans_mgr.[Ch]: + * trans.[Ch]: + * lyxgluelength.C: + * lyxlength.C: remove out-commented code. + + * BufferView_pimpl: + * CutAndPaste.C: + * DepTable.C: + * buffer.C: + * chset.C: + * lastfiles.C: + * lyxlex.C: + * lyxlex_pimpl.C: + * lyxserver.C: + * screen.C: + * tabular-old.C: + * tabular.C: + * text.C: + * trans_mgr.C: + * vc-backend.C: change "while(" to "while (" + + * lyxlength.[Ch]: add zero function to check if length is zero or + not + * lyxgluelength.C: use it + +2001-12-05 Allan Rae + + * lyxlength.C: Attempted a fix for the abs(int) header selection. + Works for 2.95.3, from what I understand of Garst's reports this should + work for other g++ versions. We're screwed if the abs(int) definition + changed between bugfix releases of gcc. + +2001-12-04 John Levon + + * text.C: fix chapter label offset ! + +2001-12-04 John Levon + + * lyxtext.h: + * text.C: fix hfill at end of line, clean up + +2001-12-04 Juergen Vigna + + * undo_funcs.C (textHandleUndo): added a call to inset->update() so + that we force an update of the inset and it's owners if neccessary. + +2001-12-03 Juergen Vigna + + * text.C (rowLast): simplified code + +2001-12-03 John Levon + + * lyxfunc.C: fix show options on timeout + +2001-12-03 Lars Gullik Bjønnes + + * screen.C (topCursorVisible): scroll half a page when the cursor + reached top of bottom of screen + +2001-12-02 John Levon + + * minibuffer.C: deactivate on loss of focus + +2001-12-02 Lars Gullik Bjønnes + + * vspace.[Ch] (operator!=): add operator. + +2001-12-01 John Levon + + * BufferView_pimpl.C: refuse to open an inset when + there's a selection. + +2001-11-30 John Levon + + * BufferView_pimpl.C: allow to click on RHS of full row insets + +2001-11-30 Juergen Vigna + + * tabular.C (LyXTabular): add a same_id to set the same id's in the + insets for undo reasons. + +2001-11-28 André Pönitz + + * vspace.[Ch]: cosmetical changes + +2001-11-26 John Levon + + * LyXAction.h: + * LyXAction.C: + * lyxfunc.h: + * lyxfunc.C: + * kbmap.h: + * kbmap.C: + * lyxrc.C: + * kbsequence.h: + * kbsequence.C: part re-write of old kb code + + * Painter.C: + * WorkArea.C: remove Lgb_bug_find_hack + +2001-11-30 José Matos + + * buffer.C (makeDocBookFile): add a comment to point a hack. + (simpleDocBookOnePar): changed a PAR::META_INSET to isInset(). + Fixed a double write of labels. + +2001-11-28 André Pönitz + + * all the files from the change on 2001/11/26: + use lyx::layout_type instead of LyXTextClass::size_type + use lyx::textclass_type instead of LyXTextClassList::size_type + +2001-11-29 Juergen Vigna + + * text.C: added support for paragraph::isFreeSpacing() + + * buffer.C: same as above + + * paragraph.h: inserted isFreeSpacing() function to enable + FreeSpacing inside InsetERT. + + * CutAndPaste.C (cutSelection/copySelection): set the inset_owner + of the paragraph's in the cut/copy buffer to 0! + + * text2.C (removeRow): remove the assert as it can! + + * lyxtext.h: added helper function firstRow returning firstrow and + made firstrow private again. + + * BufferView2.C (lockInset): don't relock if we're already locked! + + * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's + the only paragraph. + (removeRow): added Assert::(firstrow) + + * debug.C: forgot to add INSETTEXT here. + +2001-11-28 Juergen Vigna + + * sp_spell.C (initialize): changed error text to more general + spellchecker command use (not only ispell!) + + * bufferlist.C (qwriteAll): fixed "Cancel" button handling! + + * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)! + +2001-11-26 John Levon + + * vspace.C: initialise lyxgluelength on failure + +2001-11-28 Allan Rae + + * text.C (paintLastRow): g++-2.95.3 and others don't like variable + declaration & definition that looks like a function declaration. + +2001-11-27 Jean-Marc Lasgouttes + + * BufferView2.C (copy): + (copyEnvironment): do not clear the selection when doing a copy. + + * text.C (paintFirstRow): compilation fix + +2001-11-27 Ben Stanley + + * tabular.C (Latex): correct line count when writing latex. + +2001-11-27 John Levon + + * paragraph_pimpl.h: + * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX" + bug a bit + +2001-11-26 John Levon + + * text.C: + * LColor.h: + * LColor.C: change vfillline->added_space + + * text.C: add markers and text for added space + + * vspace.C: fix comment + +2001-11-28 André Pönitz + + * paragraph.C: whitespace changes + * all the other files from the change on 2001/11/26: + change *::pos_type into lyx::pos_type + +2001-11-27 Dekel Tsur + + * buffer.C (parseSingleLyXformat2Token): Set the language to the + language of the document when inserting error insets. + 2001-11-26 André Pönitz * BufferView_pimpl.[Ch]: @@ -80,6 +779,11 @@ Change return code to string::npos when there have been no error (0 was a bad idea when error is at first character) +2001-11-14 José Matos + + * buffer.h: + * buffer.C (simpleDocBookOnePar): removed unused argument. + 2001-11-13 Jean-Marc Lasgouttes * text.C (selectNextWordToSpellcheck): do not test explicitely for