]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
remove some more debug noise
[lyx.git] / src / ChangeLog
index 760f3d5b99ee41921ca9dacbc7266c08cf59dad3..2b46262866ff20b0d04f52fcaaded2bdd47625d2 100644 (file)
@@ -1,9 +1,284 @@
+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
+       masterFilename_ parameter in the include inset.
+
+       * factory.C (createInset): changes due to the changes to InsetInclude.
+
+2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
+
+       * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
+
 2003-09-18  Angus Leeming  <leeming@lyx.org>
 
-       * LaTeXFeatures.[Ch]: append an '_' to the names of all private member variables.
+       * 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  <leeming@lyx.org>
-       
+
+       * 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  <leeming@lyx.org>
+
        * LColor.h:
        * lyxfont.C:
        * lyxfont.h:
 
 2003-09-18  Angus Leeming  <leeming@lyx.org>
 
-       * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to remove
-       #include "insets/insetbase.h" from cursor.h.
+       * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
+       remove #include "insets/insetbase.h" from cursor.h.
 
 2003-09-18  Angus Leeming  <leeming@lyx.org>
 
        * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
        arg/return type.
 
-       * paragraph.h: remove #include "lyxfont.h". Forward declare LyXFont_size.
+       * paragraph.h: remove #include "lyxfont.h". Forward declare
+       LyXFont_size.
 
 2003-09-16  Angus Leeming  <leeming@lyx.org>
 
-       * paragraph.C (IsInsetChar): new function in namespace anon, moved out of
-       support/textutils.h.
+       * 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:
 
 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>
 
 2003-09-16  Angus Leeming  <leeming@lyx.org>
 
-       * 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::color
-       so that we can move LColor.h out of the lyxfont.h header file.
+       * 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.
+       LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
+       string calls together.
 
        * lyxrc.C: add #include "LColor.h".
 
 2003-09-15  Angus Leeming  <leeming@lyx.org>
 
-       * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as a cow_ptr.
+       * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
+       a cow_ptr.
 
 2003-09-15  Angus Leeming  <leeming@lyx.org>
 
 
        * lyxfont.[Ch] (color, setColor, realColor):
        * lyxtext.h, text.C (backgroundColor):
-       pass EnumLColor args to/from the functions, rather than LColor::color ones.
+       pass EnumLColor args to/from the functions, rather than LColor::color
+       ones.
 
        * lyxfont.h:
        * lyxtext.h: forward declare EnumLColor.
 
 2003-09-10  Angus Leeming  <leeming@lyx.org>
 
-       * 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  <leeming@lyx.org>
 
        * lyx_main.h: remove #include <csignal>.
        * lyxlex_pimpl.h: remove #include <fstream>.
        * sgml.h: remove #include <algorithm>, <utility>.
-       * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
+       * toc.h: remove #include "support/std_ostream.h".
+       Add #include <iosfwd>.
 
 2003-09-07  Angus Leeming  <leeming@lyx.org>
 
        * 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", <boost/shared_ptr.hpp>
+       * insets/insettext.h: remove #include "dimension.h",
+       <boost/shared_ptr.hpp>
 
        * insets/renderers.h: add #include "dimension.h".
        * insets/updatableinset.h: add #include "support/types.h".
 
 2003-09-06  Angus Leeming  <leeming@lyx.org>
 
-       * 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.
 
 2003-09-06  Angus Leeming  <leeming@lyx.org>
 
-       * 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.
        * 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.
 
 2003-09-03  Angus Leeming  <leeming@lyx.org>
 
        * 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  <leeming@lyx.org>