X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=a142cabb5e3a4f31e1b0ee875c7e0ce7159c4a3d;hb=c688967bc365872241697371e7bd12e2b5217028;hp=27132410fcf2fce55bc318860c0de074f9efcc36;hpb=bed4cb9684d6d0f600d4d13fb7e44de37f1a2a3d;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index 27132410fc..a142cabb5e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,596 @@ +2004-04-29 Jean-Marc Lasgouttes + + * debug.C (showLevel): do not forget the end-of-line marker + +2004-04-27 Jean-Marc Lasgouttes + + * kbmap.C (read): do not stop parsing a bind file when an error + occurs (bug 1575) + +2004-04-29 Angus Leeming + + * cursor.C: + * factory.C: + * pariterator.C: + * text2.C: wrap a bunch of #warning statements + inside #ifdef WITH_WARNINGS blocks. + +2004-04-29 Georg Baum + + * buffer.C: increment format to 233. + +2004-04-28 Angus Leeming + + * BufferView_pimpl.C: + * lyxfunc.C: + * text3.C: + s/updateToolbar()/updateToolbars()/ + s/Toolbar.h/Toolbars.h/ + +2004-04-28 Angus Leeming + + * BufferView.[Ch] (c-tor): + * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position. + No longer passes these data to the WorkArea generator. + +2004-04-28 Angus Leeming + + * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator. + +2004-04-26 Georg Baum + + * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro + +2003-09-24 Jean-Marc Lasgouttes + + * output_latex.C (TeXEnvironment): make sure that there is a line + break before \end{foo} for the last paragraph of a document + (TeXOnePar): if the paragraph is at the end of the document (or + inset) and the language has to be reset, then make sure that the + line break is _before_ the language command, not after (fixes bug + 1225); also make sure that the language reset command is the first + thing after the paragraph (to ensure proper nesting of + environments and thus fix bug 1404) + +2004-04-21 John Levon + + * ToolbarBackend.h: + * ToolbarBackend.C: make "name" be a programmatic name + and a gui_name field. + + * lyxfunc.C: display the minibuffer on M-x + +2004-04-18 Jean-Marc Lasgouttes + + * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name + (bug 1526) + +2004-04-19 Angus Leeming + + * BufferView_pimpl.C (setBuffer): changed preview interface. + + * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three + possible values. + +2004-04-19 John Levon + + * BufferView_pimpl.C: + * text3.C: fix bug 1569 (insert->label doesn't give suggestion) + +2004-04-05 Angus Leeming + + * text.C (redoParagraphs): add call to updateCounters(), thereby + fixing the missing "Figure #:" label from the caption of a + figure float. + +2004-04-13 Angus Leeming + + * text3.C (dispatch): call Inset::.notifyCursorLeaves when the + cursor is clicked out of an inset. + +2004-04-13 Angus Leeming + + * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather + than an InsetOld one. + +2004-04-12 Georg Baum + + * format.[Ch]: add editor to Format + * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format + * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT + +2004-04-08 André Pönitz + + * metricsinfo.h: remove PainterInfo::width member + +2004-04-08 Angus Leeming + + * lyx_sty.C (boldsymbol_def): modify so that it outputs + "\providecommand" rather than "\newcommand", thereby preventing + clashes with packages that define "\boldsymbol" themselves. + Eg, beamer. + +2004-04-08 Angus Leeming + + * lyxrc.C (read): don't try to set the color of none, inherit, ignore + thereby squashing an unnecessary warning. + +2004-04-01 Georg Baum + + * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor + setBuffer() + +2004-04-07 Alfredo Braunstein + + * BufferView.C (setCursor): call redoParagraph (some insets could + have been opened) + (putSelectionAt): remove the 'double update' trick + + * BufferView_pimpl.C (fitCursor): call refreshPar + (workAreaDispatch): remove an uneeded update call + (dispatch): remove some manual update calls + + * cursor.[Ch]: remove cached_y_, updatePos + (selHandle): set noUpdate when appropriate + + * lyxfunc.C (dispatch): track if we need an update + + * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction + + * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter + (paintSelection): cheap optimization, do not call cursorX when not + needed + (paintPars): change signature + (refreshPar): add + (paintText): adjust + (paintTextInset): adjust + + * text.C: adjust + +2004-04-05 Jean-Marc Lasgouttes + + * lengthcommon.C: compilation fix: remove explicit array size from + unit_name[] and friends + +2004-04-05 Angus Leeming + + * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer. + + * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is + present only for the preferences dialog. + (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog. + +2004-04-05 Angus Leeming + + * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg + to enable the frontends to export changes to lyxrc correctly. + + * lyxfunc.C (dispatch): output lyxrc.write("preferences", false). + +2004-04-07 André Pönitz + + * cursor.[Ch] (selClear, adjust): remove math + + * cursor_slice.C: more agressive assert + + * lyxfunc.C: + * BufferView_pimpl.C: rework mouse event dispatch + + * dociterator.C: + * paragraph.C: + * text2.C: + * text3.C: adjust + +2004-04-05 André Pönitz + + * cursor.[Ch] (valign, halign...): remove unneeded functions + +2004-04-05 Angus Leeming + + * lyxlength.[Ch] (unit_name et al.): const-correct. + +2004-04-05 Angus Leeming + + * BufferView_pimpl.C: + * buffer.C: + * counters.C: + * cursor.C: + * lyxfunc.C + * paragraph.C: + * pariterator.C: + * text.C: + * text2.C: + * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks. + +2004-04-01 Alfredo Braunstein + + * text3.C (getStatus): add LFUN_BEGINNINGBUF + +2004-04-01 Alfredo Braunstein + + * lyxfind.C: add a couple of inTexted() tests + other small fixes + * BufferView_pimpl.[Ch] (getStatus) + * BufferView.[Ch] (getStatus): add + * lyxfunc.C (getStatus): move lfuns handled in + BufferView::dispatch to te function above + * Cursor.C (setSelection): set selection() = true + +2004-04-01 Alfredo Braunstein + + * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE} + +2004-03-31 Angus Leeming + + * lyxfunc.C (dispatch): Fall through to the generic + Dialogs::show("preamble"). + +2004-03-31 Angus Leeming + + * lyxfunc.C (dispatch): Fall through to the generic + Dialogs::show("spellchecker"). + +2004-03-31 Angus Leeming + + * lyxfunc.C (getStatus, dispatch): changed invocation of the + preferences dialog. + +2004-03-31 Alfredo Braunstein + + * BufferView.C + * cursor.[Ch] + * dociterator.[Ch]: + * insetiterator.[Ch]: + * lyxfind.C: + * lyxfunc.C: + * pariterator.[Ch]: + * text2.C: + * undo.[Ch]: s/DocumentIterator/DocIterator/g + +2004-03-31 Alfredo Braunstein + + * BufferView.C (setCursor, putSelectionAt): call edit to open the + insets where we are putting the cursor. + +2004-03-31 Angus Leeming + + * lfuns.h: + * LyXAction.C: new lfun LFUN_LYXRC_APPLY. + + * lyxrc.[Ch] (read, write): overloaded member functions taking + a std::[io]stream arguments. + + * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY. + +2004-03-31 Angus Leeming + + * lyxfunc.C (loadTextclass): new helper function, invoked by two of + dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD. + + * lyxtextclass.C (load): if the text class couldn't be loaded, then + don't overwrite 'loaded_ = false' with 'loaded_ = true' ! + +2004-03-31 Angus Leeming + + * lyxfunc.C (dispatch): remove the cursor-manipulation code from + the LFUN_ALL_INSETS_TOGGLE code. + +2004-03-30 Angus Leeming + + * lyxfunc.C (dispatch): the specialization Dialogs::showDocument + has died. Fall through to the generic Dialogs::show("document"). + +2004-03-30 Angus Leeming + + * lfuns.h: + * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY, + LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY. + + * lyxfunc.C (getStatus, dispatch): define the actions for these + lfuns. Little more than a cut and pste job from ControlDocument.C + + * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_. + +2004-03-30 Angus Leeming + + * lfuns.h: + * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE, + LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE. + + * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the + open/closed state of ollapsable insets. Usage: + + all-inset-toggle , where + == "open" || "closed" || "toggle" and + is an identifier for a 'type' of inset. Eg "branch", "ert",... + + * lyxtext.h, text2.C (toggleInset): removed. + + * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two, + LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE + now passes LFUN_INSET_TOGGLE to the found inset. + + * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality + is now invoked as "all-insets-toggle toggle branch". + +2004-03-30 Angus Leeming + + * dociterator.C: + * insetiterator.C: + * pariterator.[Ch]: added/corrected header blurb. + +2004-03-30 Alfredo Braunstein + + * dociterator.[Ch]: add an inset_ member + (backwardPos): implemented + (backwardPos, forwardPos): use inset_ when the stack is empty. + (doc_iterator_begin, doc_iterator_end): implemented + * pariterator.[Ch]: adjust, add begin, end + * insetiterator.[Ch]: adjust, add begin, end + * cursor.C: + * document.C: + * BufferView.C: + * BufferView_pimpl.C: + * CutAndPaste.C: adjust + +2004-03-29 Jürgen Spitzmüller + + * buffer.C: increment file format to 232. + * LaTeXFeatures.C: add bibtopic package. + * bufferparams.[Ch]: param \use_bibtopic. + + * lyxrc.[Ch]: add lyxrc bibtex_command + * LaTeX.C: use rc.bibtex_command instead of hardcoded string. + + * buffer.C: increment file format to 231. + +2004-03-28 Alfredo Braunstein + + * dociterator.C: implement forwardPar + * iterators.[Ch]: remove, replaced by + * pariterator.[Ch]: this. derive ParIterator from DocumentIterator + * BufferView.C: + * BufferView_pimpl.C: + * CutAndPaste.C: + * buffer.C: + * bufferview_funcs.C: + * cursor.C: + * lyxfind.C + * lyxfunc.C + * paragraph_funcs.C + * toc.C: + * Makefile.am: adjust + +2004-03-28 Alfredo Braunstein + + * CutAndPaste.C (pasteSelection): fix 2 crashes + (eraseSelection): fix a crash + * paragraph_funcs.C: remove a warning + +2004-03-28 Angus Leeming + + * lfuns.h: + * LyXAction.C (init): new LFUN_PRINT. + + * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT. + +2004-03-27 Angus Leeming + + * lfuns.h: + * LyXAction.C (init): new LFUN_EXPORT_CUSTOM. + + * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM. + +2004-03-27 Angus Leeming + + * paragraph_funcs.C (moveItem): fix memory leaks, ensure that + insetlist always contains non-null pointers to insets. + +2004-03-26 Angus Leeming + + * src/BufferView_pimpl.C: + * src/CutAndPaste.C: + * src/buffer.C: + * src/iterators.C: + * src/output_plaintext.C: + * src/outputparams.h: + * src/paragraph_funcs.C: + * src/rowpainter.C: + * src/text.C: + * src/text2.C: + * src/frontends/controllers/ControlErrorList.C: + * src/frontends/gtk/FileDialogPrivate.C: + * src/frontends/gtk/GPainter.C: + * src/frontends/gtk/GToolbar.C: + * src/frontends/qt2/QRef.C: + * src/mathed/math_scriptinset.C: squash compiler warnings. + +2004-03-26 Angus Leeming + + * ispell.C (LaunchIspell::start): + * lyx_cb.C (AutoSaveBuffer::start): + invoke run(DontWait) rather than runNonBlocking(). + +2004-03-26 Alfredo Braunstein + + * buffer_funcs.C (readFile): add cancel button to two prompt dialogs + +2004-03-26 Jean-Marc Lasgouttes + + * kbsequence.C (print): adjust + + * kbmap.C (printKeySym): rename and change signature + (printKey): use LyXKeySym::print() + +2004-03-26 Martin Vermeer + + * undo.C: add using std::advance to compile for stlport + +2004-03-24 Angus Leeming + + * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as + it leads to a crash when no buffer is present. + +2004-03-25 Jean-Marc Lasgouttes + Martin Vermeer + + * lyxfunc.C (dispatch): + * bufferparams.C (readToken): use the new LColor::setColor + + * LColor.[Ch] (setColor): new version that takes two strings as + argument and creates a new color entry if necessary + +2003-02-12 Jean-Marc Lasgouttes + + * buffer.C (makeLaTeXFile): if the main latex file that is + processed is usually a subdocument of some master, then pretend + for a while that it is actually the master + +2003-02-10 Jean-Marc Lasgouttes + + * buffer.C (getLabelList): + (getBibkeyList): use getMasterBuffer() + (getMasterBuffer): new method. Returns the main document in the + case where one is using included documents. + +2004-03-25 André Pönitz + + * Makefile.am: + * iterators.[Ch]: + * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator + + * ParagraphList_fwd.h: change ParagraphList to a std::vector + + * CutAndPaste.[Ch]: simpler interface by moving some stuff from + text*.C over here. Rename namespace CutAndPaste to lyx::cap + + * ParameterStruct.h: merge with ParagraphParameters + + * lyxtext.h: remove LyXText::parOffset() and getPar() + + * text3.C: Remove all 'manual' update calls. We do now one per user + interaction which is completely sufficient. + + * Bidi.C: + * BufferView.[Ch]: + * BufferView_pimpl.C: + * FontIterator.[Ch]: + * MenuBackend.C: + * ParagraphParameters.[Ch]: + * buffer.C: + * buffer.h: + * bufferlist.C: + * cursor.[Ch]: + * cursor_slice.[Ch]: + * dociterator.[Ch]: + * errorlist.[Ch]: + * factory.C: + * lfuns.h: + * lyxfind.C: + * lyxfunc.C: + * output_docbook.[Ch]: + * output_latex.[Ch]: + * output_linuxdoc.[Ch]: + * output_plaintext.[Ch]: + * paragraph.[Ch]: + * paragraph_funcs.[Ch]: + * paragraph_pimpl.[Ch]: + * rowpainter.C: + * tabular.[Ch]: + * text.C: + * text2.C: + * toc.C: + * undo.[Ch]: adjust + + * frontends/controllers/ControlDocument.C: + * frontends/controllers/ControlErrorList.C: + * frontends/controllers/ControlSpellchecker.C: + * insets/inset.C: + * insets/inset.h: + * insets/insetbase.h: + * insets/insetbibitem.C: + * insets/insetbox.C: + * insets/insetbranch.C: + * insets/insetcaption.C: + * insets/insetcharstyle.C: + * insets/insetcharstyle.h: + * insets/insetcollapsable.C: + * insets/insetcollapsable.h: + * insets/insetert.C: + * insets/insetfloat.C: + * insets/insetfoot.C: + * insets/insetmarginal.C: + * insets/insetnote.C: + * insets/insetoptarg.C: + * insets/insettabular.C: + * insets/insettext.C: + * insets/insettext.h: + * insets/insetwrap.C: + * mathed/math_mboxinset.C: + * mathed/math_nestinset.C: + * mathed/math_scriptinset.C: + * mathed/math_scriptinset.h: + * support/types.h: + +2004-03-24 Angus Leeming + + * BufferView_pimpl.C (cursorToggle): use the cursor toggle to + deal with any child processes that have finished but are waiting to + communicate this fact to the rest of LyX. + +2004-03-24 Angus Leeming + + 64-bit compile fixes. + + * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type. + (c-tor): pass lyx::pos_types rather than ints. + + * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as + lyx::pos_type. + + * text.C (Delete): compile fix. + (getPar): ensure that function declaration is the same as that in + the header file. + +2004-03-23 Angus Leeming + + * ispell.C (LaunchIspell): + * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return + a boost::shred_ptr rather than a std::auto_ptr. + +2004-03-22 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): handle read-only buffers correctly; + handle LFUN_FILE_INSERT_* + + * lyxrc.C (setDefaults, getDescription, output, read): + * lyxrc.h: remove ps_command + +2004-03-22 Angus Leeming + + * lyx_main.C (error_handler, init): remove handler for SIGPIPE. + Ensure that error_handler is processed once only and that all data + is saved before attempting to output any warning messages. + + * cursor.[Ch] (nopos_, noPos): remove unused member variable/function. + +2004-03-21 Alfredo Braunstein + + * tabular.C (TeXRow): crash fix (from Kayvan and André) + +2004-03-19 André Pönitz + + * cursor.[Ch] (reset): take main text inset as argument + + * BufferView: adjust + * BufferView_pimpl.C: adjust + + * paragraph.[Ch]: fix completely broken operator=() + 2004-03-16 Jean-Marc Lasgouttes * LColor.C (getFromLyXName): make sure that the color name is used as lowercase. + 2004-03-17 Angus Leeming * lfuns.h: @@ -21,7 +610,7 @@ 2004-03-11 André Pönitz - * buffer.[Ch]: use InsetText instead of LyXText as container for + * buffer.[Ch]: use InsetText instead of LyXText as container for the main lyx text. * dociterator.[Ch]: drop the BufferView * member which is not needed @@ -87,7 +676,7 @@ * text.C: * text2.C: * rowpainter.C: - * BufferView_pimpl.C: rename textwidth -> maxwidth, + * BufferView_pimpl.C: rename textwidth -> maxwidth, prepareToPrint -> computeRowMetrics and remove textWidth accessor. 2004-03-01 Alfredo Braunstein @@ -104,11 +693,11 @@ 2004-03-01 Alfredo Braunstein - * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here + * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 2004-03-01 Alfredo Braunstein - * lyxtext.h: add FontIterator class + * lyxtext.h: add FontIterator class * text.C (FontIterator, operator*, operator->, operator++): add (rowBreakPoint, setRowWidth): adjust (fixing a @@ -259,16 +848,16 @@ 2004-02-04 André Pönitz * BufferView.[Ch] (insertInset): - * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value + * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value * text2.C: * text3.C: adjust 2004-02-03 Alfredo Braunstein - * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch + * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch on the default clause of the switch - * lyxfunc.C (dispatch): call BufferView::dispatch if the event + * lyxfunc.C (dispatch): call BufferView::dispatch if the event wasn't catched by LCursor::dispatch 2004-02-03 André Pönitz @@ -280,7 +869,7 @@ * lyxfunc.C: adjust - * lyxtext.h (firstPar, lastPar): remove dead functions + * lyxtext.h (firstPar, lastPar): remove dead functions * text.C: * text2.C: