ROOT version 3.04 Release Notes
2002-12-17 17:39 brun
* base/inc/RVersion.h, build/version_number:
Stamp version 3.04/02
2002-12-17 17:15 brun
* utils/src/rootcint.cxx:
From Philippe
Fix for hp-ux
2002-12-17 11:15 brun
* base/: inc/TProcessID.h, src/TRef.cxx:
Change return type of TProcessID::IsValid from UInt_t to Bool_t
2002-12-17 08:00 brun
* utils/src/rootcint.cxx:
From Philippe:
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.
2002-12-17 07:59 brun
* base/src/TSystem.cxx:
From Philippe:
This patch insures that all ACLiC temporary files are created in the
same directory as the library being building. (However the CINT
temporary files are created in their own location.)
2002-12-17 03:03 rdm
* base/: inc/TSystem.h, src/TSystem.cxx:
ACliC patch by Philippe:
Add a new optional parameter to
TSystem::mkdir(const char*name, Bool_t recursive=kFALSE);
If recursive is true, mkdir behaves like mkdir -p, i.e. makes parent
directories as needed, or returns 0 if the directory already exist.
When the file being passed to ACLiC is on a readonly filesystem, ACLiC warns
the user and creates the library in a temporary directory:
root [0] .L readonly/t.C++
Warning in <ACLiC>: /scratch/aclic/subs/./readonly is not writeable!
Warning in <ACLiC>: Output will be written to /tmp
Info in <TUnixSystem::ACLiC>: creating shared library
/tmp//scratch/aclic/subs/./readonly/t_C.so
To select the temporary directory ACLiC looks at $TEMP, $TEMP_DIR, $TEMPDIR,
$TMP, $TMPDIR, $TMP_DIR or uses /tmp (or C:/).
Also, a new interface TSystem::Get/SetBuildDir is introduced to let the
user select an alternative 'root' for the building of the ACLiC libraries.
For the filename /full/path/name/macro.C, the library is created as
'fBuildDir'/full/path/name/macro_C.so
Also, the ACLiC linkdef does NOT contain anymore pragma link off.
This means, that you can now steer the dictionary generation from
within the script itself. However beware of multiple inclusion!
ACLiC will now obey ALL pragma link C++ it sees!
2002-12-16 21:52 brun
* tree/src/TBasket.cxx:
Mod in ReadBasketBuffer to read buffers generated by old ROOT versions
and having an uncompressed size equal to the compressed size.
2002-12-16 21:29 brun
* hist/: inc/TH1.h, src/TH1.cxx:
Add new function proposed by Jason Seely:
TH1 *TH1::GetAsymmetry(TH1* h2, Double_t c2, Double_t dc2)
// return an histogram containing the asymmetry of this histogram with h2,
// where the asymmetry is defined as:
//
// Asymmetry = (h1 - h2)/(h1 + h2) where h1 = this
//
// works for 1D, 2D, etc. histograms
// c2 is an optional argument that gives a relative weight between the two
// histograms, and dc2 is the error on this weight. This is useful, for example,
// when forming an asymmetry between two histograms from 2 different data sets that
// need to be normalized to each other in some way. The function calculates
// the errors asumming Poisson statistics on h1 and h2 (that is, dh = sqrt(h)).
//
// example: assuming 'h1' and 'h2' are already filled
//
// h3 = h1->GetAsymmetry(h2)
//
// then 'h3' is created and filled with the asymmetry between 'h1' and 'h2';
// h1 and h2 are left intact.
//
// Note that it is the user's responsibility to manage the created histogram.
2002-12-16 19:58 brun
* README/CREDITS:
Add Jason Seely for his contribution to TH1::GetAsymmetry
2002-12-16 19:43 brun
* cint/src/disp.c:
From Philippe:
Fix to a problem already fixed by Philippe, but not fully imported by Masa
in the new version of CINT
2002-12-16 19:25 brun
* base/src/TFile.cxx:
Fix by Philippe for a problem reported by Bill Tanenbaum.
The problem appears if gDirectory points to a subdirectory of the file being close. In this case (which the existing ROOT),
the pointer is not changed but the directory is deleted (by the file closing). Hence gDirectory points to a deleted object.
2002-12-16 13:54 rdm
* cint/: inc/G__ci.h, src/disp.c, src/ifunc.c:
import of CINT 5.15.68.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2002-12-16 09:13 brun
* win32gdk/src/: GdkThread.cxx, TGWin32.cxx:
From Bertrand
special (wide) characters were not displayed
correctly (see pstable.C macro).
2002-12-14 16:14 brun
* win32gdk/src/GWin32Gui.cxx:
Fix by Bertrand in function SplitLong (uninitialized variable)
2002-12-14 08:52 brun
* base/src/TRef.cxx:
In TRef::GetObject, change the test on TProcessID::IsValid.
2002-12-14 08:14 brun
* utils/src/rootcint.cxx:
From Philippe:
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).
2002-12-13 23:12 brun
* tree/src/TLeafC.cxx:
From Philippe:
TLeafC was forgetting about its place holder if it encounters an empty string. This is never recovered from! (i.e. the address stays null and nobody checks or change
it).
This patch correct the situation for simply making the string of null length.
2002-12-13 21:05 brun
* cint/src/disp.c:
From Philippe:
If a class has the character '%' it is currently 'interpreted' by G__more when you try to diplay a class. For example with the current ROOT
root [] .class TLimit
will lead to a very very ugly printout because TLimit.h has:
ClassDef(TLimit, 1) // Class to compute 95% CL limits
Note the '%'.
This is because G__more says:
else fprintf(fp,msg);
which means that if 'msg' contains a percent (%), it will expects parameters and substitute them! So the fix is to do:
else fprintf(fp,"%s",msg);
2002-12-13 20:17 brun
* tree/src/TBasket.cxx:
In TBasket::WriteBuffer, if after compression the size of the compressed buffer
is identical to the size of the uncompressed buffer, write the buffer not compressed.
This situation may happen in some rare cases depending on the data in the buffer.
2002-12-13 20:11 brun
* tree/src/TSelector.cxx:
Fix by Philippe when the selector file is not in the current dir
2002-12-13 19:17 brun
* base/src/TBuffer.cxx:
add protections in the ReadArray functions to not read beyond the buffer limit.
2002-12-13 19:16 brun
* utils/src/rootcint.cxx:
From Philippe:
patch which makes sure that the fully qualified name is used for the inheritance of shadow
classes.
2002-12-12 13:02 rdm
* tutorials/LDAPExample.C:
added some error handling code.
2002-12-12 13:02 rdm
* geom/src/TGeoCache.cxx:
remove compiler warning of pointer being cast to an int (warning of 64 bit
machine).
2002-12-12 13:02 rdm
* config/rootrc.in, gui/src/TRootBrowser.cxx:
Browser's ShowHidden option can now be preset in the .rootrc file.
By Valeriy.
2002-12-11 20:04 rdm
* config/Makefile.linuxia64ecc:
use same compiler options as for gcc.
2002-12-11 18:10 brun
* geom/inc/TGeoCache.h, geom/inc/TGeoManager.h,
geom/inc/TGeoVolume.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoCache.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoVolume.cxx,
geompainter/src/TGeoChecker.cxx:
From Andrei:
attached the last version, with bug fixes in tracking. Now you can do
lego plots for everything in alice. It does not do extra steps (except
very seldom in ITS in som very thin tubes - 1 extra step to cross). Much
more stable. I temporarly disabled TGeoVolume::CheckGeometry from the
context menu of volumes since it seems to have a bug that I need to fix.
Much better version in computing distances.
2002-12-11 16:16 brun
* base/src/TApplication.cxx:
From Philippe:
This fix (re)allows the usage of ROOT's macropath is the search path when
loading a macro.
2002-12-11 13:19 brun
* hist/src/TH1.cxx:
In TH1::KolmogorovTest, cast argument to FillRandom.
2002-12-11 10:59 rdm
* icons/Splash.bmp:
new splash screen for windows.
2002-12-10 22:39 brun
* winnt/src/TWinNTSystem.cxx:
Fix a problem reported by Bertrand:
In TWinNTSystem.cxx, please add the missing comma
between const char *options and Bool_t isRegexp at the
following line (1579):
const char *TWinNTSystem::GetLibraries(const char *regexp, const char *options,
Bool_t isRegexp)
2002-12-10 20:51 brun
* base/: inc/TSystem.h, src/TApplication.cxx, src/TROOT.cxx,
src/TSystem.cxx:
From Philippe:
This patch renables the usage of I/O indirection in TApplication::ProcessLine.
Removes a core dumps and add warnings when parameters are passed when loading a macro (as opposed to executing it).
2002-12-10 18:26 rdm
* base/inc/TSystem.h, base/src/TApplication.cxx,
base/src/TROOT.cxx, base/src/TSystem.cxx, winnt/inc/TWinNTSystem.h,
winnt/src/TWinNTSystem.cxx:
generalization by Philippe of ACliC argument parsing. New method
TSystem::SplitAclicMode(). Change by me in GetLibraries() to also
allow for non regexp search (solves problem with pathnames containing
regexp characters, like ++).
2002-12-10 17:40 brun
* hist/src/TH1.cxx:
Add new option "M" in TH1::KolmogorovTest
// "X" Run the pseudo experiments post-processor with the following procedure:
// make pseudoexperiments based on random values from the parent
// distribution and compare the KS distance of the pseudoexperiment
// to the parent distribution. Bin the KS distances in a histogram,
// and then take the integral of all the KS values above the value
// obtained from the original data to Monte Carlo distribution.
// The number of pseudo-experiments NEXPT is currently fixed at 1000.
// The function returns the integral.
// (thanks to Ben Kilminster to submit this procedure). Note that
// this option "X" is much slower.
2002-12-10 16:14 rdm
* base/src/TROOT.cxx:
correctly handle trailing +(+) in Macro() and LoadMacro(). Before we fialed
on path names containing ++, like .../g++/macro.C.
2002-12-10 15:42 rdm
* configure:
allow also --enable-rpath when doing a ROOTSYS driven build. However,
when using this option the build product is not relocatable anymore
(i.e. the build directory cannot change location afterwards).
2002-12-10 15:34 brun
* geom/src/TGeoArb8.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoPgon.cxx, geompainter/src/TGeoChecker.cxx:
From Andrei:
solved some extra bugs so that all lego plots in non-MANY volumes
looks fine.
2002-12-10 15:00 brun
* matrix/: inc/LinkDef.h, inc/TMatrixDUtils.h, inc/TMatrixUtils.h,
src/TMatrix.cxx, src/TMatrixD.cxx, src/TMatrixDUtils.cxx,
src/TMatrixUtils.cxx:
From Eddy Offermann:
1) IsSymmetric was incorrect for non-square matrices: should fail
if matrix is not square
2) THaarMatrix and THilbertMatrix can now be accessed in the interpreter
2002-12-10 15:00 brun
* graf/src/TEllipse.cxx:
Some optimisations in TEllipse::PaintEllipse to use more points
for large ellipses and less points for small ellipses.
2002-12-10 14:26 brun
* win32gdk/src/TGWin32.cxx:
From Bertrand;
Optimisation of the text position/alignment
2002-12-10 13:12 rdm
* unix/src/TUnixSystem.cxx:
make compileable on glibc 2.0 systems (have no execinfo.h and backtrace()).
Also remove unused variable warning.
2002-12-10 13:11 rdm
* base/src/TFile.cxx, net/src/TNetFile.cxx, net/src/TWebFile.cxx:
correct comments in ReOpen() to be more clear about return values.
2002-12-10 09:40 brun
* geompainter/src/TGeoChecker.cxx:
In TGeoChecker::LegoPlot remove unused variable is_entering
2002-12-10 09:27 brun
* base/inc/RVersion.h, build/version_number:
Stamp version 3.04/01 (hopefully the PRO release)
2002-12-10 08:52 brun
* geom/src/TGeoVolume.cxx, geompainter/src/TGeoChecker.cxx:
Fixes by Andrei for the legoplot option.
2002-12-10 03:52 rdm
* unix/src/TUnixSystem.cxx:
use c++filt also for icc and ecc in StackTrace().
2002-12-10 03:52 rdm
* utils/src/rootcint.cxx:
The attached patch fixes a dictionary generation problem concerning
STL and gcc 2.x, i.e. in gcc 2.x use the correct allocator in STL containers.
By Philippe.
2002-12-10 03:20 rdm
* proof/src/TPacketizer2.cxx:
add missing variable initialization (Maarten and valgrind).
2002-12-10 03:19 rdm
* base/inc/MessageTypes.h, base/inc/TFile.h, base/src/TFile.cxx,
net/inc/TNetFile.h, net/inc/TWebFile.h, net/src/TNetFile.cxx,
net/src/TWebFile.cxx, rfio/src/TRFIOFile.cxx, rootd/src/rootd.cxx:
new method TFile::ReOpen(Option_t *mode). Reopens a file with a different
access mode, like from READ to UPDATE or from NEW, CREATE, RECREATE, UPDATE
to READ. Thus the mode argument can be either "READ" or "UPDATE". The
method returns 0 in case of success, 1 in case mode did not change and
-1 in case of failure.
2002-12-09 18:39 rdm
* unix/src/TUnixSystem.cxx:
do correct demangling in case of g++ 3.x.
2002-12-09 16:13 rdm
* ldap/inc/CintLDAP.h:
change order of lber.h and ldap.h.
2002-12-09 16:12 rdm
* base/inc/RtypesImp.h, utils/src/rootcint.cxx:
This patch enables the proper creation of the ShowMembers function for
templated classes on MS Windows.
2002-12-09 15:03 rdm
* gui/inc/LinkDef1.h, gui/inc/TGFrame.h, gui/src/TGFrame.cxx,
test/guitest.cxx, tutorials/guitest.C:
new method TGGroupFrame::SetTitlePos() allowing the positioning of the title
of the group frame. By Valeriy.
2002-12-09 14:51 rdm
* cint/: inc/G__ci.h, inc/common.h, include/_iostream,
lib/posix/posix.h, src/disp.c, src/func.c, src/loadfile.c,
src/var.c:
import of CINT 5.15.67.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2002-12-09 13:43 rdm
* rootx/inc/: rootlogo_xbm.h, rootlogo_xpm.h:
Splash screen for 3.04. No time to update credit list (logo to small and
no access to original). Plan new splash screen based on Guiliana's official
ROOT nimpf with more place for credits.
2002-12-09 13:24 rdm
* unix/src/TUnixSystem.cxx:
in case of debug information being available also print the line number
and file in the stack trace.
2002-12-08 20:22 rdm
* utils/src/rootcint.cxx:
remove warning of unused function argument tmplt.
2002-12-08 20:21 rdm
* unix/src/TUnixSystem.cxx:
disable StackTrace() for AIX.
2002-12-08 17:58 rdm
* rint/src/TTabCom.cxx:
small code layout correction.
2002-12-08 17:56 rdm
* base/src/Stringio.cxx:
update comments in ReadLine() and ReadString().
2002-12-08 17:51 rdm
* unix/src/TUnixSystem.cxx, config/rootrc.in:
added stack trace code for Linux glibc based systems and AIX (via
stack walker function xl__trbk()). Code borrowed from Lassi Tuura's ClassLib
but improved by taking care of C++ symbol demangling. Later code will come
for Solaris, Irix and True64. The stack trace can be disabled via the
system.rootrc key "Root.Stacktrace". Default is on.
2002-12-08 10:18 brun
* utils/src/rootcint.cxx:
Fix by Philippe for a problem reported by George and Maarten
2002-12-06 23:08 brun
* graf/src/TGraph.cxx:
Changes in TGraph::SetMinimum,SetMaximum to use GetHistogram() instead of fHistogram.
GetHistogram guarantees that fHistogram is computed.
2002-12-06 22:30 brun
* base/src/TRef.cxx:
In TRef::GetObject protect against the case where fPID points to
a deleted processID using the new function TProcessID::IsValid.
2002-12-06 22:28 brun
* base/inc/TProcessID.h:
Add new static function
UInt_t IsValid(TProcessID *pid)
2002-12-06 17:53 brun
* base/src/TDirectory.cxx:
Change comment in TDirectory::Append
2002-12-06 17:45 brun
* geom/inc/TGeoCone.h, geom/inc/TGeoShape.h, geom/inc/TGeoSphere.h,
geom/src/TGeoPgon.cxx, geom/src/TGeoSphere.cxx,
geompainter/src/TGeoChecker.cxx:
From Andrei:
New patch for shape algorithms, including :
- bug fixes in TGeoPgon::DistToIn()
- new algorithm by Mihaela for computing distances to a sphere (it was
missing).
So, now all algorithms per shape for computing distances should be "in
shape", at least as far as we have tested. Clearly some problems still
remain with the global algorithm including MANY's. At least now the lego
plot seem to work for the rootgeom example (shooting in /TOP/Replica
produces a nice plot). Obviously we will eventually find other bugs, but
the version as it is now seems to work reasonably good.
2002-12-06 17:36 brun
* eg/inc/TParticle.h:
Add new function
void SetStatusCode(int status) {fStatusCode = status;}
2002-12-06 13:16 rdm
* cint/include/_iostream:
fix in TString atval layout so that tab expansion works again on TStrings.
2002-12-06 12:12 brun
* hist/src/THLimitsFinder.cxx:
Add more comments in THLimitsFinder::FindGoodLimits
2002-12-06 07:40 brun
* base/src/TKey.cxx, meta/src/TClass.cxx:
From Philippe:
This patch allows for the proper handling of class that do not inherit directly from TObject but are missing their library (this was
broken when we added more support for multiple inheritance)
2002-12-06 07:35 brun
* tree/src/TTree.cxx:
Fix by Philippe to fix a problem in his previous patch. Now test/DrawTest works again.
2002-12-05 18:55 brun
* utils/src/rootcint.cxx:
From Philippe:
rootcint now properly detects that an operator new hides (for C++) any operator new
with placement previously declared in the class hierarchy
2002-12-05 16:56 rdm
* proof/inc/TProof.h:
handle missing namespace std on HP more elegantly.
2002-12-05 16:55 rdm
* gui/src/TGButtonGroup.cxx:
fix in ButtonRelease() by Valeriy. Radiobuttons were not toggled correctly.
2002-12-05 16:31 rdm
* base/: inc/TString.h, src/TString.cxx:
new method
Int_t TString::CountChar(Int_t c) const
returns the number of times character c appears in the TString.
On request by Eddy Offerman.
2002-12-05 11:26 brun
* base/: inc/TObjNum.h, src/TObjNum.cxx:
Remove class TObjNum
2002-12-05 11:26 brun
* test/tcollex.cxx:
Reintroduce the original version of tcollex with the inline class TObjNum
2002-12-05 11:25 brun
* base/: Module.mk, inc/LinkDef3.h:
The new class TObjNum is removed (at least temporarily) because
it did not compiled on several systems.
2002-12-05 11:24 brun
* histpainter/src/THistPainter.cxx:
From Olivier;
Fix a problem in THistPainter::PaintColor replacing Hparam.zmin
by the real minimum fH->GetMinimum()
2002-12-05 11:02 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::BuildOld add support for members moved to base classes
even when the base class did not exist in the old version of the class.
2002-12-05 11:01 brun
* meta/: inc/TClass.h, src/TClass.cxx:
Add new function TRealData *TClass::GetRealData(cont char *name) const
Use this new function in TClass::GetDataMemberOffset and TStreamerInfo::BuildOld
2002-12-04 21:02 brun
* cint/src/var.c:
Fix by Philippe for the problem with CINT when setting an array of doubles.
2002-12-04 18:59 brun
* utils/src/rootcint.cxx:
Fix by Philippe to terminate a tring by 0.
2002-12-04 16:11 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintHist remove the dependency of the histogram
line width as a function of the canvas size.
2002-12-04 15:35 rdm
* base/: inc/LinkDef3.h, inc/TObjNum.h, inc/TObjPtr.h,
src/TBuffer.cxx, src/TObjNum.cxx, src/TObjPtr.cxx:
fix in explicit template instantiation syntax which was wrong, but accepted
by gcc and icc (!). Remove TObjPtr class which is now just an instantiation
of TObjNum<void*> (for backward compatability we provide the typedef:
typedef TObjNum<void*> TObjPtr;). Remove reference to TObjPtr.h from
TBuffer.cxx. To compile make sure to remove base/src/G__Base1.d,
base/src/G__Base2.d, base/src/G__Base3.d and base/src/TBuffer.d.
2002-12-04 13:14 rdm
* test/tcollex.cxx:
use new TObjNumI class instead of local example class.
2002-12-04 13:13 rdm
* base/: Module.mk, inc/LinkDef3.h, inc/TObjNum.h, src/TObjNum.cxx:
add small templated TObjNum class. Version for all basic types are available
as TObjNumC, TObjNumS, TObjNumI, etc. Altough not very memory efficient
(since containing a TObject in addition to the basic type) it is useful in
some circumstances, like TObjString.
2002-12-04 12:23 brun
* postscript/src/TPostScript.cxx:
Fix by Olivier when printing patterns. The line width must be set to 1.
2002-12-04 11:38 brun
* hist/: inc/TF1.h, inc/TF2.h, inc/TH1.h, inc/TH2.h, inc/TH3.h,
inc/TProfile.h, inc/TProfile2D.h, src/TF1.cxx, src/TF2.cxx,
src/TH1.cxx, src/TH2.cxx, src/TH3.cxx, src/TProfile.cxx,
src/TProfile2D.cxx:
Make all DrawCopy functions const
Add new function in TH1
TH1 *TH1::DrawNormalized(Option_t *option, Double_t norm) const
// Draw a normalized copy of this histogram.
//
// A clone of this histogram is normalized to norm and drawn with option.
// A pointer to the normalized histogram is returned.
// The contents of the histogram copy are scaled such that the new
// sum of weights (excluding under and overflow) is equal to norm.
// Note that the returned normalized histogram is not added to the list
// of histograms in the current directory in memory.
// It is the user's responsability to delete this histogram.
// The kCanDelete bit is set for the returned object. If a pad containing
// this copy is cleared, the histogram will be automatically deleted.
//
// See Draw for the list of options
2002-12-04 10:54 brun
* hist/src/TH1.cxx:
Fix a problem reported by Andreas Zoglauer in TH1::SmoothArray
2002-12-04 10:13 brun
* pythia6/src/TPythia6.cxx:
We forgot the definition of PYCHGE for windows.
2002-12-04 09:18 brun
* gpad/src/TPad.cxx:
Add a new feature in TPad::WaitPrimitive.
When this function is called with no arguments, it will wait
until a double-click is executed in the canvas or any key pressed.
A call to gSystem->Sleep(10) has been added in the loop to avoid
consuming all the CPU.
This new option is convenient when executing a macro. By adding
statements like
canvas->WaitPrimitive();
one can monitor the progress of a running macro, stop at convenient
places with the possibility to interact with the canvas and resume
the execution with a double click or a key press.
2002-12-04 08:12 brun
* base/inc/RConfig.h, build/win/bindexplib/bindexplib.cxx:
Corrections by Valery to compile root under "Microsoft Studio
NET."
2002-12-04 07:59 brun
* cint/iosenum/iosenum.linuxkcc:
New version of iosenum for kcc by Philippe
2002-12-03 18:42 rdm
* geom/inc/: TGeoCache.h, TGeoVolume.h:
still some unused argument warnings on MacOS X.
2002-12-03 18:37 rdm
* unix/src/TUnixSystem.cxx:
replace NULL by 0.
2002-12-03 18:10 rdm
* test/Makefile.in:
compile tests with -O on Mac.
2002-12-03 17:44 brun
* thread/: inc/TCondition.h, inc/TMutex.h, src/TThread.cxx:
From Mathieu de Naurois <denauroi@in2p3.fr>
"From the manual of pthread_cond_timedwait, I have:
pthread_cond_timedwait atomically unlocks mutex and waits on
cond, as pthread_cond_wait does, but it also bounds the duration
of the wait. If cond has not been signaled within the amount
of time specified by abstime, the mutex mutex is re-acquired
and pthread_cond_timedwait returns the error ETIMEDOUT.
The abstime parameter specifies an absolute time, with the same
origin as time(2) and gettimeofday(2): an abstime of 0
corresponds to 00:00:00 GMT, January 1, 1970.
In the code of ROOT, the line:
while (fgXAct) {fgXActCondi->TimedWait(1);}
was a nonsense that it equivalent to :
while(fgXAct);
and it uses 100% of CPU.
I modified the TThread class in the version we use for HESS.
For us, in a heavily multithreaded DAQ, this modified version works fine
and is faster when opening canvases from threads."
2002-12-03 17:13 brun
* geom/src/TGeoCone.cxx:
Remove unused variables zv1, zv2 (detected by SGI/CC)
2002-12-03 17:10 brun
* geompainter/src/TGeoChecker.cxx:
New version of TGeoChecker removing several compiler warnings on SGI/CC
2002-12-03 17:01 brun
* geom/inc/TGeoArb8.h, geom/inc/TGeoBoolNode.h,
geom/inc/TGeoCache.h, geom/inc/TGeoCompositeShape.h,
geom/inc/TGeoCone.h, geom/inc/TGeoPatternFinder.h,
geom/inc/TGeoPcon.h, geom/inc/TGeoPgon.h, geom/inc/TGeoSphere.h,
geom/inc/TGeoVolume.h, geom/src/TGeoArb8.cxx, geom/src/TGeoAtt.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoBoolNode.cxx,
geom/src/TGeoCache.cxx, geom/src/TGeoCompositeShape.cxx,
geom/src/TGeoCone.cxx, geom/src/TGeoEltu.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoMaterial.cxx,
geom/src/TGeoNode.cxx, geom/src/TGeoPara.cxx,
geom/src/TGeoPatternFinder.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTrd1.cxx, geom/src/TGeoTrd2.cxx,
geom/src/TGeoTube.cxx, geom/src/TGeoVolume.cxx,
geom/src/TGeoVoxelFinder.cxx, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoPainter.cxx:
New version of the geometry package from Andrei:
Fixes to compile with no warnings with the option -ansi -pedantic
It also includes bug fixes for Trd1,2, cone and pcon DistToIn/Out
algorithms.
2002-12-03 12:20 rdm
* base/src/TQObject.cxx, clib/src/Demangle.c, gpad/src/TPad.cxx,
table/src/TVolumeView.cxx, treeviewer/inc/TTVLVContainer.h,
treeviewer/inc/TTreeViewer.h:
remove some more MacOS X warnings that I missed yesterday.
2002-12-03 11:25 brun
* hist/: inc/TH1.h, inc/TH2.h, inc/TH3.h, src/TH1.cxx, src/TH2.cxx,
src/TH3.cxx:
Make const the following functions in TH1:
GetXaxis, GetYaxis, GetYaxis, GetCenter and KolmogorovTest
Make const the KolmogorovTest function in TH2 and TH3
2002-12-03 10:36 brun
* treeplayer/src/TTreePlayer.cxx:
In TTreePlayer::MakeClass, generate new comments to clarify where
the global entry in the chain or the local entry in the Tree should be used.
2002-12-02 23:07 brun
* tree/src/TChain.cxx, tree/src/TTree.cxx,
treeplayer/src/TTreeFormula.cxx:
From Philippe:
The following patch allows TTree objects to properly treat TTreeFriends which are actually TChain objects.
Also adding a few protection in case of an empty chain.
2002-12-02 22:39 brun
* hist/src/THLimitsFinder.cxx:
In the FindGoodLimits functions for 1,2 and 3-d histograms, add support
for axis with alphanumeric bin labels.
2002-12-02 19:50 rdm
* treeplayer/src/TTreePlayer.cxx, x11/src/GX11Gui.cxx,
x11/src/TGX11.cxx, x3d/src/x3d.c, zip/src/Inflate.c:
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.
2002-12-02 19:50 rdm
* base/inc/RtypesImp.h, base/inc/TQObject.h, base/inc/TVirtualX.h,
base/src/TBuffer.cxx, base/src/TDSet.cxx, base/src/TFile.cxx,
base/src/TFolder.cxx, base/src/TMD5.cxx,
base/src/TMessageHandler.cxx, base/src/TQConnection.cxx,
base/src/TROOT.cxx, base/src/TTask.cxx, base/src/TTimeStamp.cxx,
clib/src/Demangle.c, clib/src/Getline.c, clib/src/mmtrace.c,
clib/src/snprintf.c, cont/src/TBits.cxx, cont/src/TRefArray.cxx,
eg/src/TDatabasePDG.cxx, g3d/src/TAxis3D.cxx, gl/src/TGLKernel.cxx,
gpad/inc/TCanvas.h, graf/inc/TPaveStats.h, graf/src/TAttImage.cxx,
graf/src/TGraph.cxx, graf/src/TGraphSmooth.cxx, gui/inc/TGFrame.h,
gui/inc/TGListTree.h, gui/src/TGColorDialog.cxx,
gui/src/TGColorSelect.cxx, gui/src/TGListTree.cxx,
gui/src/TGNumberEntry.cxx, gui/src/TRootBrowser.cxx,
hbook/src/THbookBranch.cxx, hbook/src/THbookFile.cxx,
hbook/src/THbookTree.cxx, hist/inc/TF2.h, hist/inc/TF3.h,
hist/inc/TH1.h, hist/inc/TH2.h, hist/inc/TH3.h,
hist/inc/TMultiDimFit.h, hist/inc/TProfile.h,
hist/inc/TProfile2D.h, hist/src/TFractionFitter.cxx,
hist/src/TH1.cxx, hist/src/THStack.cxx, hist/src/TMultiDimFit.cxx,
hist/src/TPrincipal.cxx, hist/src/TProfile.cxx,
hist/src/TProfile2D.cxx, histpainter/src/TPaletteAxis.cxx,
ldap/src/TLDAPAttribute.cxx, ldap/src/TLDAPEntry.cxx,
meta/src/TClass.cxx, meta/src/TStreamerInfo.cxx,
newdelete/src/NewDelete.cxx, postscript/inc/TSVG.h,
postscript/src/TPostScript.cxx, postscript/src/TSVG.cxx,
proof/src/TPacketizer.cxx, proof/src/TPacketizer2.cxx,
proof/src/TProof.cxx, proof/src/TProofPlayer.cxx,
proof/src/TProofServ.cxx, proof/src/TVirtualPacketizer.cxx,
rootd/src/rootd.cxx, table/inc/TChair.h, table/inc/TTableIter.h,
table/inc/TVolumePosition.h, table/inc/TVolumeView.h,
table/inc/Ttypes.h, table/src/TDataSet.cxx,
table/src/TDataSetIter.cxx, table/src/TPoints3D.cxx,
table/src/TPointsArray3D.cxx, table/src/TTable.cxx,
table/src/TTablePoints.cxx, table/src/TVolumeView.cxx,
tree/inc/TLeaf.h, tree/inc/TSelector.h, tree/src/TBranch.cxx,
tree/src/TBranchElement.cxx, tree/src/TChain.cxx,
tree/src/TChainElement.cxx, tree/src/TFriendElement.cxx,
tree/src/TLeafElement.cxx, tree/src/TTree.cxx,
treeplayer/src/TTreeFormula.cxx:
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.
2002-12-02 19:41 brun
* meta/src/TClass.cxx:
Fix from Philippe:
The new data memberfInterStreamer was not initialized in all the constructors.
2002-12-02 18:46 brun
* meta/src/TClass.cxx:
Add suggested mod by Markus Frank in Class::Destructor
2002-12-02 15:35 rdm
* configure:
fix in order of mysql include and library detection.
2002-12-02 15:34 rdm
* cint/iosenum/iosenum.macosx:
macosx version of iosenum.
2002-12-02 12:35 brun
* meta/src/TClass.cxx:
Applied changes suggested by Markus Frank
2002-12-02 02:11 rdm
* cint/: inc/Api.h, inc/CallFunc.h, inc/G__ci.h,
include/iostream.h, lib/dll_stl/str.h, lib/prec_stl/iterator,
lib/prec_stl/string, src/CallFunc.cxx, src/Class.cxx, src/fread.c,
src/func.c, src/g__cfunc.c, src/ifunc.c, src/init.c, src/newlink.c,
src/struct.c, src/tmplt.c, src/var.c:
import of CINT 5.15.66.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2002-12-01 09:33 brun
* treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch solves problems related to checking (during the
parsing/discovery phase) the content of leaves which are inside a
TClonesArray and contains a TClonesArray.
2002-11-30 21:48 brun
* tutorials/jets.C:
// script illustrating the use of a Tree using the JetEvent class.
// The JetEvent class has several collections (TClonesArray)
// and other collections (TRefArray) referencing objects
// in the TClonesArrays.
// The JetEvent class is in $ROOTSYS/test/JetEvent.h,cxx
// to execute the script, do
// .x jets.C
2002-11-30 21:46 brun
* test/: JetEvent.cxx, JetEvent.h:
Add new example JetEvent:
// A JetEvent emulates 2 detectors A and B producing each
// a TClonesArray of Hit objects.
// A TClonesArray of Track objects is built with Hits objects
// of detectors A and B. Eack Track object has a TRefArray of hits.
// A TClonesArray of Jets is made with a subset of the Track objects
// also stored in a TRefArray.
// see $ROOTSYS/tutorials/jets.C for an example creating a Tree
// with JetEvents.
2002-11-30 11:36 brun
* graf/src/TGraph.cxx:
Fix a problem in TGraph::PaintGrapHist in low resolution mode with empty bins
2002-11-30 10:33 brun
* tutorials/tree2a.C:
Update tutorial to declare several class members to be transient only.
2002-11-29 16:28 brun
* tutorials/pythiaExample.C:
Replace Form by printf in order to run with the interpreter on Alpha/cxx.
2002-11-29 15:48 brun
* tree/src/TBranchElement.cxx:
New version of SetBranchAddress supporting the split of TClonesArray
when the pointer is in a sub-class.
Also added support for the case when the top level branch is forced with a "."
as the last branch name character.
2002-11-29 15:45 brun
* treeplayer/src/TTreeFormula.cxx:
Add a protection in TTreeFormula::GetLeafWithDatamember.
The pointer clones can be null.
2002-11-29 10:32 brun
* tutorials/tree2.C:
Add comment referencing the new tutorial tree2a.C
2002-11-29 10:31 brun
* tutorials/tree2a.C:
New tutorial with the same functionality than tree2.C but using a class
instead of a C-struct.
2002-11-29 09:16 brun
* base/src/TFile.cxx:
several changes in the logic for file recovery. With this patch:
- the case of a file currently being created by another process and connected
by the current process is supported again.
- The StreamerInfo record was not correctly read back. This fix is important
in case one connects to a file without the shared lib.
2002-11-29 00:26 rdm
* cont/src/TClonesArray.cxx:
add extra comment about disabling BypassStreamer() in case one wants to send
a TClonesArrays via a TMessage of a TSocket.
2002-11-29 00:16 rdm
* base/src/TFile.cxx:
remove a test that prevented files that were not properly closed
(e.g. interrupted via a ctrl-c) to be recovered.
2002-11-28 22:16 brun
* tree/src/TBranchElement.cxx:
Modify TBranchElement::FillLeaves to support the case when a Tree
is in FakeClass mode.
For example, if a new Tree is created via CloneTree in a Loop
function of a class generated by MakeClass, one has to rebuild
the new Tree in a way compatible with a future reading using
the shared library or not.
2002-11-28 20:38 brun
* test/dt_RunDrawTest.C:
From Philippe:
Use Riostream.h instead of iostream.h
2002-11-28 20:19 rdm
* proof/src/TPacketizer2.cxx:
remove warning of float assignment to int.
2002-11-28 19:39 rdm
* cont/src/TObjArray.cxx:
correction in comment.
2002-11-28 19:39 rdm
* ldap/inc/CintLDAP.h:
add include to lber.h that was missing in older versions of ldap.h.
2002-11-28 19:38 rdm
* base/inc/TVirtualProof.h, proof/inc/TPacketizer2.h,
proof/inc/TProof.h, proof/inc/TProofPlayer.h,
proof/src/TPacketizer2.cxx, proof/src/TProof.cxx,
proof/src/TProofPlayer.cxx:
latest patch from Maarten, adding support for a list of feedback objects
that can be displayed while the query is running. Also better packet
size algorithm.
2002-11-28 09:11 brun
* base/inc/TView.h:
Increase size of fTnorm, etc arrays from 12 to 16
2002-11-28 09:06 brun
* geompainter/src/TGeoChecker.cxx:
Remove unused variables
2002-11-28 08:33 brun
* base/inc/RVersion.h, build/version_number:
Start numbering new version 3.04/00
2002-11-28 08:29 brun
* base/inc/TBuffer.h:
Fix by Philippe replacing R__GCC by R__GNU to be consistent with RConfig.h
2002-11-28 00:16 brun
* tutorials/h1analysis.h:
Upgrade h1analysis.h to reflect the latest changes in TSelector,TSelectorCint.
2002-11-27 22:54 brun
* treeplayer/src/TTreePlayer.cxx, utils/src/rootcint.cxx:
From Philippe:
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).
2002-11-27 21:44 brun
* tutorials/copytree3.C:
New tutorial illustrating how to
- open a file
- loop over the entries of a Tree
- under certain conditions, copy selected entries into another Tree
2002-11-27 21:01 brun
* cint/src/var.c:
Fix by Philippe for a problem reported by David Adams
2002-11-27 16:24 rdm
* base/src/TMath.cxx:
remove warning of possibly used variable which was not intialized.
2002-11-27 16:23 rdm
* base/src/TNamed.cxx:
added comment to Clear() method.
2002-11-27 16:23 rdm
* gui/src/TGButtonGroup.cxx:
remove compiler warning on 64bit machines (int to pointer cast).
2002-11-27 16:22 rdm
* gui/src/TGListTree.cxx:
some protections added by Valeriy.
2002-11-27 12:48 rdm
* cint/iosenum/iosenum.linuxia64gcc:
wrong version checkin yesterday.
2002-11-27 12:31 brun
* mc/inc/TVirtualMCDecayer.h:
Remove enum Decay_t
2002-11-27 09:20 brun
* histpainter/src/THistPainter.cxx:
Use gStyle->GetNumberContours instead of the default constant 20.
2002-11-27 09:19 brun
* base/: inc/TStyle.h, src/TStyle.cxx:
Add new member
Int_t fNumberContours;
and the corresponding getter/setter GetNumberContours, SetNumberContours.
The default number of contours is 20.
2002-11-27 00:53 brun
* tree/src/TBranchElement.cxx:
New simplification of TBranchElement::SetAddress and a bug fix
2002-11-26 19:39 brun
* table/: inc/LinkDef.h, inc/TTable.h, inc/Ttypes.h,
src/TTable.cxx, src/TTableDescriptor.cxx:
Corrections in libTable by Valery Fine to take into account
the new ROOT features with ClassDef/ClassImp, etc.
2002-11-26 18:57 brun
* pythia6/: inc/TPythia6.h, src/TPythia6.cxx:
From Andreas Morsch;
"on Nick's request I have added the two methods
Pymass and Pychge to TPythia6.
Also ImportParticles is called after a Pyedit call."
2002-11-26 18:35 brun
* tree/src/TBranchElement.cxx:
In Unroll function, remove the limitation that a TClonesArray cannot be split
when the pointer is in a base class. However, there are still changes
required in the browse functions to get this feature operational.
one change from Dave Morrison to escape the slash character.
2002-11-26 18:33 brun
* hist/src/TFormula.cxx:
From David Morrison <dave@bnl.gov>
With the 3.03 series there are changes in the way that TFormula parses
it's arguments that have stalled PHENIX's deployment of recent ROOT
versions. In particular, we build up the name of a branch in such a way
that the "/" character is a part of the name. With versions 2.2x
through 3.01.x through 3.02.x these names were parsed in such a way
that, for instance, a TBrowser could be used to peruse our reconstructed
data. With 3.03, things have changed and a TBrowser seg faults when
used to browse one of our existing files. We have about 100 TB of such
files on tape. Anyway, I'm including a little patch against the CVS
HEAD that seems to fix things up. It offers the ability to use the
backslash character to escape the "/" and not have it interpreted as a
mathematical operator.
2002-11-26 18:26 brun
* meta/: inc/TDataMember.h, src/TDataMember.cxx:
addition of new data members in TDataMember class by Victor:
TString fTypeName; //data member type, e,g.: "class TDirectory*" -> "TDirectory".
TString fFullTypeName; //full type description of data member, e,g.: "class TDirectory*".
TString fTrueTypeName; //full type description with no typedef
These members are copied from the CINT dictionary and are safer.
The getter functions return safe pointers to the string while CINT
is reusing the space of the string in the next call to the getter function.
CV: ----------------------------------------------------------------------
2002-11-26 17:29 rdm
* cint/iosenum/iosenum.linuxia64gcc:
new iosenum.h for IA64 gcc.
2002-11-26 17:17 rdm
* cint/iosenum/iosenum.linuxia64ecc:
new iosenum.h for Linux IA64 ecc.
2002-11-26 11:24 brun
* meta/: inc/TStreamerElement.h, src/TStreamerElement.cxx,
src/TStreamerInfo.cxx:
changes by Victor for the STL support.
2002-11-26 11:24 brun
* meta/: inc/TBaseClass.h, inc/TClass.h, inc/TDataMember.h,
inc/TDataType.h, inc/TDictionary.h, inc/TFunction.h, inc/TGlobal.h,
inc/TMethodArg.h, src/TBaseClass.cxx, src/TClass.cxx,
src/TDataMember.cxx, src/TDataType.cxx, src/TFunction.cxx,
src/TGlobal.cxx, src/TMethodArg.cxx:
TDictionary derives now from TNamed instead of TObject.
This change simplifies all the meta classes avoiding duplication
of functions GetName, GetTitle, Compare, Hash.
This also removes some coupling with CINT.
2002-11-26 09:45 brun
* tree/src/TBranchClones.cxx:
Add a protection in TBranchClones::Streamer when iterating on
the list of TRealData. rd->GetDataMember() may be null.
2002-11-26 08:58 brun
* base/: inc/TNamed.h, src/TNamed.cxx:
Add TNamed::Clear(Option_t *option) function.
This function is useful to clear TNamed objects in TClonesArray
when TClonesArray::Clear is called with option "C".
2002-11-25 21:15 brun
* tree/src/TBranchElement.cxx:
One more fix in case of nested inheritance with the same class used
in the base class and by composition.
2002-11-25 17:30 brun
* meta/src/TClass.cxx:
In TClass::GetDataMemberOffset add new logic to support data members
in a hierarchy of inherited classes.
2002-11-25 17:29 brun
* gpad/: inc/TCanvas.h, src/TCanvas.cxx:
Remove unused function TCanvas::GetPadDivision.
Implement TVirtualPad::GetPad as a better alternative.
2002-11-25 17:27 brun
* base/inc/TVirtualPad.h, gpad/inc/TPad.h, gpad/src/TPad.cxx:
Implement new functions
Int_t TVirtualPad::GetNumber() const
TVirtualPad *TVirtualPad::GetPad(Int_t subpadnumber) cont
The GetPad function returns a pointer to a sub-division of a pad.
2002-11-25 15:55 rdm
* cint/: inc/G__ci.h, inc/gcc3strm.h, include/iostream.h,
lib/gcc3strm/iostrm.h, lib/gcc3strm/sstrm.h, src/expr.c,
src/func.c, src/gcc3strm.cxx, src/ifunc.c, src/parse.c,
src/pause.c, src/struct.c:
import of CINT 5.15.65.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2002-11-25 14:58 brun
* gui/src/TGFileDialog.cxx:
fixes for WIN32/WIN32GDK
2002-11-25 00:16 rdm
* README/CREDITS:
add authors of LDAP interface.
2002-11-24 23:49 rdm
* cint/Module.mk, config/Makefile.linuxicc:
check for new icc v7, in that case can compile CINT without problems (for
v6 we needed to compile struct.c without optimization).
2002-11-24 23:47 rdm
* gui/src/TGFrame.cxx:
addition to some comments.
2002-11-24 23:46 rdm
* base/src/TObject.cxx:
small typo in comment.
2002-11-24 23:45 rdm
* Makefile, configure, build/unix/makestatic.sh,
config/Makefile.in:
add case for new ldap module.
2002-11-24 23:43 rdm
* tutorials/LDAPExample.C:
example showing usage of LDAP interface. Needs some tunings since currently
it accesses too much data.
2002-11-24 23:42 rdm
* ldap/: Module.mk, inc/CintLDAP.h, inc/LinkDef.h,
inc/TLDAPAttribute.h, inc/TLDAPEntry.h, inc/TLDAPResult.h,
inc/TLDAPServer.h, src/TLDAPAttribute.cxx, src/TLDAPEntry.cxx,
src/TLDAPResult.cxx, src/TLDAPServer.cxx:
OpenLDAP interface by Evgenia Smirnova and Oleksandr Grebenyuk of GSI.
Several memory leaks removed from original code.
2002-11-24 15:13 brun
* meta/src/TClass.cxx:
Fix a casting problem resulting from changing GetDataMember to const
2002-11-24 15:07 brun
* base/inc/TRealData.h:
Make all getters const
2002-11-24 15:06 brun
* gpad/src/TPad.cxx:
In the TPad::SetLogx,y,z, set the value of fLogx to the argument value
instead of setting it to 0 or 1. This change will allow future upgrades
of the log options.
2002-11-24 15:04 brun
* tree/src/TTree.cxx:
In TTree::CloneTree, copy the option fMakeClass into the cloned tree.
With this change, it is possible to use TTree::CloneTree when processing
code generated by TTree::MakeClass.
2002-11-24 15:02 brun
* tree/src/TBranchElement.cxx:
Simplify TBranchElement::SetAddress by using the new function
TClass::GetDataMemberOffset
This new function works for normal classes and fake classes for any
combination of inheritance and composition.
2002-11-24 14:59 brun
* meta/: inc/TClass.h, src/TClass.cxx:
Add two new functions in TClass:
void BuildRealDataFake(const char *name, Int_t offset, TClass *cl);
// Build the list of TRealData for a fake class
Int_t GetDataMemberOffset(const char *membername) const;
// return offset for member name. name can be a data member in
// the class itself, one of its base classes, or one member in
// one of the aggregated classes.
//
// In case of a fake class, the list of fake TRealData is built
make const TClass::GetDataMember
2002-11-22 19:57 brun
* meta/: inc/TDataMember.h, src/TDataMember.cxx,
src/TStreamerInfo.cxx:
From Victor:
In TDataMember.h new method which returns true type name,
not a typedef one.
==========================================================
const char *GetTrueTypeName() const;
Its implementation in TDataMember.cxx
//______________________________________________________________________________
const char *TDataMember::GetTrueTypeName() const
{
// Get true, non typedef, type description of data member, e,g.: "int*" not "Int_t*".
return fInfo->Type()->TrueName();
}
In file TStreamerInfo.cxx
=========================
old code :
if (dm->IsSTLContainer()) {
TStreamerSTL *stl = new TStreamerSTL(dm->GetName(),dm->GetTitle(),offset,dm->GetFullTypeName(),dm->IsaPointer());
replaced by:
if (dm->IsSTLContainer()) {
TStreamerSTL *stl = new TStreamerSTL(dm->GetName(),dm->GetTitle(),offset,dm->GetTrueTypeName(),dm->IsaPointer());
2002-11-22 16:53 brun
* geom/src/: TGeoTrd1.cxx, TGeoTrd2.cxx:
From Andrei:
Bug fixes for DistToIn/Out() for TGeoTrd1, TGeoTrd2 classes.
2002-11-22 14:54 brun
* hist/src/: TH1.cxx, TH2.cxx, TH3.cxx:
Fix a problem in the GetRandom functions when interpolating in the integral bin.
(thanks to Yuri Fisiak for reporting the problem)
2002-11-22 14:13 brun
* gui/src/TRootBrowser.cxx:
From Valeriy:
1. Correct TRootBrowser::ProcessMessage method.
Add direct "return kTRUE" after IconBoxAction which
prevents form "segmentation violation" when IconBoxAction invokes
execution C++ macro in which this browser could be deleted,
for example via gROOT->Reset().
2002-11-22 12:24 brun
* gui/src/TGFileDialog.cxx:
From Bertrand:
correct memory leak in TGFileDialog::ProcessMessage method under win32gdk
2002-11-22 11:07 brun
* histpainter/src/THistPainter.cxx:
Protect HParam.xfirst to be >= 1
2002-11-22 11:05 brun
* graf/src/: TGraphAsymmErrors.cxx, TGraphErrors.cxx:
I the Paint functions, optimize the distance between the error bar
and the marker.
2002-11-21 21:38 brun
* treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch removes a memory leak in TTreeFormula's usage of
TMethodCall.
2002-11-21 21:33 brun
* gui/src/TRootBrowser.cxx:
From Valeriy:
1. TRootBrowser::ListTreeHighlight(TGListTreeItem *item) method modified
to "improve" double-click handling on tree-list folder containing
many objects.
2002-11-21 17:27 rdm
* cint/src/gcc3strm.cxx:
re-introduce the orginal gcc3strm from CINT.
2002-11-21 16:27 brun
* gui/src/TRootBrowser.cxx:
Bug fix from Valeriy
2002-11-21 11:30 brun
* gui/src/TGFileDialog.cxx:
Fix by Bertrand required for win32gdk
2002-11-21 09:37 brun
* cint/iosenum/iosenum.win32:
New version of iosenum for windows
2002-11-20 18:52 brun
* gui/src/TRootBrowser.cxx:
From Valeriy,
TRootBrowser::Refresh method corrected
2002-11-20 16:17 rdm
* gui/src/TRootBrowser.cxx:
remove fName from TRootIconList, it is already in TCollection.
2002-11-20 15:38 brun
* html/src/THtml.cxx:
Fix by Axel in the documentation of the basic types.
2002-11-20 11:05 brun
* cint/src/gcc3strm.cxx:
From Jiri Masik:
I checked out the CVS head after a while and found that gcc3strm.cxx
does not compile due to G__G__streamLN_mbstate_t etc being used before
its definition.
2002-11-20 10:52 brun
* base/src/TView.cxx:
Remove a printf line in TView::ResizePad
2002-11-20 10:50 brun
* histpainter/src/TPaletteAxis.cxx:
Remove unused variables bin1,bin2
2002-11-20 10:31 brun
* gui/src/TRootBrowser.cxx:
From Valeriy:
corrections added to display wait-cursor during long-period operations
2002-11-20 10:11 brun
* html/src/THtml.cxx:
From Axel Naumann
*Header was copied to html output dir even if the class was decided to be linked from Root.Html.Root
* output (class description + source) was generated that was not even used (for classes linked from
Root.Html.Root)
* All ROOT classes with names containing a "_" (i.e. many structs) ended up in USER_Index.html, and THtml
didn't realize how to link their documentation in. They are now sorted into the correct package.
2002-11-20 09:55 brun
* base/inc/TView.h, base/src/TView.cxx, geom/inc/TGeoVolume.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoBBox.cxx,
geom/src/TGeoPcon.cxx, geom/src/TGeoTrd1.cxx,
geom/src/TGeoVolume.cxx, geompainter/inc/TGeoChecker.h,
geompainter/inc/TGeoPainter.h, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoPainter.cxx, gpad/src/TPad.cxx:
Following improvements by Andrei Gheata:
1. gpad - containing a modified src/TPad.cxx (notification to TView
class when resizing the pad and having perspective view)
2. base - containing modified TView.h/.cxx
3. geom, geompainter - modifications to geometry classes (perspective
view support + some bug fixes in shape algorithms)
New features :
- First implementation of TGeoChecker::CheckGeometry() by Mihaela : it
can be called from the volume context menu and for the time being just
draws the boundary intersections not matching on the way back and forth
(no histogram generated). Anyway, we discovered by using it that we have
to correct several bugs in the shapes DistToIn/Out algorithms ... :-(
- Perspective view fully implemented. Activated with TView(11) - this is
the default now for the new geometry classes. For all other views
(instantiated usually with TView(1)) one can switch parralel/perspective
from TView context menu.
- Navigation inside geometries based on perspective view : just draw
some geometry, then double-click on volumes in the pad - you will get a
nice grab-focus effect (specially if the number of volumes on screen is
relatively small)
- navigation keys : zoom in/out, move left/right/up/down exactly like in x3d
- resizing of pad and drawing of axes in TView supported - aspect ratio
always kept.
2002-11-20 09:24 brun
* gui/: inc/TRootBrowser.h, src/TRootBrowser.cxx:
From valeriy
Implement;
1. up level directory navigation
2. clicking on folder at icon-box highlights correspondent
folder at list-tree and adjust postition in list-tree
2002-11-20 00:37 rdm
* gui/src/TGCanvas.cxx:
fix in TGCanvas::Layout() by Valeriy to fix layout problems showing up
in the inspector window.
2002-11-19 00:04 rdm
* gui/src/TGCanvas.cxx:
few typos in comments.
2002-11-19 00:03 rdm
* proof/src/: TPacketizer2.cxx, TProof.cxx, TProofPlayer.cxx,
TProofServ.cxx:
fix a bug in TPacketizer2, not owner lists should be cleared before list
owning the items. Fix also final shutdown crash.
2002-11-19 00:02 rdm
* base/inc/TError.h, base/src/TError.cxx, rint/src/TRint.cxx,
unix/src/TUnixSystem.cxx, vms/src/TVmsSystem.cxx:
add new function Break() in TError. Use this instead of direct Printf() in
TUnixSystem and TRint for printing of *** Break *** message. This allows to
also see the break message in the logs in proof and to terminate in case one
desires so. Also made the message size dynamic (solves Yves S. problem).
2002-11-18 22:52 brun
* main/src/h2root.cxx:
Add a comment in the converter for profiles.
2002-11-18 22:49 brun
* hist/src/TH2.cxx:
In TH2::FitSlicesX,Y use directly the pointer to the TF1 object
instead of its name.
2002-11-18 22:48 brun
* graf/src/TGraph.cxx, hist/src/TH1.cxx:
In the fit functions, the test on Foption.Errors was not correct.
As a result, the parabolic error was returned in case the maximum
precision error had been requested and vice-versa.
2002-11-18 08:12 brun
* config/Makefile.macosx:
Fix to SYSLIBS and CILIBS variables by Keisuke Fujii, Remi Mommsen
2002-11-17 20:12 brun
* cint/iosenum/iosenum.sgikcc:
This iosenum was never put in CVS !
2002-11-17 20:00 brun
* cint/iosenum/: iosenum.alphacxx6, iosenum.alphaegcs,
iosenum.hpuxacc, iosenum.sgicc, iosenum.sgiegcs,
iosenum.solarisCC5:
New versions of iosenum have been generated
2002-11-17 18:35 brun
* html/src/THtml.cxx:
Fix by Axel
2002-11-17 18:04 brun
* base/src/: TRandom.cxx, TRandom2.cxx, TRandom3.cxx:
Modify the Rndm function in the generator classes such that they never
return 0.
Remove the test on 0 from several functions in TRandom.
2002-11-16 19:23 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
From Eddy Offermann:
The InvertPosDef matrix complained when a matrix was not positive definite
but nevertheless continued its calculation and returnd of course the wrong
result.
Now, an error message appears and the inversion is continued with the Gaus-Jordan
algorithm.
2002-11-16 18:13 brun
* pythia6/inc/: TPythia6.h, TPythia6Calls.h:
Replace interface to Pythia6.1 by 6.2. The main difference is the size
of the common block /pydat3/. The new definition is
struct Pydat3_t {
int MDCY[3][500];
int MDME[2][KNDCAY];
double BRAT[KNDCAY];
int KFDP[5][KNDCAY];
};
instead of:
struct Pydat3_t {
int MDCY[3][500];
int MDME[2][4000];
double BRAT[4000];
int KFDP[5][4000];
};
where KNDCAY=8000. To run with the previous version of Pythia5.1,
simply change KNDCAY from 8000 to 4000.
2002-11-16 16:17 brun
* graf/: inc/TGraph.h, inc/TGraphAsymmErrors.h, inc/TGraphErrors.h,
src/TGraph.cxx, src/TGraphAsymmErrors.cxx, src/TGraphErrors.cxx:
Make const the function ComputeRange in TGraph, TGraphErrors
and TGraphAsymmErrors.
Rewrite TGraph::GetHistogram to create the histogram without
painting the graph.
2002-11-16 08:58 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
From Eddy Offermann
the operator*(const TMatrix &source1,const TMatrix &source2);
was not correctely defined: it would multply matrix of transposed shapes: a(m,n) * b(n,m)
2002-11-15 23:20 brun
* base/src/TBuffer.cxx:
In ReadArray and ReadStaticArray functions, replace several tests of the form
if (!n) return n;
by
if (n <=0 ) return 0;
In the WriteArray functions, protect against n <0
2002-11-15 21:18 rdm
* cint/iosenum/iosenum.linux:
new version that also works with gcc 3.2.
2002-11-15 21:14 rdm
* win32gdk/src/GWin32Gui.cxx:
fix in CreateCursor() code.
2002-11-15 21:10 rdm
* cint/: inc/G__ci.h, inc/gcc3strm.h, include/_iostream,
include/iostream.h, include/strstream.h, include/termios.h,
include/timespec.h, iosenum/iosenum.cxx, iosenum/iosenum.linuxicc,
lib/gcc3strm/iostrm.h, lib/pthread/Makefile, src/cast.c,
src/func.c, src/gcc3strm.cxx, src/ifunc.c, src/kccstrm.cxx,
src/newlink.c, src/pause.c, src/tmplt.c:
import of CINT 5.15.64.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
ATTENTION: if failure in iostream code occurs, remove the file
cint/iosenum/iosenum.<arch> and do make again. This will force the rebuilding
of this file which then has to be checked into cvs again. This might happen
on CC5 and KCC. Already fixed for icc and gcc 3.2.
2002-11-15 21:02 rdm
* base/inc/MessageTypes.h, proof/inc/TProofPlayer.h,
proof/src/TProof.cxx, proof/src/TProofPlayer.cxx:
more mods for dynamic feedback.
2002-11-15 19:14 rdm
* proof/: inc/TProofDebug.h, src/TProof.cxx:
two small mods by Maarten in preparation of dynamic feedback.
2002-11-15 18:53 brun
* mc/: inc/TVirtualMC.h, src/TVirtualMC.cxx:
Undo previous change replacing TRandom by TRandom3
2002-11-15 17:54 brun
* gui/src/TRootBrowser.cxx:
In TRootBrowser::CloeWindow, simply call DeleteWindow (from TGFrame).
DeleteWindow takes care of deleting the CINT global pointing to the frame
if necessary. With this fix, the object is not deleted twice.
2002-11-15 17:11 brun
* hist/src/TAxis.cxx:
Remove code in TAxis::ExecuteEvent now obsolete after the introduction
of the new class TPaletteAxis.
2002-11-15 17:05 brun
* histpainter/src/THistPainter.cxx:
Rewrite THistPainter::PaintPalette to use the new class TPaletteAxis.
2002-11-15 17:04 brun
* histpainter/: inc/LinkDef.h, inc/TPaletteAxis.h,
src/TPaletteAxis.cxx:
Add new class TPaletteAxis. This new class is called by THistPainter::PaintPalette.
With this new class, the palette object can be moved, resized in the pad.
TPaletteAxis supports zooming on the palette axis.
2002-11-15 17:02 brun
* meta/src/TClass.cxx:
Protect TClass::Streamer when IsTObject() is true and fClassInfo=0
2002-11-15 16:48 brun
* mc/: inc/TVirtualMC.h, src/TVirtualMC.cxx:
Implement a suggestion from Federico:
I think we lost one bit going to the Virtual MonteCarlo. The generator
is not any more TRandom3, but gRandom, as initialised in TVirtualMC, and
therefore TRandom simply. So we have 0's. There are 2 solutions.
Isuggest to replace the initialisation of fRandom in TVirtualMC from
fRandom=gRandom
to
fRandom=gRandom=new TRandom3()
2002-11-15 15:53 brun
* gui/src/: TGCanvas.cxx, TGListTree.cxx:
More mods from Valeriy
2002-11-15 15:41 rdm
* gui/src/TRootBrowser.cxx:
some small comment typos and formatting.
2002-11-15 15:41 rdm
* geom/src/TGeoManager.cxx:
when TClass::IsCallingNew() returns TClass::kDummyNew don't delete the
existing geometry manager.
2002-11-15 15:40 rdm
* base/src/TKey.cxx:
in IsFolder() call TClass::New() with the kDummyNew option.
2002-11-15 15:40 rdm
* meta/: inc/TClass.h, src/TClass.cxx:
New() takes now enum ENewType instead of boolean. ENewType is either:
TClass::kRealNew - when called via plain new
TClass::kClassNew - when called via TClass::New()
TClass::kDummyNew - when called via TClass::New() but object is a dummy,
in which case the object ctor might take short cuts
this change is backward compatible in that the previous default was kTRUE
and now kClassNew which is also 1. kRealNew is 0 which corresponds to kFALSE.
The new kDummyNew is used in the TKey::IsFolder() method and checked in the
TGeoManager to avoid to deletion and creation of a new geometry.
2002-11-15 14:26 rdm
* base/inc/TStorage.h, base/src/TStorage.cxx,
cont/src/TObjArray.cxx, cont/src/TOrdCollection.cxx:
remove warnings produced by valgrind. Added TStorage::Alloc() and Dealloc()
which work in conjunction with TStorage::ReAlloc() and are called from
TObjArray and TOrdCollection.
2002-11-15 14:24 brun
* gui/: inc/TGCanvas.h, inc/TGFSContainer.h, inc/TGListTree.h,
inc/TGListView.h, src/TGCanvas.cxx, src/TGFSContainer.cxx,
src/TGFileDialog.cxx, src/TGListTree.cxx, src/TGListView.cxx,
src/TGScrollBar.cxx, src/TRootBrowser.cxx:
Several improvements and bug fixes in the browser by Valery Onuchin
2002-11-14 18:27 rdm
* base/src/TSystem.cxx:
fInsideNotify was not initialized (by valgrind).
2002-11-13 23:25 brun
* winnt/src/TWinNTSystem.cxx:
New version from Bertrand fixing the the 100%CPU time consumption problem.
New version of DispatchOneEvent.
2002-11-13 18:40 brun
* pythia6/: inc/TPythia6Calls.h, src/TPythia6.cxx:
Move the Fortran functions declaration from the header file to the
implementation file.
Add support for Windows
2002-11-13 18:35 rdm
* test/MainEvent.cxx:
small typo in comment.
2002-11-13 18:32 rdm
* tree/inc/TBranchElement.h, config/mimes.unix.in,
config/mimes.win32.in, gui/src/TRootBrowser.cxx,
tree/src/TBranchElement.cxx:
add special icons for TBranchElements that are folders as opposed to leaves.
This is done by overriding TObject::GetIconName() which returns a different
name for a branch folder than for a branch leave. In the mime types file
this icon name is specified with the corresponding icons.
2002-11-13 18:04 brun
* postscript/src/TPostScript.cxx:
Fix by Olivier for a problem reported by Dmitri Smirnov.
The current PS color must be reset after a polygon is drawn with
a PS pattern.
2002-11-13 15:31 brun
* gpad/src/TPad.cxx:
fModified was not set in the constructors.
Thanks Maarten Ballintijn
2002-11-13 08:55 brun
* g3d/: inc/TGLViewerImp.h, inc/TPadOpenGLView.h,
src/TGLViewerImp.cxx, src/TPadOpenGLView.cxx:
From Valery Fine:
protection to the "g3d" sub-package (3D view)
to eliminate the dead lock between TPadOpenGLView and TGLViewerImp
classes.
2002-11-12 16:51 brun
* tree/src/TTree.cxx:
Modify TTree::ChangeFile to remove several limitations.
In particular, it is now possible to have more than one Tree
in the file. All trees are correctly closed, written to the
file and reset before switching to the new file.
2002-11-12 11:27 brun
* test/guiviewer.h:
Add a ClassDef for the Viewer class to prevent a fatal error when
building the guiviewer test.
2002-11-11 22:51 brun
* tutorials/basic3d.C:
Replace teh creation of objects in the stack by objects in the heap
to allow reexecution of the script (in particular on Windows where
the detection of stack objects is not guaranteed.
2002-11-11 22:21 brun
* base/src/TROOT.cxx:
Extend TROOT::FindObjectAny to also scan the memory list of all files
in case no object is found in the folder structure.
2002-11-11 22:19 brun
* hist/src/TProfile.cxx:
Minor change in TProfile::GetBinError taking into accounts under/overflow bins.
2002-11-11 18:45 brun
* html/src/THtml.cxx:
Patch from Axel Naumann
The USER_Index does not contain ROOT classes anymore, and THtml does not try
to access files that are not there anymore. Details of what I changed:
* check if file exists before creating .cxx.html
* removed postscript created prompt, as TCanvas already says Created file TWhatever_Tree.ps
* Looks at impl file name, if that has format; base/src/TSomething.cxx; assume it comes from
the BASE package. If impl file name is not set, look at decl file name and get package name
the same way.
2002-11-11 18:05 brun
* meta/src/TClass.cxx:
This patch from Philippe fixes a side-effect of the way the ClassInfo was loaded by ROOT.
2002-11-11 17:23 brun
* base/inc/Rtypes.h, base/inc/RtypesImp.h, cont/inc/TMap.h,
gui/inc/TGLayout.h, gui/inc/TGMenu.h, meta/inc/TClass.h,
meta/inc/TGenericClassInfo.h, meta/src/TClass.cxx,
meta/src/TGenericClassInfo.cxx, utils/src/rootcint.cxx:
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.
2002-11-11 16:16 brun
* hist/src/TProfile.cxx:
Modify TProfile::GetBinError to disable the optimisation when the number
of bins is greater than 1000. The time of the old algorithm was proportional
to the number of bins, generating a N^2 problem when projecting a TProfile
with a large number of bins (eg 100000).
2002-11-11 15:45 rdm
* base/: inc/RtypesImp.h, src/TBuffer.cxx, src/TKey.cxx:
warning messages still contained reference to TSocket.
2002-11-11 13:02 brun
* table/src/TCL.cxx:
Remove unused variable mn in several functions.
2002-11-11 12:27 brun
* base/inc/Rtypes.h, base/inc/RtypesImp.h, base/src/TBuffer.cxx,
base/src/TKey.cxx, meta/inc/TClass.h, meta/inc/TGenericClassInfo.h,
meta/src/TClass.cxx, meta/src/TGenericClassInfo.cxx,
utils/src/rootcint.cxx:
This patch enhances speed by avoid the use of the interpreter to access
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.
2002-11-11 12:24 brun
* gpad/src/TPad.cxx:
TPad::PaintPolyLine3D calls the new function TView::PaintLine
2002-11-11 12:23 brun
* base/: inc/TView.h, src/TView.cxx:
Add new status bit kPerspective and corresponding getter/setter
TView::HasPerspective
TView::SetPerspective (MENU)
Add new functions
TView::PaintLine(Double_t *p1, Double_t *p2)
TView::PaintMarker(Double_t *p)
These two new functions will support perspective view in a future version.
2002-11-11 12:21 brun
* g3d/src/: TBRIK.cxx, TCONE.cxx, TELTU.cxx, THYPE.cxx, TPCON.cxx,
TSPHE.cxx, TTUBE.cxx, TTUBS.cxx, TXTRU.cxx:
Remove unnecessary references to TView.h
2002-11-08 18:45 brun
* graf/src/TGraphAsymmErrors.cxx:
Modify the algorithm computing the errors in X and Y in case of asymmetric errors.
Instead of:
return TMath::Sqrt(elow*elow + ehigh*ehigh);
the new algorithm returns
return TMath::Sqrt(0.5*(elow*elow + ehigh*ehigh));
2002-11-07 19:17 rdm
* net/inc/: TFTP.h, TWebFile.h:
provide default ctor for these classes.
2002-11-07 06:23 brun
* hbook/src/THbookFile.cxx:
One more suggestion from Andrei Gaponenko:
"I suggest to put:
if(!IsOpen())
return;
as the first statement of THbookFile::Close(Option_t *).
When a user closes an hbook file explicitly, the destructor calls the
Close() function on the same file again and gets an HCDIR error
message."
2002-11-07 06:20 brun
* hbook/src/THbookFile.cxx:
Fix from Andrei Gaponenko,
"For the lack of THbookChain, I tried to do an explicit loop over
ntuples. After processing about 50 files, the program started to
complain about "too many hbook files open". According to the code
logic, no more than one hbook file should have been opened at a time.
(TFile was an automatic object in a loop of a compiled program.)
I have fixed this by changing the THbookFile(const char*, int)
constructor, so that HROPEN() and HREND() are now called with the
same CHTOP parameter.
It also fixes another problem (PR#1378). There is nothing wrong with
opening an hbook file again if it's been closed."
2002-11-06 22:16 brun
* graf/: inc/TMultiGraph.h, src/TMultiGraph.cxx:
Implement function TMultiGraph::RecursiveRemove.
When a TGraph is deleted (eg via the context menu), its parent TMultigraph
is notified to remove the TGrapg from its list of graphs.
Destructor protected.
2002-11-06 17:12 rdm
* Makefile, config/ARCHS, config/Makefile.aixegcs,
config/Makefile.alphaegcs, config/Makefile.freebsd,
config/Makefile.freebsd4, config/Makefile.hpuxegcs,
config/Makefile.hurddeb, config/Makefile.linux,
config/Makefile.linuxalphaegcs, config/Makefile.linuxarm,
config/Makefile.linuxdeb, config/Makefile.linuxdeb2,
config/Makefile.linuxdeb2ppc, config/Makefile.linuxia64gcc,
config/Makefile.linuxppcegcs, config/Makefile.linuxrh42,
config/Makefile.linuxrh51, config/Makefile.linuxsuse6,
config/Makefile.lynxos, config/Makefile.macosx,
config/Makefile.mklinux, config/Makefile.sgiegcs,
config/Makefile.sgin32egcs, config/Makefile.solarisegcs,
config/Makefile.solarisgcc:
add COMPILER = gnu in all backends that use gcc. This allows correct
checking for gcc compiler type independent of compiler name, which may
have been set to c++ or cc, instead of g++ and gcc. Also remove backend
for solarisegcs which was identical to solarisgcc.
2002-11-06 10:11 brun
* tree/src/TTree.cxx:
In TTree::Fill, replace the call to TFile::GetBytesWritten by TFile::GetEND.
The difference between the real size of the file (via GetEND) and the total number
of bytes written can be very large when TTree::AutoSave is called frequently.
2002-11-06 07:33 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
Small patch from Eddy Offermann:
Do not calculate /correct the matrix determinant if the user does
not requests its value. Reason is that after rescaling by the
diagonal it might be too large or too small.
2002-11-05 19:14 rdm
* configure:
add check in case libpacklib.a does not contain any rfio references.
2002-11-05 18:01 rdm
* mysql/src/TMySQLServer.cxx:
add more explicit error message in case connection to mysqld fails.
2002-11-05 17:47 rdm
* configure:
correction for new version of srp in non-shared mode.
2002-11-05 17:09 brun
* graf/src/TPolyLine.cxx:
Add some comments and an example of a pad with the contour of
a polyline and also its fill area.
2002-11-05 14:21 brun
* tree/src/TChain.cxx:
Fix a problem in TChain::LoadTree in case one file has a Tree
with no entries.
2002-11-05 12:37 brun
* graf/inc/TGaxis.h, graf/src/TGaxis.cxx, hist/inc/TAxis.h,
hist/src/TAxis.cxx:
Add a new option in TAxis and TGaxis to center the bin labels
on the center of the bin instead of the tick marks.
This option makes sense only when the number of bins is equal
to the number of tick marks.
The new function TAxis::CenterLabels sets the bit kCenterLabels.
CenterLabels is visible in the TAxis context menu.
2002-11-05 11:38 brun
* minuit/: inc/TMinuit.h, src/TMinuit.cxx:
Make the following functions const
GetMethodCall()
GetObjectFit
GetMaxIterations
GetNumFixedPars
GetNumFreePars
GetNumPars
GetParameter
GetPlot
GetStatus
mnpout
2002-11-05 11:28 rdm
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
add getters for some WM resources that can be set for TGMainFrames.
2002-11-05 10:54 brun
* minuit/: inc/TMinuit.h, src/TMinuit.cxx:
Add new data members
Bool_t fGraphicsMode;
TObject *fPlot;
By default fGraphicsMode is true.
When calling the Minuit functions such as mncont, mnscan, or any Minuit
command invoking mnplot, TMinuit::mnplot produces a TGraph object
pointed by TObject *fPlot.
One can retrieve this object with TMinuit::GetPlot();
For example, one can do:
h->Fit("gaus");
gMinuit->Command("SCAn 1");
TGraph *gr = (TGraph*)gMinuit->GetPlot();
gr->setMarkerStyle(21);
gr->Draw("alp");
To set Minuit in no graphics mode, call gMinuit->SetGraphicsMode(kFALSE);
2002-11-05 10:37 brun
* base/src/TProcessID.cxx:
Fix from Bill Tanenbaum in TProcessID::WriteProcessID.
In TProcessID::WriteProcessID(TProcessID*, TFile *), the statement
pids->Add(pid);
must be replaced by
pids->AddAtAndExpand(pid,npids);
The reason is that there may be a slot where the stored pid is NULL,
and Add() will incorrectly add it at the first such slot, if any, rather
than at the end of the TObjArray, where it belongs.
2002-11-05 09:15 brun
* base/src/TSystem.cxx:
This patch from Philippe was forgotten when the fixes for win32 were introduced.
2002-11-04 22:19 brun
* graf/src/TGraph.cxx:
In TGraph::PaintGrapHist, skip points that are below the minimum in y when in log scale.
2002-11-04 22:18 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintInit, optimize the computation of the minimum scale in case
of log scale and the maximum is less than 1.
2002-11-04 18:22 brun
* meta/src/: TCint.cxx, TClass.cxx:
From Philippe:
This patch removes 'interpreter errors' that happen when loading file with missing classes which happen to be
template of templates. It achieves this by changing TCint::CheckClassInfo so that it does not request
instantiation of templates and by changing TClass::Init to not look for a classinfo when we create a fake
2002-11-04 17:43 rdm
* cint/src/: newlink.c, typedef.c:
the new CINT has several side effects. Take only mod 1743 that fixes the
titles in the list of types.
2002-11-02 10:46 brun
* config/: mimes.unix.in, mimes.win32.in:
Add entry for THbookFile.
Currently the Root file icon is used for Hbook files. A dedicated icon
should be created.
2002-11-02 10:41 brun
* hbook/src/THbookFile.cxx:
Remove the file from the list of Browsables in the destructor
2002-11-01 22:37 brun
* win32gdk/src/: GWin32Gui.cxx, TGWin32.cxx:
fix by Bertrand Bellenot fixing the speed problem when generating a gif file.
2002-11-01 22:25 brun
* base/src/TKey.cxx:
This update changes the semantic of TKey::ReadObj. It now returns a proper TObject pointer (which sometimes is NOT the address of the actual start of the object).
In particular, code that looks like:
MyClass *obj = (MyClass*)((void*)key->ReadObj());
should be changed to
MyClass *obj = dynamic_cast<MyClass*>(key->ReadObj());
Philippe.
2002-11-01 21:41 brun
* base/src/TKey.cxx:
This patch speeds up TKey::ReadObj by replacing 'calling the streamer via the interpreter' by calculating a proper TObject* (by adding TObject's baseClassOffset to
the address of the start of the object).
Note that I did note change the semantic of TKey::ReadObj and it still returns an improper value when the object does not inherit from TObject first. However, I
could easily change that (and then the dynamic_cast would work). The down-side is that existing code (using multiple inheritance) would break.
Philippe.
2002-11-01 20:58 brun
* base/src/TBuffer.cxx:
Change comment in TBuffer::ReadObjectAny
2002-11-01 20:12 brun
* base/inc/TBuffer.h, base/src/TBuffer.cxx, base/src/TKey.cxx,
meta/inc/TGenericClassInfo.h, meta/src/TClass.cxx,
meta/src/TGenericClassInfo.cxx, meta/src/TStreamerElement.cxx,
meta/src/TStreamerInfo.cxx, utils/src/rootcint.cxx:
From Philippe:
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.
2002-10-31 22:38 brun
* base/src/TProcessID.cxx:
From Philippe:
Add a missing IncrementCount when the processID object is being reused.
2002-10-31 14:23 rdm
* base/src/TQObject.cxx:
remove special case for Win32 introduced during the hunt for the startup bug.
2002-10-31 14:22 rdm
* config/: Makefile.aix, Makefile.aix5:
add missing matrix lib dependencies.
2002-10-31 08:27 brun
* base/inc/TColor.h, base/inc/TDatime.h, base/inc/TDirectory.h,
base/inc/TFile.h, base/inc/TFolder.h, base/inc/TNamed.h,
base/inc/TObject.h, base/inc/TStyle.h, base/inc/TTimeStamp.h,
base/src/TColor.cxx, base/src/TDatime.cxx, base/src/TNamed.cxx,
base/src/TObject.cxx, base/src/TStyle.cxx, base/src/TTimeStamp.cxx,
g3d/inc/TAxis3D.h, g3d/inc/THelix.h, g3d/inc/TPolyLine3D.h,
g3d/inc/TPolyMarker3D.h, g3d/inc/TXTRU.h, g3d/src/TAxis3D.cxx,
g3d/src/THelix.cxx, g3d/src/TPolyLine3D.cxx,
g3d/src/TPolyMarker3D.cxx, g3d/src/TXTRU.cxx,
gpad/inc/TPaveClass.h, gpad/src/TPaveClass.cxx, graf/inc/TArc.h,
graf/inc/TArrow.h, graf/inc/TBox.h, graf/inc/TCrown.h,
graf/inc/TEllipse.h, graf/inc/TFrame.h, graf/inc/TLatex.h,
graf/inc/TLegend.h, graf/inc/TLegendEntry.h, graf/inc/TLine.h,
graf/inc/TMarker.h, graf/inc/TPave.h, graf/inc/TPaveLabel.h,
graf/inc/TPolyLine.h, graf/inc/TText.h, graf/inc/TWbox.h,
graf/src/TArc.cxx, graf/src/TArrow.cxx, graf/src/TBox.cxx,
graf/src/TCrown.cxx, graf/src/TEllipse.cxx, graf/src/TFrame.cxx,
graf/src/TLatex.cxx, graf/src/TLegend.cxx,
graf/src/TLegendEntry.cxx, graf/src/TLine.cxx,
graf/src/TMarker.cxx, graf/src/TPave.cxx, graf/src/TPaveLabel.cxx,
graf/src/TPolyLine.cxx, graf/src/TText.cxx, graf/src/TWbox.cxx,
gui/inc/TGTextEdit.h, gui/inc/TGTextView.h, hist/inc/TAxis.h,
hist/inc/TF1.h, hist/inc/TF2.h, hist/inc/TF3.h,
hist/inc/TFormula.h, hist/inc/TH1.h, hist/inc/TH2.h,
hist/inc/TH3.h, hist/inc/TPolyMarker.h, hist/inc/TProfile.h,
hist/inc/TProfile2D.h, hist/src/TAxis.cxx, hist/src/TF1.cxx,
hist/src/TF2.cxx, hist/src/TF3.cxx, hist/src/TFormula.cxx,
hist/src/TH1.cxx, hist/src/TH2.cxx, hist/src/TH3.cxx,
hist/src/TPolyMarker.cxx, hist/src/TProfile.cxx,
hist/src/TProfile2D.cxx, meta/inc/TStreamerElement.h,
meta/src/TClass.cxx, table/inc/TFileIter.h, table/inc/TPoints3D.h,
table/inc/TPointsArray3D.h, table/src/TPoints3D.cxx,
table/src/TPointsArray3D.cxx:
Make const all Copy functions.
WARNING: If your class implements a Copy function deriving
from TObject or one of the ROOT classes, you must make
your Copy function const.
2002-10-30 22:56 brun
* tree/src/TTree.cxx:
Modify TTree::GetMaximum and TTree::GetMinimum to take into account
variable length arrays.
2002-10-30 21:40 brun
* gpad/: inc/TAttCanvas.h, src/TAttCanvas.cxx:
Make TAttCanvas::Copy const
2002-10-30 21:39 brun
* cont/inc/: TArrayC.h, TArrayD.h, TArrayF.h, TArrayI.h, TArrayL.h,
TArrayS.h:
Make const all Copy functions
2002-10-30 17:12 rdm
* base/src/TEnv.cxx:
fix in Save() so new values created at run time can be correctly saved.
Patch by Nathaniel Tagg (Oxford, Minos).
2002-10-30 13:06 rdm
* build/unix/compiledata.sh, config/root-config.in:
change $() syntax with ` ` which is understood by all shells.
2002-10-29 14:30 brun
* meta/inc/TCint.h, meta/inc/TInterpreter.h, meta/src/TCint.cxx,
rint/src/TRint.cxx:
From Philippe:
I understood (and fixed) the problems on Window 98, XP, 2000 where ROOT
was mysteriously, randomly crashing or giving error messages like 'this
"text file name" is a binary file' or other weird behaviors.
This problem was only appearing at startup time and only on Windows.
In the constructor of TRint::TRint we had:
ProcessLine("#include <RtypesCint.h>");
gROOT->LoadClass("TGeometry", "Graf3d");
gROOT->LoadClass("TTree", "Tree");
....
ProcessLine(Form(".L %s",logon),kTRUE);
The problem comes from the fact that on Windows ProcessLine has the
execution of its CINT part delayed (1st problem) while gROOT->LoadClass
has the execution of its CINT part done immediately (and not protected
for multi-thread).
Both the calls are asking CINT to load a file and in this case,
__sometimes__ the loading of RtypesCint.h is happening __while__ loading
the libraries thus over-writing (randomly) part of one of the loading.
The problem did indeed worsen since ROOT 3.03/07 with the introduction
of the first ProcessLine.
2002-10-29 09:25 brun
* hist/src/TH2.cxx:
Undo changes introduced by mistake in 3.03/09 in functions ProjectionX and ProjectionY
in the algorithm computing the errors for the projected histogram.
2002-10-28 16:38 brun
* graf/src/: TPaveLabel.cxx, TPaveText.cxx:
Changes in the SavePrimitive functions in case of log scales.
2002-10-28 15:27 rdm
* configure:
add discovery support for SRP 1.7.x.
2002-10-28 15:22 rdm
* rootd/: inc/rootdp.h, src/daemon.cxx, src/net.cxx, src/rootd.cxx:
Applied rootd patch by Ulrik Egede and Tim Adye from BaBar. New features:
1) New option, -P FILE, to specify an alternate SRP password file. As an
example
rootd -P $HOME/.srootdpass2
will start rootd using the files $HOME/.srootdpass2.conf and
$HOME/.srootdpass2 for SRP authentication.
2) Modified option, -p port1-port2, will search for the first available
port in the range. You can also specify -p 0-N for search relative to the
service port specified in /etc/services (this was sort of accidental, but
not a bad feature :-). If a single port is specified as before, then no
search is made.
3) Unless started by inetd (rootd -i), it prints something like
ROOTD_PORT=5151
ROOTD_PID=14433
before spawning the daemon so the user knows what was used (eval `rootd`
will set these as variables in Bourne-shells).
4) rootd now shows an error message (as well as the syslog message it
always sent) if there is any problem binding the port or forking the
daemon.
2002-10-25 23:19 brun
* hbook/src/THbookFile.cxx:
Add a few protections in case two Hbook files containing the same histogram IDs
are open and the IDs read in memory.
2002-10-25 21:54 brun
* tree/src/TLeafC.cxx:
Remove a limitation in TLeafC::FillBasket and TLeafC::ReadBasket.
A maximum of 255 characters could only be written/read.
To be back compatible and still have minimal overhead, the following
algorithm has been implemented.
If the length of the string to be written is less than 255 bytes,
we use the old agorithm.
If more or equal 255 characters, we write the constant 255 followed
by the real length of the long string in integer format.
Thanks to Markus Frank for noticing/reporting the problem.
2002-10-25 19:38 rdm
* win32gdk/inc/GdkConstants.h, win32gdk/inc/TGWin32.h,
win32gdk/src/GWin32Gui.cxx, win32gdk/src/GdkThread.cxx,
win32gdk/src/TGWin32.cxx, winnt/inc/TWinNTSystem.h,
winnt/src/TWinNTSystem.cxx:
latest mods of Bertrand. This version implements separate threads for
virtualX and cint. There are still several issues to solve, but it is already
much better than what was in cvs before.
2002-10-25 19:25 rdm
* build/unix/makelib.sh:
not all shells understand $() syntax, replace by ` `.
2002-10-25 18:51 rdm
* config/: Makefile.win32, Makefile.win32gdk:
because some methods in TVector and TMatrix are not inline anymore we now
need to link explicitely with libMatrix for several modules.
2002-10-25 17:39 rdm
* build/unix/compiledata.sh, build/unix/makecintdlls.sh,
build/unix/makelib.sh, config/Makefile.macosx,
config/root-config.in:
latest patch by Keisuke. Now it should work on both fink and non-fink
installations.
2002-10-25 17:29 rdm
* matrix/: inc/TMatrix.h, inc/TMatrixD.h, inc/TMatrixDUtils.h,
inc/TMatrixUtils.h, inc/TVector.h, inc/TVectorD.h, src/TMatrix.cxx,
src/TMatrixD.cxx, src/TMatrixDUtils.cxx, src/TMatrixUtils.cxx,
src/TVector.cxx, src/TVectorD.cxx:
last changes broke Win32. Should now, finally, be ok now on all platforms.
2002-10-25 15:35 rdm
* matrix/: inc/TMatrix.h, inc/TMatrixD.h, inc/TMatrixDUtils.h,
inc/TMatrixUtils.h, inc/TVector.h, inc/TVectorD.h, src/TMatrix.cxx,
src/TMatrixD.cxx, src/TMatrixDUtils.cxx, src/TMatrixUtils.cxx,
src/TVector.cxx, src/TVectorD.cxx:
removed also the special case for MacOS X. Now all platforms can inline.
Problem was due to a static "err" in only a few inlines. Moved this static
as a class static fgErr. Damir verified that it works.
2002-10-25 14:41 brun
* base/src/TRandom.cxx:
TRandom::Rndm optimized by Sverre Jarp
2002-10-25 14:30 rdm
* base/src/TApplication.cxx:
remove compiler warning due to mode not being const char*.
2002-10-25 13:19 rdm
* matrix/: inc/TMatrix.h, inc/TMatrixD.h, inc/TMatrixDUtils.h,
inc/TMatrixUtils.h, inc/TVector.h, inc/TVectorD.h, src/TMatrix.cxx,
src/TMatrixD.cxx, src/TMatrixDUtils.cxx, src/TMatrixUtils.cxx,
src/TVector.cxx, src/TVectorD.cxx:
remove special non-inlining case for obsolete HP-UX CC compiler.
If now MACOSX could also solve this we could get completely get rid of
this error prone construction.
2002-10-25 13:16 rdm
* config/: ARCHS, Makefile.hpux:
very old HP-UX CC compiler is no longer supported.
2002-10-25 12:47 rdm
* test/: vmatrix.cxx, vvector.cxx:
run in batch mode.
2002-10-25 12:40 rdm
* cont/src/TClassTable.cxx:
fix typo in comment.
2002-10-25 12:40 rdm
* base/src/TApplication.cxx, gui/src/TGApplication.cxx,
proof/src/TProofServ.cxx:
call gInterpreter->UpdateListOfTypes() after the dictionaries have been
initialized. This fixes the problem as seen on Solaris when running
vvector in batch mode where the basic typedef UInt_t et al are not known.
2002-10-25 12:31 rdm
* rfio/src/TRFIOFile.cxx:
fix compilation problem on Win32.
2002-10-25 12:18 rdm
* configure:
on Solaris the latest version of libshift requires the additional linking
of libposix4.
2002-10-25 09:36 brun
* matrix/src/: TVector.cxx, TVectorD.cxx:
In the operator == replace the call to memcmp by an explicit loop.
memcmp does not behave correctly on aix and sgi. (rounding problems)
With this change, vvector executes correctly on all platforms.
2002-10-25 08:29 brun
* matrix/src/: TMatrixD.cxx, TMatrixDUtils.cxx, TMatrixUtils.cxx,
TVector.cxx, TVectorD.cxx:
New fixes by Eddy to compile under macosx
2002-10-25 08:04 brun
* net/src/TUrl.cxx:
Fix fatal compilation errors
2002-10-25 03:23 rdm
* base/inc/MessageTypes.h, proof/inc/TPacketizer.h,
proof/inc/TPacketizer2.h, proof/inc/TProofPlayer.h,
proof/src/TPacketizer.cxx, proof/src/TPacketizer2.cxx,
proof/src/TProof.cxx, proof/src/TProofPlayer.cxx:
this patch implements a signal Progress(total,processed) in the proofplayer.
The patch provides some other small bug fixes and an implementation of
file specs without host.
2002-10-25 02:50 rdm
* base/src/TObject.cxx:
unset kCanDelete bit also in copy ctor and assignment operator (like
was done in Clone()).
2002-10-25 02:44 rdm
* base/inc/TSystem.h, base/src/TSystem.cxx, config/rootrc.in,
rfio/inc/LinkDef.h, rfio/inc/TRFIOFile.h, rfio/src/TRFIOFile.cxx,
unix/inc/TUnixSystem.h, unix/src/TUnixSystem.cxx:
add capability to read directory structures via RFIO. This works via
the TRFIOSystem helper class (which derives from TSystem) that is loaded
by the plugin manager whenever one tries to access a rfio directory or file.
This helper class is used in the actual system class (TUnixSystem,
TWinNTSystem).
2002-10-25 02:19 rdm
* net/: inc/TUrl.h, src/TUrl.cxx:
add support for username and passwd embedded in url according to W3C specs.
2002-10-25 02:16 rdm
* Makefile, config/ARCHS:
remove reference to win32egcs, until this port really exist (if ever).
2002-10-24 21:45 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
Fixes by Eddy for some compilation problems on macosx reported
by George Irwin and Damir Buskulic
2002-10-24 18:45 brun
* README/CREDITS:
Add Marco van Leeuwen for his contribution to THistPainter.
2002-10-24 18:32 brun
* histpainter/src/THistPainter.cxx:
From Marco van Leeuwen
"I've adapted the THistPainter to allow logarithmic axes (x, y and z)
when using the CONT drawing options."
2002-10-24 08:29 brun
* build/unix/compiledata.sh, build/unix/makelib.sh,
config/Makefile.macosx, test/Makefile.in:
Changes in Makefiles by Keisuke Fujii for macosx.
With these changes, test/Event can be executed on macosx.
2002-10-23 23:56 brun
* matrix/: inc/LinkDef.h, inc/TMatrix.h, inc/TMatrixD.h,
inc/TMatrixDUtils.h, inc/TMatrixUtils.h, inc/TVector.h,
inc/TVectorD.h, src/TMatrix.cxx, src/TMatrixD.cxx,
src/TMatrixDUtils.cxx, src/TMatrixUtils.cxx, src/TVector.cxx,
src/TVectorD.cxx:
A few fixes to previous Eddy's patch
2002-10-23 22:47 brun
* matrix/inc/LinkDef.h, matrix/inc/TMatrix.h,
matrix/inc/TMatrixD.h, matrix/inc/TMatrixDUtils.h,
matrix/inc/TMatrixUtils.h, matrix/inc/TVector.h,
matrix/inc/TVectorD.h, matrix/src/TMatrix.cxx,
matrix/src/TMatrixD.cxx, matrix/src/TMatrixDUtils.cxx,
matrix/src/TMatrixUtils.cxx, matrix/src/TVector.cxx,
matrix/src/TVectorD.cxx, test/vlazy.cxx, test/vmatrix.cxx,
test/vvector.cxx:
From Eddy Offermann:
I made the following changes to the matrix/vector classes:
1. if rank(matrix) <= 3 determinant and matrix inversion
formulas are hard-coded to in order to improve speed
2. As requested by Nicolas Produit
(http://root.cern.ch/root/roottalk/roottalk02/1136.html)
I have implemented a class called TMatrixFlat that lets
you access the matrix elements as a flat array. Functionalities
are identical to TMatrixRow, TMatrixColumn and TMatrixDiag ..
3. Added some constructors to TVector:
TVector(const TMatrixRow &mr);
TVector(const TMatrixColumn &mc);
TVector(const TMatrixDiag &md);
4. Operations like TMatrix(a,2) *= TMatrix(b,3) are now supported
5. Elements in TVector/TMatrix/TMatrixRow ... can now be accessed
with operator() and []
5. Code cleanup:
- made functions static in TMatrix
- enforced better "const"-ness
in particular the Apply methods in TVector/TMatrix now
have a "const" argument allowing constructs like (Nicolas Produit) in
http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/roottalk/roottalk02/0827.html?TElementAction#first_hit
This has as side effect that the signature of "Operation" has changed !!!!!
In Addition I have removed the MakeHilbert() function
from TMatrix class; no reason to give this matrix type a special
status.
I have added THilbertMatrix class just like the THaarrMatrix,
both inheriting from TLazyMatrix
2002-10-23 14:36 brun
* cint/include/iosfwd.h:
Undo change proposed by Philippe. Too many side effects.
2002-10-23 13:15 brun
* histpainter/src/THistPainter.cxx:
Fix in PaintLego and PaintSurface in the new algorithm computing the scale.
2002-10-23 13:00 brun
* cint/include/iosfwd.h:
From Philippe
"I found that in order to properly parse some of Geant4 header files I
needed to add one declaration to iosfwd:"
2002-10-23 12:51 brun
* cint/src/global2.c, cint/src/init.c, cint/src/newlink.c,
utils/src/rootcint.cxx:
From Philippe:
"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.
2002-10-23 08:26 brun
* histpainter/src/THistPainter.cxx:
Protect THistPainter::PaintLego and THistPainter::PaintSurface for the case
where zmin >= zmax
2002-10-22 15:55 brun
* cint/lib/stream/iostrm.h:
Add AIX in the list of systems not supporting standard rdbuf
2002-10-22 14:10 brun
* hbook/: inc/THbookFile.h, src/THbookFile.cxx:
Implement new function IsOpen (like in TFile).
Set the Zombie bit on if the file cannot be open.
There are now two ways to detect if a file is open:
TFile f("myfile.hbook");
if (f.IsOpen()); //if true f has been open successfully
if (f.IsZombie()); //if true f cannot be used
2002-10-22 12:37 brun
* utils/src/rootcint.cxx:
Patch from Philippe:
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.
2002-10-22 10:32 brun
* geom/src/TGeoBBox.cxx:
Fix a portability problem. Variable Int_t i defined twice in the same function
2002-10-22 10:22 brun
* cint/src/tmplt.c:
From Masa
Removed a side-effect
2002-10-22 10:19 brun
* base/src/TMath.cxx:
Add remarks in the doc of TMath::isInside
2002-10-22 09:43 brun
* geom/inc/TGeoManager.h, geom/inc/TVirtualGeoPainter.h,
geom/src/TGeoBoolNode.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoVoxelFinder.cxx, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoChecker.cxx, geompainter/src/TGeoPainter.cxx:
A few fixes to avoid compiler warnings
2002-10-22 08:43 brun
* utils/src/rootcint.cxx:
From Philippe:
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!!).
2002-10-21 21:19 brun
* cint/src/pause.c:
Fix a typo " recorvered" changed to "recovered"
2002-10-21 19:37 rdm
* base/src/TQObject.cxx:
fix typo in Error() message.
2002-10-21 19:32 rdm
* utils/src/rootcint.cxx:
correction in help making clear that + and - are mutual exclusive [{+,-}].
2002-10-21 19:09 brun
* base/src/TQObject.cxx:
From Philippe
On windows instead of loading the TQObject macro via loadtext,
let's go back to the previous implementation and do it by
loading the header file.
2002-10-21 19:08 brun
* test/: dt_DrawTest.C, dt_MakeRef.C:
From Philippe
DrawTest now has a test of drawing an array values with a scalar weight.
2002-10-21 18:47 brun
* main/src/h2root.cxx:
The recent increase of /pawc/ from 2 to 10 megawords prevents the
generation of the h2root module under alpha/gcc.
This fix reduces the size to 5 megawords.
2002-10-21 18:35 brun
* pythia6/src/TPythia6.cxx:
Fix by Constantin Loizides
I had problems using ImportParticles
with the "Final" option. When writing
the "particle" branch with TTree::Fill
it crashed whereas when using the "All"
option the same macro work (macro is attached).
Looping over the particles in the TClonesArray
works perfectly in both cases
(particles->Print()).
I "solved" the problem changing the
TPythia6::ImportParticles in the following way:
The dummy index i is always incremented regardless
whether a particle was "final" or not. Introducing a
variable which actually counts the particles that
were inserted into the TClonesArray apparently works
2002-10-21 18:15 brun
* utils/src/rootcint.cxx:
From Philippe:
The following modification of rootcint allow the generation of
dictionaries for classes with const data members.
2002-10-21 18:13 brun
* treeplayer/src/TTreePlayer.cxx:
From Philippe:
This patch makes sure that a scalar weight is used for all the elements
of an array which is drawn.
Before this patch the scalar weight was only applied to the first
element of the array.
2002-10-21 17:21 brun
* geom/inc/TGeoAtt.h, geom/inc/TGeoManager.h, geom/inc/TGeoNode.h,
geom/inc/TGeoShape.h, geom/inc/TGeoVolume.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoCompositeShape.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoNode.cxx,
geom/src/TGeoVolume.cxx, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoPainter.cxx:
Upgrade of the geom classes by Andrei:
- improvements in the drawing mechanism (nodes can also be made
invisible, having higher priority than volumes;
- possibility of simple phi cut in TGeoManager::SetPhiRange(phimin, phimax)
- by default the phi range is (0, 360) - no cut performed
- setting different values for phimin, phimax will make invisible the
nodes having the origin in this range;
- documentation updated for TGeoArb8 class (picture in /gif directory)
2002-10-21 17:12 rdm
* config/Makefile.linuxia64ecc:
add -restrict option to CFLAGS and CINTCFLAGS for ecc v7.
2002-10-21 16:38 rdm
* cint/: inc/G__ci.h, inc/common.h, inc/fproto.h, inc/global.h,
include/_iostream, src/cast.c, src/disp.c, src/func.c,
src/global2.c, src/ifunc.c, src/init.c, src/loadfile.c,
src/newlink.c, src/pause.c, src/pcode.c, src/pragma.c,
src/struct.c, src/tmplt.c, src/var.c, tool/makecint.c:
import of CINT 5.15.61.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Experimental release.
2002-10-21 12:04 rdm
* Makefile:
delete build/misc/root-help.el only when doing maintainer-clean, not
distclean.
2002-10-20 18:08 brun
* base/src/TApplication.cxx, base/src/TSystem.cxx,
cint/src/loadfile.c:
Patch from Philippe:
"Following Masa's smart comment, I renamed the ACLiC option into 'g' and
'O' to be more inline with all other compiler.
2002-10-18 19:14 brun
* base/src/TApplication.cxx, cint/src/loadfile.c:
aclic options, fix a couple of bugs
2002-10-18 19:01 brun
* base/src/TApplication.cxx:
add option to aclic to select debug or optimized mode
2002-10-18 19:01 brun
* cint/src/loadfile.c:
add option to aclic to select debug or optimized mode
2002-10-18 18:32 brun
* tree/src/TBranchElement.cxx:
Protection introduced in TBranchElement::SetAddress in case of fake classes.
2002-10-18 18:31 brun
* meta/src/TClass.cxx:
In TClass::BuildRealData, the TList of fRealData is always built, even
when no dictionary info is available (fake class).
2002-10-18 16:58 brun
* Makefile, base/inc/TSystem.h, base/src/TSystem.cxx,
build/unix/compiledata.sh, build/win/compiledata.sh,
config/Makefile.aix, config/Makefile.aix5, config/Makefile.aixegcs,
config/Makefile.alphacxx6, config/Makefile.alphaegcs,
config/Makefile.alphakcc, config/Makefile.freebsd,
config/Makefile.freebsd4, config/Makefile.hpux,
config/Makefile.hpuxacc, config/Makefile.hpuxegcs,
config/Makefile.hpuxia64acc, config/Makefile.hurddeb,
config/Makefile.linux, config/Makefile.linuxalphaegcs,
config/Makefile.linuxarm, config/Makefile.linuxdeb,
config/Makefile.linuxdeb2, config/Makefile.linuxdeb2ppc,
config/Makefile.linuxia64ecc, config/Makefile.linuxia64gcc,
config/Makefile.linuxia64sgi, config/Makefile.linuxicc,
config/Makefile.linuxkcc, config/Makefile.linuxpgcc,
config/Makefile.linuxppcegcs, config/Makefile.linuxrh42,
config/Makefile.linuxrh51, config/Makefile.linuxsuse6,
config/Makefile.lynxos, config/Makefile.macosx,
config/Makefile.mklinux, config/Makefile.sgicc,
config/Makefile.sgiegcs, config/Makefile.sgikcc,
config/Makefile.sgin32egcs, config/Makefile.solaris,
config/Makefile.solarisCC5, config/Makefile.solarisegcs,
config/Makefile.solarisgcc, config/Makefile.solariskcc,
config/Makefile.win32, config/Makefile.win32gdk:
With this patch (Philippe) you can now select how ACLiC compiled the library:
root[] gSystem->SetAclicMode (TSystem::kDebug);
root[] gSystem->SetAclicMode (TSystem::kOpt);
2002-10-18 11:45 brun
* hist/src/TH1.cxx:
Protect TH1::GetObjectInfo in case the member fPainter is null.
This case can occur when moving the mouse on top of a THStack object.
2002-10-17 19:51 brun
* main/src/h2root.cxx:
Increase default /PAWC/ size from 2 Megawords to 10 Megawords
2002-10-17 08:54 brun
* base/src/TSystem.cxx:
From Philippe:
With this absurdly simple patch, one can now create dictionaries for
existing libraries.
So now the following is possible:
root [] .L path/lib/veryImportant3rdPartyLib.so
root [] .include path/include
root [] .L importantClass.h+
By default the library is build in the directory of the header file but that
can be changed by doing:
root [] TString cmd = gSystem->GetMakeSharedLib();
root [] cmd.ReplaceAll("$BuildDir","whereIwantTheLib/lib");
root [] gSystem->SetMakeSharedLib(cmd);
2002-10-16 16:53 rdm
* config/Makefile.linuxicc:
remove optimization option for P4 that remained after some testing.
Option did not make any differencem, was: -tpp7
2002-10-16 07:39 brun
* build/unix/compiledata.sh:
Add a new patch previously forgotten for the macosx by Remi Mommsen
"I missed one change which is needed to make ACLiC work"
2002-10-15 10:41 rdm
* proof/src/TPacketizer2.cxx:
fix in print statement.
2002-10-14 18:11 brun
* geompainter/src/TGeoChecker.cxx:
Fix typo from Andrei
2002-10-13 17:45 brun
* geom/inc/TGeoVolume.h, geom/src/TGeoCompositeShape.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoPgon.cxx,
geompainter/src/TGeoChecker.cxx:
From Andrei:
I have made a few corrections related to TGeoManager registration to
the browser and to the TGeoChecker::LegoPlot. Also a small fix in
TGeoPgon class. Change the default number of bins for lego plots.
2002-10-13 09:29 brun
* gpad/src/TPad.cxx:
Change algorithm in TPad::RecalculateRange computing the constant factor
for the transformation to pixel coordinates. Do not use the offset=0.5
but instead a small rounding offset = 0.00005.
This fixes the problem of the axis lines not coinciding with the pad frame lines.
2002-10-12 18:41 brun
* hist/src/: TF2.cxx, TF3.cxx:
Fix TF2::Paint and TF3::Paint to remove the unnecessary gPad->Clear
giving an additional empty picture when printing on Postscript.
2002-10-12 18:36 brun
* hist/src/TF1.cxx:
In TF1::Paint do not Clear the pad. This is already done in TF1::Draw
and has the side-effect to generate an empty picture when printing
on a Postscript file.
2002-10-12 18:02 brun
* README/CREDITS:
Add Ivana Hrivnacova to the CREDITS file for her contribution
to the design and implementation of the VirtualMC
2002-10-12 16:03 brun
* hist/src/TF1.cxx:
Add the following comments in the TF1 constructor:
// TF1 objects can reference other TF1 objects (thanks John Odonnell)
// of type A or B defined above.This excludes CINT interpreted functions
// and compiled functions.
// However, there is a restriction. A function cannot reference a basic
// function if the basic function is a polynomial polN.
2002-10-12 12:49 rdm
* gui/: inc/TGCanvas.h, inc/TGFSContainer.h, inc/TGListTree.h,
inc/TGListView.h, src/TGCanvas.cxx, src/TGFSContainer.cxx,
src/TGListTree.cxx, src/TGListView.cxx, src/TGScrollBar.cxx,
src/TRootBrowser.cxx:
revert to previous version. Valeriy's mods still has some severe bugs and
needs much more testing.
2002-10-11 18:41 brun
* geom/inc/TGeoManager.h, geom/src/TGeoCache.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoNode.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoVolume.cxx,
geom/src/TGeoVoxelFinder.cxx, geompainter/src/TGeoChecker.cxx:
From Andrei,
- bug fix in TGeoPgon for finding next boundary
- bug fix in retrieving saved paths (affected "Where am I?" for MANY
geometries
- support for tracking algorithm with MANY's
- improvements in raytracing and lego plots.
2002-10-11 15:25 brun
* base/: inc/TFile.h, src/TFile.cxx:
Add entry kRecovered in TFile enum.
The bit kRecovered is set when Recover has been called on the file.
A user can test if the file has been recovered with
file->TestBit(TFile::kRecovered);
2002-10-11 08:54 brun
* tree/src/TBranchElement.cxx:
Fix a problem in TBranchElement::SetAddress in case of an object
with a level of inheritance greater than 3 and when data members are simple types
following classes at the same level (thanks Susan Kasahara for reporting
an example).
The new function has been simplified, taking advantage of the work already
done by TClass::BuildRealData.
2002-10-10 21:36 brun
* build/unix/makelib.sh, config/Makefile.macosx:
Mods proposed to the build scripts for macos10.2 by Remigius K. Mommsen.
"I compiled the cvs head version (3.03/09) of root on my Mac OS X 10.2.1
two days ago. I use the fink tools for package management
(http://fink.sourceforge.net) and used the CERNLIB 2002 compiled by
myself to build against. This worked extremely well (thanks to the root
developers). I had to make only two changes:
- the above mentioned change in Makefile.macosx seems not to be in the
cvs yet. I had to make the changes myself.
- I added some EXTRA_*FLAGS for the fink dirs (/sw/include and
/sw/lib). Doing so, I found out that in root/build/unix/makelib.sh the
LDFLAGS are not given to the static linker for mac os x. Is this by
purpose? Anyway, I added them and it worked out."
2002-10-10 19:10 rdm
* config/: Makefile.linuxicc, Makefile.win32, Makefile.win32gdk:
small formatting change.
2002-10-10 19:09 brun
* graf/src/TCutG.cxx:
Use new function TMath::IsInside in TCutG::IsInside
2002-10-10 19:09 rdm
* gui/: inc/TGCanvas.h, inc/TGFSContainer.h, inc/TGListTree.h,
inc/TGListView.h, src/TGCanvas.cxx, src/TGFSContainer.cxx,
src/TGListTree.cxx, src/TGListView.cxx, src/TGScrollBar.cxx,
src/TRootBrowser.cxx:
widget improvements by Valeriy Onuchin. In particular the TGListTree
should now be able to handle very large tree's (not limited anymore by
the bitmap size). Added key navigation options to TGListTree and some
new signals.
2002-10-10 19:08 brun
* base/: inc/TMath.h, src/TMath.cxx:
Add new functions Inside
Bool_t TMath::IsInside(Double_t xp, Double_t yp, Int_t np, Double_t *x, Double_t *y)
// Function which returns kTRUE if point xp,yp lies inside the
// polygon defined by the np points in arrays x and y, kFALSE otherwise
Bool_t TMath::IsInside(Float_t xp, Float_t yp, Int_t np, Float_t *x, Float_t *y)
Bool_t TMath::IsInside(Int_t xp, Int_t yp, Int_t np, Int_t *x, Int_t *y)
2002-10-10 11:01 brun
* base/src/TObject.cxx:
In TObject::Clone ResetBit(kCanDelete) in the clone.
2002-10-10 10:08 brun
* config/: Makefile.aix, Makefile.aix5, Makefile.win32,
Makefile.win32gdk:
Add dependencies of GEOMPAINTER with libHist
2002-10-09 16:03 brun
* geom/: inc/TGeoManager.h, inc/TGeoMaterial.h,
src/TGeoManager.cxx, src/TGeoMaterial.cxx:
Bug fix in the I/o
2002-10-09 16:02 brun
* main/src/g2root.f:
Add new argument density when generating code for mixtures
2002-10-09 14:57 brun
* geom/inc/TGeoMaterial.h, geom/inc/TGeoVolume.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoManager.cxx,
geom/src/TGeoMaterial.cxx, geom/src/TGeoVolume.cxx,
geompainter/inc/TGeoChecker.h, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoChecker.cxx, geompainter/src/TGeoPainter.cxx:
Add a tentative prototype for producing the lego plot of radiation length
in function of theta and phi.
2002-10-08 18:17 brun
* geom/: inc/LinkDef.h, inc/TGeoFinder.h, inc/TGeoManager.h,
inc/TGeoNode.h, inc/TGeoPatternFinder.h, inc/TGeoTube.h,
inc/TGeoVolume.h, inc/TGeoVoxelFinder.h, src/TGeoArb8.cxx,
src/TGeoBBox.cxx, src/TGeoCone.cxx, src/TGeoFinder.cxx,
src/TGeoManager.cxx, src/TGeoNode.cxx, src/TGeoPara.cxx,
src/TGeoPatternFinder.cxx, src/TGeoPcon.cxx, src/TGeoPgon.cxx,
src/TGeoShape.cxx, src/TGeoSphere.cxx, src/TGeoTrd1.cxx,
src/TGeoTrd2.cxx, src/TGeoTube.cxx, src/TGeoVolume.cxx,
src/TGeoVoxelFinder.cxx:
new version of the geometry package from Andrei:
- bug fix in the destructor of TGeoPatternCylPhi
- several modifications in the default constructors of shapes.
- several corrections and "v" feature added to I/O
- removed base class for finders
Now you can save voxels and retreive them with no problem. You can use :
gGeoManager->Export("filename", "", "v") to do that. The size of files
without/with voxelization are :
Exp no voxels saved voxels saved
ALICE 404227 719703
CMS 550440 1275590
ATLAS 1858198 3335166
Be careful, the files TGeoFinder.h and TGeoFinder.cxx have been removed.
Suggest doing:
rm geom/src/*.o geom/src/G__*
2002-10-08 14:41 rdm
* cint/: inc/G__ci.h, lib/stream/iostrm.h, src/allstrm.cxx,
src/fread.c, src/newlink.c, src/pause.c, stl/_vector.h:
import of CINT 5.15.60.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
iostream redirect mod (G__OLDIMPLEMENTATION1635) is now enabled since it
is needed some other feature (simultaneous stdout and stderr redirect via >&).
2002-10-08 14:39 rdm
* config/Makefile.linuxicc:
add -restrict to CFLAGS and CINTCFLAGS. It is needed by icc v7 (this
option also works for the current icc v6).
2002-10-07 18:16 brun
* hist/inc/TPolyMarker.h:
Add forward reference to TCollection.
2002-10-07 17:58 brun
* gpad/src/TPad.cxx:
Add 0.5 to the computed values of the constants fXtoPixelk, fYtoPixelk
This removes a side-effect (visible in hsimple.C, hsum.C) due to
numerical precision or double to int conversion to pixels.
2002-10-07 12:43 rdm
* proof/: inc/TPacketizer.h, inc/TPacketizer2.h,
inc/TProofPlayer.h, inc/TProofServ.h, inc/TVirtualPacketizer.h,
src/TPacketizer.cxx, src/TPacketizer2.cxx, src/TProof.cxx,
src/TProofPlayer.cxx, src/TProofServ.cxx,
src/TVirtualPacketizer.cxx:
added code to trace the latency and cpu time every work packet took.
By Maarten.
2002-10-07 12:42 rdm
* Makefile, build/unix/makestatic.sh:
support building also static proofserv for profiling purposes. By Maarten.
2002-10-07 12:41 rdm
* base/src/TStopwatch.cxx:
added option "m" to Print() to allow millisecond precision in the
real time reporting. By Maarten.
2002-10-07 12:40 rdm
* cont/: inc/TMap.h, src/TMap.cxx:
new method DeleteValue() to delete the value objects if they are owned by
the TMap.
2002-10-05 11:28 brun
* geom/inc/TGeoPatternFinder.h:
Replace pure function definitions by dummy functions to avoid side-effects in I/O
2002-10-05 11:27 brun
* hist/src/THStack.cxx:
Fix a problem in THStack::Paint when option "nostack" is used.
The "c" in "nostack" was interpreted to draw a smooth curve.
2002-10-04 22:14 brun
* treeplayer/src/TTreePlayer.cxx:
from Philippe:
This prevent a crash in the case where
TTree::Draw is call with a zero length first arguments.
2002-10-04 19:59 brun
* hist/src/THStack.cxx:
In THStack::Paint, redraw the axis in case the fill area of one of the histos
is hidding the axis (thanks Matt Palmer)
2002-10-04 19:03 rdm
* gl/src/TRootGLViewer.cxx:
cast Visual* to Visual_t.
2002-10-04 19:03 rdm
* config/Makefile.win32gdk, gl/Module.mk:
Win32gdk uses now TRootGLViewer.cxx.
2002-10-04 18:06 rdm
* base/inc/TVirtualX.h, gl/src/TRootGLViewer.cxx,
win32gdk/inc/TGWin32.h, win32gdk/src/GWin32Gui.cxx,
x11/inc/TGX11.h, x11/src/GX11Gui.cxx:
support for OpenGL in win32 gdk version. By Bertrand.
2002-10-04 18:05 rdm
* configure:
look also in /usr/local/lib for libpacklib.
2002-10-03 20:11 rdm
* proof/src/TProofPlayer.cxx:
more explicit info messages.
2002-10-03 20:09 rdm
* treeplayer/src/TTreePlayer.cxx:
fix small typo in comment of generated code.
2002-10-03 20:09 rdm
* proof/src/TPacketizer2.cxx:
more explicit info messages. Added initial support for rfio.
2002-10-03 20:07 rdm
* proof/src/TSlave.cxx:
pass passwd also to slave proofservers (was only to master).
2002-10-03 20:06 rdm
* proof/src/TProofServ.cxx:
create more explicit session directory names for the master and slaves.
Work around an issue with deletion of session directories when they are on nfs.
Pass valid passwd from master to slaves. This passwd can be used to authenticate
to rootd to open files.
More explicit info messages with slave and hostname mentioned.
2002-10-03 20:01 rdm
* proof/: inc/TProof.h, src/TProof.cxx:
make sure lock files are not created on an nfs mounted partition, always
create in /tmp. When processing proof.conf make sure to obtain FQDN of
master node.
2002-10-03 19:59 rdm
* net/: inc/TMonitor.h, src/TMonitor.cxx:
GetListOfActives() and GetListOfDeActives() now correctly returns a list of
TSockets and not of TSocketHandlers.
2002-10-03 19:46 brun
* graf/src/TLatex.cxx:
One more optimisation in TLatex::Analyze when processing a superscript
like "^{18}F"
2002-10-03 15:19 brun
* geom/: inc/LinkDef.h, inc/TGeoFinder.h, inc/TGeoManager.h,
inc/TGeoMatrix.h, inc/TGeoPatternFinder.h, src/TGeoManager.cxx,
src/TGeoPatternFinder.cxx, src/TGeoVolume.cxx:
From Andrei; Bug fixes related to I/O
2002-10-03 00:13 brun
* tree/src/TBranchElement.cxx:
Modify the logic in TTree::SetBranchAddress to support 4 or more levels
of direct inheritance.
2002-10-02 23:04 brun
* treeplayer/src/TTreeFormula.cxx:
Protection added in TTreeFormula::UpdateFormulaLeaves
2002-10-02 21:14 brun
* base/src/TObject.cxx:
Add a comment in TObject::Write indicating that the function returns
the total number of bytes written to the file.
2002-10-02 15:05 rdm
* net/inc/TMonitor.h:
make SetReady() private (and the 2 internal classes that called this method
a friend of TMonitor). Provide getters for the active and de-active socket
lists.
2002-10-02 15:03 rdm
* base/src/TDSet.cxx:
update comments in several method and improve Print() output.
2002-10-02 15:02 rdm
* base/inc/RtypesCint.h:
fix typo in cvs identifier string.
2002-10-02 14:33 rdm
* base/src/TRegexp.cxx:
hopefully fix missing wildcard chars forever.
2002-10-02 12:29 brun
* histpainter/src/THistPainter.cxx:
Fix a problem in THistPainter::PaintColorLevels when a maximum has been set.
2002-10-01 22:59 brun
* graf/src/TLatex.cxx:
Fix a problem in case of strings like "^{18}H".
When the first string was a "^", the vertical alignement was not correct
for the superscript.
2002-10-01 12:23 brun
* tutorials/quarks.C:
New tutorials showing divided pads and TLatex
2002-09-30 22:44 brun
* geom/inc/TGeoManager.h, geom/inc/TGeoNode.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoManager.cxx,
geom/src/TGeoNode.cxx, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoPainter.cxx:
A few changes in several classes in order to restore a TGeoManager.
Implement two new functions in TGeoManager
Int_t TGeoManager::Export(const char *filename, const char *name, Option_t *option)
{
// Export this geometry on filename with a key=name
// By default the geometry is saved without the voxelisation info.
// Use option 'v" to save the voxelisation info.
TGeoManager *TGeoManager::Import(const char *filename, const char *name, Option_t *option)
{
//static function
//Import in memory from filename the geometry with key=name.
//if name="" (default), the first TGeoManager object in the file is returned.
//Note that this function deletes the current gGeoManager (if one)
//before importing the new object.
2002-09-30 19:34 rdm
* cint/inc/G__ci.h:
forgot to disable iostream io redirection. We should check again to see
if it works on all platforms. Was not the case in the past.
2002-09-30 19:33 rdm
* cint/: Module.mk, inc/G__ci.h, inc/common.h,
lib/pthread/Makefile, src/allstrm.cxx, src/disp.c, src/ifunc.c,
src/inherit.c, src/newlink.c, src/parse.c, src/struct.c,
src/tmplt.c, src/typedef.c, src/var.c:
import of CINT 5.15.59.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
iostream redirect mod (G__OLDIMPLEMENTATION1635) still disabled.
2002-09-30 19:31 rdm
* base/src/: Match.cxx, TRegexp.cxx:
support the [] characters in character classes, i.e. [A-Z[]].
Note that the [] must appear as a pair within the class not interspersed
by any other character.
2002-09-30 11:18 brun
* base/: inc/TBuffer.h, src/TBuffer.cxx:
In the inline definition of the output operator << replace the call to
buf.WriteObject(obj)
by
buf.WriteObject(obj, cl)
In TBuffer::ReadObject and TBuffer::WriteObject, replace calls to
StreamObject(obj,clRef)
by
clRef->Streamer(obj, *this);
With these corrections, one gain two levels of recursivity when
streaming TObject*. It makes I/O faster and may help on MACOSX
where the maximum recursivity level in the calling stack seems
to be limited.
2002-09-30 10:56 rdm
* configure:
don't call nm on packlib in case packlib was not found.
2002-09-29 22:24 brun
* hbook/src/THbookFile.cxx:
In THbookFile::Get, print an error message if the requested ID is not in the file.
Before the fix, if the requested ID did not exist, the last Hbook object
was returned.
2002-09-28 09:27 brun
* geom/: inc/LinkDef.h, src/TGeoManager.cxx:
Implement TGeoManager::Streamer. When reading, CloseGeometry is automatically called
2002-09-28 08:46 brun
* cint/src/newlink.c:
Patch from Philippe changing the following:
> Note: link requested for unknown class MyMisSpelledClass FILE:LinkDef.h
from a Note to an Error
2002-09-28 08:39 brun
* geom/: inc/TGeoBoolNode.h, src/TGeoBoolNode.cxx:
Forgot to add these two new files to the geom package
2002-09-27 20:06 brun
* meta/src/TStreamerInfo.cxx:
This patch from Philippe adds support for I/O of the following types of data members:
MyClass myArr[3];
MyClass *myArrFix[3];
The following is NOT supported yet:
MyClass **myArrVar; //[index]
This is already supported for TObject classes via a streamer generated by rootcint.
2002-09-27 18:16 brun
* geom/inc/LinkDef.h, geom/inc/TGeoArb8.h, geom/inc/TGeoBBox.h,
geom/inc/TGeoBoolCombinator.h, geom/inc/TGeoCache.h,
geom/inc/TGeoCompositeShape.h, geom/inc/TGeoCone.h,
geom/inc/TGeoEltu.h, geom/inc/TGeoManager.h, geom/inc/TGeoMatrix.h,
geom/inc/TGeoNode.h, geom/inc/TGeoPara.h,
geom/inc/TGeoPatternFinder.h, geom/inc/TGeoPcon.h,
geom/inc/TGeoPgon.h, geom/inc/TGeoShape.h, geom/inc/TGeoSphere.h,
geom/inc/TGeoTrd1.h, geom/inc/TGeoTrd2.h, geom/inc/TGeoTube.h,
geom/inc/TGeoVolume.h, geom/inc/TGeoVoxelFinder.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoBoolCombinator.cxx,
geom/src/TGeoCompositeShape.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoEltu.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoMatrix.cxx, geom/src/TGeoNode.cxx,
geom/src/TGeoPara.cxx, geom/src/TGeoPatternFinder.cxx,
geom/src/TGeoPcon.cxx, geom/src/TGeoPgon.cxx,
geom/src/TGeoShape.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTrd1.cxx, geom/src/TGeoTrd2.cxx,
geom/src/TGeoTube.cxx, geom/src/TGeoVolume.cxx,
geom/src/TGeoVoxelFinder.cxx, geompainter/inc/TGeoChecker.h,
geompainter/inc/TGeoPainter.h, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoPainter.cxx:
New version of the geometry package by Andrea & Mihaela Gheata
New features:
-I/O for all geometry classes. For example, to save/restore a geometry structure,
TFile f("mygeom.root","recreate");
gGeoManager->Write("mygeom");
and to read it back;
TFile f("mygeom.root");
f.Get("myGeom");
gGeoManager->CloseGeometry();
-Composite shapes fully implemented (no visualisation yet).
A composite shape is built out of basic shapes and transformations via
a simple formula mechanism, eg assuming a TGeoTube "tub1" and a TGeoMatrix "r1",
we can build a composite shape with:
TGeoCompositeShape *comp = new TGeoCompositeShape("comp",formula); where
char* formula="tub1+tub1:r1"
This will create the union of a tube with itself rotated.
The operators recognized by the geometry formula parser are "+","-","*"
for union, subtraction and intersection respectively. The colon ":" can be
used to specify a transformation for a given component.
-The voxelisation in cylindrical coordinates added as an optional optimisation
algorithm.
-Some bug fixes and several improvements in the tracking-related algorithms.
2002-09-27 14:15 brun
* hist/src/TH1.cxx:
Fix a problem in TH1::SavePrimitive in case the histogram does not have
a "stats" box.
2002-09-27 14:14 brun
* hist/src/TF1.cxx:
Modify a format in TF1::SavePrimitive
2002-09-27 11:10 rdm
* build/package/rpm/: libroot.spec.in, root-cint.spec.in,
root-daemon.spec.in:
correct some problems with prefix handling. By Christian Holm.
2002-09-26 21:13 brun
* base/inc/Rtypes.h:
This patch from Philippe implements a ClassImpUnique for class template.
2002-09-25 23:06 brun
* treeplayer/src/TTreePlayer.cxx:
Add support for additional Tree use cases in TTreePlayer::MakeClass
2002-09-25 18:15 brun
* gpad/src/TPad.cxx:
Modify TPad::PaintModified to support the new date formats that can be
specified by TStyle::SetOptDate
2002-09-25 18:13 brun
* base/src/TStyle.cxx:
Add new options in TStyle::SetOptDate to support several date formats.
void TStyle::SetOptDate(Int_t optdate)
// if optdate is non null, the current date/time will be printed in the canvas.
// The position of the date string can be controlled by:
// optdate = 10*format + mode
// mode = 1 (default) date is printed in the bottom/left corner.
// mode = 2 date is printed in the bottom/right corner.
// mode = 3 date is printed in the top/right corner.
// format = 0 (default) date has the format like: "Wed Sep 25 17:10:35 2002"
// format = 1 date has the format like: "2002-09-25"
// format = 2 date has the format like: "2002-09-25 17:10:35"
//
// examples:
// optdate = 1 date like "Wed Sep 25 17:10:35 2002" in the bottom/left corner.
// optdate = 13 date like "2002-09-25" in the top/right corner.
2002-09-25 17:07 brun
* build/unix/makelib.sh:
Introduce changes in the macosx part suggested by Mayly Sanchez
in order to install Root under macosx with gcc3
2002-09-25 15:13 brun
* cint/inc/G__ci.h:
#define G__OLDIMPLEMENTATION1695
as suggested by Masa to circumvent an optimization bug.
2002-09-25 14:39 brun
* cint/Module.mk:
Use gcc3strm instead of libstrm for macosx
2002-09-25 11:37 rdm
* cint/: inc/G__ci.h, inc/global.h, include/_iostream,
lib/dll_stl/vec.h, lib/prec_stl/deque, lib/prec_stl/iterator,
lib/prec_stl/vector, lib/pthread/Makefile, src/Api.cxx,
src/CallFunc.cxx, src/Method.cxx, src/decl.c, src/disp.c,
src/end.c, src/expr.c, src/func.c, src/g__cfunc.c, src/global2.c,
src/ifunc.c, src/inherit.c, src/init.c, src/loadfile.c,
src/newlink.c, src/parse.c, src/pause.c, src/scrupto.c,
src/sizeof.c, src/struct.c, src/tmplt.c, src/typedef.c, src/var.c,
stl/_iterator.h, stl/_string:
import of CINT 5.15.58.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
iostream redirect mod (G__OLDIMPLEMENTATION1635) still disabled.
2002-09-23 20:24 brun
* utils/src/rootcint.cxx:
Additions by Philippe to support C-structs in the generated code
for I/O.
2002-09-23 19:06 brun
* gpad/src/TPad.cxx:
Add a protection in TPad::PaintModified in case a user-derived TPad
does not create the TList of primitives.
2002-09-21 23:59 brun
* treeplayer/: inc/TPacketGenerator.h, src/TPacketGenerator.cxx:
Remove unused class TPacketGenerator
2002-09-21 23:58 brun
* tree/inc/TVirtualTreePlayer.h, treeplayer/inc/LinkDef.h,
treeplayer/inc/TTreePlayer.h, treeplayer/src/TTreePlayer.cxx:
Remove references to TPacketGenerator from TVirtualTreePlayer and TTreePlayer.
These unused references required linking with libProof.
2002-09-21 22:46 brun
* base/inc/TBuffer.h, cint/inc/G__ci.h:
Include <typeinfo> only for gcc on Solaris
2002-09-21 10:12 brun
* base/inc/TBuffer.h:
Patch from Pat Welch/Eddy Offermann.
#include <typeinfo> is required by solarisgcc
2002-09-19 15:59 rdm
* base/inc/TVirtualProof.h, proof/inc/TProof.h,
proof/inc/TProofDebug.h, proof/src/TPacketizer2.cxx,
proof/src/TProof.cxx, proof/src/TProofServ.cxx:
propagate in addition to loglevel also logmask via SetLogLevel(), default
mask is TProofDebug::kAll. Use PDB macro everywhere instead of fLogLevel
(which is now the same as gProofDebugLevel).
2002-09-19 15:56 rdm
* cint/src/inherit.c:
don't print warning when analysis class derives from TSelector.
2002-09-19 15:54 rdm
* base/src/TROOT.cxx, tree/src/TVirtualTreePlayer.cxx:
proof and treeplayer don't depend on each other anymore, no need to load them
both at the same time.
2002-09-19 15:54 rdm
* base/src/TApplication.cxx:
CreateApplication() now does not force anymore the loading of the graphics
libs since the default application is created in batch mode.
2002-09-18 15:33 brun
* hist/src/TProfile.cxx:
Add a warning message in TProfile::Divide.
The computation of errors is not correct in this function.
Expert help required.
The warning indicates an alternative solution.
2002-09-18 15:12 rdm
* base/inc/TBrowser.h, gpad/inc/TCanvas.h, gpad/inc/TControlBar.h,
gpad/src/TCanvas.cxx, gui/inc/TRootBrowser.h,
gui/inc/TRootCanvas.h, gui/inc/TRootControlBar.h,
gui/src/TRootBrowser.cxx, gui/src/TRootCanvas.cxx,
gui/src/TRootControlBar.cxx:
better closing strategy for the canvas, browser and controlbar. No need anymore
for the DetachImp() method (which has been removed).
2002-09-18 14:22 rdm
* gui/src/TGColorDialog.cxx, gui/src/TGFileDialog.cxx,
gui/src/TGMsgBox.cxx, gui/src/TGTextEditDialogs.cxx,
gui/src/TRootBrowser.cxx, gui/src/TRootCanvas.cxx,
gui/src/TRootControlBar.cxx, gui/src/TRootHelpDialog.cxx,
test/guitest.cxx:
use DeleteWindow() instead of "delete this" to close and delete the widget.
2002-09-18 14:21 rdm
* base/inc/TBrowser.h, gpad/inc/TCanvas.h, gpad/inc/TControlBar.h:
add an inline GUI detach method. This method is used in the actual
GUI implementation (TRootBrowser et al) to detach the GUI from the object
to avoid the when the object is deleted it will also delete the GUI.
The GUI itself will be deleted via the new TGFrame::DeleteWindow() method.
2002-09-18 14:13 rdm
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
added two new methods to solve window closing problem seen on several
platforms: DeleteWindow(), this method should be called instead of
"delete this" to close and delete a widget. See guitest.cxx as axample.
The second new method ReallyDelete() is called via a single shot timer
setup in DeleteWindow(). It is a slot method which should be "protected",
but due to a current CINT problem with making protected methods visible this
is not yet done.
2002-09-17 17:17 rdm
* cint/src/CallFunc.cxx:
break statement was in wrong location, breaking loop to soon.
2002-09-17 16:38 brun
* utils/src/rootcint.cxx:
Patch from Philippe fixing a problem preventing a correct generation of TBenchDict.cxx
2002-09-17 16:38 rdm
* base/src/TPluginManager.cxx, cint/src/CallFunc.cxx:
allow correct handling of default arguments.
2002-09-17 16:23 brun
* mc/inc/TVirtualMC.h:
Remove enum TMCGeomType and the function GetGeomType
2002-09-17 12:14 rdm
* proof/src/TEventIter.cxx:
call TSelector::Notify() when switching to a new file in the TEventIter.
By Maarten.
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.