]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
At least give an uptodate changelog entry...
[lyx.git] / src / ChangeLog
index be4be662dd411e23ee9ebe8102526ffa3379d8c9..085c86854c9f8fc31459c20ccc985c12d29076a4 100644 (file)
@@ -1,7 +1,591 @@
+2003-08-22  Angus Leeming  <leeming@lyx.org>
+
+       * *.[Ch]: clean-up of licence and author blurbs.
+       Also move config.h out of a few .h files and into a few .C files.
+
+2003-08-22  André Pönitz  <poenitz@gmx.net>
+
+       * lyxrow.[Ch]: add x_ and *fill_ members
+
+       * lyxtext.h: 
+       * text.C:
+       * rowpainter.C:
+       * text2.C: adjust/remove prepareToPrint() calls
+
+2003-08-22  André Pönitz  <poenitz@gmx.net>
+
+       * lyxrow.[Ch]: add  end_ member
+
+       * lyxrow_funcs.C: use LyXRow::end_
+
+       * lyxtext.h (singleWidth): add LyXFont parameter
+
+       * rowpainter.C:
+       * text2.C: adjust LyXText::singleWidth() calls
+
+       * text.C (redoParagraph): simplify row breaking logic
+
+
+2003-08-19  André Pönitz  <poenitz@gmx.net>
+
+       * funcrequest.C: initialize button_ member
+
+       * text3.C:
+       * rowpainter.[Ch]: interface consolidation
+
+2003-08-18  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.C:
+       * BufferView_pimpl.C:
+       * lyxfind.C:
+       * paragraph_funcs.C:
+       * rowpainter.C:
+       * text3.C: remove LyXScreen::draw() and fitCursor calls
+
+       * BranchList.h: remove spurious semicolons
+
+       * MenuBackend.C: fix branchlist related crash
+
+2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>    
+
+       * BranchList.[Ch]:
+       * InsetList.[Ch]:
+       * LColor.[Ch]:
+       * LyXAction.C:
+       * Makefile.am:
+       * MenuBackend.[Ch]:
+       * bufferparams.[Ch]:
+       * factory.C:
+       * lfuns.h:
+       * lyxfunc.C:
+       * text3.C: implements the 'branch inset'
+       idea. This allows the output of various versions of a document
+       from a single source version, selectively outputing or suppressing
+       output of parts of the text.
+       This implementation contains a 'branch list editor' in a separate
+       tab of the document settings dialog. Branches are user definable
+       and have a "display colour" to distinguish them on-screen.
+
+       ColorHandler was somewhat cleaned up.
+       (1) make possible a dynamically growing LColor list by allowing
+       the graphic context cache to grow along (vector);
+       (2) eliminate an IMHO unnecessary step in colour allocation.
+
+2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
+
+       * BufferView_pimpl.C: compile fix
+       
+2003-08-15  André Pönitz  <poenitz@gmx.net>
+
+       * rowpainter.C: remove extra metrics calls
+
+       * lyxtext.h: merge the two constructors into a single one,
+         pass reference to owner's par list
+
+       * BufferView_pimpl.C:
+       * text.C:
+       * text2.C: adjust
+
+2003-08-15  André Pönitz  <poenitz@gmx.net>
+
+       * lyxrow_funcs.[Ch]:
+       * lyxtext.h:
+       * paragraph.h:
+       * paragraph_funcs.C:
+       * rowpainter.C:
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * text_funcs.C: split LyXText::rowlist_ into individual
+       Paragraph::rows_ chunks
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.[Ch]:
+       * lyxfind.C:
+       * lyxtext.h:
+       * text3.C: remove toggleSelection()
+
+2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * bufferlist.C: beautify two alerts (shorter text of buttons)
+       * buffer.C: Remove redundant ' ' from message
+       * tabular.h:
+       * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
+       rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
+       rename VALIGN_CENTER to VALIGN_MIDDLE
+
+2003-08-11  André Pönitz  <poenitz@gmx.net>
+
+       * lyxtext.h (getPar):
+       * text.C: new function
+
+2003-08-11  André Pönitz  <poenitz@gmx.net>
+
+       * Makefile.am:
+       * tracer.[Ch]: remove unneeded files
+
+       * InsetList.[Ch]: remove resizeInsetsLyXText()
+
+       * lyxtext.h:
+       * text.C:
+       * text2.C:
+       * text3.C: merge insertParagraphs() and appendParagraph()
+       remove breakAgain(), update()
+
+       * BufferView_pimpl.[Ch]:
+       * bufferview_funcs.[Ch]:
+       * lyxfunc.C:
+       * paragraph.[Ch]:
+       * rowpainter.C:
+       * tabular.C: adjust after text & InsetList changes.
+
+2003-08-08  André Pönitz  <poenitz@gmx.net>
+
+       * text.C (insertChar, backspace): replace rowlist fiddling
+       with rebreak of full par
+
+       * lyxtext.h:
+       * text.C (breakAgainOneRow, redoHeightOfParagraph,
+       checkParagraph, updateInset): removed
+
+2003-08-07  André Pönitz  <poenitz@gmx.net>
+
+       * paragraph.C:
+       * text3.C: merge some LFUN handlers, remove dead code
+
+2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
+
+2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
+
+       * text2.C (DEPM): fix part of bug 1255 and 1256 
+
+2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * BufferView_pimpl.C (workAreaDispatch): change to use
+       LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
+       that are no mouse related.
+
+2003-08-05  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.[Ch]:
+       * bufferview_funcs.C:
+       * text2.C:
+       * text3.C: rip out "deep update"
+
+       * textcursor.[Ch] (last_sel_cursor): remove unused member
+
+2003-08-04  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.[Ch]:
+       * ParagraphParameters.C:
+       * bufferview_funcs.C:
+       * lyx_cb.C:
+       * lyxfind.C:
+       * lyxfunc.C:
+       * text.C:
+       * text2.C:
+       * text3.C: replace "complicated" BufferView::update(...) calls with
+       simpler ones.
+
+       * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
+
+2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
+
+       * Makefile.am (lyx_SOURCES): add paper.h
+
+2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * Makefile.am: move things around so that both lyx-qt and
+       lyx-xforms can be built (according to --with-frontend). Then lyx
+       is a symbolic link to lyx-[firstfrontend]
+
+2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * Always use std::endl with lyxerr
+
+2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
+
+2003-08-01  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.[Ch]:
+       * BufferView_pimpl.[Ch]:
+       * lyxfunc.C:
+       * text3.C: merge BufferView::repaint() and BufferView::update()
+
+2003-08-01  José Matos  <jamatos@lyx.org>
+
+       * buffer.[Ch]: file_format is no longer a buffer data element.
+
+2003-08-01  André Pönitz  <poenitz@gmx.net>
+
+       * BufferView.C:
+       * lyxtext.h:
+       * text.C:
+       * text2.C: make redoParagraph more independent of current cursor
+
+       * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
+       * text.C:
+       * text2.C: remove unneeded members
+
+2003-07-30  André Pönitz  <poenitz@gmx.net>
+
+       * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
+
+       * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
+         create a single function...
+
+       * paragraph_funcs.C (moveItem): ... here.
+
+       * text.C:
+         lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
+
+2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * LColor.[Ch]: Add comment and greyedout logical colors.
+
+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 
+       * converter.[Ch] (dvips_options): moved to BufferParams
        (dvipdfm_options): moved to anon namespace
        * bufferparams.[Ch]: added above functions.
 
 
        * 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()
 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):