ROOT version 3.01 Release Notes
2001-08-25 09:48 brun
* base/inc/RVersion.h, build/version_number:
Move to version 3.02/00
2001-08-24 18:45 brun
* tree/src/TBranchElement.cxx:
Forgot to delete a printf statement.
2001-08-24 18:43 brun
* tree/src/TBranchElement.cxx:
Fix a bug in TBranchElement constructor. When a branch is in split=1 and
the fStreamerType=0 (case of a base class), the array fEntryOffset must be created
because the base class may have variable length structures.
The consequence of this bug was events corrupted in the buffer.
Thanks to Christian Holm Christensen for reporting a real life example.
2001-08-24 18:42 rdm
* Makefile, configure, config/Makefile.in:
handle new sapdb module.
2001-08-24 18:41 rdm
* sapdb/: Module.mk, inc/LinkDef.h, inc/TSapDBResult.h,
inc/TSapDBRow.h, inc/TSapDBServer.h, src/TSapDBResult.cxx,
src/TSapDBRow.cxx, src/TSapDBServer.cxx:
SQL interface to SAP DB (http://www.sapdb.org/). SAP DB is an open source
(GPL) RDBMS that provides full DB functionality and can be easily used
instead of Oracle. These classes are based on the ODBC call interface
and are provided by Mark Hemberger (Marc.Hemberger@realtech.de).
SAP DB is an open, SQL-based, relational database system that provides
high availability and performance scaling from small to very large
implementations. In addition, SAP DB goes beyond relational database
technology by offering object orientation as well as support for managing
unstructured data. It supports open standards including SQL, JDBC and ODBC;
access from Perl and Python; and HTTP-based services with HTML or XML content.
SAP DB (formerly known as ADABAS) has gone Open Source. SAP DB Version
7.3.00 is available for Linux, Windows NT/Windows 2000, Solaris, HP-UX,
Tru64, AIX. For those who don't want to pay for an Oracle-like database
with comparable functionality (and better than MySQL ;-)
2001-08-24 18:34 rdm
* mysql/inc/TMySQLServer.h, mysql/src/TMySQLServer.cxx,
net/src/TSQLServer.cxx, pgsql/inc/TPgSQLRow.h,
pgsql/src/TPgSQLRow.cxx, pgsql/src/TPgSQLServer.cxx:
some corrections in MySQL and PostgreSQL interfaces to make behaviour
compatible.
2001-08-24 08:33 brun
* gpad/src/TPad.cxx:
Fix a problem in TPad::UseCurrentStyle. There was an erroneous call to SetFillColor
instead of SetFillStyle.
2001-08-24 00:12 brun
* hist/src/TH1.cxx:
Add comments in TH1::Fit decribing the fit option "0"
2001-08-24 00:11 brun
* eg/src/TParticle.cxx:
Reimplement TParticle constructor. TObject & TAttLine part were not copied.
2001-08-23 15:41 brun
* graf/src/TGaxis.cxx:
In TGaxis::DrawAxis copy the title and kCenterTitle attribute to the new object.
2001-08-23 11:58 rdm
* test/Makefile.in:
specified erroneously the -soname option for some platforms.
2001-08-22 10:52 rdm
* cint/: inc/G__ci.h, lib/pthread/Makefile, src/fread.c,
src/ifunc.c, src/var.c:
import of CINT 5.15.10.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-08-22 10:43 rdm
* test/guiviewer.cxx:
remove some compiler warnings.
2001-08-22 09:33 brun
* minuit/src/TMinuit.cxx:
The array fPstar must be created with 2*mni and not just mni words.
The function mneig fills elements up to 2*mni. The bug was in the origibal Minuit code.
Thanks to Wouter Verkerke for finding the problem.
2001-08-21 20:39 rdm
* build/unix/importcint.sh:
copy man pages now to man/man1.
2001-08-21 19:34 rdm
* gui/: inc/TGTextEdit.h, src/TGTextEdit.cxx, src/TGView.cxx:
implemented focus setting and focus event handling like in TGTextEntry.
2001-08-21 19:33 rdm
* gui/: inc/TGTextEntry.h, src/TGTextEntry.cxx:
correction of offset calculation in case of right text alignment.
Improved focus and cursor mangement for enter/leave and focus events.
2001-08-21 19:29 rdm
* base/inc/TVirtualX.h, win32/inc/TGWin32.h, x11/inc/TGX11.h,
x11/src/GX11Gui.cxx:
new method GetInputFocus() to find out which widget has the input focus.
2001-08-17 20:44 rdm
* cont/src/TList.cxx:
small code re-formatting.
2001-08-17 16:40 brun
* tree/src/TTree.cxx:
Minor change in TTree::GetLeaf to avoid a compiler warning.
2001-08-17 16:39 brun
* meta/src/TStreamerInfo.cxx:
Add a protection in TStreamerInfo::GetValue when called with i<0.
This case may happen when trying to click on a non-split branch.
2001-08-17 11:58 brun
* meta/src/TStreamerInfo.cxx:
Add test for fgCanDelete in ReadBuffer and ReadBufferClones.
2001-08-17 09:49 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerInfo.cxx:
Add a new static member fgCanDelete with the corresponding getter/setter
CanDelete and SetCanDelete.
// When this option is activated (default), ReadBuffer automatically
// delete objects when a data member is a pointer to an object.
// If your constructor is not presetting pointers to 0, you must
// call this static function TStreamerInfo::SetCanDelete(kFALSE);
2001-08-17 09:32 brun
* eg/src/TParticlePDG.cxx:
The pointer fAntiParticle was not set in the default constructor.
2001-08-17 09:27 brun
* base/src/TRandom.cxx:
In TRandom destructor, set gRandom=0 if gRandom is the object being deleted.
2001-08-16 18:39 brun
* treeplayer/src/TTreeFormula.cxx:
Modify UpdateFormulaLeaves to call TTree::GetLeaf with the new form branchname/leafname.
This new form is necessary when processing chains with branches having leaf names with the same name.
2001-08-16 18:36 brun
* tree/src/TTree.cxx:
Modify TTree::GetLeaf. The parameter aname may be of the form branchname/leafname.
This new form is necessary in case several branches have one or more leaf names that are the same.
2001-08-15 17:01 brun
* cont/src/TOrdCollection.cxx:
Fix a bug in TOrdCollection::AddBefore. The object was added one element ahead
of the requested position. Thanks to Peter H. L. Christiansen for reporting.
2001-08-15 16:51 brun
* treeplayer/src/TTreePlayer.cxx:
One more optimisation in MakeClass. Do not generate the elements for a base class
since the base class members have already been expanded.
2001-08-15 15:51 rdm
* gui/src/TRootEmbeddedCanvas.cxx:
fCanvas was not initialzed to 0 and add protection in methods against
fCanvas possibly being 0.
2001-08-15 15:31 rdm
* Makefile, configure:
man files are now in man/man1.
2001-08-15 15:30 rdm
* man/man1/: cint.1, g2root.1, h2root.1, makecint.1, proofd.1,
proofserv.1, rmkdepend.1, root-config.1, root.1, root.exe.1,
rootcint.1, rootd.1, rootn.exe.1:
move man files to new subdir man1. This makes it possible to add
$ROOTSYS/man to MANPATH and have "man root" work.
2001-08-15 15:28 rdm
* man/: cint.1, g2root.1, h2root.1, makecint.1, proofd.1,
proofserv.1, rmkdepend.1, root-config.1, root.1, root.exe.1,
rootcint.1, rootd.1, rootn.exe.1:
moved to directory $ROOTSYS/man/man1.
2001-08-15 13:43 rdm
* gui/: inc/TGTextEntry.h, inc/WidgetMessageTypes.h,
src/TGTextEntry.cxx:
add new signal "TabPressed()" (and event TE_TAB). Using this signal one
can easily implement focus changing by connecting the signal to a method
that changes the focus to the next TGTextEntry.
2001-08-15 13:09 brun
* tree/src/TBranchElement.cxx:
Forgot to edit a printf statement.
2001-08-15 13:06 brun
* tree/src/TBranchElement.cxx:
Several changes in SetAddress in case one runs with code generated by TTree::MakeClass.
Set bit kDeleteObject when fClassInfo=0 and a new object is created.
2001-08-15 11:52 brun
* tree/inc/TBranchElement.h:
Add new enum kDeleteObject
2001-08-15 11:49 brun
* meta/src/TStreamerInfo.cxx:
Modify TStreamerInfo::GenerateHeaderFile to generate the code for
the constructor/destructors to preset pointers.
2001-08-15 11:47 brun
* treeplayer/src/TTreePlayer.cxx:
Implement support for MakeClass for the new branches TBranchElement.
2001-08-14 10:30 brun
* tree/src/TChain.cxx:
In TChain::Add, allocate more space to the local string used to store
the current directory. File names (eg with AFS) may be very long.
2001-08-14 09:53 brun
* treeplayer/src/TTreeFormula.cxx:
Use TBranchObject::GetClassName instead of GetObjClassName
2001-08-14 08:54 brun
* treeplayer/src/TTreeFormula.cxx:
TTree::Draw was unable to call member function of class inside a TClonesArray
stored in a "top-level" branch. This patches enables it.
Philippe.
2001-08-14 08:49 brun
* histpainter/src/THistPainter.cxx:
Document the option "TEXT" and also the new option "[cutg]" in teh list
of options for drawing 2-D histograms.
2001-08-13 19:24 brun
* meta/src/TStreamerInfo.cxx:
Minor change when deleting the object in case kObjectP.
2001-08-13 19:23 brun
* tree/inc/: TBranch.h, TBranchObject.h:
Add new function GetClassName (was alraedy in TBranchElement).
2001-08-13 17:22 rdm
* cint/lib/: dll_stl/Makedeque, dll_stl/Makelist, dll_stl/Makemap,
dll_stl/Makemap2, dll_stl/Makemmap, dll_stl/Makemmap2,
dll_stl/Makemset, dll_stl/Makeset, dll_stl/Makestr,
dll_stl/Makevec, stdstrct/stdcxxfunc.h:
new files also part of CINT 5.15.09. The Make* files are for pure CINT use
only. In ROOT context use make cintdlls to build the dll's.
2001-08-13 17:19 rdm
* Makefile, build/unix/makecintdlls.sh, cint/inc/G__ci.h,
cint/inc/fproto.h, cint/inc/global.h, cint/include/cmath,
cint/lib/posix/posix.h, cint/lib/prec_stl/numeric,
cint/lib/stdstrct/setup, cint/lib/stdstrct/setup.bat,
cint/lib/stdstrct/setupbc.bat, cint/src/error.c, cint/src/func.c,
cint/src/g__cfunc.c, cint/src/global2.c, cint/src/loadfile.c,
cint/src/pcode.c, cint/src/struct.c:
import of CINT 5.15.09.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-08-13 11:15 brun
* meta/src/TStreamerInfo.cxx:
In ReadBuffer and ReadBufferClones, delete the TObject* in case of kObjectP.
The delete is via pointer->Delete() and not delete pointer to take into account
the case of possible TCollection. This may have some side effects in case
a user destructor doest not preset to 0 the pointer.
2001-08-13 10:54 brun
* tree/src/TTree.cxx:
Add a few comments to teh description of TTree::Draw explaining how to access
the resulting histogram.
2001-08-13 10:24 brun
* graf/src/TLegend.cxx:
In PaintPrimitives, fix a problem when the pad range is smaller than 1.
2001-08-13 10:22 brun
* histpainter/src/THistPainter.cxx:
Optimize size and end position of error bars around the symbol
in case of assymetric pads in THistPainter::PaintErrors.
2001-08-12 11:00 brun
* tree/: inc/LinkDef.h, inc/TNtupleD.h, src/TNtupleD.cxx:
Add new class TNtupleD, a variant of TNtuple for variables of type Double_t
2001-08-11 10:27 brun
* tree/src/TChain.cxx:
In the TChain destructor, do not delete fFile. The file will be delete by fFiles->Delete().
fFile might have been deleted already in some cases, eg by the code generated by MakeClass
when the objects are created on the stack.
2001-08-10 15:44 brun
* treeplayer/src/TTreeFormula.cxx:
In the TFormLeafInfoClones constructor declaration, replace bool by Bool_t
2001-08-10 15:37 brun
* histpainter/src/THistPainter.cxx:
Fix a problem in THistPainter::PaintErrors in case of the default symbol=1.
2001-08-10 14:08 rdm
* utils/src/rootcint.cxx:
support argument -h to get help (the old -? is also still valid).
2001-08-10 14:07 rdm
* cint/iosenum/iosenum.linuxrh51, config/Makefile.linuxrh51:
were the former iosenum.linux and Makefile.linux.
2001-08-10 14:06 rdm
* cint/iosenum/iosenum.linuxegcs, config/Makefile.linuxegcs:
moved to iosenum.linux and Makefile.linux. The linuxegcs version has been
renamed to iosenum.linuxrh51 and Makefile.linuxrh51.
2001-08-10 14:04 rdm
* configure, cint/iosenum/iosenum.linux, config/ARCHS,
config/Makefile.linux, config/root-config.in, test/Makefile.in:
change linuxegcs to linux. The former linux becomes linuxrh51. The
configure script still recognizes linuxegcs and replaces it with linux.
This makes more sense since linuxegcs also had to be used for gcc 2.95,
2.96 and 3.0.
2001-08-10 12:07 brun
* tree/src/: TBranchElement.cxx, TTree.cxx:
When the StreamerInfo is forced in non-optimzed mode during the creation of a branch,
one must restore the previous optimization status once the branch is created.
Instead of restoring with the flag kTRUE, the previous optimization status is restored.
2001-08-10 12:03 brun
* cont/src/TClonesArray.cxx:
Add more documentation to TClonesArray::BypassStreamer.
// When the kBypassStreamer bit is set, the automatically
// generated Streamer can call directly TClass::WriteBuffer.
// Bypassing the Streamer improves the performance when writing/reading
// the objects in the TClonesArray. However there is a drawback:
// When a TClonesArray is written with split=0 bypassing the Streamer,
// the StreamerInfo of the class in the array being optimized,
// one cannot use later the TClonesArray with split>0. For example,
// there is a problem with the following scenario:
// 1- a class Foo has a TClonesArray of Bar objects
// 2- the Foo object is written with split=0 to Tree T1.
// In this case the StreamerInfo for the class Bar is created
// in optimized mode in such a way that data members of the same type
// are written as an array improving the I/O performance.
// 3- in a new program, T1 is read and a new Tree T2 is created
// with the object Foo in split>1
// 4- When the T2 branch is created, the StreamerInfo for the class Bar
// is created with no optimization (mandatory for the split mode).
// The optimized Bar StreamerInfo is going to be used to read
// the TClonesArray in T1. The result will be Bar objects with
// data member values not in the right sequence.
// The solution to this problem is to call BypassStreamer(kFALSE)
// for the TClonesArray. In this case, the normal Bar::Streamer function
// will be called. The BAR::Streamer function works OK independently
// if the Bar StreamerInfo had been generated in optimized mode or not.
2001-08-09 12:13 brun
* tree/src/TBranchElement.cxx:
Modify TBranchElement::SetAddress to take into account cases such as:
class test : public TLorentzVector
whent splitlevel > 2
2001-08-08 17:23 brun
* gpad/: inc/TDialogCanvas.h, src/TDialogCanvas.cxx:
Add a new constructor with arguments to specify the top canvas position.
2001-08-08 09:20 brun
* hist/inc/: TH2.h, TH3.h:
Modify the default arguments in TH2::ProfileX,Y, ProjectionX,Y and TH3::ProjectionZ.
2001-08-08 09:18 brun
* hist/src/TH3.cxx:
Modify the default arguments in TH3::ProjectionZ.
With the new convention, the projection does not include the under/overflow
bins.
2001-08-08 09:17 brun
* hist/src/TH2.cxx:
Modify the default arguments in TH2::ProfileX,Y, ProjectionX,Y.
With the new convention, the projection does not include the under/overflow
bins.
When all bins are included, the number of entries in the projection
is set to the number of entries of the 2-D histogram, otherwise
the number of entries is incremented by 1 for all non empty cells.
2001-08-08 08:29 brun
* tree/inc/TBranchObject.h, treeplayer/src/TTreeFormula.cxx:
from Philippe:
This is the code to implement casting in TTree::Draw
2001-08-08 08:24 brun
* base/src/TDirectory.cxx:
This patch from Philippe enables TChains to load (via Add) trees that are stored in directory
of the same name as themselves.
2001-08-07 16:03 brun
* minuit/src/TMinuit.cxx:
Fixed a remaining problem in TMinuit::mnwarn when printing the list of messages.
2001-08-07 15:44 brun
* gpad/: inc/TDrawPanelHist.h, inc/TFitPanel.h,
src/TDrawPanelHist.cxx, src/TFitPanel.cxx:
Add the FitPanel and Drawpanel to the gROOT->GetListOfCleanups.
When the referenced object is deleted the corresponding pointer is reset
in the panel objects.
Implement the functions RecusrsiveRemove in the two classes.
2001-08-07 14:27 brun
* minuit/src/TMinuit.cxx:
Correct a print statement in TMinuit::mnwarn. a "%S" was missing.
Thanks to Marco van Leeuwen for reporting the problem.
2001-08-07 09:05 brun
* gpad/src/TPad.cxx:
Print an error message in case a TPad is created before a TCanvas.
2001-08-07 08:52 brun
* net/src/TNetFile.cxx:
In case of an invalid URL, fSocket was not initialized to 0, giving a crash
when the TNetFile destructor was called
2001-08-07 08:45 brun
* meta/src/TStreamerInfo.cxx, treeplayer/src/TTreeFormula.cxx,
treeplayer/src/TTreePlayer.cxx:
This patch (Philippe) allows TTreeFormula to properly handle objects inside
an object stored in a TClonesArray. For example in Event, if Track
contains a point to an Histogram fH, now you can do
T->Draw("fTracks.fH.GetMean()");
2001-08-03 16:07 rdm
* tree/src/TChain.cxx:
change NULL to 0.
2001-08-03 16:07 rdm
* x11/src/TGX11.cxx:
in SetColor() always call SetRGB(). In SetRGB() check if rgb value is
the same, if not recalculate pixel value (or re-alloc color if planes<15).
Before, once defined, a color pixel value would never be recalculated.
2001-08-03 13:53 brun
* tree/src/TChain.cxx:
Fix by Andre Holzner to support wildcarding and the option with a treename
in TChain::Add.
2001-08-03 13:25 brun
* treeplayer/src/TTreePlayer.cxx:
Add support for TProfile2D by Philippe
2001-08-03 13:24 brun
* star/src/TFileIter.cxx:
Fix a bug by Valery
2001-08-02 17:28 rdm
* tree/src/TBranchElement.cxx:
change by Philippe to handle embedded TClonesArray objects (pointers to
TClonesArrays were already supported).
2001-08-01 19:35 rdm
* test/guitest.cxx:
the TileFrame class now only handles the buttons 4 and 5 used for the
wheel mouse. All other button events are passed to embedded widgets.
2001-08-01 17:13 rdm
* gpad/src/: TDrawPanelHist.cxx, TFitPanel.cxx:
due to a bug in the ExecuteEvent() of the TFitPanel and TDrawPanelHist
classes the associated canvas was being put in FeedBackMode, which means
double buffering was turned off and exposure events were not correctly
updating the canvas anymore.
2001-07-31 16:55 rdm
* utils/src/rootcint.cxx:
add include for getpid() on WIN32.
2001-07-31 15:08 rdm
* utils/src/rootcint.cxx:
each instance of rootcint generates a unique G__autoLinkDef.h file. This
allows rootcint to be run in parallel during a parallel make. The unique
file is generated using the G__auto%dLinkDef.h template and the pid.
2001-07-30 16:29 rdm
* cint/: inc/G__ci.h, include/ReadF.C, include/ReadF.cxx,
include/ReadF.h, include/_complex.h, include/arrayiostream.h,
include/complex.h, lib/gl/TOP.h, main/G__setup.c, src/scrupto.c,
src/var.c:
import of CINT 5.15.08.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-07-28 09:33 brun
* g3d/src/TPolyMarker3D.cxx:
Minor fix in TPolyMarker3D::Streamer when reading an object with 0 points.
In this case fLastPoint must be set to -1.
2001-07-28 09:28 brun
* treeplayer/src/TTreeFormula.cxx:
Fix from Philippe:
There was a small memory leak in TTreeFormula when drawing
TClonesArray inside a non-split object.
2001-07-27 15:12 rdm
* base/src/TROOT.cxx:
add gROOT->fList, the TROOT in memory directory, to the list of folders so
the directory becomes browsable.
2001-07-26 18:26 rdm
* build/unix/makelib.sh, config/Makefile.alphakcc:
fixes for Alpha KCC (especially same mega libCore link trick as for cxx6).
2001-07-26 18:10 rdm
* gui/src/TGLayout.cxx:
nasty problem where a heigh (UInt_t) became negative and thus very
large positive. Was visible in TGShutter when reducing the main window
to minimal size.
2001-07-25 11:59 rdm
* eg/inc/cfortran.h:
use latest cfortran from DESY. Added and clearly marked ROOT related
changes. Forwarded changes to Burkard for future inclusion in his official
cfortran.h.
2001-07-23 19:27 rdm
* base/inc/RConfig.h:
added case for Intel Itanium ECC compiler.
2001-07-20 23:05 brun
* graf/src/TGraphAsymmErrors.cxx, graf/src/TGraphErrors.cxx,
histpainter/src/THistPainter.cxx, postscript/src/TPostScript.cxx:
Optimize size of error bars/error bar separators in case of small pads
or very assymetric pads. Take into account aspect ratio when computing
the marker size in TPostScript.
2001-07-20 19:54 rdm
* cint/Module.mk, config/ARCHS, config/Makefile.linuxia64ecc,
config/Makefile.linuxia64sgi, config/root-config.in,
test/Makefile.in:
support for Intel's ecc compiler for Itanium.
2001-07-20 18:29 brun
* tutorials/fit2a.C:
Add a new tutorial illustrating how to superimpose a fitted function
in a sub-range of a 2-d histogram
2001-07-20 15:49 brun
* histpainter/: inc/THistPainter.h, src/THistPainter.cxx,
src/TLego.cxx:
The THistPainter and TLego classes have been extended with
new functions to draw selected regions of a 2-d histogram.
One can create one or more graphical cuts (TCutG objects)
and specify this (these) cuts in option string of the Draw
function. Example, assuming two graphical cuts with name
"cut1" and "cut2", one can do:
h1.Draw("lego");
h2.Draw("[cut1,-cut2],surf,same");
The second Draw will superimpose on top of the first lego plot
a subset of h2 using the "surf" option with:
-all the bins inside cut1
-all the bins outside cut2
Up to 16 cuts may be specified in the cut string delimited by "[..]"
Currently only the following drawing options are sensitive to
the cuts option: col, box, scat, hist, lego, surf and cartesian
coordinates only.
A set of new functions has been added in THistPainter:
virtual Bool_t IsInside(Int_t x, Int_t y);
virtual Bool_t IsInside(Double_t x, Double_t y);
virtual Int_t MakeCuts(char *cutsopt);
The MakeCuts function is called by THistPainter::MakeChopt to fill
the new THistpainter data members: fNcuts, fCutsOpt and fCuts.
The functions IsInside are called by the THistpainter functions
or the TLego functions.
2001-07-19 21:46 brun
* tutorials/htest.C:
Add a new tutorial illustrating how to save histograms in Tree branches.
//To run this example, do
// root > .L htest.C
// root > htw()
// root > htr1()
// root > htr2()
// root > htr3()
2001-07-19 19:12 brun
* graf/src/TGraph.cxx, hist/inc/TF1.h, hist/inc/TF2.h,
hist/src/TF1.cxx, hist/src/TF2.cxx, hist/src/TH1.cxx:
When a TF2 was created with an interpreted or compiled function,
it was not possible to save the TF2 object in a file and read it
in a separate program because TF2 does not save the code of the
interpreted function. Only TF2s created with inline expressions
could be paint in a separate session.
In TF1, we already had the logic to save an array fSave with
the function values created at fNpx points. TF2 has been modified
to provide the same functionality. One can save a TF2 and draw it
again in a new session.
To implement this feature, the signature of the function TF1::Save
has been modified to be general for 1,2 and 3-d functions.
The classes TH1 and TGraph where TF1::Save was called have been
modified accordingly.
2001-07-19 18:42 brun
* tree/src/TLeafObject.cxx:
Fix a problem found by Philippe when reading branches for which the pointer
is virtual. In this case, we had already the logic (via fVirtual) to save the real name
of the class, but this name was not used to call the default constructor.
2001-07-19 12:41 brun
* tree/src/TBranchElement.cxx:
In TBranchElement::GetEntry, one must always read the branch holding the TClonesArray counter.
In case one reads twice the same branch, the user may have cleared the TClonesArray
between the two calls.
2001-07-19 10:59 brun
* tree/src/TTree.cxx:
Minor change in the hasCustomStreamer selection.
2001-07-18 18:12 brun
* tree/src/TTree.cxx:
In TTree::Bronch activate HasCustomStreamer using the rootflag information from CINT.
With this mod, users do not have to specify anymore split=-1 to force a call
to their Streamer. split=0 is OK.
2001-07-18 18:01 rdm
* test/Tetris.cxx:
fFilledLines was not initialized. Found on MacOS X by Keisuke Fujii.
2001-07-18 18:00 rdm
* test/Makefile.in:
fixes for MacOS X by Keisuke Fujii.
2001-07-18 17:47 rdm
* unix/src/TUnixSystem.cxx:
set SA_RESTART flag in sigaction. This should allow interruped system
calls (e.g. interrupted by SIGCHLD) to be restarted. Fix by Jiri Masik.
2001-07-17 22:22 brun
* tutorials/hadd.C:
Remove the statement calling the TROOT constructor.
2001-07-17 22:11 brun
* hist/src/TFormula.cxx:
TFormula::Copy was not correct. The function static parameters such as MAXPAR
that are only defined in the first pass to TFormula::Compile.
2001-07-17 16:38 brun
* thread/src/TThread.cxx:
Proposed by Mathieu de Naurois: a new option kMETH in TThread::Xaction.
A function may be executed by the main Thread via a TMethodCall.
Example of use:
void DaqRead::CanvasManager::Update()
{
// We made the update occur in the Main Thread
// to avoid dead lock with mouse/pad action
// which can lock the DaqRead::CanvasManager::mutex
if (gThreadXAR) {
TMethodCall c(IsA(),"Update","");
void *arr[4];
arr[1] = &c;
arr[2] = (void *)this;
arr[3] = (void*)"";
if ((*gThreadXAR)("METH", 4, arr, NULL)) return;
}
mutex.Lock();
Emit("Update()");
mutex.UnLock();
}
2001-07-17 12:29 brun
* tree/: inc/TBranchElement.h, src/TBranchElement.cxx:
Replace last unused argument of TBranchElement by the argument btype.
This argument is set when Unrolling a class and is used by the TBranchElement
constructor to build or not the array fEntryOffset.
This array does not need to be built in case one branch contains only basic types.
This may save a considerable space on disk for simple Tree configurations.
2001-07-17 11:10 rdm
* tutorials/greyscale.C:
new tutorial showing the use of TColor::GetColor() and how to set a pad
to the exact same color as the GUI.
2001-07-17 11:09 rdm
* gpad/src/TPad.cxx:
in case pad fill color is > 50 we have to create new dark and light
colors for the border (i.e. color+100 and color+150 is not valid).
2001-07-17 11:07 rdm
* base/src/TApplication.cxx, histpainter/src/THistPainter.cxx:
changes due to TColor::HLStoRGB() and TColor::TGBtoHLS() now being static.
2001-07-17 11:06 rdm
* base/: inc/TColor.h, src/TColor.cxx:
added three new static methods:
TColor::GetColor(Int_t r, Int_t g, Int_t b) with r,g,b in range [0,255]
TColor::GetColor(Float_t r, Float_t g, Float_t b) with r,g,b in range [0,1]
TColor::GetColor(const char *hexcolor) with hexcolor of form "#rrggbb"
these methods try to find the color with the specified rgb value in the
list of existing colors, if the color does not exist it will create a
new TColor with the name "#rrggbb", add it to the global list of colors
and return the color number.
Also made the methods HLStoRGB() and RGBtoHLS() static.
2001-07-16 23:10 brun
* treeplayer/src/TTreeFormula.cxx:
Several protections in case of ill-defined TTreeFormula.
2001-07-16 23:09 brun
* treeplayer/src/TTreePlayer.cxx:
In TTreePlayer::Scan, do not show parent branches
2001-07-16 19:30 rdm
* Makefile, configure:
if the configure script finds a .a file for an auxilary library, then
don't set the libdir for the library but provide the full pathname in
the lib variable.
2001-07-16 12:11 rdm
* cint/src/debug.c:
fix compiler warning about result being not initialized before being used.
2001-07-15 20:01 rdm
* test/: Tetris.cxx, Tetris.h:
turn on again keyboard AutoRepeat in tetris dtor.
2001-07-15 19:59 rdm
* test/README:
describe files for new DrawTest test suite.
2001-07-15 19:58 rdm
* cint/: inc/G__ci.h, src/init.c, src/newlink.c, src/shl.c,
src/struct.c:
import of CINT 5.15.07.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-07-15 18:36 rdm
* Makefile, configure:
avoid -I/usr/include from appearing in any compile statement (since it is
redundant and can confuse the new gcc v3 in searching for system includes).
2001-07-13 16:57 brun
* treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch of TTreeFormula enables TCutG to work even when applied
to a chain. As for the other tree formulas the TCutG's formulas need
to be updated for each member of the chain.
2001-07-13 15:30 brun
* cint/src/kccstrm.cxx:
New version of kccstrm from Philippe:
The following patch of kccstrm.cxx allows for rootcint to properly understand
std::list<std::string>.
2001-07-13 11:02 brun
* physics/src/TRotation.cxx:
Fix a typo in the documentation of TRotation (thanks
Daniel Neville for reporting)
2001-07-12 21:13 brun
* hist/src/TH1.cxx:
Improve TH1::SmoothArray to not generate negative bins if original contents
are positive.
2001-07-12 19:29 rdm
* cont/: inc/TObjArray.h, src/TObjArray.cxx:
allow -2 as argument to SetLast(). This will force the TObjArray to
recalculate the real fLast next time it needs it (via GetAbsLast()).
2001-07-12 19:21 brun
* treeplayer/src/TTreeFormula.cxx:
Fix from Philippe in TTreeFormula. The output of TTree::Scan
was not accurate when readind beyond the array boundaries.
2001-07-12 19:18 brun
* meta/src/TStreamerElement.cxx:
Change dimensions of some internal arrays. The previous dimension
was preventing large dimensions in STL array declarations.
Use kMaxLen instead of hardwired numbers.
2001-07-11 18:49 brun
* treeviewer/src/TTreeViewerOld.cxx:
fEditable must be set to kTRUE in BuildInterface.
2001-07-11 09:01 brun
* star/inc/TGenericTable.h:
Remove unseen characters
2001-07-11 08:46 brun
* star/: inc/LinkDef.h, inc/TFileIter.h, inc/TFileSet.h,
inc/TGenericTable.h, inc/TTable.h, inc/TTableDescriptor.h,
inc/Ttypes.h, src/TFileIter.cxx, src/TGenericTable.cxx,
src/TTable.cxx, src/TTableDescriptor.cxx:
New version of the Star classes from Valery.
2001-07-11 08:22 brun
* test/RunDrawTest.sh:
Forgot to remove this file
2001-07-11 08:18 brun
* test/: DrawTest.C, DrawTest.sh, MakeFiles.sh, MakeRef.C,
RunDrawTest.C, dt_DrawTest.C, dt_MakeFiles.sh, dt_MakeRef.C,
dt_RunDrawTest.C, dt_RunDrawTest.sh:
Rename files in the DrawTest suite to dt_xxx
2001-07-10 22:22 brun
* test/DrawTest.C:
Replace non portable type bool by Bool_t
2001-07-10 22:00 brun
* test/MakeFiles.sh:
Remove option -xf (generating garbage in xterm on AIX)
2001-07-10 21:58 brun
* meta/src/TStreamerInfo.cxx:
Small correction in the algorithm forcing the alignment on word boundaries.
Do not align basic types, only objects and pointers. Aligning basic types had a side effect
for TClonesArray where an implicit assumption is made that members may be contiguous.
With this fix, DrawTest works on Alpha.
2001-07-10 18:59 brun
* histpainter/src/THistPainter.cxx:
Remove optimization for cases when one bin is less than one pixel for 2-d histograms
in THistPainter::GetObjectInfo
2001-07-10 18:17 brun
* base/src/TFolder.cxx:
Add some protections in case a folder has been created via the default constructor.
Add a comment in the default constructor to indicate the normal procedure to create a folder
using TFolder::AddFolder.
2001-07-10 18:09 brun
* tree/src/TBranch.cxx:
In GetEntryExport comment the line "if (fReadEntry == entry) return 1"
2001-07-10 16:51 brun
* cint/src/shl.c:
The pointer G__initpermanentsl must be preset to null begore invoking G__dlopen.
Otherwise, "permanent" shared libs loaded after a library being reloaded have
their class definition lost.
2001-07-10 10:13 brun
* test/MakeRef.C:
Use form gSystem->Load("libEvent")
2001-07-10 10:09 brun
* test/RunDrawTest.C:
Use the form gSystem->Load("libEvent")
instead of gROOT->ProcessLine(".L libEvent.so")
2001-07-10 08:40 brun
* base/inc/RVersion.h, build/version_number:
Increment version number in view of the consolidation release
2001-07-10 08:21 brun
* tree/inc/TSelector.h:
An #include "TString.h" was missing in TSelector.h
2001-07-09 23:41 brun
* meta/src/TStreamerInfo.cxx:
When running in Fake class mode, always align data members to a word boundary
to avoid mis-aligned access (eg on Alpha) when computing addresses of members
that are pointers.
Modify TStreamerInfo::ComputeSize. The class size is taken as the offset of
the last member + the last member size.
This new algorithm is faster and also takes into account the word alignment
of data members.
2001-07-09 22:38 brun
* test/MakeFiles.sh:
Changes to take into account the new convention for split in MainEvent
2001-07-09 22:38 brun
* test/MainEvent.cxx:
From Philippe: The following convention is now used for split:
// if split = 0 only one single branch is created and the complete event
// is serialized in one single buffer.
// if split = -2 the event is split using the old TBranchObject mechanism
// if split = -1 the event is streamed using the old TBranchObject mechanism
// if split > 0 the event is split ising the new TBranchElement mechanism.
2001-07-09 22:30 brun
* hist/src/TProfile.cxx:
Modify TProfile::ProjectionX to support Profiles with variable bin size.
2001-07-09 19:20 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Add new function TF1::ReleaseParameter(Int_t par)
2001-07-09 15:48 rdm
* base/src/TApplication.cxx:
put message telling default application has been created behind gDebug.
2001-07-09 15:47 rdm
* base/src/TSystem.cxx:
add warning message when more than one TSystem object is created.
2001-07-09 14:58 rdm
* cint/src/: newlink.c, struct.c:
direct calling of setup functions as soon as a dictionary gets loaded.
2001-07-09 12:58 brun
* tutorials/PhaseSpace.C:
New tutorial illustrating the use of the class TGenPhaseSpace by
Valerio Filippini.
2001-07-09 12:57 brun
* physics/src/TGenPhaseSpace.cxx:
Add a comment pointing to the example $ROOTSYS/PhaseSpace.C
2001-07-09 09:47 brun
* meta/src/TCint.cxx:
Add option +V when calling cint in ResetAll.
Using this option, the comments in the data member declarations are available
in TDataMember.
2001-07-09 09:01 brun
* win32/: inc/TWin32Application.h, src/TGWin32Marker.cxx,
src/TWin32Application.cxx:
From valery:
Remove some unused functions.
Some members not initialized.
2001-07-09 02:57 rdm
* meta/src/TClass.cxx:
correct some indentations.
2001-07-09 02:56 rdm
* base/src/TROOT.cxx:
use kTRUE instead of 1.
2001-07-09 02:55 rdm
* cint/: inc/G__ci.h, inc/fproto.h, lib/pthread/Makefile,
src/auxu.c, src/disp.c, src/end.c, src/expr.c, src/func.c,
src/ifunc.c, src/init.c, src/loadfile.c, src/newlink.c,
src/pcode.c, src/shl.c, src/tmplt.c, src/typedef.c:
import of CINT 5.15.06.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-07-06 15:22 brun
* base/: inc/TFolder.h, src/TFolder.cxx:
Add new function TFolder::saveAs(cont char* filename)
// Save all objects in this folder in filename
// Each object in this folder will have a key in the file where the name of
// the key will be the name of teh object.
2001-07-06 15:21 brun
* tutorials/staff.C:
Add comments to shown an alternative technique to build the branch.
2001-07-06 09:36 brun
* README/CREDITS:
Add Axel Naumann to the list of contributors
2001-07-06 09:34 brun
* html/: inc/THtml.h, src/THtml.cxx:
Several improvements by Axel Naumann to support namespaces and header/footer.
Quoted from a mail from Axel
"NOTE: I have changed the standard in one case. Please tell me if you want to
reversed. Due to this change all MyClass.html files will contain the "last
changed" date, even if not given in the file (if lastChanged=="", THtml
takes the current date, which in most cases should be a good approximation -
if the file weren't changed one wouldn't regenerate the documentation). See
the attached html file for an example.
To include your own files, e.g. a header, edit e.g.
$ROOTSYS/etc/system.rootrc. Add lines with "Root.Html.Header: <your
filename>". Make sure the file ends with a new line (this is valid for all
files THtml is processing, shall we change that?)!
You can also say "Root.Html.Header: <your filename>+" in which case THtml
will first write its standard header and then the one provided by you (for
the footer it's the other way around, first yours, then the standard)."
2001-07-06 08:26 brun
* test/: DrawTest.C, DrawTest.sh, MakeFiles.sh, MakeRef.C,
RunDrawTest.C, RunDrawTest.sh:
Add new test suite DrawTest developed by Philippe.
To run the test, execute DrawTest.sh.
2001-07-06 08:25 brun
* test/Event.h:
Add new function GetClosestDistance used by the new test suite DrawTest.
2001-07-05 22:17 brun
* meta/: inc/TClass.h, src/TCint.cxx, src/TClass.cxx:
Various fixes by Philippe to fix the case when loading a new shared library
to avoid infinite recursivity.
2001-07-05 18:50 rdm
* cont/inc/TCollection.h:
placed some methods in alphabetical order.
2001-07-05 18:50 rdm
* gui/: inc/TRootBrowser.h, src/TRootBrowser.cxx:
made SetDefaults() public plus added two default arguments iconType and
sortBy. This allows the customization of the browser via the API.
2001-07-05 16:49 rdm
* meta/src/TCint.cxx:
solve recursive calling of G__call_setup_funcs() when loading a shared
library of which some classes are already defined as fake TClass'es.
2001-07-04 19:32 brun
* graf/src/TLatex.cxx:
Minor change to use octal notation to bypass the signed/unsigned problem.
The alpha compiler complained about a char equal to 206.
2001-07-04 19:23 brun
* graf/src/TLatex.cxx:
To be consistent with LateX, #varepsilon replaces the old #epsilon.
The new #epsilon is a new character in the Tlatex table.
varepsilon and epsilon look now identical to the LateX output.
2001-07-04 18:36 brun
* postscript/src/TPostScript.cxx:
Minor change in Initialize. PrintFast called with 6 instead of 5 (one character
was truncated).
2001-07-04 16:17 brun
* postscript/src/TPostScript.cxx:
When closing the ps file, issue a "showpage" instead of "showpage gr".
This solves a problem when viewing Postscript files with ghostview and going forward/backward
in the ps file.
2001-07-04 13:19 brun
* base/src/TApplication.cxx:
fNoLog, fNoLogo and fQuit were not initialized. The initialisation must be done
before invoking GetOptions.
2001-07-04 12:40 brun
* tree/src/TBranchElement.cxx:
Modify SetAddress in case of a TClonesArray branch and the specified address is null.
2001-07-04 11:23 brun
* test/Makefile.in:
Remove the special case for aix5 with LIBPATH
2001-07-04 11:13 brun
* utils/src/rootcint.cxx:
The generation of code in case of STL containers of string was not correct.
It was using a static TString. static has been removed.
2001-07-03 22:15 brun
* treeplayer/src/TTreePlayer.cxx:
Modify the Query, Scan, Principal functions to invoke the TTreeFormula::UpdateFormulaLeaves
function when moving to a new Tree in a TChain.
2001-07-03 18:48 brun
* treeplayer/src/TTreePlayer.cxx:
Several changes in TTreePlayer::CopyTree to support TChains.
The function must update the TTreeFormula used during the selection.
It makes use of the new function TTree::copyAddresses.
2001-07-03 18:46 brun
* tree/: inc/TTree.h, src/TTree.cxx:
Implement new function TTree::CopyAddresses. This new function is used
by TTree::CloneTree and by TTree::CopyTree. It copies the branch addresses
of the current tree to another tree.
2001-07-03 18:17 rdm
* gui/src/TGTextEdit.cxx:
correct segv in case Find Again is selected while Find has not been
called before. Reported by Andreas Zoglauer.
2001-07-03 18:15 rdm
* utils/src/rootcint.cxx:
use "delete [] name" instead "delete name".
2001-07-03 17:38 brun
* tree/src/TBranchElement.cxx:
Add support for case when more than one branch cannot be split at the same level of hierarchy.
2001-07-03 13:07 brun
* tree/src/TBranchElement.cxx:
Modify TBranchElement::Unroll to recover in case a branch cannot be split.
A new branch is created in non-split mode.
This situation may happen when a class inside a class derives from an abstract
base class (eg all TArray classes).
2001-07-03 10:12 brun
* cont/src/: TArrayC.cxx, TArrayD.cxx, TArrayF.cxx, TArrayI.cxx,
TArrayL.cxx, TArrayS.cxx:
Modify the Streamer function of all TArray classes (read part).
Replace the call to the old TBuffer::ReadArray by ReadFastArray
and take into account the case when one reads a new object with fN
different from the previous value.
2001-07-02 22:22 brun
* star/src/TTable.cxx:
Comment the definition of extern "C" finite
2001-07-02 21:27 brun
* test/Makefile.in:
change aix5 to aix5a. Use standard configuration instead.
Must clarify this point with Akiya
2001-07-02 21:23 brun
* matrix/inc/TMatrixUtils.h:
Move definition of the copy constructor and assignement operator from
the private to protected area. They are used by derived classes
such as THaarMatrix.
2001-07-02 18:35 brun
* thread/src/TThread.cxx:
Pointer fHolder should be initialized in the constructor (thanks Mathieu de Naurois).
2001-07-02 18:06 brun
* tree/src/TBranchObject.cxx:
Forgot to add a secong argument "getall" in TBranchObject::GetEntry.
2001-07-02 12:32 rdm
* Makefile:
make unstall target phony.
2001-07-02 10:56 rdm
* cint/Module.mk:
add case for aix5 libstrm.
2001-07-02 10:53 brun
* meta/src/TStreamerInfo.cxx:
In ReadBufferClones, PrintBufferClones and WriteBufferClones, remove the computation
of the base class offset. This is not necessary anymore, following the upgrade
of TBranchElement::SetAddress.
2001-07-02 10:16 brun
* tree/src/TBranchElement.cxx:
Several mods in TBranchElement::SetAddress to support complex cases with more than
3 levels of hierarchy.
In particular, classes containing other classes like TLorentzVector are now
supported, including for classes in TClonesArray.
2001-07-01 15:55 brun
* tree/src/TTree.cxx:
Delete invalid comment
2001-07-01 10:31 brun
* graf/: inc/TLink.h, src/TLink.cxx:
Add new enum kIsTarStar. In TLink::ExecuteEvent, protect case when
the bit kIsStarStar is set (in TInspectCanvas). Do not follow the link.
2001-07-01 10:29 brun
* gpad/src/TInspectCanvas.cxx:
Mark TLink objects with bit TLink::kIsStarStar when a data member is a pointer ** or ***, etc
2001-06-30 15:18 rdm
* cint/: inc/G__ci.h, inc/common.h, inc/dllrev.h, src/debug.c,
src/decl.c, src/end.c, src/func.c, src/g__cfunc.c, src/ifunc.c,
src/newlink.c, src/quote.c, src/scrupto.c, src/struct.c,
src/val2a.c, src/var.c:
import of CINT 5.15.05.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-06-30 15:18 rdm
* meta/src/TCint.cxx, rint/src/TRint.cxx:
remove two cases of explicit char* cast in CINT functions since now these
functions accept const char*.
2001-06-30 15:16 rdm
* build/unix/importcint.sh:
exclude new lib/wintcldl83 from import.
2001-06-30 15:09 rdm
* base/inc/TString.h, matrix/inc/TMatrix.h, matrix/inc/TMatrixD.h,
matrix/inc/TVector.h, matrix/inc/TVectorD.h:
some costmetics in forward declarations needed by xlC 5.
2001-06-30 15:08 rdm
* cont/src/TClassTable.cxx:
correct warning message.
2001-06-30 15:07 rdm
* README/CREDITS:
add Akiya Miyamoto for AIX xlC 5 port.
2001-06-30 15:07 rdm
* README/BUILDSYSTEM:
correction in steps to port to new platform.
2001-06-30 15:05 rdm
* build/unix/makelib.sh, config/ARCHS, config/Makefile.aix5,
config/root-config.in, test/Makefile.in:
port to AIX with xlC v5.x.
2001-06-30 09:11 brun
* tree/src/: TBranchClones.cxx, TBranchObject.cxx:
A few calls to TBranch::GetEntry did not have the second argument getall.
Thanks Maurik Holtrop for reporting the problem.
2001-06-29 21:28 brun
* star/: inc/TFileIter.h, src/TTable.cxx:
Some fixes by Valery
2001-06-29 19:28 brun
* base/inc/TString.h, matrix/inc/TMatrix.h, matrix/inc/TMatrixD.h,
matrix/inc/TVector.h, matrix/inc/TVectorD.h:
A few changes from Akiya Miyamoto with forward declarations for operators
or functions to make the latest XlC version 5 compiler happy.
2001-06-29 19:04 rdm
* tutorials/guitest.C:
show the use of disabling context menus in the left embedded canvas and
trapping the kButton3Down event in a special slot method.
2001-06-29 19:03 rdm
* gpad/src/TCanvas.cxx:
check in HandleInput() for event kButton3Down if the kNoContextMenu
menu bit is set for either the selected object, the pad or the canvas.
If so, don't popup the context menu. User's can trap this event via the
TCanvas::ProcessedEvent() signal and do a user defined action instead.
An example is shown in $ROOTSYS/tutorials/guitest.C.
2001-06-29 19:00 rdm
* base/inc/TObject.h:
register BIT(8) as kNoContextMenu. If an object has this bit set it will
not get an automatic context menu when clicked with the right mouse button.
2001-06-29 08:40 brun
* win32/: inc/TGWin32.h, inc/TGWin32Object.h,
inc/TGWin32WindowsObject.h, src/TGWin32.cxx, src/TGWin32Marker.cxx,
src/TGWin32Object.cxx, src/TWin32Application.cxx:
Valery has cleaned up several Win32 class to make sure all data-members are
initialized in teh constructors and fixed some bugs reported by users.
There are still several classes to be checked / "cleaned"
2001-06-28 19:09 brun
* postscript/src/TPostScript.cxx:
Add a protection in TPostScript::Text when the input string contains special sequences
of characters, like "&"
2001-06-28 18:38 brun
* physics/: inc/TLorentzVector.h, src/TLorentzVector.cxx:
Add a comment about the plus() and minus() functions
//Member functions Plus() and Minus() return the positive and negative
//light-cone components:
//
// Double_t pcone = v.Plus();
// Double_t mcone = v.Minus();
//
//CAVEAT: The values returned are T{+,-}Z. It is known that some authors
//find it easier to define these components as (T{+,-}Z)/sqrt(2). Thus
//check what definition is used in the physics you're working in and adapt
//your code accordingly.
2001-06-27 19:32 rdm
* Makefile:
new "uninstall" taget by Christian Holm.
2001-06-27 19:31 rdm
* html/src/THtml.cxx:
change <pre>...<h3>...</h3>...</pre> to <pre>...</pre><h3>...</h3><pre>...</pre>
so Opera display the html files correctly. Fix by Christian Holm.
2001-06-27 18:54 rdm
* gui/src/TGTextEdit.cxx, gui/src/TRootBrowser.cxx,
gui/src/TRootCanvas.cxx, test/guitest.cxx,
treeviewer/src/TTreeViewer.cxx, tutorials/guitest.C:
use new features of TGFileDialog.
2001-06-27 18:43 rdm
* gui/: inc/TGFileDialog.h, src/TGFileDialog.cxx:
in the TGFileInfo argument it is now possible to set the initial directory
(fIniDir). On return this fIniDir is set to the directory containing the
selected file. This makes it easy to open the dialog again in the previously
selected directory. For an example see $ROOTSYS/test/guitest.cxx. To
implement this change the TGFileInfo behaviour has changed in a backward
incompatible way:
1) the fFileTypes field is now "const char**" (was "char**")
2) the fFilename and fIniDir strings are now deleted by the TGFileInfo
dtor and not anymore in the user code. This change requires you to
remove any "delete [] fi.fFilename" statements from your code.
2001-06-27 18:13 rdm
* gui/src/TGFrame.cxx, test/guitest.cxx, tutorials/guitest.C:
re-order deletion of several objects to allow clean destruction of
TApplication.
2001-06-27 17:58 brun
* win32/src/TGWin32Marker.cxx:
fChain was not always initialized in the constructor. Also fix a bracket problem.
Thanks Philippe
2001-06-27 12:41 brun
* tree/src/TTree.cxx:
Add additional comments in TTree::BuildIndex to indicate that majorname and minorname
may be complex expressions using original Tree variables.
2001-06-27 12:35 brun
* hist/src/TH1.cxx:
Add new comments and examples in TH1::Fit to illustrate how to set limits
for a parameter or how to fix a parameter.
2001-06-27 12:34 brun
* hist/: src/TF1.cxx, inc/TF1.h:
Add a new function TF1::FixParameter(Int_t param, Double_t value)
2001-06-27 10:12 brun
* graf/src/: TGraphAsymmErrors.cxx, TGraphErrors.cxx:
Implement new option "[]" in the TGraph::Paint and TGraphAsymmErrors::Paint.
// if option "[]" is specified only the end vertical/horizonthal lines
// of the error bars are drawn. This option is interesting to superimpose
// systematic errors on top of a graph with statistical errors.
2001-06-26 18:32 rdm
* base/inc/RConfig.h, cint/Module.mk, config/Makefile.linuxegcs,
config/Makefile.linuxia64gcc, rootx/src/rootx.cxx:
several more changes for gcc v3 port on Debian and PPC.
2001-06-26 16:24 rdm
* net/: inc/TNetFile.h, src/TNetFile.cxx:
new method GetErrorCode(). Returns -1 in case the was no error and >=0 in
case there was an error in setting up the connection or during data transfer.
The error code matches the table gRootdErrStr[].
2001-06-26 14:49 brun
* graf/src/TGraph.cxx:
Fix a bug in TGraph::Fit when computing NDF. nfixed was subtracted instead
of being added.
2001-06-26 14:47 brun
* hist/src/TH1.cxx:
Fix a bug when computing the NDF in TH1::Fit
2001-06-26 14:27 brun
* test/Tetris.cxx:
Move fEditable at the end of the constructor. With this change Tetris works again.
2001-06-26 12:21 brun
* thread/src/TThread.cxx:
Mods proposed by Mathieu de Naurois.
Protections in Lock, TryLock, Unlock when no Thread created.
Users may have TThread::Lock in many places and run in single or multi-threaded mode.
2001-06-26 10:26 rdm
* meta/src/TCint.cxx:
use StrDup() instead of strdup() (otherwise delete [] will fail with
custom new/delete).
2001-06-25 18:54 brun
* gpad/src/TPad.cxx:
Fix a bug in TPad::Streamer when reading nested pads. New logic simpler.
2001-06-25 18:28 rdm
* base/inc/TApplication.h, base/src/TApplication.cxx,
rint/src/TRint.cxx:
fix for two issues:
1) option -l does not print ROOT info message in addition to not showing
the splash screen.
2) script files which have the execute bit set are now also again accepted
as command line arguments (reported by Yves Schutz).
2001-06-25 18:25 rdm
* cint/src/debug.c:
fix small compilation problem.
2001-06-25 17:09 rdm
* cint/: inc/G__ci.h, inc/common.h, inc/global.h,
lib/gcc3strm/iostr.h, lib/posix/posix.h, src/CallFunc.cxx,
src/debug.c, src/decl.c, src/end.c, src/func.c, src/g__cfunc.c,
src/global2.c, src/loadfile.c, src/newlink.c, src/pause.c,
src/scrupto.c, src/shl.c, src/typedef.c:
import of CINT 5.15.04.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-06-25 16:18 rdm
* config/Makefile.linuxia64gcc:
check for gcc v3.
2001-06-25 14:54 rdm
* base/inc/RConfig.h, base/src/TSystem.cxx, gpad/src/TPad.cxx,
graf/src/TLatex.cxx, html/src/THtml.cxx:
several small mods for gcc v3 compatability (mainly adding some missing
iostream.h includes).
2001-06-25 14:52 rdm
* Makefile, cint/Module.mk, config/Makefile.linuxegcs:
add automatic gcc v3.0 detection in the Makefiles.
2001-06-25 12:40 brun
* meta/src/TCint.cxx:
TCint::SetClassinfo replace
delete classname;
by
delete [] classname;
2001-06-25 11:28 brun
* hist/src/TH1.cxx:
Add a comment in TH1::Fit to indicate how to initialize the fitter
to get more than the default 25 maximum number of parameters.
2001-06-25 11:16 brun
* base/: inc/TMath.h, src/TMath.cxx:
Add TMath::Freq(x) computing the normal frequency function
2001-06-24 19:04 brun
* graf/src/: TGraphAsymmErrors.cxx, TGraphErrors.cxx:
Modify the Paint functions to paint the TGraph symbols after the error bars
2001-06-24 18:53 brun
* hist/src/TH1.cxx:
Protect TH1::RebinAxis against an infinite loop in case of a badly
defined histogram.
2001-06-23 10:42 brun
* meta/src/TCint.cxx:
From Philippe:
Update to suppress (spurrious) error messages when trying to
get the ClassInfo of a namepace or class nested class which has not
been completely loaded yet. [This can happen when building your own
software and not using a TApplication]
2001-06-23 10:41 brun
* utils/src/rootcint.cxx:
From Philippe:
Update so that operator is implemented within the namespace
and not the class.
2001-06-22 19:45 brun
* base/src/TFile.cxx:
Protect TFile::Map against an infinite loop in case of a corrupted file.
2001-06-22 18:12 rdm
* net/src/TSQLServer.cxx:
handle now also URL's starting with pgsql (for PostgreSQL).
2001-06-22 18:12 rdm
* gui/src/TGApplication.cxx:
move initialization of gProgname.
2001-06-22 18:10 rdm
* base/src/TQConnection.cxx, base/src/TROOT.cxx,
clib/inc/Getline.h, clib/inc/LinkDef.h, clib/src/Getline.c,
cont/src/TClassTable.cxx, g3d/src/TXTRU.cxx, gui/inc/TGGC.h,
gui/src/TGFSComboBox.cxx, gui/src/TGGC.cxx, gui/src/TGListTree.cxx,
hist/inc/TSpectrum.h, hist/src/TSpectrum.cxx,
histpainter/src/THistPainter.cxx, main/src/h2root.cxx,
meta/src/TCint.cxx, rint/src/TRint.cxx, rint/src/TTabCom.cxx,
rootd/src/net.cxx, rootx/inc/rootlogo_xpm.h, rootx/src/rootx.cxx,
rootx/src/rootxx.cxx, tree/inc/TChain.h, tree/src/TLeafObject.cxx,
treeplayer/src/TTreeFormula.cxx, unix/src/TUnixSystem.cxx,
utils/src/rootcint.cxx, x11/src/GX11Gui.cxx, x11/src/TGX11.cxx:
make code more const char* correct (i.e. "strings" must be const char*) and
declare several functions extern "C". Mods by Dave Morrison.
2001-06-22 11:50 brun
* graf/src/TGraph.cxx:
Set bit kNotGlobal in TGraph::Fit
2001-06-22 11:49 brun
* hist/src/TH1.cxx:
Set bit kNotGlobal for the fit function in TH1::Fit
2001-06-22 11:48 brun
* hist/: inc/TFormula.h, src/TFormula.cxx:
Add a new enum kNotGlobal. When the kNotGlobal bit is set, the formula is not
stored in the ROOT list of functions. This bit is set by TH1 and TGraph fitting
functions. It solves a problem when cloning TH1 or TGraph objects having
associated fitting functions.
2001-06-22 09:11 brun
* hist/src/TFormula.cxx:
Replace Float_t by Double_t to solve a precision problem (Philippe)
2001-06-21 17:53 brun
* meta/src/TCint.cxx:
Use the new function G__ClassInfo::IsLoaded.
2001-06-21 17:07 rdm
* cint/lib/gcc3strm/Makefile:
forgot one new CINT file.
2001-06-21 17:05 rdm
* cint/: inc/Class.h, inc/G__ci.h, inc/dllrev.h, inc/fproto.h,
include/array.c, include/carray.c, include/carray.h,
include/cstdio, include/darray.cxx, include/darray.h,
include/fft.c, include/fft.h, lib/dll_stl/eh.h,
lib/gcc3strm/features.h, lib/gcc3strm/fstream.h,
lib/gcc3strm/iostr.h, lib/gcc3strm/iostream.h,
lib/gcc3strm/libstrm.cxx.bk, lib/gcc3strm/libstrm.h.bk,
lib/gcc3strm/stream.h, lib/gcc3strm/bits/c++config.h,
lib/gcc3strm/bits/os_defines.h, lib/gcc3strm/bits/std_iostream.h,
lib/gcc3strm/sys/cdefs.h, lib/posix/posix.h, src/Api.cxx,
src/Apiif.cxx, src/Apiifold.cxx, src/Class.cxx, src/cast.c,
src/decl.c, src/end.c, src/error.c, src/expr.c, src/fread.c,
src/func.c, src/ifunc.c, src/init.c, src/kccstrm.cxx,
src/loadfile.c, src/newlink.c, src/parse.c, src/pause.c,
src/scrupto.c, src/struct.c, src/typedef.c, src/var.c, stl/_list.h,
tool/makecint.c:
import of CINT 5.15.03.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-06-21 12:03 brun
* treeplayer/src/TTreeFormula.cxx:
suppress a warning message when using more than 16 direct variables.
2001-06-20 14:24 brun
* minuit/src/TMinuit.cxx:
Fix a typo in comments (SetObjFit -->SetObjectFit)
2001-06-19 23:42 brun
* treeplayer/src/TTreeFormula.cxx:
Update by Philippe to support cases with more than one TCutG in the selection expression.
2001-06-19 17:45 brun
* g3d/src/TSPHE.cxx:
fNZ was not recomputed when reading (Streaming a TSPHE object).
the function SetNumberOfDivisions was called by Streamer, but this function returned
immediatly if fNdiv was equal to the argument.
2001-06-19 15:06 brun
* tutorials/tree1.C:
The leaf "random" must be declared "D (double) instead of "F" to the branch.
2001-06-18 04:16 brun
* base/src/TBuffer.cxx:
Protect the WriteFastArray and ReadArray functions when the length
of the array is <= 0.
2001-06-18 04:14 brun
* meta/src/TStreamerInfo.cxx:
Add protections in ReadBuffer in case one reads a variable length array
with a length of type [fN] with fN <= 0
2001-06-18 04:12 brun
* matrix/src/TMatrix.cxx:
Add a protection in TMatrix::Streamer in case one reads a matrix created
via the default constructor (fNcols=-1)
2001-06-18 01:46 brun
* base/src/TROOT.cxx:
Forgot to add one line from Valery's corrections
2001-06-18 01:08 brun
* base/src/TApplication.cxx, base/src/TROOT.cxx,
base/src/TSystem.cxx, winnt/src/TWinNTSystem.cxx:
Implement the following mods proposed by Valery:
TApplication::TApplication:
LoadGraphicsLibs() needs gProgFile pointer. That was not assigned.
The statement "gSystem->SetProgname(fArgv[0])"
is called too late, namely after LoadGraphicsLibs is called.
One has to change the order, namely first issue
if (fArgv) gSystem->SetProgname(fArgv[0]);
then
LoadGraphicsLibs()
TROOT::LoadClass
Did assume "lib" prefix is to be added to the name
of the Dynamic library name by the OS .This is not case under
Windows. As result the name of the Windows DLL is not completed
and DLL file can not be found
TSystem::CompileMacro
Applied wrong ExpandFileName method rather ExpandPathName
As result the file name is not generated properly if it contains
the Windows special symbols.
TSystem::ExapandFileName
did treat "blank" as a "file separator". As result the file
name that with the "blank inside" is not generated properly.
2001-06-18 01:06 brun
* build/unix/makecintdlls.sh:
Remove option -M when calling makecint.
This option prevented the use of STL includes inside ROOT.
2001-06-17 20:57 brun
* graf/src/TLegend.cxx:
Modify algorithm in TLegend::PaintPrimitives when painting the fill area.
Use TPad::PaintFillArea instead of a box. Painting via a TBox had side effects
when painting with fill styles with hatches.
2001-06-15 01:22 rdm
* Makefile, configure, README/CREDITS, config/Makefile.in:
mods to handle the new pgsql module.
2001-06-15 01:19 rdm
* pgsql/: Module.mk, inc/LinkDef.h, inc/TPgSQLResult.h,
inc/TPgSQLRow.h, inc/TPgSQLServer.h, src/TPgSQLResult.cxx,
src/TPgSQLRow.cxx, src/TPgSQLServer.cxx:
PostgreSQL interface provided by Gian Paolo Ciceri.
2001-06-14 23:52 rdm
* tree/src/TBranchElement.cxx:
small correction in error message.
2001-06-14 23:48 rdm
* gpad/src/TDrawPanelHist.cxx:
buttons were not active since SetEditable(kFALSE) was missing.
2001-06-14 22:32 rdm
* hist/src/TFormula.cxx:
correctly initialize some pointers in the Copy() method (used by copy ctor).
2001-06-14 18:36 rdm
* rint/src/TTabCom.cxx:
fix regular experession for .x and .X to allow more then one space between
.x and file name.
2001-06-13 01:40 rdm
* tutorials/guitest.C:
fix typo in comment.
2001-06-13 01:40 rdm
* README/BUILDSYSTEM:
added some missing target descriptions.
2001-06-08 09:40 brun
* utils/src/rootcint.cxx:
Because the G__ClassInfo constructor does not take into account blanks
in the classname, blanks must be stripped before invoking the constructor.
2001-06-08 08:52 brun
* g3d/src/TGeometry.cxx:
Fix an unfortunate typo in TGeometry::UpdateMatrix
2001-06-08 08:45 brun
* graf/src/TGraph.cxx:
In TGraph::SetPoint delete the current histogram used to draw the graph.
This is necessary in case a point is set outside the current histogram range.
2001-06-07 14:43 brun
* base/inc/RVersion.h:
This is the release version
2001-06-07 14:41 brun
* build/version_number:
Increment version number. This should be the release version.
2001-06-07 13:14 rdm
* gui/inc/TGDoubleSlider.h, gui/src/TGDoubleSlider.cxx,
test/guiviewer.cxx:
two new default arguments: one to reverse the slider min,max and one to turn
on the drawing of little markers that show the move ans stretch regions of the
sliders. The guiviewer uses these new options. Mods by Brett Viren.
2001-06-07 12:51 brun
* gpad/src/TCanvas.cxx:
The recent mods proposed by Valery had some side-effects in a few constructors.
The members fCw and fCh were not always initialized.
2001-06-07 12:47 rdm
* unix/src/TUnixSystem.cxx, vms/src/TVmsSystem.cxx,
winnt/src/TWinNTSystem.cxx:
change in OpenConnection() (used by TSocket to connect to a server), don't
try 3 times to connect with a sleep of 1 second. If you want to try
reconnecting to a server that might not be ready yet you have to check
the validity of the TSocket and recreate the TSocket in a loop till it
is valid. This allows for better tuning of socket creation, like polling
to see if a server is ready (now this would always take 3 seconds).
2001-06-07 10:56 brun
* tree/src/TChain.cxx:
In TChain::Addfile remove the limitation that the file name must contain
the string ".root". ".root" is necessary only in case one wants to specify
a Tree in a subdirectory of a Root file with eg, the format:
//machine/file_name.root/subdir/tree_name
2001-06-07 10:40 brun
* tree/src/TFriendElement.cxx:
Fix a typo in comments
2001-06-07 10:39 brun
* postscript/src/TPostScript.cxx:
some special characters like Tlatex #varphi were not correctly
interpreted by TPostScript.
2001-06-07 10:38 brun
* hist/: inc/TSpectrum.h, src/TSpectrum.cxx:
Add new data member fMaxPeaks. Replace the previous define Max_NUMBER_PEAKS
by fMaxPeaks. Protect against case where the max number of peaks in the constructor
is greater than fMaxPeaks.
2001-06-07 10:37 brun
* graf/src/TGaxis.cxx:
Modify the example in comments
2001-06-06 18:48 rdm
* base/inc/TSystem.h, base/src/TSystem.cxx, unix/inc/TUnixSystem.h,
unix/src/TUnixSystem.cxx, winnt/inc/TWinNTSystem.h,
winnt/src/TWinNTSystem.cxx:
new methods ResetSignal() and IgnoreSignal(). The first allows a signal
to be disabled (reset to default behaviour) and re-enabled and the second
allows a signal to be ignored and re-enabled.
2001-06-06 15:41 brun
* thread/src/: TPosixThread.cxx, TThread.cxx:
The following mods by Mathieu de Naurois. The following was an email from Matthieu
"You set the Thread Id at two different places.
1) in Int_t TPosixThread::Run(TThread *th)
th->fId = id; SetUniqueID(th->fId);
2)in void *TThread::Fun(void *ptr)
th = (TThread *)ptr;
th->fId = SelfId(); th->SetUniqueID(th->fId);
The second solution is the only good one, because the Thread uses its it
in the TThread::Fun
function. So if TPosixThread::Run was not fast enough, you get a clash.
BUT, in TThread::Fun(void *ptr) you use the Id before assigning it, in
the following call
CleanUpPush((void *)&AfterCancel,th); // Enable standard cancelling
function
So, I suggest to move the Id definition before that call."
2001-06-06 09:35 brun
* base/inc/RVersion.h, build/version_number:
Increment version number to 3.01/04
2001-06-06 09:32 brun
* gpad/src/TCanvas.cxx:
Implement changes proposed by Valery in TCanvas. The creation of the physical window
is done after initialisation of all relevant parameters. This should fix problems seen
under Windows in case the thread creating the window is faster than the thread that
initializes the canvas.
2001-06-06 09:21 brun
* hist/src/TFormula.cxx, treeplayer/inc/TTreeFormula.h,
treeplayer/src/TTreeFormula.cxx, treeplayer/src/TTreePlayer.cxx:
several enhancements from Philippe.
TFormula: added support for the shift operator '>>' and '<<'.
However the associativeness is currently wrong. It should have been left
associative (i.e. b << 4 >> 8 == (b<<4)>>8 ).
TTreePlayer: add support for letting '>>' be interpreted as a shift operator.
Now only the last '>>' which is NOT is parenthesis or brackets is interpreted
as meaning 'feed an histogram'. This might(?) be improved if there is a way
to guess is the right hand parameter of '>>' is and histogram or a variable.
TTreePlayer: enable string comparaison when the new style of branches and
with data member reading. (Are left to do: method result).
2001-06-05 18:43 rdm
* README/CREDITS:
add Guy Barrand.
2001-06-05 18:42 rdm
* gui/inc/: TGFrame.h, TGWindow.h:
make GetMainFrame() public, was protected.
2001-06-05 18:42 rdm
* gui/: Module.mk, inc/LinkDef2.h:
handle new TGApplication class.
2001-06-05 18:41 rdm
* gui/: inc/TGApplication.h, src/TGApplication.cxx:
new TGApplication class by Guy Barrand. Use this class if you make a
stand-alone application that only uses the ROOT GUI classes. E.g. in
guitest.cxx one can replace TApplication by TGApplication. This saves
some linking and shared library loading overhead.
2001-06-05 16:51 rdm
* gpad/src/TPad.cxx, graf/src/TBox.cxx:
fix in ExecuteEvent() when resizing due to Warp() being a noop now.
2001-06-05 15:51 brun
* graf/src/TGraph.cxx, hist/src/TH1.cxx,
treeplayer/src/TTreePlayer.cxx:
Modify the functions:
TGraph::Fit
TH1::Fit
TTreePlayer::UnbinnedFit
to call TF1::SetNDF(ndf) where ndf is the number of degrees of freedom
taking into account the number of points used in the fit minus the
number of free parameters.
2001-06-05 15:49 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Add a new data member fNDF (Number of degrees of freedom in a fit)
together with GetNDF and SetNDF. SetNDF will be called by
the fitting functions taking into account the number of fitted points
and the number of free parameters.
2001-06-05 15:13 brun
* g3d/src/TGeometry.cxx:
Update TGeometry::Streamer to compute some internal buffer arrays
when reading.
2001-06-05 15:11 brun
* meta/src/TStreamerInfo.cxx:
Protect TStreamerInfo::BuildOld for classes with no data members when the
class is a base class.
2001-06-05 13:34 rdm
* histpainter/src/THistPainter.cxx:
in case of fixed sized fonts for stats and title use pixel size as specified
in current style.
2001-06-05 13:32 rdm
* graf/src/TPaveText.cxx:
correction in font height calculation for fixed sized fonts.
2001-06-05 13:29 rdm
* base/: inc/TStyle.h, src/TStyle.cxx:
keep track of title and stat font size. Needed in case of fixed font size in
pixels.
2001-06-05 13:27 rdm
* graf/src/TLatex.cxx:
in case font size is in pixels make sure font has expected size also in
sub pads.
2001-06-05 13:13 rdm
* rint/src/TRint.cxx:
always return from Run() when option retrn is true. Was not the case when
-q was specified.
2001-06-05 12:27 brun
* g3d/src/TPolyLine3D.cxx:
Add an example of use.
2001-06-05 12:27 brun
* g3d/src/TNode.cxx:
Protection in TNode destructor in case gGeometry is null.
2001-06-05 12:16 rdm
* cint/: inc/Apiif.h, inc/Apiifold.h, inc/G__ci.h, inc/bcstrm.h,
inc/cbstrm.h, inc/common.h, inc/dllrev.h, inc/kccstrm.h,
inc/libstrm.h, inc/stdstrct.h, inc/sunstrm.h, inc/vcstrm.h,
inc/vcstrmold.h, src/loadfile.c, src/newlink.c, src/typedef.c:
import of CINT 5.15.02.
New version with incompatible dictionary format. Breaking compatibility
was needed by change in internal table management. You have to regenerate
your dictionaries.
For other changes see http://root.cern.ch/root/Cint.phtml?relnote.
2001-06-04 09:55 brun
* test/: TBench.cxx, bench.cxx:
Fix a memory leak in STL part of bench and renormalize benchmark.
2001-06-04 08:40 brun
* meta/src/TStreamerInfo.cxx:
Authorize UInt_t to be used as dimension in [dim]. Only Int_t was accepted so far.
2001-06-04 08:38 brun
* hist/src/TH3.cxx:
Fix a typo in the documentation of TH3::Project3D
2001-06-02 22:52 brun
* treeplayer/src/TTreeFormula.cxx:
Remove unused variables kMETHOD, kDATAMEMBER, isMethod
2001-06-02 22:28 brun
* tree/inc/LinkDef.h, tree/inc/TTree.h, tree/src/TTree.cxx,
treeplayer/src/TTreeFormula.cxx:
From Philippe an upgrade of TTree and TTreeFormula to support friend when in
streamed mode or when using member functions.
New class TTreeFriendLeafIter
an iterator on all the leaves in a TTree and its friend.
2001-06-02 22:25 brun
* test/bench.cxx:
a few changes in the size of the reference files.
2001-06-02 19:22 brun
* thread/src/TThread.cxx:
Preset member fClean in Constructor
2001-06-02 12:01 brun
* base/src/: TDirectory.cxx, TFile.cxx:
Must call TStreamerInfo::SetFile when closing a file.
2001-06-01 18:44 rdm
* gpad/src/TPad.cxx:
the X3D viewer is now accessable via the interpreter via symbol R__x3d.
You an do: gROOT->ProcessLine("R__x3d->CloseWindow()").
2001-06-01 18:18 rdm
* base/: inc/TApplication.h, src/TApplication.cxx:
initialize all members in default ctor.
2001-06-01 16:00 brun
* graf/src/TLatex.cxx:
Undo one change made yesterday (XtoAbsPixel --> XtoPixel)
2001-06-01 13:40 rdm
* cint/: inc/G__ci.h, include/cstdio, lib/longlong/longdbl.h,
lib/longlong/longlong.h, lib/longlong/setup,
lib/longlong/setup.bat, lib/longlong/setupbc.bat,
lib/longlong/setuphp, src/decl.c, src/fread.c, src/newlink.c,
src/parse.c, src/sizeof.c, src/tmplt.c, src/typedef.c:
import of CINT 5.14.90.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-06-01 13:02 brun
* meta/src/TStreamerElement.cxx:
Mods in TStreamerBase::Init and ReadBuffer.
Switch to TClass::ReadBuffer if fMethod is null.
2001-06-01 13:01 brun
* base/src/TBuffer.cxx:
Print Warning message only when gDebug>0 in ReadObject in case on reads
via TClass::ReadBuffer instead of Streamer
2001-06-01 09:05 brun
* treeplayer/: inc/TTreeFormula.h, src/TTreeFormula.cxx:
New additions by Philippe.
2001-06-01 09:04 brun
* hist/src/TSpectrum.cxx:
Fix a problem in TSpectrum::Search. The peak positions were shifted by one bin.
2001-05-31 23:36 brun
* graf/src/TPolyLine.cxx:
In case TPolyLine::SetOption hasbeen called and the Draw function
is called with a blank option, the internal fOption is used.
2001-05-31 23:18 brun
* graf/src/TLatex.cxx:
In TLatex::GetHeight take into account pads with w < h.
This fixes a problem when writing vertical text in narrow pads.
2001-05-31 18:59 brun
* treeplayer/src/TTreeFormula.cxx:
Remove unused code and another fix by Philippe.
2001-05-31 18:27 brun
* gpad/src/TPad.cxx:
TPad::Divide protected in case the pad is created in a thread.
2001-05-31 18:23 brun
* thread/: inc/TThread.h, src/TThread.cxx:
The following mods proposed by
Mathieu de Naurois <denauroi@lpnhep.in2p3.fr>
New Thread constructor to connect to an existing running thread.
New cases in XAction.
Remove a gSystem->Sleep(10000); !!
2001-05-31 17:45 rdm
* graf/src/: TPaveLabel.cxx, TPaveText.cxx:
first support for font size specified in pixels.
2001-05-31 17:45 rdm
* graf/src/TLatex.cxx:
correct problem in handling pixel sized fonts when window's aspect
ratio is h/w>1.
2001-05-31 17:42 rdm
* x11/src/TGX11.cxx:
add protection in GetGeometry() in case hight or width are 0.
2001-05-31 15:45 brun
* gpad/src/TCanvas.cxx:
Fix a problem in TCanvas::Constructor(const char *name, const char *title, Int_t form)
in case one runs from a Thread.
2001-05-31 15:24 brun
* gpad/src/TPad.cxx:
Protect TPad::Divide against padsav = 0.
This may happen when running multithreaded programs.
2001-05-31 12:04 rdm
* base/inc/Windows4Root.h:
add some extra undef's for new TVirtualX methods.
2001-05-31 12:01 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerInfo.cxx:
Fix a problem (usual Windows VC++ pitfall).
Functions referencing a static global variable cannot be inlined.
2001-05-31 11:48 brun
* treeplayer/src/TTreeFormula.cxx:
Comment several places with unused code generating warnings with most compilers.
Fix a bug in TTreeFormula::GetRealInstance replacing:
fCumulUsedSizes[kMAXFORMDIM+1] = 1;
by
fCumulUsedSizes[kMAXFORMDIM] = 1;
2001-05-31 11:27 brun
* test/stress.cxx:
Renormalize stress benchmark
2001-05-31 10:56 brun
* tree/inc/TBranchElement.h, tree/inc/TLeafElement.h,
tree/src/TBranchElement.cxx, treeplayer/inc/TTreeFormula.h,
treeplayer/src/TTreeFormula.cxx:
Several mods by Philippe to support variable length arrays in TClonesArray
in the query processor.
2001-05-31 10:54 brun
* tree/src/TTree.cxx:
In TTree::Fill force a call to TStreamerInfo::setCurrentFile to take into account
the case when a Tree is filled and the current directory is not the directory
where the Tree has been created.
2001-05-31 10:53 brun
* meta/src/TCint.cxx:
Cosmetic change.
2001-05-31 10:52 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerInfo.cxx:
Add a new static data member fgFile with its corresponding getter/setter.
fgFile plays the role of gFile, but does not require that a call to TDirectory::cd
be done. STreamerInfo::SetCurrentFile is called by TFile or TDirectory
when gFile is modified. It is also called by TTree::Fill to support the case
when a Tree is filled but the current directory is not the one where the tree
has been built.
2001-05-31 10:48 brun
* base/src/TFile.cxx:
Call TStreamerInfo::SetCurrentFile before WriteStreamerInfo in TFile::Close
2001-05-31 10:47 brun
* base/src/TDirectory.cxx:
Call TStreamerInfo::setCurrentFile whenever the gFile is modified.
2001-05-31 08:36 brun
* star/src/TTableDescriptor.cxx:
Preset a pointer in TTableDescriptor::Streamer
2001-05-30 08:06 brun
* meta/src/TCint.cxx:
Reduce severity of last protection introduced in TCint::SetClassInfo
2001-05-30 08:03 brun
* star/: inc/TVolumePosition.h, inc/TVolumeViewIter.h,
src/TVolumeView.cxx, src/TVolumeViewIter.cxx:
Fix compilation problems on HP-UX/aCC
2001-05-29 21:10 brun
* star/src/TTable.cxx:
// New methods:
// ------------
// class TCL
// New method trsequ to solve
// Ax=B
// from Victor Perevoztchikov
// where A is a symmetric unpacked matrix
// class TTable:
// meta-variables i$ and n$ introduced
// where "i$" stands for the current row index
// "n$" stands for the total number of rows
// meta-variable can be used along the normal
// table column names in the C++ (Cint) expressions
// (see for example method TTable::Draw
2001-05-29 21:08 brun
* star/: inc/TCL.h, src/TCL.cxx, src/TTable.cxx:
New version of some STAR classes from Valery.
2001-05-29 21:07 brun
* meta/src/TCint.cxx:
Add protection in TCint::SetClassInfo
2001-05-29 18:21 rdm
* base/: inc/TDatime.h, src/TDatime.cxx:
added new method Set(UInt_t) which takes the result of time() or of Convert()
(i.e. the time since the beginning of the Epoch, 00:00:00 1 Jan 1970).
2001-05-29 17:25 rdm
* win32/inc/TGWin32.h:
uncomment region methods I erroneously commented out.
2001-05-29 16:26 rdm
* gui/inc/: TGLabel.h, TGString.h:
in TGString added a ctor accepting an integer as argument. In TGLabel added
SetText() accepting an integer as argument. This facilitates the direct
linking of sliders and labels via signals and slots.
2001-05-29 16:23 rdm
* Makefile, config/Makefile.solaris, config/Makefile.solarisCC5,
config/Makefile.solarisegcs, config/Makefile.solarisgcc,
config/Makefile.solariskcc:
remove bash specific syntax from Makefile and provide special INSTALL and
INSTALLDATA macros for Solaris.
2001-05-29 12:22 rdm
* win32/inc/TGWin32.h:
comment out region methods. Not implemented, will be available with the
new Windows port via X11 interface layer.
2001-05-29 12:22 rdm
* base/inc/TVirtualX.h:
all region methods were not declared virtual and therefore not overridden
in TGX11. Must have been some cut-and-paste error. Found by V. Onuchin.
2001-05-29 09:20 brun
* minuit/src/TMinuit.cxx:
Take into account the "SET PRINT" settings in TMinuit::mnimpr.
2001-05-29 08:57 brun
* win32/src/TGWin32.cxx:
Initialize two data members in the constructor.
2001-05-29 08:57 brun
* hist/src/TFormula.cxx:
In TFormula::Streamer add the function to the list of functions in gROOT.
2001-05-28 18:24 brun
* test/guiviewer.cxx:
Remove calls to SetEditable in the SetRange function.
These calls are not necessary since we changed TPad::SetPad and TPad::Range
2001-05-28 17:48 brun
* gpad/src/TPad.cxx:
Undo the restriction introduced in TPad::Range and SetPad when a pad is not editable.
2001-05-28 16:10 rdm
* test/guiviewer.cxx:
fix by Brett in guiviewer to work around changed behaviour of editability
of pads.
2001-05-28 14:40 rdm
* meta/src/TClass.cxx:
use memset() to set memory to zero.
2001-05-28 14:40 rdm
* x11/src/TGX11.cxx:
fix bug in TGX11 copy ctor that caused colors to not be copied properly.
2001-05-28 12:45 rdm
* tutorials/guitest.C:
show how to programmatically update combo box value via other widget (button).
2001-05-28 12:43 rdm
* cint/: inc/G__ci.h, inc/global.h, include/cfloat, lib/gl/GL.h,
lib/gl/TOP.h, lib/ipc/ipcif.h, lib/xlib/TOP.h, src/decl.c,
src/error.c, src/global2.c, src/ifunc.c, src/init.c, src/newlink.c,
src/shl.c:
import of CINT 5.14.89.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-05-28 08:33 brun
* tutorials/tasks.C:
Correct typo in a comment.
2001-05-28 08:33 brun
* tutorials/: staff.C, staff.dat:
Change the data types in the C struct from Float_t to Int_t.
Use a TTree instead of a TNtuple.
2001-05-28 08:32 brun
* treeplayer/: inc/TTreePlayer.h, src/TTreePlayer.cxx:
Add a new argument IsInteger to TTreePlayer::FindGoodLimits.
The new argument is used to adapt the bin size and limits for leaves
corresponding to integer values.
2001-05-28 08:29 brun
* treeplayer/: inc/TTreeFormula.h, src/TTreeFormula.cxx:
Add new function TTreeFormula::IsInteger. It returns true if the formula
corresponds to one single leaf of type integer. The information is used
to build an histogram with integer bin size.
2001-05-28 08:27 brun
* tree/src/TBranchElement.cxx:
Protection added in the constructor in some cases when the function is built
from Folders with empty levels.
2001-05-28 08:26 brun
* hist/inc/TAxis.h:
Redefine functions DrawClone, Delete, SetDrawOption to not appear in the context menu.
2001-05-28 08:24 brun
* gpad/src/TFitPanel.cxx:
SetEditable is now called at the end of the constructor (was set in the base class
TDialogCanvas before).
2001-05-28 08:23 brun
* gpad/src/TDialogCanvas.cxx:
Do not set the SetEditable flag in the default constructor.
In the Apply function, force a call to Modified/Update for the selected pad.
2001-05-28 08:21 brun
* gpad/src/TButton.cxx:
Move the place where the SetEditable flag is set.
2001-05-28 08:20 brun
* gpad/src/: TAttFillCanvas.cxx, TAttLineCanvas.cxx,
TAttMarkerCanvas.cxx, TAttTextCanvas.cxx:
Switch off/on the TButton::SetEditable flag when constructing the buttons
with text or pictures in the TAttxxxCanvas classes.
2001-05-25 17:06 brun
* meta/src/TCint.cxx:
Remove an unused statement.
2001-05-25 16:39 brun
* meta/src/TCint.cxx:
Remove reference to int G__const_noerror. This breaks the Windows version.
Instead call the new CINT function (in error.c) int G__const_whatnoerror()
2001-05-25 16:37 brun
* cint/src/error.c:
Implement function
int G__const_whatnoerror() {
return(G__const_noerror);
}
The global variable int G__const_noerror cannot be referenced on Windows from
an external DLL. Must go through an intermediate function.
2001-05-25 11:46 brun
* tree/src/TTree.cxx:
In TTree::Notify also call TBranch::Notify
2001-05-25 11:45 brun
* tree/src/TBranchElement.cxx:
In function GetEntry force a call to TStreamerInfo::BuildOld if the branch
address is null and the StreamerInfo had been alraedy compiled.
2001-05-25 11:44 brun
* tree/inc/TBranchElement.h:
Add function Notify. This function is called when loading a shared library.
It resets the branch address to 0 to force rebuilding teh StreamerInfo.
2001-05-25 11:41 brun
* meta/src/TClass.cxx:
Move the statement adding the new class to the list of classes higher up
in the TClass constructor.
2001-05-25 08:51 brun
* base/src/TObject.cxx, gpad/src/TPad.cxx:
Modify TObject::AppendPad to return immediatly if the pad is not editable.
Modify TPad::Clear, Range, RangeAxis, SetPad to return if the pad is not editable.
2001-05-25 08:25 brun
* meta/: inc/TCint.h, inc/TInterpreter.h, src/TCint.cxx:
The following mods from Philippe:
In TInterpreter and TCint, add a couple of methods to disable/enable
(some) of the error messages coming from CINT.
2001-05-25 08:24 brun
* meta/: inc/TClass.h, src/TClass.cxx:
The following mods from Philippe:
In TClass, add a method GetMethodAddAny which is similar to GetMethodAny but
recursive through the base class.
2001-05-25 08:23 brun
* treeplayer/src/TTreeFormula.cxx:
The following mods from Philippe:
Update TTreeFormula to be able to properly handle TClonesArray when the
split level is only 1. Also enhance the fix used when treating cases like
"function(var)".
One side-effect that could be removed is that you can now use:
Draw("GetXaxis") to do the same thing as Draw("fH.GetXaxis()")
WHEN and only when the split level is 1 or more.
2001-05-24 23:27 brun
* hist/src/TH1.cxx:
Protect TH1::GetBinContent functions in case the function is called on an
histogram created with the default constructor.
2001-05-24 23:25 brun
* hist/src/TAxis.cxx:
Set the deefault number of bins to 1 instead of 0 in the default constructor.
2001-05-24 19:46 brun
* meta/src/TStreamerInfo.cxx:
Modify the TStreamerInfo xxxClones functions to take into account the offset
due to classes with multiple levels of inheritance for classes in TClonesArray.
2001-05-24 19:24 brun
* tree/src/TTree.cxx:
One step back in TTree::Bronch. ClassInfo::RootFlag does not work outside rootcint.
One must specify splitlevel <0 to force a call to the custom Streamer.
2001-05-24 18:41 brun
* tree/src/TTree.cxx:
In TTree::Bronch, add automatic detection of a class with a custom Streamer.
If splitlevel = 0 and the class has a custom Streamer, we must create
a TBranchObject. We cannot assume that TClass::ReadBuffer is consistent
with the custom Streamer. The penalty is that one cannot process
this Tree without the class library containing the class.
2001-05-24 18:37 brun
* tree/: inc/TBranchElement.h, src/TBranchElement.cxx:
Several mods to take into account the additional argument in the
TStreamerInfo functions WriteBufferClones, ReadBufferClones, etc.
Add support in TBranchElement::SetAddress for classes in TClonesArray
with multiple levels of composition.
2001-05-24 18:34 brun
* meta/src/TStreamerElement.cxx:
Fix a bug in TStreamerBasicType::GetSize. The value returned was only correct
for 4 bytes members. This fix was important when reading Trees without
the original class library.
2001-05-24 18:32 brun
* meta/src/TClass.cxx:
In TClass::New with position, preset the newly allocated storage
2001-05-24 18:31 brun
* cont/src/TClonesArray.cxx:
Modify the calls to WriteBufferClones and ReadBufferClones in the Streamer function
to take into account the new argument in these functions.
2001-05-24 18:29 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerInfo.cxx:
Add a new argument in the functions:
GetValueClones
PrintValueClones
ReadBufferClones
WriteBufferClones
The new argument is the offset of the element in the class in case
the member is more than one level deep.
This change is necessary to support complex classes in TClonesArray.
The above functions have been substantially reorganized to take into account
this new argument.
Implement additional functionality in PrintValueClones to support classes
with multiple levels of composition.
2001-05-24 18:23 brun
* base/src/TContextMenu.cxx:
Remove a useless Printf in case of Win32.
2001-05-23 18:41 brun
* win32/: inc/TWin32BrowserImp.h, src/TGWin32Object.cxx,
src/TGWin32WindowsObject.cxx, src/TWin32BrowserImp.cxx:
Mods by valery in teh win32 classes
2001-05-23 18:12 brun
* tree/: inc/TBranchElement.h, src/TBranchElement.cxx:
Reorganize the logic around the processing of TClonesArray supporting additional
cases.
Set the bit kBranchObject in case a data member is a kTObject, kObject or kAny.
New function BuildTitle.
TBranchElement has still several restrictions regarding the type of classes
in a TClonesArray. Hope to improve this part before the release in June.
2001-05-23 18:09 brun
* tree/src/TTree.cxx:
Decrease splitlevel when top level branch is a TClonesArray in the call
to TBranchElement.
2001-05-23 11:54 brun
* tree/src/TBranch.cxx:
In TBranch::GetEntry remove the optimisation in case the entry to be read
is the same as fReadEntry. This had side-effects in case the user clears his structures
between the two GetEntry.
2001-05-23 11:52 brun
* cont/src/TClonesArray.cxx:
Modify TClonesArray::Streamer to accept the case when a fake class has been
replaced by a real class. In this case, the pointer fClass must be updated
to point to the real class. The previous code was returning an error
in case fClass was not equal to the class being read. The error message
has been removed.
2001-05-23 11:48 brun
* meta/: inc/TStreamerElement.h, src/TStreamerElement.cxx:
Add a new function Update in TStreamerElement and TStreamerBase.
This function is called by the TClass constructor when switching
from a fake class to the real class. Internal pointers to the fake class are
updated to point to the new class.
2001-05-23 11:46 brun
* meta/src/TClass.cxx:
In the TClass constructor, when switching from the fake class to the real class
one must update at least:
- All TStreamerElement in all classes that may have pointers to the fake class
- All TLeafObjects in all Trees of all Files that may have pointers to the fake class
2001-05-21 21:58 brun
* tutorials/principal.C:
The array data was not correctly initialized generating unpredictable results.
The bug was apparent on LinuxPPC. Fixed by author: Christian Holm Christensen
2001-05-21 16:27 brun
* base/inc/RVersion.h, build/version_number:
Increment ROOT version to 3.01/03
2001-05-21 16:14 rdm
* rootx/inc/: rootlogo_xbm.h, rootlogo_xpm.h:
update splash screen to 3.01.
2001-05-21 16:11 rdm
* cint/: inc/G__ci.h, inc/fproto.h, include/array.h,
include/arrayiostream.h, include/fft.h, include/lsm.h,
include/readfile.h, include/regexp.h, include/statistics.h,
lib/dll_stl/README.txt, lib/gl/TOP.h, lib/prec_stl/string,
lib/xlib/TOP.h, src/expr.c, src/fread.c, src/ifunc.c,
src/newlink.c, src/tmplt.c:
import of CINT 5.14.88.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-05-21 16:03 brun
* tree/src/TBranchElement.cxx:
In TBranchElement::Unroll force a call to TTree::BuildStreamerInfo
instead of calling simply TClass::GetStreamerInfo.
BuildStreamerInfo takes into account classes with multiple level of
inheritance in case of a TClonesArray.
2001-05-21 14:52 brun
* hist/src/TF1.cxx:
Document option "F" in TF1::Draw
2001-05-21 14:44 rdm
* cont/src/TExMap.cxx:
small fix in TExMapIter::Next().
2001-05-21 14:43 rdm
* x11/src/TGX11.cxx:
delete map with colors in dtor.
2001-05-21 13:20 rdm
* x11/: inc/TGX11.h, src/TGX11.cxx:
remove limitation of only 1000 colors. Colors are now stored in a TExMap
hash table, with the key being the TColor color index and the value a pointer
to the associated XColor_t structure.
2001-05-21 13:18 rdm
* cont/: inc/LinkDef.h, inc/TExMap.h, src/TExMap.cxx:
add copy ctor to TExMap and a TExMapIter iterator class.
2001-05-21 13:16 rdm
* base/src/TApplication.cxx:
correctly retrieve file name in case string arguments contains a '('. This now
works fine: .x $(HOME)/dt.C("aap", "noot(a)").
2001-05-21 13:10 brun
* tree/src/: TBranchElement.cxx, TTree.cxx:
Add support for top level branches to use the Streamer function.
By default the new branch style does not use the Streamer function.
In case the user has a custom Streamer, he can force a call to Streamer
by specifying splitlevel=-1 in TTree::Branch or call directly TTree::BranchOld.
2001-05-21 10:55 brun
* treeplayer/src/TTreeFormula.cxx:
Add a protection in TTreeFormula::DefinedVariable to avoid calling TMethodCall
when basic functions such as sqrt(fX) are given in the expression.
This fixes a problem reported by Christian Stratowa
2001-05-20 19:34 brun
* base/src/TROOT.cxx:
In case a Zombie class is detected in TROOT::GetClass, the Zombie class is deleted.
2001-05-20 19:33 brun
* meta/src/TClass.cxx:
Return immediatly after SetClassInfo in case a Zombie class is detected.
2001-05-20 19:32 brun
* meta/src/TCint.cxx:
In TCint::SetClassInfo, set the class to be Zombie in case the class is not a class,
eg an enum external to the class. The Zombie class will be deleted by gROOT->GetClass.
2001-05-20 16:14 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerElement.cxx:
Replace incluname[100] by gIncludeName[256].
2001-05-20 15:57 brun
* tree/src/TTree.cxx:
Disable TStreamerInfo optimization only when necessary.
2001-05-20 15:56 brun
* tree/src/TBranchElement.cxx:
Disable optimization of TStreamerInfo only when necessary.
2001-05-20 15:52 brun
* test/bench.cxx:
Use maximum split level instead of 1
2001-05-20 15:50 brun
* meta/src/TStreamerInfo.cxx:
When TStreamerInfo::Compile is called, the information of
TStreamerInfo::Optimize flag is kept in the bit kCannotOptimize.
When the TstreamerInfo is again compiled in a different program,
The optimization is disabled if this bit is set.
2001-05-19 22:31 brun
* tutorials/: MyTasks.cxx, tasks.C:
Add a new tutorials "tasks.C" illustrating the use of TTask.
This new tutorials dynamically compiles and links a set of TTask classes
in the new file MyTasks.cxx
2001-05-19 22:28 brun
* tutorials/tree4.C:
Use maximum split level.
2001-05-19 22:28 brun
* tutorials/tree3.C:
Add an example of Tree friendship.
2001-05-19 22:27 brun
* treeplayer/src/TTreeFormula.cxx:
Add a protection in TTreeFormula in case the loop index is 0
and the pointer to the TClass is evaluated.
2001-05-19 22:25 brun
* meta/src/TStreamerInfo.cxx:
Add a protection in TStreamerInfo::GetValue in case both arguments i and len
are negative.
2001-05-19 19:41 brun
* graf/src/TGraph.cxx:
Force initial value for RMS to be positive when fitting a gauusian
with TGraph::Fit in function InitGaus.
2001-05-18 18:56 brun
* base/src/TROOT.cxx:
Add one more protection in TROOT::IgnoreInclude to avoid a warning message with VisualC++.
2001-05-18 18:42 brun
* base/src/TROOT.cxx:
Add a protection in TROOT::GetInclude when calling strcmp.
With VisualC++, the argument to strcmp cannot be null.
The case with null arguments happen when parsing header files such as iostream.h.
2001-05-18 17:57 brun
* tree/src/: TLeafB.cxx, TLeafD.cxx, TLeafF.cxx, TLeafI.cxx,
TLeafS.cxx:
Modify the TLeaf Readbasket functions to compute fNdata when there is a leaf count.
This solves a problem reported my Miroslav Helbich when doing a tree.Draw
in the function filling the Tree.
2001-05-18 08:47 brun
* html/src/THtml.cxx:
Mods in THtml::MakeIndex. The test looking for the source directory
containing the string /src/ was too restrictive and not producing a correct
index in case a user has class names in directories like /a/src/xxx/MyClass.cxx.
2001-05-17 15:36 brun
* meta/src/TStreamerInfo.cxx:
Implement support for TArrays (case kAny) in TStreamer::WriteBuffer.
This is necessary for backward compatibility when the dictionary
information is not available.
2001-05-17 14:38 rdm
* config/rootrc.in:
correct path of Html.SourceDir for Windows. Rerun ./configure to activate.
2001-05-17 12:58 brun
* tree/src/TBranchElement.cxx:
Pointer fBranchCount2 was not initialized in the constructor with a TClonesArray.
2001-05-17 12:57 rdm
* base/: inc/TROOT.h, src/TROOT.cxx:
new static method SetMacroPath() which allows the macropath to be
changed or reset. For example:
TROOT::SetMacroPath(TString(TROOT::GetMacroPath())+":~/mymacros")
will add the directory "~/mymacros" to the macro search path and
TROOT::SetMacroPath("")
will reset it to the original value.
2001-05-17 12:57 brun
* eg/inc/TParticle.h:
Add a protection in TParticle::GetNdaughters in case the first and second daughter
have not been correctly set. The function returns 0 daughters if the second daughter
is lesss or equal to 0.
2001-05-17 09:39 brun
* hist/src/TF1.cxx:
Several mods in the Copy constructor in case the TF1 object passed as argument
has been built with the default constructor.
2001-05-17 08:45 brun
* eg/: inc/TDatabasePDG.h, src/TDatabasePDG.cxx:
Move TDatabasePDG::Instance from inline to the implementation file.
Because of Windows/VC++ one cannot reference a global variable in an inline function.
2001-05-16 21:13 brun
* graf/src/TGraphErrors.cxx:
Protection in TGraphErrors::Set in case the parameter n is less than fNpoints.
Thanks Eddy Offermann.
2001-05-16 18:23 rdm
* x11/inc/TGX11.h, x11/src/TGX11.cxx, x3d/inc/x3d.h, x3d/src/x3d.c:
added support for TrueColor X11 servers with bgr instead of rgb (or any
other permutation for that matter), like eXceed.
2001-05-16 12:21 brun
* base/inc/TDirectory.h:
Add two new functions TDirectory::GetCreationDate and GetModificationDate.
2001-05-16 10:55 brun
* html/src/THtml.cxx:
Set unitialized array fCounter (thanks Axel Naumann).
Remove test with "_" in THtml::MakeIndex. This test was to support the old Root
file names and prevents user classes to contain a "_"
2001-05-16 10:53 brun
* winnt/src/TWin32Timer.cxx:
Fix a bug (thanks Axel Naumann) in ROOT_TimerLoop.
Statement:
if (msg.hwnd == NULL &(msg.message == ROOT_CMD || msg.message ...
should be
if (msg.hwnd == NULL && (msg.message == ROOT_CMD || msg.message...
2001-05-16 09:41 brun
* tree/src/TBranchElement.cxx:
In GetValue remove an unreachable statement
2001-05-16 08:46 brun
* treeplayer/src/TTreeFormula.cxx:
From Philippe. Several protections and new code to support variable length arrays
in classes in TClonesArray (not yet finished)
2001-05-16 08:44 brun
* tree/src/TBranchElement.cxx:
Fix by Philippe in the TBranchElement constructor to set the branch/leaf title
to follow the convention expected by TTreeFormula in case of arrays.
2001-05-16 08:39 brun
* utils/src/rootcint.cxx:
When generating the code for arrays of pointers to TObject*, one must cast
to (TObject*) to avoid ambiguous overload for `TBuffer & << TH1D *&'
2001-05-15 19:10 brun
* utils/src/rootcint.cxx:
Improve support for STL map in the following cases:
-the first argument is a pointer or an object
-the second argument is a pointer or an object
-first or/and second argument are STL string.
2001-05-15 19:09 brun
* tree/src/TBranchElement.cxx:
Fix a cast problem with strstr (Solaris only).
2001-05-15 16:19 rdm
* test/guiviewer.cxx:
call TGClient::ForceRedraw() to properly update the sliders (and not only
after stopping the dragging).
2001-05-15 16:17 rdm
* gui/: inc/TGClient.h, src/TGClient.cxx:
new method ForceRedraw() which sets a flag that tells the GUI to call
DoRedraw() next time in the event processing loop instead of waiting
till there are no more X11 server events. For example of usage see
test/guiviewer.cxx.
2001-05-15 12:10 rdm
* base/src/TQObject.cxx:
after a fix in CINT the ~TQObject method emits again the "Destroyed()" signal.
2001-05-15 12:05 rdm
* utils/src/rootcint.cxx:
merged new GetClassVersion() function by Philippe.
2001-05-15 09:53 brun
* tree/src/TBranchElement.cxx:
In case of multi-dimensional arrays in the class of a TClonesArray,
set the title for the branch and the leaf to be of the form
fCovar[fTracks_][3][4]
2001-05-15 09:51 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::ReadBufferClones implement the same logic already implemented
in ReadBuffer for the case kAny and the TArray classes.
With this change, one can read a class in a TClonesArray containing a TArray member
and without the class library.
2001-05-14 18:27 brun
* g3d/inc/TGLViewerImp.h, gl/src/TRootOIViewer.cxx:
Some improvements by Valery in the Inventor interface.
2001-05-14 11:37 brun
* base/inc/RVersion.h, build/version_number:
Set version 3.01/02
2001-05-14 10:41 rdm
* cint/inc/G__ci.h:
fix compilation problem on Windows.
2001-05-14 08:44 brun
* star/: inc/TDsKey.h, inc/TFileIter.h, inc/TFileSet.h,
src/TDataSetIter.cxx, src/TFileSet.cxx, src/TObjectSet.cxx:
Previous update of STAR classes from Valery was wrong.
2001-05-14 08:43 brun
* g3d/src/TPadOpenGLView.cxx:
New version from Valery
2001-05-14 08:42 brun
* histpainter/src/THistPainter.cxx:
Comment unused code (keep the commented code in view of future changes)
2001-05-13 20:03 rdm
* cint/inc/fproto.h:
add prototype for G__fgetstream_spaces.
2001-05-13 19:46 rdm
* cint/: inc/G__ci.h, include/_stdexcept.h, include/mkincld.c,
include/stdexcept, include/unistd.h, lib/dll_stl/README.txt,
lib/dll_stl/se.h, lib/dll_stl/setup, lib/dll_stl/setup.bat,
lib/dll_stl/setupbc.bat, lib/prec_stl/exception,
lib/prec_stl/stdexcept, lib/stream/stdiostr.h, lib/stream/strm.h,
src/error.c, src/expr.c, src/func.c, src/ifunc.c, src/malloc.c,
src/newlink.c, src/parse.c, src/pcode.c, src/var.c, stl/pair:
import of CINT 5.14.87.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-05-13 19:44 rdm
* cint/lib/dll_stl/: setuphp, setupsun:
removed from 5.14.87.
2001-05-13 13:10 brun
* star/: inc/TDataSet.h, inc/TObjectSet.h, inc/TTable.h,
inc/TTableDescriptor.h, src/TDataSet.cxx, src/TFileIter.cxx,
src/TTable.cxx, src/TTableDescriptor.cxx:
New version of several STAR classes from Yuri Fisiak.
2001-05-13 12:49 brun
* tree/src/TBasket.cxx:
In TBasket::SetReadMode, one must recompute fLast in case ion switches between read and write
mode into the same basket.
2001-05-13 08:54 brun
* hist/src/TH2.cxx:
In TH2D::DrawCopy pass teh argument option to AppendPad
2001-05-11 22:42 brun
* tree/src/TBranchElement.cxx:
Modify TBranchElement::Fill to increment fEntries in case of a top
level branch that is not a TClonesArray..
2001-05-11 19:20 rdm
* x11/inc/TGX11.h, x11/src/GX11Gui.cxx, x11/src/TGX11.cxx,
x11ttf/src/TGX11TTF.cxx, x3d/src/x3d.c:
new methods AllocColor() and QueryColors() that reduce the expensive
X11 round-trip commands XAllocColor and XQueryColor in case of TrueColor
displays.
2001-05-11 19:13 rdm
* gpad/src/TPad.cxx:
fix bug in opaque move and resize mode when TView is active.
2001-05-11 19:13 rdm
* base/inc/RConfig.h, config/root-config.in:
detect MS Visual C++ compiler using _MSC_VER ifdef.
2001-05-11 19:06 brun
* tree/: inc/TBranchElement.h, src/TBranchElement.cxx:
Add a new member fBranchCount2.
This new member points to the secondary branchcount
in case a TClonesArray element has itself a branchcount.
Example in Event class with TClonesArray fTracks of Track objects.
if the Track object has two members
Int_t fNpoint;
Float_t *fPoints; //[fNpoint]
In this case the TBranchElement fTracks.fPoints has
-its primary branchcount pointing to the branch fTracks
-its secondary branchcount pointing to fTracks.fNpoint
In TBranchElement::GetValue, the branches holding the primary and secondary
branchcount must be read before reading the branch itself.
TTreeFormula must still be adapted (Philippe) to take into account this case.
2001-05-11 14:53 brun
* tree/src/TBranchObject.cxx:
Add protection against branch=0 in TBranchObject::GetEntry.
2001-05-11 14:52 brun
* tree/src/TTree.cxx:
Add protections against missing branches in TTree::GetBranch.
A branch pointer can be null if a user has derived a branch from TBranchObject
and his class missing when using the Tree in a Root standalone mode.
2001-05-11 11:52 brun
* main/src/h2root.cxx:
take into account lower case conversion in case of indexed arrays
(thanks Dominik Dannheim)
2001-05-11 11:34 brun
* base/inc/RVersion.h, build/version_number:
set version number to 3.01/01
2001-05-11 11:31 brun
* tree/: inc/TTree.h, src/TTree.cxx:
To get the old branch style, use the static function TTree::SetBranchStyle(0);
Default split level has been set to 99 instead of 1 except when calling
the function TTree::BranchOld.
Add an additional optional argument splitlevel=99 in the Branch function
with a TList*.
Replace the unused 3rd argument of the TTree constructor (maxvirtualsize)
by the optional argument splitlevel=99.
Note that the new TTree constructor can now create automatically a branch
hierarchy from an existing folder structure when the first character
of the title starts with a "/"
2001-05-11 10:28 brun
* meta/src/TStreamerInfo.cxx:
Add special case in TStreamerInfo::ReadBuffer when reading classes not
derived from TObject (kAny case) and when the class library is missing.
Add special case in kAny when reading back TArray classes. The TArray
Streamers are not compatible with ReadBuffer (no byte count).
2001-05-11 09:09 brun
* tutorials/: Quad.h, Quad.cxx:
Remove invisible characters in the Quad example files.
2001-05-10 18:05 brun
* tree/src/TTree.cxx:
Modify TTree::Bronch to support the case of a top level branch for which
IgnoreTObjectStreamer has been called.
2001-05-10 16:31 rdm
* base/inc/TCanvasImp.h, gpad/src/TCanvas.cxx,
gui/inc/TRootCanvas.h, gui/src/TRootCanvas.cxx,
win32/inc/TWin32Canvas.h:
additional change for Denis Bertini's Qt interface. Add Close() method to
TCanvasImp().
2001-05-10 10:52 rdm
* build/win/ld.sh, config/Makefile.win32, config/root-config.in,
main/Module.mk:
changes to build h2root on Windows.
2001-05-10 09:48 brun
* tree/src/TTree.cxx:
Mod in TTree::GetEntriesFriend to support friends of friends.
This funny, but possibly useful case, should work. However, the case
of circular dependencies is not yet protected.
2001-05-10 09:42 brun
* hist/src/TH2.cxx:
Fix a bug in TH2::ProfileX (Thanks Eddy Offermann).
In case of variable size bins, a test was made on the Y axis instead of the X axis.
2001-05-09 20:01 rdm
* test/: vmatrix.cxx, vvector.cxx:
on MacOS X we need a TApplication object to make sure all dictionaries
are properly initialized.
2001-05-09 19:53 rdm
* cont/: inc/TClonesArray.h, src/TClonesArray.cxx:
new method New(Int_t idx), which returns an object of type fClass created
with the default ctor at the specified index in the clones array. A request
by Pasha Murat.
2001-05-09 19:50 rdm
* base/src/TApplication.cxx:
fix also the handling of command line arguments like hsimple.C++.
2001-05-09 15:30 brun
* README/CREDITS:
Add new contributors and update existing contributions.
2001-05-09 15:30 brun
* base/src/TROOT.cxx:
Modify TROOT::GetColor to test if the argument color is in the list of
valid colors.
2001-05-09 15:28 brun
* base/src/TColor.cxx:
Use TObjArray::AddAtAndExpand instead of AddAt in the TColor constructor.
2001-05-09 15:27 brun
* base/: inc/TStyle.h, src/TStyle.cxx:
Add new static function:
TStyle::CreateGradientColorTable
(function provided by Andreas Zoglauer <zog@mpe.mpg.de>)
This function computes colors with a definition similar to the povray-definition of gradient
color tables. (DeepSea palette).
The function TStyle::SetPalette has been updated to take advantage of the new function.
if ncolors > 50 and colors=0, the DeepSea palette is used.
2001-05-09 15:09 rdm
* test/: guiviewer.cxx, guiviewer.h:
change HandleButton and HandleSlider to DoButton and DoSlider. Were hiding
TGFrame::HandleButton.
2001-05-09 15:08 rdm
* base/src/TApplication.cxx:
check if command line argument exists in MacroPath (old behviour, while
retaining the other fixes).
2001-05-09 01:44 rdm
* rint/src/TRint.cxx:
don't ignore -q option in case no valid files arguments were found.
2001-05-09 01:29 rdm
* g3d/Module.mk, x3d/Module.mk:
correct location of X3DDefs.h.
2001-05-08 22:30 brun
* meta/src/TClass.cxx:
The TObjArray containing the list of TStreamerInfo objects is now created
with fLowerBound=-1 to support the case for old files written with versions
older than 3.00 and containing old non-portable types like ULong_t or calls
to functions like ReadArray.
Many calls to TObjArray::UncheckedAt replaced by the new improved TObjArray::At.
Thanks to Victor.
2001-05-08 22:28 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerInfo.cxx:
Add changes from Victor to support old Root files using the old ULong_t types
or the old ReadArray functions.
New functions added:
TStreamerInfo::BuildFake
TStreamerInfo::SetClassVersion
2001-05-08 20:11 rdm
* x3d/: inc/x3d.h, src/x3d.c:
finally fixed x3d for 15 and 16 bit true color visuals.
2001-05-08 16:21 brun
* cont/inc/TObjArray.h:
Uncomment the line setting flast=-2 in the implementation of the [] operator.
When the [] operator is used as a leftvalue, fLast is set to -2
to indicate that the real number of entries in the TObjArray must be recomputed
by TObjArray::GetLast.
2001-05-08 16:01 rdm
* hist/src/TH1.cxx:
fix in TH1::Copy. Parent of axis was not correctly set.
2001-05-08 15:53 rdm
* gui/inc/WidgetMessageTypes.h:
Fix to allow user defined messages with id > 1000. Contributed by Ch. Lackas.
2001-05-08 15:43 rdm
* rootd/src/rootd.cxx, unix/src/TUnixSystem.cxx:
ifdef's for FreeBSD by A. Isupov.
2001-05-08 11:17 brun
* cont/: inc/TObjArray.h, src/TObjArray.cxx:
Function TObjArray::At declared inline.
2001-05-07 20:44 rdm
* gui/src/TGTableLayout.cxx:
remove compiler warning.
2001-05-07 20:41 rdm
* Makefile, README/README, base/src/TColor.cxx,
build/unix/makelib.sh, cint/lib/stream/stdiostr.h,
cint/lib/stream/strm.h, config/Makefile.macosx, g3d/src/TXTRU.cxx,
hist/src/TMultiDimFit.cxx, hist/src/TPrincipal.cxx,
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/Makefile.in,
test/vmatrix.cxx, test/vvector.cxx:
additional MacOS X changes by Keisuke Fujii.
2001-05-07 14:38 brun
* star/src/TTable.cxx:
Update call to TGaxis::Optimize (now static function) and remove
the static TGaxis object.
2001-05-07 14:37 brun
* tree/inc/TBranchElement.h:
Add new functions
TBranchElement::IsBranchFolder
and
TBranchElement::setBranchFolder
When a branch is created from an existing TFolder structure, the bit is set
to distinguish this type of branch such that the folder structure can be rebuilt.
2001-05-07 14:34 brun
* treeplayer/src/TTreePlayer.cxx:
Modify the call to TGaxis::Optimize (now a static function).
Remove the instantiation of a TGaxis static object.
2001-05-07 14:33 brun
* tree/: inc/TTree.h, src/TTree.cxx:
Implement the Notify function. Notify is called when loading a new class
library. In this case TTree::Notify loops on all leaves and invoke their
Notify function.
2001-05-07 14:32 brun
* tree/: inc/TLeafObject.h, src/TLeafObject.cxx:
Implement TLeafObject::Notify. This function is called when a new class
library is loaded and a fake class is replaced by the true class.
the member fClass is now correctly updated.
2001-05-07 14:28 brun
* graf/: inc/TGaxis.h, src/TGaxis.cxx:
Function TGaxis::Optimize is now a static function. An additional optional
argument has also been added.
2001-05-07 03:00 rdm
* cint/: inc/G__ci.h, include/platform.h, include/pthread.h,
include/unistd.h, include/windows.h, include/GL/gl.h,
include/GL/glu.h, include/GL/glut.h, include/GL/xmesa.h,
include/X11/Xlib.h, include/X11/Xutil.h, include/X11/keysym.h,
include/X11/xos.h, include/sys/ipc.h, lib/README.txt, lib/setup,
lib/gl/GL.h, lib/gl/README.txt, lib/gl/TOP.h, lib/gl/setup,
lib/win32api/winfunc.h, lib/xlib/README.txt, lib/xlib/TOP.h,
lib/xlib/XLIB.h, lib/xlib/setup, lib/xlib/x11const.h,
lib/xlib/x11mfunc.h, src/disp.c, src/func.c, src/init.c,
src/macro.c, src/parse.c:
import of CINT 5.14.86 (previous version was 5.14.85 but I erroneously
mentioned it was 5.14.86).
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-05-07 02:22 rdm
* base/: inc/TColor.h, src/TColor.cxx:
delay the calling of XAllocColor() for systems with >8 planes, also optimize
the number of times XAllocColor() is called for the _dark and _light colors.
XAllocColor() is very expensive since it waits for an answer from the X server
before returning. This optimization reduces the startup time of root.exe from
30sec to 10sec over a 64Kbps ISDN line.
2001-05-07 02:13 rdm
* x11/src/TGX11.cxx:
disable XWarpPointer() since it causes an X11 error (BadWindow) when called
from ProcessEvents() while in a main loop which also calls X. It's usage is
anyway discouraged.
2001-05-07 02:09 rdm
* base/src/TApplication.cxx:
correct problem with handling directory and file arguments. Also the option
-display host:0 works without warning now.
2001-05-07 02:08 rdm
* base/inc/RConfig.h:
if __linux is defined and not linux then define linux too.
2001-05-04 19:27 brun
* main/src/h2root.cxx:
Implement a new value option for the parameter tolower.
if tolower = 1, variable names are converted to lower case, first character converted to upper case
if tolower = 2, variable names are converted to lower case
2001-05-04 15:32 brun
* meta/src/TClass.cxx:
Modify the TClass constructor (Philippe) when swapping from the fake class
to a shared lib containing the real class.
2001-05-04 15:20 brun
* minuit/src/TMinuit.cxx:
Fix a problem when printing the Minuit printing level.
2001-05-04 15:19 brun
* hist/src/TF1.cxx:
Add some comments in the TF1 constructor to mention the new developments
by John Odonnell to support recursive functions definitions.
2001-05-04 15:18 brun
* gpad/src/TPad.cxx:
In TPad::PaintBox, take into account case when the box has been defined
with x2 < x1 or y2 < y1.
2001-05-04 15:17 brun
* g3d/src/TNode.cxx:
In the TNode constructor, call ImportShapeAttributes also for the top level node.
2001-05-03 17:07 brun
* hist/: inc/TFormula.h, src/TFormula.cxx:
TFormula supports now recursive functions definitions.
****Thanks to a great work by John Odonnel (odonnell@lanl.gov).*****
For example, the following macro now works correctly:
{
TF1 *fcos = new TF1 ("fcos", "[0]*cos(x)", 0., 10.);
fcos->SetParNames( "cos");
fcos->SetParameter( 0, 1.1);
TF1 *fsin = new TF1 ("fsin", "[0]*sin(x)", 0., 10.);
fsin->SetParNames( "sin");
fsin->SetParameter( 0, 2.1);
TF1 *fsincos = new TF1 ("fsc", "fcos+fsin");
TF1 *fs2 = new TF1 ("fs2", "fsc+fsc");
}
The patch involves passing the current parameter offset value into the next
call of TFormula::Analyze. A new argument has been added to this function.
The case of recursively including some other functions e.g. "gaus(0)" has
probably been fixed in the patch, but not all of them. thus "pol?(0)"
is not yet handled correctly.
2001-05-03 10:56 rdm
* test/: Makefile.in, guiviewer.cxx, guiviewer.h,
guiviewerLinkDef.h:
added new GUI test program guiviewer by Brett Viren. It demonstrates the
new TGTableLayout plus a nice way of integrating several canvases, axis
and sliders.
2001-05-02 22:44 brun
* meta/src/TCint.cxx, meta/src/TClass.cxx,
tree/src/TLeafObject.cxx, treeplayer/src/TTreeFormula.cxx:
Add new code from Philippe to support, eg
T.Draw("event.GetHistogram()->GetMean()")
T.Draw("event.fH.fNcells").
The modification in TClass in needed to allow for TClass::GetMethod to properly
return method that allocated more than 1 parent class removed (i.e a function
in TObject for TTree).
Also, eventhough the result is correct, the modifications is not optimal
for speed
of execution of the GetMethod method.
2001-05-02 16:18 rdm
* gui/: inc/TGTableLayout.h, src/TGTableLayout.cxx:
fix compilation problem on Solaris.
2001-05-02 13:45 rdm
* gui/: inc/TG3DLine.h, inc/TGButton.h, inc/TGButtonGroup.h,
inc/TGCanvas.h, inc/TGComboBox.h, inc/TGDoubleSlider.h,
inc/TGFSComboBox.h, inc/TGFSContainer.h, inc/TGFileDialog.h,
inc/TGFrame.h, inc/TGIcon.h, inc/TGLabel.h, inc/TGListBox.h,
inc/TGListTree.h, inc/TGListView.h, inc/TGMenu.h,
inc/TGProgressBar.h, inc/TGScrollBar.h, inc/TGSlider.h,
inc/TGSplitter.h, inc/TGStatusBar.h, inc/TGTab.h, inc/TGTextEdit.h,
inc/TGTextEntry.h, inc/TGTextView.h, inc/TGToolBar.h, inc/TGView.h,
inc/TRootEmbeddedCanvas.h, src/TGFileDialog.cxx,
src/TGScrollBar.cxx:
fixes in header files to not use directly static data members as default
arguments. This does not work on Windows due to export problems of these
statics. Use now static Getters instead.
2001-05-02 10:49 rdm
* icons/: branch_folder_s.xpm, branch_folder_t.xpm, first_t.xpm,
last_t.xpm, next_t.xpm, object_folder_s.xpm, object_folder_t.xpm,
previous_t.xpm, record_t.xpm, stop_t.xpm:
renamed some icons and patched up some others (making background transparent
instead of grey).
2001-05-02 10:46 rdm
* icons/: Branch16.xpm, Branch32.xpm, Object16.xpm, Object32.xpm:
renamed to branch_folder and object_folder to be consistent with other
icons names.
2001-05-02 02:52 rdm
* gui/inc/LinkDef1.h, gui/inc/TGLayout.h, gui/inc/TGTableLayout.h,
gui/src/TGTableLayout.cxx, README/CREDITS, gui/Module.mk:
new GUI TGTableLayout manager by Brett Viren.
The TGTableLayout manager places child frames in a table. It uses
TGTableLayoutHints (not TGLayoutHints). See TGTableLayoutHints
for how to use these. This manager works like TGMatrixLayout with
the addition that:
- Child frames can span more than one column/row.
- Child frames can resize with the frame.
- Column and row sizes are not fixed nor (optionally) homogeneous.
- The number of columns and rows must be fully specified.
2001-04-30 22:21 brun
* icons/: Branch16.xpm, Branch32.xpm, Object16.xpm, Object32.xpm:
New icons in 16x16 and 32x32 format for branch and object from Suzanne.
2001-04-30 19:49 rdm
* test/stress.cxx:
set style=1 as default argument in stress().
2001-04-30 19:48 rdm
* man/makecint.1, cint/inc/G__ci.h, cint/lib/prec_stl/deque,
cint/lib/prec_stl/list, cint/lib/prec_stl/map,
cint/lib/prec_stl/memory, cint/lib/prec_stl/multimap,
cint/lib/prec_stl/multiset, cint/lib/prec_stl/set,
cint/lib/prec_stl/vector, cint/lib/pthread/Makefile,
cint/src/error.c, cint/src/expr.c, cint/src/func.c,
cint/src/ifunc.c, cint/src/init.c, cint/src/input.c,
cint/src/new.c, cint/src/newlink.c, cint/src/parse.c,
cint/src/pcode.c, cint/src/struct.c, cint/src/tmplt.c,
cint/src/typedef.c, cint/src/val2a.c:
import of CINT 5.14.86.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-04-30 19:11 brun
* tutorials/myfit.C:
Replace test
if ((par[2])
by
if ((par[2] != 0)
First option only valid for comparing integers !
2001-04-30 18:16 brun
* treeplayer/src/TTreeFormula.cxx:
Replace several calls to TObjArray::AddAt by AddatAndExpand to support complex formula
involving more than 16 operators.
2001-04-30 17:08 brun
* tree/inc/TBranchElement.h, tree/src/TBranchElement.cxx,
treeplayer/src/TTreeFormula.cxx:
TBranchElement now inline function.
Bypass one call to TBranch::GetEntry by cally simply TBranchElement::GetNdata
in TTreeFormula::GetNdata.
2001-04-28 18:31 rdm
* base/src/TTimer.cxx:
use Length() instead of strlen() to get the length of a TString.
2001-04-28 18:30 rdm
* gui/: inc/LinkDef1.h, inc/TGClient.h, inc/TGWindow.h,
src/TGClient.cxx, src/TGWindow.cxx:
changes for the handling of foreign windows, i.e. windows not created by
the ROOT GUI. This are typically windows and widgets created by Xt and Xm.
On how to use these new features see the TRootOIViewer.cxx code.
2001-04-28 18:27 rdm
* gl/: Module.mk, src/TRootGLKernel.cxx:
To build Open Inventor interface, instead of plain OpenGL interface, you need
to install OpenInventor (see http://oss.sgi.com/projects/inventor). The
build of this interface is triggered by the environment variable IVROOT
being set (see Open Inventor installation doc).
2001-04-28 18:24 rdm
* g3d/src/TPadOpenGLView.cxx:
cleanup a comment.
2001-04-28 18:23 rdm
* gl/: inc/TRootOIViewer.h, src/TRootOIViewer.cxx:
Open Inventor interface. Original code by Valery Fine, Xt event loop
integration by me.
2001-04-28 13:43 brun
* tree/src/TBranchElement.cxx:
Simply TBranchElement::GetNdata. New version returns only fNdata since fNdata
is computed by a previous call to GetEntry.
2001-04-28 13:42 brun
* treeplayer/src/TTreeFormula.cxx:
Modify logic in TTreeFormula::GetNdata in case of a TLeafElement with a branchcount.
The previous logic was reading all the branches of a branch with a branchcount.
Now read only the minimum necessary.
2001-04-28 13:39 brun
* tree/src/TBranchObject.cxx:
Add a protection in TBranchObject::Print.
2001-04-28 10:52 brun
* gpad/src/TPad.cxx:
Modify TPad::PaintBox to force the box width/height to be at least one pixel.
2001-04-28 09:49 brun
* treeplayer/src/TTreePlayer.cxx:
Modify several functions previously calling TTree::GetEntries
to call instead TTree::GetEntriesFriend.
2001-04-28 09:47 brun
* tree/: inc/TTree.h, src/TTree.cxx:
Implement a new function TTree::GetEntriesFriend().
This function returns the number of entries in the first friend Tree
in case the number of entries in the Tree is null.
This is useful in the following case
TTree t;
t.AddFriend("t1","file1.root");
t.AddFriend("t2","file2.root");
t.Draw(t1.x:t2.y");
Modify the TTree default constructor to initialize several members
used to support the case above.
Modify function TTree::Print.
When the option "all" is specified, TTree::Print prints the list
of its own branches + all its friend Trees.
2001-04-28 00:33 rdm
* gui/src/TGFSComboBox.cxx:
fix small memory leak.
2001-04-27 21:06 brun
* base/src/TROOT.cxx, meta/inc/TDataMember.h,
meta/src/TDataMember.cxx, meta/src/TStreamerElement.cxx,
meta/src/TStreamerInfo.cxx:
Several changes by Philippe in the code dealing with STL and templated classes.
2001-04-27 19:29 brun
* tree/inc/TLeafObject.h, tree/src/TLeafObject.cxx,
treeplayer/src/TTreeFormula.cxx:
Changes by Philippe to support queries to non-split trees in case the classes
are missing.
2001-04-27 12:18 brun
* meta/src/TStreamerInfo.cxx:
Mods in TStreamerInfo::ReadBuffer to read a complete Streamed object
without the class library.
2001-04-27 10:03 brun
* tree/src/TFriendElement.cxx:
Initialize fParentTree to the current Tree in the default constructor.
This is necessary when reading a Tree with a list of friends.
2001-04-27 10:01 brun
* tree/src/TTree.cxx:
In the TTree destructor, set fDirectory=0 only when the list of friends
has been deleted.
2001-04-27 09:09 brun
* treeplayer/src/TTreeFormula.cxx:
One more change in original Philippe's code.
There is a redefinition of a default argument.
Double_t TFormLeafInfoClones::GetValue(TLeaf *leaf, Int_t instance = 0) {
2001-04-27 09:05 brun
* treeplayer/src/TTreeFormula.cxx:
The original TTreeFormula from Philippe did not compile on non gcc systems.
One must define TFormLeafInfoClones::GetValue(char *where...)
2001-04-27 08:59 brun
* treeplayer/: inc/TTreeFormula.h, src/TTreeFormula.cxx:
This updates by Philippe allows for all of the stress9 draw command
to be run on streamed (with shared library for now, see below) or
split leaves.
Things not implemented yet.
- following pointers other that TClonesArrays pointer (this should
be done soon).
- chains of methods (i.e fH.GetXaxis()->GetSomethingElse()
- callings methods on data members of a streamed class.
2001-04-27 08:55 brun
* base/src/TBuffer.cxx:
n TBuffer::ReadObject add support for the case when reading a fake class.
In this case, instead of calling Streamer (missing by definition), the function
calls the class::ReadBuffer instead. When this happens, a Warning is printed
just in case the call to ReadBuffer may be wrong if the class was wriiten
by a custom Streamer.
2001-04-27 08:35 brun
* tree/src/TBasket.cxx:
Fix in TBasket::Streamer to take into account a complex case when
one reads an entry in the first basket, an entry in the last basket
then Fill again the Tree. (Thanks Anton Fokin for reporting this problem).
2001-04-27 08:32 brun
* main/src/h2root.cxx:
Array charflag was not preset to 0. Since the removal of libNew.so, hbook
columns with arrays of chars could not be translated.
Thanks to Tony Johnson for reporting.
2001-04-25 17:46 brun
* tree/: inc/TBranchElement.h, src/TBranchElement.cxx:
Move TBranchElement::GetNdata from inline to the implementation file.
In case of a branchcount GetNdata calls the branchcount GetNdata.
2001-04-25 16:38 rdm
* base/inc/RConfig.h:
enable R__VECNEWDELETE and R__PLACEMENTDELETE for VISUAL_CPLUSPLUS.
2001-04-25 16:05 brun
* tree/src/TBranchElement.cxx:
Some changes in ReadLeaves and GetValue in case of fStreamerType=6 (array
of basic types with an index [n])
2001-04-25 16:03 brun
* hist/: inc/TProfile.h, src/TProfile.cxx:
Add a transient data member Bool_t fScaling.
Fix a bug in the Add functions when computing the resulting errors.
The square of the mulktiplication coefficient must be used.
When TProfile::Scale is called, the flag fScaling is set to kTRUE.
When this flag is set, the Add function does not change the number of entries per bin.
2001-04-24 17:05 brun
* tree/src/TBranchElement.cxx:
Remove a forgotten printf
2001-04-24 16:40 rdm
* meta/src/TClass.cxx:
correct spelling of "placement".
2001-04-24 16:40 rdm
* rootd/src/rootd.cxx:
fixes for anonymous ftp.
2001-04-24 16:32 brun
* test/MainEvent.cxx:
Implement option to use the old branch style.
By default Event uses the new branch style.
To use the old branch style, specify teh split value negative, eg:
Event 200 0 -1 1
generates 200 events in the old split mode.
2001-04-24 16:31 brun
* meta/src/TClass.cxx:
Make message more explicit in TClass::New when the creation fails.
2001-04-24 16:30 brun
* tree/src/TBranchElement.cxx:
Set name and title for branches and leaves to follow the old branch/leaf naming convention.
Add protections in the Fill function in case one attempts to Fill a branch
and no branch address is set.
2001-04-24 16:28 brun
* meta/src/TStreamerInfo.cxx:
Use new function TStreamerElement::GetTypeNameBasic instead of GetTypeName.
2001-04-24 16:27 brun
* meta/: src/TStreamerElement.cxx, inc/TStreamerElement.h:
Add new function GetTypeNameBasic.
This new function returns the basic type name known to CINT in case
the type is not one of the basic types registered to the ROOT GetListOfTypes.
This function is used by TFile::MakeProject and TStreamerInfo::GenerateHeaderFile.
2001-04-23 18:08 brun
* minuit/src/TMinuit.cxx:
Add a comment in TMinuit::Contour to point to the new tutorial fitcont.C
2001-04-23 18:07 brun
* tutorials/fitcont.C:
Add new tutorial illustrating how to get a contour from TMinuit in graphical form
2001-04-23 16:12 rdm
* build/package/rpm/: head.spec.in, libroot-dev.spec.in,
libroot.spec.in, root-bin.spec.in, root-cint.spec.in,
root-daemon.spec.in, root-gl.spec.in, root-mysql.spec.in,
root-pythia.spec.in, root-shift.spec.in, root-star.spec.in,
root-ttf.spec.in, root-zebra.spec.in, tail.spec.in,
task-root.spec.in:
part of debian and redhat packaging system.
2001-04-23 16:11 rdm
* build/package/lib/: common.sh, makeconfigure.sh,
makedebchangelog.sh, makedebclean.sh, makedebconffiles.sh,
makedebcontrol.sh, makedebcopyright.sh, makedebdir.sh,
makedebdocs.sh, makedebexamples.sh, makedebfiles.sh,
makedebrules.sh, makedebscr.sh, makedebshlocal.sh, makerpmclean.sh,
makerpmfiles.sh, makerpmspec.sh, makerpmspecs.sh:
part of the debian and redhat build system.
2001-04-23 16:11 rdm
* build/package/common/: README, general.dscr, libroot-dev.dscr,
libroot-dev.files, libroot.conffiles, libroot.dscr, libroot.files,
libroot.postinst, libroot.shlibs, root-bin.conffiles,
root-bin.dscr, root-bin.files, root-cint.copyright, root-cint.dscr,
root-cint.files, root-cint.postinst, root-cint.postrm,
root-cint.shlibs, root-daemon.dscr, root-daemon.files,
root-gl.dscr, root-gl.files, root-gl.postinst, root-gl.shlibs,
root-mysql.dscr, root-mysql.files, root-mysql.postinst,
root-mysql.shlibs, root-pythia.dscr, root-pythia.files,
root-pythia.postinst, root-pythia.shlibs, root-shift.dscr,
root-shift.files, root-shift.postinst, root-shift.shlibs,
root-star.dscr, root-star.files, root-star.postinst,
root-star.shlibs, root-ttf.dscr, root-ttf.files, root-ttf.postinst,
root-ttf.shlibs, root-zebra.dscr, root-zebra.files, spec.tmp,
task-root.dscr:
part of the debian and redhat packaging system.
2001-04-23 16:09 rdm
* build/package/debian/: changelog, copyright.in, head.control.in,
libroot-dev.control.in, libroot.control.in, libroot.postinst.in,
root-bin.control.in, root-bin.menu, root-cint.control.in,
root-cint.copyright.in, root-cint.postinst.in, root-cint.postrm.in,
root-cint.prerm, root-daemon.control.in, root-daemon.postinst,
root-daemon.postrm, root-daemon.preinst, root-daemon.prerm,
root-gl.control.in, root-gl.postinst.in, root-mysql.control.in,
root-mysql.postinst.in, root-pythia.control.in,
root-pythia.postinst.in, root-shift.control.in,
root-shift.postinst.in, root-star.control.in,
root-star.postinst.in, root-ttf.control.in, root-ttf.postinst.in,
root-zebra.control.in, rules.in, task-root.README.Debian,
task-root.control.in, watch:
part of the debian ad redhat package system.
2001-04-23 16:08 brun
* treeplayer/src/TTreePlayer.cxx:
Changes in TTreePlayer::MakeClass to add some protections and support
the case of TBranchElement.
2001-04-23 16:07 brun
* tree/src/TChain.cxx:
Modify function LoadTree to call SetMakeClass for the loaded Tree.
2001-04-23 16:06 brun
* tree/src/TTree.cxx:
set fMakeClass in constructors.
Modify logic in TTree::Show for the case of TBranchElement.
2001-04-23 16:05 brun
* tree/inc/TTree.h:
Add new member fMakeClass.
By default this member is null. When executing the constructor of a class
generated by TTree::MakeClass, fMakeClass is set to 1.
Add new functions GetMakeClass and SetMakeclass.
2001-04-23 16:03 brun
* tree/src/TBranchElement.cxx:
Many changes to support the special case of code generated by TTree::MakeClass.
In particular, the functions GetValue, PrintValue and ReadLeaves support two cases:
-case MakeClass. Care must be taken to access the data and store the data
in the way expected by the code of MakeClass. This was quite tricky
to implement for TClonesArray and pointers to basic types of
variable length.
- normal case
The function SetAddress has been modified to take into account the addressing
mechanism of MakeClass.
New function TBranchElement::GetTypename returning the type name of the element
in the branch.
Normalize branch names and titles, leaf names and titles to be coherent
with the other type of branches.
2001-04-23 15:55 brun
* tree/inc/: TBranchElement.h, TLeafElement.h:
Add new data member fmaximum.
Add new functions GetMaximum and GetTypeName
2001-04-23 15:53 brun
* tree/inc/TBranch.h:
Add getter for GetBasketEntry.
2001-04-23 15:53 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerInfo.cxx:
Add one more argument to Getvalue and PrintValue functions.
This argument is used when processing classes generated by TTree::MakeClass.
2001-04-23 15:20 brun
* etc/root.mimes:
Add icon for new branch types
2001-04-23 11:10 rdm
* Makefile, README/INSTALL, man/root-config.1, man/root.1,
man/rootn.exe.1:
updates by Christian Holm for making debian and RedHat packages.
2001-04-23 10:33 rdm
* base/: inc/TSystem.h, src/TEnv.cxx, src/TSystem.cxx:
remove gSystemName, use instead gSystem->GetName().
2001-04-23 10:11 brun
* win32/src/TWin32Application.cxx:
Delete function ApplicationName from implementation file.
2001-04-23 10:04 brun
* base/: inc/TSystem.h, src/TApplication.cxx, src/TEnv.cxx,
src/TSystem.cxx:
Remove global gRootName (gROOT->GetName() may be used instead).
2001-04-23 09:08 brun
* meta/src/TClass.cxx:
Remove a printf statement from the TClass constructor.
2001-04-23 01:09 rdm
* base/src/TQObject.cxx:
in Connect() don't remove the blanks in a default argument string.
Also disable the emitting of the "Destroyed" signal in the ~TQObject dtor
until Masa fixed the problem with deleting embedded compiled objects that
create objects in their dtor from interpreted objects.
2001-04-22 18:00 rdm
* base/inc/TApplication.h, base/inc/TApplicationImp.h,
base/src/TApplication.cxx, gui/inc/TRootApplication.h,
gui/src/TRootApplication.cxx, win32/inc/TWin32Application.h,
win32/src/TWin32Application.cxx:
set gRootName and the TROOT name in TApplication equal to the appClassName
argument passed to TApplication. The ROOT name is used by the TEnv system
to lookup specific settings for specific classes of applications. Before
this name was set in the TROOT ctor, but now, with the automatic TROOT object
this is not possible.
2001-04-21 22:30 brun
* main/src/h2root.cxx:
Delete call to the TROOT object.
2001-04-21 19:26 rdm
* test/Makefile.in:
distclean: remove also the cxx_repository directory created by the alpha
cxx6 compiler.
2001-04-21 19:21 rdm
* cont/src/TClassTable.cxx:
make RemoveClass() a noop so TClass objects are never deleted. This should
fix the problem of saving files still open when in the TROOT dtor.
2001-04-21 19:20 rdm
* base/: inc/RQ_OBJECT.h, inc/TQObject.h, src/TApplication.cxx,
src/TQObject.cxx, src/TROOT.cxx:
some more fixes for TROOT creation and destruction.
2001-04-21 14:23 brun
* hist/src/TH1.cxx:
Fix a problem in TH1::Add (case of 2 pointers to TH1) affecting the
computation of the resulting statistics. Thanks to Urs Langenegger.
2001-04-21 14:08 brun
* tree/src/TBranchElement.cxx:
The branch bit kBranchObject is set in the constructors when
the branch is a TObject*. When this bit is set, the functions FillLeaves
and ReadLeaves will enter this object into the buffer MapObject
in case this object is in turn pointed by its sub objects.
2001-04-21 14:04 brun
* tree/inc/TBranch.h:
Add new bit kBranchObject. When this bit is set in the branch,
the object in the branch will be entered into the buffer MapObject
when filling or reading the branch.
2001-04-21 10:56 brun
* tree/src/TBranchElement.cxx:
Modify FillLeaves and ReadLeaves for cases witg fID < 0.
For the top branches call TBuffer::MapObject with the pointer to the top level
object in the branch in case subobjects point to this top level object.
Note that in this case, the branch can be split.
2001-04-21 04:57 rdm
* base/src/TApplication.cxx, base/src/TROOT.cxx,
main/src/rmain.cxx:
move loading of RQ_OBJECT.h file from TROOT to TApplication. The loading
in TROOT could cause problems since at that point not all needed classes
are known to CINT.
2001-04-21 03:06 rdm
* test/tcollbm.cxx:
Dump() is now const.
2001-04-20 23:21 brun
* meta/inc/TStreamerInfo.h, meta/src/TStreamerInfo.cxx,
tree/inc/TBranchElement.h, tree/src/TBranch.cxx,
tree/src/TBranchElement.cxx, treeplayer/inc/TTreeFormula.h,
treeplayer/src/TTreeFormula.cxx:
From Philippe:
In tree, now allows to draw complete arrays with a double click in the browser
(before it was attempting draw one out-of-bounds element: array[max_size])
In meta, use SetReadingObject in ReadBuffer before processing the
following cases: kObjectp, kObjectP, kObject, kAny, kStreamer, kStreamLoop.
Also update the function TStreamerInfo::GetStreamerElement, to allow
TTreeFormula to properly cache the offset and type information.
In treeplayer, now correctly handle all datamember and method calls
(plus a little bit of clean-up in some calls) when in split mode.
Non-split(or streamed) mode needs more works.
2001-04-20 19:57 rdm
* test/Makefile.in:
also build tcollbm test application.
2001-04-20 19:56 rdm
* main/src/pmain.cxx, main/src/rmain.cxx, roots/src/roots.cxx,
test/MainEvent.cxx, test/bench.cxx, test/guitest.cxx,
test/hsimple.cxx, test/hworld.cxx, test/minexam.cxx,
test/stress.cxx, test/tcollbm.cxx, test/tcollex.cxx,
test/vlazy.cxx, test/vmatrix.cxx, test/vvector.cxx,
tree/src/TTree.cxx, treeplayer/src/TTreePlayer.cxx:
remove creation of TROOT object. Is now done automatically when the
system loads libCore.so. Also removed TROOT.h in several programs.
2001-04-20 19:53 rdm
* base/src/TROOT.cxx:
create a local static TROOT object which will make sure the ROOT system is
initialized as soon as its shared libraries are loaded. This removes the
need to initialize TROOT in main programs via a TROOT object.
If needed also create a default TApplication when calling ProcessLineFast().
2001-04-20 19:47 rdm
* meta/src/TClass.cxx:
if fClassInfo is not found in ctor call gInterpreter->InitializeDictionaries()
and try finding fClassInfo again. This is necessary if a user lib is loaded
after TROOT is initialized in libCore.
2001-04-20 19:41 rdm
* meta/src/TCint.cxx:
remove endless loop when calling ProcessLine() and no TApplication was
yet created.
2001-04-20 19:30 rdm
* cont/src/TClassTable.cxx:
typo in comment.
2001-04-20 19:29 rdm
* base/: inc/TQObject.h, src/TQObject.cxx:
disconnect all signals in ~TQClass.
2001-04-20 19:28 rdm
* README/README.PROOF:
correct description of invocation by inetd of proofd.
2001-04-20 14:28 brun
* histpainter/src/THistPainter.cxx:
Mods in THistPainter::PaintErrors to support option "e3" with log scales.
2001-04-20 11:47 brun
* meta/src/TStreamerInfo.cxx:
In function TStreamerInfo::New, move a statement computing a class pointer
out of the general case.
2001-04-20 11:15 brun
* tree/src/TBranchElement.cxx:
Mods in SetAddress to avoid recomputing addresses if not necessary.
Add a special case for a missing class having a TClonesArray.
SetAddress is now able to automatically instatiate the TClonesArray
even when "->" is not specified in the comment field.
2001-04-20 11:13 brun
* meta/src/TStreamerInfo.cxx:
Mods in the ReadBuffer, ReadBufferClones to support additional cases when reading
with missing classes.
2001-04-20 09:29 brun
* base/src/: TMath.cxx, TRandom.cxx:
Replave variable name "mean" by "mpv" in the Landau functions.
2001-04-20 08:17 brun
* base/src/TMath.cxx, base/src/TRandom.cxx, hist/src/TFormula.cxx:
In the Landau functions, change the name of the argument "mean"
to "mpv" (most probable value).
2001-04-19 19:31 brun
* graf/src/TGaxis.cxx:
Protect TGaxis::Optimize when crazy values are specified as input arguments.
In particular, introduce a maximum number of ticks on the axis.
2001-04-19 18:46 brun
* tree/src/TBranchElement.cxx:
In TBranchElement::ReadLeaves, fNdata must be set to 1 for fTypes<= 2.
2001-04-19 16:02 brun
* meta/src/TStreamerInfo.cxx:
Always cast to Long_t when printing pointer values.
2001-04-19 15:54 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::New use 0x%lx in format specyfing the address where
to create the object in case of a TClonesArray (required on Alpha)
2001-04-19 15:39 brun
* test/stress.cxx:
Change the reference number of lines in the ps file generated by stress16.
Due to the changes in TPostScript.
2001-04-19 15:09 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::ReadBuffer for kAny case, use CLass::ReadBuffer in case pstreamer is null.
This change allows to read an object containing another class not derived from TObject
even in case of a missing class. When this happens the data members of the missing class
are still read at the right place and can be read from TTree::Draw.
2001-04-19 11:39 brun
* hist/src/TProfile.cxx:
In TProfile::GetBinError modify the algorithm switching to the average errors
over all bins. Use the average method only when the bin population is below 5 entries.
2001-04-19 10:39 brun
* tree/src/TBranchElement.cxx:
Cleanup TBranchElement::Printvalue
2001-04-19 10:38 brun
* meta/src/TStreamerInfo.cxx:
Take into account IgnoreTObjectStreamer in TStreamerInfo::Build.
The bit is saved in TStreamerInfo.
2001-04-19 09:25 brun
* cont/src/TCollection.cxx:
Modify TCollection::ls to use the wildcarding option only when a "*" is specified
in the option. The previous algorithm had side effects in TGeometry::ls, TNode::ls.
2001-04-18 14:31 brun
* treeplayer/src/TTreePlayer.cxx:
In TTreePlayer::UnbinnedFit reset fEstimate only after the fit.
TTreePlayer::SetEstimate called by TTree::SetEstimate deletes all member arrays
of the TTreePlayer.
2001-04-18 12:24 brun
* meta/src/TStreamerInfo.cxx:
Cleanup some debug info.
2001-04-18 12:23 brun
* tree/src/TBranchElement.cxx:
Cleanup several functions removing debug printout
2001-04-18 12:21 brun
* meta/src/TClass.cxx:
In TClass::GetBaseClassOffset, add support for fake base classes.
2001-04-18 12:20 brun
* base/src/TKey.cxx:
Protect TKey::IsFolder when a key corresponds to a fake class.
2001-04-18 08:29 brun
* tree/: inc/TBranchElement.h, src/TBranchElement.cxx:
Add a new member fClonesName containing the name of the class when a branch
has a TClonesArray.
The member fObject points directly to the object in the branch.
2001-04-18 08:23 brun
* test/stress.cxx:
Additional program argument added to stress to select the old or the
new branch style. Default is the new style.
To run with the old style, do
stress -b 30 0
Running with the new default time takes 15 per cent more CPU time because
all branches are compressed. The old split mechanism with split=1 and compress=1
did not compress branches with floats.
2001-04-18 08:11 brun
* meta/inc/TStreamerInfo.h, meta/src/TClass.cxx,
meta/src/TStreamerInfo.cxx, treeplayer/inc/TTreeFormula.h,
treeplayer/src/TTreeFormula.cxx:
th this patch from Philippe one can access a datamember within a branch.
For example with a split tree of Event, one can now do:
TFile *Event = TFile::Open("Event.new.root")
T->Draw("event.fH.fNcells")
T->Draw("event.fH.GetNbinsX()")
with both the old style and the new style. It is currently
limited to one level, i.e., you still can not do:
T->Draw("event.fH.fAxis.fXmin")
2001-04-18 07:59 brun
* treeplayer/src/TTreeFormula.cxx:
From Philippe:
This version of TTreeFormula enables using method calls within the
Draw command with new style branches.
Together with the patch for TStreamerInfo, this allow stress to
work properly in the new style of branches.
However it does not completely fix the access to data member.
It is currently limited to public data member. We need to
find a function that return the offset of a datamember given
its name (this function needs to lookup in the class itself
but also in its base).
2001-04-17 18:43 brun
* tree/src/TTree.cxx:
Add cast to char* in front of a strchr to make Solaris CC5 happy.
2001-04-17 18:41 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::BuildOld, call BuildRealData for base classes.
2001-04-17 17:29 brun
* postscript/src/TPostScript.cxx:
Improve Postscript resolution for open star symbol 30.
Thanks to
Asmus <A.Meyer-Plath@epost.de>
2001-04-16 22:04 brun
* cont/src/TBits.cxx:
Fix a bug in TBits::TestBitNumber. Thanks to Helmut Schmuecker for reporting
the problem.
2001-04-16 21:16 brun
* tree/: inc/TBranchElement.h, src/TBranchElement.cxx:
Add a new data member fObject to TBranchElement.
The convention is to store:
- the address of the pointer in fAddress when fID < 0
- the pointer to the object in fObject for all cases.
This solves the problem of objects created and deleted during the Fill loop.
2001-04-16 21:15 brun
* tree/src/: TLeafB.cxx, TLeafC.cxx, TLeafD.cxx, TLeafF.cxx,
TLeafI.cxx, TLeafS.cxx:
In TLeaf classes, initializes the first buffer element to 0 when
setting the leaf addresses.
2001-04-16 21:15 brun
* g3d/src/TMaterial.cxx:
Protect TMaterial destructor in case a TGeometry object does not exist.
2001-04-13 14:35 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::WriteBuffer when writing case TObject* with option "->"
if the pointer is null, create an object of the class via the default
constructor, sets its Zombie bit and call Streamer.
In TStreamerInfo::ReadBuffer when reading TObject* with option "->"
if the object read has its Zombie bit set, delete the Zombie object and
sets the pointer to null.
When gDebug > 0, issue a Waning in both cases above.
2001-04-13 11:49 brun
* g3d/src/TNode.cxx:
Add protections in TNode::Draw and TNode::ls in case a TGeometry has not yet
been created. If this is the case, a default TGeometry is created.
2001-04-13 10:19 brun
* base/src/TBuffer.cxx:
Add protections in the Read/WriteArray functions with Long_t in case gFile is NULL.
2001-04-12 21:17 brun
* meta/inc/TStreamerInfo.h, meta/src/TStreamerInfo.cxx,
tree/inc/TBranchElement.h, tree/inc/TLeafElement.h,
tree/src/TBranchElement.cxx:
Mods by Philippe to process TClonesArray elements from TTree::Draw
2001-04-12 17:08 brun
* test/: MainEvent.cxx, stress.cxx:
Introduce call to SetBranchStyle to give the possibility to switch between the old and new
branch styles.
2001-04-12 17:07 brun
* tree/src/TTree.cxx:
Mods by Philippe in TTree::FindLeaf
2001-04-12 17:06 brun
* tree/src/TBranchElement.cxx:
Use the conevention already used to set the TLeaf title in the old TBranch classes.
Instead of a leaf title like: fVertex[3][fTracks_] use fVertex[fTracks_]
2001-04-12 17:04 brun
* tree/src/TBranch.cxx:
Mods by Philippe in TBranch::FindLeaf to support TBranchElement
2001-04-12 15:39 brun
* tree/src/TTree.cxx:
Interface TTree::Branch with TClonesArray to the new TBranchElement
if the branch style = 1.
In TTree::Bronch, move the statement disabling the optimization
of TStreamerInfoInterface TTree::Branch with TClonesArray to the new TBranchElement
if the branch style = 1.
2001-04-12 15:27 brun
* tree/src/TBranchElement.cxx:
Set pointer fBranchCount in the constructor operating on TClonesArray.
2001-04-12 10:21 brun
* base/src/TROOT.cxx:
In TROOT::GetClass exclude names with "::". When a name has "::", TCint::CheckClassInfo
returns a non null value and a fake class should not be created in this case.
Names with "::" are easily found when processing THtml::MakeClass.
2001-04-12 10:13 rdm
* gui/src/TGButtonGroup.cxx:
use Long_t instead of long.
2001-04-12 08:29 rdm
* cont/src/: TClonesArray.cxx, TObjArray.cxx:
avoid possible out-of-bounds memory access (found by Philippe with Purify).
2001-04-12 08:28 rdm
* README/INSTALL:
correct references to xpm-libdir.
2001-04-11 19:32 brun
* test/: MainEvent.cxx, TBench.cxx, bench.cxx:
Introduce calls to TTree::SetBranchStyle.
Modify stress9 to set the split level to 9 in view of the new branch style.
2001-04-11 19:31 brun
* tree/: inc/TTree.h, src/TTree.cxx:
Add new static member fgBranchStyle.
Add new static functions SetBranchStyle and GetBranchStyle.
The old TTree::Branch has been renamed TTree::BranchOld.
The new TTRee::Branch is a dispatcher calling:
- TTree::Bronch if fgBranchStyle = 1
- TTree::BranchOld if fgBranchStyle = 0
The default is fgBranchStyle=0 and will be soon set to 1.
2001-04-11 19:28 brun
* gl/inc/TRootGLViewer.h, gui/inc/TGButton.h, gui/inc/TGWindow.h:
Add forward declarations.
2001-04-11 19:26 brun
* tree/src/TLeafObject.cxx:
In TLeafObject.cxx, Philippe corrected the streamer to explicitly and properly set
fVirtual for older versions.
2001-04-11 19:25 brun
* gui/src/TGButtonGroup.cxx:
Several casts to avoid compiler warnings (Philippe)
2001-04-11 19:24 brun
* base/inc/Bytes.h:
Mod by Philippe to prevent over-zealous optimization by KCC
2001-04-11 19:09 brun
* x11/src/GX11Gui.cxx:
Protections (by Philippe) when fDisplay=0
2001-04-11 17:27 rdm
* README/CREDITS:
add guys who made port to MacOS X and Qt.
2001-04-11 17:19 rdm
* base/inc/TVirtualPad.h, base/inc/TVirtualX.h, gpad/inc/TCanvas.h,
gpad/inc/TPad.h, x11/inc/TGX11.h, x11/src/TGX11.cxx:
some changes by Denis Bertini that will allow the ROOT TCanvas et al to be
embedded in a Qt driven GUI.
2001-04-11 16:24 brun
* gui/inc/TRootEmbeddedCanvas.h, matrix/inc/TMatrix.h,
matrix/inc/TVector.h, proof/inc/TSlave.h, x3d/inc/TViewerX3D.h:
Add forward declarations corresponding to friend declarations.
2001-04-11 16:17 rdm
* base/src/TString.cxx:
fix in Hash() in case string is not word aligned.
2001-04-11 13:10 brun
* base/inc/TMapFile.h, base/inc/TString.h, gui/inc/TGButton.h,
gui/inc/TGStatusBar.h, gui/inc/TRootCanvas.h,
matrix/inc/TMatrixD.h, matrix/inc/TVectorD.h, net/inc/TCache.h,
proof/inc/TProof.h:
Add forward declarations for classes having a friend declaration.
This change is required for the new AIX C++ compiler.
2001-04-11 09:22 brun
* tree/src/TTree.cxx:
Insert a fix from Philippe in FindLeaf, FindBranch in case of Tree aliases
in friend Trees.
2001-04-11 09:21 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Fix a problem in TF1::Streamer to be compatible with version 2.25/03
when reading the fSave array. To be consistent with 3.00/06, increment
class version from 5 to 6.
(Thanks to Peter Skensved for reporting the problem).
2001-04-10 18:36 brun
* tree/src/TBranchElement.cxx:
Comment a printf statement.
2001-04-10 18:36 brun
* treeplayer/src/TTreeFormula.cxx:
Introduce fixes by Philippe to support treename.branchname.varname
Replace calls to GetLeaf by inline code.
2001-04-10 18:34 brun
* tree/: inc/TFriendElement.h, src/TFriendElement.cxx:
Add support for Tree aliases. This is useful when two files contain the same Tree
structure (Trees with same names) and one wants to correlate variables from
the two trees.
2001-04-10 18:33 brun
* tree/src/TTree.cxx:
Add documentation for TTree::AddFriend.
Insert mods by Philippe in TTree::FindLeaf. Add new code in GetBranch, GetLeaf
to support aliases in Tree friends.
2001-04-10 18:31 brun
* tree/: inc/TChain.h, src/TChain.cxx:
Add empty, but documented function TChain::AddFriend
2001-04-10 18:30 brun
* gpad/src/TPad.cxx:
Put inline code in TPad::Clip (a time consimung function) corresponding to teh code
in ClippingCode.
2001-04-10 17:27 rdm
* cont/inc/THashTable.h:
use new global function Hash(const char*) in GetHashValue(const char*).
This avoids unecessary creation and deletion of a TString object for each
call.
2001-04-10 17:25 rdm
* base/: inc/TString.h, src/TString.cxx:
added global function Hash(const char*) which internally calls the same
hash function as TString::Hash().
2001-04-10 10:39 brun
* win32/inc/TGWin32.h:
Add missing comma in prototype of CreateWindow.
2001-04-10 10:24 brun
* meta/src/TCint.cxx:
In TCint::CheckClassInfo, remove test on G__struct.alltag. It is sufficient to test
tagnum >=0. G__struct.alltag cannot be specified under Windows (cannot link).
2001-04-10 09:10 brun
* hist/src/TF1.cxx:
Fix a problem in TF1::GetSave and TF1::Save. The last saved point was not
correctly saved.
2001-04-10 08:25 brun
* g3d/src/TPolyLine3D.cxx, graf/src/TPolyLine.cxx,
hist/src/TPolyMarker.cxx:
Set the number of points fN=0 in the default constructor.
Objects of these classes created via the default constructor crashed when drawing.
(thanks to Robert Hatcher for reporting).
2001-04-09 17:33 brun
* base/src/TROOT.cxx:
Speed up TROOT::GetClass. The test on TDataType does not need to be done when a class (fake or not)
has been found.
The loop with references to CINT G__Sruct is now replaced by a call to the new function
TCint::CheckClassInfo.
Before invoking this function, check that the requested class name is not a templated class.
The function GetType has been optimized to take advantage of the THashList.
2001-04-09 16:20 rdm
* meta/: inc/TCint.h, inc/TInterpreter.h, src/TCint.cxx:
new method CheckClassInfo(). Returns kTRUE if class with specified name
is known to CINT.
2001-04-09 16:20 rdm
* meta/src/TClass.cxx:
protection against 0 for decl and impl filenames.
2001-04-09 12:35 rdm
* cint/: inc/G__ci.h, include/README.txt, lib/pthread/Makefile,
src/malloc.c, src/opr.c, src/var.c, stl/README.txt:
import of CINT 5.14.83.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-04-09 11:02 rdm
* Makefile, build/rmkdepend/imakemdep.h, eg/inc/cfortran.h:
additional MacOS X related changes.
2001-04-09 10:53 brun
* base/inc/RVersion.h:
Start new version 3.01/00
2001-04-09 10:44 brun
* build/version_number:
Now time to move to the first development version of 3.01
2001-04-09 10:42 brun
* cont/inc/TArrayF.h:
cosmetics
2001-04-09 10:41 brun
* tutorials/tree4.C:
New tutorial:
// This example writes a tree with objects of the class Event.
// It is a simplified version of $ROOTSYS/test/MainEvent.cxx to
// write the tree, and $ROOTSYS/test/eventb.C
// It shows:
// -how to fill a Tree with an event class containing these
// data members:
// char fType[20];
// Int_t fNtrack;
// Int_t fNseg;
// Int_t fNvertex;
// UInt_t fFlag;
// Float_t fTemperature;
// EventHeader fEvtHdr;
// TClonesArray *fTracks; //->
// TH1F *fH; //->
// Int_t fMeasures[10];
// Float_t fMatrix[4][4];
// Float_t *fClosestDistance; //[fNvertex]
//
// -the difference in splitting or not splitting a branch
// -how to read selected branches of the tree,
// and print the first entry with less than 587 tracks.
// -how to browse and analyze the Tree via the TBrowser and TTreeViewer
// This example can be run in many different ways:
// way1: .x tree4.C using the CINT interpreter
// way2: .x tree4.C++ using the automatic compiler interface
// way3: .L tree4.C or .L tree4.C++
// tree4()
// One can also run the write and read parts in two separate sessions.
// For example following one of the sessions above, one can start the session:
// .L tree4.C
// tree4r();
2001-04-09 10:40 brun
* tutorials/tree3.C:
New tutorial (was previously called tree1.C)
// Example of a Tree where branches are variable length arrays
// Run this script with
// .x tree3.C
// then in a new session, use, eg the TreeViewer to histogram
// the ntuple entries
// root > TFile f("tree3.root")
// root > t3->StartViewer()
2001-04-09 10:39 brun
* tutorials/tree2.C:
New tutorial:
// This example illustrates how to make a Tree from variables or arrays
// in a C struct. Use of C structs is strongly discouraged and one should
// use classes instead. However support for C structs is important for
// legacy applications written in C or Fortran.
// In this example, we are mapping a C struct to one of the Geant3
// common blocks /gctrak/. In the real life, this common will be filled
// by Geant3 at each step and only the Tree Fill function should be called.
// The example emulates the Geant3 step routines.
//
// to run the example, do:
// .x tree2.C to execute with the CINT interpreter
// .x tree2.C++ to execute with native compiler
2001-04-09 10:38 brun
* tutorials/tree1.C:
New tutorial:
// This example is a variant of hsimple.C but using a TTree instead
// of a TNtuple. It shows :
// -how to fill a Tree with a few simple variables.
// -how to read this Tree
// -how to browse and analyze the Tree via the TBrowser and TTreeViewer
// This example can be run in many different ways:
// way1: .x tree1.C using the CINT interpreter
// way2: .x tree1.C++ using the automatic compiler interface
// way3: .L tree1.C or .L tree1.C++
// tree1()
// One can also run the write and read parts in two separate sessions.
// For example following one of the sessions above, one can start the session:
// .L tree1.C
// tree1r();
2001-04-09 10:37 brun
* tutorials/twoscales.C:
Add include files for classes used by this tutorial to support the call via
.x twoscales.C++
2001-04-09 10:35 brun
* tree/src/TChain.cxx:
In LoadTree calls TTreeFormula::UpdateFormulaLeaves for each active TTreeFormula.
2001-04-09 10:33 brun
* treeplayer/: inc/TTreeFormula.h, src/TTreeFormula.cxx:
Many changes in this new version of TTreeFormula:
The functionality provided by the old static functions GetLeaf and GetBranch has been moved
to TTree::GetBranch, TTree::GetLeaf, TBranch::GetBranch and TBranch::GetLeaf.
Preliminary mods to support the new class TFriendElement.
The member fLeaves contain now pointers to the active leaves used by this TTreeFormula.
When a TChain loads a new TTree in TChain::LoadTree, the corresponding TTreePlayer object
calls the new function TTreeFormula::UpdateFormulaLeaves. This new function recomputes pointers in fLeaves
by using the names of the leaves and corresponding Trees in the new member "TObjArray fNames".
This solves a long standing problem with TChains having TTrees with classes that have evolved
compared to the first Tree in the TChain.
The Streamer function uses the automatic Streamer for the new class.
2001-04-09 10:25 brun
* tree/inc/TVirtualTreePlayer.h, treeplayer/inc/TTreePlayer.h,
treeplayer/src/TTreePlayer.cxx:
New function UpdateFormulaLeaves.
This function is called when loading a new Tree in a TChain.
This function calls TTReeFormula::UpdateFormulaLeaves for each TTreeFormula
object of a TTreePlayer.
2001-04-09 10:22 brun
* tree/inc/LinkDef.h:
Add new class TFriendElement.
2001-04-09 10:21 brun
* tree/: inc/TTree.h, src/TTree.cxx:
Many changes to reflect the upgrades in TBranchElement and TTreeFormula:
New function TTree::AddFriend
// Add a TFriendElement to the list of friends
// A TFriendElement TF describes a TTree object TF in a file.
// When a TFriendElement TF is added to the the list of friends of an
// existing TTree T, any variable from TF can be referenced in a query
// to T.
// if filename = "", treename is assumed to be in the same file as this Tree.
//
// Example:
// T.AddFriend("ft1","friendfile1.root");
// T.AddFriend("ft2","friendfile2.root");
// T.Draw("var:ft1.v1:ft2.v2");
// This command will generate a 3-d scatter plot of variable "var"
// in the TTree "T" versus variable "v1" in TTree "ft1" versus
// variable "v2" in TTree "ft2".
//
// When this function is called, the filename is connected and treename
// is loaded in memory. The created friend element is added to the list
// of friends of this Tree (GetListOfFriends).
// When this Tree is deleted, all its friend elements are also deleted.
//
// Note that the number of entries in the friend Tree treename must be equal
// or greater to the number of entries of this Tree.
//
// Note that it is possible to declare a friend Tree that has the same
// internal structure (same branches and leaves) than this Tree.
// eg. T.Draw("var:ft1.var:ft2.var").
New transient data members:
> Int_t fDebug; //! Debug level
> Int_t fDebugMin; //! First entry number to debug
> Int_t fDebugMax; //! Last entry number to debug
and corresponding member functions:
> Int_t Debug() const {return fDebug;}
> Int_t GetDebugMax() const {return fDebugMax;}
> Int_t GetDebugMin() const {return fDebugMin;}
> virtual void SetDebug(Int_t level=1, Int_t min=0, Int_t max=9999999); // *MENU*
New function:
> virtual Int_t Branch(const char *folder, Int_t bufsize=32000, Int_t splitlevel=99);
This new function creates automatically branches from a folder structure.
A new top level branch is created for each element of a folder and its sub folders.
2001-04-09 10:15 brun
* tree/: inc/TBranch.h, src/TBranch.cxx:
Implement new function FindLeaf and FindBranch. These functions were previously
defined as static functions in TTreeFormula.
2001-04-09 10:13 brun
* tree/: inc/TLeaf.h, inc/TLeafObject.h, src/TLeaf.cxx:
New function TLeaf::IsOnTerminalBranch returning kTRUE is the leaf is on a
terminal branch. This function is used by the new version of TTreeFormula.
2001-04-09 10:11 brun
* tree/: inc/TLeafElement.h, src/TLeafElement.cxx:
many changes in this class to support the new functionality of TBranchElement.
2001-04-09 10:10 brun
* tree/: inc/TBranchElement.h, src/TBranchElement.cxx:
Many changes to make this class operational in Trees, in particular with TTree::Draw.
2001-04-09 10:07 brun
* meta/src/TClass.cxx:
Introduce several protections in functions using the fClassInfo member
in case of a fake class.
Modify the functions Size and New to also operate on fake classes.
2001-04-09 10:04 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerInfo.cxx:
New member functions:
CanOptimize: static function to turn on/off members optimization in function Compile.
ComputeSize computing the sizeof the class if the class is available or the sum
of the size of the data members otherwise.
GetSize: returning what was computed by ComputeSize
GetValue: returning the value of a member for a given object
GetValueClones: same as GetValue but for a class in a TClonesArray
PrintValue: printing the value of a member for a given object
PrintValueClones: same as PrintValue but for a class in a TClonesArray.
2001-04-09 09:58 brun
* meta/: inc/TStreamerElement.h, src/TStreamerElement.cxx:
New function GetSize returning the sizeof the class.
Data member fClassObject moved to the base class TStreamerElement.
2001-04-09 09:56 brun
* base/src/TROOT.cxx:
Modify the parameters for the classes THashList.
The new list is created with 800 elements by default and with a collision
parameter of 3 instead of 2. This optimizes the search in systems
with many classes.
2001-04-09 09:53 brun
* base/inc/TStyle.h:
Modify the default top position for the title box from 1 to 0.985.
2001-04-09 09:52 brun
* tree/: inc/TFriendElement.h, src/TFriendElement.cxx:
New class TFriendElement:
// //
// A TFriendElement TF describes a TTree object TF in a file. //
// When a TFriendElement TF is added to the the list of friends of an //
// existing TTree T, any variable from TF can be referenced in a query //
// to T. //
// //
// To add a TFriendElement to an existing TTree T, do: //
// T.AddFriend("friendTreename","friendTreeFilke"); //
// //
// see TTree::AddFriend for more information //
2001-04-06 19:16 brun
* pythia/src/TPythia.cxx, pythia6/src/TPythia6.cxx:
Fix a problem in the ImportParticles functions of TPythia and TPythia6.
The test on "Final" particles was not correct.
2001-04-06 18:50 rdm
* test/Makefile.in:
fix error due to incomplete merge of MacOS X changes.
2001-04-06 18:47 brun
* hist/src/TH1.cxx:
In TH1::Streamer do not append the histogram to the current directory
if TH1::addDirectory(kFALSE) has been set.
2001-04-06 16:17 rdm
* Makefile, base/inc/RConfig.h, base/src/TMapFile.cxx,
build/unix/makelib.sh, cint/Module.mk, clib/src/Getline.c,
config/ARCHS, config/Makefile.macosx, config/root-config.in,
proofd/src/daemon.cxx, rootd/src/daemon.cxx, rootd/src/rootd.cxx,
rootx/src/rootx.cxx, test/Makefile.in, unix/src/TUnixSystem.cxx:
integration of MacOS X port by Ben Cowan and Keisuke Fujii. Many thanks guys.
2001-04-06 16:07 rdm
* config/Makefile.linuxarm:
on StrongARM handheld don't compile with -O for the time being (not enough
memory).
2001-04-06 09:27 brun
* treeviewer/: inc/TTVLVContainer.h, inc/TTVSession.h,
inc/TTreeViewer.h, src/TTVLVContainer.cxx, src/TTVSession.cxx,
src/TTreeViewer.cxx:
New version of TTreeViewer and associated classes from Andrei Gheata.
Here is the last patch of the treeviewer, which hopefully corrects all bugs
I found about (including TH3 draw problem). It has also a new checker for
aliases and the possibility of defining and executing a user-defined command
for each session record. It works like this (for now) :
- when you want to do something with the histogram produced by the Draw
button (fitting, normalizing, corellating with other existing histograms,
etc.) you may write a macro with this functionality, where the histogram can
be accessed with the name written in the hist. text box (htemp by default).
Then, after recording an X,Y,Z entry in your session, you will be able to use
the SetUserCode() function from the TV context menu. For instance, you can
run your fit.C macro :
fit.C
{
htemp->Fit("gaus");
htemp->Draw();
}
by setting the user code as : .x fit.C
Any ROOT command is accepted. The user-command will be executed after a record
is drawn using the session buttons. You can define user commands for each
record. This is just the first implementation.
2001-04-06 09:16 brun
* graf/src/TGraphAsymmErrors.cxx:
Implement new options in TGraphAsymmErrors::Paint (like in TGraphErrors::Paint).
// by default horizonthal and vertical small lines are drawn at
// the end of the error bars. if option "z" or "Z" is specified,
// these lines are not drawn.
//
// if option contains ">" an arrow is drawn at the end of the error bars
// if option contains "|>" a full arrow is drawn at the end of the error bars
// the size of the arrow is set to 2/3 of the marker size.
//
// By default, error bars are drawn. If option "X" is specified,
// the errors are not drawn (TGraph::Paint equivalent).
2001-04-06 09:10 brun
* graf/src/TGraphErrors.cxx:
Implement a new option in TGraphErrors::Paint.
// if option contains ">" an arrow is drawn at the end of the error bars
// if option contains "|>" a full arrow is drawn at the end of the error bars
// the size of the arrow is set to 2/3 of the marker size.
2001-04-05 08:40 brun
* star/: inc/TTable.h, inc/TTableDescriptor.h, src/TFileIter.cxx,
src/TTable.cxx, src/TTableDescriptor.cxx:
New version of some STAR classes regarding support for Long_t.
2001-04-04 19:17 rdm
* rootx/src/rootx.cxx:
correctly report exit status of child, i.e. root.exe. Now doing:
gApplication->Terminate(1);
will correctly return 1 as exit status to the shell.
2001-04-04 16:16 brun
* treeplayer/src/TTreePlayer.cxx:
Philippe Canal fixed a problem for queries of the type:
ntuple->Draw("(px>0):py>>myprof", "", "prof")
2001-04-04 16:07 brun
* cont/src/TObjArray.cxx:
Modify TObjArray::Streamer to save only the number of effective objects
and not slots with null pointers.
2001-04-04 16:03 brun
* base/src/TROOT.cxx:
Modify TROOT::GetClass. If GetClass fails to find a class in the ROOT class table,
it also looks in the CINT class table for the list of interpreted classes.
If an interpreted class is found, a fake class TClass is created, such that the
StreamerInfo can be built also for interpreted classes without going through rootcint.
2001-04-04 15:59 brun
* base/src/TFolder.cxx:
In TFolder::Add, set the bit kMustCleanup. When the object will be deleted,
its reference from folders will also be removed.
2001-04-04 15:56 brun
* base/src/TFile.cxx:
Modify the function TFile::Map. The list of Keys, StreamerInfo and FreeSegments records
are explicitly named. The End of File is also shown.
2001-04-04 15:38 rdm
* gui/src/TRootEmbeddedCanvas.cxx:
in HandleContainerKey() pass now also keysym as 3rd argument to
TCanvas::HandleInput(). This allows one to check for non-ascii keys
(like up, down, etc. keys). For the value of the keysym see KeySymbols.h.
2001-04-04 15:36 rdm
* gui/src/TRootCanvas.cxx:
in HandleContainerKey() pass now also keysym as 3rd argument to
TCanvas::HandleInput(). This allows one to check for non-ascii keys
(like up, down, etc. keys). For the value of the keysym see KeySymbols.h
2001-04-04 15:33 rdm
* x11/src/GX11Gui.cxx:
define all kepad keys in the X to ROOT GUI key mapping table.
2001-04-03 16:49 brun
* tutorials/multifit.C:
Modify the end of the macro to draw correctly all fitted functions.
There was a problem connected with the change of specs of option "0"
2001-04-03 15:44 rdm
* utils/src/rootcint.cxx:
add explicit cast to (void*) in call to Inspect() only for object data
members not having a ShowMembers() method. Needed on ALPHA to be able to
compile G__Thread.cxx.
2001-04-03 15:36 rdm
* thread/src/TPosixThread.cxx:
forgot two explictit casts from pthread_t to Long_t.
2001-04-03 12:40 rdm
* thread/: inc/PosixThreadInc.h, inc/TPosixThread.h, inc/TThread.h,
inc/TThreadImp.h, src/TPosixThread.cxx, src/TThread.cxx,
src/TThreadImp.cxx:
the thread id must be a Long_t (maps to pthread_t which is a long). Number of
signature changes from Int_t to Long_t.
2001-04-03 12:38 rdm
* unix/src/TUnixSystem.cxx:
small ifdef cleanup for R__ALPHA and R__LINUX (they are mutual exclusive
in RConfig.h so no need to make an AND ifdef on both of them).
2001-04-03 12:37 rdm
* test/guitest.cxx, tutorials/guitest.C:
remove redundant frame type specification in several cases.
2001-04-03 12:36 rdm
* gui/: inc/TGFrame.h, inc/TGMsgBox.h, inc/TGTextEditDialogs.h,
inc/TGWindow.h, src/TGFileDialog.cxx, src/TGFrame.cxx,
src/TGToolTip.cxx, src/TGWindow.cxx:
set correct frame type (either kMainFrame, kTransientFrame or kTempFrame).
Needed for Win32 port of GUI.
2001-04-03 12:34 rdm
* base/inc/TVirtualX.h, win32/inc/TGWin32.h,
win32/src/GWin32GUI.cxx, x11/inc/TGX11.h, x11/src/GX11Gui.cxx:
Added new argument to CreateWindow() telling which type of window should be
created (mainframe, transientframe, tempframe (for tooltips)). Needed for
Win32.
2001-04-03 12:07 rdm
* base/inc/RConfig.h, cint/iosenum/iosenum.linuxarm, config/ARCHS,
config/Makefile.linuxarm, config/root-config.in, test/Makefile.in:
port to Intel StrongARM processor running Linux (like Compaq's IPAQ handheld).
2001-03-31 17:01 rdm
* cont/inc/TBtree.h:
remove unused argument.
2001-03-30 17:46 brun
* cont/inc/TBtree.h:
GetObjectRef must be const
2001-03-30 17:19 rdm
* new/src/NewDelete.cxx:
when allocation fails, print number of requested bytes in error message.
2001-03-30 17:09 rdm
* base/inc/RConfig.h, rootd/src/rootd.cxx,
unix/src/TUnixSystem.cxx:
add code to detect Compaq TRUE64 OS.
2001-03-30 17:08 rdm
* configure:
fix numerous typos and bugs in the thread enabling and detection section.
2001-03-30 12:13 rdm
* cont/src/TObjArray.cxx:
correction in comment.
2001-03-30 12:13 rdm
* build/unix/makecintdlls.sh:
build also map2.dll and mulitmap2.dll. These extra dll's contain more
map<> instantiations, like map<long,"basic type"> and map<double,"basic type">.
2001-03-29 13:25 brun
* base/src/TFolder.cxx:
Add a missing return statement in function Occurence.
2001-03-29 13:25 brun
* cont/: inc/TCollection.h, inc/THashTable.h, inc/TList.h,
inc/TMap.h, inc/TObjArray.h, inc/TOrdCollection.h,
src/THashTable.cxx, src/TList.cxx, src/TObjArray.cxx,
src/TOrdCollection.cxx:
Forgot to make GetObjectRef const.
2001-03-29 13:04 brun
* tree/src/TBranch.cxx:
In TBranch::Print, do not print the title of the branch in case the name and the title
are identical.
2001-03-29 13:00 brun
* test/: TBench.cxx, TBench.h:
Add namespace declaration for Windows/NT
2001-03-29 12:58 brun
* cont/src/TClonesArray.cxx:
Modify the constructor to set a default name for teh array.
The default name is built by adding "s" at the end of the referenced classname.
2001-03-29 12:57 brun
* cont/: inc/TList.h, inc/TMap.h, inc/TObjArray.h,
inc/TOrdCollection.h, src/THashTable.cxx, src/TList.cxx,
src/TObjArray.cxx, src/TOrdCollection.cxx:
Add new function GetObjectRef.
2001-03-29 12:55 brun
* cont/inc/THashTable.h:
Add new function GetObjectRef
2001-03-29 12:54 brun
* cont/inc/TBtree.h:
Add new function GetObjectRef.
2001-03-29 12:53 brun
* base/: inc/TFolder.h, src/TFolder.cxx:
Add a protection in function FindObjectAny.
Add a new function TFolder::Occurence returning the occurence number of an object
in a folder in case multiple objects have the same name.
2001-03-29 12:51 brun
* cont/: inc/TCollection.h, src/TCollection.cxx:
Add new function GetObjectRef returning the address of the pointer to an object.
Function GetName moved to the implementation file. If a collection has an empty name,
it returns the collection class name.
2001-03-28 18:49 rdm
* base/inc/: RQ_OBJECT.h, TQObject.h:
TQObjSender dtor disconnects now properly signals from slots.
2001-03-28 12:23 rdm
* config/Makefile.linuxegcs:
add flag -Woverloaded-virtual to CXXFLAGS and CINTCXXFLAGS so we
get a warning in case we accidentally hide virtual methods.
Users should also use this flag in their own Makefiles.
2001-03-28 12:20 rdm
* x11/src/TGX11.cxx:
Turn off GraphicsExpose and NoExpose event reporting for the pixmap
manipulation GC, this to prevent these events from being stacked up
without ever being processed and thereby wasting a lot of memory.
Thanks to Damir for providing the golden hint to solving this long
standing problem.
2001-03-27 19:48 rdm
* build/unix/importcint.sh:
also import cint man pages.
2001-03-27 19:48 rdm
* man/: cint.1, makecint.1:
added man page for makecint(1) and updated the cint(1) page.
2001-03-27 19:46 rdm
* cint/lib/posix/posix.h:
correct test for glibc version.
2001-03-27 19:44 rdm
* cint/: inc/G__ci.h, inc/fproto.h, include/typeinfo.h,
lib/posix/posix.h, lib/win32api/winfunc.h, src/end.c, src/func.c,
src/ifunc.c, src/init.c, src/malloc.c, src/newlink.c, src/pcode.c,
src/value.c, src/var.c, tool/makecint.c:
import of CINT 5.14.81.
For what is new see http://root.cern.ch/root/Cint.phtml?relnote.
2001-03-27 08:46 brun
* tutorials/shapesAnim.C:
New tutorial illustrating how to animate a geometry picture.
2001-03-23 19:04 brun
* eg/src/TParticle.cxx:
Implement a protection suggested by Pasha Murat in the TParticle constructors.
Output of some MC generators (HERWIG,for example) contains off-shell particles with E^2 < P^2.
Several TParticle constructors which are trying to calculate particle
mass as
fCalcMass = TMath::Sqrt(fE*fE -fPx*fPx -fPy*fPy -fPz*fPz);
are crashing in this case. I'd think of putting in a protection against
sqrt of negative number and, in order not to lose information, of
making fCalcMass negative for off-shell particles with Q^2<0:
a2 = fE*fE -fPx*fPx -fPy*fPy -fPz*fPz;
if (a2 >= 0) {
fCalcMass = TMath::Sqrt(a2);
}
else {
fCalcMass = -TMath::Sqrt(-a2);
}
2001-03-23 18:11 brun
* graf/src/TEllipse.cxx:
Implement a better algorithm in TEllipse::DistancetoPrimitive (thanks Brett Viren).
Initialize members in default constructor.
2001-03-23 16:12 brun
* tutorials/fit2.C:
Add a new tutorial illustrating how to fit a 2-D histogram
2001-03-23 14:25 brun
* g3d/src/TPolyMarker3D.cxx:
Modify algorithm in TPolyMarker3D::DistancetoPrimitive to avoid floating point
overflows. (Thanks Federico Carminati for investigating).
2001-03-22 17:47 brun
* graf/src/TGraphErrors.cxx:
Implement a new drawing option "X".
// By default, error bars are drawn. If option "X" is specified,
// the errors are not drawn (TGraph::Paint equivalent).
2001-03-22 08:26 brun
* graf/src/TGraph.cxx:
Remove useless comments in TGraph::PaintGrapHist
2001-03-22 08:26 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintInit modify the algorithm computing the min and max along Y
when all bin contents are equal.
2001-03-22 08:01 brun
* base/src/TBuffer.cxx:
Forgot to implement the changes related to Long_t also in the array reading functions
TBuffer::ReadArray, ReadStaticArray and ReadFastArray.
2001-03-21 18:54 brun
* tutorials/tv3.C:
Add a new simple tutorial illustrating how to create/Fill/Read a tree.
2001-03-21 17:45 brun
* base/src/TROOT.cxx:
Modify TROOT::GetClass to return a pointer to the "fake" class created by TStreamerInfo
in case the class has no fClassInfo.
Philippe has added some protections in TROOT::GetMacroPath in case this function
is called after having changed the environment gEnv.
2001-03-21 10:49 brun
* base/src/TBuffer.cxx:
Fix two typos
2001-03-21 10:28 brun
* base/: inc/TBuffer.h, src/TBuffer.cxx:
Files written with versions older than 3.00/06 had a non-portable
implementation of Long_t/ULong_t. These
However, because some users had already written many files with these types
we provide a fix to be able to read old files.
The inline operator >> for Long_t has been moved to TBuffer.cxx.
A new function frombufOld local to TBuffer is called to read Long_t types
from buffers in files written before 3.00/06.
2001-03-21 10:23 brun
* star/src/TTable.cxx:
Mods in the StreamerTable function to take into account the Long_t new behaviour.
2001-03-16 19:03 brun
* win32/src/TWin32Canvas.cxx:
Create internal array with lExts/2 instead of lExts in TWin32Canvas::SaveAsCB
2001-03-16 15:25 brun
* rint/inc/TRint.h:
include TString.h was missing. This generated compilation errors
when TRint.h was included in user classes (eg, TG4RunManager).
Thanks to Ivana Hrivnacova for reporting this problem.
2001-03-15 22:53 brun
* graf/src/TText.cxx:
Fix a typo in a comment
2001-03-15 19:41 rdm
* test/Tetris.cxx:
change font attribute on request of Valeriy O.
2001-03-15 19:41 rdm
* meta/src/TCint.cxx:
remove some unneeded (char*) casts.
2001-03-15 18:53 brun
* eg/src/TDatabasePDG.cxx:
Fix a problem in TDatabasePDG::ReadPDGTable. Illegal string comparison.
2001-03-15 11:29 brun
* main/src/rmain.cxx:
Move again the TROOT constructor outside the main program as a global object.
On Windows, otherwise, the call to CleanUpROOTAtExit is done after all class destructors
have been called.
2001-03-15 08:12 brun
* win32/src/TWin32Canvas.cxx:
Patch by Valery :
One needs to adjust TWin32Canvas::SetCanvasSize as well
2001-03-15 08:09 brun
* win32/: inc/TWin32Dialog.h, src/TWin32Dialog.cxx:
From Valery Fine:
I've changed TWin32Dialog. It works under NT (as it has been working so far).
It was not obvious (docs contains no clue on that) one needs a separate
window handler to close that dialog.
At least NT is smart enough to understand things properly. I wonder NT has
a bug that was fixed with Win98 ;-)
2001-03-14 22:43 brun
* win32/src/TWin32Canvas.cxx:
Patches by Philippe to prevent the double creation of windows
on the Microsoft OSes.
2001-03-14 19:35 rdm
* test/MainEvent.cxx:
put TROOT again in global scope so we have a test with a global TROOT object.
2001-03-14 19:35 rdm
* config/Makefile.alphacxx6:
libCore.so now depends on libMatrix.so so make sure all matrix files are
compiled before attempting to build libCore.so.
2001-03-14 19:34 rdm
* base/src/TROOT.cxx:
use std C function atexit() to register the cleanup function
CleanUpROOTAtExit(). CleanUpROOTAtExit() checks if the TROOT dtor has
not yet been called and then deletes all objects in the file list, socket
list and mapped file list. An atexit() registered function is called after
a call to exit() or by return from the main() program, but always before
global objects are destroyed.
2001-03-14 15:21 brun
* build/unix/makelib.sh:
On alpha/cxx libMatrix.so must be added to libCore.so to avoid dictionary
problems.
2001-03-14 15:01 brun
* base/src/TFile.cxx:
Remove a useless test in TFile::WriteStreamerInfo.
2001-03-14 12:10 rdm
* gpad/src/TCanvas.cxx:
the default TApplication object was created in the wrong place (i.e. too
late).
2001-03-14 11:09 brun
* rint/src/TRint.cxx:
Remove #include "TCanvas.h"
2001-03-14 09:03 brun
* test/: guitest.cxx, hworld.cxx, vlazy.cxx, vmatrix.cxx,
vvector.cxx:
Move TROOT declaration from global to the main program.
2001-03-14 08:51 brun
* base/src/TROOT.cxx:
fTimer was not initialized in the TROOT constructor. The effect was visible
following the move of the TROOT constructor from a global object to the
main program.
2001-03-14 08:26 brun
* main/src/rmain.cxx:
Move the declaration of the TROOT object from a global declaration
inside the main program. This avoids problems with the unpredicted order of destructors
on several machines.
2001-03-14 08:11 brun
* base/src/TSystem.cxx:
Update to previous patch by Philippe to take into account Windows/NT
2001-03-13 18:29 brun
* base/src/TSystem.cxx:
From Philippe Canal:
This updates allows ACLiC to properly handle user header file that are
in a different directory as the source file. For example if you have:
myproj/inc/file.h
myproj/src/file.cxx
you and use ACLiC as follow:
> cd myproj
> root
root [0] .include inc
root [1] .L src/file.cxx++
2001-03-13 16:32 brun
* hist/src/TF1.cxx:
Fix a problem in TF1::Save and TF1::GetSave. Only fNsave words were saved.
The xmin,xmax of the function previously saved in fSave[fNsave+1] and fSave[fNsave+2]
were not saved/restored.
2001-03-13 11:41 brun
* histpainter/src/THistPainter.cxx:
Insert a fix by Damir Buskulic in DistancetoPrimitive in the special case
of histograms with many bins and low resolution algorithm. Move an If statement
2001-03-13 08:34 brun
* star/: inc/TFileSet.h, src/TFileSet.cxx:
Add a new optional argument to the TFileSet constructor.
Add protections in case of wrong input parameters.
2001-03-12 17:59 brun
* treeviewer/src/TTreeViewer.cxx:
Increase dimension of local array used to store the file name from 100 to 1024.
2001-03-12 12:35 brun
* matrix/src/TVector.cxx:
Fix a problem in TVector::Streamer. ReadVersion was called twice when reading
TVectors generated by the old system.
2001-03-12 09:38 brun
* star/inc/TFileIter.h:
Add dummy version of copy constructor
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.