[root] / trunk / core / meta / src / TMethodCall.cxx Repository:
ViewVC logotype

Log of /trunk/core/meta/src/TMethodCall.cxx

Parent Directory Parent Directory


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

Revision 48971 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 28 11:20:20 2013 UTC (21 months, 3 weeks ago) by vvassilev
File length: 21189 byte(s)
Diff to previous 48970
Add fixme.

Revision 48970 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 28 11:17:31 2013 UTC (21 months, 3 weeks ago) by vvassilev
File length: 21039 byte(s)
Diff to previous 48043
Count correctly, otherwise we skip namespaces with single character(eg. A).

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: 21039 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: 20976 byte(s)
Diff to previous 47952
Rename TCINTMutex to TClingMutex.

Revision 47952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 10 18:57:10 2012 UTC (2 years, 1 month ago) by rdm
File length: 20966 byte(s)
Diff to previous 47413
More CINT removal cleanups:
- configure: remove enable_cling and hascling as we always have cling.
- remove many R__HAS_CLING ifdef's from the code.

Revision 47413 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 18 22:05:20 2012 UTC (2 years, 2 months ago) by pcanal
File length: 21289 byte(s)
Diff to previous 46511
Remove manipulation of gvp and mention in the documentation the backward incompatibility (no more multiplexing of with and without placement or with and without delete.

Revision 46511 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 12 16:35:21 2012 UTC (2 years, 3 months ago) by pcanal
File length: 21048 byte(s)
Diff to previous 43300
add reminder

Revision 43300 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 8 15:18:05 2012 UTC (2 years, 10 months ago) by pcanal
File length: 21020 byte(s)
Diff to previous 43299
In TMethodCall::ReturnType, fix dereference null return (coverity #35896)

Revision 43299 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 8 15:17:11 2012 UTC (2 years, 10 months ago) by pcanal
File length: 21012 byte(s)
Diff to previous 41697
In TMethodCall::ReturnType, fix dereference null return (coverity #35895)

Revision 41697 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 1 21:03:41 2011 UTC (3 years, 2 months ago) by pcanal
File length: 20957 byte(s)
Diff to previous 29701
Fix medium impact coverity reports

Revision 29701 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 6 15:27:35 2009 UTC (5 years, 5 months ago) by pcanal
File length: 20804 byte(s)
Diff to previous 26606
Clarify documentation

Revision 26606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 2 20:36:09 2008 UTC (6 years, 1 month ago) by pcanal
File length: 20796 byte(s)
Diff to previous 26440
Following Igor Smirnov analysis fix several memory leaks, add checks for null pointer dereference, fix or add copy constructor and assignment operator when applicable, make the copy constructor and assignment operator private when the objects are not intended to be copiable.

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: 20439 byte(s)
Diff to previous 24107
remove unnecessary include "TCint.h"

Revision 24107 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 05:31:21 2008 UTC (6 years, 7 months ago) by brun
File length: 20460 byte(s)
Diff to previous 24088
Fix a bug in the new version of TMethodCall::ReturnType. The internal variable rettype
cannot be reused as it points to a static variable in TCintFix a bug in the new version of TMethodCall::ReturnType. The internal variable rettype
cannot be reused as it points to a static variable in TCint..
s fixes the nightly builds problems.--This line, and those below, will be ignored--

M    core/meta/src/TMethodCall.cxx

Revision 24088 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 2 06:27:11 2008 UTC (6 years, 7 months ago) by brun
File length: 20344 byte(s)
Diff to previous 24077
Remove unused function and fix coding conventions.

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: 20361 byte(s)
Diff to previous 23427
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 23427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 09:44:51 2008 UTC (6 years, 9 months ago) by brun
File length: 19216 byte(s)
Diff to previous 22961
Fix dangerous shadowed variable.

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: 19213 byte(s)
Diff to previous 20882
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 19213 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/meta/src/TMethodCall.cxx
File length: 19213 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/meta/src/TMethodCall.cxx
File length: 19267 byte(s)
Diff to previous 19355
remove :$ from tag line

Revision 19355 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 16 19:15:15 2007 UTC (7 years, 6 months ago) by pcanal
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 19277 byte(s)
Diff to previous 17568
Also copy fOffset when copy TMethodCall object

Revision 17568 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 16:14:25 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 19216 byte(s)
Diff to previous 16926
-Replace calls to gROOT->GetClass by TClass::GetClass
-Remove unused references to TROOT.h

Revision 16926 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 14:24:54 2006 UTC (8 years, 2 months ago) by rdm
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 19218 byte(s)
Diff to previous 16244
patch handling namespace CINT of CINT 5-16-16.

Revision 16244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 13 05:03:43 2006 UTC (8 years, 4 months ago) by pcanal
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 19391 byte(s)
Diff to previous 16002
Avoid looking up the method when we have a TClass but not ClassInfo

Revision 16002 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 15 03:51:27 2006 UTC (8 years, 5 months ago) by pcanal
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 19367 byte(s)
Diff to previous 15431
When looking up the function by name, also look inside
Namespaces (and classes known only to CINT).
Factor the Init code into one single method.

Revision 15431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 14 18:15:30 2006 UTC (8 years, 7 months ago) by pcanal
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 18532 byte(s)
Diff to previous 13258
From AxeL: Remove cint function declaration which are now part of the CINT header files

Revision 13258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 16 20:11:59 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 18626 byte(s)
Diff to previous 12601
White spaces and comments update

Revision 12601 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 3 00:48:25 2005 UTC (9 years, 4 months ago) by pcanal
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 18599 byte(s)
Diff to previous 12258
Fix to follow coding conventions

Revision 12258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 5 22:22:34 2005 UTC (9 years, 6 months ago) by pcanal
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 18587 byte(s)
Diff to previous 12123
Add support for function names that contain a scope (TMath::Abs,
MyClass::MyStaticFunc).   This is especially useful now that
 G__p2f2funcname can find functions defined inside a scope.

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/meta/src/TMethodCall.cxx
File length: 17568 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/meta/src/TMethodCall.cxx
File length: 17539 byte(s)
Diff to previous 10908
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 10908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 12 19:18:47 2005 UTC (10 years ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 16582 byte(s)
Diff to previous 7146
From Philippe:
This patch enables TMethodCall to return the value of functions/methods
which return an enum.
This is in particular usefull for TTreeFormula.

Revision 7146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 22 15:13:18 2003 UTC (11 years, 5 months ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 16411 byte(s)
Diff to previous 7061
Fix by Philippe in TMethodCall::ReturnType to fix a cast problem with enums
reported by gcc3.4

Revision 7061 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 7 21:05:47 2003 UTC (11 years, 5 months ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 16443 byte(s)
Diff to previous 7006
From Philippe:
This patch removes an erroreneous warning message induces by TMethodCall::ReturnType when the return type is of the
form 'const ns::myclass'.  It was issuing a CINT error similar to 'const ns' is not a valid class name.

Revision 7006 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 26 05:51:55 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 16392 byte(s)
Diff to previous 6738
From Philippe
This patch implement the calling of function inside a TFormula for Windows.
The issue is the lookup of the interpreted functions.  For optimization
TROOT relies on comparison with a function address.  Those are not reliable
on windows (a function seemingly can have several different addresses).
The code is currently code guarder by R__WIN32, I suppose we should/could
actually code guard it with R__FUNCTION_ADDRESS_NOT_UNIQUE or something like
that defined in RConfig.h (for the revelant platform).  One question is
whether or not this patch is able needed on MacOS and/or AIX.

also add a method: TMethodCall::IsValid.

Revision 6738 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 18 11:28:32 2003 UTC (11 years, 7 months ago) by rdm
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 16135 byte(s)
Diff to previous 6720
remove compiler warning: in copy ctor call explicitely the base class copy ctor.

Revision 6720 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 16:21:21 2003 UTC (11 years, 7 months ago) by rdm
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 16127 byte(s)
Diff to previous 6717
fix some memory leaks in the assignment operators.

Revision 6717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 14:21:27 2003 UTC (11 years, 7 months ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 16002 byte(s)
Diff to previous 6421
From Philippe:
TMethod, TMethodCall and TFunction were made (correctly) duplicable.

Revision 6421 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 11:48:11 2003 UTC (11 years, 9 months ago) by rdm
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 14699 byte(s)
Diff to previous 6368
Big (unsigned) long long support patch. Following provided:
- basic typedefs in Rtypes.h: Long64_t and ULong64_t
- basic Long64 I/O support in TBuffer
- automatic Long64 I/O support in TStreamerInfo
- Long64 byteswap in Bytes.h
- Long64 type handling in classes like TDataMember, TDataType, TCint,
  TROOT, etc
- Removal of obsolete Long64_t typedefs in many PROOF classes
No changes for non-Long64 data types (no backward incompatibilies).
I/O tested for Long64 basic type, and static and dynamic arrays using
handcoded streamers, rootcint generated streamers and automatic StreamerInfo
streamers.

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/meta/src/TMethodCall.cxx
File length: 14527 byte(s)
Diff to previous 4079
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 4079 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 23 16:05:46 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 14424 byte(s)
Diff to previous 4056
add case for bool in ReturnType().

Revision 4056 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 22 09:37:29 2002 UTC (12 years, 11 months ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 14364 byte(s)
Diff to previous 3636
Patch from Mathieu de Naurois adding Thread-safety in many ROOT classes.
A new TVirtualMutex global is defined in TVirtualMutex.h (gCINTmutex).
gCINTMutes is used in TMethodCall to protect concurrent access to CINT.
The R__LOCKGUARD macro is introduced in many classes to check for a mutex.
The performance penalty introduced by the MUTEX logic
 -is ZERO in the application has no threads
 -about 10% in case of threads

Revision 3636 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 10 07:19:31 2002 UTC (13 years ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 14018 byte(s)
Diff to previous 3106
This patch from Philippe llows TTreeFormula to recover and properly return the
value of a method return a char* (or any variation).  So with
Event.root:  T->Draw("GetType()"), T->Draw("fTracks.GetTrackName()");
work properly.

Also fix a bug that prevented  T->Draw("fTracks[0].GetPx()");

Revision 3106 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 25 07:50:32 2001 UTC (13 years, 3 months ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 12999 byte(s)
Diff to previous 3105
Remove include of G__ci.h

Revision 3105 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 25 07:44:33 2001 UTC (13 years, 3 months ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 13019 byte(s)
Diff to previous 3103
The fixes by Philippe were not portable. On Windows, one cannot have a global variable
in a shared lib referenced outside the shared lib.
Two new functions have been implemented in parse.c
void G__settemplevel(int val)
void G__clearstack()

Revision 3103 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 25 06:20:29 2001 UTC (13 years, 3 months ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 12908 byte(s)
Diff to previous 859
From Philippe:
The following patches make sure that temporary created by
method calls from a TTreeFormula are properly deleted after
the processing of each event without a performance penalty

Revision 859 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 2 14:01:23 2000 UTC (14 years, 2 months ago) by rdm
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 12605 byte(s)
Diff to previous 844
put enum EReturnType in class scope of TMethodCall so it does not
polute the namespace.

Revision 844 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 31 11:18:25 2000 UTC (14 years, 2 months ago) by brun
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 12606 byte(s)
Diff to previous 415
Rename elements of enum EReturnType to avoid clash with TStreamerElement.
Old declaration   enum EReturnType { kLong, kDouble, kOther };
changed to        enum EReturnType { kLongRet, kDoubleRet, kOtherRet };

Revision 415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 1 23:46:46 2000 UTC (14 years, 5 months ago) by rdm
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 12595 byte(s)
Diff to previous 3
ReturnType() was only seeing the types that were typedefs and not the
basic types. Patch by Philippe.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/meta/src/TMethodCall.cxx
File length: 12401 byte(s)
Copied from: branches/rdm/meta/src/TMethodCall.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/meta/src/TMethodCall.cxx
File length: 12401 byte(s)
Initial import of ROOT into CVS

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