]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
func_status cleanup from Martin; fix small configure bug
[lyx.git] / src / ChangeLog
index ad2cae8f7028fb73b8630434a09f412047ef94ab..d0e05c2ba09758664a31cf31ad23ae6af9288cba 100644 (file)
@@ -1,5 +1,454 @@
+2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
+       of the func_satus stuff. Edited and massaged in various ways by
+       JMarc.  
+
+       * lyxfunc.C (getStatus): use FuncStatus
+
+2002-01-08  Juergen Vigna  <jug@sad.it>
+
+       * text.C (nextBreakPoint): use function Inset::isChar().
+
+       * paragraph.C (TeXOnePar): use function
+       Inset::forceDefaultParagraphs.
+
+       * buffer.C (latexParagraphs): use function
+       Inset::forceDefaultParagraphs.
+
+2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * lyx_gui.C (init): set the style of the menu popups to
+       FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
+
+2002-01-07  Juergen Vigna  <jug@sad.it>
+
+       * text.C (setHeightOfRow): small fix
+       (prepareToPrint): don't look at alignment if we don't have the place
+       for doing it.
+
+2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * box.C: New file. Move the Box methods and functions out of box.h,
+       following Lars' suggestion.
+
+2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * box.h: #include "support/LOstream.h", needed for inlined function.
+
+       * lyxtextclass.C:
+       * lyxtextclasslist.C: added some using std declarations.
+
+2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * box.h: make signed dimensions to allow insets wider than
+         the screen (bug #162)
+
+       * BufferView_pimpl.C: add some insetHit debug
+2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * vc-backend.C: add FIXME
+2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxfunc.C (getStatus): enable code for showing math font status
+       in toolbar/menu.
+
+2002-01-07  Juergen Vigna  <jug@sad.it>
+
+       * text.C (nextBreakPoint): removed debug output not needed anymore.
+
+2002-01-06  Juergen Vigna  <jug@sad.it>
+
+       * text.C (nextBreakPoint): fixed up this function we had this bug
+       since ever but now hopefully we break row better.
+       (insertChar): we have to check if an inset is the next char as it
+       could now happen that a large inset is causing a break.
+
+2002-01-05  Juergen Vigna  <jug@sad.it>
+
+       * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
+       if it doesn't like to be drawed.
+
+2002-01-04  Juergen Vigna  <jug@sad.it>
+
+       * BufferView2.C (lockInset): forgot to set a cursor.
+
+       * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
+
+2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * FormMathsPanel.C:
+       * FormMathsPanel.h
+       * MathsSymbols.C:
+       * form_maths_panel.C:
+       * form_maths_panel.h:
+       * form_maths_panel.fd: implemented sub- and super- buttons in math
+       panel. 
+
+       * lyx_main.C: Revised hardwired bindings to allow original _ and ^
+       (or ^ space) to be used as in TeX (req'd by André).
+
+       * lyxfunc.C: Allow ^ and _ again to be used both as
+       super/subscript (mathed) and as themselves (in text).
+
+2002-01-03  Allan Rae  <rae@lyx.org>
+
+       * LyXView.C (updateWindowTitle): Setup a short icon title of either
+       "LyX" or the filename of the current buffer if it has one.  This is a
+       modified form of John Levon's patch.
+
+       * XFormsView.C (setWindowTitle): also set icon title.
+
+       * LyXView.h (setWindowTitle): signature changed.
+       * XFormsView.h (setWindowTitle): ditto.
+
+2002-01-02  Juergen Vigna  <jug@sad.it>
+
+       * tabular.C (AppendColumn): hopefully fixed this memory access problem.
+
+2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * screen.C (topCursorVisible): introduce a temp var for
+       text->cursor.row(), handle the case where this row is null. (kindo
+       hachish)
+
+       * text2.C (setCursor): add a couple of asserts.
+
+       * paragraph.h (inset_iterator): add -> operator 
+
+       * paragraph.[Ch] (autoDeleteInsets): remove member function 
+
+       * BufferView2.C (removeAutoInsets): rewrite to handle the old
+       cursor pos correctly and handle inset deletion by itself.
+       (insertErrors): move iterator declaration out of for expression
+
+       * lyxtextclass.C: add <algorithm>
+
+       * Makefile.am: added the new files to sources, removed layout.C
+       
+       * layout.C: removed file
+       
+       * layout.h: remove LYX_DUMMY_LAYOUT
+
+       * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
+       layout.
+
+       * lyxlayout.[Ch]:
+       * lyxtextclass.[Ch]:
+       * lyxtextclasslist.[Ch]: new files 
+
+       * include order changes to a lot of files, also changes because of
+       the six new files.
+       
+2001-12-27  Juergen Vigna  <jug@sad.it>
+
+       * buffer.C (asciiParagraph): more fixes.
+
+       * tabular.C (ascii): make ascii export support export of only the
+       data separated by a column-delimiter.
+       (ascii): better support for ascii export.
+
+       * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
+
+2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * tabular_funcs.C: use a "using std::getline" instead of the
+       previous fix from Angus (necessary for cxx + lyxstring)
+
+2001-12-24  Juergen Vigna  <jug@sad.it>
+
+       * BufferView_pimpl.C (tripleClick): fixed for InsetText.
+
+       * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
+       problems. First check a minipage also if we have some ert-contents
+       (not only on par->size(), second set the right depth of the paragraph
+       on the relink to the root-paragraph-list!
+
+       * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
+       which then did not anymore update the main paragraphs on undo/redo!
+
+2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxfunc.C (getStatus): use func_status::toggle to simplify the
+       code. Support all font-changing funcs (even those which are not in
+       menu currently). Support for reporting font settings in 
+       mathed (disabled until Andre provides a function on mathed's side).
+
+       * func_status.h (toggle): small helper function to set toggle
+       state on a flag.
+
+2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * tabular_funcs.C: getline -> std::getline
+
+2001-12-21  Juergen Vigna  <jug@sad.it>
+
+       * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
+       accessed and could be 0 (I couldn't generate this but it seems
+       Michael could!).
+
+2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * tabular_funcs.C: add LIstream.h, move write_attribute to..
+       * tabular_funcs.h: here and include iosfwd
+
+2001-12-20  Juergen Vigna  <jug@sad.it>
+
+       * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
+       inside inset but undo_par was.
+
+2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * Thesaurus.C: always include <config.h> in sources.
+
+       * Painter.h: 
+       * lyxlookup.h: 
+       * box.h: do not include <config.h> in header files
+
+       * text.C (paintLastRow): remove unused variable
+
+       * text.C (transformChar): 
+       (insertChar): 
+       * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
+
+       * Painter.C (text): 
+       * font.C (width): rewrite to use uppercase() instead of
+       islower/toupper. 
+
+       * lyxfind.C (IsStringInText): use uppercase instead of toupper.
+
+2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxfind.C: clean up of find failure position change
+
+2001-12-20  Juergen Vigna  <jug@sad.it>
+
+       * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
+
+       * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
+       (TeXRow): added to LaTeX a single tabular row.
+       (TeXLongtableHeaderFooter): added to output LT-h/f data.
+       (Latex): simplified and finally good LT-h/f support.
+       (various_functions): just small adaptions for LT-h/f support.
+
+       * tabular_funcs.[hC]: added and moved here all not classfunctions
+       of LyXTabular.
+
+2001-12-19  Juergen Vigna  <jug@sad.it>
+
+       * tabular.[Ch]: better support for longtabular options (not finished
+       yet!)
+
+2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * text.C (paintLastRow): use the label font instead of the font of
+       the last character to compute the size of *_BOX. This makes more
+       sense and avoids a crash with empty paragraphs.
+       Use Painter::rectangle to draw EMPTY_BOX.
+
+2001-12-19  Juergen Vigna  <jug@sad.it>
+
+       * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
+       the paragraphs if the replaced paragraph is not the first one!
+       Tried to delete not used paragraphs but does not work yet so for
+       now it's inside #ifdef's and by default off!
+
+2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * MenuBackend.C: include "lyx_main.h" instead of declaring
+       lastfiles (actually was declared as LastFiles* instead of a
+       scoped_ptr).
+
+2001-12-17  Juergen Vigna  <jug@sad.it>
+
+       * tabular.C (AppendColumn): applied John's fix
+
+2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView.h: 
+       * BufferView.C:
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
+
+       * Makefile.am:
+       * box.h: new start of class for above
+
+       * lyxfunc.C: ignore space-only minibuffer dispatches.
+         Show the command name when it doesn't exist
+
+       * minibuffer.C: don't add empty lines to the history
+
+       * minibuffer.C: add a space on dropdown completion
+2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
+
+       * text.C: fix line above/below drawing in insets
+
+2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyxlength.C (LyXLength): Initialize private variables.
+
+2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language 
+       when inserting error insets.
+
+2001-12-13  Juergen Vigna  <jug@sad.it>
+
+       * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
+       actually sometimes the before-paragraph.
+       (setUndo): don't clear the redostack if we're not actually undoing!
+
+2001-12-06  Juergen Vigna  <jug@sad.it>
+
+       * undo_funcs.C (textHandleUndo): well after John's hint I got here
+       and fixed redoing of main paragraph, so we can use it now ;)
+
+       * text2.C (redoParagraphs): fixed a crash when having only 1 row!
+
+2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
+       Juergen's request
+
+2001-12-13  André Pönitz <poenitz@gmx.net>
+
+       * undostack.[Ch]:
+       * undo_func.C: minor cleanup
+
+2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * FontLoader.C (getFontinfo): only use symbol fonts with encoding
+       -adobe-fontspecific. At least Mandrake and Redhat have a symbol
+       font in urw-fonts package which is marked as -urw-fontspecific and
+       does not work (incidentally, changing the encoding in the
+       fonts.dir of this package to -adobe-fontspecific fixes the
+       problem).
+
+       * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
+       is a crash when undoing first paragraph (Juergen, please take a
+       look). THis does not mean the undo fix is wrong, just that it
+       uncovers problems.
+
+       * text2.C (ownerParagraph): let the (int,Paragraph*) version call
+       the (Paragraph*) version when needed instead of duplicating the
+       code.
+
+       * text.C (workWidth): use Inset::parOwner to find out where the
+       inset has been inserted. This is a huge performance gain for large
+       documents with lots of insets. If Inset::parOwner is not set, fall
+       back on the brute force method
+
+       * paragraph_pimpl.C (insertInset): 
+       * paragraph.C (Paragraph): 
+       (cutIntoMinibuffer): set parOwner of insets when
+       inserting/removing them
+
+       * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
+
+2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * commandtags.h:
+       * LyXAction.C:
+       * lyx_main.C:
+       * lyxfunc.C:
+       * mathed/formulabase.C:
+       * mathed/math_cursor.[Ch]:
+       make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
+
+
+2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyxlength.[Ch] (operator!=): new function
+
+2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * text.C (workWidth): use Inset::parOwner to find out where the
+       inset has been inserted. This is a huge performance gain for large
+       documents with lots of insets. If Inset::parOwner is not set, fall
+       back on the brute force method
+
+       * paragraph_pimpl.C (insertInset): 
+       * paragraph.C (Paragraph): 
+       (cutIntoMinibuffer): set parOwner of insets when
+       inserting/removing them
+
+       * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
+
+2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * tabular-old.C (getTokenValue): 
+       * tabular.C (getTokenValue): 
+       (write_attribute): new versions for LyXLength
+       (everywhere): adjust the use of widths
+
+       * tabular.h: change the type of widths from string to LyXLength
+
+2001-12-11  Ben Stanley <bds02@uow.edu.au>
+
+       * paragraph.C: fixed missing line number count when exporting
+       Environments to LaTeX file
+
+       * buffer.C: added informational message for checking line numbers.
+
+2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * text2.C (deleteEmptyParagraphMechanism): if there is only one
+       paragraph, do the 'double space' part, but not the 'empty
+       paragraph' one.
+
+       * text.C (workWidth): small optimization
+       (getLengthMarkerHeight): use minimal size for negative lengths. 
+
+2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
+
+       * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
+
+2001-12-11  André Pönitz <poenitz@gmx.net>
+
+       * FontLoader.C:
+       * lyxfont.[Ch]: support for fraktur font used by \mathfrak
+
+2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * text2.C: keep selection on a setFont()
+2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyx_cb.C: another bv->text misuse, from insert label
+2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
+
+       * kbsequence.h:
+       * kbsequence.C: re-instate nmodifier mask
+2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * lyx_main.h: make lyxGUI private.
+
+2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lyxfind.C: place the cursor correctly on failed search
+2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * text.C (getLengthMarkerHeight): for small heights, the arrows
+       are not always on top/bottom of the text
+       (drawLengthMarker): smaller arrows; take the left margin in
+       account; draw also vfills.
+       (paintFirstRow): 
+       (paintLastRow): remove special code for vfill and standard spaces,
+       since everything is handled in drawLengthMarker now.
+
 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
+       * buffer.C (insertErtContents): try to handle font and language
+       interaction a bit better.g
+
        * ColorHandler.C (updateColor): change the hash to cover the whole
        LColor enum, ws cleanup
        (getGCLinepars): ditto
        (John's patch)
        * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
 
-
 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
 
        * lyxtext.h: