- Jan 11, 2003
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@5874 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Remove a small memory leak from rootcint git-svn-id: http://root.cern.ch/svn/root/trunk@5870 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 09, 2003
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@5855 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 17, 2002
-
-
Rene Brun authored
The following patch insures that nested union and enumerations are properly treated in the ShadowClass generation. git-svn-id: http://root.cern.ch/svn/root/trunk@5826 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
From Philippe Fix for hp-ux git-svn-id: http://root.cern.ch/svn/root/trunk@5824 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Fix a problem reported by Bill Tanembaum. The problem had to do with nested typedef to simple type. I simplify the resulting code of the shadow class by resolving the typedef to their true names. git-svn-id: http://root.cern.ch/svn/root/trunk@5822 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 14, 2002
-
-
Rene Brun authored
The following patch makes sure that the Shadow Class always use fully qualified name when refering to their data members. This is avoid a confusion when the template parameter and the template instantiation are in the same dictionary. (This is usefull for CMS). git-svn-id: http://root.cern.ch/svn/root/trunk@5810 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 13, 2002
-
-
Rene Brun authored
patch which makes sure that the fully qualified name is used for the inheritance of shadow classes. git-svn-id: http://root.cern.ch/svn/root/trunk@5804 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 10, 2002
-
-
Fons Rademakers authored
STL and gcc 2.x, i.e. in gcc 2.x use the correct allocator in STL containers. By Philippe. git-svn-id: http://root.cern.ch/svn/root/trunk@5778 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 09, 2002
-
-
Fons Rademakers authored
templated classes on MS Windows. git-svn-id: http://root.cern.ch/svn/root/trunk@5773 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 08, 2002
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@5768 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@5763 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 05, 2002
-
-
Rene Brun authored
rootcint now properly detects that an operator new hides (for C++) any operator new with placement previously declared in the class hierarchy git-svn-id: http://root.cern.ch/svn/root/trunk@5752 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Dec 04, 2002
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@5741 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Nov 27, 2002
-
-
Rene Brun authored
This patch: a) add ClassDef to the generate TSelector with version 0. b) keep the Error message for all cases but those inheriting from TSelector (Warnings are not seems in the default rootcint mode). c) rootcint succeed in all cases (hence allowing user to compile classes that do not strictly implement the TObject interface). git-svn-id: http://root.cern.ch/svn/root/trunk@5686 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Nov 11, 2002
-
-
Rene Brun authored
The following patch 'upgrades' the new TClass and TGenericClassInfo code to actually follow the ROOT coding conventions. This patch also enables a rootcint error (prevents the creation of the dictionary) in the case where the class derives (directly or indirectly) from TObject and do not have its own ClassDef. 3 helper class in ROOT failed the test: TGFrameElement, TAssoc and TGMenuEntry. Philippe. git-svn-id: http://root.cern.ch/svn/root/trunk@5564 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
constructors and destructor. It also allows for feeding a way to access the constructor and destructor independently of the dictionary. 5 new data members were added to TGenericClassInfo/TClass. Those are direct wrapper around - default constructor - array constructor - delete - delete [] - destructor In TKey::TKey and TBuffer::WriteObjectAny, a new message was added: Warning in <TKey::TKey>: Since TSocket had no public constructor which can be called without argument, TSocket objects can not be read with the current library. You would need to add a default constructor before attempting to read. Philippe. git-svn-id: http://root.cern.ch/svn/root/trunk@5560 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Nov 01, 2002
-
-
Rene Brun authored
This patch adds the ability to save objects of classes using multiple inheritance (directly or indirectly) as part of other objects. (Previously multiple inheritance was only supported for top level objects). In TBuffer.h, TBuffer.cxx: TBuffer::WriteObject( const void *actualObjStart, TClass *actualClass); has been made protected. It is replaced by WriteObjectAny(const void *obj, TClass *ptrClass); which has a slightly different semantic (for multiple inheriting classes). The value of 'obj' in expected to be a value that can be legally stored in a pointer to an object of the type described by 'ptrClass'. I.e: MyClass *ptr; .... b.WriteObjectAny(ptr,gROOT->GetClass(typeid(MyClass))); We introduced: void *ReadObjectAny(const TClass* cast); which returns a value suitable to be stored in a pointer to an object of the type described by 'cast'. I.e, a typical usage is: MyClass *ptr = (MyClass*)b.ReadObjectAny(MyClass::Class()); The existing function TObject *TBuffer::ReadObject(const TClass *clReq) now ignores its parameter and returns the address where the object read actually start. It should be noted that if the object is of a class which derives from TObject but not as a first inheritance, this value is NOT a valid TObject*. We recommend using ReadObjectAny instead. In TKey.cxx, I reverted the comments to properly describe how to deal with top level object which inherits from TObject but not as a first inheritance (can not use dynamic_cast). In TGenericInfo.h, TGenericInfo.cxx, rootcint.cxx and TClass.cxx, we moved to always use an IsA wrapper function instead of using the interpreter for TObjects. TClass.cxx has been modified to optimize a few function now called many times. TStreamerInfo.cxx and TStreamerElement.cxx has been modified to use the new TBuffer function and to properly read/write multiple inheriting objects. git-svn-id: http://root.cern.ch/svn/root/trunk@5523 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Oct 23, 2002
-
-
Rene Brun authored
"I think it is inconvenient for the user (and the documenter) that the 'cint' executable behaves differently in the ROOT environment or in the pure CINT environment. For example, the lastest change broke Fons' script to build the cintdlls (since linG__set_globalcompk was off by default, the cintdlls where actually empty!). So I propose to reset the 'link mode' to be on by default for the 'cint' executable. We can then explicitly set it to be off in the 'rootcint' executable. In order to properly implement this, I also needed to fix the handling of the argument to '-c' (corretly use the abs value and propagate all the change into G__set_globalcomp. git-svn-id: http://root.cern.ch/svn/root/trunk@5465 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Oct 22, 2002
-
-
Rene Brun authored
This updates increase the support for const data members (the existing std::string special cases needed to be updated). It also explicitly disable I/O for data members which are references. git-svn-id: http://root.cern.ch/svn/root/trunk@5458 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
This patch repairs TBench.cxx on gcc below 3.1. We need to use the 'name' of the class rather than its TrueName (which is implementation dependent!!). git-svn-id: http://root.cern.ch/svn/root/trunk@5453 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Oct 21, 2002
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@5450 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
The following modification of rootcint allow the generation of dictionaries for classes with const data members. git-svn-id: http://root.cern.ch/svn/root/trunk@5445 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 23, 2002
-
-
Rene Brun authored
for I/O. git-svn-id: http://root.cern.ch/svn/root/trunk@5342 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 17, 2002
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@5324 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 16, 2002
-
-
Rene Brun authored
This updates prevents a core dump in case of a container of pointer to float. It also remove a few fixed length buffers. git-svn-id: http://root.cern.ch/svn/root/trunk@5314 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 12, 2002
-
-
Rene Brun authored
of non-ClassDef classes that inherits from a class located in a namespace. git-svn-id: http://root.cern.ch/svn/root/trunk@5271 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 11, 2002
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@5265 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Sep 09, 2002
-
-
Rene Brun authored
In TPluginManager.cxx: fix debug ouput to work in case of missing handler. In TClassTable.cxx: fix the debug output when printing the content of the table of dictionaries. In rootcint.cxx allow using classes from the same namespace as a data member git-svn-id: http://root.cern.ch/svn/root/trunk@5240 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Aug 24, 2002
-
-
Fons Rademakers authored
line the R__UseDummy macro. Code was failing with classes with more than one template argument. Reported by Bill Tanenbaum. git-svn-id: http://root.cern.ch/svn/root/trunk@5187 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Aug 20, 2002
-
-
Fons Rademakers authored
make sure that unused variables are used or removed. There were many unused variables in the Rtypes.h and dictionaries (the "dummyinit" vars). git-svn-id: http://root.cern.ch/svn/root/trunk@5156 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jul 30, 2002
-
-
Rene Brun authored
of a shadow class for any of the STL classes. git-svn-id: http://root.cern.ch/svn/root/trunk@5027 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jul 23, 2002
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@5001 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jul 19, 2002
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@4991 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jul 12, 2002
-
-
Fons Rademakers authored
iosenum.h rootcint cannot generate dictionaries. git-svn-id: http://root.cern.ch/svn/root/trunk@4890 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jul 11, 2002
-
-
Fons Rademakers authored
not known. However, CINT needs these to generate the correct iostream code depending on what is defined in RConfig.h. To fix this pass these flags as -D arguments to CINT. Now cout << TString("bla") << endl; works again. git-svn-id: http://root.cern.ch/svn/root/trunk@4885 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Rather than modify the current behavior of the TClass constructors, I decided to add some code to the generic showmember to avoid constructing the TClass object if the corresponding that is not present AND the data member is declared as transient. git-svn-id: http://root.cern.ch/svn/root/trunk@4880 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jul 05, 2002
-
-
Rene Brun authored
with bad old style streamers. git-svn-id: http://root.cern.ch/svn/root/trunk@4822 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jul 01, 2002
-
-
Fons Rademakers authored
instead of, e.g. base/inc. This was due to the search path being -Iinclude and not -Ibase/inc (this special seach path is only used in rootcint_tmp used to build ROOT's own dictionaries). Also reorder two linkdef files to avoid search for not yet loaded classes. Also some reformatting of recently introduced non-coding style conforming code. git-svn-id: http://root.cern.ch/svn/root/trunk@4802 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@4801 27541ba8-7e3a-0410-8455-c3a389f83636
-