The usual small monday fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1069 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-10-02 14:35:11 +00:00
parent aa0f850e5d
commit 514da94bf0
20 changed files with 72 additions and 37 deletions

View File

@ -1,3 +1,39 @@
2000-10-02 John Levon <moz@compsoc.man.ac.uk>
* src/frontends/gnome/FormCitation.h:
* src/frontends/gnome/FormCopyright.h:
* src/frontends/gnome/FormIndex.h:
* src/frontends/gnome/FormPrint.h:
* src/frontends/gnome/FormToc.h:
* src/frontends/gnome/FormUrl.h:
* src/frontends/kde/FormCitation.h:
* src/frontends/kde/FormCopyright.h:
* src/frontends/kde/FormIndex.h:
* src/frontends/kde/FormRef.h:
* src/frontends/kde/FormToc.h:
* src/frontends/kde/FormUrl.h: fix remaining users of
support/utility.hpp
2000-10-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/buffer.C (linuxDocHandleFootnote): remove const modifier
from depth argument.
(DocBookHandleCaption): ditto.
(DocBookHandleFootnote): ditto.
(SimpleDocBookOnePar): ditto.
* src/frontends/xforms/FormDocument.h (form): remove extra
FormDocument:: qualifier.
* sigc++/macros/basic_signal.h.m4: remove erroneous virtual
destructor.
* sigc++/handle.h: ditto.
* src/lyx_gui_misc.C: add "using" directive.
* src/cheaders/cstddef: new file, needed by the boost library (for
compaq cxx).
2000-10-02 Juergen Vigna <jug@sad.it>
* src/insets/insettext.C (SetFont): better support.
@ -157,7 +193,7 @@
* lib/images/*: rename a bunch of icons to match Dekel converter
changes.
* src/buffer.C (SimpleLinuxDocOnePar): add a const qualifier to
* src/buffer.h (SimpleLinuxDocOnePar): remove const qualifier to
last parameter.
* src/frontends/xforms/FormBase.C (disconnect): remove bogus test.
@ -9806,4 +9842,3 @@
* po/pt.po: Three errors:
l.533 and l.538 format specification error
l. 402 duplicate entry, I just deleted it.

View File

@ -64,19 +64,6 @@ src/frontends/xforms/FormPrint.C
src/frontends/xforms/form_print.C
src/frontends/xforms/FormRef.C
src/frontends/xforms/form_ref.C
src/frontends/xforms/forms/form_citation.C
src/frontends/xforms/forms/form_copyright.C
src/frontends/xforms/forms/form_document.C
src/frontends/xforms/forms/form_error.C
src/frontends/xforms/forms/form_graphics.C
src/frontends/xforms/forms/form_index.C
src/frontends/xforms/forms/form_paragraph.C
src/frontends/xforms/forms/form_preferences.C
src/frontends/xforms/forms/form_print.C
src/frontends/xforms/forms/form_ref.C
src/frontends/xforms/forms/form_tabular.C
src/frontends/xforms/forms/form_toc.C
src/frontends/xforms/forms/form_url.C
src/frontends/xforms/FormTabular.C
src/frontends/xforms/form_tabular.C
src/frontends/xforms/FormToc.C

View File

@ -85,9 +85,6 @@ template <class Obj,class Scope_>
scope_.set(o,o,false);
}
// virtual destructor
virtual ~Handle() {}
};
#define HANDLE_CTORS(X,T,P) \

View File

@ -61,7 +61,7 @@ class LIBSIGC_API Signal_
SlotData* out_connect(SlotData *s);
Signal_();
virtual ~Signal_();
~Signal_();
public:
bool empty() const;

View File

@ -2502,7 +2502,7 @@ void Buffer::makeLinuxDocFile(string const & fname, bool nice, bool body_only)
#ifndef NEW_INSETS
void Buffer::linuxDocHandleFootnote(ostream & os, LyXParagraph * & par,
int const depth)
int depth)
{
string const tag = "footnote";
@ -2517,7 +2517,7 @@ void Buffer::linuxDocHandleFootnote(ostream & os, LyXParagraph * & par,
void Buffer::DocBookHandleCaption(ostream & os, string & inner_tag,
int const depth, int desc_on,
int depth, int desc_on,
LyXParagraph * & par)
{
LyXParagraph * tpar = par;
@ -2544,7 +2544,7 @@ void Buffer::DocBookHandleCaption(ostream & os, string & inner_tag,
#ifndef NEW_INSETS
void Buffer::DocBookHandleFootnote(ostream & os, LyXParagraph * & par,
int const depth)
int depth)
{
string tag, inner_tag;
string tmp_par, extra_par;
@ -2703,7 +2703,7 @@ void linux_doc_line_break(ostream & os, string::size_type & colcount,
void Buffer::SimpleLinuxDocOnePar(ostream & os, LyXParagraph * par,
int desc_on, int const /*depth*/)
int desc_on, int /*depth*/)
{
LyXFont font1;
char c;
@ -3215,7 +3215,7 @@ void Buffer::makeDocBookFile(string const & fname, bool nice, bool only_body)
void Buffer::SimpleDocBookOnePar(ostream & os, string & extra,
LyXParagraph * par, int & desc_on,
int const depth)
int depth)
{
bool emph_flag = false;

15
src/cheaders/cstddef Normal file
View File

@ -0,0 +1,15 @@
// -*- C++ -*- forwarding header.
// This file is part of the GNU ANSI C++ Library.
#ifndef __CSTDDEF__
#define __CSTDDEF__
#include <stddef.h>
// Add some types in the std namespace, since the boost library seems
// to look for them (JMarc)
namespace std {
typedef ::size_t size_t;
typedef ::ptrdiff_t ptrdiff_t;
}
#endif

View File

@ -18,7 +18,7 @@
#include "DialogBase.h"
#include "LString.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
#include "insets/insetcommand.h"
#include <gtk--/container.h>

View File

@ -16,7 +16,7 @@
#include "DialogBase.h"
#include <gnome--/about.h>
#include "support/utility.hpp"
#include "boost/utility.hpp"
class Dialogs;
// same arguement as in Dialogs.h s/LyX/UI/

View File

@ -18,7 +18,7 @@
#include "DialogBase.h"
#include "LString.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
#include "insets/insetcommand.h"
#include <gtk--/container.h>

View File

@ -15,7 +15,7 @@
#define FORMPRINT_H
#include "DialogBase.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
#include <gtk--/widget.h>
#include <gtk--/radiobutton.h>

View File

@ -18,7 +18,7 @@
#include "DialogBase.h"
#include "LString.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
#include "insets/insetcommand.h"
#include "buffer.h"

View File

@ -18,7 +18,7 @@
#include "DialogBase.h"
#include "LString.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
#include "insets/insetcommand.h"
#include <gtk--/container.h>

View File

@ -17,7 +17,7 @@
#include "DialogBase.h"
#include "support/lstrings.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
#include "insets/insetcommand.h"
#include <vector>

View File

@ -19,7 +19,7 @@
#define FORMCOPYRIGHT_H
#include "DialogBase.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
class Dialogs;
class LyXView;

View File

@ -17,7 +17,7 @@
#include "DialogBase.h"
#include "LString.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
#include "insets/insetindex.h"
class Dialogs;

View File

@ -17,7 +17,7 @@
#include "DialogBase.h"
#include "LString.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
#include "insets/insetcommand.h"
class Dialogs;

View File

@ -17,7 +17,7 @@
#include "DialogBase.h"
#include "LString.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
#include "insets/insetcommand.h"
#include "buffer.h"

View File

@ -17,7 +17,7 @@
#include "DialogBase.h"
#include "LString.h"
#include "support/utility.hpp"
#include "boost/utility.hpp"
#include "insets/inseturl.h"
class Dialogs;

View File

@ -113,7 +113,7 @@ private:
/// Build the popup
virtual void build();
///
virtual FL_FORM * const FormDocument::form() const;
virtual FL_FORM * const form() const;
/// Typedefinitions from the fdesign produced Header file
FD_form_tabbed_document * build_tabbed_document();

View File

@ -38,6 +38,7 @@
using std::pair;
using std::make_pair;
using std::endl;
extern BufferView * current_view;