]> git.lyx.org Git - lyx.git/commitdiff
the doxygen patch
authorLars Gullik Bjønnes <larsbj@gullik.org>
Sat, 28 Jun 2003 01:23:11 +0000 (01:23 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Sat, 28 Jun 2003 01:23:11 +0000 (01:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7219 a592a061-630c-0410-9148-cb99ea01b6c8

63 files changed:
ChangeLog
sourcedoc/Doxyfile.in
src/ChangeLog
src/CutAndPaste.C
src/CutAndPaste.h
src/buffer.C
src/bufferlist.h
src/converter.C
src/debug.C
src/frontends/controllers/BCView.h
src/frontends/controllers/ButtonController.h
src/frontends/controllers/ChangeLog
src/frontends/controllers/ControlAboutlyx.h
src/frontends/controllers/ControlErrorList.h
src/frontends/controllers/Dialog.h
src/frontends/controllers/Kernel.C
src/frontends/controllers/Kernel.h
src/frontends/gnome/ChangeLog
src/frontends/gnome/FileDialog.C
src/frontends/qt2/BulletsModule.C
src/frontends/qt2/ChangeLog
src/frontends/qt2/QAboutDialog.C
src/frontends/qt2/QBrowseBox.C
src/frontends/qt2/QBrowseBox.h
src/frontends/qt2/QDelimiterDialog.C
src/frontends/qt2/QDelimiterDialog.h
src/frontends/qt2/QLPopupMenu.C
src/frontends/qt2/QMathDialog.C
src/frontends/qt2/QRefDialog.h
src/frontends/qt2/QSpellcheckerDialog.C
src/frontends/xforms/ChangeLog
src/frontends/xforms/combox.h
src/frontends/xforms/freebrowser.h
src/importer.C
src/insets/ChangeLog
src/insets/ExternalTemplate.h
src/insets/inset.C
src/insets/insetbibitem.C
src/insets/insetbibtex.C
src/insets/insetbibtex.h
src/insets/insetinclude.C
src/insets/insetspace.h
src/lyxlayout.h
src/lyxtext.h
src/lyxvc.C
src/mathed/ChangeLog
src/mathed/command_inset.h
src/mathed/formula.h
src/mathed/math_binaryopinset.C
src/mathed/math_data.C
src/mathed/math_extern.C
src/mathed/math_gridinset.C
src/mathed/math_support.C
src/mathed/math_symbolinset.C
src/mathed/math_symbolinset.h
src/support/ChangeLog
src/support/LAssert.h
src/support/boost-inst.C
src/support/filetools.C
src/support/filetools.h
src/support/lyxstring.C
src/text.C
src/textcursor.C

index 625fad813a496d367fc7d74766201c934ecc3587..068f9dac409527bc8a051e4ba6fc378f4ffdcacd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * sourcedoc/Doxyfile.in (EXCLUDE): exclude gnome and generated
+       files in qt dir.
+
 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * lyx.man: change env variable from foo_13x to foo_14x
index ff5659d58b0a89e9cc23bf7c15d4d30ea2300ac1..24eb816ca1c1116f2fe57956aa5cf3796c0e9f8e 100644 (file)
@@ -324,7 +324,7 @@ RECURSIVE              = YES
 # excluded from the INPUT source files. This way you can easily exclude a 
 # subdirectory from a directory tree whose root is specified with the INPUT tag.
 
-EXCLUDE                = 
+EXCLUDE                =  ../src/frontends/gnome ../src/frontends/qt2/moc ../src/frontends/qt2/ui/moc
 
 # The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories 
 # that are symbolic links (a Unix filesystem feature) are excluded from the input.
index bd94f766be66bbfecf39e16a3d5ab0f99cfc343c..987d817830ddb2dcdd67afce03a4973498df3124 100644 (file)
@@ -1,3 +1,27 @@
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * textcursor.C: add <config.h>
+
+       * text.C (getWord): remove const from word_location arg
+
+       * lyxvc.C (getLogFile): fix const type order
+
+       * lyxtext.h: remove const from word_location arg, add arg name
+
+       * lyxlayout.h: currect type on labeltype.
+
+       * importer.C: correct \file
+
+       * converter.C (intToFormat): use std:: on ret val, ws changes
+
+       * bufferlist.h: correct \file
+
+       * buffer.C (makeLinuxDocFile): fix const type order
+       (makeDocBookFile): ditto
+       (fillWithBibKeys): use std:: on stdlib args.
+
+       * CutAndPaste.C: fix authors.
+       (availableSelections): use std:: on return vector
 
 2003-06-27  André Pönitz  <poenitz@gmx.net>
 
 
 2003-06-26  Alfredo Brauntein  <abraunst@lyx.org>
 
-       * lyx_main.C (LyX): get full path of document loaded on the 
-       command line    
+       * lyx_main.C (LyX): get full path of document loaded on the
+       command line
 
 2003-06-26  André Pönitz  <poenitz@gmx.net>
 
        * lyxcursor.[Ch]: move rarely used operator==,!= out of line
          remove unused/broken operator>,<,>=.
-       
+
        *       text.C: remove only use of broken operator<= in an Assert().
 
 2003-06-24  Alfredo Brauntein  <abraunst@lyx.org>
 
-       * BufferView.[Ch] (getErrorList): removed unneeded forward declare, 
+       * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
        moved errorlist_.clear to showErrorList
-       
+
 2003-06-24  Alfredo Brauntein  <abraunst@lyx.org>
 
        * converter.C (scanLog, runLaTeX):
@@ -47,7 +71,7 @@
        namespace, the second to...
        * buffer_funcs (BufferFormat, parseErrors): added
        * errorlist.C (ErrorList(TeXErrors const &)): removed
-       
+
 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * ToolbarBackend.C (getIcon): complain when icon cannot be found
 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
 
        * buffer.C: fix a bug just introduced
-       
+
 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
 
-       * buffer.[Ch]: added the parseError signal and use it, removed 
+       * buffer.[Ch]: added the parseError signal and use it, removed
        sgmlError
        * BufferView.[Ch] (addError): moved to ...
-       * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach 
+       * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
        to the Buffer::parseError signal to catch (guess what) parse errors
        * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
-       
+
 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
 
-       * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the 
-       ability to create a buffer and to return an existing one from 
+       * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
+       ability to create a buffer and to return an existing one from
        the list. Moved these functions to...
        * buffer_funcs.[Ch]: added
        * BufferView.[Ch] (loadLyXFile): added
-       * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing 
+       * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
        job removed from bufferlist::loadLyXFile.
-       * buffer.C (setReadOnly): make it work without view 
+       * buffer.C (setReadOnly): make it work without view
        (i.e added an if (users))
-       
+
 2003-06-19  Angus Leeming  <leeming@lyx.org>
 
        * lfuns.h:
index f1057254e522d9a0f7513980a2a466d7c1a15ebc..54ae59110bd5089a809690c9e2c16ca81bd908f8 100644 (file)
@@ -2,8 +2,9 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Jurgen Vigna
+ * \author Juergen Vigna
  * \author Lars Gullik Bjønnes
+ * \author Alfredo Braunstein
  *
  * Full author contact details are available in file CREDITS
  */
@@ -49,7 +50,8 @@ CutStack cuts(10);
 
 } // namespace anon
 
-vector<string>
+
+std::vector<string>
 CutAndPaste::availableSelections(Buffer const & buffer)
 {
        vector<string> selList;
index 615222ce2bc887963b227cec8eac4c05518d4763..bb12c2d9dd241f142dd4f2d378267aa140af4b8a 100644 (file)
@@ -1,10 +1,11 @@
 // -*- C++ -*-
-/* \file CutAndPaste.C
+/* \file CutAndPaste.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Jurgen Vigna
+ * \author Juergen Vigna
  * \author Lars Gullik Bjønnes
+ * \author Alfredo Braunstein
  *
  * Full author contact details are available in file CREDITS
  */
index 658cc859c46c22d4c999a79b182cdb9a1ebbed2f..15d21658e15084f79459176926c66656725d7374 100644 (file)
@@ -282,10 +282,10 @@ int Buffer::readHeader(LyXLex & lex)
                        } else {
                                ++unknown_tokens;
                                string const s = bformat(_("Unknown token: "
-                                                          "%1$s %2$s\n"), 
-                                                        token, 
+                                                          "%1$s %2$s\n"),
+                                                        token,
                                                         lex.getString());
-                               parseError(ErrorItem(_("Header error"), s, 
+                               parseError(ErrorItem(_("Header error"), s,
                                                     -1, 0, 0));
                        }
                }
@@ -1119,7 +1119,7 @@ void Buffer::makeLinuxDocFile(string const & fname, bool nice, bool body_only)
                ofs << "<!doctype linuxdoc system";
 
                string preamble = params.preamble;
-               const string name = nice ? ChangeExtension(filename_, ".sgml")
+               string const name = nice ? ChangeExtension(filename_, ".sgml")
                         : fname;
                preamble += features.getIncludedFiles(name);
                preamble += features.getLyXSGMLEntities();
@@ -1553,7 +1553,7 @@ void Buffer::makeDocBookFile(string const & fname, bool nice, bool only_body)
                    << "  PUBLIC \"-//OASIS//DTD DocBook V4.1//EN\"";
 
                string preamble = params.preamble;
-               const string name = nice ? ChangeExtension(filename_, ".sgml")
+               string const name = nice ? ChangeExtension(filename_, ".sgml")
                         : fname;
                preamble += features.getIncludedFiles(name);
                preamble += features.getLyXSGMLEntities();
@@ -2008,7 +2008,7 @@ void Buffer::getLabelList(std::vector<string> & list) const
 
 
 // This is also a buffer property (ale)
-void Buffer::fillWithBibKeys(vector<pair<string, string> > & keys) const
+void Buffer::fillWithBibKeys(std::vector<std::pair<string, string> > & keys) const
 {
        /// if this is a child document and the parent is already loaded
        /// use the parent's list instead  [ale990412]
index a9f8768c1d2d9afe29d3bfb79a4fd62df46f9cd8..4cedb64c9b5e0e2334626d521c1230861df352b2 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file bufferlist.C
+ * \file bufferlist.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
index c93b39f3f6a77ccee80a9c08d04eaf86e0161d71..5061d37218bfa03e3bf8b4510513c2ada8a7a0f3 100644 (file)
@@ -68,6 +68,7 @@ Converter::Converter(string const & f, string const & t, string const & c,
                             original_dir(false), need_aux(false)
 {}
 
+
 void Converter::readFlags()
 {
        string flag_list(flags);
@@ -581,6 +582,7 @@ string const Converters::dvipdfm_options(Buffer const * buffer)
        return result;
 }
 
+
 void Converters::buildGraph()
 {
        G_.init(formats.size());
@@ -593,7 +595,8 @@ void Converters::buildGraph()
        }
 }
 
-vector<Format const *> const
+
+std::vector<Format const *> const
 Converters::intToFormat(std::vector<int> const & input)
 {
        vector<Format const *> result(input.size());
@@ -616,6 +619,7 @@ Converters::getReachableTo(string const & target, bool clear_visited)
        return intToFormat(reachablesto);
 }
 
+
 vector<Format const *> const
 Converters::getReachable(string const & from, bool only_viewable,
             bool clear_visited)
@@ -628,12 +632,14 @@ Converters::getReachable(string const & from, bool only_viewable,
        return intToFormat(reachables);
 }
 
+
 bool Converters::isReachable(string const & from, string const & to)
 {
        return G_.isReachable(formats.getNumber(from),
                              formats.getNumber(to));
 }
 
+
 Graph::EdgePath const
 Converters::getPath(string const & from, string const & to)
 {
@@ -641,6 +647,7 @@ Converters::getPath(string const & from, string const & to)
                          formats.getNumber(to));
 }
 
+
 /// The global instance
 Converters converters;
 
index a40f6c45fedd612913b06889d33b7d684d1f7e3e..9c7e8c58d03676e81b2533fcf087bcb8691671e7 100644 (file)
@@ -105,7 +105,7 @@ void Debug::showLevel(ostream & os, Debug::type level)
                    && errorTags[i].level != Debug::NONE
                    && errorTags[i].level & level) {
                        // avoid _(...) re-entrance problem
-                       const string s = _(errorTags[i].desc);
+                       string const s = _(errorTags[i].desc);
                        os << bformat(_("Debugging `%1$s' (%2$s)"),
                                        errorTags[i].name, s);
                }
index b21baf1fe5d5d3f055c63072e71e1010b5ea2c7b..707192d27cc5cc8ebcfde464363897c74e7e74c3 100644 (file)
@@ -24,7 +24,7 @@ class ButtonController;
 class ButtonPolicy;
 
 
-/** \class CheckedWidget is an abstract base class that can be stored
+/** \c CheckedWidget is an abstract base class that can be stored
  *  in the button controller's view and can be interrogated by it
  *  when the activation state of the Ok, Apply buttons is refreshed.
  *  Ideally, the user will be prevented from returning invalid data
@@ -32,7 +32,7 @@ class ButtonPolicy;
  *
  *  Many widgets can be grouped together in the derived class if they
  *  make a logical whole. E.g., an input and a choice widget that together
- *  are used to set a LyXLength can be interrogated together. 
+ *  are used to set a LyXLength can be interrogated together.
  */
 struct CheckedWidget {
        ///
@@ -46,7 +46,7 @@ struct CheckedWidget {
 };
 
 
-/** \class BCView is the View to ButtonController's Controller. It
+/** \c BCView is the View to ButtonController's Controller. It
  *  stores the individual GUI widgets and sets their activation state
  *  upon receipt of instructions from the controller.
  *
index a5d44adc75efc5e1c87720d91c6334ac54fc5e3e..396a9f6068cda9e75d1b3b48b08c0dda11761f36 100644 (file)
@@ -22,7 +22,7 @@
 class BCView;
 
 
-/** \class ButtonController controls the activation of the OK, Apply and
+/** \c ButtonController controls the activation of the OK, Apply and
  *  Cancel buttons.
  *
  * It actually supports 4 buttons in all and it's up to the user to decide on
@@ -72,7 +72,6 @@ public:
         *  of the BC to reflect the read-only status of the underlying buffer.
         */
        void refreshReadOnly() const;
-       //@}
 
        /** Passthrough function -- returns its input value
         *  Tell the BC about the read-only status of the underlying buffer.
index 93b3f5fcb33c960209e2206df0de622e82a49389..ee0c3ee78f013a0113161dedba4254373b83a110 100644 (file)
@@ -1,6 +1,21 @@
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Kernel.h: fix some \class issues
+
+       * Kernel.C: fix \file
+
+       * Dialog.h: fix some \class issues
+
+       * ControlErrorList.h: correct const type order, remove some
+       ControlErrorList:: from declarations.
+
+       * BCView.h: fix usage of \class to \c
+       * ControlAboutlyx.h: ditto
+       * ButtonController.h: ditto + remove misplaced end doxy group tag
+
 2003-06-24  Alfredo Braunstein  <abraunst@libero.it>
 
-       * ControlDocument.C (classApply): removed the call to resetErrorList, 
+       * ControlDocument.C (classApply): removed the call to resetErrorList,
        replaced setErrorList by parseErrors
 
 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
index acb7dc1b936a5dda51177eef87049c3982909f2d..708df3bfc0d9236c6d1cbca014636fcf297e935b 100644 (file)
@@ -16,7 +16,7 @@
 #include "Dialog.h"
 #include <iosfwd>
 
-/** \class ControlAboutlyx is a controller for the "About LyX" dialogs.
+/** \c ControlAboutlyx is a controller for the "About LyX" dialogs.
  */
 class ControlAboutlyx : public Dialog::Controller {
 public:
index 50b76fad779ddf83062be95299bfbe6e9474a365..3ed18213d9a2300316fe9c5a85784707f8eb3900 100644 (file)
@@ -29,11 +29,11 @@ public:
        ///
        virtual bool isBufferDependent() const { return true; }
        ///
-       virtual bool initialiseParams(const string & params);
+       virtual bool initialiseParams(string const & params);
        ///
-       virtual void ControlErrorList::clearParams();
+       virtual void clearParams();
        ///
-       virtual void ControlErrorList::dispatchParams() {}
+       virtual void dispatchParams() {}
 
        /// goto this error in the parent bv
        void goTo(int item);
index 53e1b5ad7418fb5a6a7f3f52be87422400b5c2f7..dd23f45ed4ef7a522189c0224cf69d2b83cd2093 100644 (file)
@@ -23,12 +23,12 @@ class LyXView;
 class ButtonController;
 
 
-/** \class Dialog collects the different parts of a Model-Controller-View
+/** \c Dialog collects the different parts of a Model-Controller-View
  *  split of a generic dialog together.
  */
 class Dialog : boost::noncopyable {
 public:
-       /** \param name is the identifier given to the dialog by its parent
+       /** \param name the identifier given to the dialog by its parent
         *  container.
         */
        Dialog(LyXView &, string const & name);
@@ -118,7 +118,7 @@ private:
 };
 
 
-/** \class Dialog::Controller is an abstract base class for the Controller
+/** \c Dialog::Controller is an abstract base class for the Controller
  *  of a Model-Controller-View split of a generic dialog.
  */
 class Dialog::Controller : boost::noncopyable {
@@ -174,7 +174,7 @@ private:
 };
 
 
-/** \class Dialog::View is an abstract base class to the View
+/** \c Dialog::View is an abstract base class to the View
  *  of a Model-Controller-View split of a generic dialog.
  */
 class Dialog::View : boost::noncopyable {
index ac4f4e51b1b2f6c84f9e98d1e0c32e035084794e..30a7df946a2880f26e56fc1d126b495f014794f5 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file Kernel.h
+ * \file Kernel.C
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
index 60d7cfc47fce35d48383fe29865e06a9134f807f..87d61ddee7f63334387085f8a4146cb8896614f8 100644 (file)
@@ -22,7 +22,7 @@ class FuncRequest;
 class LyXView;
 
 
-/** \class Kernel is a wrapper making the LyX kernel available to the dialog.
+/** \c Kernel is a wrapper making the LyX kernel available to the dialog.
  * (Ie, it provides an interface to the Model part of the Model-Controller-
  *  View split.
  *  In an ideal world, it will shrink as more info is passed to the
index 3924ef2b1c7e7b295a02a0fb68885809b8aae752..d632f36592a3154850d4a5ce29bd23a9eb671ccf 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * FileDialog.C: fix const type order
+
 2003-02-21  Angus Leeming  <leeming@lyx.org>
 
        * Timeout_pimpl.[Ch]: removed.
@@ -11,7 +15,7 @@
 2003-02-14  John Levon  <levon@movementarian.org>
 
        * FileDialog.C: remove spurious allow/prohibitInput()
+
 2003-02-12  Michael A. Koziarski  <michael@koziarski.com>
 
        * GChanges.C
index 102577d6519429b9ca02dafa63bc312b2ce0fa82..8a0e554b3a341f922f992d4dafade32da6f0dd47 100644 (file)
@@ -25,8 +25,8 @@ public:
        Private(string const & title);
 
        void set_modal(bool modal) { modal_ = modal; }
-       void set_complete(const string & pattern) { sel_.complete(pattern); }
-       void set_filename(const string & filename) { sel_.set_filename(filename);}
+       void set_complete(string const & pattern) { sel_.complete(pattern); }
+       void set_filename(string const & filename) { sel_.set_filename(filename);}
 
        string const exec();
 
index 7e83bfb8a5f7083dbd0433815f40c51a4207ade4..4d2cb14b4f1789d3938505b138f487ac6007b6e7 100644 (file)
@@ -27,7 +27,7 @@
 #include <qpushbutton.h>
 #include <qcombobox.h>
 
-BulletsModule::BulletsModule(QWidget * parent,  char const * name, WFlags fl)
+BulletsModule::BulletsModule(QWidget * parent,  const char * name, WFlags fl)
        : BulletsModuleBase(parent, name, fl), tmpbulletset(0)
 {
        for (int iter = 0; iter < 4; ++iter) {
index 0e981e12862552ed57262b90c89beb94eb5ab36c..2053ef25447310a1ce4ffe61620c77d8ea20168a 100644 (file)
@@ -1,7 +1,18 @@
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * QLPopupMenu.C: fix \file
+
+       * BulletsModule.C (BulletsModule): fix type const order (opposite
+       of everywhere else in the lyx code)
+       * QAboutDialog.C (QAboutDialog): ditto
+       * QBrowseBox.C (QBrowseBox): ditto
+       (exec): ditto
+       * and several more files the same...
+
 2003-06-27  Alfredo Braunstein  <abraunst@libero.it>
 
        * lyx_gui.C (start): use BufferView::loadLyXFile
-       
+
 2003-06-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * Toolbar_pimpl.C (add): do not add unknown lfuns
        * QError.[Ch]:
        * QErrorDialog.[Ch]:
        * ui/QErrorDialogBase.ui: removed
-       * Makefile.am: 
-       * Makefile.dialogs: 
+       * Makefile.am:
+       * Makefile.dialogs:
        * Dialogs.C: adjust
 
 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
 
-       * QDocumentDialog.C: header reordering to handle qt/boost "signals" 
+       * QDocumentDialog.C: header reordering to handle qt/boost "signals"
        symbol clash
 
 2003-06-20  Angus Leeming  <leeming@lyx.org>
@@ -33,9 +44,9 @@
 
 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
 
-       * lyx_gui.C (start): call ::loadLyXFile instead 
+       * lyx_gui.C (start): call ::loadLyXFile instead
        of BufferList::loadLyXFile
-       
+
 2003-06-19  Angus Leeming  <leeming@lyx.org>
 
        * Dialogs.C:
@@ -70,7 +81,7 @@
        * QMathMatrixDialog.[Ch]: store a QMathMatrix*, not a QMath*.
 
        * QMathDialog.C (delimiterClicked, matrixClicked): fix memory leaks.
-       
+
 2003-06-14  John Levon  <levon@movementarian.org>
 
        * ui/QPrintDialogBase.ui: make "OK" default
 
 2003-05-20  Alfredo Braunstein  <abraunst@libero.it>
 
-       * QErrorList.[Ch]: small bugs fixed. 
+       * QErrorList.[Ch]: small bugs fixed.
 
 2003-05-17  Alfredo Braunstein  <abraunst@libero.it>
 
        * QErrorList.C (update_contents): replace TextBrowser::clear() by
-       TextBrowser::setText(QString()) 
+       TextBrowser::setText(QString())
 
 2003-05-14  Juergen Spitzmueller <juergen.sp@t-online.de>
 
index 7357fb4188c3e3deef267b8a94f8e9a36e2910db..c5f0a4c281da980d1e49f9d1395487d71bf3c653 100644 (file)
@@ -14,7 +14,7 @@
 #include "QAboutDialog.h"
 
 
-QAboutDialog::QAboutDialog(QWidget * parent, char const * name,
+QAboutDialog::QAboutDialog(QWidget * parent, const char * name,
                           bool modal, WFlags fl)
     : QAboutDialogBase(parent, name, modal, fl)
 {
@@ -22,5 +22,4 @@ QAboutDialog::QAboutDialog(QWidget * parent, char const * name,
 
 
 QAboutDialog::~QAboutDialog()
-{
-}
+{}
index 2f732e7431f95ca418f7b18d766d91c3864170c3..701d8f8c4cd59e20d26c83d1a4e0ae0cf51c55bb 100644 (file)
@@ -25,7 +25,7 @@
 #include <cmath>
 
 
-QBrowseBox::QBrowseBox(int rows, int cols, QWidget* parent, const char* name, WFlags f)
+QBrowseBox::QBrowseBox(int rows, int cols, QWidget* parent, const char * name, WFlags f)
        : QGridView(parent,name,f)
 {
        setNumRows(rows);
@@ -103,13 +103,13 @@ QPixmap QBrowseBox::pixmap(int row, int col)
 }
 
 
-int QBrowseBox::exec(const QPoint& pos)
+int QBrowseBox::exec(const QPoint & pos)
 {
        return exec(pos.x(),pos.y());
 }
 
 
-int QBrowseBox::exec(const QWidget* trigger)
+int QBrowseBox::exec(const QWidget * trigger)
 {
        QPoint globalpos = trigger->parentWidget()->mapToGlobal( trigger->pos());
        // is there enough space to put the box below the trigger?
index 0db6e018f2c4a25e0c94646ae4afacdfd080615c..32b87bb2e2ed61064a255a4799d7807d84b16f27 100644 (file)
@@ -26,16 +26,16 @@ class QBrowseBox : public QGridView
 {
        Q_OBJECT
 public:
-       QBrowseBox(int rows, int cols, QWidget* parent=0, char const * name=0, WFlags f=0);
+       QBrowseBox(int rows, int cols, QWidget * parent = 0, const char * name = 0, WFlags f = 0);
        ~QBrowseBox();
 
        void insertItem(QPixmap pixmap);
 
        QPixmap pixmap(int row, int col);
 
-       int exec(QPoint const & pos);
+       int exec(const QPoint & pos);
        int exec(int x, int y);
-       int exec(QWidget const * trigger);
+       int exec(const QWidget * trigger);
 
 signals:
        void selected(int, int);
index 3a02bd7c67ce0916cf2233d142d99a5463b4225a..abe09a7bba2914d47187a5b8f6988a8f9ae1b184 100644 (file)
@@ -36,7 +36,7 @@ char const * delim[] = {
 };
 
 
-string do_match(string const & str)
+string do_match(const string & str)
 {
        if (str == "(") return ")";
        if (str == ")") return "(";
@@ -57,7 +57,7 @@ string do_match(string const & str)
 }
 
 
-string fix_name(string const & str)
+string fix_name(const string & str)
 {
        if (str == "slash")
                return "/";
@@ -100,7 +100,7 @@ void QDelimiterDialog::insertClicked()
 }
 
 
-void QDelimiterDialog::set_label(QLabel * label, string const & str)
+void QDelimiterDialog::set_label(QLabel * label, const string & str)
 {
        label->setUpdatesEnabled(false);
        label->setPixmap(QPixmap(toqstr(find_xpm(str))));
@@ -109,7 +109,7 @@ void QDelimiterDialog::set_label(QLabel * label, string const & str)
 }
 
 
-void QDelimiterDialog::ldelim_clicked(string const & str)
+void QDelimiterDialog::ldelim_clicked(const string & str)
 {
        left_ = str;
 
@@ -121,7 +121,7 @@ void QDelimiterDialog::ldelim_clicked(string const & str)
 }
 
 
-void QDelimiterDialog::rdelim_clicked(string const & str)
+void QDelimiterDialog::rdelim_clicked(const string & str)
 {
        right_ = str;
 
index 1953c0539ccb95ce082b051e189bb3554fa4336a..c8b9984cce14ee019581c62cedacdafeb413c39d 100644 (file)
@@ -31,7 +31,7 @@ public slots:
 protected:
        //needed ? virtual void closeEvent(QCloseEvent * e);
 private:
-       void set_label(QLabel * label, string const & str);
+       void set_label(QLabel * label, const string & str);
 
        /// symbol of left delimiter
        string left_;
index 557dfd399f3c17f261a578a5ea65a6408ec1a5ab..f03836cc10cc0483efaad099a07e8cd969500c99 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file QLPopupMenu.h
+ * \file QLPopupMenu.C
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
index 0943427005703589ebc0c0546d429dad13f629bb..c8a2885e7d3aebd116e5dcf49c1cd71b39222a7a 100644 (file)
@@ -192,7 +192,7 @@ void QMathDialog::addPanel(int num)
 }
 
 
-void QMathDialog::symbol_clicked(string const & str)
+void QMathDialog::symbol_clicked(const string & str)
 {
        form_->controller().dispatchInsert(str);
 }
index 7de9a1249fa82050fa3072a94d74977f9a23da3f..bfc596fb23fbe1bebdaa3cc665399d96d7eeae52 100644 (file)
@@ -28,8 +28,8 @@ public:
 public slots:
        void changed_adaptor();
        void gotoClicked();
-       void refHighlighted(QString const &);
-       void refSelected(QString const &);
+       void refHighlighted(const QString &);
+       void refSelected(const QString &);
        void sortToggled(bool);
        void updateClicked();
 
index 01e8f7a174c481e08e57ab1a66131df9a0347f1f..5ebb70bc848455fdd77f563ca48f61dc2d081ca9 100644 (file)
@@ -54,7 +54,7 @@ void QSpellcheckerDialog::ignoreClicked()
 }
 
 
-void QSpellcheckerDialog::suggestionChanged(QString const & str)
+void QSpellcheckerDialog::suggestionChanged(const QString & str)
 {
        if (replaceCO->count() != 0)
                replaceCO->changeItem(str, 0);
@@ -65,7 +65,7 @@ void QSpellcheckerDialog::suggestionChanged(QString const & str)
 }
 
 
-void QSpellcheckerDialog::replaceChanged(QString const & str)
+void QSpellcheckerDialog::replaceChanged(const QString & str)
 {
        if (suggestionsLB->currentText() == str)
                return;
index 4d819e30173c972f7ef2d82fda59442dcddcb587..9709ca3096d79e8b32f91d5a3758fdfc27bec002 100644 (file)
@@ -1,15 +1,20 @@
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * combox.h: fix some usage of \param
+       * freebrowser.h: ditto
+
 2003-06-27  Alfredo Braunstein  <abraunst@libero.it>
 
        * lyx_gui.C (start): use BufferView::loadLyXFile
-       
+
 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
 
        * FormError.[Ch]:
        * forms/form_error.fd: removed
-       * forms/Makefile.am: 
-       * Makefile.am: adjust 
+       * forms/Makefile.am:
+       * Makefile.am: adjust
        * Dialogs.C: adjust
-       
+
 2003-06-20  Angus Leeming  <leeming@lyx.org>
 
        * FormBibtex.C (input, update): changes due to changed controller
@@ -19,9 +24,9 @@
 
 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
 
-       * lyx_gui.C (start): call ::loadLyXFile instead 
+       * lyx_gui.C (start): call ::loadLyXFile instead
        of BufferList::loadLyXFile
-       
+
 2003-06-19  Angus Leeming  <leeming@lyx.org>
 
        * Dialogs.C:
@@ -31,7 +36,7 @@
 
 2003-06-19  Juergen Spitzmueller <juergen.sp@t-online.de>
 
-       * forms/form_preferences.fd Revert Rob Lahaye's patch. 
+       * forms/form_preferences.fd Revert Rob Lahaye's patch.
        Weird xforms sizing issues.
 
 2003-06-17  Angus Leeming  <leeming@lyx.org>
index 110c49fe367627c70d2923c74f1df20a064205ad..5d14662d71c83af259d27f01c974c7e7e66f2647 100644 (file)
@@ -39,10 +39,13 @@ typedef enum {
 
 /** A function to create a combox widget.
  *  \param type is, as yet, unused. there is only one type of combox.
- *  \param x, \param y: the x,y coordinates of the upper left hand corner
- *  of the widget, relative to the parent form'd origin.
- *  \param w, \param h: the widget's dimensions.
- *  \param label: the widget's label as it appears on the GUI.
+ *  \param x the x coordinate of the upper left hand corner of the widget,
+ *  relative to the parent form'd origin.
+ *  \param y the y coordinate of the upper left hand corner of the widget,
+ *  relative to the parent form'd origin.
+ *  \param w the widget's width
+ *  \param h the widget's height
+ *  \param label the widget's label as it appears on the GUI.
  */
 FL_EXPORT FL_OBJECT *
 fl_create_combox(FL_COMBOX_TYPE type,
@@ -53,8 +56,8 @@ fl_create_combox(FL_COMBOX_TYPE type,
  *  \see fl_create_combox() for an explanation of the argument list.
  */
 FL_EXPORT FL_OBJECT *
-fl_add_combox(FL_COMBOX_TYPE type, 
-             FL_Coord x, FL_Coord y, FL_Coord w, FL_Coord h, 
+fl_add_combox(FL_COMBOX_TYPE type,
+             FL_Coord x, FL_Coord y, FL_Coord w, FL_Coord h,
              char const * label);
 
 /** The combox browser has a default height of 100 pixels. Adjust to suit. */
@@ -62,20 +65,20 @@ FL_EXPORT void
 fl_set_combox_browser_height(FL_OBJECT * ob, int bh);
 
 /** The browser will be displayed either below or above the button,
- *  dependent upon \param position.
+ *  dependent upon \c position.
  */
 FL_EXPORT void
 fl_set_combox_position(FL_OBJECT * ob, FL_COMBOX_POSITION position);
 
-/** Empty the browser and the combox, \param ob. */
+/** Empty the browser and the combox. */
 FL_EXPORT void
 fl_clear_combox(FL_OBJECT * ob);
 
-/** Add a line to the combox browser.*/
+/** Add a line to the combox browser. */
 FL_EXPORT void
 fl_addto_combox(FL_OBJECT * ob, char const * text);
 
-/** Set the combox to return line \param choice of the combox browser. */
+/** Set the combox to return line \c choice of the combox browser. */
 FL_EXPORT void
 fl_set_combox(FL_OBJECT * ob, int choice);
 
@@ -89,7 +92,7 @@ fl_get_combox(FL_OBJECT * ob);
 FL_EXPORT char const *
 fl_get_combox_text(FL_OBJECT * ob);
 
-/** \return the contents of \param line of the combox browser. */
+/** \return the contents of \c line of the combox browser. */
 FL_EXPORT char const *
 fl_get_combox_line(FL_OBJECT * ob, int line);
 
index 3b9319d348bd7d7a7971e81d324fbe669312beb1..b70a664fbc29d47d3e63da3b5cc2c31c653e71d4 100644 (file)
@@ -50,7 +50,7 @@ typedef struct fl_freebrowser_ {
 } FL_FREEBROWSER;
 
 
-/** A function to create a freebrowser widget, "owned" by \param parent. */
+/** A function to create a freebrowser widget, "owned" by \c parent. */
 FL_EXPORT FL_FREEBROWSER *
 fl_create_freebrowser(void * parent);
 
@@ -58,9 +58,9 @@ fl_create_freebrowser(void * parent);
 FL_EXPORT void
 fl_free_freebrowser(FL_FREEBROWSER * ptr);
 
-/** \param abs_x, \param abs_y are the coordinates of the top left corner
+/** \c abs_x, \c abs_y are the coordinates of the top left corner
  *  of the browser relative to the top left hand corner of the _screen_.
- *  \param w, \param h are the browser dimensions.
+ *  \c w, \c h are the browser dimensions.
  */
 FL_EXPORT void
 fl_show_freebrowser(FL_FREEBROWSER *,
index d5b6a60f028b8cad2f044621dd12b3e98188e840..fc260837f056e6bf9d827b4834074b5020f4ef18 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file exporter.C
+ * \file importer.C
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
index 641a63bd4ab40808f05b8d7ebab227ba9214124f..6b99359f4ab89790d0bf6e5a331ca7487ee9d68a 100644 (file)
@@ -1,23 +1,35 @@
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetspace.h: fix \file
+
+       * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
+       * insetinclude.C (fillWithBibKeys): ditto
+
+       * insetbibitem.C: fix type const order
+
+       * inset.C (getLyXText): add varname for arg
+
+       * ExternalTemplate.h: fix type const order
 
 2003-06-27  André Pönitz  <poenitz@gmx.net>
 
        * insettext.C: take care of removed LyXCursor::row_ member
-       
+
        * insettext.[Ch]: use new TextCursor struct for sstate
 
 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
 
-       * inseterror.[Ch]: removed 
-       
+       * inseterror.[Ch]: removed
+
 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
 
-       * insetinclude.C (docbook): use parseError instead of sgmlError 
-       
+       * insetinclude.C (docbook): use parseError instead of sgmlError
+
 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
 
-       * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead 
+       * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
        of BufferList::loadLyXFile
-       
+
 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * insettext.C (update): simplify
index 151c26221fd84999c75a049ce85c3f03f8284f1e..c9be8f2e27c94e2609f33f4563ef72662399fd40 100644 (file)
@@ -81,7 +81,7 @@ public:
        Templates & getTemplates();
        Templates const & getTemplates() const;
        /// return the template by LyX name
-       ExternalTemplate const & getTemplateByName(const string & name);
+       ExternalTemplate const & getTemplateByName(string const & name);
 private:
        ExternalTemplateManager();
        void readTemplates(string const & path);
index b8d7281569863ad553fcd097a5a1286f3caaf16f..50d287d9a3d55cae96bbbf92bbbf3e4d96acbaa1 100644 (file)
@@ -86,7 +86,7 @@ string const Inset::editMessage() const
 }
 
 
-LyXText * Inset::getLyXText(BufferView const * bv, bool const) const
+LyXText * Inset::getLyXText(BufferView const * bv, bool const recursive) const
 {
        if (owner())
                return owner()->getLyXText(bv, false);
index 17fcbc7eddf6a8f40561e13cd89dd9f063f3d106..0a3eabb568e04fb84116bbc81e884e262cd141d6 100644 (file)
@@ -25,7 +25,7 @@ using std::max;
 
 
 int InsetBibitem::key_counter = 0;
-const string key_prefix = "key-";
+string const key_prefix = "key-";
 
 
 InsetBibitem::InsetBibitem(InsetCommandParams const & p)
index f0f536f23c0a0fb3a8562e05226ed3c78022c6c3..2db291500a7388b9e4086bfa2084bb3c42aac81a 100644 (file)
@@ -183,8 +183,8 @@ vector<string> const InsetBibtex::getFiles(Buffer const & buffer) const
 
 
 // This method returns a comma separated list of Bibtex entries
-void InsetBibtex::fillWithBibKeys
-       (Buffer const * buffer, vector<pair<string, string> > & keys) const
+void InsetBibtex::fillWithBibKeys(Buffer const * buffer,
+                                 std::vector<std::pair<string, string> > & keys) const
 {
        lyx::Assert(buffer);
        vector<string> const files = getFiles(*buffer);
index f7827f668835d15096dbdbb4eb4138495bd96ce7..2c9fb6f13e6f7ec173a0ea65fd99d6e445368d37 100644 (file)
@@ -42,8 +42,8 @@ public:
        int latex(Buffer const *, std::ostream &,
                  LatexRunParams const &) const;
        ///
-       void fillWithBibKeys(Buffer const *,
-               std::vector<std::pair<string,string> > &) const;
+       void fillWithBibKeys(Buffer const * buffer,
+               std::vector<std::pair<string,string> > & keys) const;
        ///
        std::vector<string> const getFiles(Buffer const &) const;
        ///
index 774f3334392779d81232297fb0d68be6d30d8b62..e3edbbab4d17103e50813fb7bc21c11364dc0c0e 100644 (file)
@@ -501,7 +501,7 @@ void InsetInclude::getLabelList(std::vector<string> & list) const
 }
 
 
-void InsetInclude::fillWithBibKeys(vector<pair<string,string> > & keys) const
+void InsetInclude::fillWithBibKeys(std::vector<std::pair<string,string> > & keys) const
 {
        if (loadIfNeeded()) {
                Buffer * tmp = bufferlist.getBuffer(getFileName());
index 3b7f8c159da32e68d8f8a35f6aee4cc931091a5b..0adab81fbb775f075c5de850a2b597cf6af0477a 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file InsetSpace.h
+ * \file insetspace.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
index 1700811cf8ad62a83c641f6f08f1bfdc313f19f0..dae78e576b012abdfbb9e768dee918348af4dc23 100644 (file)
@@ -119,7 +119,7 @@ public:
        ///
        LyXAlignment alignpossible;
        ///
-       char labeltype; // add approp. type
+       LYX_LABEL_TYPES labeltype;
        ///
        LYX_END_LABEL_TYPES endlabeltype;
        ///
index fa5228e081fd4977539a1f35ae89c997b9f2d5c0..b3e9c4909031223ca26b9464fad4e380980a686f 100644 (file)
@@ -249,7 +249,7 @@ public:
        RowList::iterator getRow(LyXCursor const & cursor) const;
        /// convenience
        RowList::iterator cursorRow() const;
-       
+
        /** returns a pointer to the row near the specified y-coordinate
          (relative to the whole text). y is set to the real beginning
          of this row
@@ -272,7 +272,7 @@ public:
                return rowlist_;
        }
 
-       
+
        /// need the selection cursor:
        void setSelection();
        ///
@@ -280,9 +280,9 @@ public:
 
        /// select the word we need depending on word_location
        void getWord(LyXCursor & from, LyXCursor & to,
-                    word_location const);
+                    word_location loc);
        /// just selects the word the cursor is in
-       void selectWord(word_location const);
+       void selectWord(word_location loc);
        /// returns the inset at cursor (if it exists), 0 otherwise
        Inset * getInset() const;
 
index 3e09e77d346b5bfffffb89b72d1d2d5a636558dd..206250061bafd120c6c8ecd965978ae3b04483cb 100644 (file)
@@ -243,7 +243,7 @@ string const & LyXVC::locker() const
 }
 
 
-const string LyXVC::getLogFile() const
+string const LyXVC::getLogFile() const
 {
        if (!vcs)
                return string();
index 00e2f78c76bd97b07f3d9716a261b58c21b876f6..d812b9cb6aab374308b3e6cd7cd592072c91d238 100644 (file)
@@ -1,3 +1,19 @@
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * math_symbolinset.C (MathSymbolInset): fix type const order
+
+       * math_support.C (mathed_draw_deco): fix type const order
+
+       * math_gridinset.C (GrinInsetMailer::name): fix type const order
+
+       * math_extern.C (testString): fix type const order
+
+       * math_data.C (operator[]): fix arg type
+
+       * math_binaryopinset.C (metrics): comment out
+
+       * formula.h: fix type const order
+
 2003-06-19  Angus Leeming  <leeming@lyx.org>
 
        * formulabase.C (localDiapatch): replace LFUN_MATH_PANEL with
index a7107202c91ba433fb91723feabfc2df6dd78293..1a558495c14805deca4c20918468d487fcc26033 100644 (file)
@@ -32,8 +32,8 @@ public:
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        void write(WriteStream & os) const;
-       ///
-       //void infoize(std::ostream & os) const;
+       //
+       // void infoize(std::ostream & os) const;
        ///
        dispatch_result dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
        ///
index 946bb6dde11dd643c929d1ebc0c93e9cdaac6a72..c63abd8e5ac3b5123fbd9f1f1f8b070a25b82ed1 100644 (file)
@@ -29,7 +29,7 @@ public:
        ///
        explicit InsetFormula(BufferView *);
        ///
-       explicit InsetFormula(const string & data);
+       explicit InsetFormula(string const & data);
        ///
        InsetFormula(InsetFormula const &);
        ///
index b8d05a6b5f500bbf207555b8618ac1555faea8a1..71ff00f4afb4ad9122827caf50b5cc9e99937584 100644 (file)
@@ -28,6 +28,10 @@ int MathBinaryOpInset::opwidth() const
 }
 
 
+#warning Andre, have a look here. (Lgb)
+#if 0
+// That this is not declared in class MathBinaryOpInset makes
+// Doxygen give warnings. (Lgb)
 void MathBinaryOpInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        mi_ = mi;
@@ -37,7 +41,7 @@ void MathBinaryOpInset::metrics(MetricsInfo & mi, Dimension & dim) const
        ascent_  = max(cell(0).ascent(),  cell(1).ascent());
        descent_ = max(cell(0).descent(), cell(1).descent());
 }
-
+#endif
 
 void MathBinaryOpInset::draw(PainterInfo & pain, int x, int y) const
 {
index 124097c15d650c915ece1f26a6faecfe012b7228..457a2ee918c4702d5cfa4fc21f552a6c2f8759de 100644 (file)
@@ -39,14 +39,14 @@ void MathArray::substitute(MathMacro const & m)
 }
 
 
-MathAtom & MathArray::operator[](size_type pos)
+MathAtom & MathArray::operator[](pos_type pos)
 {
        lyx::Assert(pos < size());
        return base_type::operator[](pos);
 }
 
 
-MathAtom const & MathArray::operator[](size_type pos) const
+MathAtom const & MathArray::operator[](pos_type pos) const
 {
        lyx::Assert(pos < size());
        return base_type::operator[](pos);
index c1227166786befddc14c50ace904315543b3a482..899521bdb55b2de7a98ea692e78db7f74347736f 100644 (file)
@@ -1,4 +1,3 @@
-
 // This file contains most of the magic that extracts "context
 // information" from the unstructered layout-oriented stuff in an
 // MathArray.
@@ -196,7 +195,7 @@ bool extractNumber(MathArray const & ar, double & d)
 }
 
 
-bool testString(MathAtom const & at, const string & str)
+bool testString(MathAtom const & at, string const & str)
 {
        string s;
        return extractString(at, s) && str == s;
index eaa2e26a445efabeb9161454cc5e7bf122276fe6..73069213011f4d90c6493b03b7a0ac9764811e3e 100644 (file)
@@ -23,7 +23,7 @@ public:
        ///
        virtual string const & name() const
        {
-               static const string theName = "tabular";
+               static string const theName = "tabular";
                return theName;
        }
        ///
@@ -39,7 +39,7 @@ public:
 
 protected:
        InsetBase & inset() const { return inset_; }
-       MathGridInset & inset_; 
+       MathGridInset & inset_;
 };
 
 
@@ -1031,7 +1031,7 @@ dispatch_result MathGridInset::dispatch
                        //}
                        return UNDISPATCHED;
 
-               case LFUN_INSET_DIALOG_UPDATE: 
+               case LFUN_INSET_DIALOG_UPDATE:
                        GridInsetMailer(*this).updateDialog(cmd.view());
                        return UNDISPATCHED;
 
@@ -1096,25 +1096,25 @@ dispatch_result MathGridInset::dispatch
                        else if (s == "append-row")
                                for (int i = 0, n = extractInt(is); i < n; ++i)
                                        addRow(row(idx));
-                       else if (s == "delete-row") 
+                       else if (s == "delete-row")
                                for (int i = 0, n = extractInt(is); i < n; ++i) {
                                        delRow(row(idx));
                                        if (idx > nargs())
                                                idx -= ncols();
                                }
-                       else if (s == "copy-row") 
+                       else if (s == "copy-row")
                                for (int i = 0, n = extractInt(is); i < n; ++i)
                                        copyRow(row(idx));
                        else if (s == "swap-row")
                                swapRow(row(idx));
-                       else if (s == "append-column") 
+                       else if (s == "append-column")
                                for (int i = 0, n = extractInt(is); i < n; ++i) {
                                        row_type r = row(idx);
                                        col_type c = col(idx);
                                        addCol(c);
                                        idx = index(r, c);
                                }
-                       else if (s == "delete-column") 
+                       else if (s == "delete-column")
                                for (int i = 0, n = extractInt(is); i < n; ++i) {
                                        row_type r = row(idx);
                                        col_type c = col(idx);
index b4798318ee42559521a6491b95ebbfe218c6ccd3..b154339045b8f96edbdb731274816e7ca535d038 100644 (file)
@@ -1,4 +1,3 @@
-
 #include <config.h>
 
 #include "math_support.h"
@@ -398,7 +397,7 @@ int mathed_string_width(LyXFont const & font, string const & s)
 
 
 void mathed_draw_deco(PainterInfo & pi, int x, int y, int w, int h,
-       const string & name)
+       string const & name)
 {
        if (name == ".") {
                pi.pain.line(x + w/2, y, x + w/2, y + h,
@@ -694,5 +693,3 @@ void asArray(string const & str, MathArray & ar)
 {
        mathed_parse_cell(ar, str);
 }
-
-
index 85df4b3723d62a6c70363f5e995d146ad5a8c119..92de5abe8e2c52107eebedaceac67e7929936bcc 100644 (file)
@@ -1,4 +1,3 @@
-
 #include <config.h>
 
 #include "math_symbolinset.h"
 #include "debug.h"
 
 
-MathSymbolInset::MathSymbolInset(const latexkeys * l)
+MathSymbolInset::MathSymbolInset(latexkeys const * l)
        : sym_(l), h_(0)
 {}
 
 
-MathSymbolInset::MathSymbolInset(const char * name)
+MathSymbolInset::MathSymbolInset(char const * name)
        : sym_(in_word_set(name)), h_(0)
 {}
 
index cb5a9d5915df2c425d557f35cdaec0ebd127dd5e..482efee721022c904fd5e6452b3a613b0a0c86b3 100644 (file)
@@ -13,11 +13,11 @@ struct latexkeys;
 class MathSymbolInset : public MathInset {
 public:
        ///
-       explicit MathSymbolInset(latexkeys const *);
+       explicit MathSymbolInset(latexkeys const * l);
        ///
-       explicit MathSymbolInset(char const *);
+       explicit MathSymbolInset(char const * name);
        ///
-       explicit MathSymbolInset(string const &);
+       explicit MathSymbolInset(string const & name);
        ///
        InsetBase * clone() const;
        ///
index 5c2aa416f8d0a1bb81ca2f4b765b63e31459444c..80914fa0508e79b65803e4f05007e660a5edb4a5 100644 (file)
@@ -1,3 +1,11 @@
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * filetools.h: fix some \param issue
+
+       * boost-inst.C: fix \file
+
+       * LAssert.h: fix \file
+
 2003-06-20  Angus Leeming  <leeming@lyx.org>
 
        * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
index 65b8618b8743a56bb93569d4793367d1224b9657..73ad96b7cf3ed7ac7c2ae8db5f14f02814d17b9b 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file LAssert.C
+ * \file LAssert.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
index 2d6758cee18d7a3cec2190140508bdb16c85c23c..27fba3da0420cc92e25a874d1a711ec3a1d8ee42 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file boost-inset.C
+ * \file boost-inst.C
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
index c33023369d13504535e12a0bd2488f588b9f5d27..712decbf19767ad59062465d704e34428f8197e1 100644 (file)
@@ -1332,7 +1332,7 @@ string const readBB_from_PSFile(string const & file)
 }
 
 
-string copyFileToDir(string const & path, string const & file_in)
+string const copyFileToDir(string const & path, string const & file_in)
 {
        lyx::Assert(AbsolutePath(path));
 
index 509c4b04afc0d5957484aba0c39b38eb9c37233b..6dd1530ebf2c1bdfead9ed9064692a106a60023f 100644 (file)
@@ -207,12 +207,14 @@ void removeAutosaveFile(string const & filename);
 /// read the BoundingBox entry from a ps/eps/pdf-file
 string const readBB_from_PSFile(string const & file);
 
-/** Copy \param file to directory \param path. The file name is manipulated
+/** Copy \c file to directory \c path. The file name is manipulated
     so that eg some/path/to/file becomes some_path_to_file.
+    \param path where to put the file
+    \param file the file that is copied
     \returns this file name if the file is copied successfully, else
     \returns an empty string.
  */
-string copyFileToDir(string const & path, string const & file);
+string const copyFileToDir(string const & path, string const & file);
 
 typedef std::pair<int, string> cmd_ret;
 
index f10638604804084c78b2b1ff89bfd8db027faf38..2b3db8007575595ed08b0b6584321c557b232cda 100644 (file)
@@ -448,10 +448,14 @@ lyxstring::lyxstring(size_type n, value_type c)
 }
 
 
+#warning lyxstring user, have a look here. (Lgb)
+#if 0
+// Commented out to avoid warnings from doxygen. (Lgb)
 lyxstring::lyxstring(const_iterator first, const_iterator last)
 {
        rep = new Srep(last - first, first);
 }
+#endif
 
 
 lyxstring::~lyxstring()
index 4396e1989459bf91eaa2ddc0f26d4b09b5df8591..eb7094f09ce72c341262956b5021fd4fc0d2e05b 100644 (file)
@@ -2046,7 +2046,7 @@ void LyXText::cursorLeftOneWord(LyXCursor & cur)
 // Select current word. This depends on behaviour of
 // CursorLeftOneWord(), so it is patched as well.
 void LyXText::getWord(LyXCursor & from, LyXCursor & to,
-                     word_location const loc)
+                     word_location loc)
 {
        // first put the cursor where we wana start to select the word
        from = cursor;
index 38ae302bd21f4a16b53271c078151bf98b002606..3d96366e83e75caa6bad86ab57ee605bd6df83fe 100644 (file)
@@ -1,3 +1,4 @@
+#include <config.h>
 
 #include "textcursor.h"
 
@@ -51,7 +52,7 @@ bool TextCursor::setSelection()
        if (selection.start.par() == selection.end.par() &&
            selection.start.pos() == selection.end.pos())
                selection.set(false);
-       
+
        return lsel;
 }