X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=3e83ded21f0e06d77afb403362f32bec58c2068a;hb=92e53dc01bc00bef85c9b523841b2649cc96f970;hp=7f1f7babead510123f317bbf32d7dafeb17d02f9;hpb=9b75c4a8480667ce6ef82c0cf2924c153c2bcae1;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index 7f1f7babea..3e83ded21f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,522 @@ +2002-06-12 John Levon + + * BufferView.h: + * BufferView.C: + * BufferView2.C: + * BufferView_pimpl.h: + * BufferView_pimpl.C: only construct screen once, + rename + + * lyxrc.C: remove pointless comment + +2002-06-11 John Levon + + * BufferView.h: + * BufferView.C: remove active() and belowMouse() + + * BufferView_pimpl.h: + * BufferView_pimpl.C: use workarea() not workarea_, + and make it use a scoped_ptr instead + +2002-06-11 John Levon + + * lyx_gui.C: add debug message on BadWindow + +2002-06-10 Lars Gullik Bjønnes + + * sp_spell.C: fdopen is not part of the C++ standard. + + * paragraph.C (InsetIterator): use >= instead of == + +2002-06-07 Angus Leeming + + Fixes needed to compile with Compaq cxx 6.5. + * BufferView_pimpl.C: + * DepTable.C: + * buffer.C: + * converter.C: + * encoding.C: + * lyx_gui.C: + * lyx_main.C: + * lyxtextclasslist.C: + * minibuffer.C: + * sp_spell.C: + * tabular_funcs.C: + * vc-backend.C: + all c-library variables have been moved into namespace std. Wrap + using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block. + + * lyxlength.C: + * tabular-old.C: + * tabular.C: + Add a using std::abs declaration. + + * kbmap.h (modifier_pair): + * paragraph.h (InsetTable, InsetList): + * lyxfont.h (FontBits): + type definition made public. + + * bufferlist.C (emergencyWriteAll): the compiler complains that + there is more than one possible lyx::class_fun template to choose from. + I re-named the void specialisation as lyx::void_class_fun. + + * lyxfont.C (FontBits' operator==, operator!=): taken out of class. + + * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or + the compiler is is unable to find tostr in write_attribute. + +2002-06-06 Jean-Marc Lasgouttes + + * buffer.C (sgmlError): hide #warning + +2002-06-05 Jean-Marc Lasgouttes + + * xtl/*: get rid of xtl, which is not in use anyway + + * LyXAction.C (init): + * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which + were unimplemented xtl experimentation + +2002-06-04 André Pönitz + + * lyxfunc.C: disable array operation on simple formulae + +2002-06-03 John Levon + + * converter.C: constify a bit + +2002-06-02 John Levon + + * lyx_gui.C: check xforms version correctly + +2002-04-30 Herbert Voss + + * buffer.C (parseSingleLyXformat2Token): fix bug with ignored + "keep" option + +2002-05-31 John Levon + + * lyxvc.C: fix bug 416 (make sure buffer is saved before + attempt to register it with a VCS) + +2002-05-30 Jean-Marc Lasgouttes + + * lyx_main.C (init): honor variables LYX_DIR_13x and + LYX_USERDIR_13x + +2002-05-30 John Levon + + * buffer.h: + * buffer.C: + * lyx_main.C: fix a crash on bad command line, + and give a useful exit status on error + + * lyxfunc.C (doImport): allow -i lyx to work + +2002-03-30 André Pönitz + + * lyxfunc.C: mathed font changes + +2002-05-30 John Levon + + * LaTeX.C: + * importer.h: + * importer.C: + * lyx_sty.h: + * lyx_sty.C: + * lyxlex.C: + * lyxrow.h: + * lyxtext.h: + * paragraph.h: + * paragraph.C: + * texrow.h: + * texrow.C: + * text.C: + * trans_mgr.h: srcdocs, and some minor cleanups + +2002-05-29 Jean-Marc Lasgouttes + + * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not + call getFont all the time) + +2002-05-29 Lars Gullik Bjønnes + + * switch from SigC signals to boost::signals + +2002-05-29 André Pönitz + + * paragraph_pimpl.C (getChar): don't call size() too often... + +2002-05-29 Jean-Marc Lasgouttes + + * paragraph_pimpl.C (insertChar): do not try to update tables when + appending (pos == size()) + + * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests + in order to reduce drastically the number of comparisons needed to + parse a large document + +2002-05-29 André Pönitz + + * text.C: + * text2.C: + * lyxtextclass.C: + * sp_pspell.h: + * textclasslist.[Ch]: + * sp_ispell.h: whitespace change + +2002-05-29 Jean-Marc Lasgouttes + + * lyxserver.C (callback): tentative fix of lyxserver. Does not use + lyxaction directly now. + +2002-05-27 John Levon + + * trans.C: + * lyxfont.C: + * lyxvc.C: remove unused headers + +2002-05-26 John Levon + + * Makefile.am: + * buffer.h: + * undostack.h: + * undostack.C: + * undo_funcs.h: + * undo_funcs.C: some cleanups. Use shared_ptr + and a template for the undo stacks. + +2002-05-26 John Levon + + * BufferView_pimpl.h: + * BufferView_pimpl.C: + * kbmap.h: + * kbmap.C: + * kbsequence.h: + * kbsequence.C: + * lyxfunc.h: + * lyxfunc.C: + * text2.C: use key_state/mouse_state + +2002-05-25 Lars Gullik Bjønnes + + * vc-backend.C (scanMaster): use boost regex and get rid of LRegex + and LSubstring + + * chset.C: change include order + (loadFile): use boost regex and get rid of LRegex and LSubstring + + * Makefile.am (BOOST_LIBS): new variable + (lyx_LDADD): use it + + * LaTeX.C: change include order. + (scanAuxFile): use boost regex and get rid of LRegex and + LSubstring + (deplog): ditto + +2002-05-24 John Levon + + * ColorHandler.h: + * ColorHandler.C: + * FontInfo.h: + * FontInfo.C: moved to frontends/xforms/ + + * FontLoader.h: + * FontLoader.C: moved into frontends for GUIIzation + + * Makefile.am: + * lyx_gui.C: + * lyxfont.C: + * lyxfunc.C: changes from above + +2002-05-24 John Levon + + * LColor.C: remove spurious X include + + * BufferView_pimpl.C: + * Makefile.am: + * font.h: + * font.C: + * text.C: + * text2.C: move font metrics to frontends/ + +2002-05-24 Juergen Vigna + + * undo_funcs.C (textHandleUndo): fix the cursor selection after + setting the undo_cursor. + + * ParagraphParameters.h: include local includes first. + +2002-05-23 John Levon + + * BufferView_pimpl.C: + * BufferView_pimpl.h: + * Makefile.am: + * WorkArea.h: + * WorkArea.C: + * screen.C: move WorkArea into frontends/ + + * lyxscreen.h: + * screen.C: + * text.C: + * BufferView.C: + * BufferView2.C: move LyXScreen into frontends/ + + * lyxlookup.h: + * lyxlookup.C: + * lyx_gui.C: move lyxlookup into frontends/xforms/ + +2002-05-23 John Levon + + * BufferView2.C: + * BufferView_pimpl.C: + * FontLoader.C: + * LyXView.h: + * LyXView.C: + * Makefile.am: + * WorkArea.C: + * XFormsView.h: + * XFormsView.C: + * buffer.C: + * bufferlist.C: + * bufferview_funcs.C: + * converter.C: + * importer.C: + * lyx_cb.C: + * lyx_gui.C: + * lyx_main.C: + * lyx_find.C: + * lyxfunc.C: + * lyxvc.C: + * minibuffer.C: + * text.C: + * text2.C: + * trans.C: + * vc-backend.C: move LyX/XFormsView into frontends/ + +2002-05-23 John Levon + + * Makefile.am: + * PainterBase.C: + * PainterBase.h: + * Painter.C: + * Painter.h: + * WorkArea.C: + * WorkArea.h: + * screen.C: + * tabular.C: + * text.C: + * text2.C: move Painter to frontends/ + +2002-05-22 Lars Gullik Bjønnes + + * buffer.C: comment out some some code that depend upon lyx_format + < 220 + + * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra + * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto + + * buffer.h (NO_COMPABILITY): turn off compability + + * ColorHandler.C: include scoped_array.hpp + + * font.C: Use more specific smart_ptr header. + * Painter.C: ditto + * gettext.C: ditto + * ShareContainer.h: ditto + * lyx_main.h: ditto + * kbmap.h: ditto + * FontInfo.h: ditto + * BufferView_pimpl.h: ditto + * ColorHandler.h: ditto + + * kbmap.C (defkey): change call to shared_ptr::reset + +2002-05-21 Juergen Vigna + + * buffer.C (insertErtContents): fix to insert ert asis if it is + non empty. Skip it completely if it contains only whitespaces. + +2002-05-15 John Levon + + * BufferView_pimpl.C: + * BufferView2.C: clear selection on paste (bug 393) + +2002-05-14 Lars Gullik Bjønnes + + * DepTable.C: include ctime + +2002-05-11 Dekel Tsur + + * buffer.C (latexParagraphs): Add new argument (moving_arg). + +2002-05-14 Juergen Vigna + + * text.C (breakParagraph): fixed function to honor the keepempty + layout in the right maner and also to permit the right breaking + algorithm on empty or non empyt keepempty paragraphs. + + * paragraph.C (breakParagraph): we have to check also if the par + is really empty (!size()) for isempty otherwise we do the wrong + paragraph break. + +2002-05-10 Juergen Vigna + + * buffer.[Ch] : The following are only changes to the ert + compatibility read reading old LaTeX layout and font stuff and + convert it to ERTInsets. + + * buffer.h: added isErtInset(). + + * buffer.C (struct ErtComp): add a fromlayout bool to check + if we're inside a LaTeX layout. + (isErtInset): new helper function. + (insertErtContents): look for other ert insets before this one + and insert the contents there, so that we don't have subsequent + ERT insets with nothing between them. This way we create only one + inset with multiple paragraphs. Also check if we don't insert only + spaces ' ' as they are ignored anyway afterwards in the .tex file + so if we have only spaces we will ignore this latex part in the + new file. + (parseSingleLyXformat2Token \\layout): better compatibility when + reading layout-latex stuff. + (parseSingleLyXformat2Token \\lang): put the insetERT in the right + language tag. + (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp + stuff after reading the inset only get the information back from + the stack. + +2002-05-10 Dekel Tsur + + * buffer.C (makeLaTeXFile): Put language options after loading babel. + + * LaTeXFeatures.C (getBabelOptions): New method. + +2002-05-08 Lars Gullik Bjønnes + + * BufferView_pimpl.C (Dispatch): work around missing argument for + 'layout' + +2002-05-08 Juergen Vigna + + * text.C (leftMargin): handle paragraph leftindent. + + * paragraph.C (writeFile): write the new \\leftindent tag. + (validate): handle leftindent code. + (TeXEnvironment): handle paragraphleftindent code again. + + * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent. + + * buffer.C (parseSingleLyXformat2Token): added compatibility code + for paragrap_extra indent code and new token \\leftindent. + (latexParagraphs): handle the leftindent as environment. + + * ParameterStruct.h: added leftindent support. + + * ParagraphParameters.C (leftIndent): added support functions for + the paragraph left indent. + + * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems + more appropriate. + +2002-05-05 Dekel Tsur + + * paragraph.C (isRightToLeftPar): Return false for a paragraph + inside insetERT. + + * text.C (computeBidiTables): No bidi in insetERT. + + * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT + in RTL documents. + +2002-05-03 Lars Gullik Bjønnes + + * version.C.in: pre 5 + +2002-05-02 José Matos + * buffer.C (makeDocBookFile): white space changes, add newline to + command styles. + (simpleDocBookOnePar): protect inside a CDATA section. + + * tabular.C (docBook): fix typo. + +2002-05-03 Juergen Vigna + + * screen.C (drawFromTo): recalculate the rowpointer if we had a + change in LyXText as we can not be sure it was not freed. + (drawOneRow): remove unused code. + + * text.C (drawInset): redo the calculation of the need_break_row as + it could have a row which was already freed. + (draw): look at the return value of drawInset and return false if + it also returned false. + (paintRowText): look at the return value of draw and return false if + it also returned false. + + * lyxtext.h: added bool return type to drawInset() and draw() so that + if we have a change in the row so that the rowbreak has to be redone + we abort drawing as it will be called again. + +2002-05-02 Juergen Vigna + + * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had + a change in the maintext also if we're inside an inset. + (Dispatch): set the cursor again after a break line and after the + screen has been updated as it could be we're in a different row. + + * text2.C (fixCursorAfterDelete): check to make sure we don't request + to set the cursor behind the pargraph with > size(). + (setCursor): check also for the same paragraph when checking where + to put the cursor if we have a NFR inset. + + * buffer.C (parseSingleLyXformat2Token): move the compatibility + parts of layout read further up as it still was in the wrong + position. + +2002-05-02 Lars Gullik Bjønnes + + * screen.C (drawFromTo): change sine fullRebreak always return + true. + + * buffer.C (parseSingleLyXformat2Token): reindent some + + * BufferView_pimpl.C (update): change since fullRebreak always + return true. + (Dispatch): git rid of the last hardcoded "Standard"s. + +2002-05-01 Lars Gullik Bjønnes + + * text2.[Ch] (fullRebreak): make it return void now that we always + returned true. + +2002-04-30 Juergen Vigna + + * buffer.C (parseSingleLyXformat2Token): reset the font before the + ert compatibility check for "latex" layout. + +2002-04-29 Dekel Tsur + + * buffer.C (parseSingleLyXformat2Token): Fix reading of old format + minipages: use col% instead of p%, and also use the current font. + (makeLaTeXFile): Fix use babel condition. + (parseSingleLyXformat2Token): Correct font when reading old floats. + +2002-04-28 Dekel Tsur + + * BufferView_pimpl.C (Dispatch): Check that float type exists when + inserting list of floats. + +2002-04-25 Herbert Voss + + * MenuBackend.C (expand): don't add the graphics extensions to the + export menu + +2002-04-24 Jean-Marc Lasgouttes + + * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a + non-existing layout, do not complain if it was the default layout + of the original class (bug #342) + 2002-04-24 Juergen Vigna * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel @@ -11,11 +530,11 @@ 2002-04-23 Mike Ressler - * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib. + * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib. * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if natbib is provided by the LaTeX class. - + 2002-04-23 Juergen Vigna * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/ @@ -56,7 +575,7 @@ * tabular.C (OldFormatRead): check also for \\end_inset as Lars changed the read and substituted \\end_float with \\end_inset! - * BufferView_pimpl.C (cursorPrevious): + * BufferView_pimpl.C (cursorPrevious): (cursorNext): fixed to make it work with rows heigher than the work area without moving the cursor only the draw of the row. (workAreaMotionNotify): fix jumping over high rows.