X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=c4dfb6df2855a9d7baf82b69cb231b373d042053;hb=4faa9e29cf9d341bd1ab84e0e1a99985f2cceac2;hp=d5aec51a75226a81ec0212eece5ed20565496627;hpb=b9a8b8f4b6032b971efdd657bed34425ca93d1ed;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index d5aec51a75..c4dfb6df28 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,4 +1,598 @@ +2003-11-03 Alfredo Braunstein + + * PosIterator.C (distance, advance): new + * bufferview_funcs.[Ch] (put_selection_at): new + * iterators.[Ch] (lockPath): new + +2003-11-02 Alfredo Braunstein + + * iterators.[Ch] (asPosIterator): added + * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added + * PosIterator.[Ch]: added + +2003-11-01 Lars Gullik Bjønnes + + * text3.C: + * lyxfunc.C: + * cursor.C (dispatch): + * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes + + * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and + DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a + contructor, add a class function dispatched. Remove operator>= + +2003-11-01 Lars Gullik Bjønnes + + * debug.C: only use the default constructor for debugstream + (lyxerr) here. + + * main.C (main): include debug.h and setup the lyxerr streambuf + here. + +2003-10-31 José Matos + + * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C + + * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile): + * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString): + * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs): + * paragraph_pimpl.C (simpleTeXSpecialC): + * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii): + add LatexRunParams argument. + + * exporter.C (Export): change call accordingly. + + * latexrunparams.h: add new member to take care of the other backends. +2003-10-30 José Matos + + * buffer.C (makeLinuxDocFile, makeDocBookFile): + * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs): + factorise code for paragraph output. + * buffer.[Ch]: + * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar): + move functions. + +2003-10-29 Lars Gullik Bjønnes + + * text3.C (dispatch): + * lyxfunc.C (dispatch): + * cursor.C (dispatch): + * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout. + + * dispatchresult.h: make the dispatch_result_t ctor explicit + +2003-10-29 Martin Vermeer + + * sgml.[Ch]: + * buffer.C: small refactoring of docbook stuff + +2003-10-29 Lars Gullik Bjønnes + + * dispatchresult.h: remove FINISHED_POP as FINISHED has the same + meaning. + +2003-10-29 Lars Gullik Bjønnes + + * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove + operator dispatch_result_t, and operators for == != and >= + + * cursor.C (dispatch): adjust for operator dispatch_result_t + removal. comment out call to update + + * BufferView_pimpl.C (dispatch): dont implicit covert to bool + +2003-10-29 Lars Gullik Bjønnes + + * text3.C: + * text2.C: + * text.C: + * lyxtext.h: + * lyxfunc.C: + * cursor.C: + * BufferView_pimpl.C: dispatch_result -> DispatchResult changes. + (dispatch): + + * dispatchresult.h: new file, DispatchResult broken out of + insets/insetbase.h + + * Makefile.am (lyx_SOURCES): add dispatchresult.h + +2003-10-28 Alfredo Braunstein + + * text.C (rowBreakPoint): put a hack inside #if 0 + +2003-10-28 André Pönitz + + * lyxtext.h: + * metricsinfo.C: + * paragraph_funcs.C: + * rowpainter.C: + * text.C: + * text2.C: general cleanup (lots of small stuff) + +2003-10-28 Alfredo Braunstein + + * text2.C (cursorEnd): simple fix to the "end key goes to one + before the end on last row" bug + +2003-10-27 Alfredo Braunstein + + * text.C (backspace): fix the "zombie characters" + +2003-10-27 Alfredo Braunstein + + * lyxfunc.C (dispatch): small fix to toc navigation inside branches + +2003-10-27 André Pönitz + + * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK + + * factory.C: handle new InsetPagebreak, InsetLine + + * ParagraphParameters.h: remove [line|pagebreak]_[above|below] + and move handling into new InsetPagebreak, InsetLine + + * BufferView_pimpl.C: + * LyXAction.C: + * ParagraphParameters.C: + * ParameterStruct.h: + * lyxfunc.C: + * lyxtext.h: + * paragraph.C: + * paragraph.h: + * paragraph_funcs.C: + * paragraph_pimpl.C: + * rowpainter.C: + * text.C: + * text2.C: + * text3.C: adjust + +2003-10-27 Alfredo Braunstein + + * text.C: + * lyxrow_funcs.[Ch]: + * Bidi.C: + * paragraph.C: + * lyxtext.h: + * rowpainter.C: + * text2.C: + * text3.C: remove lastPos uses in favour of Row::endpos + +2003-10-27 Alfredo Braunstein + + * undo.C (performUndoOrRedo): fix two crashes by setting a + cursor by hand and reordering some calls. Use bv->lockInset instead + of inset->edit because the latter loses cursor information + +2003-10-25 Alfredo Braunstein + + * text.C (prepareToPrint): fix linebreak rowbreaking as suggested + by Martin + (rowBreakPoint): fix width. change point to point + 1. + Add a missing check. + +2003-10-25 Martin Vermeer + + * MenuBackend.C: + * lyxfunc.C: fix (at least partly) the problems + with the Nav menu and headers inside branch insets + reported by Kayvan + +2003-10-24 Alfredo Braunstein + + * paragraph.C (getChar): add strong asserts + + * lyxrow_funcs.C (lastPos): remove hideous hack + + * text.C (addressBreakPoint, rowBreakPoint): put endpos in place + (fill): adjust to that (avoid an infinite loop) + +2003-10-23 Alfredo Braunstein + + * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes" + +2003-10-23 André Pönitz + + * RowList_fwd.h: change list<> to vector<> to gain speed + after suggestion from Alfredo + +2003-10-23 Alfredo Braunstein + + * lyxtext.h: move the bidi stuff from here... + * text.C: and here + * text2.C: and here + * Bidi.[Ch]: ... to here + +2003-10-23 André Pönitz + + * lyxtext.h: + * text.C (isLastRow, isFirstRow): new functions + + * paragraph.h: new width cache member + + * rowpainter.C: replace RowList::iterator with Row & where possible + + * lyxfunc.C: replace several view()->text with a single call + + * toc.C: fix 'unused' warning + +2003-10-23 Lars Gullik Bjønnes + + * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types + when woring with stream::pos_type + * paragraph_pimpl.C (simpleTeXSpecialChars): ditto + +2003-10-22 André Pönitz + + * lyxtext.h: + * text.C: use Row & instead of RowList::iterator + + * lyxrow.h: rename end() to endpos() + + * rowpainter.C: + * text.C: + * text2.C: adjust + +2003-10-22 Angus Leeming + + * buffer.[Ch] (fully_loaded): new member function, returning true + only when the file has been loaded fully. + Used to prevent the premature generation of previews and by the + citation inset to prevent computation of the natbib-style label. + + * buffer_funcs.C (newFile): set Buffer::fully_loaded once the + templates are all set up. + + * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer. + +2003-10-22 Martin Vermeer + + * text.C: fixed an "oops" in the "is a bit silly" + bug fix + +2003-10-21 André Pönitz + + * FuncStatus.[Ch]: small stuff, whitespace + + * lyxfont.[Ch]: operator<<() for debug reasons + + * lyxfunc.C: + * lyxrow_funcs.C: + * lyxtext.h: whitespace, spelling + + * paragraph.C: naming of variables + + * text.C: + * text2.C: small stuff + + +2003-10-21 Martin Vermeer + + * text.C: (1) finish off the inset display() work; + (2) fix the "is a bit silly" bug (accessing char + past end of par). + +2003-10-20 Martin Vermeer + + * text.C: re-introduce display() for insets, fixing the + various bugs (stretch of line above, math inset + positioning, ...) + +2003-10-20 Jean-Marc Lasgouttes + + * text.C (rightMargin): remove spurious semicolon + + * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug + 1415) + +2003-10-18 Martin Vermeer + + * text3.C: fix one crash due to wrong cursor def + +2003-10-17 Lars Gullik Bjønnes + + * vc-backend.C (scanMaster): make the regex static + + * LaTeX.C (scanAuxFile): make the regexs static + + * text3.C (doInsertInset, dispatch, dispatch): + * text2.C (cursorUp, cursorDown): + * text.C (selectNextWordToSpellcheck): + * BufferView_pimpl.C (dispatch): + * lyxfunc.C (dispatch): localDispatch -> dispatch + +2003-10-14 Jean-Marc Lasgouttes + + * lyxsocket.C: include + +2003-10-17 Lars Gullik Bjønnes + + * lyxfunc.C (dispatch): remove textcache stuff + + * bufferlist.C (release): remove textcache stuff + (closeAll): ditto + + * TextCache.C: delete file + * TextCache.h: delete file + + * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h + + * BufferView_pimpl.C (buffer): remove textcache stuff, add a + delete of the bv_->text. + (resizeCurrentBuffer): remove texcache stuff + (workAreaResize): ditto + +2003-10-16 Lars Gullik Bjønnes + + * lyxfunc.C (getStatus): also set flag disabled if it is a unknown + action. + +2003-10-16 André Pönitz + + * lyxrow.[Ch]: + * paragraph.h: + * rowpainter.C: + * text.C: + * text2.C: + * text3.C: speed up by storing y positions per paragraph plus per-row + offset instead of having a 'full' y position in the row. + +2003-10-15 André Pönitz + + * iterators.[Ch]: + * iterators.[Ch]: + * undo.[Ch]: make undo aware of inner insets + +2003-10-14 Angus Leeming + + * lyx_main.[Ch]: make LyX a singleton class, accessible though the new + static member functions LyX::ref() and LyX::cref. + (lastfiles): new accessor functions for the new lastfiles_ member var. + (addLyXView, views_): add a new LyXView to the list of views_. + (updateInset): loop over all LyXViews to call their own updateInset + member function, returning a pointer to the Buffer owning the inset. + + * BufferView_pimpl.C (loadLyXFile): + * MenuBackend.C (expandLastfiles): + * bufferlist.C (MenuWrite, QuitLyX): + lastfiles is no longer a global variable. + Access through LyX::ref().lastfiles(), LyX::cref().lastfiles(). + + * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a + static function. Access through LyX::cref().emergencyCleanup(). + +2003-10-14 André Pönitz + + * iterators.[Ch]: new direct access to innermost LyXText and Inset + + * undo.[Ch]: restoring part of 'undo in insets' + + * Makefile.am: + * undo_funcs.[Ch]: merge with undo.[Ch] + + * tabular.C: small cleansing stuff + +2003-10-14 Alfredo Braunstein + + * paragraph_funcs.C (readParToken): report unknown insets as error + boxes. Use the outer paragraph as location (also for unknown + tokens). + + * factory.C (readInset): do not abort on reading an unknown inset. + Eat it and return 0. + +2003-10-13 Angus Leeming + + * lyx_main.C (LyX): remove call to setDisplayTranslator(). + + * lyxrc.C: displayTranslator is now a function, + declared in GraphicsTypes.h. + +2003-10-13 Joao Luis Meloni Assirati + + * format.C: new placeholder $$a to pass the socket address. + + * bufferlist.[Ch]: new function getBufferFromTmp. + + * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle + files in the temporary dir. + +2003-10-13 Joao Luis Meloni Assirati + + * lyxsocket.[Ch]: new files. A simple local socket interface for lyx. + + * Makefile.am: add lyxsocket.[Ch]. + + * lyx_main.C (error_handler): handle SIGPIPE. + +2003-10-13 André Pönitz + + * BufferView_pimpl.C: + * lyxtext.h: + * text.C: + * text2.C: + * text3.C: + * undo_funcs.[Ch]: use paroffset_type instead of + ParagraphList::iterators to prevent multiple conversion + (and get a more robust interface) + +2003-10-13 Lars Gullik Bjønnes + + * lyxfunc.C (dispatch): RESULT -> dispatch_result + * lyxtext.h: ditto + * text3.C (dispatch): ditto + +2003-10-13 Lars Gullik Bjønnes + + * LaTeX.C (handleFoundFile): move the static to smaller scope, + move the onlyfile, use onlyfile instead of foundfile in a couple + of places. + + * DepTable.C (update): flush the error stream a bit more + +2003-10-13 Lars Gullik Bjønnes + + * lyxserver.C (callback): adjust + + * lyxfunc.C (getStatus): add a missing brace in commented code + (ensureBufferClean): reindent + (dispatch): delete version taking a string + +2003-10-11 Lars Gullik Bjønnes + + * LaTeX.C (deplog): move found file handlig from here... + (handleFoundFile): .. to new function here. + (deplog): make sure to discover several files mentioned on the + same log line. + +2003-10-10 André Pönitz + + * lyxfunc.C: + * lyxtext.h: + * tabular.C: + * text.C: + * text2.C: + * text3.C: fix some of the tabular crashes + +2003-10-09 Lars Gullik Bjønnes + + * MenuBackend.C (binding): put debug message into Debug::KBMAP + + * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX. + +2003-10-09 André Pönitz + + * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator + + * BufferView.C: + * BufferView_pimpl.C: + * bufferview_funcs.C: + * lyx_cb.C: + * lyxcursor.C: + * lyxfind.C: + * lyxfunc.C: + * lyxtext.h: + * text.C: + * text2.C: + * text3.C: + * text_funcs.[Ch]: + * textcursor.[Ch]: + * undo_funcs.C: adjust + +2003-10-08 Lars Gullik Bjønnes + + * text2.C (incrementItemDepth): new function, use a backtracking + algorithm to discover the correct item depth. + (resetEnumCounterIfNeeded): new function, use a backtracking + algorithm to discover if counter reset is needed. + (setCounter): use them. Simplify a bit. Add different labels for + different item depths for itemize. + + * paragraph.C (Paragraph): remove initialization of enumdepth + (operator=): ditto + + * paragraph.h: get rid of enumdepth, and use itemdepth both for + enumerate and itemize. Change the type of itemdepth to signed char. + +2003-10-08 André Pönitz + + * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the + thing assignable. + * text.C: + * text2.C: adjust + + * tabular.[Ch]: fix crash after 'row-insert' + +2003-10-08 Angus Leeming + + Fix doxygen warnings. + + * CutAndPaste.[Ch] (availableSelections). Now returns a const vector. + Remove CutAndPaste:: prefix from header file declaration. + + * LColor.h (fill): remove LColor:: prefix from declaration. + + * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar): + use lyx::depth_type rather than Paragraph::depth_type so that + header file and .C file match. + + * converter.h (intToFormat): remove Converters:: prefix from declaration. + + * Spacing.h: \file Spacing.h -> \file src/Spacing.h + * aspell.C: \file aspell_local.C -> \file aspell.C + * gettext.C: \file gettext.C -> \file src/gettext.C + * gettext.h: \file gettext.h -> \file src/gettext.h + * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C + * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h + * text.C: \file text.C -> \file src/text.C + + * toc.C: move comment so that doxygen is not confused. + +2003-10-07 Angus Leeming + + * factory.C (createInset): InsetExternal::Params -> InsetExternalParams + +2003-10-07 Jürgen Spitzmüller + + * aspell.C: + * aspell_local.h: add forgotten std::string's. + +2003-10-07 Martin Vermeer + + * LaTeXFeatures.C: + * LyXAction.C: + * factory.C: + * lfuns.h: + * lyxfunc.C: + * text3.C: The Box patch. Fancybox support, minipage, parbox + +2003-10-07 Martin Vermeer + + * CutAndPaste.h: + * DepTable.h: + * FloatList.h: + * LaTeXFeatures.h: + * ParagraphParameters.h: + * TextCache.h: + * Thesaurus.h: + * bufferlist.h: + * exporter.h: + * importer.h: + * lastfiles.h: + * lyxfind.h: + * lyxfont.h: + * lyxlex.h: + * lyxtextclasslist.h: + * messages.h: + * paragraph.h: + * paragraph_pimpl.C: + * textcursor.h: add and other small fixes to make Lars' + std::string patch compile with STLport. + +2003-10-06 Angus Leeming + + * LColor.h: Add missing #include . + +2003-10-06 Lars Gullik Bjønnes + + * All most all file in all subdirs: Make be the prefered + way of getting to std::string, add using declarations. + +2003-10-06 André Pönitz + + * metricsinfo.C: initialize LyXFont before changing attribute. + (fixes the 'math in \emph is upright' bug) + +2003-10-06 André Pönitz + + * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_ + +2003-10-06 Martin Vermeer + + * graph.C: + * paragraph_pimpl.C: Small fixes to build using STLport + 2003-10-02 André Pönitz * lyxfunc.C: @@ -10,7 +604,7 @@ 2003-09-26 Lars Gullik Bjønnes - * lyx_main.C: remove the global debug object + * lyx_main.C: remove the global debug object * debug.h: adjust for new debugstream