Clean up licence info and add Lars as the mysterious unknown author.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5341 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-09-25 10:03:41 +00:00
parent 8443d7123b
commit 25d9537fbd
32 changed files with 219 additions and 196 deletions

View File

@ -1,3 +1,7 @@
2002-09-24 Angus Leeming <leeming@lyx.org>
* most files: clean-up the license info.
2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
* Makefile.am (INCLUDES): loose SIGC_INCLUDES

View File

@ -1,12 +1,12 @@
/* This file is part of
* ======================================================
/**
* \file FileInfo.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* LyX, The Document Processor
* \author Lars Gullik Bjønnes
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
* Full author contact details are available in file CREDITS
*/
#include <config.h>
@ -102,7 +102,7 @@ void flagRWX(mode_t i, char * str)
void setSticky(mode_t i, char * str)
{
#ifdef S_ISUID
if (i & S_ISUID)
if (i & S_ISUID)
str[3] = (str[3] == 'x') ? 's' : 'S';
#endif
#ifdef S_ISGID
@ -110,7 +110,7 @@ void setSticky(mode_t i, char * str)
str[6] = (str[6] == 'x') ? 's' : 'S';
#endif
#ifdef S_ISVTX
if (i & S_ISVTX)
if (i & S_ISVTX)
str[9] = (str[9] == 'x') ? 's' : 'S';
#endif
}

View File

@ -1,13 +1,13 @@
// -*- C++ -*-
/* This file is part of
* ======================================================
/**
* \file FileInfo.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* LyX, The Document Processor
* \author Lars Gullik Bjønnes
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
* Full author contact details are available in file CREDITS
*/
#ifndef FILE_INFO_H
#define FILE_INFO_H

View File

@ -1,9 +1,11 @@
/*
/**
* \file FileMonitor.C
* Copyright 2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming <leeming@lyx.org>
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
@ -65,7 +67,7 @@ void FileMonitor::reset(string const & file_with_path) const
bool const monitor = pimpl_->timer_.running();
if (monitor)
stop();
pimpl_->filename_ = file_with_path;
if (monitor)

View File

@ -1,10 +1,12 @@
// -*- C++ -*-
/*
/**
* \file FileMonitor.h
* Copyright 2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming <leeming@lyx.org>
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*
* FileMonitor monitors a file and informs a listener when that file has
* changed.

View File

@ -1,12 +1,12 @@
/* This file is part of
* ======================================================
/**
* \file LAssert.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* LyX, The Document Processor
* \author Lars Gullik Bjønnes
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
* Full author contact details are available in file CREDITS
*/
#include <config.h>

View File

@ -1,14 +1,9 @@
// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
/**
* \file LIStream.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*/
#ifndef LISTREAM_H
#define LISTREAM_H

View File

@ -1,14 +1,9 @@
// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
/**
* \file LOStream.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*/
#ifndef LOSTREAM_H
#define LOSTREAM_H

View File

@ -1,18 +1,20 @@
/*
filetools.C (former paths.C) - part of LyX project
General path-mangling functions
Copyright 1996 Ivan Schreter
Parts Copyright 1996 Dirk Niggemann
Parts Copyright 1985, 1990, 1993 Free Software Foundation, Inc.
Parts Copyright 1996 Asger Alstrup
See also filetools.h.
lyx-filetool.C : tools functions for file/path handling
this file is part of LyX, the High Level Word Processor
Copyright 1995-1996, Matthias Ettrich and the LyX Team
*/
/**
* \file filetools.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* parts Copyright 1985, 1990, 1993 Free Software Foundation, Inc.
*
* \author Ivan Schreter
* \author Dirk Niggemann
* \author Asger Alstrup
* \author Lars Gullik Bjønnes
* \author Jean-Marc Lasgouttes
*
* Full author contact details are available in file CREDITS
*
* General path-mangling functions
*/
#include <config.h>

View File

@ -1,8 +1,9 @@
// -*- C++-*-
/* lyx-filetool.h : tools functions for file/path handling
this file is part of LyX, the High Level Word Processor
Copyright 1995-2001, Matthias Ettrich and the LyX Team
*/
/**
* \file filetools.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*/
#ifndef LYX_FILETOOL_H
#define LYX_FILETOOL_H

View File

@ -1,12 +1,14 @@
/**
* \file forkedcall.C
* Copyright 2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Asger Alstrup
*
* Interface cleaned up by
* \author Angus Leeming <a.leeming@ic.ac.uk>
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*
* An instance of Class Forkedcall represents a single child process.
*

View File

@ -1,13 +1,15 @@
// -*- C++ -*-
/**
* \file forkedcall.h
* Copyright 2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Asger Alstrup
*
* Interface cleaned up by
* \author Angus Leeming <a.leeming@ic.ac.uk>
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*
* An instance of Class Forkedcall represents a single child process.
*

View File

@ -1,11 +1,13 @@
/**
* \file forkedcontr.C
* Copyright 2001 The LyX Team
* Read COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Asger Alstrup Nielsen
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*
* A class for the control of child processes launched using
* fork() and execvp().
*/

View File

@ -1,12 +1,14 @@
// -*- C++ -*-
/**
* \file forkedcontr.h
* Copyright 2001 The LyX Team
* Read COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Asger Alstrup Nielsen
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*
* A class for the control of child processes launched using
* fork() and execvp().
*/

View File

@ -1,10 +1,12 @@
// -*- C++ -*-
/**
* \file limited_stack.h
* Copyright 2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon <moz@compsoc.man.ac.uk>
* \author John Levon
*
* Full author contact details are available in file CREDITS
*/
#ifndef LIMITED_STACK_H
@ -24,7 +26,7 @@ public:
typedef std::list<T> container_type;
typedef typename container_type::value_type value_type;
typedef typename container_type::size_type size_type;
/// limit is the maximum size of the stack
limited_stack(size_type limit = 100) {
limit_ = limit;
@ -39,7 +41,7 @@ public:
void pop() {
c_.pop_front();
}
/// return true if the stack is empty
bool empty() const {
return c_.size() == 0;
@ -51,16 +53,16 @@ public:
c_.pop_back();
}
}
/// push an item on to the stack, deleting the
/// bottom item on overflow.
void push(value_type const & v) {
c_.push_front(v);
if (c_.size() > limit_) {
c_.pop_back();
c_.pop_back();
}
}
private:
/// internal contents
container_type c_;
@ -71,5 +73,5 @@ private:
// make pointer type an error.
template <typename T>
class limited_stack<T*>;
#endif // LIMITED_STACK_H

View File

@ -1,12 +1,13 @@
/* This file is part of
* ======================================================
/**
* \file lstrings.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* LyX, The Document Processor
* \author Lars Gullik Bjønnes
* \author Jean-Marc Lasgouttes
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
* Full author contact details are available in file CREDITS
*/
#include <config.h>

View File

@ -1,13 +1,17 @@
// -*- C++ -*-
/** String helper functions.
\file lstrings.h
This is a collection of string helper functions that works
together with string (and later also with STL String. Some of these
would certainly benefit from a rewrite/optimization.
\author Lars Gullik Bjønnes
\author Jean-Marc Lasgouttes
*/
/**
* \file lstrings.h
* 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
*
* A collection of string helper functions that works with string.
* Some of these would certainly benefit from a rewrite/optimization.
*/
#ifndef LSTRINGS_H
#define LSTRINGS_H

View File

@ -1,12 +1,14 @@
// -*- C++ -*-
/**
* \file lyxalgo.h
* Copyright 1995-2002 the LyX Team
* Read the file COPYING
* 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
*
* A variety of useful templates.
*
* \author unknown
*/
#ifndef LYX_ALGO_H

View File

@ -1,13 +1,15 @@
// -*- C++ -*-
/**
* \file lyxlib.h
* Copyright 1995-2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* A selection of useful system functions made
* handy for C++ usage.
*
* \author unknown
* \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS
*/
#ifndef LYX_LIB_H

View File

@ -1,12 +1,12 @@
/* This file is part of
* ======================================================
/**
* \file lyxstring.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* LyX, The Document Processor
* \author Lars Gullik Bjønnes
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2000 The LyX Team.
*
* ====================================================== */
* Full author contact details are available in file CREDITS
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
@ -1751,7 +1751,7 @@ istream & operator>>(istream & is, lyxstring & s)
if (isspace(c)) {
if (!skipspace) {
is.putback(c);
break;
break;
}
} else {
s += c;

View File

@ -1,13 +1,13 @@
// -*- C++ -*-
/* This file is part of
* ======================================================
/**
* \file lyxstring.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* LyX, The Document Processor
* \author Lars Gullik Bjønnes
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2000 The LyX Team.
*
* ====================================================== */
* Full author contact details are available in file CREDITS
*/
// This one is heavily based on the string class in The C++
// Programming Language by Bjarne Stroustrup

View File

@ -1,13 +1,13 @@
/* This file is part of
* ======================================================
/**
* \file lyxsum.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* LyX, The Document Processor
* Copyright 2001 The LyX Team.
* \author Lars Gullik Bjønnes
*
* ======================================================
* Full author contact details are available in file CREDITS
*/
#include <config.h>
#include "support/lyxlib.h"

View File

@ -1,19 +1,13 @@
/* -*- C++ -*- */
/* This file is part of
* ======================================================
// -*- C++ -*-
/**
* \file nt_defines.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* LyX, the High Level Word Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-1998 The LyX Team.
*
* ======================================================
A few prototypes and definitions needed for Windows NT */
/* Hacks to get LyX running under Win-NT w. Cygnus b19 (steven@cs.uu.nl) */
* Prototypes and definitions needed for Windows NT.
*/
#ifndef NT_DEFINES_H
#define NT_DEFINES_H
#endif /* NT_DEFINES_H */
#endif // NT_DEFINES_H

View File

@ -1,14 +1,11 @@
/* -*- C++ -*- */
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* ======================================================
A few prototypes and definitions needed for OS/2 */
/**
* \file os2_defines.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* Prototypes and definitions needed for OS/2.
*/
#ifndef OS2_DEFINES_H
#define OS2_DEFINES_H

View File

@ -1,15 +1,12 @@
/* -*- C++ -*- */
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* ======================================================
A table for translating OS/2 API return code into errno.
Copied from emx library source. */
/**
* \file os2_errortable.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* A table for translating OS/2 API return code into errno.
* Copied from emx library source.
*/
#ifndef OS2_ERRORTABLE_H
#define OS2_ERRORTABLE_H

View File

@ -1,9 +1,11 @@
/**
* \file path.C
* Copyright 1995-2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author unknown
* \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
@ -21,12 +23,12 @@ int Path::pop()
// throw logical_error();
return 0;
}
if (lyx::chdir(pushedDir_)) {
// should throw an exception
// throw DirChangeError();
}
popped_ = true;
return 0;
}

View File

@ -1,10 +1,12 @@
// -*- C++ -*-
/**
* \file path.h
* Copyright 1995-2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author unknown
* \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS
*/
#ifndef PATH_H
@ -40,7 +42,7 @@ public:
Path(string const & path)
: popped_(false)
{
if (!path.empty()) {
if (!path.empty()) {
pushedDir_ = lyx::getcwd();
if (pushedDir_.empty() || lyx::chdir(path))
/* FIXME: throw */;
@ -48,13 +50,13 @@ public:
popped_ = true;
}
}
/// set cwd to the previous value if needed
~Path()
{
if (!popped_) pop();
}
/// set cwd to the previous value if needed
int pop();
private:

View File

@ -1,12 +1,14 @@
/**
* \file systemcall.C
* Copyright 2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Asger Alstrup
*
* Interface cleaned up by
* \author Angus Leeming <a.leeming@ic.ac.uk>
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>

View File

@ -1,13 +1,15 @@
// -*- C++ -*-
/**
* \file systemcall.h
* Copyright 2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Asger Alstrup
*
* Interface cleaned up by
* \author Angus Leeming <a.leeming@ic.ac.uk>
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS
*/
#ifndef SYSTEMCALL_H
@ -19,7 +21,7 @@
#pragma interface
#endif
/**
/**
* An instance of Class Systemcall represents a single child process.
*
* Class Systemcall uses system() to launch the child process.
@ -36,7 +38,7 @@ public:
Wait, //< wait for completion before returning from startscript()
DontWait //< don't wait for completion
};
/** Start child process.
* The string "what" contains a commandline with arguments separated
* by spaces.

View File

@ -1,10 +1,13 @@
// -*- C++ -*-
/**
* \file textutils.h
* Copyright 1995-2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author unknown
* \author Matthias Ettrich
* \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS
*/
// FIXME: I can think of a better name for this file ...

View File

@ -1,10 +1,12 @@
// -*- C++ -*-
/**
* \file translator.h
* Copyright 1995-2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Baruch Even <baruch@lyx.org>
* \author Baruch Even
*
* Full author contact details are available in file CREDITS
*/
#ifndef TRANSLATOR_H

View File

@ -1,13 +1,15 @@
/**
* \file types.h
* Copyright 2002 the LyX Team
* Read the file COPYING
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* Provide a set of typedefs for commonly used things like sizes and
* indices wile trying to stay compatible with types used
* by the standard containers.
*
* \author André Pönitz
*
* Full author contact details are available in file CREDITS
*/
#ifndef LYX_TYPES_H