X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=7a4510e9cacb1e778532013e801d253414214731;hb=a97ed20502fb6a19949cf7ef6fc18a6c6d9e347b;hp=b332c23a622a948b1b30a84e9bd94f18567d7502;hpb=338b173b3c5ff8a8627e2e76f3305de11eaf772a;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index b332c23a62..7a4510e9ca 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,525 @@ + +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 + +2003-12-01 André Pönitz + + * buffer.[Ch]: + * lyxtext.h: move ParagraphList member to LyXText + rename LyXText::ownerParagraphs to LyXText::paragraph + + * CutAndPaste.C: + * bufferview_funcs.C: + * iterators.[Ch]: + * lyx_cb.C: + * paragraph.C: + * rowpainter.C: + * tabular.C: + * text.C: + * text2.C: + * text3.C: adjust + + * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets. + + * undo.C: fix cursor positioning + +2003-12-01 John Levon + + * BufferView_pimpl.C: fix a crash on exit with + a buffer open + +2003-11-30 Martin Vermeer + + * BranchList.C: fix setSelected() method. + +2003-11-28 André Pönitz + + * ParagraphParameters.[Ch]: + * ParameterStruct.h: remove space above/below from Paragraph to + InsetVSpace + + * BufferView_pimpl.C: + * factory.C: + * lyxfunc.C: + * lyxtext.h: + * output_latex.C: + * paragraph.C: + * paragraph_funcs.C: + * rowpainter.[Ch]: + * text.C: + * text2.C: + * text3.C: adjust + +2003-11-28 Martin Vermeer + + * factory.C: Syntax change for CharStyles + +2003-11-28 André Pönitz + + * BufferView.[Ch]: + * BufferView.[Ch]: + * buffer.[Ch]: + * buffer.[Ch]: move LyXText member + +2003-11-28 André Pönitz + + * BufferView.[Ch]: make LyXText * text a private member + + * BufferView_pimpl.C: + * cursor.C: + * iterators.C: + * lyx_cb.C: + * lyxfind.C: + * lyxtext.h: + * rowpainter.[Ch]: + * text.C: + * text2.C: + * undo.C: adjust + + * output_plaintext.C: cleanup + +2003-11-27 Martin Vermeer + + * buffer.C: + * lyxtextclass.[Ch]: parametrize SGML document header + +2003-11-27 Martin Vermeer + + * converter.[Ch]: + * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued + getFlavor(). + +2003-11-27 Alfredo Braunstein + + * text2.C (setFont): rework using PosIterator (no more recursive) + (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) + +2003-11-26 Alfredo Braunstein + + * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth + * lyxtext.h: ditto + * text2.C: same thing + updateCounters fix + redoCursor also adjusts + selection cursors + * lyxfunc.C: adjust + * text3.C: adjust + re-allow multi par depth changes + * textcursor.C: simplify a bit + +2003-11-25 Martin Vermeer + + * src/buffer.C: + * src/lyxlayout.C: + * src/lyxlayout.h: + * src/lyxtext.h: + * src/output_docbook.C: + * src/output_latex.C: + * src/paragraph.C: + * src/paragraph.h: + * src/sgml.C: + * src/sgml.h: + * src/text2.C: Introducing a number of tags parametrizing various + XML formats that we may want to support + +2003-11-25 André Pönitz + + * InsetList.[Ch] (begein, end): inline as suggested by profiler + + * lyxtext.h (leftMargin/rightMargin): simplify interface + + * rowpainter.C: + * text.C: + * text2.C: + * text3.C: adjust + +2003-11-24 Georg Baum + + * lyxfunc.C (dispatch): propogate the bibtex databases from the + master file to any child files. Fixes bug 546. + +2003-11-24 Alfredo Braunstein + + * lyxfind.C (findNextChange): remove unneeded bv->text->init call + +2003-11-24 André Pönitz + + * rowpainter.C: simplification + + * text2.C (updateCounters): remove call to redoParagraph on + changed labels as this is far too expensive. + +2003-11-24 Alfredo Braunstein + + * converter.C (convert): fix a crash: this function gets + called with buffer == 0 from importer code. + +2003-11-22 Lars Gullik Bjonnes + + * text3.C (cursorPrevious): make sure that we do not compare + iterators form different containers. + (cursorNext): ditto + + * rowpainter.C (paintSelection): make sure that we do not compare + iterators from different containers. + + * text3.C (dispatch): [PRIOR] make sure that we do not compare + iterators from different ParagraphList containers. + [NEXT] ditto + + * text2.C (LyXText): change order of initialization slightly + (operator=): new function. copy all variables except cache_par_ + (moveUp): make sure that we do not compare iterators from + different ParagraphList constainers. + (moveDown): ditto + + * text.C (firstPar): new function + (lastPar): new function + (endPar): new function + + * lyxtext.h: move things around and group public functions, public + variables, private functions, private variables + +2003-11-21 Michael Schmitt + + * factory.C: change call to InsetERT constructor to avoid + additional invocation of method status + * text2.C (toggleInset): remove redundant update() call + * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference + instead of a Bufferview pointer + +2003-11-21 André Pönitz + + * rowpainter.C: simplification + +2003-11-21 Alfredo Braunstein + + * text3.C (dispatch): make possible to extend a word/row selection + with the mouse + +2003-11-21 Alfredo Braunstein + + * lyxtext.h: x0_,y0_ -> xo_,yo_ + * text2.C (cursorUp, cursorDown): adjust + some cursorRow use + * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_ + * rowpainter.C (paintRows): paint full paragraphs + +2003-11-20 Alfredo Braunstein + + * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes + screen coordinates) + +2003-11-20 Alfredo Braunstein + + * lyxtext.h: add x0_, y0_ + * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_) + * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_) + +2003-11-18 Alfredo Braunstein + + * text2.C (setCursorIntern): move the x_target update here * + * text3.C: change some bv() to true/false in calls to + cursorUp/Down/Right/Left + * cursor.C: use helper function. + +2003-11-17 Alfredo Braunstein + + * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor + * paragraph_funcs.[Ch]: correct comment + * rowpainter.C: do not paint selections away from bv->cursor() + Fix a long standing selection painting bug. + * text3.C: generalize mouse-selection code to LyXTexts other that + top one + * textcursor.C: do not use y coords if we can use par offsets + +2003-11-17 Alfredo Braunstein + + * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix + cursor position after e.g. inset insert) + +2003-11-16 Alfredo Braunstein + + * lyxfind.C (replace): adjust to locking removal + some + code simplification + +2003-11-14 Alfredo Braunstein + + * cursor.C (dispatch): dispatch to BufferView::dispatch at the end + of the path + +2003-11-14 Martin Vermeer + + * lyxlayout.[Ch]: + * output_docbook.C: XML sanitation: new layout + parameters InnerTag and CommandDepth + +2003-11-13 Martin Vermeer + + * BufferView_pimpl.C: + * factory.C: + * text3.C: Fix the insertion and modification of button-style + insets + +2003-11-13 André Pönitz + + * InsetList.[Ch]: remove deleteLyXText + + * paragraph.[Ch]: cache beginOfBody position + + * Bidi.C: + * text.C: + * text2.C: + * text3.C: remove superfluous update() calls + + * vspace.C: cleanup + +2003-11-13 Alfredo Braunstein + + * BufferView_pimpl.C (fitCursor): call screen().fitCursor() + * BufferView.C (fitLockedInsetCursor): remove + * cursor.[Ch] (getDim): add + * text.C (getRowNearY): add faster version + * text3.C: remove some update calls + +2003-11-12 Martin Vermeer + + * LaTeXFeatures.C: + * LyXAction.C: + * MenuBackend.C: + * MenuBackend.h: + * dispatchresult.h: + * factory.C: + * lfuns.h: + * lyxfunc.C: + * lyxtextclass.C: + * lyxtextclass.h: + * text3.C: The Character Style /XML short element patch. + +2003-11-11 Martin Vermeer + + * text3.C: + * factory.C: Small step to solving 'unable to insert some insets' + problem + +2003-11-11 Alfredo Braunstein + + * cursor.[Ch] (updatePos): new function for updating the y + position of the tip inset + * bufferview_funcs.C (put_selection_at): + * BufferView_pimpl.C (workAreaDispatch): rationalise update calls + +2003-11-11 André Pönitz + + * text.C: remove big comment on invalid Paragraph pointers as it is + not valid anymore + +2003-11-11 André Pönitz + + * text_funcs.[Ch]: merge with ... + + * text.C: ... this + + * lyxtext.h: + * text2.C: + * text3.C: adjust + + * Makefile.am: remove text_funcs.[Ch] + +2003-11-11 Alfredo Braunstein + + * cursor.C (getPos): return absolute cached y coord + + * BufferView_pimpl.C (fitCursor): new simplistic code + (workAreaDispatch): add a fitCursor call + +2003-11-10 André Pönitz + + * BufferView.[Ch]: + * BufferView_pimpl.[Ch]: merge update() and updateInset() + +2003-11-10 André Pönitz + + * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT, + LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to + indicate that the cursor needs to leave an inset + + * lyxtext.h: remove inset locking + + * cursor.[Ch]: re-implement functionality provided by inset locking + + * BufferView.[Ch]: + * BufferView_pimpl.[Ch]: + * LyXAction.C: + * bufferview_funcs.[Ch]: + * factory.C: + * funcrequest.[Ch]: + * iterators.C: + * lyx_cb.C: + * lyxfind.C: + * lyxfunc.C: + * text.C: + * text2.C: + * text3.C: + * undo.C: adjust + +2003-11-07 Alfredo Braunstein + + * PosIterator.[Ch]: replace the stack with a vector, add inset + accesor + * iterators.[C]: adjust + 2003-11-06 Alfredo Braunstein * lyxfind.C (replaceAll): mark the buffer dirty if something was @@ -16,9 +538,9 @@ 2003-11-05 Jean-Marc Lasgouttes - * output_linuxdoc.h: - * output_plaintext.h: - * output.h: + * output_linuxdoc.h: + * output_plaintext.h: + * output.h: * output_docbook.h: add #include statements 2003-11-05 José Matos @@ -44,12 +566,12 @@ * paragraph_pimpl.[Ch]: * tabular.[Ch]: rename ascii to plaintext and LatexRunParams to OutputParams. - + 2003-11-05 Alfredo Braunstein * iterators.[Ch] (text): require bv argument - * undo.C (recordUndo): - * lyxfunc.C (dispatch): + * undo.C (recordUndo): + * lyxfunc.C (dispatch): * bufferview_funcs.C (put_selection_at): adjust 2003-11-05 João Luis M. Assirati @@ -90,7 +612,7 @@ * BufferView.[Ch]: * lyxtext.h: * text.C: remove dead spellcheck code - + 2003-11-04 Lars Gullik Bjønnes * dispatchresult.h: add a val setter