diff --git a/src/support/BoostFormat.h b/src/support/BoostFormat.h index e96cb1d246..3be9a8afc1 100644 --- a/src/support/BoostFormat.h +++ b/src/support/BoostFormat.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file BoostFormat.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #ifndef LYX_BOOST_FORMAT_H #define LYX_BOOST_FORMAT_H diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 1af545ab55..ffb7c60d19 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -1,3 +1,7 @@ +2003-06-18 Angus Leeming + + * many files: add the standard blurb, "This file is part of LyX" etc + 2003-06-17 Lars Gullik Bjønnes * limited_stack.h: make it have a const_iterator, add begin, and diff --git a/src/support/DebugStream.C b/src/support/DebugStream.C index 75ed4a1590..27b954ed43 100644 --- a/src/support/DebugStream.C +++ b/src/support/DebugStream.C @@ -1,9 +1,12 @@ -// Created by Lars Gullik Bjønnes -// Copyright 1999 Lars Gullik Bjønnes (larsbj@lyx.org) -// Released into the public domain. - -// Primarily developed for use in the LyX Project http://www.lyx.org/ -// but should be adaptable to any project. +/** + * \file DebugStream.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ //#define TEST_DEBUGSTREAM diff --git a/src/support/DebugStream.h b/src/support/DebugStream.h index c4b97fdcd5..dd7b7118ca 100644 --- a/src/support/DebugStream.h +++ b/src/support/DebugStream.h @@ -1,13 +1,13 @@ // -*- C++ -*- - -// Created by Lars Gullik Bjønnes -// Copyright 1999 Lars Gullik Bjønnes (larsbj@lyx.org) -// Released into the public domain. - -// Implemented and tested on g++ 2.7.2.3 - -// Primarily developed for use in the LyX Project http://www.lyx.org/ -// but should be adaptable to any project. +/** + * \file DebugStream.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ #ifndef DEBUGSTREAM_H #define DEBUGSTREAM_H diff --git a/src/support/LAssert.h b/src/support/LAssert.h index 6a93726602..65b8618b87 100644 --- a/src/support/LAssert.h +++ b/src/support/LAssert.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file LAssert.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #ifndef LASSERT_H #define LASSERT_H diff --git a/src/support/abort.C b/src/support/abort.C index 46f57ce2a9..1362309185 100644 --- a/src/support/abort.C +++ b/src/support/abort.C @@ -1,3 +1,13 @@ +/** + * \file abort.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include diff --git a/src/support/atexit.c b/src/support/atexit.c index 9d99f389b3..55d0199ae2 100644 --- a/src/support/atexit.c +++ b/src/support/atexit.c @@ -1,5 +1,9 @@ -/* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */ -/* This function is in the public domain. --Mike Stump. */ +/** + * \file atexit.c + * Wrapper to implement ANSI C's atexit using SunOS's on_exit. + * + * This function is in the public domain. --Mike Stump. + */ #ifndef NEED_on_exit int atexit(void (*f)()) diff --git a/src/support/atoi.C b/src/support/atoi.C index 949dee0711..69d759d8e0 100644 --- a/src/support/atoi.C +++ b/src/support/atoi.C @@ -1,3 +1,14 @@ +/** + * \file atoi.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * \author Jean-Marc Lasgouttes + * + * Full author contact details are available in file CREDITS + */ + #include #include diff --git a/src/support/boost-inst.C b/src/support/boost-inst.C index f16bc6279b..2d6758cee1 100644 --- a/src/support/boost-inst.C +++ b/src/support/boost-inst.C @@ -1,3 +1,13 @@ +/** + * \file boost-inset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include "support/BoostFormat.h" diff --git a/src/support/chdir.C b/src/support/chdir.C index 1f630a465d..e87552c12c 100644 --- a/src/support/chdir.C +++ b/src/support/chdir.C @@ -1,3 +1,13 @@ +/** + * \file chdir.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include diff --git a/src/support/copy.C b/src/support/copy.C index b89f215949..98ddc399a3 100644 --- a/src/support/copy.C +++ b/src/support/copy.C @@ -1,3 +1,13 @@ +/** + * \file copy.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include diff --git a/src/support/filetools.C b/src/support/filetools.C index 540b9e4f92..97869ee402 100644 --- a/src/support/filetools.C +++ b/src/support/filetools.C @@ -10,8 +10,12 @@ * \author Asger Alstrup * \author Lars Gullik Bjønnes * \author Jean-Marc Lasgouttes + * \author Angus Leeming + * \author John Levon + * \author Herbert Voss * - * Full author contact details are available in file CREDITS + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * * General path-mangling functions */ diff --git a/src/support/filetools.h b/src/support/filetools.h index e5cd6855a5..fd82342e20 100644 --- a/src/support/filetools.h +++ b/src/support/filetools.h @@ -3,6 +3,10 @@ * \file filetools.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS */ #ifndef LYX_FILETOOL_H diff --git a/src/support/forkedcall.C b/src/support/forkedcall.C index c3e6938098..a5e281cd97 100644 --- a/src/support/forkedcall.C +++ b/src/support/forkedcall.C @@ -1,5 +1,5 @@ /** - * \file forkedcall.C + * \file forkedcall.C * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * diff --git a/src/support/forkedcall.h b/src/support/forkedcall.h index b1bfa2865b..d053af3116 100644 --- a/src/support/forkedcall.h +++ b/src/support/forkedcall.h @@ -1,6 +1,6 @@ // -*- C++ -*- /** - * \file forkedcall.h + * \file forkedcall.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * diff --git a/src/support/getcwd.C b/src/support/getcwd.C index 6b28ef9ca6..305c8107b9 100644 --- a/src/support/getcwd.C +++ b/src/support/getcwd.C @@ -1,3 +1,13 @@ +/** + * \file getcwd.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include diff --git a/src/support/kill.C b/src/support/kill.C index 105ce29db6..b307d28d53 100644 --- a/src/support/kill.C +++ b/src/support/kill.C @@ -1,3 +1,13 @@ +/** + * \file kill.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include "lyxlib.h" diff --git a/src/support/lyxfunctional.h b/src/support/lyxfunctional.h index c89e097621..71cf36f55b 100644 --- a/src/support/lyxfunctional.h +++ b/src/support/lyxfunctional.h @@ -1,15 +1,23 @@ // -*- C++ -*- +/** + * \file lyxfunctional.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + * + * \brief Convenient function objects for use with LyX + * + * This is currently a small collection of small function objects for use + * together with std::algorithms. + */ + #ifndef LYX_FUNCTIONAL_H #define LYX_FUNCTIONAL_H -/** \file lyxfunctional.h - \brief Convenient function objects for use with LyX - - This is currently a small collection of small function objects for use - together with std::algorithms. -**/ - #include namespace lyx { diff --git a/src/support/lyxmanip.h b/src/support/lyxmanip.h index bc106bed79..557c2a0e16 100644 --- a/src/support/lyxmanip.h +++ b/src/support/lyxmanip.h @@ -1,4 +1,14 @@ // -*- C++ -*- +/** + * \file lyxmanip.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #ifndef LYX_MANIP_H #define LYX_MANIP_H diff --git a/src/support/mkdir.C b/src/support/mkdir.C index faae48c280..577b3a0613 100644 --- a/src/support/mkdir.C +++ b/src/support/mkdir.C @@ -1,3 +1,13 @@ +/** + * \file mkdir.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include diff --git a/src/support/os.C b/src/support/os.C index 8796745135..b0abda86ae 100644 --- a/src/support/os.C +++ b/src/support/os.C @@ -1,3 +1,13 @@ +/** + * \file os.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Ruurd A. Reitsma + * + * Full author contact details are available in file CREDITS + */ + #include #ifdef __EMX__ diff --git a/src/support/os.h b/src/support/os.h index 330e9a801f..6edc511786 100644 --- a/src/support/os.h +++ b/src/support/os.h @@ -1,4 +1,13 @@ -// os.h copyright "Ruurd A. Reitsma" +// -*- C++ -*- +/** + * \file os.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Ruurd A. Reitsma + * + * Full author contact details are available in file CREDITS + */ #ifndef OS_H #define OS_H diff --git a/src/support/os_os2.C b/src/support/os_os2.C index 5b2ec5864f..5e08bf8f5f 100644 --- a/src/support/os_os2.C +++ b/src/support/os_os2.C @@ -1,6 +1,15 @@ -// os_os2.C +/** + * \file os_os2.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Ruurd A. Reitsma + * + * Full author contact details are available in file CREDITS + * + * Various OS specific functions + */ -// Various OS specific functions #include #include "os.h" diff --git a/src/support/os_unix.C b/src/support/os_unix.C index d46eaffe3c..ddff701f52 100644 --- a/src/support/os_unix.C +++ b/src/support/os_unix.C @@ -1,6 +1,15 @@ -// os_unix.C +/** + * \file os_unix.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Ruurd A. Reitsma + * + * Full author contact details are available in file CREDITS + * + * Various OS specific functions + */ -// Various OS specific functions #include #include "os.h" diff --git a/src/support/os_win32.C b/src/support/os_win32.C index 5dd12e0376..328538e711 100644 --- a/src/support/os_win32.C +++ b/src/support/os_win32.C @@ -1,6 +1,15 @@ -// os_win32.C copyright "Ruurd A. Reitsma" +/** + * \file os_win32.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Ruurd A. Reitsma + * + * Full author contact details are available in file CREDITS + * + * Various OS specific functions + */ -// Various OS specific functions #include #include "os.h" diff --git a/src/support/putenv.C b/src/support/putenv.C index e1df575452..828517d09f 100644 --- a/src/support/putenv.C +++ b/src/support/putenv.C @@ -1,3 +1,13 @@ +/** + * \file putenv.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include "lyxlib.h" diff --git a/src/support/rename.C b/src/support/rename.C index 7c079a2100..4a927fdf71 100644 --- a/src/support/rename.C +++ b/src/support/rename.C @@ -1,3 +1,13 @@ +/** + * \file rename.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include diff --git a/src/support/rmdir.C b/src/support/rmdir.C index 5b45cfba9b..a2aeeb8a08 100644 --- a/src/support/rmdir.C +++ b/src/support/rmdir.C @@ -1,3 +1,13 @@ +/** + * \file rmdir.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include diff --git a/src/support/tempname.C b/src/support/tempname.C index d6b9fb0c7d..780b1939c2 100644 --- a/src/support/tempname.C +++ b/src/support/tempname.C @@ -1,3 +1,13 @@ +/** + * \file tempname.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include diff --git a/src/support/tostr.C b/src/support/tostr.C index 94f461fd63..b610cc21a7 100644 --- a/src/support/tostr.C +++ b/src/support/tostr.C @@ -1,3 +1,13 @@ +/** + * \file tostr.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS + */ + #include #include "Lsstream.h" diff --git a/src/support/types.h b/src/support/types.h index 8a1e86af45..9ee9800d3f 100644 --- a/src/support/types.h +++ b/src/support/types.h @@ -1,3 +1,4 @@ +// -*- C++ -*- /** * \file types.h * This file is part of LyX, the document processor. diff --git a/src/support/unlink.C b/src/support/unlink.C index ef3b520332..dd7e16e3b1 100644 --- a/src/support/unlink.C +++ b/src/support/unlink.C @@ -1,3 +1,13 @@ +/** + * \file unlink.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS + */ + #include #include