]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
prevent crash when inserting minipage in table cell,
[lyx.git] / src / ChangeLog
index 1de7eee2ad9fb4468b3482227dfeef48d479653c..ff1b01b7b4d948878318524a646988a05d83217d 100644 (file)
@@ -1,3 +1,580 @@
+
+2003-07-30  André Pönitz  <poenitz@gmx.net>
+
+       * tabular.C: don't use Assert too heavily. This crashes where it
+         shouldn't
+
+2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
+
+       * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
+       is disabled (bug 1232)
+
+2003-07-30     Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * factory.C: limited 'arg' scope
+
+2003-07-30     Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * factory.C: fixed Note submenu issues
+
+2003-07-30     Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * factory.C: submenu for Note/Comment/Greyedout
+
+2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
+       
+       * lyx_main.C (LyX):
+       * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
+       
+2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * LaTeXFeatures.C:
+       * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
+       greyedout. Patch provided by Jürgen Spitzmüller.
+
+2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * kbmap.C (read): fix error message when reading bind files
+
+2003-07-29  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
+       certainly does not do what it purports to do. I am doing it, and
+       us, a favour by killing it.
+
+2003-07-28  José Matos  <jamatos@lyx.org>
+
+       * buffer.C (readBody, do_writeFile):
+       * paragraph.C(readParagraph): \end_document replaces \the_end.
+
+2003-07-29  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.[Ch]:
+       * lyxfunc.C:
+       * text2.C:
+       * text3.C:
+       * textcursor.[Ch]: remove toggleToggle & Co
+
+2003-07-28  José Matos  <jamatos@fep.up.pt>
+
+       * buffer.C (readParagraph):
+       * params_func (readParToken, readParagraph):
+       * paragraph.C (write): \layout -> \begin_layout.
+
+2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * lyxlex_pimpl.C (setFile): clean up slightly.
+
+       * bufferparams.h: add compressed var
+
+       * buffer_funcs.C (readFile): adjust for LyXLex change
+       (newFile): ditto + simplify
+
+       * buffer.C (writeFile): handle writing of compressed files
+
+       * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
+       Check if the file is compressed and set a bufferparm if so.
+
+       * Makefile.am (lyx_LDADD): remove explicit -lz
+
+2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
+       makeDocBookFile): put the real LyX version in the first line of
+       the file
+
+       * version.h:
+       * version.C.in: remove lyx_docversion
+
+       * tabular.C (write_attribute): add a template-based version to
+       write enums properly
+
+2003-07-28  André Pönitz  <poenitz@gmx.net>
+
+       * lyxtext.h:
+       * text.C:
+       * text2.C:
+       * text3.C: use doubles again for x-coordinates. They are needed.
+
+2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * messages.C (getLocaleDir): use lyx_localedir()
+
+       * lyxlex_pimpl.C (setFile): compress stuff
+
+       * buffer.C (writeFile): add some compression stuff
+       (do_writeFile): new func, dont call expliti close... will this
+       breake anything?
+
+       * Makefile.am (lyx_LDADD): add -lz
+
+2003-07-28  José Matos  <jamatos@fep.up.pt>
+
+       * buffer.C: increment file format.
+       * paragraph_funcs (readParagraph, readParToken):
+       * paragraph.C (readParagraph): add \end_layout.
+
+2003-07-27  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am: remove special casing for configure-time setting of
+       LYX_DIR, TOP_SRCDIR and LOCALEDIR.
+
+       * lyx_main.C (init): remove all Jean-Marc's magic setting of
+       system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
+
+2003-07-26  André Pönitz  <poenitz@gmx.net>
+
+       * paragraph_func.[Ch]:
+       * paragraph.C (realizeFont): inline it whereever it is used
+
+       * rowpainter.C:
+       * text.C:
+       * text2.C:
+       * text3.C: remove Buffer * parameter from a bunch of get*Font functions
+
+
+2003-07-26  André Pönitz  <poenitz@gmx.net>
+
+       *       lyxtext.h:
+       * text.C:
+       * text2.C: get rid of LyXText::need_break_row
+
+2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * toc.[Ch]: put namespace toc inside namespace lyx
+
+       * MenuBackend.C (expandToc2): adjust for lyx::toc
+       (expandToc): ditto
+
+       * lyxfunc.C (dispatch): adjust for lyx::find
+
+       * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
+       lyx::find instead. Reorganize a bit.
+       (LyXReplace): rename to replace
+       (LyXFind): rename to find
+
+       * BufferView_pimpl.C (trackChanges): adjust for lyx::find
+       (dispatch): ditto
+
+2003-07-26  André Pönitz  <poenitz@gmx.net>
+
+       * text.C (setHeightOfRow): restrict scope of temporary variable
+
+       * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
+         code (never has been used?)
+
+2003-07-27  Asger Alstrup  <alstrup@local>
+
+       * text.C (fill): Optimise algorithm to exploit that we can reuse
+       the LyXFont for many characters.
+       (setHeightOfRow): Same thing.
+       (rowBreakPoint): Same thing.
+
+2003-07-26  Asger Alstrup  <alstrup@local>
+
+       * text2.C (metrics): change a brain-dead algorithm to a smarter one.
+
+       * text.C (singleWidth): Spurious font copying in hot-spot
+       singleWidth avoided. Reorder tests for arabic for efficiency.
+
+       * text.C (fill): handle empty paragraphs better.
+
+2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * ispell.C:
+       * encoding.h: add includes
+
+       * lyxrc.C: remove reading of bind files
+
+       * lyx_main.C (init): setup bindings and menus only if we have a
+       gui.
+
+       * kbmap.C (read): new method. Do the actual reading of bind
+       files.
+
+       * converter.C (dvipdfm_options):
+       * bufferparams.C:
+       * lyxrc.C (read):
+       (output): adapt PAPER_* enums.
+
+       * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
+
+       * bufferparams.h: remove paper-related enums from there
+
+       * paper.h: New file. A trivial header file to hold paper-related
+       enums. It should later expand to contain many paper-related
+       horrors access.
+
+       * lyxrc.C: declare extern displayTranslator
+
+2003-07-27  José Matos  <jamatos@fep.up.pt>
+
+       * tabular.[Ch] (linuxdoc): add support for tables and figures
+       (linuxdoc).
+
+2003-07-27  José Matos  <jamatos@fep.up.pt>
+
+       * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
+       consistency in both functions.
+       * bufferlist.C (updateIncludedTeXfiles): change client to comply.
+
+2003-07-26  Asger Alstrup  <alstrup@local>
+
+       * rowpainter.C (paintRows): Change algorithm to work directly on
+       the insets rather than asking every character in the document
+       whether its an inset.
+
+2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
+
+       * buffer.C (openFileWrite): factorize some code
+
+2003-07-26  Angus Leeming  <leeming@lyx.org>
+
+       * lyx_cb.C:
+       * lyx_main.[Ch]: replace occurances of system_tempdir with
+       os::getTmpDir().
+
+2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * rename Inset to InsetOld
+
+2003-07-25  Asger Alstrup  <alstrup@diku.dk>
+
+       * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
+       Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
+       which I think is a bit clearer. EDIT is gone, since it was
+       premature optimisation, and broken for mathed anyway.
+       * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
+       with cursor positioning in insets as well (math insets still do not
+       work, but that's a different story anyway.) It mysteriously
+       crashes sometimes with undo in the first paragraph, but I'm fairly
+       confident that this is a compiler bug.
+
+2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * paragraph.C (Paragraph): adjust for new clone return type
+       (operator==): ditto
+       (copyIntoMinibuffer): ditto
+
+2003-07-25  Asger Alstrup  <alstrup@lyx.org>
+
+       * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
+       by not having a special case, and always doing a full rebreak of
+       the document after undo.
+
+2003-07-23  Angus Leeming  <leeming@lyx.org>
+
+       * factory.C (createInset): InsetExternal::setParams now takes a
+       Buffer const * arg.
+
+2003-07-23  Angus Leeming  <leeming@lyx.org>
+
+       * factory.C (createInset): changed interface to the external and
+       graphics mailers' string2params functions.
+
+2003-07-23  Angus Leeming  <leeming@lyx.org>
+
+       * factory.C (createInset): pass a
+       Buffer const * parameter to InsetExternalMailer's string2params.
+
+2003-07-22  John Levon  <levon@movementarian.org>
+
+       * Thesaurus.h: include the right aiksaurus header
+
+2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * MenuBackend.C (expand): check menu shortcuts unconditionally
+
+2003-07-21  Angus Leeming  <leeming@lyx.org>
+
+       * factory.C (createInset): pass a
+       buffer_path parameter to InsetGraphicsMailer's string2params.
+
+2003-07-21  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView_pimpl.C (buffer):
+       * buffer.C (d-tor):
+       * lyx_main.C (LyX):
+       * lyxfunc.C (dispatch):
+       * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
+       rather than the grfx shortcut.
+
+2003-07-21  André Pönitz  <poenitz@gmx.net>
+
+       * rowpainter.C: remove unused variables
+
+       * tabular_funcs.C:
+       * tabular_funcs.h: move to tabular.C
+       * Makefile.am: adjust
+
+       * tabular.[Ch]: basic optical cleaning
+
+       * author.h: pass references, not values
+
+2003-07-18  André Pönitz  <poenitz@gmx.net>
+
+       * lyxtext.h:
+       * metricsinfo.C:
+       * metricsinfo.h:
+       * rowpainter.C:
+       * text.C:
+       * text2.C:
+       * text3.C: two-phase drawing for InsetText and InsetTabular
+       some float -> int changes.
+
+2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
+
+       * lyx_main.C: fix the fix
+
+2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
+
+       * lyx_main.C: fix a crash in batch mode if no files specified
+       * converter.C: ws
+
+2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
+
+       * format.[Ch] (papersize): moved to BufferParams
+       * converter.[Ch] (dvips_options): moved to BufferParams
+       (dvipdfm_options): moved to anon namespace
+       * bufferparams.[Ch]: added above functions.
+
+2003-07-17  André Pönitz  <poenitz@gmx.net>
+
+       * lyxtext.h:
+       * rowpainter.C:
+       * text2.C: don't call inset->update() anymore
+
+       * metricsinfo.[Ch]: add convenience constructor
+
+2003-07-16  André Pönitz  <poenitz@gmx.net>
+
+       * lyxcursor.[Ch]:
+       * lyxfunc.[Ch]:
+       * text.C:
+       * text2.C: replace the LyXCursor::irow_ member with
+        on-demand computation of the value
+
+2003-07-16  John Levon  <levon@movementarian.org>
+
+       * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
+
+2003-07-15  André Pönitz  <poenitz@gmx.net>
+
+       * text.C:
+       * text2.C: remove no more needed refresh_row
+
+2003-07-15  André Pönitz  <poenitz@gmx.net>
+
+       * lyxtext.h:
+       * rowpainter.C:
+       * text2.C:
+       * text3.C: refresh_status tristate -> need_update bool
+
+2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
+
+       * lyxtext.h (init): remove reinit argument (act as if always true)
+       * text2.C: adjust to that
+
+2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
+
+       * bufferview_funcs.[Ch]: introduce function replaceSelection()
+       * text3.C: use it to delete selections in some cases
+       (bugs 441, 673, 702, 954).
+
+2003-07-14  André Pönitz  <poenitz@gmx.net>
+
+       * rowpainter.[Ch]: reduce interface
+
+2003-07-14  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView_pimpl.C:
+       * text2.C: adjust after removing unused BufferView * argument
+
+2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
+
+       * text2.C (init): fix a crash fired on resize
+
+2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
+
+       * buffer.[Ch]: added new closing signal
+       * BufferView_pimpl.[Ch]: connect/disconnect to new signal
+       * lyxfunc.C: removed BufferView::buffer(0) call now handled in
+       BufferView::Pimpl via the closing the signal
+
+2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
+
+       * buffer.[Ch]: take out all bv-related from buffer
+       * BufferView.C:
+       * BufferView_pimpl.[Ch]: connect to new signals
+       * CutAndPaste.C: removed useless asserts
+       * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
+       * lyxvc.[Ch]:
+       * vc-backend.[Ch]:
+       * lyxfunc.C: moved view-related funciontality from vc here
+       * paragraph.C: removed outdated comments
+       * text.C: ws
+
+2003-07-10  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView_pimpl.C:
+       * tabular.h:
+       * tabular_funcs.C:
+       * text.C:
+       * text2.C: remove InsetText::InnerCache, clean up consequences
+
+2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
+
+       * ispell.C: fix two typos in error messages
+
+2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * Extend Note inset to other forms of annotation like Comment
+       and Greyedout. Right button click gives dialog.
+
+       Files modified or added (+):
+
+       * insetnote.[Ch]
+       * FormNote.[Ch]      +
+       * ControlNote.[Ch]   +
+       * form_note.fd       +
+       * Makefile.am in frontends/xforms, frontends/xforms/forms,
+       frontends/controllers
+       * xforms/Dialogs.C
+       * factory.C
+
+2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
+
+       * aspell.C: add missing namespace lyx::support
+
+2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
+
+       * BufferView.[Ch] (newFile): Add
+       * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
+       * LaTeX.[Ch] (message): added this signal and use it
+       * buffer.[Ch] (busy, message): added these signals and use them
+       * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
+       * converter.C:
+       * exporter.C:
+       * format.C:
+       * importer.C: use buffer signals instead of direct bv calling
+       * lyx_cb.[Ch] (ShowMessage): removed
+       * lyx_main.C:
+       * lyxfunc.C:
+       * paragraph_funcs.C:
+       * text2.C: use buffer signals
+
+2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * introduce namespace lyx::graphics
+
+2003-07-02  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
+
+2003-07-01  André Pönitz  <poenitz@gmx.net>
+
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * text_funcs.[Ch]:
+       * textcursor.h:
+       * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
+         text*.C to text_func.C
+
+2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * introduce namespace lyx::support
+
+2003-06-30  André Pönitz  <poenitz@gmx.net>
+
+       * Chktex.C:
+       * funcrequest.C:
+       * lyxtext.h:
+       * text.C: re-enable --with-included-string
+
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * textcursor.C: add <config.h>
+
+       * text.C (getWord): remove const from word_location arg
+
+       * lyxvc.C (getLogFile): fix const type order
+
+       * lyxtext.h: remove const from word_location arg, add arg name
+
+       * lyxlayout.h: currect type on labeltype.
+
+       * importer.C: correct \file
+
+       * converter.C (intToFormat): use std:: on ret val, ws changes
+
+       * bufferlist.h: correct \file
+
+       * buffer.C (makeLinuxDocFile): fix const type order
+       (makeDocBookFile): ditto
+       (fillWithBibKeys): use std:: on stdlib args.
+
+       * CutAndPaste.C: fix authors.
+       (availableSelections): use std:: on return vector
+
+2003-06-27  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView_pimpl.C:
+       * bufferview_funcs.C:
+       * lyxcursor.C:
+       * lyxcursor.h:
+       * lyxfunc.C:
+       * lyxtext.h:
+       * rowpainter.C:
+       * text.C:
+       * text2.C:
+       * text3.C: remove LyXCursor::row_ member
+
+       * lyxtext.h:
+       * text.C: rename fullRebreak() to partialRebreak() and implement
+         a fullRebreak() that really bereks fully
+
+       * textcursor.h: new struct for cursor-related data
+
+2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * lyx_main.C (LyX): get full path of document loaded on the
+       command line
+
+2003-06-26  André Pönitz  <poenitz@gmx.net>
+
+       * lyxcursor.[Ch]: move rarely used operator==,!= out of line
+         remove unused/broken operator>,<,>=.
+
+       *       text.C: remove only use of broken operator<= in an Assert().
+
+2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
+       moved errorlist_.clear to showErrorList
+
+2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * converter.C (scanLog, runLaTeX):
+       * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
+       move the bv->showErrorList call to the callers
+       * lyxfunc.C: i.e. here...
+       * text2.C: and here
+       * BufferView.[Ch] (setErrorList, resetErrorList): both removed
+       * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
+       namespace, the second to...
+       * buffer_funcs (BufferFormat, parseErrors): added
+       * errorlist.C (ErrorList(TeXErrors const &)): removed
+
+2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * ToolbarBackend.C (getIcon): complain when icon cannot be found
+
+2003-06-24  "Garst R. Reese" <reese@isn.net>
+
+       * debug.C: fix typo
+
 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
 
        * buffer.C: fix a bug just introduced
-       
+
 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
 
-       * buffer.[Ch]: added the parseError signal and use it, removed 
+       * buffer.[Ch]: added the parseError signal and use it, removed
        sgmlError
        * BufferView.[Ch] (addError): moved to ...
-       * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach 
+       * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
        to the Buffer::parseError signal to catch (guess what) parse errors
        * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
-       
+
 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
 
-       * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the 
-       ability to create a buffer and to return an existing one from 
+       * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
+       ability to create a buffer and to return an existing one from
        the list. Moved these functions to...
        * buffer_funcs.[Ch]: added
        * BufferView.[Ch] (loadLyXFile): added
-       * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing 
+       * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
        job removed from bufferlist::loadLyXFile.
-       * buffer.C (setReadOnly): make it work without view 
+       * buffer.C (setReadOnly): make it work without view
        (i.e added an if (users))
-       
+
 2003-06-19  Angus Leeming  <leeming@lyx.org>
 
        * lfuns.h: