X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=054943975597c6fa95785a98cba4ae7acaa1e2c1;hb=50bbb55cb07642f4fa80fa5659de4826609da8f0;hp=9c447cce90fb6877fdd6e01492e8dc942fe8f41c;hpb=1331aacf5939e40c32faa075cbc874fc3d88052e;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index 9c447cce90..0549439755 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,629 @@ +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: + * text3.C: move handling of LFUN_DEPTH *; fix #1360 + +2003-10-01 André Pönitz + + * factory.C: assert early + +2003-09-26 Lars Gullik Bjønnes + + * lyx_main.C: remove the global debug object + + * debug.h: adjust for new debugstream + + * debug.C: adjust for new debugstream and keep the global debug + object here. + +2003-09-22 Angus Leeming + + * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions + of g++ which otherwise complain that the scoped_ptr destructor can't delete + an incomplete class LyXFont. + +2003-09-22 Martin Vermeer + + * factory.C: bug fix in branches + +2003-09-22 Lars Gullik Bjønnes + + * lyxfunc.C (processKeySym): adjust + (dispatch): adjust + (dispatch): change arg name from ev to func, adjust + (sendDispatchMessage): ditto + + * lyx_main.C (defaultKeyBindings): adjust keybindings + (deadKeyBindings): ditto + + * kbsequence.C (addkey): return a FuncRequest + + * kbmap.h (kb_key): struct var FuncRequest instead of int action. + + * kbmap.C (bind): take a FuncRequest as arg, adjust + (read): adjust + (lookup): adjust + (defkey): change to take a FuncRequest as arg, adjust + (findbinding): take a FuncRequest as arg, adjust. + + * funcrequest.h (operator=): added + + * funcrequest.C (FuncRequest): default kb_action changed from + LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION + + * buffer.C (dispatch): simplify + (dispatch): adjust to take a FuncRequest as arg, adjust + + * boost.C (assertion_failed): change assertion message slightly + + * ToolbarBackend.C (read): simplify + + * MenuBackend.C (binding): adjust call to findbinding, add a + message if no binding is found. + (read): simplify + (expandToc): correct by adding a empty FuncRequest + + * LyXAction.C: include + (isPseudoAction): delete function + (LookupFunc): change name to... + (lookupFunc): this. change return type to FuncRequest. + (getActionName): take kb_action as arg, simplify + (funcHasFlag): add an assert, simplify. + +2003-09-21 Lars Gullik Bjønnes + + * toc.C (action): return a FuncRequest, simplify + + * lyxfunc.C (processKeySym): adjust + (getStatus): delete version that takes an int. + (getStatus): adjust + (dispatch): delete version that takes action as int + (dispatch): adjust + (sendDispatchMessage): simplify and adjust + + * funcrequest.C (getArg): take unsigned int as arg + + * ToolbarBackend.C (read): adjust + (add): delete version that takes func as a string. + (getIton): take a FuncRequest as arg + + * MenuBackend.h (MenuItem): store a FuncRequest instead of an int + action. + + * MenuBackend.C (MenuItem): add a new construct that only takes a + Kind, simplify the constructor use for submenus. + (add): adjust + (expandLastfiles): adjust + (expandDocuments): adjust + (expandFormats): adjust + (expandFloatListInsert): adjust + (expandFloatInsert): adjust + (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust + + * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map. + Remove class variables lyx_pseudo_map and lyx_arg_map + + * LyXAction.C (searchActionArg): delete function + (getPseudoAction): delete function + (retrieveActionArg): delete function + (LookupFunc): make it return kb_action, simplify. + (getActionName): simplify + + * factory.C (createInset): fix new bug + +2003-09-19 Angus Leeming + + * CutAndPaste.C (pasteSelection): remove fudge used to set the + masterFilename_ parameter in the include inset. + + * factory.C (createInset): changes due to the changes to InsetInclude. + +2003-09-19 Juergen Spitzmueller + + * paragraph.C: use appropriate alignment tags inside floats (bug 1290) + +2003-09-18 Angus Leeming + + * buffer.C: + * BufferView.C: pass the buffer when calling Inset::getLabelList, + Inset::fillWithBibKeys. + * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg. + +2003-09-18 Angus Leeming + + * LaTeXFeatures.[Ch]: append a '_' to the names of all private member + variables. + (ctor): pass and store a 'Buffer const &' + (buffer): new member function. + + * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass + '*this' to the LaTeXFeatures ctor. + +2003-09-18 Angus Leeming + + * LColor.h: + * lyxfont.C: + * lyxfont.h: + * lyxtext.h: + * text.C: rename EnumLColor as LColor_color. + +2003-09-18 Angus Leeming + + * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to + remove #include "insets/insetbase.h" from cursor.h. + +2003-09-18 Angus Leeming + + * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class + InsetOld_code to remove #include "inset.h". + + * iterators.C: add #include "insets/inset.h" + +2003-09-16 Martin Vermeer + + * BufferView.C: remove more locking stuff that apparently doesn't + do anything sensible. + +2003-09-16 André Pönitz + + * paragraph.[Ch]: + * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10% + performance boost. + +2003-09-16 Angus Leeming + + * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE. + + * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function + arg/return type. + + * paragraph.h: remove #include "lyxfont.h". Forward declare + LyXFont_size. + +2003-09-16 Angus Leeming + + * paragraph.C (IsInsetChar): new function in namespace anon, moved out + of support/textutils.h. + (isWord): move the contents of support/textutils.h's IsWordChar here. + + * buffer.C: + * lyxfind.C: + * rowpainter.C: + * text.C: + * text2.C: add #include "paragraph.h". + + * rowpainter.C: + * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET. + +2003-09-16 Lars Gullik Bjønnes + + * main.C: + * lyx_main.C: + * lyx_cb.C: + * buffer.C: + * LaTeX.C: use namespace alias for lyx::support::os + +2003-09-16 Angus Leeming + + * bufferparams.C: + * bufferview_funcs.C: + * factory.C: + * lyxfunc.C: + * paragraph_pimpl.C: + * rowpainter.C: + * text.C: add #include "LColor.h". + +2003-09-16 Angus Leeming + + * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph, + setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer + return LyXFont &. + Store the FontBits::color variable as an int rather than as an + LColor::colorso that we can move LColor.h out of the lyxfont.h header + file. + + * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker): + LyXFont::setColor, decSize no longer return a LyXFont &, so cannot + string calls together. + + * lyxrc.C: add #include "LColor.h". + +2003-09-15 Angus Leeming + + * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as + a cow_ptr. + +2003-09-15 Angus Leeming + + * LColor.h: add an EnumLColor wrapper for LColor::color. + + * lyxfont.[Ch] (color, setColor, realColor): + * lyxtext.h, text.C (backgroundColor): + pass EnumLColor args to/from the functions, rather than LColor::color + ones. + + * lyxfont.h: + * lyxtext.h: forward declare EnumLColor. + + * lyx_main.C: add #include "LColor.h". + +2003-09-15 Angus Leeming + + * .cvsignore: add lyx-gtk. + +2003-09-15 Lars Gullik Bjønnes + + * Chktex.C + * LaTeX.C + * LaTeXFeatures.C + * ParagraphParameters.C + * Spacing.C + * buffer.C + * bufferparams.C + * bufferview_funcs.C + * chset.C + * counters.C + * funcrequest.C + * lyxfont.C + * lyxgluelength.C + * lyxlength.C + * paragraph.C + * paragraph_funcs.C + * text3.C + * vc-backend.C: remove usage of STRCONV + +2003-09-15 Angus Leeming + + * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart): + explicitly define the color passed to the painter. + +2003-09-15 Angus Leeming + + * bufferparams.C (BufferParams): reorder member initializers to avoid + compiler warning. + +2003-09-15 Alfredo Braunstein + + * CutAndPaste.C (pasteSelection): remove an outdated #warning + * text.C (updateRowPositions): remove an unusual nop + +2003-09-12 André Pönitz + + * BufferView_pimpl.C: + * Bullet.C: + * layout.h: + * lyxfunc.C: + * lyxlayout.[Ch]: + * lyxtextclass.C: + * rowpainter.C: + * text.C: + * text2.C: + * Counters.[Ch]: finish the 'automatic counters' job + +2003-09-12 Juergen Spitzmueller + + * aspell.C: include (compile fix) + 2003-09-10 Rob Lahaye * boost.C (assertion_failed): use lyx::support::abort instead of @@ -5,8 +631,8 @@ 2003-09-10 Angus Leeming - * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their - _fwd progeny. + * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h + with their _fwd progeny. 2003-09-09 Angus Leeming @@ -84,7 +710,8 @@ * lyx_main.h: remove #include . * lyxlex_pimpl.h: remove #include . * sgml.h: remove #include , . - * toc.h: remove #include "support/std_ostream.h". Add #include . + * toc.h: remove #include "support/std_ostream.h". + Add #include . 2003-09-07 Angus Leeming @@ -101,7 +728,8 @@ * insets/insetinclude.h: remove #include "dimension.h". * insets/insetlatexaccent.h: remove #include "dimension.h". * insets/insetoptarg.h:: remove #include "insettext.h". - * insets/insettext.h: remove #include "dimension.h", + * insets/insettext.h: remove #include "dimension.h", + * insets/renderers.h: add #include "dimension.h". * insets/updatableinset.h: add #include "support/types.h". @@ -110,8 +738,8 @@ 2003-09-06 Angus Leeming - * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one, - inside testInvariant. + * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just + one, inside testInvariant. * PrinterParams.C: new file. * PrinterParams.[Ch]: move the function bodies out of line. @@ -221,8 +849,8 @@ 2003-09-06 Angus Leeming - * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than - #including paragraph.h. + * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather + than #including paragraph.h. * ParagraphList.h: * RowList.h: deleted. Superfluous. @@ -235,7 +863,8 @@ * undo.h: * undo_funcs.h: * insets/inset.h: - * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h. + * insets/insettext.h: use ParagraphList_fwd.h rather than + ParagraphList.h. * paragraph.h: don't forward declare ParagraphList. @@ -382,8 +1011,8 @@ 2003-09-03 Angus Leeming * LaTeXFeatures.[Ch]: replace the externalPreambles string with a - preamble_snippets list, enabling us to add snippets to the preamble only - if the snippet was not there already. + preamble_snippets list, enabling us to add snippets to the preamble + only if the snippet was not there already. 2003-09-04 Angus Leeming