[root] / trunk / core / base / src / TQConnection.cxx Repository:
ViewVC logotype

Log of /trunk/core/base/src/TQConnection.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48045 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 14 13:58:23 2012 UTC (2 years, 1 month ago) by rdm
File length: 24250 byte(s)
Diff to previous 48043
From Bertrand:
implement TInterpreter::IgnoreExtraArgs(bool) so slots with less arguments
than the signal work by ignoring the extra arguments (CINT was happiliy
doing that but cling not).

Revision 48043 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 14 12:20:32 2012 UTC (2 years, 1 month ago) by rdm
File length: 24200 byte(s)
Diff to previous 47991
change gCint -> gCling (and not the generic gInterpreter as we'll stay for a
while with cling ;-) ).

Revision 47991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 18:40:25 2012 UTC (2 years, 1 month ago) by rdm
File length: 24153 byte(s)
Diff to previous 44507
Rename TCINTMutex to TClingMutex.

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 24144 byte(s)
Diff to previous 43123
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 43123 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 25 15:26:41 2012 UTC (2 years, 10 months ago) by rdm
File length: 24114 byte(s)
Diff to previous 26440
From Bertrand:
var args were not copied resulting in random errors. Fixes issue 91777.

Revision 26440 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 25 03:06:35 2008 UTC (6 years, 1 month ago) by pcanal
File length: 24720 byte(s)
Diff to previous 25128
remove unnecessary include "TCint.h"

Revision 25128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 12 17:59:19 2008 UTC (6 years, 5 months ago) by pcanal
File length: 24741 byte(s)
Diff to previous 24199
From Matevz:

* TCollection:
   Replace Print() methods
     virtual void       Print(Option_t *wildcard="") const;
     virtual void       Print(Option_t *wildcard, Option_t *option) const;
   with --------------------------------------------------
     virtual void       Print(Option_t *option="") const;
     virtual void       Print(Option_t *option, Int_t recurse) const;
     virtual void       Print(Option_t *option, const char* wildcard,
                              Int_t recurse=1) const;
     virtual void       Print(Option_t *option, TPRegexp& regexp,
                              Int_t recurse=1) const;
   Introduce three new protected methods used to print out collection details.
   These are called from the Print() methods and make overriding of what
   is printed for a collection / entries easier.
     virtual void        PrintCollectionHeader(Option_t* option) const;
     virtual const char* GetCollectionEntryName(TObject* entry) const;
     virtual void        PrintCollectionEntry(TObject* entry, Option_t* option,
                                              Int_t recurse) const;

* TMap:
   Remove two overloaded Print() methods, implement protected
   PrintCollectionEntry() instead.

* TQCommand, TQUndoManager, TQConnection, TQConnectionList
   Remove overriden Print() methods. If needed, override
   PrintCollectionHeader() or PrintCollectionEntry() instead.

* TAlienJobStatusList
   Remove Print(), implement PrintCollectionEntry() instead.

* TAlienResult
   Remove overloaded Print(wildcard, option) which no longer exists.

* test/tcollprint.cxx
   New file - demonstrates behaviour of Print() methods for TList and TMap.

Revision 24199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 10 13:28:19 2008 UTC (6 years, 7 months ago) by brun
File length: 24725 byte(s)
Diff to previous 24077
From Bertrand:
- Fix a problem with TQSlotPool inheriting from THashTable
  but having no ClassDef(). This was making crash at
  destruction time, the class scheme being wrong.
  Creating a THashTable private data member instead of
  inheriting from it solves the problem. Thanks to Andrei for
  the report.

Revision 24077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 31 19:39:09 2008 UTC (6 years, 7 months ago) by brun
File length: 24653 byte(s)
Diff to previous 22961
Extend the TInterpreter class to support the CINT API used so far by ROOT.
The concrete implementation of the class is in TCint.
The new functions are essentially interfaces to the existing CINT C++ classes
like G__ClassInfo, G__CallFunc, G__DataMemberInfo, G__MethodInfo, G__TypeInfo
and G__TypedefInfo. Most of these functions will call the Reflex interface
once the CINT/Reflex interface will be available later this year.
All direct calls to CINT are replaced by calls like gCint->ClassInfo_xxx where gCint
points to the TCint implementation.
The existing calls to TCint via gInterpreter are kept because on Windows
gInterpreter does not call directly TCint, but instead call TWin32InterpreterProxy
that in turns call TCint.
On Linux and Mac, gInterpreter and gCint are equivalent.

Once the transformation using gCint will be completed, it will be possible
to specify at startup time which version of CINT (CINT or CINT7) by loading
dynamically TCint or TCint7.--This line, and those below, will be ignored--

M    core/meta/src/TStreamerElement.cxx
M    core/meta/src/TCint.cxx
M    core/meta/src/TGlobal.cxx
M    core/meta/src/TBaseClass.cxx
M    core/meta/src/TDataMember.cxx
M    core/meta/src/TInterpreter.cxx
M    core/meta/src/TClass.cxx
M    core/meta/src/TMethodArg.cxx
M    core/meta/src/TDataType.cxx
M    core/meta/src/TMethodCall.cxx
M    core/meta/src/TIsAProxy.cxx
M    core/meta/src/TMethod.cxx
M    core/meta/src/TFunction.cxx
M    core/meta/inc/TClass.h
M    core/meta/inc/TDictionary.h
M    core/meta/inc/TMethodArg.h
M    core/meta/inc/TDataType.h
M    core/meta/inc/TMethodCall.h
M    core/meta/inc/TMethod.h
M    core/meta/inc/TFunction.h
M    core/meta/inc/TCint.h
M    core/meta/inc/TGlobal.h
M    core/meta/inc/TBaseClass.h
M    core/meta/inc/TDataMember.h
M    core/meta/inc/TInterpreter.h
M    core/thread/src/TThread.cxx
M    core/base/src/TVirtualFitter.cxx
M    core/base/src/TStorage.cxx
M    core/base/src/TQConnection.cxx
M    core/base/src/TROOT.cxx
M    core/base/src/TSystem.cxx
M    core/base/src/TQObject.cxx
M    core/rint/src/TRint.cxx
M    core/rint/src/TTabCom.cxx
M    math/foam/src/TFoam.cxx
M    math/minuit2/src/TFitterMinuit.cxx
M    math/mathcore/src/FunctorCint.cxx
M    math/minuit/src/TMinuit.cxx
M    tree/tree/src/TTree.cxx
M    tree/tree/src/TSelectorCint.cxx
M    tree/tree/src/TSelector.cxx
M    tree/tree/inc/TSelectorCint.h
M    roofit/roofitcore/src/RooGenCategory.cxx
M    roofit/roofitcore/src/RooWorkspace.cxx
M    hist/hist/src/TF1.cxx
M    gui/guibuilder/src/TGuiBldDragManager.cxx
M    net/alien/inc/TAlienSystem.h

Revision 22961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by rdm
File length: 23966 byte(s)
Diff to previous 20877
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 20877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:17:07 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 23966 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 23966 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 24021 byte(s)
Diff to previous 18765
remove :$ from tag line

Revision 18765 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 14 10:18:30 2007 UTC (7 years, 8 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 24031 byte(s)
Diff to previous 18172
From Ilka:
The attached patch fixes the crash in TROOT dtor when using .q while
the ROOT browser is active. The crash comes from additional deletion
attempt of GUI elements in TQSlotPool dtor.

Revision 18172 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 6 14:53:54 2007 UTC (7 years, 10 months ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 24022 byte(s)
Diff to previous 17567
From Axel:
fixes a problem with TQSlot, which used a local
G__ClassInfo gcl as the class context for a G__CallFunc. As soon as gcl
went out of scope, the G__CallFunc's class info became invalid. It fixes
an error visible with guitest.C reported by valgrind.

Also contains a fix for TCint's doc.

Revision 17567 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 15:53:35 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 23879 byte(s)
Diff to previous 17561
-Replace calls to gROOT->GetClass by TClass::GetClass
-Remove unused references to TROOT.h

Revision 17561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 15:10:49 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 23878 byte(s)
Diff to previous 17412
-Add include "TROOT.h" in all implementation files that were assuming
that TROOT was included via TClass.h


-In TClass.h:
 --Remove the include of TROOT.h
 --add the following static member
   static IdMap_t    *fgIdMap;          //Map from typeid to TClass pointer

 --add the following functions:
   static void           AddClass(TClass *cl);
   static void           RemoveClass(TClass *cl);

 --Replace the inline definitions of GetClass functions by
   template <typename T> TClass* GetClass(      T**       /* dummy */) { return GetClass((T*)0); }
   template <typename T> TClass* GetClass(const T**       /* dummy */) { return GetClass((T*)0); }

-In TClass.cxx:
 --Instead of forwarding the calls to gROOT->GetClass, move the code
  originally in TROOT in the TClass::GetClass functions
 --Move class TMapTypeToTClass from TROOT to TClass.

Revision 17412 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 20 19:29:35 2007 UTC (8 years ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 23858 byte(s)
Diff to previous 14745
-Remove Varargs.h from TString.h and TObject.h and add this include
in the few files that need it.

-Move the following enums from TBuffer.h to TBufferFile.h

   enum { kMapSize = 503 };
   enum { kStreamedMemberWise = BIT(14) }; //added to version number to know if a collection has been stored member-wise
   enum { kNotDecompressed = BIT(15) };    //indicates a weird buffer, used by TBasket
   enum { kCannotHandleMemberWiseStreaming = BIT(17), //if set TClonesArray should not use memeber wise streaming
          kTextBasedStreaming = BIT(18) };            // indicates if buffer used for XML/SQL object streaming

Revision 14745 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 08:22:26 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 23838 byte(s)
Diff to previous 12123
Change the TError.h macros:
Assert   ->  R__ASSERT
Check    ->  R__CHECK
Change the TCollection.h macro:
ForEach  ->  R__FOR_EACH
This to avoid potential problems due too trivial macro names.
The old macros will be removed in the next release. Currently
they will print out warning messages with the advice to move
to the new macro names.

Revision 12123 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 22 20:18:12 2005 UTC (9 years, 7 months ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 23833 byte(s)
Diff to previous 11318
From Constantin Loizides

This patch implements:
- decentralized, automatic mutex initialization,
  see R__LOCKGUARD2 in TVirtualMutex
- PROOF parallel startup fixes
- more thread protection (in base, cont, meta, rest to be done)
- cleanups

From Eddy Offermann:
TString::Atoi and Atof are made const.

Revision 11318 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 13 15:05:31 2005 UTC (9 years, 10 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 23814 byte(s)
Diff to previous 8588
add support for native long long handling. Also added new emit method:
EmitVA() which allows a variable length argument list which makes
multi argument signal and slot methods with float and double arguments
possible (was not possible in the past).

Revision 8588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 15 10:13:41 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 17961 byte(s)
Diff to previous 8580
fix several white space issues. Everybody, please use editors that strip spaces and
tabs at end of lines.

Revision 8580 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 14 15:02:13 2004 UTC (10 years, 9 months ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 17959 byte(s)
Diff to previous 8576
Fix problems in copy constructors (Valery Onuchin0

Revision 8576 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 14 11:31:23 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 17895 byte(s)
Diff to previous 8573
From Valeriy:
- TQSlot objects can be shared. Create/Delete new TQSlot object via TQSlotPool
  instead of using new/delete operators.
- add copy constructor to TQConnection class

Revision 8573 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 13 17:41:16 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 16003 byte(s)
Diff to previous 7302
From Philippe:
don't actually delete the slot when it is 'executing', let's do it after the end
of the execution.

Revision 7302 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 19 14:06:27 2003 UTC (11 years, 4 months ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 14687 byte(s)
Diff to previous 6599
From Valeriy Onuchin:

- GetClassName method added to TQConnection class
  required for "SavePrimitives" (signal-slot connections)

Revision 6599 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 11 14:09:10 2003 UTC (11 years, 8 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 14602 byte(s)
Diff to previous 6368
avoid possible double deletion in dtors. Fix proposed by Daniel Sigg.

Revision 6368 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 3 16:55:12 2003 UTC (11 years, 9 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 14585 byte(s)
Diff to previous 6266
G__CallFunc::SetArgArray() does now take an argument count if less than
all arguments are set (in case of default arguments one does not have
to specify all arguments). This change is now reflected in TMethodCall
and the classes that use this call. Execept for the signal/slot and
plugin manager code this is backward compatible in the ROOT sources
(e.g. since in TF1 the array contained always the values for all arguments).
The changes in the signal/slot and pluginmanager code make this change
also backward compatible for the user code.

Revision 6266 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 7 07:20:16 2003 UTC (11 years, 10 months ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 14453 byte(s)
Diff to previous 5943
The class TQConnection uses CINT and is not protected for multi-threading.
This patch from Mathieu de Naurois adds R__LOCKGUARD(gCINTMutex) at
several places in the code.

Revision 5943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 20 08:44:47 2003 UTC (12 years ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 14221 byte(s)
Diff to previous 5717
Add protections in destructors in case the default constructor has been called.
Initialize pointers in some default constructors.

Revision 5717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 2 18:50:12 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 14198 byte(s)
Diff to previous 3748
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 14205 byte(s)
Diff to previous 3742
rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change
is necessary because on Windows which is case insensitive IOStream.h
hides the real iostream.h.

Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 17:52:52 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 14204 byte(s)
Diff to previous 2439
use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant
and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and
<iomanip[.h]>.

Revision 2439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 22 16:10:23 2001 UTC (13 years, 7 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 14204 byte(s)
Diff to previous 1767
make code more const char* correct (i.e. "strings" must be const char*) and
declare several functions extern "C". Mods by Dave Morrison.

Revision 1767 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 8 14:46:04 2001 UTC (13 years, 10 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 14493 byte(s)
Diff to previous 1210
fixed nasty case where an executing slot could, via via, delete itself
while executing. Problem was visible when running guitest.C.

Revision 1210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 16:45:36 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 13847 byte(s)
Diff to previous 1205
Changes related to const (reported by Hpux/acc)

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/base/src/TQConnection.cxx
File length: 13826 byte(s)
Diff to previous 811
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

Revision 811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 22 19:21:29 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 13797 byte(s)
Diff to previous 774
several small enhancements in the signal/slots classes. Added the method
TQObject::HasConnection() to see if a signal has been connected to.

Revision 774 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Oct 17 12:19:19 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/base/src/TQConnection.cxx
File length: 13745 byte(s)
This is the ROOT implementation of the Qt object communication
mechanism (see also http://www.troll.no/qt/metaobjects.html)

Signals and slots are used for communication between objects.
When an object has changed in some way that might be interesting
for the outside world, it emits a signal to tell whoever is
listening. All slots that are connected to this signal will be
activated (called). It is even possible to connect a signal
directly to another signal (this will emit the second signal
immediately whenever the first is emitted.) There is no limitation
on the number of slots that can be connected to a signal.
The slots will be activated in the order they were connected
to the signal. This mechanism allows objects to be easily reused,
because the object that emits a signal does not need to know
to which objects the signals are connected.
Together, signals and slots make up a powerfull component
programming mechanism.

This implementation is provided by
Valeriy Onuchin (onuchin@sirius.ihep.su).

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9