- Jan 25, 2006
-
-
Philippe Canal authored
Update to sql and xml following the chnage to reduce reliance on gFile and gDirectory git-svn-id: http://root.cern.ch/svn/root/trunk@13927 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
avoid confusion with libc's getline and rename rmkdepend's getline to rgetline. git-svn-id: http://root.cern.ch/svn/root/trunk@13926 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
"sometimes I get floating point exception in setting rms in H1InitGaus. Due to precision calculated rms becomes < 0 ( -1e-20 in my case). This patch fixes the problem. git-svn-id: http://root.cern.ch/svn/root/trunk@13925 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
recent cygwins' dirent don't have a d_ino field. Thanks, Angelo Grasiozi. git-svn-id: http://root.cern.ch/svn/root/trunk@13924 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13923 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13922 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13921 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13920 27541ba8-7e3a-0410-8455-c3a389f83636
-
Ilka Antcheva authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13919 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
I had introduced an unitialized variable with my previous patch. I attached the fix. In attachment there is also a fix for unions having a common exit boundary - infinite loop in TGeoUnion::DistToOutside(). git-svn-id: http://root.cern.ch/svn/root/trunk@13918 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
This function calls SearchHighRes. git-svn-id: http://root.cern.ch/svn/root/trunk@13917 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
a fix for the problem mentioned by Yuri Fisyak. "I got problem with correction if (!node->GetVolume()->IsReplicated()) { vm = node->GetVolume(); continue; } after continue nnode is not defined and I have seg. fault." git-svn-id: http://root.cern.ch/svn/root/trunk@13916 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 24, 2006
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13915 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
1) In normal TBasket constructor mother directory assigned to TBranch directory. 2) In TBasket::CopyTo method file for copy is used directly without setting gFile/gDirectory 3) In TBasket::WriteBuffer mother dir assigned once again. It is required when basket with default constructor was created. git-svn-id: http://root.cern.ch/svn/root/trunk@13914 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
Several small changes to exclude using of gDirectory and correct initialisations. git-svn-id: http://root.cern.ch/svn/root/trunk@13913 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
1) New fMotherDir memeber was added to indicate to which directory and file (via dir->GetFile()) key belongs to. Mother directory must be specified in constructor, therefore all consructors get additional argument - mother directory 2) New method Build() was added to initialize members of TKey class. It is called from every constructor of TKey class. 3) Everywhere gFile and gDirectory were replaced by GetMotherDir() & GetFile(). Two methods: TKey::WriteFile() and TKey::Create() gets new argument - TFile* f, indicating which file should be used. By default, file from mother directory is used, but for some cases in tree other file pointer specified directly. 4) In TKey::ReadBuffer() sometimes key will be added to gDirectory. For normal cases it should not happen, therefore I extract main code to TKey::ReadKeyBuffer() and call it from the places where I know no any gDirectory->AppendKey should be called. For instance, when you store streamerinfos. Functionality of TKey::ReadBuffer() was not changed. Actually, I did not found a situation, when this function called and code with gDirectory->AppendKey() is activated (I check with stress and roottest). ` git-svn-id: http://root.cern.ch/svn/root/trunk@13912 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
1) In normal constructor I add new argument - mother of directory. If it is not specified (for instance, if user creates TDirectory himself), gDirectory will be used. In principle, fMother was before, but now it consecutively used in most TDirecory methods, related to parent/child relationship. 2) Together with directory fMother member file pointer fFile propogated to all childs. Consequently, each directory knows to which file it belongs. 3) When streamed from the file, fFile memeber is assigned from TBuffer::GetParent(). fFile is enougth to read keys from the file. Mother directory is assigned later in TKey::ReadObj(). In TDirectory::ReadAll() cast to TNamed was used to find and delete existing object, but some TObject also can return correct names (like TCanvas). git-svn-id: http://root.cern.ch/svn/root/trunk@13911 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
1) In normal constructor I add new argument - mother of directory. If it is not specified (for instance, if user creates TDirectory himself), gDirectory will be used. In principle, fMother was before, but now it consecutively used in most TDirecory methods, related to parent/child relationship. 2) Together with directory fMother member file pointer fFile propogated to all childs. Consequently, each directory knows to which file it belongs. 3) When streamed from the file, fFile memeber is assigned from TBuffer::GetParent(). fFile is enougth to read keys from the file. Mother directory is assigned later in TKey::ReadObj(). TDirectory::GetPath() uses static variable and will fails in multithread application. I introduce new GetPath() method and TString fPathBuffer to produce correct full path. Old code was moved in GetPathStatic() method. To optimize memory usage, one can replace TString by const char* (as it was before). git-svn-id: http://root.cern.ch/svn/root/trunk@13910 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13909 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
3 new virtual methods: virtual void TBuffer::ClassBegin(const TClass*, Version_t = -1) {} virtual void TBuffer::ClassEnd(const TClass*) {} virtual void TBuffer::ClassMember(const char*, const char*, Int_t = -1, Int_t = -1, Int_t = -1) {} This method can be use to make a custom streamed object 'splitable' Add a new Bit for TBuffer kTextBasedStreaming which can be used in the streamer to facilitate writing to a text output (xml, sql). git-svn-id: http://root.cern.ch/svn/root/trunk@13908 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13907 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13906 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
should be painted. It used wrongly the FillColor before. git-svn-id: http://root.cern.ch/svn/root/trunk@13902 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13901 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 23, 2006
-
-
Rene Brun authored
- TEnv::SetValue crashes if TEnv was created with default constructor - Implement TEnv::GetRcName - Set TEnv streamable (Class version set to 1 instead of 0) - Set TEnvRec streamable (Class version set to 1) no ClassDef before - Add a public default constructor to TEncRec - Fix typo in TEnv::GetValue git-svn-id: http://root.cern.ch/svn/root/trunk@13900 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
+ fCornerRadius not handled in TPave::Copy + TPave::GetCornerRadius not const + TPave::GetBorderSize not const git-svn-id: http://root.cern.ch/svn/root/trunk@13899 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
In TBasket::Streamer a new TBuffer is created. Now we use the current buffer's parent instead of gDirectory to set the new buffer's parent. git-svn-id: http://root.cern.ch/svn/root/trunk@13897 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
TBasket was created but not used and lost. TBasket::CopyTo (line 135). Member fHeaderOnly set to kTRUE twice. I think, second time after basket streaming should be fHeaderOnly = kFALSE. Thanks Sergei for pointing those out. git-svn-id: http://root.cern.ch/svn/root/trunk@13896 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13895 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13894 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13893 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
- Better design of slider1h.xpm and slider1v.xpm icons. git-svn-id: http://root.cern.ch/svn/root/trunk@13892 27541ba8-7e3a-0410-8455-c3a389f83636
-
Ilka Antcheva authored
- New tutorial Slider3Demo.C showing the properties of these new sliders. git-svn-id: http://root.cern.ch/svn/root/trunk@13891 27541ba8-7e3a-0410-8455-c3a389f83636
-
Ilka Antcheva authored
- New classes TGTripleHSlider and TGTripleVSlider : Inherit from DoubleSlider widgets and allow easy selection of a min, max and pointer value out of a range. The pointer position can be constrained to edges of slider and / or can be relative to the slider position. - modification of slider1h.xpm and slider1v.xpm for a better design. - New tutorial Slider3Demo.C showing the properties of these new sliders. git-svn-id: http://root.cern.ch/svn/root/trunk@13890 27541ba8-7e3a-0410-8455-c3a389f83636
-
Lorenzo Moneta authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13887 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13886 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13885 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
The effect of -Z7 was to generate 560 Mbytes of object files instead of only 111 Mbytes. Z7 is only active when ROOTBUILD=debug is set. git-svn-id: http://root.cern.ch/svn/root/trunk@13884 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 22, 2006
-
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@13883 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 21, 2006
-
-
Rene Brun authored
From Axel: - fix for a problem with rootcint segv'ing on fopen(0, "r") if the linkdef.h can't be located. From Stefan: - removes the printout in case of rootcint -gccxml - removes the shadow class generation for rootcint -gccxml. Shadow classes should now only be generated with rootcint -cint git-svn-id: http://root.cern.ch/svn/root/trunk@13882 27541ba8-7e3a-0410-8455-c3a389f83636
-