]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
layout as string
[lyx.git] / src / ChangeLog
index 351944958a89cae1da35fa3267ed9a68cbe81981..fbd6196de961e3d613ee11afbaa5035cae1d51ef 100644 (file)
@@ -1,3 +1,535 @@
+2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.C: layout as string
+
+       * text.C: layout as string
+
+       * paragraph_pimpl.C: layout as string
+
+       * paragraph.[Ch]: layout as string
+
+       * lyxtextclasslist.[Ch]: layout as string
+
+       * lyxtextclass.[Ch]: layout as string
+
+       * lyxtext.h: layout as string
+
+       * lyxlayout.[Ch]: layout as string
+
+       * lyx_cb.C: layout as string
+
+       * bufferview_funcs.C: layout as string
+
+       * bufferparams.C: layout as string
+
+       * buffer.C: layout as string
+
+       * LyXView.[Ch]: layout as string
+
+       * LaTeXFeatures.[Ch]: layout as string
+
+       * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
+
+       * BufferView_pimpl.C: change current_layout to string, remove
+       lyx::layout_type.
+       (Dispatch): 
+       (smartQuote): 
+       (insertInset): 
+       (workAreaButtonRelease): layout as string
+
+       * BufferView2.C (unlockInset): adjust
+
+       * vspace.C (asLatexCommand): use an explict temp variable.
+
+2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
+
+       * Makefile.am: use FRONTEND_*
+2002-03-01  Juergen Vigna  <jug@sad.it>
+
+       * tabular.C (SetWidthOfMulticolCell): changed to something better
+       I hope but still work in progress.
+       (recalculateMulticolumnsOfColumn): renamed function from
+       recalculateMulticolCells as it is more appropriate now.
+       (SetWidthOfCell): calculate multicols better.
+
+2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
+
+       * lyxfunc.C (processKeySym): print sequence also if it is
+       `deleted' (complete)
+
+       * kbsequence.C (print): print sequence even if it is deleted
+       (complete would be a better word, actually).
+
+       * lyxfunc.C (dispatch): print complete options after a prefix key
+
+       * vspace.C (asLatexCommand): rewrite in a slightly different form.
+
+2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * text2.C (setCharFont): eliminate setCharFont code duplication.
+
+2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * BufferView_pimpl.C (Dispatch): remove bogus handling of
+       LFUN_TABULAR_FEATURE (bug #177)
+
+2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * Makefile.am: remove figure.h
+
+2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * Bufferview_pimpl.C:
+       * CutAndPasteC:
+       * LaTeX.C:
+       * LyXSendto.C:
+       * buffer.C:
+       * bufferlist.C:
+       * converter.C:
+       * language.C:
+       * lyxfunc.C:
+       * lyxvc.C:
+       * paragraph.C:
+       * text.C:
+       * text2.C: remove #include "lyx_gui_misc.h".
+
+       * LaTeX.C: added #include <cstdio>
+
+2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * paragraph.C (getMaxDepthAfter): new method. The maximal depth
+       that the paragraph following this one can have.
+
+       * text2.C (incDepth): use Paragraph::getMaxDepthAfter
+
+       * vspace.C (asLatexCommand): fix bogus gcc warning
+
+       * Makefile.am (lyx_SOURCES): remove vms_defines.h
+
+2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * text2.C (setLayout): get rid of redundant code
+
+2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * text2.C (incDepth): make sure depth cannot be increased beyond
+       reasonable values.
+
+2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
+       also call grfx::GCache::changeDisplay if the graphicsbg color changes.
+
+       * PainterBase.h (image):
+       * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
+       a LyXImage const *.
+
+2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView.C:
+       * BufferView.h:
+       * BufferView_pimpl.C:
+       * BufferView_pimpl.h:
+       * LaTeXFeatures.C:
+       * LyXAction.C:
+       * LyXView.C:
+       * Makefile.am:
+       * UpdateList.h:
+       * UpdateList.C:
+       * buffer.C:
+       * figure.h:
+       * figureForm.C:
+       * figureForm.h:
+       * figure_form.C:
+       * figure_form.h:
+       * lyx_cb.C:
+       * lyx_gui.C:
+       * lyx_gui_misc.C:
+       * lyxfunc.C:
+       * sp_base.h:
+       * sp_ispell.h:
+       * sp_pspell.h:
+       * sp_spell.C: remove fig inset, and the crap house of
+         cards that follows it
+2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * Makefile.am:
+       * lyxserver.C:
+       * os2_defines.h:
+       * os2_errortable.h:
+       * nt_defines.h: move .h into support/
+
+       * vms_defines.h: remove
+
+       * WorkArea.C: add space in debug output
+
+       * text2.C:
+       * paragraph.C:
+       * buffer.C: add WITH_WARNINGS
+
+       * vc-backend.h:
+       * vc-backend.C:
+       * bufferlist.C: s/retrive/retrieve/, add docs
+
+       * vspace.h:
+       * vspace.C:
+       * kbmap.h:
+       * lyxlength.h:
+       * lyxgluelength.h:
+       * length_common.h:
+       * chset.h:
+       * chset.C: add docs
+
+       * lyxgui.C: add ID to X error handler
+
+       * lyxtestclass.c: fix typo
+
+2002-02-26  Juergen Vigna  <jug@sad.it>
+
+       * tabular_funcs.C (write_attribute): changed so that some default
+       attributes are not written at all.
+       (getTokenValue): set default values before trying to read the
+       value so we have the return value always set as default if we don't
+       find the token we search for.
+
+       * tabular.C (Write): write bools as bools not as strings!
+
+2002-02-22  Juergen Vigna  <jug@sad.it>
+
+       * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
+       insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
+
+       * text.C (leftMargin): don't add an indent for paragraphs inside
+       tabular cells (fix #208).
+
+2002-02-21  José Matos  <jamatos@fep.up.pt>
+
+       * tabular.C (docBook): fixed support for long tables.
+
+2002-02-20  Juergen Vigna  <jug@sad.it>
+
+       * text2.C (getFont): get the drawing font of the Inset if this
+       paragraph is inside an inset (only important for InsetERT for now).
+
+       * buffer.C (insertErtContents): use new lanugage params in ERT
+       constructor.
+
+       * CutAndPaste.C: commenting out seemingly uneeded code.
+
+2002-02-19  Allan Rae  <rae@lyx.org>
+
+       * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
+       Iterators might be simple to use but they also get invalidated.
+       (removeAutoInsets): renamed saved cursor tracking variables and added
+       some comments to clarify what everything does.
+
+2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * Chktex.C:
+       * LaTeX.C:
+       * LyXSendto.C:
+       * converter.C:
+       * lyx_cb.C:
+       * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
+       support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
+
+       * lyxfunc.C:
+       * vc-backend.h: remove #include "support/syscall.h"
+
+       * LaTeX.C:
+       * LyXSendto.C:
+       * converter.C: rearrange #includes in Lars' approved fashion.
+
+       * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
+       forward declare class Timeout in the header file.
+
+       * XFormsView.C: changes due to the above.
+
+       * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
+       similar to LyXView.
+
+       * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
+       * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
+       
+2002-02-18  José Matos  <jamatos@fep.up.pt>
+
+       * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
+       insets contents.
+
+2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * a lot of small ws changes
+       * add a lot of using std::XXX
+       * use std construcs some places where approp.
+       * use some exisint stuff from lyxfunctional where approp.
+       * Make file changes to use partial linking (lets test this now...)
+       
+2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * Chktex.C:
+       * buffer.C:
+       remove #include "support/syscontr.h" as it's redundant. Always has been.
+       
+       * Chktex.C:
+       * LaTeX.C:
+       * LyXSendto.C:
+       * converter.C:
+       * lyx_cb.C:
+       * vc-backend.C:
+       change Systemcalls::System to Systemcalls::Wait and
+       change Systemcalls::SystemDontWait to Systemcalls::DontWait.
+       No change of functionality, just reflects the stripped down Systemcalls
+       class.
+
+2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * debug.[Ch]: add a GRAPHICS type to the enum.
+
+2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * text.C (nextBreakPoint): use Paragraph::isLineSeparator
+
+       * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
+       there is an inset.
+
+2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
+       match the changes below.
+
+       * text2.C (toggleInset): if there is not editable inset at cursor
+       position, try to see if cursor is _inside_ a collapsable inset
+       and close it.
+
+2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
+       document menu has a nice checkbox
+
+2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxlength.C (asLatexString): change PW to output as percent of
+       \textwidth. 
+
+       * lengthcommon.C: change '%' to 't%'
+
+       * lyxfunc.C (dispatch): a few comments from Martin
+
+2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * WorkArea.h:
+       * WorkArea.C:
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: clear our selection when X tells us we've lost
+         the X selection.
+
+2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * vspace.C (inPixels): fix compiler warning
+
+2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxfunc.C (getStatus): fix status message for disabled commands. 
+
+2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.C: fix crash on close buffer 
+       during selection (#227)
+2002-01-27  Herbert Voss  <voss@lyx.org>
+
+       * buffer.C: link old Figure to new graphic inset
+
+2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * FontLoader.C (getFontinfo): Change the latex font names in order
+       to match the names of type1inst.
+
+2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * WorkArea.C (WorkArea): initialize the scrollbar bounds.
+
+       * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
+       (extchanged): ditto
+       (ext_exist): ditto
+       (remove_files_with_extension): ditto
+       (remove_file): ditto
+       (write): ditto
+
+       * BufferView_pimpl.C (updateScrollbar): do the right thing if the
+       document is smaller than the work area height. Do not initialize
+       static variables to 0.
+
+2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyx_gui.C (init): give the toolbar tooltips a normal font.
+
+       * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
+       LFUN_LAYOUT_PARAGRAPHS. 
+
+       * tabular.C (GetCellFromInset): new method. Finds an inset in a
+       tabular. It is possible to provide a possible cell, which will
+       typically be the actcell from the corresponding insettabular
+
+       * lyxfunc.C (getStatus): small cleanup; disable
+       LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
+       true
+
+2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * tabular.C (Validate): remove broken optimization (fixes bug #201)
+
+       * paragraph.C (startTeXParParams): 
+       (endTeXParParams): new methods. The LaTeX code to
+       start/end paragraph formatting
+       (simpleTeXOnePar): call startTeXParParams also when paragraph is
+       empty (fixes bug #200)
+
+       * vspace.C (inPixels): adapt to the change below
+       (inPixels): [later] more cleanups (remove unused variables)
+
+       * lyxlength.C (inPixels): change to use a width and a height as
+       parameter.
+
+2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
+       Replaced with \paperwidth
+
+       * DepTable.C (insert): add std:: qualifier
+
+2002-01-18  Allan Rae  <rae@lyx.org>
+
+       * text2.C (removeRow): add comment.  Should other refresh_?? vars be
+       updated also?
+       
+       * text.C (drawInset): Turned out I didn't know enough about how 
+       rebreaking worked.  This fixes most of the redraw problems.  I see
+       an occasional cursor trail when a line is broken now and the cursor
+       placement can seem out by a few pixels also after a rebreak.
+
+2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * buffer.C (parseSingleLyXformat2Token): update because minipage
+       width is now a LyXLength
+
+       * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
+
+       * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
+       math insets
+
+2002-01-17  Juergen Vigna  <jug@sad.it>
+
+       * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
+
+       * BufferView2.C (lockInset): call edit() so that theLockingInset()
+       is set correctly and the inset is updated correctly.
+
+2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
+       the beginning of the loop.
+
+2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxrc.C: improve help for use_scalable_fonts
+
+2002-01-17  Allan Rae  <rae@lyx.org>
+
+       * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
+
+2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
+       make sure to set their inset_owner to the right value (bug #171)
+
+2001-12-12  Ben Stanley  <bds02@uow.edu.au>
+
+       * DepTable.h 
+       * DepTable.C: Implement mtime checking to reduce time spent doing
+       CRCs. 
+
+2002-01-16  Juergen Vigna  <jug@sad.it>
+
+       * tabular.C (GetAdditionalHeight): one of error fixed.
+
+       * lyxrc.C (output): small fix in writing use_pspell.
+
+2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * sp_base.h: #include LString.h
+
+2002-01-16  Allan Rae  <rae@lyx.org>
+
+       * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
+       Can someone check this please?
+
+       * text.C (drawInset): It was possible that p.row would be removed by
+       breakAgainOneRow upsetting a few other settings.  There may be another
+       small tweak possible by setting need_break_row = 0 when p.row has been
+       removed but I don't know enough about the logic here.
+
+2002-01-15  Allan Rae  <rae@lyx.org>
+
+       * text.C (insertChar): removed conditional truism.
+
+       * BufferView2.C (removeAutoInsets): More tweaks.
+       cur_par_prev could be a stray pointer.  Check for trailing empty line
+       in case last line was cur_par and only had an error inset on it.
+
+2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
+       absolute 
+
+       * vc-backend.C (most methods):
+       * exporter.C (Export): 
+       * converter.C (convert): 
+       (runLaTeX): 
+       * LyXSendto.C (SendtoApplyCB): 
+       * lyxfunc.C (dispatch): 
+       (menuNew): 
+       (open): 
+       (doImport): 
+       * lyx_cb.C (AutoSave): 
+       (InsertAsciiFile): 
+       * BufferView_pimpl.C (MenuInsertLyXFile): 
+       * buffer.C (runChktex): use Buffer::filePath().
+
+       * buffer.h: rename filename to filename_; rename filepath to
+       filepath_ and make it private
+       (filePath): new method
+
+       * buffer.C (writeFile): use fileName()
+       (getLatexName): 
+
+       * lyx_main.C (init): fix starting  of LyX when the binary is a
+       link from so,ewhere else.
+
+       * minibuffer.C: include <cctype> for isprint
+
+2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * buffer.C (parseSingleLyXformat2Token): changes associated with the
+       change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
+       name clash with InsetCollapsable's width function.
+
+2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lastfiles.C: include <iterator>
+
+2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
+       std::count.
+
+       * buffer.C (makeLaTeXFile): ditto.
+       Also make loop operation more transparent.
+
 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * ToolbarDefaults.C: remove trailing comma closing namespace.
        char and append it to the existing string.
        (peek_event): modify the positioning data passed to the completion
        browser so that it can be placed above the minibuffer rather than below.
-
 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
        * LyXAction.C (init): alloe error-next for readonly documents.