* Full author contact details are available in file CREDITS.
*/
+#include <config.h>
#include "Bidi.h"
#include "buffer.h"
#ifndef BIDI_H
#define BIDI_H
-#include <config.h>
-
#include "support/types.h"
#include <vector>
+2005-04-25 Angus Leeming <leeming@lyx.org>
+
+ * Bidi.[Ch]:
+ * coordcache.[Ch]:
+ * ispell.C:
+ * lyxserver.C:
+ * mover.C:
+ * pch.h:
+ include <config.h> in .C files, not .h ones.
+ add licence blurb.
+ protect headers inside preprocessor guards.
+
2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* FuncStatus.h (StatusCodes): document
2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
* lyxtext.h:
- * text.C (metrics):
+ * text.C (metrics):
* text2.C (getFont):
* rowpainter.C (getFont): Fix metrics bug introduced by inset
fonts fix
2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
- * rowpainter.C (RowPainter, getFont): fix font inside inset
+ * rowpainter.C (RowPainter, getFont): fix font inside inset
(bugs 1766, 1809)
2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* lyxfunc.C (dispatch): translate message before sending it to the
- minibuffer.
+ minibuffer.
2005-03-29 Angus Leeming <leeming@lyx.org>
2005-03-25 Stephan Witt <stephan.witt@beusen.de>
* vc-backend.C: use QuoteName to protect file names wherever
- necessary.
+ necessary.
2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
* lyxfunc.C (getStatus): fix warning when assertions are disabled
- * text3.C:
- * lyxfunc.C:
+ * text3.C:
+ * lyxfunc.C:
* dociterator.C: include <boost/current_function.hpp>, which is
needed when assertions are disabled.
-2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
+2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
- * text2.C: fix for stuck cursor when traversing two
- consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
+ * text2.C: fix for stuck cursor when traversing two
+ consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
2005-02-25 Andreas Vox <avox@arcor.de>
simple way. When no float is found above the caption, use the
labelstring of the caption layout as default.
- * text.C (breakParagraph, backspace):
+ * text.C (breakParagraph, backspace):
* text2.C (init, setLayout, changeDepth):
- * text3.C (dispatch):
+ * text3.C (dispatch):
* CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
updateCounters.
2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
- * paragraph_funcs.C: fix crash when pasting insets in change
+ * paragraph_funcs.C: fix crash when pasting insets in change
tracking mode [bug 1277] (honour change type in moveItem).
2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
but use update() to get correct screen display; use convert
- instead of istringstream.
- (getStatus): handle LFUN_GOTO_PARAGRAPH
+ instead of istringstream.
+ (getStatus): handle LFUN_GOTO_PARAGRAPH
* lyxfunc.C (dispatch, getStatus): do not handle
LFUN_GOTO_PARAGRAPH here.
+2005-04-25 Angus Leeming <leeming@lyx.org>
+
+ * client.C:
+ * pch.h:
+ include <config.h> in .C files, not .h ones.
+ add licence blurb.
+ protect headers inside preprocessor guards.
+
2005-02-25 Lars Gullik Bjonnes <larsbj@gullik.net>
* Makefile.am (man_MANS): clean generated files
#include <boost/scoped_ptr.hpp>
// getpid(), getppid()
-#include <sys/types.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
// select()
-#include <sys/select.h>
+#ifdef HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif
// socket(), connect()
-#include <sys/socket.h>
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
#include <sys/un.h>
// fcntl()
# include <unistd.h>
#endif
-#include <sys/select.h>
-#include <sys/socket.h>
+#ifdef HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
#include <sys/types.h>
#include <sys/un.h>
+/* \file coordcache.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 <config.h>
#include "coordcache.h"
#include "debug.h"
+// -*- C++ -*-
+/* \file coordcache.h
+ * 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.
+ */
+
#ifndef COORDCACHE_H
#define COORDCACHE_H
+2005-04-25 Angus Leeming <leeming@lyx.org>
+
+ * LyXView.C:
+ * nullpainter.[Ch]:
+ * pch.h:
+ include <config.h> in .C files, not .h ones.
+ add licence blurb.
+ protect headers inside preprocessor guards.
+
2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* Dialogs.[Ch] (checkStatus): new
#include <boost/bind.hpp>
-#include <sys/time.h>
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
+2005-04-25 Angus Leeming <leeming@lyx.org>
+
+ * GChanges.C:
+ * GLog.C:
+ * GShowFile.C:
+ * GTexinfo.C:
+ include <config.h> in .C files, not .h ones.
+ add licence blurb.
+ protect headers inside preprocessor guards.
+
2005-03-21 John Spray <spray_john@users.sf.net>
* GDocument.[Ch]: add "Page", "Margins", "Language" tabs.
* Full author contact details are available in file CREDITS.
*/
+#include <config.h>
+
// Too hard to make concept checks work with this file
#ifdef _GLIBCXX_CONCEPT_CHECKS
#undef _GLIBCXX_CONCEPT_CHECKS
#endif
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
#include "GChanges.h"
#include "ControlChanges.h"
* Full author contact details are available in file CREDITS.
*/
+#include <config.h>
+
// Too hard to make concept checks work with this file
#ifdef _GLIBCXX_CONCEPT_CHECKS
#undef _GLIBCXX_CONCEPT_CHECKS
#endif
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
#include "GLog.h"
#include "ControlLog.h"
* Full author contact details are available in file CREDITS.
*/
+#include <config.h>
+
// Too hard to make concept checks work with this file
#ifdef _GLIBCXX_CONCEPT_CHECKS
#undef _GLIBCXX_CONCEPT_CHECKS
#endif
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
#include "GShowFile.h"
#include "ControlShowFile.h"
* Full author contact details are available in file CREDITS.
*/
+#include <config.h>
+
// Too hard to make concept checks work with this file
#ifdef _GLIBCXX_CONCEPT_CHECKS
#undef _GLIBCXX_CONCEPT_CHECKS
#endif
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
#include "GTexinfo.h"
* Full author contact details are available in file CREDITS.
*/
+#include <config.h>
+
#include "nullpainter.h"
#include "LColor.h"
#ifndef NULLPAINTER_H
#define NULLPAINTER_H
-#include <config.h>
-
#include "LColor.h"
#include "Painter.h"
#include <boost/signals/trackable.hpp>
#include <boost/utility.hpp>
-#include <sys/time.h>
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
+2005-04-25 Angus Leeming <leeming@lyx.org>
+
+ * pch.h:
+ * moc/pch.h:
+ * qttableview.C:
+ include <config.h> in .C files, not .h ones.
+ add licence blurb.
+ protect headers inside preprocessor guards.
+
2005-04-22 Angus Leeming <leeming@lyx.org>
* Makefile.am:
#include <algorithm>
#include <cmath>
#include <iomanip>
-#include <limits.h>
+#ifdef HAVE_LIMITS_H
+# include <limits.h>
+#endif
#include <map>
#include <sstream>
#include <stack>
#include <algorithm>
#include <cmath>
#include <iomanip>
-#include <limits.h>
+#ifdef HAVE_LIMITS_H
+# include <limits.h>
+#endif
#include <map>
#include <sstream>
#include <stack>
/**********************************************************************
-** $Id: qttableview.C,v 1.6 2003/09/06 10:16:15 leeming Exp $
+** $Id: qttableview.C,v 1.7 2005/04/26 10:30:22 leeming Exp $
**
** Implementation of QtTableView class
**
#include "qscrollbar.h"
#include "qpainter.h"
-#include <limits.h>
+#ifdef HAVE_LIMITS_H
+# include <limits.h>
+#endif
/* Added by J. Levon for compilation with Qt 2.3.1 */
#ifndef Q_CHECK_PTR
+2005-04-25 Angus Leeming <leeming@lyx.org>
+
+ * FormLog.h:
+ * LayoutEngine.C:
+ * bmtable.c:
+ * xformsImage.C:
+ * forms/pch.h:
+ include <config.h> in .C files, not .h ones.
+ add licence blurb.
+ protect headers inside preprocessor guards.
+
2005-04-25 Angus Leeming <leeming@lyx.org>
* globbing.[Ch]: moved here from the support directory.
// -*- C++ -*-
/**
- * FormLog.h
+ * \file FormLog.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include "LayoutEngine.h"
#include "lyx_forms.h"
#include <config.h>
-#include <stdlib.h>
#include "bmtable.h"
#include "lyx_xpm.h"
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#if defined(__cplusplus)
extern "C"
#include "forms_gettext.h"
#include "gettext.h"
-#include <stdlib.h>
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#include "lyx_forms.h"
-#ifdef HAVE_FLIMAGE_H
+#if defined (HAVE_FLIMAGE_H)
# include <flimage.h>
-#else
-# ifdef HAVE_X11_FLIMAGE_H
+#elif defined (HAVE_X11_FLIMAGE_H)
# include <X11/flimage.h>
-# endif
#endif
#include <boost/bind.hpp>
// HP-UX 11.x doesn't have this header
#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
+# include <sys/select.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
#endif
-#include <sys/time.h>
using boost::shared_ptr;
#include <boost/bind.hpp>
#include <cerrno>
-#include <sys/stat.h>
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
#include <fcntl.h>
#ifdef __EMX__
-#include <cstdlib>
-#include <io.h>
-#define OS2EMX_PLAIN_CHAR
-#define INCL_DOSNMPIPES
-#define INCL_DOSERRORS
-#include <os2.h>
-#include "support/os2_errortable.h"
+# include <cstdlib>
+# include <io.h>
+# define OS2EMX_PLAIN_CHAR
+# define INCL_DOSNMPIPES
+# define INCL_DOSERRORS
+# include <os2.h>
+# include "support/os2_errortable.h"
#endif
using lyx::support::compare;
* Full author contact details are available in file CREDITS.
*/
+#include <config.h>
+
#include "lyxsocket.h"
#include "debug.h"
* Full author contact details are available in file CREDITS.
*/
+#include <config.h>
+
#include "mover.h"
#include "support/filetools.h"
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
-#include <sys/stat.h>
-#include <sys/time.h>
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
#include <algorithm>
#include <cerrno>
+2005-04-25 Angus Leeming <leeming@lyx.org>
+
+ * abort.C:
+ * atexit.c:
+ * forkedcall.[Ch]:
+ * forkedcontr.[Ch]:
+ * fs_extras.[Ch]:
+ * gzstream.[Ch]:
+ * kill.C:
+ * lyxsum.C:
+ * os2_defines.h:
+ * pch.h:
+ * tempname.C:
+ * userinfo.C:
+ include <config.h> in .C files, not .h ones.
+ add licence blurb.
+ protect headers inside preprocessor guards.
+
2005-04-25 Angus Leeming <leeming@lyx.org>
* globbing.[Ch]: removed to frontends/xforms.
#include "support/lyxlib.h"
-#include <stdlib.h>
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
void lyx::support::abort()
* This function is in the public domain. --Mike Stump.
*/
+#include <config.h>
+
#ifndef NEED_on_exit
int atexit(void (*f)())
{
# include <cerrno>
# include <csignal>
# include <cstdlib>
-# include <unistd.h>
-# include <sys/types.h>
+# ifdef HAVE_UNISTD_H
+# include <unistd.h>
+# endif
# include <sys/wait.h>
#endif
#include <boost/shared_ptr.hpp>
#include <boost/signal.hpp>
-#include <sys/types.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
namespace lyx {
# include <cerrno>
# include <csignal>
# include <cstdlib>
-# include <unistd.h>
+# ifdef HAVE_UNISTD_H
+# include <unistd.h>
+# endif
# include <sys/wait.h>
# ifndef CXX_GLOBAL_CSTD
#include <boost/shared_ptr.hpp>
-#include <sys/types.h> // needed for pid_t
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
#include <list>
#include <string>
// -*- C++ -*-
+/* \file fs_extras.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 <config.h>
#include <boost/detail/workaround.hpp>
#include <boost/throw_exception.hpp>
-#include <sys/types.h>
-#include <sys/stat.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
#include <fcntl.h>
// BOOST_POSIX or BOOST_WINDOWS specify which API to use.
// -*- C++ -*-
+/* \file fs_extras.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.
+ */
#include <boost/filesystem/path.hpp>
// ============================================================================
//
// File : gzstream.C
-// Revision : $Revision: 1.3 $
-// Revision_date : $Date: 2005/01/18 14:15:57 $
+// Revision : $Revision: 1.4 $
+// Revision_date : $Date: 2005/04/26 10:30:24 $
// Author(s) : Deepak Bandyopadhyay, Lutz Kettner
//
// Standard streambuf implementation following Nicolai Josuttis, "The
// Standard C++ Library".
// ============================================================================
+#include <config.h>
+
#include "gzstream.h"
#include <iostream>
-#include <string.h> // for memcpy
+#ifdef HAVE_STRING_H
+# include <string.h> // for memcpy
+#endif
#ifdef GZSTREAM_NAMESPACE
namespace GZSTREAM_NAMESPACE {
// ============================================================================
//
// File : gzstream.h
-// Revision : $Revision: 1.1 $
-// Revision_date : $Date: 2003/07/27 23:40:08 $
+// Revision : $Revision: 1.2 $
+// Revision_date : $Date: 2005/04/26 10:30:24 $
// Author(s) : Deepak Bandyopadhyay, Lutz Kettner
//
// Standard streambuf implementation following Nicolai Josuttis, "The
// standard C++ with new header file names and std:: namespace
#include <iostream>
#include <fstream>
-#include <zlib.h>
+#ifdef HAVE_ZLIB_H
+# include <zlib.h>
+#endif
// For LyX
#define GZSTREAM_NAMESPACE gz
#include "support/lyxlib.h"
-#include <sys/types.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
#include <csignal>
#ifdef _WIN32
// not `compatibility' version with caddr_t.
#define _POSIX_C_SOURCE 199506L
-#include <sys/types.h>
-#include <sys/stat.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#include "support/lyxlib.h"
-#include <sys/stat.h>
-#include <sys/types.h>
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#else
#include <ctype.h>
-#include <stdlib.h>
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#define readlink(s, t, l) (-1)
#endif
#include <process.h>
#include <boost/utility.hpp>
#include <fcntl.h>
-#include <sys/stat.h>
-#include <sys/types.h>
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
#include <time.h>
-#ifndef _WIN32
+#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
+#endif
+#ifndef _WIN32
# include <sys/un.h>
# include <sys/wait.h>
-# include <unistd.h>
+# ifdef HAVE_UNISTD_H
+# include <unistd.h>
+# endif
#endif
#include <algorithm>
#if !defined(HAVE_MKSTEMP) && defined(HAVE_MKTEMP)
# include <fcntl.h>
-# include <sys/stat.h>
+# ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+# endif
#endif
using boost::scoped_array;
# include <lmcons.h>
#else
# include <pwd.h>
-# include <unistd.h>
+# ifdef HAVE_UNISTD_H
+# include <unistd.h>
+# endif
+#endif
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
#endif
-#include <sys/types.h>
using std::string;