X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=a142cabb5e3a4f31e1b0ee875c7e0ce7159c4a3d;hb=c688967bc365872241697371e7bd12e2b5217028;hp=083e00ff8c69a75f9678338faf27855fc7b9aad9;hpb=b06de5044f596153a0639e7515d0ea9686f22bcf;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index 083e00ff8c..a142cabb5e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,1364 @@ +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: + * LyXAction.C (init): remove LFUN_FORKS_KILL. + + * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks + dialog and to kill a forked process. + +2004-03-17 Alfredo Braunstein + + * text2.C (setCursorFromCoordinates): fix font problem + +2004-03-17 Alfredo Braunstein + + * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and + bogus "rebuild cursor" code + +2004-03-11 André Pönitz + + * buffer.[Ch]: use InsetText instead of LyXText as container for + the main lyx text. + + * dociterator.[Ch]: drop the BufferView * member which is not needed + anymore after the change to buffer.C + + * paragraph_funcs.C: + * text.C: + * text2.C: + * BufferView.[Ch]: + * BufferView_pimpl.[Ch]: + * cursor.[Ch]: + * cursor_slice.[Ch]: adjust + + * text3.C: fix bug in mathDispatch + +2004-03-08 André Pönitz + + * undo.[Ch]: use 'StableDocumentIterator' as base for + the Undo struct. + +2004-03-07 Jürgen Spitzmüller + + * LaTeXFeatures.C: + * bufferparams.[Ch]: add jurabib support and param. + + * LaTeX.C: add FIXME/comment. + +2004-03-05 Jürgen Spitzmüller + + * buffer.C: increment file format to 230. + +2004-03-04 Alfredo Braunstein + + * cursor.C (dispatch): avoid infinite loops + +2004-03-01 Alfredo Braunstein + + * rowpainter.C (paintSelection): fix x coordinates + +2004-03-01 Alfredo Braunstein + + * text.C (rowBreakPoint): fix breaking before displayed insets + +2004-03-01 André Pönitz + + * dociterator.[Ch]: new class for the 'iterator part' of LCursor. + + * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery + + * Makefile.am: + * BufferView.C: + * BufferView_pimpl.C: + * buffer.C: + * lyxfind.C: + * lyxfunc.C: + * text.C: + * text2.C: + * text3.C: adjust + +2004-03-01 Alfredo Braunstein + + * lyxtext.h: + * text.C: + * text2.C: + * rowpainter.C: + * BufferView_pimpl.C: rename textwidth -> maxwidth, + prepareToPrint -> computeRowMetrics and remove textWidth accessor. + +2004-03-01 Alfredo Braunstein + + * Bidi.[Ch] (computeTables): const correctness + * lyxrow.[Ch]: add RowMetrics class, move there fill_separator, + fill_hfill, fill_label_hfill and x from Row + * lyxtext.h: prepareToPrint returns a RowMetrics + * rowPainter.C: adjust + * text.C (prepareToPrint): use width, not textWidth. adjust + (redoParagraphInternal, cursorX): adjust + * text2.C (getColumnNearX): adjust + (init): put a default value to the top LyXText::width + +2004-03-01 Alfredo Braunstein + + * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here + +2004-03-01 Alfredo Braunstein + + * lyxtext.h: add FontIterator class + + * text.C (FontIterator, operator*, operator->, operator++): add + (rowBreakPoint, setRowWidth): adjust (fixing a + rebreaking bug) + +2004-02-25 Jean-Marc Lasgouttes + + * BufferView_pimpl.C (workAreaDispatch): allow also + LFUN_FILE_OPEN, which is used by the drag-and-drop code. + +2004-02-27 Alfredo Braunstein + + * text.C (rowBreakPoint): fix a bug showing with very large insets + +2004-02-25 André Pönitz + + * text3.C: + * cursor.[Ch]: move some mathed specific code to mathed + +2004-02-21 Georg Baum + + * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore + use_tempdir in preferences + * buffer.C (readFile), lyxvc.C (getLogFile): check success of + tempfile creation + * lyx_main.C: ensure that tempdir is valid + * lyxlex.h: correct typo + * buffer.[Ch] (isMultiLingual), (isUnnamed): make const + * paragraph.[Ch] (isMultiLingual): make const + * cursor.[Ch] (openable): make const + +2004-02-20 Jürgen Spitzmüller + + * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double. + +2004-02-20 André Pönitz + + * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT' + + * cursor.[Ch]: prepare for localized getStatus() + + * lyxtext.h: + * tabular.C: + * text.C: + * text2.C: + * text3.C: streamlines the LyXText cursor movement handlers a bit. + +2004-02-20 André Pönitz + + * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage() + +2004-02-16 Alfredo Braunstein + + * text2.C (setCursorFromCoordinates): switch to absolute coords + (cursorUp): adjust + (cursorDown): adjust + * text3.C (dispatch): adjust + +2004-02-16 André Pönitz + + * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see + insets/ChangeLog) + + * cursor_slice.[Ch]: remove unneeded acessor function + + * lyxtext.h: rename rtl() to isRTL() + + * rowpainter.C: + * tabular.C: + * text.C: + * text2.C: + * text3.C: adjust + +2004-02-16 Alfredo Braunstein + + * rowpainter.C (paintSelection): coord fix + +2004-02-15 Georg Baum + + * Spacing.C: compile fix + +2004-02-13 Alfredo Braunstein + + * cursor.C (dispatch): restore current_ before returning + +2004-02-13 Alfredo Braunstein + + * text2.C (cursorUp, cursorDown): fix coords + (moveUp): fix crash + +2004-02-12 André Pönitz + + * lyxtext.h: + * text.C: + * text2.C: + * text3.C: add LCursor & parameter to most cursor movement functions + remove usage of LyXText::cursorRow() and cursorPar() + + * cursor.[Ch]: add textRow() needed members + + * BufferView.C: + * BufferView_pimpl.C: + * paragraph.[Ch]: + * BufferView.C: + * BufferView_pimpl.C: adjust + +2004-02-11 André Pönitz + + * lyxfunc.C: + * BufferView.[Ch]: + * BufferView_pimpl.C: shift undo/redo handling + + * cursor.[Ch]: fix mathed crash + + * lyxfind.C: + * lyxtext.h: move selectionAsText to LCursor + + * output_latex.C: + * paragraph.C: + * text.C: + * text2.C: + * text3.C: adjust + + * rowpainter.C: fix excessive drawing + +2004-02-06 André Pönitz + + * BufferView.[Ch]: + * BufferView_pimpl.[Ch]: + * text3.C: move some text specific LFUN handling + +2004-02-06 Alfredo Braunstein + + * text3.C (checkInsetHit): adjust coords + * text2.C (getColumnNearX): adjust coords + (edit): adjust coords + * text.C (getRowNearY): add two asserts + +2004-02-06 Martin Vermeer + + * converter.C: + * format.C: add using std::distance to compile on gcc 2.95/stlport + +2004-02-04 Martin Vermeer + + * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug + +2004-02-04 André Pönitz + + * BufferView.[Ch] (insertInset): + * 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 + on the default clause of the switch + * lyxfunc.C (dispatch): call BufferView::dispatch if the event + wasn't catched by LCursor::dispatch + +2004-02-03 André Pönitz + + * BufferView.C: + * cursor.[Ch]: some additional asserts + + * undo.[Ch]: remove LyXText dependency in interface + + * lyxfunc.C: adjust + + * lyxtext.h (firstPar, lastPar): remove dead functions + + * text.C: + * text2.C: + * text3.C: + * paragraph.[Ch]: adjust + +2004-02-03 Alfredo Braunstein + + * lyxfind.C (find): fix argument order in call to ::find + +2004-02-02 André Pönitz + + * cursor.[Ch]: remove direct access to anchor + + * text.C: remove findText() hack + +2004-02-02 Alfredo Braunstein + + * iterators.[Ch] (lockPath): remove in favour of... + * BufferView.[Ch] (setCursor): this addition + * BufferView.C (putSelectionAt): adjust + * undo.C (performUndoOrRedo): adjust + * lyxfunc.C (dispatch): adjust + +2004-02-02 Alfredo Braunstein + + * iterators.C (lockPath): add a missing slice + * undo.C (performUndoOrRedo): remove redundant positioning code + +2004-02-01 Lars Gullik Bjonnes + + * vc-backend.C (scanMaster): ";" -> ';' + +2004-01-31 Lars Gullik Bjonnes + + * lyxtextclasslist.C (less_textclass_avail_desc): inherit from + std::binary_function + + * lyxtextclass.C (compare_name): rename to... + (LayoutNamesEqual): ...this + + * lyxlex_pimpl.C (compare_tags): inherit from + std::binary_function, put back into anon namespace + + * lyxfind.C (MatchString): inherig from std::binary_function + (findChange): use empty() istead of !size() + + * format.C (FormatNamesEqual): new functor + (getFormat): use it + (getNumber): use it + (add): use it + (erase): use it + (setViewer): use it + + * converter.C (compare_Converter): rename to... + (ConverterEqual): ...this, and fixup a bit. + (getConverter): use it, and make function const + (getNumber): use it, and make function const + (add): use it + (erase): use it: + + * bufferlist.C: add using boost::bind + + * MenuBackend.C (MenuNamesEqual): new functor + (hasMenu): use it, and make function const + (hasSubmenu): use nested bind to get rid of compare_memfun. + +2004-01-30 André Pönitz + + * BufferView_pimpl.C: + * cursor.C: + * cursor.h: + * cursor_slice.[Ch]: + * lyxfunc.C: + * lyxtext.h: + * paragraph_funcs.C: + * paragraph_funcs.h: + * rowpainter.C: + * text.C: + * text2.C: + * text3.C: move some of the edit(x,y) handling to the insets + some coordinate changes. + +2004-01-28 Lars Gullik Bjonnes + + * text.C: add using statements for std::advance and std::distance + + * paragraph.C: add using statement for std::distance + + * lyxfind.C: add using statement for std::advance + + * cursor.C (region): remove std:: from swap + (openable): use nucleus in stead of operator-> + + * BufferView.C: add using statements for std::distance and std::swap + +2004-01-27 Lars Gullik Bjonnes + + * iterators.C: Remove the pimple, move the needed structures to + the header file. Create accessor for the positions stack. + (asPosIterator): remove function + + * PosIterator.C (PosIterator): move constructors to top of file + (PosIterator): reimplement the constructor taking a ParIterator in + terms of setFrom. + (setFrom): new function + (operator!=): inline it + +2004-01-26 Lars Gullik Bjonnes + + * lyxfind.C (replaceAll): use std::advance + + * iterators.h: inherit from std::iterator. + + * PosIterator.C (advance, distance): remove + * PosIterator.h: interit from std::iterator. + +2004-01-26 André Pönitz + + * BufferView.[Ch]: + * BufferView_pimpl.[Ch]: + * InsetList.[Ch]: + * PosIterator.[Ch]: + * buffer.h: + * bufferview_funcs.C: + * cursor.[Ch]: + * cursor_slice.h: + * factory.[Ch]: + * iterators.[Ch]: + * lyxfind.C: + * lyxfunc.C: + * lyxtext.h: + * output_docbook.C: + * output_latex.C: + * output_linuxdoc.C: + * output_plaintext.C: + * paragraph.[Ch]: + * paragraph_funcs.[Ch]: + * paragraph_pimpl.[Ch]: + * rowpainter.C: + * tabular.C: + * tabular.h: + * text.C: + * text2.C: + * text3.C: more IU: dumps most of the rest of the mathcursor + implementation into cursor.[Ch]; "globalize" a bit of it. + +2004-01-25 Angus Leeming + + * lyxfunc.C (dispatch): Dialogs::showSearch is no more. + +2004-01-19 Georg Baum + + * LaTeXFeatures.h: add nice_ and nice() const + * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead + +2004-01-20 André Pönitz + + * BufferView.[Ch]: + * BufferView_pimpl.C: + * PosIterator.C: + * bufferview_funcs.C: + * cursor.[Ch]: + * cursor_slice.[Ch]: + * factory.C: + * iterators.C: + * lyx_cb.C: + * lyxfind.C: + * lyxfunc.C: + * lyxtext.h: + * rowpainter.C: + * text.C: + * text2.C: + * text3.C: + * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to + LCursor and mathcursor parts to LCursor and InsetBase. + +2004-01-15 André Pönitz + + * cursor_slice.[Ch]: add a few covienience functions + + * funcrequest.[Ch]: remove BufferView * member + + * BufferView_pimpl.C: + * cursor.C: + * factory.[Ch]: + * lyxfind.[Ch]: + * lyxfunc.C: + * lyxtext.h: + * text3.C: + * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch() + +2004-01-14 Alfredo Braunstein + + * text.C (getWord): fix getWord (and thus LFUN_WORDSEL) + * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL + +2004-01-13 André Pönitz + + * textcursor.[Ch]: + * lyxtext.h: hide cursor and selection anchor behind accessor function + + * BufferView.C: + * BufferView_pimpl.[Ch]: + * PosIterator.C: + * bufferview_funcs.C: + * cursor.h: + * lyxfind.C: + * lyxfunc.C: + * text.C: + * text2.C: + * text3.C: + * undo.C: adjust + + * cursor.h: + * cursor_slice.[Ch]: some integer type changes for inset unification + + * lyxcursor.[hC]: remove, it's CursorSlice now. + + * Makefile.am: + * BufferView_pimpl.[Ch]: + * bufferview_funcs.C: + * cursor_slice.C: + * lyxtext.h: + * text.C: + * text2.C: + * text3.C: + * textcursor.[Ch]: adjust + +2004-01-08 Alfredo Braunstein + + * text2.C (undoSpan): add and use + * text.C (breakParagraph): use undoSpan (fix bug 578) + * lyxtext.h: adjust + +2004-01-08 Angus Leeming + + * BufferView_pimpl.C (MenuInsertLyXFile): + * lyx_cb.C (WriteAs, getContentsOfAsciiFile): + * lyxfunc.C (menuNew, open, doImport): + FileFilterList change to the FileDialog open and save functions. + +2004-01-07 Lars Gullik Bjonnes + + * ShareContainer.h: make isEqual and isUnique adaptable + + * CutAndPaste.C: make resetOwnerAndChanges adaptable + +2004-01-07 Angus Leeming + + * LyXAction.C: + * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE. + + * BufferView_pimpl.C (dispatch): act on these LFUNs. + + * lyxfind.[Ch] (find2string, replace2string, find, replace): new + functions replacing find, replace and replaceAll. + + * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to + LFUN_WORDFIND(FORWARD|BACKWARD). + +2004-01-07 Alfredo Braunstein + + * text.C (breakParagraph): remove an outdated #warning + +2004-01-07 André Pönitz + + * lyxfind.C: somewhat clearer logic + + * text.C: prevent crash in cursorX on unitialized row cache + +2004-01-07 Alfredo Braunstein + + * lyxcursor.[Ch] (operator>): add + * textcursor.C (selStart, selEnd): use std::min and std::max + +2004-01-06 Lars Gullik Bjonnes + + * Chktex.C: include boost/format.hpp + +2004-01-05 Lars Gullik Bjonnes + + * InsetList.C: replace functor MathcIt with adaptable functor + InsetTablePosLess + (insetIterator): modify accordingly + + * BranchList.h: move the BranchNamesEqual functor here from... + * BranchList.C: ... to here + + * BranchList.C: new BranchListEqual fuctor, use it. Remove + SameName and match. + (add): replace a finding loop with std::find_if. + +2003-12-31 Martin Vermeer + + * output_docbook.C: moving LatexParam functionality into + .layout files + +2003-12-29 Jürgen Spitzmüller + + * buffer.C: increment format to 229. + +2003-12-28 Michael Schmitt + + * LaTeXFeatures.C: + * lyx_sty.[Ch]: remove minipageindent_def + + * LyXAction.C: + * factory.C: + * lfuns.h: + * lyxfunc.C: + * text3.C: remove LFUN_INSET_MINIPAGE + +2003-12-28 Angus Leeming + + * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT. + +2003-12-19 Alfredo Braunstein + + * text2.C (setParagraph): fix off-by-one crash + +2003-12-18 Martin Vermeer + + * output_docbook.C: header stuff for AGU + +2003-12-17 Alfredo Braunstein + + * text2.C (redoCursor): remove + * text.C: + * text3.C: + * BufferView_pimpl.C: remove calls to redoCursor and + setCursor(cursor.par(), cursor.pos()) all around + +2003-12-15 Angus Leeming + + * buffer.C: up the format to 228. + +2003-12-15 André Pönitz + + * cursor_slice.[Ch]: new class to cover texted and mathed's cursor + slices + + * Makefile.am: + + * BufferView_pimpl.C: + * cursor.[Ch]: + * lyxcursor.[Ch]: + * rowpainter.[Ch]: + * lyxtext.h: + * text.C: + * text2.C: + * text3.C: adjust + +2003-12-15 Angus Leeming + + * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather + than getFromGUIName to manipulate the color. + +2003-12-14 Angus Leeming + + * BranchList.[Ch]: minimize the API. + (Branch::getBranch, getColor): now return a 'const &'. + (Branch::setSelected) now returns a bool set to true if the + selection status changes. + (BranchList::clear, size, getColor, setColor, setSelected, + allBranches, allSelected, separator): removed. + (BranchList::find): new functions, returning the Branch with + the given name. + (BranchList::add, remove): return a bool indicating that + the operation was successful. + + * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a + new InsetBranch::isBranchSlected member function. + + * LColor.[Ch]: mimimize the API. + (fill): renamed as addColor and made private. + (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded + versions of these functions taking a string arg have been removed. + + * bufferparams.C (readToken): + * lyxfunc.C (dispatch): + * lyxrc.C (read): changes due to the altered BranchList and + LColor APIs. + + * factory.C (createInset, readInset): changes due to altered + InsetBranch c-tor. + +2003-12-14 Jürgen Spitzmüller + + * factory.C: + * lyxfunc.C: remove insetminipage. "minipage-insert" + now produces a frameless minipage box inset. + +2003-12-12 Alfredo Braunstein + + * textcursor.[Ch] (selStart,selEnd): add new methods + remove selection::start, end, use LyXCursor::operator< + * lyxcursor.[Ch] (operator<): add + * BufferView_pimpl.[Ch]: add new struct xsel_cache_ + * BufferView.[Ch] (unsetXSel): add + * text2.C (clearSelection): use unsetXSel,adjust + * text.C: adjust + * text3.C: adjust + * rowpainter.C: adjust + * bufferview_funcs.C (put_selection_at): adjust + +2003-12-12 Alfredo Braunstein + + * BufferView_pimpl.C: small coord. correction + +2003-12-12 Alfredo Braunstein + + * BufferView_pimpl.C (workAreaDispatch): avoid crashing when + dragging over the splash screen. + +2003-12-11 Angus Leeming + + * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code + as it is now handled in LyXText::dispatch. + + * text3.C (doInsertInset): remove a level of nesting. + +2003-12-11 Angus Leeming + + * factory.C (createInset): changes due to the changed interface to + InsetCommandMailer::string2params. + +2003-12-10 Angus Leeming + + * lyxfunc.C (dispatch): enable all inset dialogs to be opened with + 'dialog-show-new-inset ' + +2003-12-10 Angus Leeming + + * buffer.C: up the format to 227. + + * factory.C: the box inset is now identified simply by 'Box'. + +2003-12-10 Angus Leeming + + * buffer.C: up the format to 226. + + * factory.C: the note inset is now identified simply by 'Note'. + +2003-12-08 Alfredo Braunstein + + * lyxtext.h, text2.C (setLayout): don't use cursor to iterate, + when a pit is enough. Standarize a couple of loops. + +2003-12-05 Angus Leeming + + * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and + "vclog" explicitly, passing the appropriate " " + data to the re-worked "log" dialog. + +2003-12-03 André Pönitz + + * PosIterator.C: + * iterators.C: + * lyxtext.h: + * output_latex.C: + * paragraph_funcs.C: + * text.C: + * text2.C: use Inset::getText instead of Inset::getParagraph + +2003-12-03 André Pönitz + + * buffer.[Ch]: + * lyxtext.h: + * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and + InsetText::read() as LyXText::read() + +2003-12-02 Angus Leeming + + * lyxlex.[Ch] (operator void const *): add the 'const' to the return + type. Add a comment in the implementation that the function uses + the stream's bad() function rather than fail() as the std::streams + would do. + +2003-12-02 André Pönitz + + * lyxlex.[Ch]: make interface more similar to std::stream + + * lyxlex_pimpl.[Ch]: don't use '__' in identifiers + +2003-12-01 Martin Vermeer + + * lyxtextclass.[Ch]: add latexparam to CharStyle inset + 2003-12-01 Michael Schmitt * vspace.[Ch]: remove VSpace::NONE @@ -21,7 +1382,7 @@ * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets. - * undo.C: fix cursor positioning + * undo.C: fix cursor positioning 2003-12-01 John Levon @@ -80,7 +1441,7 @@ 2003-11-27 Martin Vermeer - * buffer.C: + * buffer.C: * lyxtextclass.[Ch]: parametrize SGML document header 2003-11-27 Martin Vermeer @@ -92,7 +1453,7 @@ 2003-11-27 Alfredo Braunstein * text2.C (setFont): rework using PosIterator (no more recursive) - (setCharFont): no more needed + (setCharFont): no more needed (setLayout): no more selection cursors fiddling (done by redoCursor) * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and destroy remaining ones) @@ -146,7 +1507,7 @@ * rowpainter.C: simplification - * text2.C (updateCounters): remove call to redoParagraph on + * text2.C (updateCounters): remove call to redoParagraph on changed labels as this is far too expensive. 2003-11-24 Alfredo Braunstein