]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
Final touch 'inset display()'; fix 'is a bit silly' bug
[lyx.git] / src / ChangeLog
index 8e37eb712eef920ed5dc3f29a1674e6a9489a803..c2e7649ee13be0a8fef638a6a93a1f752fedcc48 100644 (file)
@@ -1,3 +1,442 @@
+2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * 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  <martin.vermeer@hut.fi>
+
+       * text.C: re-introduce display() for insets, fixing the
+       various bugs (stretch of line above, math inset 
+       positioning, ...)
+
+2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text.C (rightMargin): remove spurious semicolon
+
+       * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
+       1415)
+
+2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * text3.C: fix one crash due to wrong cursor def
+
+2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * lyxsocket.C: include <cerrno>
+
+2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * 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  <larsbj@gullik.net>
+
+       * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
+       action.
+
+2003-10-16  André Pönitz  <poenitz@gmx.net>
+
+       * 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  <poenitz@gmx.net>
+
+       * iterators.[Ch]:
+       * iterators.[Ch]:
+       * undo.[Ch]: make undo aware of inner insets
+
+2003-10-14  Angus Leeming  <leeming@lyx.org>
+
+       * 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  <poenitz@gmx.net>
+
+       * 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  <abraunst@libero.it>
+
+       * 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  <leeming@lyx.org>
+
+       * 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 <assirati@fma.if.usp.br>
+
+       * 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 <assirati@fma.if.usp.br>
+
+       * 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  <poenitz@gmx.net>
+
+       * 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  <larsbj@gullik.net>
+
+       * lyxfunc.C (dispatch): RESULT -> dispatch_result
+       * lyxtext.h: ditto
+       * text3.C (dispatch): ditto
+
+2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * 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  <larsbj@gullik.net>
+
+       * 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  <larsbj@gullik.net>
+
+       * 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  <poenitz@gmx.net>
+
+       * 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  <larsbj@lyx.org>
+
+       * 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  <poenitz@gmx.net>
+
+       * 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  <larsbj@gullik.net>
+
+       * 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  <poenitz@gmx.net>
+
+       * 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  <leeming@lyx.org>
+
+       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  <leeming@lyx.org>
+
+       * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
+
+2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+       * aspell.C:
+       * aspell_local.h: add forgotten std::string's.
+
+2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
+
+       * LaTeXFeatures.C:
+       * LyXAction.C:
+       * factory.C:
+       * lfuns.h:
+       * lyxfunc.C:
+       * text3.C: The Box patch. Fancybox support, minipage, parbox
+
+2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
+
+       * 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 <string> and other small fixes to make Lars'
+       std::string patch compile with STLport.
+
+2003-10-06  Angus Leeming  <leeming@lyx.org>
+
+       * LColor.h: Add missing #include <string>.
+
+2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * All most all file in all subdirs: Make <string> be the prefered
+       way of getting to std::string, add using declarations.
+
+2003-10-06  André Pönitz  <poenitz@gmx.net>
+
+       * metricsinfo.C: initialize LyXFont before changing attribute.
+       (fixes the 'math in \emph is upright' bug)
+
+2003-10-06  André Pönitz  <poenitz@gmx.net>
+
+       * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
+
+2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * graph.C:
+       * paragraph_pimpl.C: Small fixes to build using STLport
+
+2003-10-02  André Pönitz  <poenitz@gmx.net>
+
+       * lyxfunc.C:
+       * text3.C: move handling of LFUN_DEPTH *; fix #1360
+
+2003-10-01  André Pönitz  <poenitz@gmx.net>
+
+       * factory.C: assert early
+
+2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * 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  <leeming@lyx.org>
+
+       * 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  <martin.vermeer@hut.fi>
+
+       * factory.C: bug fix in branches
+
+2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * 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 <boost/assert.hpp>
+       (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  <larsbj@gullik.net>
+
+       * 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  <leeming@lyx.org>
 
        * CutAndPaste.C (pasteSelection): remove fudge used to set the
        '*this' to the LaTeXFeatures ctor.
 
 2003-09-18  Angus Leeming  <leeming@lyx.org>
-       
+
        * LColor.h:
        * lyxfont.C:
        * lyxfont.h:
 
 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
-       * main.C: 
-       * lyx_main.C: 
-       * lyx_cb.C: 
-       * buffer.C: 
+       * main.C:
+       * lyx_main.C:
+       * lyx_cb.C:
+       * buffer.C:
        * LaTeX.C: use namespace alias for lyx::support::os
 
 2003-09-16  Angus Leeming  <leeming@lyx.org>