mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
one small private fix in mathed, put noncopyable and tie into boost namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1774 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a18d4a692a
commit
a27892b6c8
3
MAINTAINERS
Normal file
3
MAINTAINERS
Normal file
@ -0,0 +1,3 @@
|
||||
Mathed
|
||||
André Pönitz
|
||||
poenitz@HTWM.de
|
@ -1,3 +1,7 @@
|
||||
2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
|
||||
|
||||
* boost/utility.hpp: remove lyx specific modifications.
|
||||
|
||||
2001-02-20 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* .cvsignore: added various files
|
||||
|
@ -26,9 +26,8 @@
|
||||
#include <cstddef> // for size_t
|
||||
#include <utility> // for std::pair
|
||||
|
||||
// LGB
|
||||
//namespace boost
|
||||
//{
|
||||
namespace boost
|
||||
{
|
||||
|
||||
// next() and prior() template functions -----------------------------------//
|
||||
|
||||
@ -91,11 +90,7 @@
|
||||
template <class A, class B>
|
||||
inline tied<A,B> tie(A& a, B& b) { return tied<A,B>(a, b); }
|
||||
|
||||
// LGB
|
||||
//} // namespace boost
|
||||
} // namespace boost
|
||||
|
||||
#endif // BOOST_UTILITY_HPP
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -13,6 +13,7 @@ src/exporter.C
|
||||
src/ext_l10n.h
|
||||
src/FontLoader.C
|
||||
src/form1.C
|
||||
src/frontends/controllers/ButtonController.h
|
||||
src/frontends/gnome/FormCitation.C
|
||||
src/frontends/gnome/FormCopyright.C
|
||||
src/frontends/gnome/FormError.C
|
||||
@ -72,56 +73,54 @@ src/frontends/qt2/FormTabularCreate.C
|
||||
src/frontends/qt2/paragraphdlgimpl.C
|
||||
src/frontends/qt2/tabularcreatedlgimpl.C
|
||||
src/frontends/xforms/FileDialog.C
|
||||
src/frontends/xforms/FormBase.h
|
||||
src/frontends/xforms/FormBibitem.C
|
||||
src/frontends/xforms/form_bibitem.C
|
||||
src/frontends/xforms/FormBibtex.C
|
||||
src/frontends/xforms/FormBibitem.C
|
||||
src/frontends/xforms/form_bibtex.C
|
||||
src/frontends/xforms/FormBibtex.C
|
||||
src/frontends/xforms/form_browser.C
|
||||
src/frontends/xforms/FormCharacter.C
|
||||
src/frontends/xforms/form_character.C
|
||||
src/frontends/xforms/FormCitation.C
|
||||
src/frontends/xforms/FormCharacter.C
|
||||
src/frontends/xforms/form_citation.C
|
||||
src/frontends/xforms/FormCopyright.C
|
||||
src/frontends/xforms/FormCitation.C
|
||||
src/frontends/xforms/form_copyright.C
|
||||
src/frontends/xforms/FormCredits.C
|
||||
src/frontends/xforms/FormCopyright.C
|
||||
src/frontends/xforms/form_credits.C
|
||||
src/frontends/xforms/FormDocument.C
|
||||
src/frontends/xforms/FormCredits.C
|
||||
src/frontends/xforms/form_document.C
|
||||
src/frontends/xforms/FormError.C
|
||||
src/frontends/xforms/FormDocument.C
|
||||
src/frontends/xforms/form_error.C
|
||||
src/frontends/xforms/FormExternal.C
|
||||
src/frontends/xforms/FormError.C
|
||||
src/frontends/xforms/form_external.C
|
||||
src/frontends/xforms/FormFiledialog.C
|
||||
src/frontends/xforms/FormExternal.C
|
||||
src/frontends/xforms/form_filedialog.C
|
||||
src/frontends/xforms/FormGraphics.C
|
||||
src/frontends/xforms/FormFiledialog.C
|
||||
src/frontends/xforms/form_graphics.C
|
||||
src/frontends/xforms/FormInclude.C
|
||||
src/frontends/xforms/FormGraphics.C
|
||||
src/frontends/xforms/form_include.C
|
||||
src/frontends/xforms/FormIndex.C
|
||||
src/frontends/xforms/FormInclude.C
|
||||
src/frontends/xforms/form_index.C
|
||||
src/frontends/xforms/FormInset.h
|
||||
src/frontends/xforms/FormIndex.C
|
||||
src/frontends/xforms/FormLog.C
|
||||
src/frontends/xforms/FormParagraph.C
|
||||
src/frontends/xforms/form_paragraph.C
|
||||
src/frontends/xforms/FormPreamble.C
|
||||
src/frontends/xforms/FormParagraph.C
|
||||
src/frontends/xforms/form_preamble.C
|
||||
src/frontends/xforms/FormPreferences.C
|
||||
src/frontends/xforms/FormPreamble.C
|
||||
src/frontends/xforms/form_preferences.C
|
||||
src/frontends/xforms/FormPrint.C
|
||||
src/frontends/xforms/FormPreferences.C
|
||||
src/frontends/xforms/form_print.C
|
||||
src/frontends/xforms/FormRef.C
|
||||
src/frontends/xforms/FormPrint.C
|
||||
src/frontends/xforms/form_ref.C
|
||||
src/frontends/xforms/FormSearch.C
|
||||
src/frontends/xforms/FormRef.C
|
||||
src/frontends/xforms/form_search.C
|
||||
src/frontends/xforms/FormTabular.C
|
||||
src/frontends/xforms/FormSearch.C
|
||||
src/frontends/xforms/form_tabular.C
|
||||
src/frontends/xforms/FormTabularCreate.C
|
||||
src/frontends/xforms/FormTabular.C
|
||||
src/frontends/xforms/form_tabular_create.C
|
||||
src/frontends/xforms/FormToc.C
|
||||
src/frontends/xforms/FormTabularCreate.C
|
||||
src/frontends/xforms/form_toc.C
|
||||
src/frontends/xforms/FormUrl.C
|
||||
src/frontends/xforms/FormToc.C
|
||||
src/frontends/xforms/form_url.C
|
||||
src/frontends/xforms/FormUrl.C
|
||||
src/frontends/xforms/FormVCLog.C
|
||||
src/frontends/xforms/input_validators.C
|
||||
src/frontends/xforms/Menubar_pimpl.C
|
||||
|
@ -31,7 +31,7 @@ class WorkArea;
|
||||
class Language;
|
||||
|
||||
///
|
||||
class BufferView : public noncopyable {
|
||||
class BufferView : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
enum UpdateCodes {
|
||||
|
@ -1,3 +1,19 @@
|
||||
2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
|
||||
|
||||
* buffer.C (pop_tag): tie is in namespace boost
|
||||
|
||||
* BufferView.h: noncopyable is in namespace boost
|
||||
* lyxlex.h: ditto
|
||||
* lyx_main.h: ditto
|
||||
* lyx_gui.h: ditto
|
||||
* layout.h: ditto
|
||||
* lastfiles.h: ditto
|
||||
* bufferlist.h: ditto
|
||||
* ShareContainer.h: ditto
|
||||
* LyXView.h: ditto
|
||||
* LyXAction.h: ditto
|
||||
* LaTeX.h: ditto
|
||||
|
||||
2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* Merging changes from BRANCH_MVC back into HEAD.
|
||||
|
@ -97,7 +97,7 @@ bool operator!=(Aux_Info const & a, Aux_Info const & o)
|
||||
|
||||
|
||||
///
|
||||
class LaTeX : public noncopyable {
|
||||
class LaTeX : public boost::noncopyable {
|
||||
public:
|
||||
/** Return values from scanLogFile() and run() (to come)
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
/** This class encapsulates LyX action and user command operations.
|
||||
*/
|
||||
class LyXAction : public noncopyable {
|
||||
class LyXAction : public boost::noncopyable {
|
||||
private:
|
||||
///
|
||||
struct func_info {
|
||||
|
@ -44,7 +44,7 @@ using SigC::Object;
|
||||
view is supposed (at least IMHO) to be another class, that shows its output
|
||||
in one or more LyXView's.
|
||||
*/
|
||||
class LyXView : public Object, public noncopyable {
|
||||
class LyXView : public Object, public boost::noncopyable {
|
||||
public:
|
||||
/// constructor
|
||||
LyXView(int w, int h);
|
||||
|
@ -17,7 +17,7 @@
|
||||
\author Lars Gullik Bjřnnes
|
||||
*/
|
||||
template<class Share>
|
||||
class ShareContainer : public noncopyable {
|
||||
class ShareContainer : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
typedef std::vector<boost::shared_ptr<Share> > Params;
|
||||
|
@ -3642,7 +3642,8 @@ Buffer::Lists const Buffer::getLists() const
|
||||
#ifdef NEW_INSETS
|
||||
bool found;
|
||||
LyXTextClassList::size_type cap;
|
||||
tie(found, cap) = textclasslist.NumberOfLayout(params.textclass, "Caption");
|
||||
boost::tie(found, cap) = textclasslist
|
||||
.NumberOfLayout(params.textclass, "Caption");
|
||||
#endif
|
||||
|
||||
while (par) {
|
||||
|
@ -30,7 +30,7 @@
|
||||
This class should ideally be enclosed inside class BufferList, but that
|
||||
gave me an "internal gcc error".
|
||||
*/
|
||||
class BufferStorage : public noncopyable {
|
||||
class BufferStorage : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
typedef std::vector<Buffer *> Container;
|
||||
@ -68,7 +68,7 @@ private:
|
||||
|
||||
/** The class govern all open buffers.
|
||||
*/
|
||||
class BufferList : public noncopyable {
|
||||
class BufferList : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
BufferList();
|
||||
|
@ -66,7 +66,7 @@
|
||||
|
||||
The IgnorantPolicy is a special case that allows anything.
|
||||
*/
|
||||
class ButtonPolicy : public noncopyable {
|
||||
class ButtonPolicy : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
virtual ~ButtonPolicy() {}
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
|
||||
|
||||
* ButtonPolicies.h: noncopyable is in namespace boost
|
||||
* Dialogs.h (noncopyable): ditto
|
||||
* DialogBase.h (noncopyable): ditto
|
||||
|
||||
2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* Merging changes from BRANCH_MVC back into HEAD.
|
||||
|
@ -35,7 +35,7 @@ using SigC::Object;
|
||||
satisfy that request. Thus a dialog will have to "pull" the necessary
|
||||
details from the core of the program.
|
||||
*/
|
||||
class DialogBase : public Object, public noncopyable
|
||||
class DialogBase : public Object, public boost::noncopyable
|
||||
{
|
||||
public:
|
||||
/**@name Constructors and Deconstructors */
|
||||
|
@ -49,7 +49,7 @@ class InsetCommand;
|
||||
The list of dialog signals isn't comprehensive but should be a good guide
|
||||
for any future additions. Remember don't go overboard -- think minimal.
|
||||
*/
|
||||
class Dialogs : public noncopyable
|
||||
class Dialogs : public boost::noncopyable
|
||||
{
|
||||
public:
|
||||
///
|
||||
|
@ -33,7 +33,7 @@
|
||||
* This abstract base class stripped of xforms-specific code by
|
||||
* Angus Leeming <a.leeming@ic.ac.uk>
|
||||
*/
|
||||
class ButtonControllerBase : public noncopyable
|
||||
class ButtonControllerBase : public boost::noncopyable
|
||||
{
|
||||
public:
|
||||
/** Constructor.
|
||||
|
@ -66,7 +66,7 @@
|
||||
|
||||
The IgnorantPolicy is a special case that allows anything.
|
||||
*/
|
||||
class ButtonPolicy : public noncopyable {
|
||||
class ButtonPolicy : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
virtual ~ButtonPolicy() {}
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
|
||||
|
||||
* ButtonController.h: noncopyable is in namespace boost
|
||||
* ButtonPolicies.h: ditto
|
||||
|
||||
2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* Merging changes from BRANCH_MVC back into HEAD.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
|
||||
|
||||
* GraphicsCache.h: noncopyable is in namespace boost
|
||||
* ImageLoader.h: ditto
|
||||
* GraphicsCacheItem.h: ditto
|
||||
|
||||
2001-03-07 Baruch Even <baruch@lyx.org>
|
||||
|
||||
* GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
|
||||
|
@ -31,7 +31,7 @@ class GraphicsCacheItem;
|
||||
GraphicsCache is a singleton class, there should be only one instance of
|
||||
it at any moment.
|
||||
*/
|
||||
class GraphicsCache : public noncopyable {
|
||||
class GraphicsCache : public boost::noncopyable {
|
||||
public:
|
||||
/// Get the instance of the class.
|
||||
static GraphicsCache & getInstance();
|
||||
|
@ -33,7 +33,7 @@ using SigC::Signal0;
|
||||
class LyXImage;
|
||||
|
||||
/// A GraphicsCache item holder.
|
||||
class GraphicsCacheItem : public noncopyable {
|
||||
class GraphicsCacheItem : public boost::noncopyable {
|
||||
public:
|
||||
/// c-tor
|
||||
GraphicsCacheItem(string const & filename);
|
||||
|
@ -29,7 +29,7 @@ class LyXImage;
|
||||
*
|
||||
* @Author Baruch Even, <baruch.even@writeme.com>
|
||||
*/
|
||||
class ImageLoader : public noncopyable {
|
||||
class ImageLoader : public boost::noncopyable {
|
||||
public:
|
||||
/// Errors that can be returned from this class.
|
||||
enum Result {
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
|
||||
|
||||
* ExternalTemplate.h: noncopyable is in namespace boost
|
||||
* insetinclude.h: ditto
|
||||
* insetcommand.h: ditto
|
||||
|
||||
2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
|
||||
|
||||
* insettext.C (Edit): #else# -> #else.
|
||||
|
@ -72,7 +72,7 @@ struct ExternalTemplate {
|
||||
/**
|
||||
A singleton class that manages the external inset templates
|
||||
*/
|
||||
class ExternalTemplateManager : public noncopyable {
|
||||
class ExternalTemplateManager : public boost::noncopyable {
|
||||
public:
|
||||
/// Map from the LyX name of the template to the template structure
|
||||
typedef std::map<string, ExternalTemplate> Templates;
|
||||
|
@ -78,7 +78,7 @@ private:
|
||||
|
||||
|
||||
///
|
||||
class InsetCommand : public InsetButton, public noncopyable {
|
||||
class InsetCommand : public InsetButton, public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
explicit
|
||||
|
@ -24,7 +24,7 @@ struct LaTeXFeatures;
|
||||
|
||||
/** Used to include files
|
||||
*/
|
||||
class InsetInclude: public InsetButton, public noncopyable {
|
||||
class InsetInclude: public InsetButton, public boost::noncopyable {
|
||||
public:
|
||||
/// the type of inclusion
|
||||
enum IncludeFlags {
|
||||
|
@ -27,7 +27,7 @@
|
||||
kept are user defined, but defaults to four.
|
||||
@author Lars Gullik Bjønnes
|
||||
*/
|
||||
class LastFiles : public noncopyable {
|
||||
class LastFiles : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
typedef std::deque<string> Files;
|
||||
|
@ -547,7 +547,7 @@ std::ostream & operator<<(std::ostream & os, LyXTextClass::PageSides p);
|
||||
|
||||
|
||||
///
|
||||
class LyXTextClassList : public noncopyable {
|
||||
class LyXTextClassList : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
typedef std::vector<LyXTextClass> ClassList;
|
||||
|
@ -28,7 +28,7 @@ class Buffer;
|
||||
have not clearly figured out how this class is going to be, suggestions
|
||||
are welcome. (Lgb)
|
||||
*/
|
||||
class LyXGUI : public noncopyable {
|
||||
class LyXGUI : public boost::noncopyable {
|
||||
public:
|
||||
/** The only constructor allowed.
|
||||
If gui is false, LyX will operate in non-X mode
|
||||
|
@ -44,7 +44,7 @@ extern LastFiles * lastfiles; /* we should hopefully be able to move this
|
||||
/**
|
||||
This is the main LyX object it encapsulates most of the other objects.
|
||||
*/
|
||||
class LyX : public noncopyable {
|
||||
class LyX : public boost::noncopyable {
|
||||
public:
|
||||
/// the only allowed constructor
|
||||
LyX(int * argc, char * argv[]); // constructor
|
||||
|
@ -29,7 +29,7 @@ struct keyword_item {
|
||||
texclass and others to come.
|
||||
@see lyxrc.C for an example of usage.
|
||||
*/
|
||||
class LyXLex : public noncopyable {
|
||||
class LyXLex : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
LyXLex (keyword_item *, int);
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
|
||||
|
||||
* math_macrotable.h: noncopyable is in namespace boost
|
||||
* math_macrotemplate.h: ditto
|
||||
|
||||
* math_rowst.h: make MathedRowContainer::iterator public.
|
||||
|
||||
2001-03-15 André Pönitz <poenitz@htwm.de>
|
||||
|
||||
|
@ -16,7 +16,7 @@ class MathMacroTemplate;
|
||||
class MathMacro;
|
||||
|
||||
///
|
||||
class MathMacroTable : noncopyable {
|
||||
class MathMacroTable : boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
void addTemplate(boost::shared_ptr<MathMacroTemplate> const &);
|
||||
|
@ -19,7 +19,7 @@ class MathMacro;
|
||||
/** This class contains the macro definition
|
||||
\author Alejandro Aguilar Sierra
|
||||
*/
|
||||
class MathMacroTemplate : public MathParInset, public noncopyable {
|
||||
class MathMacroTemplate : public MathParInset, public boost::noncopyable {
|
||||
public:
|
||||
friend class MathMacro;
|
||||
|
||||
|
@ -61,7 +61,7 @@ protected:
|
||||
|
||||
|
||||
class MathedRowContainer {
|
||||
private:
|
||||
public:
|
||||
///
|
||||
typedef std::vector<MathedRowStruct> data_type;
|
||||
///
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
|
||||
|
||||
* FileInfo.h: noncopyable is in namespace boost
|
||||
* path.h: ditto
|
||||
|
||||
2001-02-16 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* syscontr.h: fix header include
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
/** Use objects of this class to get information about files.
|
||||
*/
|
||||
class FileInfo : public noncopyable {
|
||||
class FileInfo : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
FileInfo();
|
||||
|
@ -12,7 +12,7 @@
|
||||
#endif
|
||||
|
||||
///
|
||||
class Path : public noncopyable {
|
||||
class Path : public boost::noncopyable {
|
||||
public:
|
||||
///
|
||||
explicit
|
||||
|
Loading…
Reference in New Issue
Block a user