]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
There is now a \preview lyxrc variable defaulting to 'false'.
[lyx.git] / src / ChangeLog
index a2c9ac154154620b7dbeb1bcf99ad9978f3018ec..925195eb49d6f9681a565785d114ae314419961d 100644 (file)
@@ -1,3 +1,658 @@
+
+2002-06-26  André Pönitz <poenitz@gmx.net>
+
+       * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
+
+2002-06-25  Angus Leeming  <leeming@lyx.org>
+
+       * lyxfunc.C (dispatch): Comment out the call to
+       grfx::GCache::changeDisplay. The method no longer exists now that the
+       pixmap generation part of the graphics loader has been moved into
+       InsetGraphics.
+
+2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.C: layout as layout
+
+       * text.C: layout as layout
+
+       * tabular.C (OldFormatRead): layout as layout
+
+       * paragraph_pimpl.C (TeXDeeper): layout as layout
+       (realizeFont): layout as layout
+
+       * paragraph.C (writeFile): layout as layout
+       (validate): layout as layout
+       (getFont): layout as layout
+       (getLabelFont): layout as layout
+       (getLayoutFont): layout as layout
+       (breakParagraph): layout as layout
+       (stripLeadingSpaces): layout as layout
+       (getEndLabel): layout as layout
+       (getMaxDepthAfter): layout as layout
+       (applyLayout): layout as layout
+       (TeXOnePar): layout as layout
+       (simpleTeXOnePar): layout as layout
+       (TeXEnvironment): layout as layout
+       (layout): layout as layout
+       (layout): layout as layout
+
+       * lyxtextclass.C (compare_name): new functor to work with
+       shared_ptr, layout as layout
+       (Read): layout as layout
+       (hasLayout): layout as layout
+       (operator): layout as layout
+       (delete_layout): layout as layout
+       (defaultLayout): layout as layout
+
+       * lyxlayout_ptr_fwd.h: new file
+
+       * lyxlayout.C (Read): layout as layout
+
+       * lyx_cb.C (MenuInsertLabel): layout as layout
+
+       * bufferlist.C (newFile): layout as layout
+
+       * buffer.C (readLyXformat2): layout as layout
+       (parseSingleLyXformat2Token): layout as layout
+       (insertStringAsLines): layout as layout
+       (asciiParagraph): layout as layout
+       (latexParagraphs): layout as layout
+       (makeLinuxDocFile): layout as layout
+       (simpleLinuxDocOnePar): layout as layout
+       (makeDocBookFile): layout as layout
+       (simpleDocBookOnePar): layout as layout
+       (getLists): layout as layout
+
+       * LaTeXFeatures.C (getTClassPreamble): layout as layout
+
+       * CutAndPaste.C (cutSelection): layout as layout
+       (pasteSelection): layout as layout
+       (SwitchLayoutsBetweenClasses): layout as layout
+
+       * BufferView_pimpl.C (Dispatch): layout as layout
+       (smartQuote): layout as layout
+
+       * BufferView2.C (unlockInset): layout as layout
+
+2002-06-24  André Pönitz <poenitz@gmx.net>
+
+       * lyxfunc.C: fix #487
+
+2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxrc.h:
+       * lyxrc.C:
+       * lyxfunc.C: remove display_shortcuts, show_banner
+
+2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
+
+       * Buffer_pimpl.C: oops, update on resize
+
+2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
+
+       * buffer.C:
+       * converter.C:
+       * exporter.C:
+       * lyxfunc.C:
+       * BufferView.h:
+       * BufferView.C: use repaint()
+
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: s/updateScreen()/repaint()/
+         as it's a clearer description. Remove superfluous
+         redraws.
+
+2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
+
+       * text.C: fix bug 488. Not ideal, but getting
+         getWord() to work properly for the insets that
+         matter is more difficult ...
+
+2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C:
+       * LyXAction.C:
+       * commandtags.h:
+       * lyxfunc.C: remove the six million index lyxfuncs to just
+         one, and DTRT (bug 458)
+
+2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView.h:
+       * BufferView.C:
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: clean up resize() stuff,
+         and unnecessary updateScreen()s
+
+2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView.h:
+       * BufferView.C:
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C:
+       * lyxfind.h:
+       * lyxfind.C:
+       * minibuffer.C: remove focus management of workarea,
+         not needed. Use screen's greyOut()
+
+2002-06-17  Herbert Voss  <voss@lyx.org>
+
+       * converter.C: (convert) do not post a message, when converting
+       fails, let the calling function decide what to do in this case
+
+2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxfunc.C: tidy up a little
+
+2002-06-16    <alstrup@diku.dk>
+
+       * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
+       Got rid of FORMS_H_LOCATION include. Now we are
+       GUII.
+
+2002-06-15  LyX Development team  <lyx@rilke>
+
+       * buffer.[Ch] (sgmlOpenTag):
+       (sgmlCloseTag): Added support for avoiding pernicious mixed
+       content. Return number of lines written.
+
+       (makeLinuxDocFile):
+       (makeDocBookFile): Fixed calls to sgml*Tag.
+       Simple white space clean.
+
+       (simpleDocBookOnePar): Simple white space clean.
+
+       * tabular.[Ch] (docBook): Renamed to docbook and got another
+       argument to related with the pernicious mixed content.
+
+       (docbookRow): Fixed calls for docbook inset method.
+
+2002-06-15  Lyx Development team  <larsbj@birdstep.com>
+
+       * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
+       so it's X11 independent.
+
+       * kb*.[Ch]: ditto.
+
+       * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
+
+2002-06-15  Lyx Development team  <lyx@electronia>
+
+       * intl.h: Renamed getTrans to getTransManager.
+
+2002-06-14  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am: nuke forgotten stl_string_fwd.h.
+
+2002-06-12  Angus Leeming  <leeming@lyx.org>
+
+       * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
+
+2002-06-13  Angus Leeming  <leeming@lyx.org>
+
+       * LaTeX.C:
+       * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
+
+2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
+
+       * kbmap.C (getiso): add support for cyrillic and greek
+
+2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView.h:
+       * BufferView.C:
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: move bogus scrolling logic
+         to xforms
+
+2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxfunc.C:
+       * BufferView_pimpl.C: view->resize() change
+
+2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C: topCursorVisible
+         prototype change
+
+2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * Makefile.am:
+       * lyx_gui.h:
+       * lyx_gui.C: move to frontends/
+
+       * main.C:
+       * lyx_main.h:
+       * lyx_main.C: changes from above
+
+2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * intl.C:
+       * intl.h:
+       * kbmap.C:
+       * kbsequence.C:
+       * lyx_cb.C:
+       * lyx_main.C: minor tidy
+
+2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C:
+       * BufferView.h:
+       * BufferView.C: make painter() const,
+         remove dead code
+
+       * BufferView2.C: use screen() accessor
+
+       * lyx_main.h:
+       * lyx_main.C: some minor cleanup
+
+2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: remove enter/leaveView,
+         use workHeight()
+
+2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * 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  <moz@compsoc.man.ac.uk>
+
+       * 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  <moz@compsoc.man.ac.uk>
+
+       * lyx_gui.C: add debug message on BadWindow
+
+2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * sp_spell.C: fdopen is not part of the C++ standard.
+
+       * paragraph.C (InsetIterator): use >= instead of ==
+
+2002-06-07  Angus Leeming  <leeming@lyx.org>
+
+       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  <lasgouttes@freesurf.fr>
+
+       * buffer.C (sgmlError): hide #warning
+
+2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * 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 <poenitz@gmx.net>
+
+       * lyxfunc.C: disable array operation on simple formulae
+
+2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
+
+       * converter.C: constify a bit
+
+2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyx_gui.C: check xforms version correctly
+
+2002-04-30  Herbert Voss  <voss@lyx.org>
+
+       * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
+       "keep" option
+
+2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxvc.C: fix bug 416 (make sure buffer is saved before
+         attempt to register it with a VCS)
+
+2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyx_main.C (init): honor variables LYX_DIR_13x and
+       LYX_USERDIR_13x
+
+2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
+
+       * 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 <poenitz@gmx.net>
+
+       * lyxfunc.C: mathed font changes
+
+2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
+
+       * 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  <lasgouttes@freesurf.fr>
+
+       * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
+       call getFont all the time)
+
+2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * switch from SigC signals to boost::signals
+
+2002-05-29  André Pönitz <poenitz@gmx.net>
+
+       * paragraph_pimpl.C (getChar): don't call size() too often...
+
+2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * 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 <poenitz@gmx.net>
+
+       * text.C:
+       * text2.C:
+       * lyxtextclass.C:
+       * sp_pspell.h:
+       * textclasslist.[Ch]:
+       * sp_ispell.h: whitespace change
+
+2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxserver.C (callback): tentative fix of lyxserver. Does not use
+       lyxaction directly now.
+
+2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
+
+       * trans.C:
+       * lyxfont.C:
+       * lyxvc.C: remove unused headers
+
+2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * 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  <moz@compsoc.man.ac.uk>
+
+       * 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  <larsbj@birdstep.com>
+
+       * 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  <moz@compsoc.man.ac.uk>
+
+       * 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  <moz@compsoc.man.ac.uk>
+
+       * 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  <jug@sad.it>
+
+       * undo_funcs.C (textHandleUndo): fix the cursor selection after
+       setting the undo_cursor.
+
+       * ParagraphParameters.h: include local includes first.
+
+2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
+
+       * 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  <moz@compsoc.man.ac.uk>
+
+       * 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  <moz@compsoc.man.ac.uk>
+
+       * 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  <larsbj@birdstep.com>
+
+       * 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  <jug@sad.it>
+
+       * 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  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C:
+       * BufferView2.C: clear selection on paste (bug 393)
+
+2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * DepTable.C: include ctime
+
+2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (latexParagraphs): Add new argument (moving_arg).
+
+2002-05-14  Juergen Vigna  <jug@sad.it>
+
+       * 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  <jug@sad.it>
+
+       * 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  <dekelts@tau.ac.il>
+
+       * buffer.C (makeLaTeXFile): Put language options after loading babel.
+
+       * LaTeXFeatures.C (getBabelOptions): New method.
+
+2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * BufferView_pimpl.C (Dispatch): work around missing argument for
+       'layout'
+
 2002-05-08  Juergen Vigna  <jug@sad.it>
 
        * text.C (leftMargin): handle paragraph leftindent.
 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
 
        * paragraph.C (isRightToLeftPar): Return false for a paragraph
-       inside insetERT.
+       inside insetERT.
 
        * text.C (computeBidiTables): No bidi in insetERT.
 
        * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
-       in RTL documents.
+       in RTL documents.
 
 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>