X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=cfac2e3c5c1eb10a755a90fadcb6a765b39bad00;hb=4b07057b7eaf1b91da715f4f266f1395f7d9bf7c;hp=1551469e02746a6b937f6db612e88b3dd950d79f;hpb=b63592b7d88cdc23818f0844eb85ceb439218911;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index 1551469e02..cfac2e3c5c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,21 +1,729 @@ -2002-01-03 Martin Vermeer +2002-02-28 Jean-Marc Lasgouttes + + * vspace.C (asLatexCommand): fix bogus gcc warning + + * Makefile.am (lyx_SOURCES): remove vms_defines.h + +2002-02-27 Martin Vermeer + + * text2.C (setLayout): get rid of redundant code + +2002-02-26 Martin Vermeer + + * text2.C (incDepth): make sure depth cannot be increased beyond + reasonable values. + +2002-02-20 Angus Leeming + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * tabular.C (docBook): fixed support for long tables. + +2002-02-20 Juergen Vigna + + * 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 + + * 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 + + * 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 + + * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes + insets contents. + +2002-02-16 Lars Gullik Bjønnes + + * 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 + + * 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 + + * debug.[Ch]: add a GRAPHICS type to the enum. + +2002-02-13 Jean-Marc Lasgouttes + + * text.C (nextBreakPoint): use Paragraph::isLineSeparator + + * paragraph.C (isLineSeparator): call Inset::isLineSeparator if + there is an inset. + +2002-02-12 Jean-Marc Lasgouttes + + * 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 + + * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the + document menu has a nice checkbox + +2002-02-07 Jean-Marc Lasgouttes + + * 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 + + * 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 + + * vspace.C (inPixels): fix compiler warning + +2002-02-06 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): fix status message for disabled commands. + +2002-02-01 John Levon + + * BufferView_pimpl.C: fix crash on close buffer + during selection (#227) + +2002-01-27 Herbert Voss + + * buffer.C: link old Figure to new graphic inset + +2002-01-26 Dekel Tsur + + * FontLoader.C (getFontinfo): Change the latex font names in order + to match the names of type1inst. + +2002-01-21 Lars Gullik Bjønnes + + * 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 + + * 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 + + * 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 + + * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro. + Replaced with \paperwidth + + * DepTable.C (insert): add std:: qualifier + +2002-01-18 Allan Rae + + * 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 + + * 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 + + * 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 + + * CutAndPaste.C (pasteSelection): move the setInsetOwner call at + the beginning of the loop. + +2002-01-17 John Levon + + * lyxrc.C: improve help for use_scalable_fonts + +2002-01-17 Allan Rae + + * lyx_cb.C (ShowMessage): make sure we have a user and an owner. + +2002-01-17 Jean-Marc Lasgouttes + + * 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 + + * DepTable.h + * DepTable.C: Implement mtime checking to reduce time spent doing + CRCs. + +2002-01-16 Juergen Vigna + + * tabular.C (GetAdditionalHeight): one of error fixed. + + * lyxrc.C (output): small fix in writing use_pspell. + +2002-01-16 Angus Leeming + + * sp_base.h: #include LString.h + +2002-01-16 Allan Rae + + * 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 + + * 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 + + * 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 for isprint + +2002-01-14 Angus Leeming + + * 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 + + * lastfiles.C: include + +2002-01-14 Angus Leeming + + * 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 + + * ToolbarDefaults.C: remove trailing comma closing namespace. + + * WorkArea.h: remove WorkArea:: from declaration of event_cb. + + * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions + as in WorkArea. + + * trans.C (Load): comment out unused variable, allowed. + +2002-01-11 Angus Leeming + + * minibuffer.[Ch] (append_char): new method to recieve input from the + drop-down completion browser. If a key was pressed, then recieve this + 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 + + * LyXAction.C (init): alloe error-next for readonly documents. + + * BufferView2.C (ChangeRefsIfUnique): use standard version of + count. + +2002-01-13 Jean-Marc Lasgouttes + + * 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 + + * 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 + + * 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 + + * 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 + + * Thesaurus.h: + * Thesaurus.C: update for Aiksaurus 0.14 + +2002-01-13 Lars Gullik Bjønnes + + * 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 + + * 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 , + , 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 + + * 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 + + * 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 + + * 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 + + * buffer.C (insertErtContents): Fix (partially) the font bug. + +2002-01-11 Angus Leeming + + * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count + as the other one is broken on my machine! + +2002-01-10 Martin Vermeer + + * commandtags.h: + * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL. + +2002-01-10 Angus Leeming + + * 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 + + * 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 + + * 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 + + * LaTeXFeatures.C (require): Prevent duplicate entries in the + features list. + +2002-01-08 Angus Leeming + + * FuncStatus.C: small compile fix for DEC cxx. Doesn't like + FuncStaus::FuncStatus & FuncStaus::some_method(). + +2002-01-08 Martin Vermeer + + * 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 + + * 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 + + * 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 + + * 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 + + * box.C: New file. Move the Box methods and functions out of box.h, + following Lars' suggestion. + +2002-01-07 Angus Leeming + + * box.h: #include "support/LOstream.h", needed for inlined function. + + * lyxtextclass.C: + * lyxtextclasslist.C: added some using std declarations. + +2002-01-06 John Levon + + * 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 + + * vc-backend.C: add FIXME + +2002-01-03 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): enable code for showing math font status + in toolbar/menu. + +2002-01-07 Juergen Vigna + + * text.C (nextBreakPoint): removed debug output not needed anymore. + +2002-01-06 Juergen Vigna + + * 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 + + * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor + if it doesn't like to be drawed. + +2002-01-04 Juergen Vigna + + * BufferView2.C (lockInset): forgot to set a cursor. + + * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE. + +2002-01-03 Martin Vermeer * 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 byAndré). + * form_maths_panel.fd: implemented sub- and super- buttons in math + panel. - * lyxfunc.C: - Allow ^and _ again to be used both as super/subscript (mathed) - and as themselves (in text). + * 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 @@ -25,7 +733,7 @@ * XFormsView.C (setWindowTitle): also set icon title. - * LyXView.h: (setWindowTitle): signature changed. + * LyXView.h (setWindowTitle): signature changed. * XFormsView.h (setWindowTitle): ditto. 2002-01-02 Juergen Vigna @@ -534,6 +1242,12 @@ (simpleDocBookOnePar): changed a PAR::META_INSET to isInset(). Fixed a double write of labels. +2001-11-29 Ben Stanley + + * 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 * all the files from the change on 2001/11/26: