Delete a coupld of unwanted files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8308 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2004-01-06 19:32:05 +00:00
parent ac2fa5951e
commit 653ef9a012
7 changed files with 16 additions and 131 deletions

View File

@ -1,3 +1,7 @@
2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
* Chktex.C: include boost/format.hpp
2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net> 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
* InsetList.C: replace functor MathcIt with adaptable functor * InsetList.C: replace functor MathcIt with adaptable functor

View File

@ -15,12 +15,13 @@
#include "LaTeX.h" // TeXErrors #include "LaTeX.h" // TeXErrors
#include "support/BoostFormat.h"
#include "support/filetools.h" #include "support/filetools.h"
#include "support/lstrings.h" #include "support/lstrings.h"
#include "support/lyxlib.h" #include "support/lyxlib.h"
#include "support/systemcall.h" #include "support/systemcall.h"
#include <boost/format.hpp>
#include <fstream> #include <fstream>
using lyx::support::atoi; using lyx::support::atoi;

View File

@ -1,68 +0,0 @@
// -*- 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
// Only include this if it is possible to use
// Boost.Format at all.
#if USE_BOOST_FORMAT
#include <boost/format.hpp>
// Add explicit instantion for g++ compilers
#ifdef __GNUG__
namespace boost
{
extern template
std::ostream &
operator<< <char, std::char_traits<char> >(std::ostream &,
boost::basic_format<char> const &);
namespace io
{
extern template
std::string
str<char, std::char_traits<char> >(boost::basic_format<char> const &);
namespace detail
{
extern template
bool parse_printf_directive<char, std::char_traits<char> >
(std::string const &, std::string::size_type*,
format_item<char, std::char_traits<char> >*,
std::ios &, unsigned char);
extern template
void distribute<char, std::char_traits<char>, std::string const &>
(boost::basic_format<char>&, std::string const &);
extern template
boost::basic_format<char> &
feed<char, std::char_traits<char>,
std::string const &>(boost::basic_format<char> &,
std::string const &);
} // namespace detail
} // namespace io
} // namespace boost
#endif // __GNUG__
#endif // USE_BOOST_FORMAT
#endif // LYX_BOOST_FORMAT_H

View File

@ -1,3 +1,12 @@
2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
* Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
boost-inst.C
* BoostFormat.h: delete file
* boost-inst.C: delete fil
* lstrings.C: include boost/format.hpp
2004-01-05 Angus Leeming <leeming@lyx.org> 2004-01-05 Angus Leeming <leeming@lyx.org>
* globbing.[Ch]: new files containing some globbing utilities. * globbing.[Ch]: new files containing some globbing utilities.

View File

@ -15,14 +15,12 @@ endif
BUILT_SOURCES = path_defines.C BUILT_SOURCES = path_defines.C
libsupport_la_SOURCES = \ libsupport_la_SOURCES = \
BoostFormat.h \
FileInfo.C \ FileInfo.C \
FileInfo.h \ FileInfo.h \
FileMonitor.h \ FileMonitor.h \
FileMonitor.C \ FileMonitor.C \
abort.C \ abort.C \
atoi.C \ atoi.C \
boost-inst.C \
chdir.C \ chdir.C \
copy.C \ copy.C \
copied_ptr.h \ copied_ptr.h \

View File

@ -1,59 +0,0 @@
/**
* \file boost-inst.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 "support/BoostFormat.h"
#if USE_BOOST_FORMAT
namespace boost
{
template class basic_format<char>;
template
std::ostream &
operator<< <char, std::char_traits<char> >(std::ostream &,
boost::basic_format<char> const &);
namespace io
{
template
std::string
str<char, std::char_traits<char> >(boost::basic_format<char> const &);
namespace detail
{
template
bool parse_printf_directive<char, std::char_traits<char> >
(std::string const &, std::string::size_type*,
format_item<char, std::char_traits<char> >*,
std::ios &, unsigned char);
template
void distribute<char, std::char_traits<char>, std::string const &>
(boost::basic_format<char> &, std::string const&);
template
boost::basic_format<char> &
feed<char, std::char_traits<char>,
std::string const &>(boost::basic_format<char> &,
std::string const &);
} // namespace detail
} // namespace io
} // namespace boost
#endif // USE_BOOST_FORMAT

View File

@ -14,12 +14,12 @@
#include "lstrings.h" #include "lstrings.h"
#include "support/std_sstream.h" #include "support/std_sstream.h"
#include "debug.h" #include "debug.h"
#include "BoostFormat.h"
#include "lyxlib.h" #include "lyxlib.h"
#include "tostr.h" #include "tostr.h"
#include <boost/tokenizer.hpp> #include <boost/tokenizer.hpp>
#include <boost/assert.hpp> #include <boost/assert.hpp>
#include <boost/format.hpp>
#include <algorithm> #include <algorithm>