X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=44351a0565c096015b4ebae3bbf5acdacf263415;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=f682a02f68cce46acfab0f8db3f66bc3c069d9a3;hpb=3297d415dc1060438a4f3ee97a7db66e23cd91e4;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index f682a02f68..44351a0565 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,12 +1,326 @@ +2004-11-29 Jean-Marc Lasgouttes + + * broken_headers.h: remove + + * Makefile.am (lyx_SOURCES): remove broken_headers.h + +2004-11-24 Alfredo Braunstein + + * BufferView.[Ch]: remove top_y, introduce anchor_ref, + offset_ref accessors + + * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove + top_y_, merge fitcursor with update + (updateScrollbar, scrollDocView, fitCursor, center, update): new + coord scheme + (metrics): introduce + (workAreaDispatch): adapt to new coord scheme + (redoCurrentBuffer): remove + + * FontIterator.[Ch]: Use Paragraph & instead of pit_type + + * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status, + CurStatus enum. + + * coordcache.[Ch]: add paragraph cache and helpers + + * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit, + adjust everywhere + + * cursor.[Ch] (getDim): fix, (getPos) use coordOffset + (targetX, setTargetX): introduce + + * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename + baseline -> ascent, as the rest of lyx + + * lyxtext.h: remove redoParagraphs, updateParPositions, + fullRebreak, redoParagraphInternal. move dist to anon namespace in + tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it + have ascent/descent (ascent is ascent of first par) + + * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics + step of BufferView + + * paragraph.[Ch]: unify dimension handling with the rest of lyx + + * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove. + + * pariterator.C: fix infinite loop introduced in par->pit renaming + + * rowPainter.[Ch]: big rewrite: separate drawSelection from draw + in insets and LyXText, draw two off-screen paragraphs using + NullPainter, and adapt to new coord scheme + + * text.C: + * text2.C: + * text3.C: adapt lfun handlers to the new coord scheme, which + means: there's only guaranteed coord information for onscreen pars + plus one above and one below. This implies that one can do search + from y coordinates in the range [-1,workHeight] + +2004-11-25 Lars Gullik Bjonnes + + * rename a lot of InsetOld to InsetBase + +2004-11-25 Angus Leeming + + * BufferView_pimpl.C: + * lyx_cb.C: + * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes. + +2004-11-24 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only + call BufferView::getStatus if LCursor::getStatus did nothing + (setStatusMessage, getStatusMessage): removed. + + * FuncStatus.C (message): new methods. Used to provide an error + message indicating why a command is disabled. + (clear, |=, FuncStatus): update for message. + +2004-11-23 Georg Baum + + * lyxfunc.C (dispatch): always call sendDispatchMessage + +2004-11-24 Alfredo Braunstein + + * BufferView.C: + * BufferView_pimpl.C: + * CutAndPaste.C: + * FontIterator.C: + * buffer.C: + * cursor.C: + * cursor_slice.[Ch]: + * dociterator.[Ch]: + * lyxfind.C: + * paragraph_funcs.C: + * pariterator.C: + * rowpainter.C: + * text.C: + * text2.C: + * text3.C: + * undo.C: par->pit renaming + +2004-11-23 Lars Gullik Bjonnes + + * tabular.C (cellstruct): use initialization, store a shared_ptr + to insettext instead of the insettext directly, adjust to fit. + (operator=): new function + (swap): new function + (rowstruct): use initialization + (columnstruct): use initialization + (ltType): use initialization + + + * lyxlength.h (swap): new function + + * LColor.[Ch] (operator=): use the common semantics + +2004-11-22 Jean-Marc Lasgouttes + + * lyxfind.C (findNextChange): update the bufferview after setting + the selection. + +2004-11-16 Jean-Marc Lasgouttes + + * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max + number of InsetOptArgs has already been inserted. + + * output_latex.C (latexOptArgInsets): new method. This outputs all + the optarg insets, up to the limit defined in the layout file. + (optArgInset): removed + (TeXOnePar): call latexOptArgInsets; correctly update texrow + +2004-11-16 Jean-Marc Lasgouttes + + * paragraph.C (isLetter): remove special spellchecker-related + code; return true also for digits + (isWord, isKomma): remove + + * text.C (cursorRightOneWord, cursorLeftOneWord, getWord): + * lyxfind.C (MatchString()): use isLetter instead of isWord + +2004-11-17 Lars Gullik Bjonnes + + * pariterator.h (operatir=): comment out un-implemented member + function. + + * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a + static cast. + +2004-11-17 Lars Gullik Bjonnes + + * lyxfont.h: include LColor.h to satisfy concept checks. + +2004-11-16 Lars Gullik Bjonnes + + * pariterator.h: add typdefs for value_type, difference_type, + pointer and reference to satisfy concept checks. Also add default + constructor for same reason. + + * pariterator.C (operator++): add post-increment operator to + satisfy concept checks. + + * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept + checks. + + * RowList_fwd.h: include lyxrow.h to satisfy concept checks. + + * ParagraphList_fwd.h: include paragraph.h to satisfy concept + checks. Also rename base_type to BaseType to follow naming + standard better. + + * FloatList.h: include Floating.h to satisfy concept checks. + +2004-11-15 Jean-Marc Lasgouttes + + * lyxfunc.C (getStatus): when the origin of the request is menu or + toolbar, and the LyXView does not have focus, do as if there was + no buffer (bug 1720) + + * lyxfunc.C (getStatus, dispatch): propagate the origin of a + FuncRequest to individual entries of LFUN_SEQUENCE + +2004-11-10 Jean-Marc Lasgouttes + + * output_latex.C (TeXOnePar): override runparams.moving_arg + according to the needprotect value of the current paragraph (bug + 1739) + + * paragraph.C (simpleTeXOnePar): no need to override + runparams.moving_args here + +2004-11-14 John Spray + + * vspace.C: fix off-by-one-error, related to fix #1682 + +2004-11-11 Jürgen Spitzmüller + + * lengthcommon.C: a more general fix for bug 1682 + +2004-11-11 Alfredo Braunstein + + * text.C (backspace): fix crash + +2004-11-09 Georg Baum + + * format.[Ch] (getFormatFromFile): new method + * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/ + +2004-11-09 Jean-Marc Lasgouttes + + * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682) + +2004-11-05 Jean-Marc Lasgouttes + + * lyxfunc.C (dispatch): remove the verbose argument + (sendDispatchMessage): ditto. Use the origin of the FuncRequest + instead + + * kbmap.C (defkey): set the origin of func to KEYBOARD + + * MenuBackend.C (MenuItem): + * ToolbarBackend.C (add): set the origin of func to UI + + * funcrequest.[Ch]: add origin member, which indicates which part + of LyX requests an action + +2004-11-07 Georg Baum + + * converter.C (move): don't lie in the error message + * converter.h (isReachable, move): document + +2004-11-07 Lars Gullik Bjonnes + + * buffer.C: remove unused using lyx::support::atoi + * paragraph_funcs.C: ditto + +2004-11-06 Lars Gullik Bjonnes + + * bufferlist.C (exists): use bind and equal_to instead of + compare_memfun + (getBuffer): ditto + * lyxtextclasslist.C (NumberOfClass): ditto + + * cursor.C (insert): use for_each instead of explicit for loop + + * bufferlist.C (getFileNames): use std::transform and + std::back_inserter instead of std::copy and lyx::back_inserter_fun. + + * buffer_funcs.C (bufferErrors): use for_each instead of explicit + for loop + + * buffer.C (changeLanguage): use for_each instead of explicit for + loop + (hasParWithID): implement using getParFromID + + * LaTeXFeatures.C: ws change only + + * CutAndPaste.C (replaceSelectionWithString): Use a temporary var + to cleanup a bit. + + * BufferView_pimpl.C (trackChanges): use for_each instead of + expilicit for loop + +2004-11-04 André Pönitz + + * undo.h: + * undo.C (textUndoOrRedo): fix crash when creating undo information. + + * dociterator.C (asDocIterator): use hard assert again. + +2004-11-04 Jean-Marc Lasgouttes + + * lyxlength.C (asLatexString): rewrite so that it does not use + snprintf anymore + +2004-11-02 Jean-Marc Lasgouttes + + * text3.C (specialChar, dispatch): make sure cursor moves to the + right after inserting an inset + +2004-11-02 José Matos + + * output_docbook.C (docbook): + * paragraph.C (getID): + * sgml.[Ch] (openTag, cleanID): escape characters inside ids to + garantee that the output is always legal. + + * tabular.C (docbook): + * outputprams.[Ch]: remove mixed contents. + +2004-11-01 Georg Baum + + * text2.C (setCounter): prevent endless loop + +2004-11-01 Georg Baum + + * exporter.C (copyFile): use the mover instead of support::copy() + * exporter.C (Export): pass format and latex name to copyFile() + * exporter.h (addExternalFile): document + * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments + +2004-10-31 Jürgen Spitzmüller + + * text.C (leftMargin): do not indent paragraphs in charstyle insets. + +2004-10-30 José Matos + + * paragraph.[Ch] (onlyText): Checks if the paragraph contains only + text and no inset or font change. This allows to use CDATA + sections just for the whole paragraph. + 2004-10-30 José Matos * paragraph.C (getFirstWord): remove unused variable. 2004-10-30 José Matos - * paragraph.C (getFirstWord): the content should always be escaped there. + * paragraph.C (getFirstWord): the content should always be escaped + there. (simpleDocBookOnePar): - * output_docbook.C (makeEnvironment): replace reference to CDATA to style pass_thru. + * output_docbook.C (makeEnvironment): replace reference to CDATA + to style pass_thru. 2004-10-30 José Matos @@ -37,9 +351,10 @@ 2004-10-28 José Matos - * output_docbook.C (makeEnvironment): move id to broadest possible scope. + * output_docbook.C (makeEnvironment): move id to broadest possible + scope. - * sgml.C (openTag): apply substitution of <> for all attribuites. + * sgml.C (openTag): apply substitution of <> for all attributes. 2004-10-28 José Matos @@ -69,7 +384,8 @@ 2004-10-25 José Matos - * output_docbook.C (makeCommand): merge two if's that tested the same condition. + * output_docbook.C (makeCommand): merge two if's that tested the + same condition. 2004-10-25 Jean-Marc Lasgouttes @@ -127,7 +443,7 @@ * sgml.C (openTag, closeTag): removed unneeded newlines. (closeEnvTags) removed. -2003-10-23 André Pönitz +2004-10-23 André Pönitz * undo.C (textUndoOrRedo): * dociterator.C (asDocIterator): work around crash