]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
prevent crash when inserting minipage in table cell,
[lyx.git] / src / ChangeLog
index f4a56ee1319af7f310cb198dba8558d10523459d..ff1b01b7b4d948878318524a646988a05d83217d 100644 (file)
@@ -1,4 +1,387 @@
 
+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  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 
+       * 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.C:
        * BufferView_pimpl.[Ch]: connect to new signals
        * CutAndPaste.C: removed useless asserts
        * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
 
        * aspell.C: add missing namespace lyx::support
 
-2003-07-07  Alfredo Brauntein  <abraunst@libero.it>
+2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
 
        * BufferView.[Ch] (newFile): Add
        * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
 
        * textcursor.h: new struct for cursor-related data
 
-2003-06-26  Alfredo Brauntein  <abraunst@lyx.org>
+2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
 
        * lyx_main.C (LyX): get full path of document loaded on the
        command line
 
        *       text.C: remove only use of broken operator<= in an Assert().
 
-2003-06-24  Alfredo Brauntein  <abraunst@lyx.org>
+2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
 
        * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
        moved errorlist_.clear to showErrorList
 
-2003-06-24  Alfredo Brauntein  <abraunst@lyx.org>
+2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
 
        * converter.C (scanLog, runLaTeX):
        * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):