]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / ChangeLog
index 5dc94c8184f516c386b72875089965cdd8ef8c41..44351a0565c096015b4ebae3bbf5acdacf263415 100644 (file)
@@ -1,3 +1,207 @@
+2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * broken_headers.h: remove
+       
+       * Makefile.am (lyx_SOURCES): remove broken_headers.h
+
+2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * 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  <larsbj@gullik.net>
+
+       * rename a lot of InsetOld to InsetBase
+
+2004-11-25  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView_pimpl.C:
+       * lyx_cb.C:
+       * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
+
+2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * 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  <Georg.Baum@post.rwth-aachen.de>
+
+       * lyxfunc.C (dispatch): always call sendDispatchMessage
+
+2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * 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  <larsbj@gullik.net>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * lyxfind.C (findNextChange): update the bufferview after setting
+       the selection.
+
+2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * 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  <larsbj@gullik.net>
+
+       * 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  <larsbj@gullik.net>
+
+       * lyxfont.h: include LColor.h to satisfy concept checks.
+
+2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * 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  <spray_john@users.sourceforge.net>
+
+       * vspace.C: fix off-by-one-error, related to fix #1682
+
+2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * lengthcommon.C: a more general fix for bug 1682
+
+2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text.C (backspace): fix crash
+
 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
 
        * format.[Ch] (getFormatFromFile): new method
 
        * kbmap.C (defkey): set the origin of func to KEYBOARD
 
-       * MenuBackend.C (MenuItem): 
+       * MenuBackend.C (MenuItem):
        * ToolbarBackend.C (add): set the origin of func to UI
 
        * funcrequest.[Ch]: add origin member, which indicates which part