]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
bug 183
[lyx.git] / src / ChangeLog
index 5bacfc57530e495c85fd91d22ec6de6d8ff5dc3a..b23fdf97a7418b7f8e28c572a24858aadf401b74 100644 (file)
@@ -1,3 +1,337 @@
+2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * bufferlist.C (readFile): create the buffer _after_ checking that
+       the file exists.
+
+       * lyxfunc.C (verboseDispatch): fix handling of arguments
+
+       * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
+
+       * lyxrc.C: use string::erase() instead of initializing to "".
+       
+
+2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * BufferView_pimpl.h:
+       * BufferView_pimpl.C:
+       * WorkArea.h:
+       * WorkArea.C:
+       * text2.C: tell X when we have made a selection for copying
+
+2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * BufferView_pimpl.C (MenuInsertLyXFile): 
+       * lyxfunc.C (menuNew): 
+       (open): 
+       (doImport): add shortcuts to directory buttons
+
+       * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
+       open a float)
+
+       * lyxfunc.C (setStatusMessage):
+       (getStatusMessage): new methods
+       (getStatus):use setStatusMessage instead of setErrorMessage
+       (dispatch): when function is disabled, set error message here
+       [instead of in getStatus previously]
+
+       * BufferView_pimpl.C (workAreaButtonRelease): update
+       toolbar/menubar here too.
+
+2002-01-13  Allan Rae  <rae@lyx.org>
+
+       * BufferView2.C (removeAutoInsets): finished off earlier fix.
+       Now seems indestructible.  Remaining task is to audit all other
+       code affected by deleteEmptyParagraphMechanism.  One small quirk
+       left is that an empty document with an error in the preamble can
+       be made to report an error but no error box appears.  I don't know
+       where it goes.
+       (removeAutoInsets): Improved comments.
+
+2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
+
+       * Thesaurus.h:
+       * Thesaurus.C: update for Aiksaurus 0.14
+
+2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.C (firstParagraph): removed member function, all uses
+       replaces with ownerParagraph
+       (redoParagraphs): here
+       (updateInset): here
+       (toggleAppendix): here
+       * BufferView2.C (insertErrors): here
+       (setCursorFromRow): here
+
+2002-01-13  Allan Rae  <rae@lyx.org>
+
+       * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
+       the old cursor is now invalid due to deleteEmptyParagraphMechanism.
+       There is still a way to segfault this although you may have to do this
+       multiple times: Have an InsetERT with an unknown command in it. 
+       View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
+       <down-arrow>, <Enter> again, View->DVI, BANG!
+
+       * text2.C (setCursor): 
+       (deleteEmptyParagraphMechanism): 
+       * lyxtext.h (setCursor): 
+       (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
+       Making use of the return value may help fix other bugs.
+
+2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxfunc.C (dispatch): update toolbar/menubar after dispatching. 
+
+       * LyXView.C (updateMenubar): call MenuBar::update here
+       (updateToolbar): but not here
+       (showState): do not update toolbar/menubar
+
+       * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
+       should need to care about that.
+
+       * lyxfunc.C (verboseDispatch): simplify a bit
+       (getStatus): have a version which takes a pseudoaction, and
+       another which requires a (kb_action,string).
+
+       * LyXAction.C (retrieveActionArg): make it work also when action
+       is not a pseudo-action.
+       (getActionName): simplify a bit
+       (helpText): 
+
+2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * lyxfunc.C (verboseDispatch): new families of methods with
+       several ways to specify a command and a bool to indicate whether
+       the command name and shortcut should be displayed in minibuffer
+       (eventually, we could extend that to a finer bitmask like
+       SHORTCUT|CMDNAME|CMDRESULT, or whatever).
+       (dispatch): the pristine dispatch command which just, well,
+       dispatchs! Note it still sets its result to minibuffer; I'm not
+       sure we want that.
+
+       * lyxfunc.h: remove setHintMessage
+
+       * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
+
+2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * BufferView_pimpl.C (specialChar): delete new inset if we have
+       not been able to insert it.
+
+       * kbmap.C: revert to using int instead of kb_action, since all we
+       are dealing with is pseudo-actions.
+
+       * LyXAction.C (searchActionArg): change to return int instead of
+       kb_action, since the result is a pseudoaction.
+
+2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (insertErtContents): Fix (partially) the font bug.
+
+2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
+       as the other one is broken on my machine!
+
+2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * commandtags.h:
+       * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
+
+2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * lyxrc.[Ch]: change names and descriptions of popup font variables to
+       reflect their actual use. Provide compatibility code for older lyxrc
+       files.
+       
+       * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
+       FL_NORMAL_STYLE.
+       change names of popup font variables in line with the changes to lyxrc.C
+
+2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * buffer.C (asciiParagraph): avoid outputing a word twice after
+       an inset.
+
+       * lyxrc.C (getDescription): document that document_path and
+       template_path can be empty.
+
+2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * LaTeXFeatures.C (getMacros): 
+       * buffer.C (validate): rename feature "amsstyle" to "amsmath"
+       
+       * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
+
+       * LaTeXFeatures.C (useFloat): require "float" here instead of in
+       getPackages. 
+       (getPackages): rename feature "floats" to "float". Use an array to
+       iterate over 'simple' features (i.e. just a \usepackage). Add
+       handling of "amsmath" (renamed from "amsstyle").
+
+2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
+
+       * LaTeXFeatures.C (require): Prevent duplicate entries in the
+       features list.
+
+2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
+       FuncStaus::FuncStatus & FuncStaus::some_method().
+
+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
        (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
        Fixed a double write of labels.
        
+2001-11-29 Ben Stanley <bds02@uow.edu.au>
+
+       * LaTeX.C:
+       * LaTeX.h Fixed bug in LaTeX class where it would not
+       re-run latex if no depfiles were changed, but the .dvi was removed.
+
 2001-11-28  André Pönitz <poenitz@gmx.net>
 
        * all the files from the change on 2001/11/26: