ROOT version 3.10 Development Notes
2003-12-16 19:58 brun
* base/inc/RVersion.h, build/version_number:
Stamp version 3.10/02
2003-12-16 19:55 brun
* treeplayer/: inc/TTreeFormula.h, inc/TTreeFormulaManager.h,
src/TTreeFormula.cxx, src/TTreeFormulaManager.cxx,
src/TTreePlayer.cxx:
From Philippe
This patch restores and enhances TTree::Scan previous behavior regarding arrays.
It nows always (unless user request otherwise) print all the requested elements
of all the arrays. The printing of multi-dimensional array is now done in a
linear, non-synchronized fashion. In particular this means that selection on
2D arrays (including array within a TClonesArray) might not print the correct
instance of the arrays (in case of using arrays of un-even dimension)
You can now limit the number of element in the array by using the string option 'lenmax=dd':
2003-12-16 18:02 brun
* tree/src/TTree.cxx:
Add comments in TTree::Scan
2003-12-16 18:00 brun
* gui/src/TGButton.cxx:
Fix a side effect of changes in TVirtualX
2003-12-16 17:42 brun
* win32/inc/TGWin32.h:
Function ReadGIF must return something (0)
2003-12-16 17:31 brun
* win32/inc/TGWin32.h:
Fix for TVirtualX::ReadGIF for the old TGWin32
VS: ----------------------------------------------------------------------
2003-12-16 17:22 brun
* base/inc/TVirtualX.h, base/src/TVirtualX.cxx,
gui/src/TGButton.cxx, win32gdk/inc/TGWin32.h,
win32gdk/src/TGWin32.cxx, x11/inc/TGX11.h, x11/src/GX11Gui.cxx,
x11/src/TGX11.cxx:
From valeriy Onuchin
- TGX11, TGWin32 CreatePictureFromFile method
modified. That allows to create TGPicture, TGpictureButton etc.
from GIF files.
2003-12-16 15:09 brun
* mlp/: inc/TMultiLayerPerceptron.h, inc/TNeuron.h, inc/TSynapse.h,
src/TMultiLayerPerceptron.cxx, src/TNeuron.cxx, src/TSynapse.cxx:
New version of the TMultiLayerPerceptron classes from Christophe Delaere
2003-12-16 11:03 rdm
* cint/: inc/Api.h, inc/BaseCls.h, inc/CallFunc.h, inc/Class.h,
inc/DataMbr.h, inc/G__ci.h, inc/Method.h, inc/MethodAr.h,
inc/Property.h, inc/Token.h, inc/Type.h, inc/Typedf.h,
inc/common.h, inc/dllrev.h, inc/fproto.h, inc/global.h,
inc/longif.h, inc/longif3.h, inc/memtest.h, inc/newsos.h,
inc/security.h, inc/sunos.h, include/iostream.h,
include/platform.h, lib/dll_stl/str.h, main/G__setup.c,
main/cppmain.cxx, src/Api.cxx, src/BaseCls.cxx, src/CallFunc.cxx,
src/Class.cxx, src/DataMbr.cxx, src/Method.cxx, src/MethodAr.cxx,
src/Token.cxx, src/Type.cxx, src/Typedf.cxx, src/auxu.c,
src/cast.c, src/debug.c, src/decl.c, src/disp.c, src/dump.c,
src/end.c, src/error.c, src/expr.c, src/fakestrm.cxx, src/fread.c,
src/func.c, src/g__cfunc.c, src/gcoll.c, src/global1.c,
src/global2.c, src/ifunc.c, src/inherit.c, src/init.c, src/input.c,
src/intrpt.c, src/loadfile.c, src/macos.c, src/macro.c,
src/malloc.c, src/memtest.c, src/new.c, src/newlink.c,
src/newsos.c, src/oldlink.c, src/opr.c, src/parse.c, src/pause.c,
src/pcode.c, src/pragma.c, src/quote.c, src/scrupto.c, src/shl.c,
src/sizeof.c, src/struct.c, src/stub.c, src/sunos.c, src/tmplt.c,
src/typedef.c, src/val2a.c, src/value.c, src/var.c, src/winnt.c,
tool/batch.c, tool/makecint.c:
import of CINT 5.15.115.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
AIX workaround in prec_stl/string maintained.
2003-12-16 10:03 brun
* test/guitest.cxx, tutorials/guitest.C:
From valeriy Onuchin:
- allow to press OK,Cancel button while filling histos
without crashing.
2003-12-16 10:01 brun
* tree/src/TTree.cxx:
Change doc in TTree::UnbinnedFit to indicate that it is mandatory
to fix the normalization parameter.
2003-12-16 10:00 brun
* treeplayer/src/TTreePlayer.cxx:
Change comments in TTreePlayer::UnbinnedFit to indicate that it is mandatory
to fix the normalization parameter.
2003-12-16 09:05 brun
* hist/src/TSpectrum.cxx:
In TSpectrum::Search add a warning in case the threshold is <=0 or >1
2003-12-15 19:04 brun
* gui/src/: TGButton.cxx, TGButtonGroup.cxx, TGDoubleSlider.cxx,
TGFrame.cxx, TGLabel.cxx, TGTab.cxx, TGTextEntry.cxx:
From Ilka:
Better initialisation of variables ParGC and ParFont.
2003-12-15 17:37 brun
* win32gdk/: inc/TGWin32InterpreterProxy.h, inc/TGWin32ProxyBase.h,
inc/TGWin32VirtualXProxy.h, src/TGWin32.cxx,
src/TGWin32ProxyBase.cxx:
From Valeriy Onuchin:
- another try to fix "deadlock" and related problems
2003-12-15 15:56 brun
* graf/: inc/TGraph2D.h, src/TGraph2D.cxx:
Implement the function TGraph2D::Draw. Like for TH1 or TF1, the default
behaviour is now to clear the pad.
2003-12-15 11:59 brun
* win32gdk/src/TGWin32.cxx:
From Valeriy Onuchin
- correct option in fopen in TGWin32::ReadGIF
2003-12-15 10:44 brun
* gui/src/TGResourcePool.cxx:
From valeriy Onuchin:
- add Gui.IconPath from root resource file to icon_path under win32gdk
2003-12-15 10:43 brun
* gui/src/TGTextEdit.cxx:
Fix a bug in TGTextEdit::SavePrimitive
2003-12-15 09:54 brun
* gui/inc/TGButton.h, gui/inc/TGLabel.h, gui/src/TGButton.cxx,
gui/src/TGLabel.cxx, gui/src/TGNumberEntry.cxx,
gui/src/TGPicture.cxx, gui/src/TGResourcePool.cxx,
tutorials/WorldMap.C, win32gdk/src/TGWin32.cxx,
win32gdk/src/TGWin32ProxyBase.cxx:
From Valeriy Onuchin
- few improvements from my todo list:
o TGButton, TGLabel
SetTextColor, SetFont methods added.
Font, color can be changed globally (for every frame of some type),
or locally (for some particular frame) - default option
o TGNumberEntry
Accelerate the speed for changing numbers when button is
permanently pressed
o TGPicture (inspired by Ilka's recent changes)
for picture specified by file name mods added:
pname = gSystem->ExpandPathName(gSystem->UnixPathName(pname.Data()));
o TGResourcePool
add current directory to the icon_path for WIN32GDK
o cosmetic changes in WorldMap.C example
This tutorial is now working under win32gdk
o TGWin32, TGWin32ProxyBase
Anather try to fix a problem reported by Ed Oltman recently
2003-12-14 17:28 brun
* treeplayer/src/TTreePlayer.cxx:
In TTreePlayer::MakeClass implement the logic to compute the maximum length of
leaves with variable length in all the Trees of a TChain.
In the previous implementation, the length of
the leaves in the first Tree of the chain was assumed.
2003-12-13 23:56 brun
* graf/src/TPaveLabel.cxx:
Fix a typo in TPaveLabel::SavePrimitive affecting the code generated for
the pavelabel border size
2003-12-13 18:45 rdm
* utils/src/rlibmap.cxx:
fix for win32gcc.
2003-12-13 17:01 brun
* win32gdk/src/TGWin32.cxx, win32gdk/src/TGWin32ProxyBase.cxx,
winnt/src/TWinNTSystem.cxx:
From Valeriy Onuchin:
-cosmetic changes in win32gdk classes:
o remove unused vars
o correct code according to ROOT coding convention
o add comments
o etc.
2003-12-13 14:49 brun
* cint/lib/prec_stl/string:
disable the special case for AIX
2003-12-13 10:25 brun
* treeplayer/: inc/TTreeFormula.h, inc/TTreeFormulaManager.h,
src/TSelectorDraw.cxx, src/TTreeFormula.cxx, src/TTreePlayer.cxx:
From Philippe
I enhanced TTree::Scan so that instead of having
t3333->Scan("PtGen","Type==13");
being always equivalent to
t3333->Scan("PtGen[0]","Type[0]==13");
TTree::Scan will now print all the requested elements of any array (as TTree::Draw does).
TTree::Principal has been similarly updated (but not tested).
TTreeFormula has also been updated to remove a bad side-effect of the boolean operation optimization. In case like
analysis->Scan("Lept_1","Lept_1>=0&&Lept_2!=0");
if Letp_1[0] was negatif then the Lept_2 branch was not read from file.
2003-12-12 19:57 brun
* gui/src/TGTextEdit.cxx:
Fix a compiler warning (variable may be uninitialized)
2003-12-12 19:30 rdm
* utils/src/rlibmap.cxx:
fix typo kMN -> kNM.
2003-12-12 19:21 rdm
* gui/src/: TGButton.cxx, TGIcon.cxx, TGListTree.cxx, TGMenu.cxx,
TGTextEdit.cxx, TGToolBar.cxx:
From Ilka:
remove Win32 ifdefs by using TSystem methods and addition code to
save TGToolBar.
2003-12-12 19:14 rdm
* utils/src/rlibmap.cxx:
fix AIX and WIN32 compilation problems.
2003-12-12 18:57 brun
* graf/src/TGaxis.cxx, hist/src/THLimitsFinder.cxx:
Some axis optimisations (time axis in particular) by Damir Buskulic
2003-12-12 18:35 brun
* meta/src/TDataMember.cxx:
From Philippe:
The enclosed patch fixes the case where the shared library is linked in the executable
(as opposed to loaded by TSystem::Load) and the executable does not have a TApplication object.
2003-12-12 17:33 brun
* base/src/TMath.cxx:
The function TMath::BesselI(n,0) is not defined for n>=2
although it should simply be 0.
Thanks Isabelle Bouchoule
2003-12-12 17:12 rdm
* alien/src/TAlienProof.cxx:
remove unused variable.
2003-12-12 16:23 rdm
* meta/src/TInterpreter.cxx:
missing newline at end of file.
2003-12-12 16:13 rdm
* unix/src/TUnixSystem.cxx:
print error message in case socket connect fails.
2003-12-12 12:25 brun
* win32gdk/: inc/TGWin32ProxyBase.h, src/TGWin32.cxx,
src/TGWin32ProxyBase.cxx:
From Valeriy Onuchin
- general solution for "deadlock problem"
2003-12-12 11:24 brun
* meta/src/TCint.cxx:
In TCint::Load add a call to UpdateListOfTypes. This call is necessary in case
the shared lib contains newly defined typedefs
2003-12-12 00:30 brun
* hist/inc/TFormula.h, hist/src/TFormula.cxx,
treeplayer/src/TTreeFormula.cxx:
From Philippe:
The evaluation of operator && (and ||) is now optimized so that if the left hand of the expression is false (true) then
the right part is not evaluated.
Also this patch continues the replacement of some hard coded constants with enums value.
2003-12-11 18:14 rdm
* treeplayer/src/TSelectorDraw.cxx:
From Philippe:
This patch insure that
evtl->SetReapplyCut(1)
analysis->SetEventList(evtl)
analysis->Draw("nch",".5","goff")
properly apply an actual weight and reapply the event list cut.
2003-12-11 17:35 rdm
* unix/src/TUnixSystem.cxx:
small typo in comment.
2003-12-11 17:34 rdm
* Makefile, utils/Module.mk, utils/src/rlibmap.cxx:
add rlibmap a utility used to build a map between classes and libraries.
The rlibmap utility will create a system.rootlibmap file used to load the
library for an unknown class. To be enabled in the very near future.
2003-12-11 17:26 rdm
* gui/: inc/TGMenu.h, src/TGDoubleSlider.cxx, src/TGMenu.cxx:
From Ilka:
fix in saving menu radio entries.
2003-12-11 15:48 brun
* win32gdk/src/TGWin32.cxx:
From Valeriy Onuchin
- small improvement to the last changes.
Setting wait cursor, restoring previous cursor.
2003-12-11 14:39 brun
* base/: inc/TMath.h, src/TMath.cxx:
Add a new function TMath::PoissonI returning the true non-smooth Poisson distribution.
Add comments in TMath::Poisson. Add Pictures to the doc.
2003-12-11 14:27 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Implement a new static member
Bool_t fgAbsvalue
and the corresponding static function
void TF1::AbsValue(Bool_t flag)
// static function: set the fgAbsValue flag.
// By default TF1::Integral uses the original function value to compute the integral
// However, TF1::Moment, CentralMoment require to compute the integral
// using the absolute value of the function.
The functions TF1::Integral and TF1::IntegralMultiple have been modified
to use the absolute value of the function when fgAbsValue is TRUE.
The functions TF1::Moment and TF1::CentralMoment set fgAbsValue to kTRUE.
By default fgAbsValue is kFALSE
2003-12-11 12:23 rdm
* rootd/src/rootd.cxx:
more detailed log messages.
2003-12-11 12:22 brun
* hist/: inc/TH1.h, inc/TProfile.h, inc/TProfile2D.h, src/TH1.cxx,
src/TProfile.cxx, src/TProfile2D.cxx:
Add an optional argument to the TH1::Add(TF1* functions
void TH1::Add(TF1 *f1, Double_t c1, Option_t *option)
{
// Performs the operation: this = this + c1*f1
// if errors are defined (see TH1::Sumw2), errors are also recalculated.
//
// By default, the function is computed at the centre of the bin.
// if option "I" is specified (1-d histogram only), the integral of the
// function in each bin is used instead of the value of the function at
// the centre of the bin.
2003-12-11 11:59 brun
* win32gdk/src/TGWin32.cxx:
From Valeriy Onuchin:
- fix for deadlock problem under win32gdk.
This problem occured when one resized window containing
a canvas busy with updating.
2003-12-11 11:37 brun
* geom/src/TGeoArb8.cxx:
Fix a typo
2003-12-11 11:34 brun
* geompainter/src/: TGeoChecker.cxx, TGeoPainter.cxx:
From Andrei
kBig removed, accessible via inline : TGeoShape::Big()
kDegRad, kRadDeg changed everywhere with TMath::RadToDeg(),
TMath::DegToRad()
2003-12-11 11:34 brun
* geom/: inc/TGeoArb8.h, inc/TGeoBBox.h, inc/TGeoCompositeShape.h,
inc/TGeoCone.h, inc/TGeoEltu.h, inc/TGeoPara.h, inc/TGeoPcon.h,
inc/TGeoPgon.h, inc/TGeoShape.h, inc/TGeoSphere.h, inc/TGeoTorus.h,
inc/TGeoTrd1.h, inc/TGeoTrd2.h, inc/TGeoTube.h, src/TGeoArb8.cxx,
src/TGeoBBox.cxx, src/TGeoBoolNode.cxx, src/TGeoCompositeShape.cxx,
src/TGeoCone.cxx, src/TGeoEltu.cxx, src/TGeoManager.cxx,
src/TGeoMatrix.cxx, src/TGeoPara.cxx, src/TGeoPatternFinder.cxx,
src/TGeoPcon.cxx, src/TGeoPgon.cxx, src/TGeoShape.cxx,
src/TGeoSphere.cxx, src/TGeoTorus.cxx, src/TGeoTrd1.cxx,
src/TGeoTrd2.cxx, src/TGeoTube.cxx, src/TGeoVoxelFinder.cxx:
From Andrei
kBig removed, accessible via inline : TGeoShape::Big()
kDegRad, kRadDeg changed everywhere with TMath::RadToDeg(),
TMath::DegToRad()
2003-12-10 21:40 brun
* base/src/TKey.cxx:
Reintroduce old version. New development version introduced by mistake.
2003-12-10 21:36 brun
* base/src/TKey.cxx, cint/lib/dll_stl/str.h:
From Philippe:
To be able to build an equivalent to string.dll with gcc 3.3.1 I had to make the
following modifications to cint 5.15.114.
2003-12-10 21:27 brun
* treeplayer/src/TSelectorDraw.cxx:
From Philippe:
This patch repair the creation of event list in TTree::Draw when the selection criteria is an array (The broken
implementation lead to core dumps is a regular draw with array was done before the draw event list and resulted in an
empty event list in some cases).
2003-12-10 19:54 rdm
* rootd/src/rootd.cxx:
use O_TRUNC flag instead of unlinking the existing file in "recreate" mode.
2003-12-10 18:09 brun
* geom/: inc/TGeoShape.h, src/TGeoShape.cxx:
Remove definition of kBig from TGeoShape.cxx and put it in TGeoShape.h
to avoid a problem with shared libs on Windows.
2003-12-10 17:42 rdm
* cint/: inc/G__ci.h, inc/fproto.h, include/iomanip.h,
include/mkincld.c, lib/prec_stl/string, main/G__main.c,
src/Api.cxx, src/CallFunc.cxx, src/Typedf.cxx, src/expr.c,
src/init.c, src/input.c, src/intrpt.c, src/quote.c, src/sizeof.c,
src/typedef.c:
import of CINT 5.15.114.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-12-10 16:52 rdm
* gui/src/TGLayout.cxx:
cosmetic correction.
2003-12-10 16:52 rdm
* rootd/src/rootd.cxx:
fix in comment.
2003-12-10 16:36 brun
* gui/src/TGLayout.cxx:
Fixes in latest Valeriy patch to fix some warnings
2003-12-10 16:33 brun
* gui/src/TGLayout.cxx:
From Valeriy Onuchin:
- nasty bug in TGHorizontalLayout (TGVerticalLayout) solved.
The bug was in wrong Layout algorithm when several frames
where added with kLHintsCenterX (kLHintsCenterY).
The bug origination is traced to typos in the code from http://xclass.sourceforge.net/
because it's still where.
Thanks to Frank Lavaud and Ilka who discovered it.
2003-12-10 16:31 brun
* geom/: inc/TGeoArb8.h, inc/TGeoBBox.h, inc/TGeoCompositeShape.h,
inc/TGeoCone.h, inc/TGeoEltu.h, inc/TGeoManager.h, inc/TGeoPara.h,
inc/TGeoPcon.h, inc/TGeoPgon.h, inc/TGeoShape.h, inc/TGeoSphere.h,
inc/TGeoTorus.h, inc/TGeoTrd1.h, inc/TGeoTrd2.h, inc/TGeoTube.h,
src/TGeoCone.cxx, src/TGeoManager.cxx, src/TGeoPgon.cxx,
src/TGeoTube.cxx:
From Andrei Gheata:
some changed files in TGeo improving the performance of
TGeant3 WITHROOT:
- safety was computed twice (both by TGeoManager::Safety() as well as
the shape algorithms called by TGeoManager->FindNextBoundary()). The
speed now with WITHROOT improves.
- few fixes in some shape algorithms related to boundary treatment (few
others to be done)
- Improved computation of normals
- Improved non-recursive algorithm of TGeoPgon::DistToOut()
- fix of some default value in all shape headers (0 replaced by kBig) to
allow range limited computation of DistToIn/Out - now working just for pgon.
2003-12-10 15:23 brun
* gui/src/: TGButton.cxx, TGIcon.cxx, TGTextEdit.cxx:
From Ilka:
- additional code for solving slash problem on Windows in:
TGPictureButton::SavePrimitive, TGTextEdit::SavePrimitive
- removed code lines remained after the testing in
TGIcon::SavePrimitive
2003-12-10 12:03 rdm
* net/src/TNetFile.cxx:
fix some error messages.
2003-12-09 19:15 brun
* hist/src/TH1.cxx:
In TH1::setBins functions, preset the X,Y,Z axis to default values
such that the TH2 and TH3 default constructor may be called.
2003-12-09 18:49 rdm
* base/src/TObject.cxx:
in Inspect() reserve enough space for 64 bit pointers if R__B64 is true.
2003-12-09 18:33 brun
* gui/src/TGMenu.cxx:
typos fixed
2003-12-09 17:50 brun
* winnt/src/TWinNTSystem.cxx:
From valeriy Onuchin:
I corrected TWinNTSytem.cxx to solve
100% CPU occupation in standalone GUI programs.
I checked it with progams from $ROOTSYS/test and RootShower,
everything is OK. Please, inform me in case of problem.
2003-12-09 10:06 brun
* gui/src/: TGFrame.cxx, TGIcon.cxx, TGMenu.cxx, TGTextEdit.cxx:
patch from Ilka Antcheva containing several SavePrimitive fixes for Windows.
2003-12-08 19:51 brun
* winnt/src/TWinNTSystem.cxx:
From Valeriy Onuchin
I'm trying to solve "deadlock problem while resizing canvas"
reported by Ed Oltman.
-these mods make terminal input and TApplication::Run threads
to be unsychronous.
2003-12-08 17:25 brun
* graf/src/TGraph2D.cxx:
Fix a compiler problem under Windows (VC++6) and HP-UX with the definition
of a variable inside a switch block
2003-12-08 17:04 brun
* tree/src/TBasket.cxx:
In the TBasket constructor, preset the array fEntryOffset.
The non-initialized members of fEntryOffset were not used, but
were given a problem to the ZIP algorithm and the cause of the
many errors reported by valgrind.
2003-12-08 16:55 brun
* tree/src/: TBranch.cxx, TBranchElement.cxx, TBranchObject.cxx:
The arrays fBasketBytes, fBasketEntry and fBasketSeek must be preset to 0.
Results were OK, but the compression algorithm was not able to compress
the arrays.
2003-12-06 00:43 brun
* hist/src/TProfile.cxx:
In TProfile::Merge, in case the profiles have different binning, set the number of bins
for the merged profile to the number of bins of the profile for which
the function is called.
2003-12-06 00:03 brun
* postscript/src/TPostScript.cxx:
Protect TPostScript::Text in case the function is called and there is no pad.
2003-12-05 23:44 brun
* graf/: inc/TGraph2D.h, src/TGraph2D.cxx:
From Olivier:
- New plotting options:
"TRI1" : The Delaunay triangles are painted with color levels. The
edges of each triangles are painted with the current line
color.
"TRI2" : the Delaunay triangles are painted with color levels.
- New method: PaintPolyMarker0. Used in PaintTriangles.
2003-12-05 23:38 brun
* cint/Module.mk:
From Philippe:
KCC requires using longif3.cxx instead of longif.cxx (because it uses
the newer iostream stuff).
2003-12-05 02:52 rdm
* net/src/TUrl.cxx:
add special cases for dcache and dcap protocols.
2003-12-05 02:44 rdm
* utils/src/rootcint.cxx:
mod for MacOS X xlc port.
2003-12-05 02:43 rdm
* rootd/src/rootd.cxx:
remove left over debug print statement.
2003-12-05 02:22 brun
* krb5auth/inc/Krb5Auth.h:
From Eddy Offermann
change required for MacosX
2003-12-05 02:17 brun
* gui/: inc/TGLayout.h, src/TGCanvas.cxx, src/TGLayout.cxx:
From Valeriy Onouchin
- flicker-free scrolling is implemented for TGContainer class.
Scrolling through listview looks much better now. One of the nice
"side effects" of solving "limited list box entries" bug.
- followups mods after solving "missing horizontal scroll bar in detailed view" bug
TGListDetailsLayout constructor modified for SavePrimitives method.
2003-12-04 08:12 rdm
* base/inc/RConfig.h, build/unix/makelib.sh, cint/Module.mk,
cint/iosenum/iosenum.macosxxlc, config/ARCHS,
config/Makefile.macosxxlc, config/root-config.in,
test/Makefile.arch, unix/src/TUnixSystem.cxx,
utils/src/rootcint.cxx:
port to IBM's xlC compiler for MacOS X by Federico.
2003-12-04 06:48 rdm
* configure:
with --disable-shared favour .a over .so but accept .so if that is the
only version of a lib available.
2003-12-04 04:09 rdm
* matrix/src/: TVector.cxx, TVectorD.cxx:
put warning about variable argument ctor also in TVector.
2003-12-04 04:08 rdm
* base/src/TString.cxx:
some small formatting changes in my own old code.
2003-12-04 03:59 brun
* gui/src/TGMenu.cxx:
Fix by Ilka when generating code (CRTL/S) on Windows.
2003-12-04 03:37 brun
* base/src/TBenchmark.cxx:
Fix a possible memory leak problem reported by Victor.
2003-12-04 01:18 brun
* treeplayer/src/TSelectorDraw.cxx:
Set the kSetEditable flag to false in the TGraph generated by
TTree::Draw.
2003-12-04 01:16 brun
* matrix/src/TVectorD.cxx:
Add a comment/warning in the TVectorD constructor with a variable length
list of arguments, indicating that this function cannot be called from CINT
2003-12-04 01:00 brun
* base/src/TString.cxx:
From Philippe:
This patch insures that TString.cxx's Format always work (assuming enough memory) without affecting its performance.
The cases where the result was __not__ truncated are totally unaffected. The cases where the result was truncated go
through one (or more) call to SlowFormat which might allocate more memory (as needed).
2003-12-03 01:25 brun
* gui/: inc/TGFrame.h, inc/TGLayout.h, src/TGFSContainer.cxx,
src/TGLayout.cxx, src/TGListView.cxx:
From Valeriy Onuchin:
- SetDefaultWidth, SetDefaultHeight methods introduced to
TGLayoutManager class. That allows to force setting default size to
listview container.
Along with changes in listview related classes that fixes
1. "missing horizontal scroll bar in detailed view" bug.
2. "mess in the names in detailed view" bug.
2003-12-02 09:37 rdm
* proof/: inc/TProof.h, src/TProof.cxx, src/TProofServ.cxx:
From Gerri:
correctly support option Print("a") by propagating option to PROOF master.
2003-12-02 08:49 rdm
* dcache/src/TDCacheFile.cxx, rfio/src/TRFIOFile.cxx:
add missing usage comments to methods.
2003-12-02 03:07 brun
* config/rootrc.in, dcache/inc/LinkDef.h, dcache/inc/TDCacheFile.h,
dcache/src/TDCacheFile.cxx:
New code from Bill Tanenbaum adapting TDCacheFile to the latest dcache version.
2003-12-02 01:08 rdm
* gui/src/TGLayout.cxx:
From Valeriy:
- mods in TGVerticalLayout::Layout(), TGHorizontalLayout::Layout() methods:
Protections added against assigning negative value to "UInt_t type variable".
That fixes "two overlapping buttons problem under windows".
2003-12-01 08:18 rdm
* net/src/TAuthenticate.cxx:
use GetEffectiveUid() to get the uid in RfioAuth() so suid programs work
with the uidgid method.
2003-12-01 08:16 brun
* histpainter/src/THistPainter.cxx:
When drawing with the option "sameaxis", make sure that any "stats" box
is also redrawn to avoid the axis or grid drawn on top of the "stats" box.
2003-12-01 08:15 rdm
* base/inc/TSystem.h, base/src/TSystem.cxx, unix/inc/TUnixSystem.h,
unix/src/TUnixSystem.cxx:
provide GetEffectiveUid() and GetEffectiveGid() to get the user and group id's
that correspond to the set id bit on the file being executed.
2003-12-01 08:13 rdm
* README/README.ALIEN:
some corrections in API usage (List() changed to Print()).
2003-11-29 02:47 rdm
* rfio/src/TCastorFile.cxx:
wrong return value of WriteBuffer().
2003-11-28 19:02 rdm
* rfio/src/TCastorFile.cxx:
Castor creates the files so pass to TNetFile the option RECREATE.
2003-11-28 19:01 rdm
* net/src/TNetFile.cxx:
correct Error and Info messages in Create().
2003-11-28 14:52 brun
* geom/inc/TGeoCone.h, geom/inc/TGeoPgon.h, geom/inc/TGeoShape.h,
geom/inc/TGeoSphere.h, geom/inc/TGeoTube.h, geom/src/TGeoCone.cxx,
geom/src/TGeoEltu.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoShape.cxx,
geom/src/TGeoSphere.cxx, geom/src/TGeoTorus.cxx,
geom/src/TGeoTrd1.cxx, geom/src/TGeoTrd2.cxx,
geom/src/TGeoTube.cxx, geompainter/src/TGeoPainter.cxx:
From Andrei,
several fixes in safety algorithms
2003-11-28 13:09 brun
* gui/src/: TGIcon.cxx, TGMenu.cxx, TGTextEdit.cxx, TGToolBar.cxx:
From Ilka:
a few more fixes for the backslash problems on Windows
2003-11-28 09:48 brun
* gui/src/: TGFrame.cxx, TGIcon.cxx, TGMenu.cxx, TGTextEdit.cxx,
TGToolBar.cxx:
From Ilka:
Fix for the "slash" problem when generating GUI source code on Windows.
2003-11-27 16:15 brun
* graf/src/TGaxis.cxx, hist/src/TAxis.cxx:
From Damir and Olivier:
Correct a few remaining problems for time axis. Now, the time stored in
the format is always expressed in UTC. The local time is calculated
only at display time if the "gmt" option of SetTimeOffset is not used.
This allows to send a plot to someone in another time zone without
discrepancies on the time displayed.
If the plot uses "gmt", it will always show the same, whatever time
zone. If not, the time displayed will be the one local to the
displaying machine.
2003-11-27 12:45 brun
* hist/src/: TF1.cxx, TF2.cxx, TF3.cxx:
Fix problems with the Copy functions when called from the copy constructor.
2003-11-27 09:16 brun
* tutorials/graph2dfit.C:
Cosmetic changes. Use option 'p0" instead of 'p" for top left picture.
2003-11-27 09:07 brun
* graf/inc/TGraph2DErrors.h:
set Class version to 1 instead of 3
2003-11-26 22:48 brun
* proof/inc/TProofPlayer.h, proof/src/TProofPlayer.cxx,
tree/src/TSelectorCint.cxx, treeplayer/inc/TTreePlayer.h,
treeplayer/src/TTreePlayer.cxx:
From Philippe:
This update makes any selector created by the TTreePlayer directly from a source file local to the current TTreePlayer
object (instead of being a static).
It also insures that TProofPlayer and TTreePlayer do not call delete for an object of
a class which library was unloaded (since the code is gone, this would lead to a core
dump).
2003-11-26 18:11 rdm
* proof/src/TSlave.cxx:
use gSystem->GetPid() instead of directly getpid().
2003-11-26 17:24 brun
* tutorials/graph2derrorsfit.C:
New tutorial illustrating the use of the class TGraph2DErrors
2003-11-26 17:23 brun
* graf/: inc/TGraph2DErrors.h, src/TGraph2DErrors.cxx:
From Olivier:
New class TGraph2DErrors, deriving from TGraph2D and implementing
errors in x,y and z.
An example of this class is given in the new tutorial graph2derrorsfit.C
2003-11-26 17:21 brun
* minuit/src/TFitter.cxx:
Add logic to support errors in case of a TGraph2DErrors
2003-11-26 17:17 brun
* graf/: inc/LinkDef2.h, inc/TGraph2D.h, src/TGraph2D.cxx:
From Olivier
- Paint the grid levels on the triangles along the Z axis
- Option P : draw a marker at each vertex
- Option P0 : draw a circle at each vertex. Each circle background is
white
- Mods in Fit (needed by TGraph2DErrors)
- New virtual methods to get the errors (needed by TGraph2DErrors)
2003-11-26 16:44 rdm
* configure:
add check for AliEn API soap include directory.
2003-11-26 12:02 rdm
* configure:
add proofdir and update search paths for AliEn API lib.
2003-11-26 11:33 rdm
* globusauth/src/GlobusAuth.cxx, krb5auth/src/Krb5Auth.cxx,
net/src/TAuthenticate.cxx, net/src/TFTP.cxx, net/src/TNetFile.cxx,
proof/src/TProofServ.cxx, proof/src/TSlave.cxx,
proofd/src/proofd.cxx, rpdutils/src/globus.cxx,
srputils/src/SRPAuth.cxx, tutorials/TestAuth.C:
From Gerri:
- remove globals in Krb5Auth, SRPAuth and GlobusAuth
- error printing in case of failure in TAuthenticate
(print a list of failed messages only if unsuccessful
in the end)
- fix a problem with globus credential transmission when
running as non-root
- a couple of protections in TSlave related to SRP
- a few fixes to avoid some spurious error messages
printed by proofd
2003-11-25 21:01 brun
* cint/src/Typedf.cxx:
From Philippe:
Fix a bug in CINT affecting the special case of a ROOT object.
2003-11-25 18:12 brun
* graf/inc/TGaxis.h, graf/src/TGaxis.cxx, hist/inc/TAxis.h,
hist/src/TAxis.cxx:
From Olivier:
Implement suggestion from Damir Buskulic:
- Take into account the decimal part of the time offset.
- New parameter "option" in SetTimeOffset. Default value is "local"
meaning the time offset should be consider as a local time. It can
be set to "gmt" meaning the time offset should be consider as GMT time.
2003-11-25 18:07 brun
* hist/src/TFormula.cxx:
From Philippe,
In TFormula::Streamer when reading call Compile for functions
not containing a function pointer.
2003-11-25 16:57 rdm
* gui/src/: TGFSContainer.cxx, TGFrame.cxx, TGWindow.cxx,
TRootCanvas.cxx:
From Ilka:
- saving a frame using an externally created window
- saving TCanvas GUI in a macro
- fixing a typo in TGFSContainer::SavePrimitive()
2003-11-25 16:51 rdm
* base/: inc/TVirtualX.h, src/TVirtualX.cxx:
From Ilka:
added documentation to all member functions.
2003-11-25 16:50 rdm
* cint/: inc/G__ci.h, include/_iostream, include/iostream.h,
include/platform.h, include/streambuf, lib/cbstream/iostrm.h,
lib/gcc3strm/iostrm.h, lib/iccstrm/iostrm.h, lib/vc7strm/iostrm.h,
src/disp.c, src/expr.c, src/func.c, src/gcc3strm.cxx,
src/iccstrm.cxx, src/input.c, src/newlink.c, src/var.c,
src/vc7strm.cxx:
import of CINT 5.15.112.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
1910 only disabled in expr.c.
2003-11-25 16:16 brun
* treeviewer/src/HelpTextTV.cxx:
Fix typos and linefedd problems
2003-11-25 14:17 brun
* treeviewer/: inc/HelpTextTV.h, inc/TTVSession.h,
inc/TTreeViewer.h, src/HelpTextTV.cxx, src/TTVSession.cxx,
src/TTreeViewer.cxx:
From Andrei Gheata:
I have added:
- modified help text for opening trees and session
- a record (produced for a valid X/Y/Z + drawing option selection when
clicking the red button) will get now the same name as the histogram.
- the treeviewer constructors define a variable gTV that can be accessed
only from interpreter to get a pointer to the treeviewer. This can be
used to append one or more new trees by pointer : new method
AppendTree() implemented. This is explained in the help menu Open/Load
2003-11-25 12:35 rdm
* net/src/TAuthenticate.cxx:
add class name to ::Info() and ::Error() calls.
2003-11-25 12:34 brun
* graf/src/TGaxis.cxx:
From Damir Buskulic.
Fix a problem in the axis time management when the time offset
has a crazy value.
2003-11-25 12:34 rdm
* proof/src/TProof.cxx:
use option "a" in Print() to print status of all slaves.
2003-11-25 12:34 rdm
* gui/src/TGFrame.cxx:
allow the creation in batch mode of a TGMainFrame when libGui is loaded.
2003-11-25 09:44 brun
* gui/src/TGListBox.cxx:
Suggestion from Bertrand to replace kPointerMotionMask by kButtonMotionMask
2003-11-25 07:18 brun
* base/src/TStyle.cxx:
From Art Poskanzer:
Physical Review requires the axis labels of graphs to be black. Therefore I
recommend changing the TStyle named style "Pub" from blue to:
SetLabelColor(kBlack,"X");
SetLabelColor(kBlack,"Y");
SetLabelColor(kBlack,"Z");
2003-11-24 20:54 brun
* base/src/TApplication.cxx:
From Philippe:
This patch fix the behavior of ROOT in case of leading 'tab' in an unamed macro.
2003-11-24 15:29 brun
* graf/src/: TGraph.cxx, TGraph2D.cxx:
In TGraph::Fit and TGraph2D::Fit use TVirtualFitter::GetErrorDef to set the fitter Error Definition
instead of the hardwired value 1.
2003-11-24 15:12 brun
* hist/src/TH1.cxx:
in TH1::Fit use TVirtualFitter::GetErrorDef to set the fitter Error Definition
instead of the hardwired value 1.
2003-11-24 15:11 brun
* base/: inc/TVirtualFitter.h, src/TVirtualFitter.cxx:
Add a new static member fgErrorDef and the corresponding getter/Setter
static Double_t GetErrorDef();
static void SetErrorDef(Double_t errdef=1);
The parameter errorDef can be set before fitting via
TVirtualFitter::SetErrorDef(errdef)
2003-11-24 11:51 brun
* base/inc/TCanvasImp.h, base/inc/TROOT.h, base/src/TROOT.cxx,
gpad/src/TCanvas.cxx, gui/inc/TRootCanvas.h,
gui/src/TRootCanvas.cxx, meta/inc/LinkDef.h,
meta/inc/TInterpreter.h, meta/src/TInterpreter.cxx,
win32gdk/inc/TGWin32.h, win32gdk/inc/TGWin32InterpreterProxy.h,
win32gdk/inc/TGWin32Proxy.h, win32gdk/inc/TGWin32ProxyBase.h,
win32gdk/inc/TGWin32ProxyDefs.h,
win32gdk/inc/TGWin32VirtualXProxy.h, win32gdk/src/TGWin32.cxx,
win32gdk/src/TGWin32InterpreterProxy.cxx,
win32gdk/src/TGWin32Proxy.cxx, win32gdk/src/TGWin32ProxyBase.cxx,
win32gdk/src/TGWin32VirtualXProxy.cxx:
From valeriy Onuchin:
I updated several base and win32gdk classes.
The goals of these changes are:
- providing thread safety for CINT and canvas graphics
- improve perforamnce
The list of the changes.
win32gdk:
- new TGWin32Interpreter class introduced. Along with
redefinition of gInterpreter global that allows to have thread-safe
interface to CINT functions and methods.
- TGWin32Proxy class renamed to TGWin32VirtualXProxy and
modified in "not-radical way".
- TGWin32ProxyBase.cxx contains "howto create proxy class".
canvas thread-safety:
- locking methods added to TCanvasImp, TRootCanvas and TCanvas
classes. That prevents from simultanious canvas updating from
different threads.
The results:
- overall improvement of thread safety and stability of win32gdk version
- improved performance. benchmarks.C 15-20%, some cases (3D graphics)
more than 30%.
2003-11-24 11:26 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::Paint reset fXbuf and fYbuf to 0 after deleting the two arrays.
It may happen that THistPainter is called recursively when connecting
to the signal "RangeAxisChanged"
2003-11-24 10:02 brun
* base/src/TObject.cxx:
Minor change in format in TObject::GetObjectInfo.
Print coordinates in %g instead of %.3g format
2003-11-23 22:46 brun
* graf/src/TGraph2D.cxx:
Remove unused variables
2003-11-23 17:13 brun
* base/: inc/TRandom.h, src/TRandom.cxx:
Add a new function in TRandom returning a random number following
a Breit-Wigner distribution
Double_t TRandom::BreitWigner(Double_t mean=0, Double_t gamma=1)
2003-11-23 13:10 brun
* unix/src/TUnixSystem.cxx:
Protect TUnixSystem::DispatchOneEvent against fFileHandler = 0.
This may happen with teh simple session
TBrowser b
2003-11-22 23:02 brun
* treeplayer/src/: TSelectorDraw.cxx, TTreePlayer.cxx:
Replace the generation of a TPolyMarker by a TGraph when
generating 2-d plots in tree.Draw("y:x").
With this change, one can use all the features of a TGraph, like
additional drawing options "l" or TGraph::Fit.
For example the following command
tree.Draw("y:x");
produces a scatter plot with the points corresponding to the
original coordinates x and y. After the command, one can access
the TGraph object in the pad with
TGraph *g = (TGraph*)gPad->GetPrimitive("Graph");
The following command
tree.Draw("y:x:,"","l");
will produce a TGraph connecting all the points with a line.
A similar change is planned to replace the generation of the TPolyMarker3D
by a TGraph2D in commands like tree.Draw("z:y:x");
The above changes are also necessary to support multiple TGraph (or TGraph2D)
generated in a PROOF session when updating only the last generated points.
2003-11-22 22:48 brun
* graf/src/TGraph.cxx:
Accept option "same" in TGraph::Draw and TGraph::PaintGraph.
The option is dummy. It is introduced for consistency with
other high level classes (TH1, TTree). It eliminates
the problem with the native option "a" of TGraph.
2003-11-22 15:51 brun
* tree/src/TBasket.cxx:
In TBasket::WriteBasketBuffers remove the special case when the compression
factor is = 2.
2003-11-22 15:50 brun
* hist/src/TFormula.cxx:
Remove the call to Compile in TFormula::Streamer. This introduced side-effects.
2003-11-21 12:13 brun
* hist/src/TFormula.cxx:
In TFormula::Streamer, call the Compile function when reading.
2003-11-21 11:41 brun
* graf/: inc/TGraph2D.h, src/TGraph2D.cxx:
From Olivier:
- The author line has been modified to make sure all the authors appear
in the HTML page.
- More comments.
- MaxTries changed to MaxIter.
2003-11-21 08:39 brun
* base/src/TStyle.cxx:
Add comments in TStyle::SetOptStat(Int_t mode)
// WARNING: SetOptStat(1) is taken as SetOptStat(1111) (for back compatibility
// with older versions. If you want to print only the name of the histogram
// call SetOptStat(10000001).
Modify comments in TStyle::SetOptStats(Option_t *stat)
// gStyle->SetOptStat("n") print only the name of the histogram
// gStyle->SetOptStat("nemr") is the default
and implement the special case "n"
2003-11-21 00:00 rdm
* config/rootrc.in, globusauth/src/GlobusAuth.cxx,
krb5auth/src/Krb5Auth.cxx, net/inc/TAuthenticate.h,
net/src/TAuthenticate.cxx, proofd/src/proofd.cxx,
rootd/src/rootd.cxx, rpdutils/src/rpdutils.cxx,
srputils/src/SRPAuth.cxx, unix/src/TUnixSystem.cxx:
From Gerri:
#1 improvement of error printouts in case of failure: now
it prints something like:
Error in <AuthExists>: rootd@pcepsft43 does not accept UsrPwd
authentication from ganis@pcepsft43
ie, it specifies remote daemon, remote host, local user,
local host.
#2 fix a small inconsistency with return codes in client methods
#3 fix problem with negotiation in the case no additional
method could be tried, causing the error message
"Recvn: error (sock: 4): errno: 104"
being printed by proofd/rootd
#4 problem in case of unsuccessful SSH authentication
causing the error message
"Recvn: error (sock: 4): errno: 104"
being printed by proofd/rootd
#5 if SetGlobalUser() has been specified, never prompt for user
(overrides all config file settings).
2003-11-20 18:25 brun
* meta/src/TStreamerElement.cxx, tree/src/TBranchElement.cxx:
Patch from Philippe that prevent the splitting of TCollection objects. TClonesArray are allowed to be split except when they are embedded inside an object which in embedded inside an already split object (they are case
where it would be technically possible to split it properly but it is not implemented yet)
2003-11-20 17:57 brun
* graf/: inc/LinkDef2.h, inc/TGraph2D.h, src/TGraph2D.cxx:
From Olivier:
- Delaunay triangles are stored in dynamic arrays. In the previous
versions the maximum number of triangles was 1000. There is no hard
coded limit now.
- More documentation (Definition of Delaunay triangulation)
- New constructors from floats and ints arrays.
- New constructor with name and title (from doubles arrays only)
- Copy constructor
- Operator "="
- Do not store fHistogram in the current directory
- TGraph2D objects are stored in the current directory
- Do not try to perform a triangulation if it is not needed. For
instance when the graph is drawn with markers only.
- New method SetDirectory
- New method SetName
- New method SetMaxTries: Defines the number of triangles tested for a
Delaunay's triangle before abandoning the search
- Method TriEncode removed
- Custom Streamer implemented (setting fDirectory in input)
2003-11-20 16:09 brun
* treeplayer/src/: TSelectorDraw.cxx, TTreePlayer.cxx:
Reintroduce previous versions of these two classes. I am still making changes.
2003-11-20 16:03 brun
* html/src/THtml.cxx, treeplayer/src/TSelectorDraw.cxx,
treeplayer/src/TTreePlayer.cxx:
From Axel Naumann:
I had a class with an impl file name
/home/.../src/TMyClass.cxx
which was misinterpreted as being a ROOT class (as it had the format
"*/src/T*"). I changed the ROOT class detection to check whether it's an
absolute path name, assuming that ROOT's classes' impl file names are
_always_ relative paths.
2003-11-19 16:45 brun
* unix/src/TUnixSystem.cxx:
from philippe:
This patch is needed to compiled on Solaris gcc -m64
2003-11-19 12:29 brun
* fumili/src/TFumili.cxx:
TFumili was printing the EDM with a negative value. Print a positive value.
2003-11-19 00:09 rdm
* etc/system.rootdaemonrc, rpdutils/inc/rpdp.h,
rpdutils/src/rpdutils.cxx:
From Gerri:
rpdutils/inc/rpdp.h
o Rename RpdCheckHostWild as RpdCheckHost
rpdutils/src/rpdutils.cxx
o Remove function RpdCheckHostWild
o Add function RpdCheckHost
etc/system.rootdaemonrc
o updated documentation
2003-11-18 20:40 rdm
* configure, README/README.GLOBUS,
globusauth/src/patches/globus_gsi_credential/0.5/include/globus_i_g
si_credential.h,
globusauth/src/patches/globus_gsi_credential/0.5/include/version.h,
globusauth/src/patches/globus_gsi_credential/0.7/include/globus_i_g
si_credential.h,
globusauth/src/patches/globus_gsi_credential/0.7/include/version.h,
globusauth/src/patches/globus_gsi_credential/0.8/include/globus_i_g
si_credential.h,
globusauth/src/patches/globus_gsi_credential/0.8/include/version.h,
globusauth/src/patches/globus_gsi_credential/0.9/include/globus_i_g
si_credential.h,
globusauth/src/patches/globus_gsi_credential/0.9/include/version.h:
From Gerri:
configure
o the definition of gsiversion had disappeared at some point
causing a problem in compilation because R__GLBS22 was not
defined; reintroduced.
o overall polishing of the globus part with cleaner way outs
in case of unsuccessful configuration
README/README.GLOBUS
o documentation updated
The new files contain the header files needed by the patch so that
the globus source tree is not needed.
2003-11-18 20:28 rdm
* etc/example.rootauthrc, net/inc/TAuthenticate.h,
net/src/TAuthenticate.cxx:
From Gerri:
net/inc/TAuthenticate.h
o drop method CheckHostWild()
net/src/TAuthenticate.cxx
o drop method CheckHostWild()
o Modified hostname checking in CheckHost()
etc/example.rootauthrc
o updated documentation
2003-11-18 20:04 rdm
* base/src/TSystem.cxx:
mention in AccessPathName() that you have to call ExpandPathName() before
to get rid of shell meta characters.
2003-11-18 19:08 brun
* gpad/src/TPad.cxx:
In TPad::Print add support for files using symbols like "~".
TSystem::ExpandPathName is now called
2003-11-18 17:59 brun
* base/inc/TApplication.h:
From Valeriy Onuchin:
- a protection added to TApplication in case fArgv is zero.
2003-11-18 16:36 brun
* postscript/src/TPostScript.cxx:
In TPostScript::Open, specify the option kWritePermission when
calling TSystem::AccessPathname
2003-11-18 11:28 brun
* cont/src/: TArrayC.cxx, TArrayD.cxx, TArrayF.cxx, TArrayI.cxx,
TArrayL.cxx, TArrayS.cxx:
Add a comment in the TArrayX::set functions to indicate that the Set function
should not be called if the array has been initialized via the Adopt function.
2003-11-18 10:40 brun
* histpainter/src/THistPainter.cxx:
Fix a bug in THistPainter::GetBestFormat. The function was returning by mistake
a TString craeted in teh stack.
2003-11-18 09:01 brun
* hist/src/TF1.cxx:
In the TF1 constructor with a compiled function change the logic
for checking if a function with the same name already exists.
Use the same logic as in the case of an interpreted function.
2003-11-18 01:00 rdm
* rint/src/TRint.cxx:
From Philippe:
re-enable the input handler after an interrupt.
2003-11-17 18:18 brun
* graf/src/TLegend.cxx:
TLegend was not working any more in log scales since the changes to support
lin and log scales for basic types.
TLegend::PaintPrimitives has been modified in consequence.
2003-11-17 10:49 brun
* gui/src/TGTab.cxx:
From valeriy Onuchin:
- Fix bug in TGTab::RemoveTab method.
RemoveFrame(elTab->fFrame) deletes elTab,
so reference elTab->fFrame causes seg.violation
Fix by Alexei Krasnoperov.
2003-11-15 20:11 rdm
* tree/src/TDSet.cxx:
add proper LL to long long literal.
2003-11-14 23:34 brun
* tutorials/PhaseSpace.C:
In gSystem->Load, replace libPhysics.so by libPhysics
to get the script running on Windows and aix.
2003-11-14 18:34 brun
* base/: inc/TVirtualX.h, src/TVirtualX.cxx:
Ilka has nicely documented all the TVirtualX functions in the implementation file.
Still remains to be documented the gl interface.
This is a first attempt in CVS to see how it looks like with html.
2003-11-14 18:27 brun
* meta/src/TClass.cxx:
In TClass::Destructor, increase the size of an internal array dtor[64]
to dtor[512].
It remains one possible problem reported by Markus:
"if I have e.g. std::vector<myclass, std::allocator<...> >
I think the destructor is not the class name, but "~vector".
This may be a complicated string in the event of nested classes."
2003-11-14 17:11 brun
* gui/src/TRootBrowser.cxx:
From valeriy:
fix a bug in the browser when displaying "Content of .." label when
switching between different folders or files.
2003-11-14 12:17 brun
* cont/inc/: TArrayC.h, TArrayD.h, TArrayF.h, TArrayI.h, TArrayL.h,
TArrayS.h:
Optimize the TArrayXX::Copy functions
2003-11-14 12:11 brun
* meta/inc/TStreamerInfo.h, meta/src/TStreamerInfo.cxx,
tree/inc/TTree.h, tree/src/TBranchElement.cxx, tree/src/TTree.cxx:
TTree::Show has a new optional argument (Int_t lenmax=20).
This argument is used to limitate the number of array elements
to be printed in case of variable length arrays, or the
number of objects in a TClonesArray. (previous default was 10
for integer elements and 5 for float elements.
This change has required the following other mods:
-The previously unused argument of TBranchElement::PrintValue
is now the argument lenmax (as given by TTree::Show).
-TStreamerInfo::PrintValue has a new optional argument lenmax
-TStreamerInfo::PrintValueClones has a new optional argument lenmax
-PrintValue and PrintValueClones have a new logic to limitate
the number of printed elements (via macros PrintCR and PrintCCR).
2003-11-14 10:23 brun
* tutorials/graph2dfit.C:
Minor change to support latest version of TGraph2D
2003-11-14 09:35 brun
* geompainter/src/TGeoPainter.cxx:
From Andrei Gheata:
Protection in SetColors in case the user application does not define a TApplication.
2003-11-14 00:31 rdm
* tree/inc/TDSet.h:
removed accidentally "virtual" from two methods (Next() and Reset()).
2003-11-13 19:18 rdm
* net/inc/: TGrid.h, TGridProof.h, TGridResult.h:
Remove some more compiler warnings.
2003-11-13 19:17 rdm
* alien/: inc/TAlienResult.h, src/TAlienResult.cxx:
change List() to standard Print().
2003-11-13 18:55 rdm
* net/src/TUrl.cxx:
for the special protocols: file, rfio, hpss and castor also support the
valid notation: file:///user/file.
2003-11-13 18:34 rdm
* net/inc/TGrid.h:
fix for obsolete version of HP's aCC.
2003-11-13 18:08 brun
* graf/inc/TGraph2D.h, graf/src/TGraph2D.cxx,
histpainter/inc/THistPainter.h, histpainter/src/THistPainter.cxx:
From Olivier:
TGraph2D:
- New method FindAllTriangles (it finds all the Delaunay's triangles).
- PaintTriangles handles the paint option TRI, W, and P.
- fNpoints is initialized on the ctors declaration line.
- The triangles painting takes care of log options and of the min and
max values.
- PaintTriangles uses the new THistPainter's method PaintAxis3D to paint
the 3D axis.
THistPainter:
- Option "axis" works on 2D histograms.
- New method PaintAxis3D to paint the 3D axis.
2003-11-13 18:01 rdm
* alien/inc/TAlien.h, alien/src/TAlien.cxx, net/inc/TGrid.h:
Win32 portability issues (don't use mode_t, uid_t and gid_t, but UInt_t).
2003-11-13 17:52 rdm
* tree/: inc/TDSet.h, src/TDSet.cxx:
remove some unneeded system include files and fold the List() method
into the standard Print().
2003-11-13 16:36 rdm
* base/inc/TTimeStamp.h:
make time stamp setters public.
2003-11-13 16:25 rdm
* base/src/TROOT.cxx:
fix compilation error in TROOT::Proof().
2003-11-13 16:22 rdm
* README/CREDITS:
Added Andreas Peters for the contribution to TGrid and TAlien.
2003-11-13 16:15 rdm
* README/README.ALIEN:
File describing how to use AliEn via the TGrid interface.
2003-11-13 16:15 rdm
* configure, alien/inc/LinkDef.h, alien/inc/TAlien.h,
alien/inc/TAlienFile.h, alien/inc/TAlienProof.h,
alien/inc/TAlienResult.h, alien/src/TAlien.cxx,
alien/src/TAlienFile.cxx, alien/src/TAlienProof.cxx,
alien/src/TAlienResult.cxx, base/inc/TROOT.h, base/src/TROOT.cxx,
config/rootrc.in, net/inc/LinkDef.h, net/inc/TGrid.h,
net/inc/TGridProof.h, net/inc/TGridResult.h, net/src/TGrid.cxx,
net/src/TGridProof.cxx, net/src/TUrl.cxx, proofd/src/proofd.cxx,
rpdutils/inc/rpdp.h, rpdutils/src/rpdutils.cxx, tree/inc/LinkDef.h,
tree/inc/TDSet.h, tree/src/TDSet.cxx:
From Andreas Peters:
updated TGrid and related classes, and updated TAlien plugin for the AliEN grid.
To build the TAlien plugin one needs to install the AliEn client API lib.
How the basic TGrid class works with AliEn is described in the file
README/README.ALIEN.
Also provided is a Grid/AliEn controlled distribtution and startup system
for PROOF. This uses the TGridProof/TAlienProof classes and the LFN/PFN
information in the TDSet to find the AliEn sites where the data resides.
On these sites PROOF daemons (proofd) are started by AliEn (using an
interactive submission queue). Once the proofd's are running standard
PROOF is started which then connects to these proofd's. After that the
user performs his analysis, like on a local PROOF cluster.
2003-11-13 15:38 rdm
* alien/: inc/TAlienAttrResult.h, src/TAlienAttrResult.cxx:
not needed anymore with new AliEn interface.
2003-11-13 15:37 rdm
* rfio/src/TRFIOFile.cxx:
remove redundant include file.
2003-11-13 11:26 brun
* physics/inc/TVector3.h:
Make functions XYvector and EtaPhiVector const
2003-11-13 10:45 brun
* hist/src/TProfile.cxx:
TProfile::Divide accepts to be divided by a normal histogram
2003-11-12 20:34 rdm
* gui/: inc/TGFrame.h, inc/TGProgressBar.h, src/TGFrame.cxx,
src/TGProgressBar.cxx, src/TGStatusBar.cxx, src/TGTableLayout.cxx:
From Ilka:
- the update of TGStatusbar::SavePrimitive according to
the horizontal frame inheritance of its parts
- saving the progress bar attributes
- adding a static variable in TGFrame::fgUserColor to
keep/check the last user color changes (to avoid
repeating lines in the generated code)
- comment typos fixing in TGTableLayout.cxx
2003-11-12 12:09 brun
* tree/: inc/TTree.h, src/TTree.cxx:
Add an optional argument to TTree::AutoSave
// if option contains "SaveSelf", gDirectory->SaveSelf() is called.
// This allows another process to analyze the Tree while the Tree is being filled.
//
// By default the previous header is deleted after having written the new header.
// if option contains "Overwrite", the previous Tree header is deleted
// before written the new header. This option is slightly faster, but
// the default option is safer in case of a problem (disk quota exceeded)
// when writing the new header.
Add an example with two scripts treew.C and treer.C showing how to write a Tree in
one process and view it from another process
2003-11-12 11:55 brun
* treeviewer/src/TTreeViewer.cxx:
Optimize TTreeViewer::DoRefresh to
-call TTree::Refresh
-automatically redraw the current exposed expression
2003-11-12 10:06 brun
* tree/src/: TBranch.cxx, TTree.cxx:
Implement TTree::Refresh and TBranch::Refresh functions.
Calling TTree::Refresh is useful when a Tree is produced by a writer process
and concuently analyzed by one or more readers.
TTree::Refresh is called by the TTreeViewer when pressing the Refresh button.
2003-11-12 08:23 brun
* tree/inc/TBranch.h, tree/inc/TTree.h, tree/src/TBranch.cxx,
tree/src/TChain.cxx, tree/src/TTree.cxx,
treeviewer/src/TTreeViewer.cxx:
Protect TChain::GetEntry in case of an empty chain.
Add a comment in the function indicating that 0 bytes are returned
in this case.
2003-11-11 19:07 brun
* html/src/THtml.cxx:
From Axel naumann:
With this patch
* THtml replaces the template arg brackets of base classes with proper
HTML entities
* THtml::GetHtmlFileName(TClass* classPtr) checks that classPtr->GetDecl
or ImplFileName is set before creating a file name for classPtr. Without
a Decl/ImplFileName there can't be any documentation, so the link would
point to nowhere.
2003-11-11 17:01 brun
* geompainter/: inc/TGeoPainter.h, src/TGeoPainter.cxx:
Forgot to add these changes from Andrei in the previous check-in
2003-11-11 16:44 brun
* geom/: inc/TGeoCache.h, inc/TGeoManager.h, inc/TGeoPgon.h,
inc/TGeoShape.h, inc/TVirtualGeoPainter.h, src/TGeoManager.cxx,
src/TGeoPgon.cxx, src/TGeoShape.cxx, src/TGeoVolume.cxx:
From Andrei Gheata
- TGeoPgon::DistToIn() - new algorithm 50-200% faster than the old one
(depending on the number of edges) fixing the existing pgon problems
- TGeoPgon::ComputeNormal() - corrected a wrong sign
- TGeoManager::Safety() corrected in case of MANY geometries
- Bug fix raytracing + a minor fix in the calling sequence (now there is
a similar behavior of TGeoVolume:Raytrace/Draw)
2003-11-11 15:39 brun
* gui/src/TGDoubleSlider.cxx:
From Valeriy:
Ed reported a problem at http://root.cern.ch/phpBB2/viewtopic.php?t=144
These changes should help.
- 50 ms "dead time" added to HandleMotion method.
That will improve performance of TGDoubleSlider and reduce CPU usage
2003-11-11 12:04 brun
* test/Tetris.cxx:
From Valeriy
- adjustment of alignment added.
Tetris game will look nicer on my WinXP laptop (1024x768 pixel display)
2003-11-10 18:59 rdm
* cint/: inc/G__ci.h, src/expr.c, src/ifunc.c:
import of CINT 5.15.110.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Philippe's latest ifunc.c fix is in this version.
2003-11-10 18:56 rdm
* base/src/TPluginManager.cxx:
from Gerri:
no need anymore to keep at least two spaces between plugin name and ctor
in the rootrc file.
2003-11-10 18:47 rdm
* test/Makefile:
also build GUI test programs on Win32 now.
2003-11-10 18:43 brun
* tree/src/TBranchElement.cxx:
Add a protection in TBranchElement constructor in case a TClonesArray
with a null pointer.
2003-11-10 16:44 rdm
* gui/: inc/TGTableLayout.h, src/TGButton.cxx,
src/TGTableLayout.cxx:
from Ilka:
implementation of:
TGTableLayout::SavePrimitive
TGTableLayoutHints::SavePrimitive
fix in:
TGCheck/Radio/TextButton::SavePrimitive in case the TGHotString
is used as parameter without hot character
2003-11-10 15:45 rdm
* g3d/src/TPadOpenGLView.cxx:
fix in ifdef.
2003-11-10 15:40 rdm
* configure, README/README.GLOBUS, globusauth/Module.mk,
net/src/TAuthenticate.cxx:
From Gerri:
New directory:
o globusauth/src/patches/globus_gsi_credential
The problem fixed by the previous experimental patch
has been finally traced back to a missing error cleaning
in globus_gsi_credential.c (see Globus Bugzilla bug #892).
This new directory contains the patched versions of this
file, for the different Globus releases.
Obsolete directory:
o globusauth/src/patches/globus_gsi_system_config
Patched files:
configure
o Changes required to apply the final Globus patch
README/README.GLOBUS
o Documentation changes required to apply the final Globus patch
globusauth/Module.mk
o Changes required to apply the final Globus patch
net/src/TAuthenticate.cxx
o Remove #if 0 in method CheckHost
o Set correct defaults for anonymous usage
(methods: SetEnvironment, ClearAuth)
2003-11-10 15:34 rdm
* globusauth/src/patches/globus_gsi_credential/: README, map,
0.5/globus_gsi_credential.c, 0.7/globus_gsi_credential.c,
0.8/globus_gsi_credential.c, 0.9/globus_gsi_credential.c:
new set of files that need to be patched to get Globus authentication
working.
2003-11-10 15:07 rdm
* g3d/src/TPadOpenGLView.cxx:
add ifdef for R__QT to set lightsource (same as for Inventor).
2003-11-10 15:05 rdm
* proof/src/TProofServ.cxx, rootd/src/rootd.cxx,
rpdutils/src/rpdutils.cxx:
fix for MacOS X 10.3.
2003-11-10 14:06 brun
* icons/refresh2.xpm:
New icon "refresh" by Ilka for the TreeViewer
2003-11-10 11:50 brun
* gui/src/TGCanvas.cxx:
Fix a parenthesis problem in SavePrimitive
2003-11-10 11:48 brun
* treeviewer/: inc/TTreeViewer.h, src/TTreeViewer.cxx:
From Ilka:
The slot TTreeViewer::DoRefresh() is called when
the new Refresh button is clicked.
Layout changes:
- the three picture buttons are laid out on the
same level as the progress bar;
- the progress bar is laid out vertically with the
list view frame
2003-11-10 11:45 brun
* winnt/src/TWinNTSystem.cxx:
From Valeriy:
Ed reported a problem
http://root.cern.ch/phpBB2/viewtopic.php?t=174
I added proposed solution to the code.
- these mods hopefully will fix the problem
reported by Ed Oltman
"Occasionally, the DOS window (e.g. Rint interface) gets into a mode where it stops displaying text properly: it
stops processing CR and LF characters - the cursor ends up at the right hand side of the last line. "
2003-11-10 10:48 brun
* geom/src/TGeoMatrix.cxx:
TGeoRotation::MultiplyBy was buggy. Fixed by Sue Kasahara
2003-11-09 17:09 brun
* build/unix/makelib.sh, config/Makefile.freebsd4,
net/src/TAuthenticate.cxx:
From A.Yu.Isupov:
Three small refinements to compile under FreeBSD-4.x
2003-11-08 13:55 brun
* gpad/src/TCanvas.cxx:
Modify TCanvas::DrawClonePad. In case the destination and the source canvas
have different aspect ratios, one must resize the destination pad.
2003-11-08 13:20 brun
* cont/inc/: TArrayC.h, TArrayD.h, TArrayF.h, TArrayI.h, TArrayL.h,
TArrayS.h:
In the TArrayX::Copy functions, use memcpy instead of a do loop.
2003-11-07 23:47 brun
* gui/src/: TGCanvas.cxx, TGComboBox.cxx, TGFSComboBox.cxx,
TGListBox.cxx, TGListView.cxx, TGTextEntry.cxx,
TRootEmbeddedCanvas.cxx:
Add missing parenthesis in expressions like
if (GetOptions() == (kSunkenFrame | kDoubleBorder)) {
2003-11-07 22:01 brun
* win32gdk/src/TGWin32.cxx:
From Bertrand,
Fix a memory leak
2003-11-07 21:58 brun
* gui/src/TGButton.cxx:
Fix from Bertrand to avoid unpredictable behaviour.
if (GetOptions() == kRaisedFrame | kDoubleBorder) {
should be :
if (GetOptions() == (kRaisedFrame | kDoubleBorder)) {
2003-11-07 19:06 rdm
* configure:
fix paths for external libs (like Qt or shift) for Win32.
2003-11-07 17:37 rdm
* test/RootShower/Makefile:
simplify the Makefile, use for machine dependent part the common
$ROOTSYS/test/Makefile.arch.
2003-11-07 17:27 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Remove part of the interface using TGraph introduced by Thomas Bretz.
This interface requires a dependency on libGraf.
Another solution will have to be found.
2003-11-07 16:38 rdm
* config/Makefile.linuxia64ecc, test/Makefile.arch:
support for the Intel icc v8 compiler on Itanium (compiler was renamed
from ecc to icc, like on ia32).
2003-11-07 15:56 brun
* win32gdk/src/TGWin32.cxx:
Increase size of local array propName from 8 to 32.
At least 11 characters are used in the function.
This requires a deeper investigation.
2003-11-07 15:39 rdm
* gui/src/TGFrame.cxx:
remove trailing spaces.
2003-11-07 14:25 brun
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
From Ilka:
Implementation of TGMainFrame/TGTransientFrame::SavePrimitive.
Please note that the saving of all WM parameters remains
in SaveSource methods + MapSubwindows/Resize/MapWindows
code lines. This was requested by Valeriy.
2003-11-07 12:39 brun
* README/CREDITS:
Added Thomas Bretz for his contribution to new TF1::IntegralFast functions.
2003-11-07 12:15 brun
* hist/: inc/TF1.h, src/TF1.cxx:
from Thomas Bretz
Interesting addition to TF1. A new set of functions to compute integrals
using precomputed "Gaus-Legendre" points.
The precomputed points can be obtained by the static functions
void CalcGaussLegendreSamplingPoints(TGraph *g, Double_t eps=3.0e-11)
TGraph *CalcGaussLegendreSamplingPoints(Int_t num=21, Double_t eps=3.0e-11)
void CalcGaussLegendreSamplingPoints(Int_t num, Double_t *x, Double_t *w, Double_t eps=3.0e-11)
The integral can be obtained with:
Double_t IntegralFast(const TGraph *g, Double_t a, Double_t b, Double_t *params=0)
Double_t IntegralFast(Int_t num, Double_t *x, Double_t *w, Double_t a, Double_t b, Double_t *params=0)
Example of use:
TF1 f("f","x**3",0,5);
TGraph *g = TF1::CalcGaussLegendreSamplingPoints(6);
double result = f.IntegralFast(g,1,4);
2003-11-07 09:59 brun
* hist/: inc/TH1.h, inc/TH2.h, inc/TH3.h, src/TH1.cxx, src/TH2.cxx,
src/TH3.cxx:
Implement working copy constructors for the histogram base classes.
2003-11-07 04:29 rdm
* README/README.AUTH, base/src/TFile.cxx, etc/daemon.access,
etc/system.rootdaemonrc, globusauth/src/GlobusAuth.cxx,
krb5auth/inc/Krb5Auth.h, krb5auth/src/Krb5Auth.cxx,
net/inc/THostAuth.h, net/src/TAuthenticate.cxx,
net/src/THostAuth.cxx, net/src/TNetFile.cxx,
proof/inc/TProofServ.h, proof/src/TProofServ.cxx,
proof/src/TSlave.cxx, proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/inc/rpdp.h, rpdutils/src/net.cxx,
rpdutils/src/rpdutils.cxx, srputils/src/SRPAuth.cxx,
tutorials/TestAuth.C:
From Gerri:
Index: README/README.AUTH
o Update explaining tutorial use
Index: base/src/TFile.cxx
o ::Open(): call TNetFile also if same host but different user
(to access files protected by password)
Index: globusauth/src/GlobusAuth.cxx
o Aestethic changes (shortening of a few lines)
Index: krb5auth/src/Krb5Auth.cxx
o Simplify two debug printouts
o Change debug print to stderr in Info(...; add gDebug control.
Index: net/inc/THostAuth.h
o Modify default ctor
o Add method HasMethod to test method availability
Index: net/src/TAuthenticate.cxx
o make sure that if fgUser (and nothing else) is set, this is
the default user name
o Make sure that requiring roots/rootk uses correctly details
found for those methods in .rootauthrc
o Fix return of GetPromptUser()
o Fix problem with wild cards
o Add check for wildcard host names in method GetHostAuth
o Remove debug printout in method ReadAuthRc
Index: net/src/THostAuth.cxx
o Modify default ctor
o Add method HaveMethod to test method availability
o Aestethic changes (shortening of a few lines)
Index: net/src/TNetFile.cxx
o Remove precompiler unused #if's in method ConnectServer
Index: proof/inc/TProofServ.h
o Remove method ReadProofAuth, add method RecvHostAuth
(To receive directly the authentication info in ProofServ
instead of reading it from temporary files
/usr/tmp/proofserv.<id>)
Index: proof/src/TProofServ.cxx
o All mods needed to remove method ReadProofAuth and add
method RecvHostAuth (see above).
Modified methods: Setup, CollectAuthInfo .
o Fix bug in CollectAuthInfo switching ReUse off by default
for method UsrPwd
o Removing automatic choice of UidGid for local slaves
o Setting order of default UidGid authentication to last
o Aestethic changes in CheckAuth
Index: proof/src/TSlave.cxx
o transmit passwd for UsrPwd and SRP authentication also to slaves
o All mods needed to send auth info to ProofServ instead of
proofd (see above)
Index: proofd/src/proofd.cxx
o Fix compiling problem with namespaces for Kerberos
o Remove redundant 'access' calls
o Authenticate: do not recive auth info (done in ProofServ)
o ProofExec: send TmpDir to proofserv (for key location)
o Define gSystemdaemonc as $ROOTETCDIR/system.rootdaemonrc
Index: rootd/src/rootd.cxx
o Define gSystemdaemonc as $ROOTETCDIR/system.rootdaemonrc
Index: rpdutils/inc/rpdp.h
o Rename gAuthAllow as gSystemDaemonRc
o Rename kDaemonAccess as kDaemonRc
Index: rpdutils/src/rpdutils.cxx
o Fix compiling problem with namespaces for Kerberos
o Define kDaemonRc as .rootdaemonrc (it was daemon.access)
o Add support for $HOME/.rootdaemonrc
o Add support for daemon dependent access rules
o Aestethic changes in CheckAuth (drop commented lines)
Index: srputils/src/SRPAuth.cxx
o set static flags only when authentication is successful
Index: tutorials/TestAuth.C
o Test using TFTP instead of TNetFile (faster and runs also
with local host fqdn)
o Add test for kerberos
2003-11-07 02:43 rdm
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
From Ilka:
GUI macros are now saved using ctrl-s (was ctrl-<anykey>) and file names
are obtained via file save dialog.
2003-11-07 01:55 rdm
* config/Makefile.linuxicc:
final version of Intel Fortran v8 does not have anymore libF90.
2003-11-06 21:14 brun
* cint/src/ifunc.c:
From Philippe:
The fix 1931 (to fix 1928) was not complete. The base class were not initialized either.
So I copied code from G__interpret_func:
2003-11-06 16:08 rdm
* proof/src/TProofServ.cxx:
better MacOS X 10.3 check.
2003-11-06 11:44 rdm
* gui/: inc/TGFrame.h, src/TGTab.cxx:
From Ilka:
support the saving of the color of TGTabElement.
2003-11-05 19:11 rdm
* proof/src/TProofServ.cxx:
fix for MacOS X 10.3.
2003-11-05 19:11 rdm
* cint/: inc/G__ci.h, lib/longlong/setupbc.bat,
lib/posix/setupbc.bat, lib/prec_stl/map, lib/prec_stl/multimap,
lib/prec_stl/multiset, lib/prec_stl/set, lib/socket/setupbc.bat,
lib/stdstrct/setupbc.bat, lib/win32api/setupbc.bat, src/func.c,
src/ifunc.c, src/parse.c:
import of CINT 5.15.109.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-11-05 18:47 brun
* tutorials/graph2dfit.C:
New tutorial from Olivier illustrating several facets of TGraph2D
2003-11-05 18:34 brun
* graf/inc/TGraph2D.h, graf/src/TGraph2D.cxx,
minuit/src/TFitter.cxx:
From Olivier:
In Graph2D:
- A more complete example (fitting)
- Constructor from a file name
- New method Interpolate
- New method FindObject
- Fitting
- New method GetHistogram.
- New method RemovePoint
- New methods SetMaximum and SetMinimum
- plus many improvements ...
In TFitter:
- Necessary changes to support Graph2D fitting
2003-11-05 16:52 brun
* gpad/src/TCanvas.cxx:
Implement intentionally dummy copy constructor
2003-11-05 15:49 rdm
* config/Makefile.linuxicc:
use ifort instead of ifc for the Intel Fortran compiler.
2003-11-05 15:05 brun
* cont/src/TCollection.cxx, hist/inc/TH2.h, hist/inc/TH3.h,
hist/src/TH1.cxx, hist/src/TH2.cxx, hist/src/TH3.cxx:
Implement dummy private copy constructors intentionally left empty.
This is only a temporary solution waiting for a more general cleanup
and implementation of copy constructors.
2003-11-05 14:24 brun
* treeviewer/: inc/TTreeViewer.h, src/TTreeViewer.cxx:
TTreeViewer derives from TGMainFrame. With the introduction of SavePrimitive
in the GUI classes, a new function TGMainFrame::SaveSource has been introduced.
TTreeViewer had already a SaveSource function.
To avoid complaints from compilers, add an optional argument to
TTreeViewer::saveSource.
2003-11-05 14:08 rdm
* base/inc/TColor.h, base/src/TColor.cxx, gpad/inc/TCanvas.h,
gpad/src/TCanvas.cxx, gui/inc/TG3DLine.h, gui/inc/TGButton.h,
gui/inc/TGButtonGroup.h, gui/inc/TGCanvas.h,
gui/inc/TGColorSelect.h, gui/inc/TGComboBox.h,
gui/inc/TGDoubleSlider.h, gui/inc/TGFSComboBox.h,
gui/inc/TGFSContainer.h, gui/inc/TGFont.h, gui/inc/TGFrame.h,
gui/inc/TGGC.h, gui/inc/TGIcon.h, gui/inc/TGLabel.h,
gui/inc/TGLayout.h, gui/inc/TGListBox.h, gui/inc/TGListTree.h,
gui/inc/TGListView.h, gui/inc/TGMenu.h, gui/inc/TGNumberEntry.h,
gui/inc/TGProgressBar.h, gui/inc/TGShutter.h, gui/inc/TGSlider.h,
gui/inc/TGSplitter.h, gui/inc/TGStatusBar.h, gui/inc/TGTab.h,
gui/inc/TGTextEdit.h, gui/inc/TGTextEntry.h, gui/inc/TGToolBar.h,
gui/inc/TGToolTip.h, gui/inc/TGWindow.h,
gui/inc/TRootEmbeddedCanvas.h, gui/src/TG3DLine.cxx,
gui/src/TGButton.cxx, gui/src/TGButtonGroup.cxx,
gui/src/TGCanvas.cxx, gui/src/TGClient.cxx,
gui/src/TGColorSelect.cxx, gui/src/TGComboBox.cxx,
gui/src/TGDoubleSlider.cxx, gui/src/TGFSComboBox.cxx,
gui/src/TGFSContainer.cxx, gui/src/TGFont.cxx, gui/src/TGFrame.cxx,
gui/src/TGGC.cxx, gui/src/TGIcon.cxx, gui/src/TGLabel.cxx,
gui/src/TGLayout.cxx, gui/src/TGListBox.cxx,
gui/src/TGListTree.cxx, gui/src/TGListView.cxx, gui/src/TGMenu.cxx,
gui/src/TGNumberEntry.cxx, gui/src/TGProgressBar.cxx,
gui/src/TGScrollBar.cxx, gui/src/TGShutter.cxx,
gui/src/TGSlider.cxx, gui/src/TGSplitter.cxx,
gui/src/TGStatusBar.cxx, gui/src/TGTab.cxx, gui/src/TGTextEdit.cxx,
gui/src/TGTextEntry.cxx, gui/src/TGToolBar.cxx,
gui/src/TGToolTip.cxx, gui/src/TGWindow.cxx,
gui/src/TRootBrowser.cxx, gui/src/TRootEmbeddedCanvas.cxx,
tutorials/guitest.C:
From Ilka:
Any ROOT GUI can now be saved as a macro. Executing this macro brings back
the current GUI (minus the action handling). This very important development
allows to get easily the source for any GUI, which can then be inspected or
used to create other GUI's. Also this will allow a GUI builder to save and
restore GUI's.
To save the source of a GUI use the methods TGMainFrame::SaveSource() or
TGTransientFrame::SaveSource(), where the latter saves the source for dialogs.
To trigger the saving of any GUI just use ctrl-s.
2003-11-04 23:03 brun
* hist/: inc/TFractionFitter.h, src/TFractionFitter.cxx:
New features added to TFractionFitter by Bram Wijngaarden <dwijngaa@hef.kun.nl>
"I've added some features to the TFractionFitter class:
- the adjusted templates generated by the fit method are now stored and
accessible;
- a Chisquare and NDF have been added.
You can access the adjusted templates using
TH1* GetMCPrediction(Int_t parm) const;
Chi squared and NDF are accessible using
Double_t GetChisquare()
Int_t GetNDF()
Double_t GetProb(),
only if the fit is successful of course (GetChisquare will return 0 if no
successful fit has been performed).
2003-11-04 16:28 rdm
* base/: inc/TString.h, src/TString.cxx:
protect BeginsWith() and EndsWith() against const char* being 0.
2003-11-04 15:34 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Implement new function
Int_t TF1::GetFreeParameters() const
2003-11-04 07:40 brun
* tree/src/TBranchElement.cxx:
From Philippe:
This patch fixes TBranchElement::SetAddress for the case of a vector embedded in an object embedded in an
object which is inherited from.
2003-11-03 15:57 brun
* hbook/: inc/THbookBranch.h, inc/THbookTree.h, src/THbookTree.cxx:
Change signature of SetEntries from
SetEntries(Int_t n) to (Double_t n)
for consistency with the new TTree::SetEntries and old GetEntries.
2003-11-03 15:51 brun
* gpad/src/TPad.cxx:
In TPad::PaintText activate frame clipping (Olivier)
2003-11-03 15:10 brun
* tree/: inc/TTree.h, src/TTree.cxx:
Add a new function TTree::SetEntries(Double_t n).
This new function may be useful when filling branches one by one via TBranch::Fill
without calling TTree::Fill.
2003-11-02 11:50 brun
* tutorials/triangles.C:
New tutorial illustrating how to interact with closed polylines.
2003-11-02 11:39 brun
* graf/src/TPaveLabel.cxx:
In TPaveLabel::Paint, use the internal option GetOption in case
the argument option is null.
2003-11-02 11:32 brun
* graf/src/TPolyLine.cxx:
Modify TPolyLine::DistancetoPrimitive to support the case of a filled and closed
polyline. In this case the object is picked when the mouse is inside
the polygone, otherwise the object is picked only when the mouse is closed
to one of lines of the polyline.
2003-11-02 10:28 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintTitle take into account the case where the title uses
more than one line (TLatex symbol #splitline used)
2003-11-01 11:49 brun
* tutorials/hadd.C:
Correct the logic to merge Trees.
2003-11-01 11:48 brun
* tree/src/TChain.cxx:
In TChain::Merge, implement a new option "keep" to not close the file
after Merging.
2003-10-31 21:25 brun
* utils/src/rootcint.cxx:
From Philippe.
Patch implementing 'virtual' inheritance for the ShadowClass.
2003-10-31 16:27 brun
* treeviewer/src/TTreeViewer.cxx:
Change the timer interval from 20 to 200 ms.
2003-10-31 08:27 brun
* geom/inc/TVirtualGeoTrack.h:
Declaration of include "TObjArray.h" was missing. The class could not be used
outside of TGeo itself.
2003-10-30 18:28 rdm
* proof/src/TProofServ.cxx:
revert change by Eddy. Not backward compatbile with Jaguar.
2003-10-30 18:01 brun
* graf/inc/TGraph2D.h:
New version from Olivier
2003-10-30 17:49 brun
* graf/src/TGraph2D.cxx:
From Olivier:
- The vectors fX fY and fZ are not changed (normalized) as before.
- New methods to retrieve the Min and Max of fX and fY.
- SavePrimitive implemented.
- New constructors TGraph2D() and TGraph2D(n).
- New method Initialise used by all constructors.
- New method SetPoint to fill the internal arrays.
- Better help (with an example).
2003-10-30 17:44 brun
* minuit/src/TMinuit.cxx:
Remove an empty line in TMinuit::mnstat preventing to generate the doc of this function
(thanks Paul Balm)
2003-10-30 17:41 brun
* proof/src/TProofServ.cxx:
Fix a portability problem on MacOSX (Eddy Offermann)
2003-10-30 11:50 rdm
* tree/src/TDSet.cxx:
From Maarten:
protection against adding a TDSet to itself.
2003-10-29 23:48 rdm
* proof/src/TProofPlayer.cxx:
From Maarten:
don't call TSelector::Version() when the TSelector failed to instantiate.
Also don't make the missing of the .h of the selector file a failure.
2003-10-29 16:54 brun
* cont/src/TCollection.cxx:
From Gero Flucke;
Protect TCollection::Print when called with a NULL argument
2003-10-29 12:51 rdm
* gui/inc/: LinkDef1.h, TGFrame.h:
make TGMapKey an embedded class in TGMainFrame.
2003-10-29 12:50 rdm
* base/src/TROOT.cxx:
don't print an Info message in TROOT about the used debug level when
stderr is not connected to a terminal (in the proof master the printing
went on the socket instead and caused a lockup due to protocol corruption).
2003-10-29 12:47 rdm
* README/README.PROOF:
update description of xinetd file for rootd, now rootd needs to know the
path where the authentication config files are.
2003-10-29 11:57 brun
* hist/: inc/TProfile2D.h, src/TProfile2D.cxx:
Implement the same algorithm as in TProfile::GetBinError for low statistics bins.
Add new static member fgApproximate and corresponding static setter Approximate.
Add new member fScaling used internally (like in TProfile) when scaling a TProfile2D.
2003-10-29 09:51 brun
* graf/: inc/TGraph2D.h, src/TGraph.cxx, src/TGraph2D.cxx:
Remove trailing CRTL/M
2003-10-29 00:29 brun
* krb5auth/inc/Krb5Auth.h:
Fix by Philippe to support krb5 in /usr/krb5 instead of /usr/kerberos
2003-10-28 23:50 brun
* cint/src/parse.c:
From Philippe,
The fix number 1929, broke (weirdly enough only on solaris!?), the
following construct:
#define R__SOLARIS_CC50
#if defined(R__SOLARIS_CC50)
#if defined(R__SOLARIS_CC50)
extern "C" { }
#endif
#endif
This prevented rootcint to run on Solaris.
2003-10-28 23:39 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
From Eddy Offermann
Fix a bug in the TMatrix operator when source and target are thye same
2003-10-28 18:50 brun
* graf/src/TGraph2D.cxx:
Fix portability problem on HP-UX (multiple definition of a loop index)
2003-10-28 18:43 brun
* graf/: inc/LinkDef2.h, inc/TGraph2D.h, src/TGraph2D.cxx:
First attempt to introduce the new class TGraph2D( from Olivier).
This class is a set of N points x[i],y[i],zi[i] in a non uniform grid.
Several visualisation techniques are implemented, includind Delaunay triangulation.
This new class is great and an important addition to ROOT.
2003-10-28 17:36 brun
* hist/src/: TProfile.cxx, TProfile2D.cxx:
In the GetBinError functions, in low statistics bins, do not take into account
non-empty bins with null errors. The effect was to underestimate the error
in case of profiles with many bins with one entry only.
2003-10-28 17:32 rdm
* proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/src/rpdutils.cxx:
remove some compiler warnings showing with AIX.
2003-10-28 16:17 brun
* tutorials/zdemo.C:
Change positions of basic annotations from user coordinates to NDC.
This change is required following the support of log scale for basic primitives.
2003-10-28 15:09 rdm
* rint/: inc/TRint.h, src/TRint.cxx:
fix long standing problem of re-submission of commands when a PROOF command
is active. Turns out that TRint::HandleTermInput was called recursively
while PROOF was waiting for socket activity in TMonitor, where monitoring of
socket 0 (stdin) was not turned off, now it is.
2003-10-28 12:48 rdm
* globusauth/src/globus_gsi_system_config.c:
now copied from the patches directory by ./configure.
2003-10-28 12:44 rdm
* cint/: inc/G__ci.h, lib/README.txt, src/ifunc.c, src/parse.c:
import of CINT 5.15.108.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-10-28 12:42 rdm
* cint/lib/qt/: README.txt, qcompactstyle.h, qconfig.h, qmodules.h,
qplatformdefs.h, qtcint.h, qtclasses.h, qtdummy.h, qtfunctions.h,
qtglobals.h, qtstatic.cxx, setup, setup.bat:
new Qt interface classes by Masa.
2003-10-27 18:46 rdm
* rpdutils/src/rpdutils.cxx:
#ifdef R__KRB5 was on wrong position actually commenting out a namespace
statement.
2003-10-27 17:51 brun
* mlp/inc/TMultiLayerPerceptron.h, mlp/inc/TNeuron.h,
mlp/src/TMultiLayerPerceptron.cxx, mlp/src/TNeuron.cxx,
tutorials/mlpHiggs.C:
From Christophe Delaere;
Fix a bug in TMultiLayerPerceptron in case weights are not 1 when computing
the derivatives.
Tutorial mlpHiggs.C has been optimized.
2003-10-27 11:36 rdm
* rpdutils/src/rpdutils.cxx:
put PrintPrincipal() function in KRB5 only ifdef's.
2003-10-27 10:48 rdm
* krb5auth/src/Krb5Auth.cxx, net/src/TAuthenticate.cxx,
proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/src/rpdutils.cxx:
From Philippe:
this is a patch that implements the forwarding of kerberos credentials
from the client to the server. In particular this allow the usage of
kerberos both from the client to the proof server and from the proof master
to the proof slave.
I also added the ability to specify a target user in rootauthrc when
selecting the kerberos authentification (i.e. master and slave will run
as this user is allowed).
In order to implement these 2 features, the client and server need to have
a few extra communications (send the target user name and the credentials),
to support this I had to increment the protocol numbers.
2003-10-27 09:38 rdm
* test/RootShower/Makefile:
use same trick as in $ROOTSYS/test/Makefile.arch to keep whitespace after -o.
2003-10-27 08:23 brun
* test/RootShower/Makefile:
Fix from George Irwin:
A blank is required after -o in
OutPutOpt = -o
2003-10-26 02:03 rdm
* proofd/src/proofd.cxx:
check also $HOME/.proof.conf.
2003-10-24 18:48 rdm
* proof/: inc/LinkDef.h, src/TProofPlayer.cxx:
old TPacketizer not needed anymore, work is done by TPacketizer2.
Don't forget to delete proof/src/G__Proof.d, otherwise the build fails.
2003-10-24 18:47 rdm
* proof/: inc/TPacketizer.h, src/TPacketizer.cxx:
not needed anymore.
2003-10-24 18:27 rdm
* gui/: inc/LinkDef1.h, inc/TGFrame.h, src/TGFrame.cxx:
make TGMapKey known to CINT.
2003-10-24 02:40 rdm
* proof/src/: TPacketizer2.cxx, TProofServ.cxx:
From Maarten:
- provide a work around for bug in gcc 3.2.1 causing problem in TPacketizer2.
- don't abort on system errors, only on fatals.
2003-10-23 19:32 rdm
* rootd/src/rootd.cxx:
move authentication debug print statement.
2003-10-23 17:31 rdm
* base/src/TROOT.cxx:
support ROOTDEBUG environment variable, its value is used to set gDebug
at startup and overrides the value in a rootrc file. Convenient to quickly
turn on debug mode in TROOT startup.
2003-10-23 17:27 rdm
* gui/src/TGApplication.cxx:
if connection to X server was successful make sure that TROOT is not in
batch mode, a GUI in batch mode makes no sense.
2003-10-23 16:06 brun
* geom/src/TGeoPgon.cxx:
From Andrei Gheata:
Bug fix in TGeoPgon::Contains
2003-10-23 12:59 rdm
* tutorials/TestAuth.C:
From Gerri:
tutorials/TestAuth.C
o macro testing the implemented authentication methods (except
Kerberos) in localhost mode.
2003-10-23 11:38 brun
* base/src/TMath.cxx:
Modify the order of the tests on x>0 in TMath::Poisson
2003-10-23 11:36 brun
* graf/src/: TArrow.cxx, TEllipse.cxx, TLatex.cxx, TLine.cxx,
TMarker.cxx, TText.cxx:
Implement support for log scales in the drawing, picking and editing.
The corresponding primitives can be drawn in a pad in linear scale
and one can toggle the lin/log scales.
2003-10-22 20:48 rdm
* configure, README/README.GLOBUS, etc/hostcert.conf,
globusauth/src/GlobusAuth.cxx, krb5auth/src/Krb5Auth.cxx,
net/src/TAuthenticate.cxx, net/src/TFTP.cxx, net/src/TNetFile.cxx,
proof/src/TProofServ.cxx, proofd/src/proofd.cxx,
rpdutils/inc/rpdp.h, rpdutils/src/globus.cxx,
rpdutils/src/rpdutils.cxx:
From Gerri:
Patched files:
configure
o improved detection of patch details for globus
README/README.GLOBUS
o updated
etc/hostcert.conf
o add example for non-root runs
globusauth/src/GlobusAuth.cxx
o remove redundant 'access' calls
net/src/TAuthenticate.cxx
o fix return value in method GetPromptUser
proofd/src/proofd.cxx
o remove redundant 'access' calls
rpdutils/inc/rpdp.h
o add new includes file depending on Globus GTK version
o add prototype for new function GblsToolCheckProxy
rpdutils/src/globus.cxx
o fix a few typos in debug messages
o add new function GblsToolCheckProxy for checking user
proxies when running as non-root
o remove redundant 'access' calls
rpdutils/src/rpdutils.cxx
o remove redundant 'access' calls
2003-10-22 19:21 rdm
* cint/: inc/G__ci.h, inc/common.h, inc/fproto.h,
lib/posix/posix.h, src/CallFunc.cxx, src/decl.c, src/expr.c,
src/ifunc.c, src/init.c, src/opr.c, src/parse.c:
import of CINT 5.15.107.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-10-22 19:20 rdm
* base/inc/TApplication.h, base/src/TApplication.cxx,
gui/src/TGApplication.cxx, gui/src/TGClient.cxx,
gui/src/TRootApplication.cxx, gui/src/TRootGuiFactory.cxx:
implement automatic switching to batch mode when no connection to an X server
can be established, instead of exiting the program.
2003-10-20 20:19 brun
* hist/src/TFormula.cxx, treeplayer/src/TTreeFormula.cxx:
From Philippe:
TFormula::Analyze now check whether an expression is numerical __before__ checking whether it is a defined variable.
Without this patch doing something as simple as:
mytree->Draw(".5");
mytree->Draw("goodvar*.5");
could fails depending on the structure of the tree. In particular, if a new 'weird'
branch is added to a tree, those statement might now lead to core dumps event if
the new branch is not being used. (The core dumps should not be happening in the
first place ... but this is more stable :) ).
In TTreeFormula, we now properly skip the case of a TClonesArray inside a split TClonesArray when looking for data
members and methods (when the branch name is not fully explicit).
2003-10-20 17:55 brun
* graf/src/TGraph.cxx:
In TGraph::Streamer, scan the list of functions and set the parent
of the TF1 object to the TGraph object.
2003-10-20 10:46 brun
* geom/: inc/LinkDef1.h, inc/TGeoManager.h, inc/TGeoPcon.h,
inc/TGeoVolume.h, src/TGeoBoolNode.cxx, src/TGeoManager.cxx,
src/TGeoPcon.cxx, src/TGeoPgon.cxx, src/TGeoTube.cxx,
src/TGeoVolume.cxx:
From Andrei Gheata:
- fix in pcon and pgon safety for points exactly on boundaries
- new class TGeoVolumeAssembly inheriting from TGeoVolume and
representing an assembly of volumes. This helps grouping togeather a set
of nodes (using the usual TGeoVolumeAssembly::AddNode()) without the
definition of a container. When positioning an assembly in other volume,
this will just position its own nodes inside this, without being
integrated to the logical hierarchy. The class is not well documented,
but a detailed description will go to the users guide.
2003-10-20 10:40 brun
* mlp/inc/TMultiLayerPerceptron.h,
mlp/src/TMultiLayerPerceptron.cxx, tutorials/mlpHiggs.C:
From Christophe Delaere
Change calling sequence of the Evaluate function to avoid variable length list
of arguments that gives problems on MacOSX
2003-10-20 08:50 brun
* graf/src/TGraph.cxx:
In TGraph::Fit remove previous TF1 object from the list of functions like in TH1::Fit
2003-10-20 08:32 brun
* tree/inc/TChain.h:
make second argument of TChain::AddFile optional with the default value=kBigNumber
2003-10-19 16:15 rdm
* gui/src/TGProgressBar.cxx:
allow calling of SetRange() while progress bar is already in progress.
2003-10-18 21:32 rdm
* meta/src/TStreamerInfo.cxx:
roll back Philippe's change about not writing classes which have a version
number of 0, their base classes still need to be written. Also stress test 2
failed with this change since less was written.
2003-10-18 19:00 rdm
* gui/src/TGButton.cxx:
From Ilka:
there were no precise filters of keyboard events in HandleKey() button mods.
This patch fixes HandleKey() methods of TGTextButton, TGCheckButton and
TGRadioButton classes.
2003-10-17 10:20 brun
* meta/src/TStreamerInfo.cxx:
From Philippe:
This patch modify TStreamerInfo::Build and TStreamerInfo::ForceWriteInfo to assume that all objects of a class whose
version number is explicitly 0 are transient.
2003-10-16 18:39 rdm
* gui/src/TRootCanvas.cxx, test/Tetris.cxx:
correction in comments.
2003-10-16 17:21 rdm
* gui/: inc/TGShutter.h, src/TGShutter.cxx:
From Ilka:
containing the new methods:
GetSelectedItem() const
SetSelectedItem(TGShutterItem *item)
that sets programmatically the currently open shutter item.
2003-10-16 17:01 rdm
* README/README.PROOF, treeplayer/src/TTreePlayer.cxx:
By Maarten:
don't generate anymore the ProcessFill() and ProcessCut() methods in the
selector class definition.
Some updates in PROOF README.
2003-10-15 18:45 rdm
* build/unix/makecintdlls.sh:
fix for MacOS X.
2003-10-14 17:08 rdm
* gui/: inc/TGToolBar.h, src/TGToolBar.cxx:
From Ilka:
a new method
TGToolBar::ChangeIcon()
that allows the user to change the icon of a toolbar button.
Example:
// after creating the toolbar
ToolBarData_t t[8];
TGToolBar *tb = new TGToolBar(fMain, 520, 80);
...
// and adding buttons
tb->AddButton(fMain, &t[i], sp);
...
// you can change the icon of the button i
tb->ChangeIcon(&t[i],"new_icon.xpm");
2003-10-14 16:53 rdm
* proof/src/TProofPlayer.cxx:
Van Maarten:
deze patch is nodig voor PROOF backward compatibility,
(call Begin() in the slaves voor Version == 0).
2003-10-14 09:39 brun
* table/src/TTable.cxx:
Patch from Valeri Fine
It fixes the artifacts caused by the "hex" representation of
the TTable "unsigned char *" type data column.
2003-10-13 22:21 brun
* gui/src/TGCanvas.cxx, gui/src/TRootCanvas.cxx,
win32gdk/src/TGWin32.cxx:
From Valeriy Onuchin:
- reduce a step for mouse scroll wheel from 1 to 1/4 page
- reduce a time displaying win32gdk splash screen
from 6 to 2 sec
2003-10-13 20:24 rdm
* base/src/TTask.cxx:
It seems, there is a typo in the "if(" in the TTask::Abort. Should be
"if(!fgBeginTask)".
2003-10-13 20:20 rdm
* rootx/src/rootx.cxx, unix/src/TUnixSystem.cxx:
from Philippe:
fix to compile with gcc 3 on SGI 64.
2003-10-13 19:17 rdm
* config/Makefile.linuxicc:
With v8 the fortran compiler changed name from ifc to ifort.
2003-10-13 18:55 rdm
* srputils/src/rtconf.c:
include error.h on RH9.
2003-10-12 09:25 brun
* html/src/THtml.cxx:
From Axel Naumann:
THtml will now create the following warning when documention an abstract
class: "This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.", where "header"
is linked to the header html file of the class. This warning appears right
above the method list.
2003-10-10 19:01 brun
* winnt/src/Win32Splash.cxx:
Reverting to the previous version of teh splash screen. new version had side-effects.
2003-10-10 16:24 brun
* gui/src/TRootCanvas.cxx, winnt/src/Win32Splash.cxx:
From valeriy Onuchin
- handling mouse wheel in TCanvas added
- "improved" splash screen.
2003-10-10 13:20 brun
* gui/: inc/TGCanvas.h, inc/TGListTree.h, inc/TGStatusBar.h,
inc/WidgetMessageTypes.h, src/TGCanvas.cxx, src/TGListTree.cxx,
src/TGStatusBar.cxx:
From Valeriy Onuchin:
- KeyPressed signal and correspondent SendMessage added
to TGListTree and TGContainer classes
That will allow to add user defined key-handling
procedures to ROOT browser (request from Olivier Stezowski)
- follow-ups after TGStatusBar yesterday changes:
TGStatusBar is derived now from TGHorizontalFrame
2003-10-09 22:27 rdm
* config/root-config.in:
on MacOS X explicitely force the loading of libGraf3d by sepcifying the CINT
setup symbol undefined.
2003-10-09 20:53 brun
* table/: inc/TDataSet.h, src/TDataSet.cxx:
Mods by Valeri Fine to eliminate compiler warnings.
2003-10-09 18:39 brun
* graf/: inc/TArrow.h, src/TArrow.cxx:
Modify TArraw::DrawArrow to use the current arrow attributes in case
the default arguments arrowsize and option are specified.
2003-10-09 09:40 brun
* gui/src/TRootControlBar.cxx:
From Ilka: fix a bug in TControlBar::GetClicked
2003-10-09 03:17 rdm
* net/src/TAuthenticate.cxx:
fix several pointers prints to 0x%lx casted to long.
2003-10-08 18:36 brun
* hist/src/THStack.cxx:
In THStack::Paint, take into account the fact that the stack histogram title may have
changed between consecutive calls to the Paint function.
2003-10-08 18:21 brun
* geom/: inc/TGeoManager.h, src/TGeoManager.cxx:
From Andrei:
Add a new argument to TGeoManager::IsSameLocation
2003-10-08 17:30 brun
* winnt/src/Win32Splash.cxx:
Optimized version of the spalsh screen on Windows by Valeriy Onuchin.
2003-10-08 11:50 brun
* gui/: inc/TGStatusBar.h, inc/TRootBrowser.h, inc/TRootCanvas.h,
src/TGStatusBar.cxx:
From valeriy Onuchin:
Add possibility to put a progress bar into a status bar.
Deriving TGStatusBarPart from TGCompositeFrame
allows to do it.
- Derive TGStatusBarPart from TGCompositeFrame
- Add getters returning TGStatusBar to TRootBrowser,TRootCanvas
- Add getter returning TGStatusBarPart to TGStatusBar
Example:
TBrowser b;
TRootBrowser *imp= (TRootBrowser*)b.GetBrowserImp();
TGStatusBar *bar = imp->GetStatusBar();
TGCompositeFrame *part = bar->GetBarPart(1);
TGHProgressBar *hb = new TGHProgressBar(part, 300);
hb->Move(300,0);
part->MapSubwindows();
2003-10-08 11:45 brun
* hist/inc/: TH2I.h, TH3I.h:
Add these two includes for consistency
2003-10-08 09:55 brun
* hist/src/TAxis.cxx:
In TAxis::SetBinLabel, add support for redefining the label for a bin
with an existing label (thanks to Karoly Banicz)
2003-10-08 07:34 brun
* base/inc/RVersion.h, build/version_number:
Make version 3.10/01
2003-10-07 23:27 rdm
* README/CREDITS:
added Gerri.
2003-10-07 23:12 rdm
* physics/inc/TLorentzVector.h, tree/src/TDSet.cxx:
cosmetics, put private before public in TLorentzVector and remove some
blank lines in TDSet.
2003-10-07 23:09 rdm
* README/README.AUTH, globusauth/src/GlobusAuth.cxx,
krb5auth/src/Krb5Auth.cxx, net/inc/TAuthenticate.h,
net/src/TAuthenticate.cxx, proof/inc/TProof.h,
proof/inc/TProofServ.h, proof/src/TProofServ.cxx,
proof/src/TSlave.cxx, rpdutils/src/rpdutils.cxx,
srputils/src/SRPAuth.cxx:
From Gerri:
Index: README/README.AUTH
o Updated
Index: globusauth/src/GlobusAuth.cxx
o Drop use of environment variables (DEFAULTUSER,AUTHREUSE,PROMPTUSER)
Index: krb5auth/src/Krb5Auth.cxx
o Drop use of environment variables (DEFAULTUSER,AUTHREUSE,PROMPTUSER)
Index: net/inc/TAuthenticate.h
Index: net/src/TAuthenticate.cxx
o Drop use of environment variables (DEFAULTUSER,AUTHREUSE,PROMPTUSER)
o Fix problem with defaults
o Fix problem with method ReadAuthRc when reading an empty .rootauthrc
o Fix problem with method ReadAuthRc when updating information for an
existing THostAuth
Index: proof/inc/TProof.h
o Propagation of new fSRPPwd flag
Index: proof/inc/TProofServ.h
o Propagation of new fSRPPwd flag
Index: proof/src/TProofServ.cxx
o Propagation of new fSRPPwd flag
Index: proof/src/TSlave.cxx
o Propagation of new fSRPPwd flag
Index: rpdutils/src/rpdutils.cxx
o Fix small problem with uninitialized variables to avoid
compiler complains (from Ioannis Papadopoulos).
Index: srputils/src/SRPAuth.cxx
o Drop use of environment variables (DEFAULTUSER,AUTHREUSE,PROMPTUSER)
2003-10-07 21:02 brun
* gui/: inc/TRootBrowser.h, src/TRootBrowser.cxx:
From Valeriy Onuchin:
added getters to TRootBrowser
TGListTree *GetListTree() const;
TGFileContainer *GetIconBox() const;
2003-10-07 17:45 brun
* tree/src/TTree.cxx, treeplayer/src/TTreePlayer.cxx:
Add documentation for the new 4-D option in TTree::Draw and TTreePlayer::DrawSelect
// varexp is an expression of the general form
// - "e1" produces a 1-d histogram of expression "e1"
// - "e1:e2" produces a 2-d histogram (or profile) of "e1" versus "e2"
// - "e1:e2:e3" produces a 3-d scatter-plot of "e1" versus "e2" versus "e3"
// - "e1:e2:e3:e4" produces a 3-d scatter-plot of "e1" versus "e2" versus "e3"
// and "e4" mapped on the color number.
//
// Example:
// varexp = x simplest case: draw a 1-Dim distribution of column named x
// = sqrt(x) : draw distribution of sqrt(x)
// = x*y/z
// = y:sqrt(x) 2-Dim distribution of y versus sqrt(x)
// = px:py:pz:2.5*E produces a 3-d scatter-plot of px vs py ps pz
// and the color number of each marker will be 2.5*E.
// If the color number is negative it is set to 0.
// If the color number is greater than the current number of colors
// it is set to the highest color number.
// The default number of colors is 50.
// see TStyle::SetPalette for setting a new color palette.
2003-10-07 16:03 rdm
* clib/inc/rsalib.h, clib/src/rsalib.c, config/rootrc.in,
globusauth/src/GlobusAuth.cxx, krb5auth/src/Krb5Auth.cxx,
net/inc/TAuthenticate.h, net/src/TAuthenticate.cxx,
net/src/THostAuth.cxx, proof/inc/TProof.h, proof/inc/TProofServ.h,
proof/src/TCondor.cxx, proof/src/TProof.cxx,
proof/src/TProofServ.cxx, proof/src/TSlave.cxx,
proofd/src/proofd.cxx, rootd/src/rootd.cxx, rpdutils/inc/rpdp.h,
rpdutils/src/rpdutils.cxx, rpdutils/src/ssh.cxx,
srputils/src/SRPAuth.cxx:
From Gerri:
clib/inc/rsalib.h, clib/src/rsalib.c
o Random seed initialization moved from rsalib.c to in rootd.cxx,
proofd.cxx and TAuthenticate.
o Introduced counter to avoid infinite loops during key generation
etc/rpdauth.allow
o Introduced default with all authentication methods allowed in
rpdauth.allow
globusauth/src/GlobusAuth.cxx
o Secure RSA public transmission to servers (receiving a server
key)
o Added test on Argc() before use of the Argv() arguments
o Use isatty to check if interactive session
krb5auth/src/Krb5Auth.cxx
o Secure RSA public transmission to servers (receiving a server
key)
o Added test on Argc() before use of the Argv() arguments
o Use isatty to check if interactive session
net/inc/TAuthenticate.h, net/src/TAuthenticate.cxx
o Secure RSA public transmission to servers (receiving a server
key)
o Added possibility for a "default" THostAuth instantiation valid
for all hosts if anything more specific is not found.
Used by TProofServ/TAuthenticate for host without specific
authentication directives in proof.conf .
o Random seed initialization moved from rsalib.c to in rootd.cxx,
proofd.cxx and TAuthenticate.
o Introduced counter to avoid infinite loops during key generation
o Fixed potential problem with SSH master-to-slave authentication;
force failure if, for some reason, the slave is not accepting
the standard key files (depending on the user ssh config
directives, this could cause interactive prompt for password
on the master, therefore hanging the system).
Specific directives to avoid prompting are passed via command
line with the '-o' ssh option.
o Fixed problem with forming the message used to notify an SSH
failure
o Use mkstemp instead of tmpnam
o Use isatty to check if interactive session
o Avoid creating duplicates of TAuthDetails instantiation for
offset = -1
o Fixed a few inconsistency of debug levels error messages after
failed authentications
o Fixed a few inconsistency between authentication method names
and ROOT environment variable names
o Fixed problem with null passwd sending in ClearAuth
o Fixed problem with method attempting order during negotiation
o Add possibility to avoid check on localhost for testing purposes
(in method GetAuthMeth)
net/src/THostAuth.cxx
o Added possibility for a "default" THostAuth instantiation valid
for all hosts if anything more specific is not found.
Used by TProofServ/TAuthenticate for host without specific
authentication directives in proof.conf .
proof/inc/TProof.h, proof/src/TProof.cxx
o Moved collection of Authentication information for slaves from
TProof to TProofServ
proof/inc/TProofServ.h, proof/src/TProofServ.cxx
o Improved transmission of RSA public key between TSlave and
TProofServ
o Moved collection of Authentication information for slaves
from TProof to TProofServ
o Added test on Argc() before use of the Argv() arguments
proof/src/TSlave.cxx
o Improved transmission of RSA public key between TSlave and
TProofServ.
Added possibility to securely forward the SRP password to
the master (ROOT environment variable: Proof.SendSRPPwd,
default 0 - off).
o Removed checks on Proofd.Authentication in TSlave; security
stuff is setup in TProofServ and used in TAuthenticate
proofd/src/proofd.cxx
o Random seed initialization moved from rsalib.c to in rootd.cxx,
proofd.cxx and TAuthenticate.
rootd/src/rootd.cxx
o Random seed initialization moved from rsalib.c to in rootd.cxx,
proofd.cxx and TAuthenticate.
rpdutils/inc/rpdp.h, rpdutils/src/rpdutils.cxx
o Secure RSA public transmission from clients (sending a server
key)
o Fixed ambiguity with method index resolving from name due to
the fact that 'usrpwd' contains the string 'srp'
o Add file existence check before trying open
o Add a few debug messages
o Fixed problem with domain checking in daemon.access
('cern.ch uidgid' or '.cern.ch uidgid' were not accepted)
o Fixed problem with null passwd receiveing in RpdUser
rpdutils/src/ssh.cxx
o Fixed function name in debug message in ssh.cxx
o Use mkstemp instead of mktemp
srputils/src/SRPAuth.cxx
o Secure RSA public transmission to servers (receiving a server
key)
2003-10-07 16:00 rdm
* unix/src/TUnixSystem.cxx, winnt/src/TWinNTSystem.cxx:
TempFileName() returns a pointer to a file opened in read and write mode,
before was only write mode.
2003-10-07 15:41 brun
* base/inc/TControlBarImp.h, gpad/inc/TControlBar.h,
gpad/src/TControlBar.cxx, gui/src/TRootControlBar.cxx:
From Ilka:
Changes that allow users to get a pointer of the last clicked
button in the control bar.
New member function :
TControlBarButton *TControlBar::GetClicked() const;
2003-10-07 13:10 brun
* tree/inc/TTree.h, tree/inc/TVirtualTreePlayer.h,
treeplayer/inc/TSelectorDraw.h, treeplayer/inc/TTreePlayer.h,
treeplayer/src/TSelectorDraw.cxx, treeplayer/src/TTreePlayer.cxx:
Implement support for 4 dimensions in TTree::Draw.
When doing tree.Draw("x:y:z:u"), the variable "u" is mapped to a color number.
A 3-d scatter plot is generated with ncolors TPolymarker3D objects attached
to the produced histogram list of functions.
2003-10-07 10:58 brun
* graf/src/TGraph.cxx:
Add a protection in TGraph::GetHistogram in case the number of points
in the graph is null.
2003-10-06 17:15 brun
* geom/src/: TGeoManager.cxx, TGeoNode.cxx:
From Andrei:
bug fixes :
-copy number not set in TGeoNode
-iteration on the wrong collection in TGeoManager
2003-10-06 15:40 brun
* hist/src/TAxis.cxx:
From Olivier:
Fix a problem in TAxis::GetTimeFormat
2003-10-06 14:00 brun
* gpad/src/TCanvas.cxx:
Add a protection in TCanvas::Resize in case padsav is null
2003-10-05 17:45 rdm
* cint/: inc/G__ci.h, src/debug.c, src/expr.c, src/ifunc.c,
src/loadfile.c, src/new.c:
import of CINT 5.15.105.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Including correction of expr.c.
2003-10-02 22:28 brun
* hist/src/TH1.cxx:
In TH1::Divide, in case nEntries of "this" histogram is null,
set it to the number of entries in the first operand histogram.
If it is still null, set it to 1.
2003-10-02 19:20 brun
* base/src/TObject.cxx:
Remove a ";" at the beginning of the file
2003-10-02 13:44 brun
* html/src/THtml.cxx:
From Axel Naumann
in THtml::GetHtmlFileName fix to prevent TWinNTSystem from
inserting a '\'.
2003-10-02 12:12 brun
* gui/inc/TGShutter.h:
From Ilka:
Add a new getter GetButton.
2003-10-02 11:27 brun
* tutorials/guitest.C:
From Ilka:
Use the U notation for hexadecimal constant (required by CINT)
2003-10-02 10:03 brun
* cint/src/expr.c:
Fix a bug in G__getexpr.
The allocation for the temp array ebuf must be strlen(expression)+2
instead of strlen(expression)+1.
The problem appears when processing templated data members containing a blank
space in the definition.
2003-10-01 19:53 brun
* geom/: inc/TGeoCache.h, src/TGeoCache.cxx, src/TGeoManager.cxx,
src/TGeoMatrix.cxx:
From Andrei Gheata:
several bug fixes.
2003-10-01 16:14 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintErrors do not show the horizonthal error bars
in case both the content and the error in Y are null
2003-09-30 23:20 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Functions TF1::SetMaximum and SetMinimum are moved to the implementation file.
When fHistogram exists, the functions call the corresponding function
of fHistogram if fHistogram is non null.
Add a protection in TF1::Paint in case one switch from lin to log scale along y
and the local minimum of the function is null or negative.
2003-09-30 21:04 brun
* hist/src/THLimitsFinder.cxx:
From Philippe:
correction for correctly finding the limits of an integer histogram of range [-x,0]. It was ]-x-1,0[ and is
now ]-x-1,1[
2003-09-30 15:42 rdm
* cint/: inc/G__ci.h, inc/common.h, inc/fproto.h, inc/memtest.h,
lib/win32api/cintwin.h, src/debug.c, src/end.c, src/init.c,
src/input.c, src/loadfile.c, src/memtest.c, src/parse.c,
src/pause.c, src/scrupto.c, src/typedef.c:
import of cint 5.15.105 preview for testing.
2003-09-30 15:41 rdm
* meta/src/TCint.cxx:
add protection in UpdateListOfTypes() against TROOT::fTypes being 0. This
happened when doing "root -b" with the new CINT 105 (at least I did not
notice it before).
2003-09-30 12:09 brun
* graf/src/: TDiamond.cxx, TLatex.cxx:
In the SavePrimitive functions, set the default text size to 0.05 instead of 1
2003-09-30 11:52 brun
* table/src/TCL.cxx:
Add references to the original CERNLIB packages
2003-09-30 09:38 brun
* gui/src/TRootEmbeddedCanvas.cxx:
From Ilka: a mod forgotten in yesterday's commit
2003-09-29 20:46 brun
* krb5auth/inc/Krb5Auth.h:
Fix a problem on SGI.
2003-09-29 18:06 brun
* tutorials/markerwarning.C:
Add a new tutorial (thanks Olivier) illustrating the danger of using
asymmetryc markers.
2003-09-29 14:37 brun
* graf/src/TText.cxx:
In TText::SavePrimitive change the default text size when calling SaveAttributes
from 1 to the true default 0.05
2003-09-29 14:31 brun
* gpad/src/TCanvas.cxx:
From Ilka
Fix in TCanvas constructor called by TRootEmbeddedCanvas.
Call gGuiFactory->CreatecanvasImp in non batch mode.
2003-09-29 09:26 brun
* gui/src/TRootControlBar.cxx:
From Ilka:
The text color can be set before the Show method is invoked.
2003-09-28 13:33 rdm
* cint/: inc/G__ci.h, inc/longif3.h, include/windows.h,
lib/dll_stl/str.h, lib/longlong/longdbl.h, lib/longlong/longlong.h,
lib/prec_stl/map, lib/prec_stl/multimap, lib/pthread/Makefile,
src/debug.c, src/init.c, src/loadfile.c, src/macro.c,
src/newlink.c, src/sun5strm.cxx, tool/ifdef/Makefile.bcc5:
import of CINT 5.15.104.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-09-27 21:50 rdm
* proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/src/rpdutils.cxx:
protect Krb5Auth.h by ifdef R__KRB5 to avoid problems in case krb5 is not used.
2003-09-27 21:08 rdm
* proof/src/: TProof.cxx, TProofServ.cxx:
use TString::operator==() instead of strcmp(s.Data(),...) in several places
and correct so typos in comments.
2003-09-27 21:06 rdm
* krb5auth/inc/Krb5Auth.h, krb5auth/src/Krb5Auth.cxx,
proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/src/rpdutils.cxx:
put all Kerberos 5 related includes in Krb5Auth.h and not anymore in 4
different implementation files.
2003-09-27 20:45 rdm
* base/src/TFile.cxx:
add comments about using TFile::Open in the TFile ctor and about netopt
in TFile::Open.
2003-09-27 20:00 rdm
* base/src/TSystem.cxx:
fix case of erroneously binding of TRFIOSystem helper class.
2003-09-27 19:48 brun
* graf/src/TGraph.cxx:
Fix a small problem in TGraph::PaintGrapHist when zooming a histogram along X.
Clipping was not always correct.
2003-09-27 12:49 brun
* tree/src/TBasket.cxx:
In TBasket::ReadBasketBuffers, add support for reading buffers that could not be
compressed with very old versions of Root.
We already added support for version 3.02, 3.03 and 3.04.
This patch can also process files written with older versions.
2003-09-27 11:28 brun
* vmc/: inc/TVirtualMC.h, src/TVirtualMC.cxx:
From Ivana:
For back compatibility, add a non-virtual
function TVirtualMC::DefineParticles() which will just
print a warning that this function is obsolete. We should
remove it with putting the new version number.
2003-09-26 18:30 brun
* gpad/src/TPad.cxx:
In the default TPad constructor, initialize the mother pad to the current pad gPad.
2003-09-26 15:33 rdm
* Makefile, test/Makefile:
make distclean in test now also cleans the RootShower directory.
2003-09-26 15:26 rdm
* rfio/: inc/TCastorFile.h, src/TCastorFile.cxx:
correction in absolute internal path handling.
2003-09-26 15:15 rdm
* proof/src/TProofServ.cxx, rint/src/TRint.cxx:
synchornize the libs loaded at startup in root and proofserv, so scripts
running on PROOF see the same default environment.
2003-09-26 11:23 rdm
* gui/src/TGButton.cxx:
From Ilka:
fix in TGButton::SetText() method. In the current version
the new_label hot key is not added in the list with key bindings
of the main frame; the old one remains active.
2003-09-26 11:12 rdm
* build/unix/: importcint.sh, makecintdlls.sh:
don't import systypes.h and types.h from cint distribution. They are machine
dependent and will be generated during makecintdlls.
2003-09-26 11:11 rdm
* Makefile:
don't delete mpHiggs.root during distclean.
2003-09-26 11:11 rdm
* cint/include/sys/.cvsignore:
added types.h.
2003-09-26 11:10 rdm
* cint/include/.cvsignore:
added systypes.h.
2003-09-26 11:10 rdm
* cint/include/systypes.h:
file is generated by makecintdll's.
2003-09-26 10:39 rdm
* cint/include/sys/types.h:
types.h is automatically generated during makecintdlls.
2003-09-26 10:36 rdm
* configure, config/Makefile.solarisCC5:
added resolvlib also for Solaris in configure (was laready there for linux).i
No need to add it in Makefile.solarisCC5.
2003-09-25 19:29 brun
* config/Makefile.solarisCC5, krb5auth/src/Krb5Auth.cxx,
proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/src/rpdutils.cxx:
Fixes by Philippe to get these files to compile under Solaris
2003-09-25 16:50 brun
* geom/: inc/TGeoMatrix.h, src/TGeoMatrix.cxx:
From Andrei Gheata:
few modifications in TGeoMatrix class:
- few extra setters
- new methods RotateX/Y/Z()
- a source of memory leaks in TGeoCombiTrans eliminated (the rotation
component is now owned by the class, it can only be copied from other
rotation)
2003-09-25 11:38 rdm
* cint/Module.mk:
aiaia fix of "fix".
2003-09-25 11:20 rdm
* cint/Module.mk:
fix stupid mistake with if/else/endif for MS case.
2003-09-24 15:24 rdm
* proofd/src/proofd.cxx, rootd/src/rootd.cxx, rpdutils/inc/rpdp.h,
rpdutils/src/rpdutils.cxx:
rename the rather cryptically named rpdauth.allow to daemon.access. Since
this file is not only controlling which hosts are allowed but also which
hosts are denied access.
2003-09-24 15:22 rdm
* etc/daemon.access:
was rpdauth.allow.
2003-09-24 15:22 rdm
* etc/rpdauth.allow:
renamed daemon.access.
2003-09-24 14:58 rdm
* Makefile:
add check on SHIFTINCDIR.
2003-09-24 10:57 rdm
* net/inc/TInetAddress.h:
change XTSocket to TXSocket.
2003-09-24 06:10 brun
* cint/Module.mk:
From Philippe:
On Solaris Workshop 6.2 (CC version 5.3), cout << endl; works if I compiled
with sunstrm.cxx and longif3.cxx
2003-09-24 01:45 rdm
* proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/src/rpdutils.cxx:
fixes for more RH10beta krb5 issues.
2003-09-24 01:19 rdm
* krb5auth/src/Krb5Auth.cxx:
don't explicitly include com_err.h, fixes RH10beta compile issue.
2003-09-24 00:06 rdm
* proof/src/TCondor.cxx:
change TempFilename() to TempFileName().
2003-09-24 00:06 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:
properly put the TempDirectory() and TempFileName() methods in TUnixSystem
and TWinNTSystem since they contain machine dependencies. Also changed the
name TempFilename() to TempFileName() to be consistent with other methods
containing FileName.
2003-09-24 00:03 rdm
* cont/: inc/TMap.h, src/TMap.cxx:
add method GetValue(const char *keyname).
2003-09-23 19:20 rdm
* tree/inc/TSelector.h, tree/inc/TSelectorCint.h,
tree/src/TSelectorCint.cxx, treeplayer/src/TTreePlayer.cxx:
from Maarten:
make TSelector::Version() const.
2003-09-23 17:26 rdm
* configure, rfio/src/TCastorFile.cxx:
in configure pass include paths through cygpath -m. In TCastorFile.cxx add
explicit early include of some Win32 headers.
2003-09-23 17:18 rdm
* net/inc/TInetAddress.h:
added XTSocket as friend on special request for BaBar, later XTSocket
will become TXSocket in ROOT.
2003-09-23 17:13 brun
* tutorials/logscales.C:
New tutorial from Olivier illustrating the use of axis with log scales.
2003-09-23 16:56 brun
* graf/src/TGaxis.cxx, hist/src/TAxis.cxx, hist/src/TF1.cxx:
From Olivier:
Save the new axis attributes (MoreLogLabels and noExponent) when axis
are saved in a canvas.C file.
2003-09-23 16:51 brun
* proof/src/TProofPlayer.cxx, tree/inc/TSelector.h,
tree/inc/TSelectorCint.h, tree/src/TSelectorCint.cxx,
treeplayer/src/TTreePlayer.cxx:
From Maarten Ballintijn
New selector code, modified TTreePlayer and TProofPlayer.
These mods are a first step to get TTree::Draw working with PROOF.
2003-09-23 16:03 brun
* vmc/: inc/TGeoMCGeometry.h, inc/TMCVerbose.h,
inc/TVirtualMCGeometry.h, inc/TVirtualMCStack.h,
src/TGeoMCGeometry.cxx, src/TMCVerbose.cxx,
src/TVirtualMCApplication.cxx, src/TVirtualMCDecayer.cxx,
src/TVirtualMCStack.cxx:
From Ivana:
- added, corrected comments
2003-09-23 16:02 brun
* vmc/inc/TVirtualMCApplication.h:
From Ivana:
- added new function AddParticles() (with default dummy implementation)
- added default implementation to TrackingRmax(), TrackingZmax()
2003-09-23 16:02 brun
* vmc/inc/TVirtualMC.h:
From Ivana:
- added new functions to enable user to define own particles and ions
DefineParticle(..)
DefineIon(..)
- Gfpart replaced with functions:
ParticleName(..) const
ParticleMass(..) const
Double_t ParticleCharge(..) const
Double_t ParticleLifeTime(..) const
TMCParticleType ParticleMCType(..) const
- suppressed G3 specific and/or not used functions:
SetColors()
Gtreve()
GtreveRoot()
DefineParticles()
FinishGeometry()
2003-09-23 16:01 brun
* vmc/inc/LinkDef.h:
From Ivana:
- added enum TMCParticleType
2003-09-23 16:01 brun
* vmc/inc/TMCParticleType.h:
New include
2003-09-23 14:20 brun
* gpad/src/TPad.cxx:
In TPad::SavePrimitive set gPad to the "this" pointer
2003-09-23 12:33 brun
* geom/: inc/TGeoManager.h, src/TGeoBoolNode.cxx,
src/TGeoCompositeShape.cxx, src/TGeoManager.cxx,
src/TGeoVolume.cxx:
From Andrei:
- one fix in TGeoIntersection::DistToIn() plus few minor changes
- changed TGeoManager::FindNode() and FindNormal() to cope with G3
interface
- few other minor changes
2003-09-23 12:03 brun
* base/src/TSystem.cxx:
Fix compilation problems with comments in unused arguments.
call to mkstemp replaced on win32 in TSystem::TempFilename
2003-09-23 11:51 brun
* tutorials/mlpHiggs.root:
Reintroduce this file in binary mode.
2003-09-23 11:50 brun
* tutorials/mlpHiggs.root:
The file was not checked with the binary option
2003-09-23 11:12 rdm
* cint/Module.mk:
check for VC_MAJOR and VC_MINOR to determine we are using VC++.NET
(major=13, minor=10).
2003-09-23 11:11 rdm
* cint/inc/longif3.h, config/Makefile.win32,
config/Makefile.win32gcc, config/Makefile.win32gdk:
don't change longif3.h but add -DG__NEWSTDHEADER to CINTCXXFLAGS in case
if VC++.NET.
2003-09-23 10:54 rdm
* base/inc/TSystem.h, base/src/TSystem.cxx,
net/src/TAuthenticate.cxx, proof/inc/TCondor.h,
proof/inc/TProofDebug.h, proof/src/TCondor.cxx,
proof/src/TProof.cxx, proofd/src/proofd.cxx:
From Maarten:
- TCondor
logging cleanup
fixed proofd port allocation
dynamic COD jobad
- Tempfile stuff (could be extended for other uses as required)
TSystem::TempDirectory()
TSystem::TempFilename()
using these methods removes the use mkstemp warning on linux
- minor cleanups
2003-09-23 10:44 brun
* cint/Module.mk:
returns to previous implementation. Gordon's change does not work
under VC++7.0
2003-09-23 10:22 brun
* cint/: Module.mk, inc/longif3.h:
Mods by Gordon Watts to compile under VisualC++7.1.NET
2003-09-23 10:13 rdm
* configure:
make check for correct version of shift more precise.
2003-09-23 09:03 brun
* cint/lib/prec_stl/map:
From Philippe:
std::map on ICC uses the allocator of pairs.
2003-09-23 09:00 brun
* cint/src/sun5strm.cxx:
Replace sun5strm by sunstrm. sun5strm does not compile on Solaris
2003-09-22 14:34 rdm
* configure:
correct test for shift include file.
2003-09-22 12:27 rdm
* net/inc/TMessage.h:
make TMessage(void* buf, Int_t bufsize) protected instead of private.
2003-09-22 12:26 rdm
* cint/: inc/G__ci.h, inc/cbstrm.h, inc/iccstrm.h, inc/longif.h,
inc/longif3.h, inc/sunstrm.h, inc/vc7strm.h, lib/cbstream/iostrm.h,
lib/iccstrm/iostrm.h, lib/longlong/longdbl.h,
lib/longlong/longlong.h, lib/prec_stl/map, lib/prec_stl/multimap,
lib/snstream/iostrm.h, lib/vc7strm/iostrm.h, src/CallFunc.cxx,
src/cast.c, src/expr.c, src/func.c, src/iccstrm.cxx, src/ifunc.c,
src/input.c, src/intrpt.c, src/longif.cxx, src/longif3.cxx,
src/memtest.c, src/new.c, src/newlink.c, src/opr.c, src/parse.c,
src/pcode.c, src/quote.c, src/shl.c, src/stub.c, src/sunstrm.cxx,
src/tmplt.c, src/val2a.c, src/value.c, src/var.c, src/vc7strm.cxx,
tool/makecint.c:
import of CINT 5.15.103.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Removed C++ comments from shl.c.
2003-09-21 23:43 rdm
* README/CREDITS:
added Jean-Damien for CASTOR interface code.
2003-09-21 23:38 rdm
* rfio/inc/LinkDef.h, rfio/inc/TCastorFile.h, configure,
base/src/TFile.cxx, config/Makefile.in, config/rootrc.in,
net/inc/TNetFile.h, net/src/TNetFile.cxx, net/src/TUrl.cxx,
rfio/Module.mk, rfio/src/TCastorFile.cxx:
New TCastorFile: a TCastorFile is like a normal TNetFile except that it
obtains the remote node (disk server) via the CASTOR API, once the
disk server and the local file path are determined, the file will be
accessed via the rootd daemon. File names have to be specified like:
castor:/castor/cern.ch/user/r/rdm/bla.root
The patch level of libshift should be at least 1.5.x (which is the one
installed on all CERN machines in /usr/local).
The CASTOR HSM interface code is provided by Jean-Damien Durand of the
CASTOR team.
2003-09-21 23:27 rdm
* base/inc/TQConnection.h:
TString::Data() not needed for methods returning a "const char*".
2003-09-20 16:39 brun
* base/inc/RQ_OBJECT.h, gui/src/TRootBrowser.cxx:
From Valeriy Onuchin
- cosmetic mods (compacting) in RQ_OBJECT macro
- emit TRootBrowser signals (BrowseObj,DoubleClicked)
before action assotiated with browsing.
These changes were "inspired" by recent question in rootalk:
"How to invoke TH2F::SetOption("colz") while browsing histogram"
2003-09-20 10:07 brun
* hist/src/TF1.cxx:
In the TF1 constructors, do not add the function to the list of functions
if the function is badly constructed. This avoids problems in destructors
when the function is created in the stack.
2003-09-19 22:48 brun
* cint/src/tmplt.c:
From Philippe,
Reintroduce a fix unfortunately forgotten by Masa in the last version of CINT
2003-09-19 20:09 brun
* base/inc/RQ_OBJECT.h:
fix compilation problem with VC++
2003-09-19 18:08 brun
* tutorials/zdemo.C:
From Olivier:
New version of zdemo.C. It uses TLatex instead of many TText positioned
"by hand" to write formulas.
2003-09-19 16:10 brun
* graf/src/: TBox.cxx, TPave.cxx:
From Vitaly Choutko:
Fix problem in copy constructors
2003-09-19 16:06 brun
* base/: inc/TQConnection.h, src/TQConnection.cxx:
From Valeriy Onuchin:
- GetClassName method added to TQConnection class
required for "SavePrimitives" (signal-slot connections)
2003-09-19 16:02 brun
* graf/src/TGaxis.cxx:
From Olivier:
Improvements in the log axis drawing:
- allows exponent notation when extra log labels are drawn
- extra labels are drawn only if they do not overlap
- draw exponent labels with TLatex
- better positioning of the labels
- remove useless code and unused variables
2003-09-19 14:05 brun
* base/inc/RQ_OBJECT.h:
From Valeriy Onucin:
- GetListOfSignals method added to RQ_OBJECT macro.
This method is required by the new SavePrimitive facility.
2003-09-19 10:08 brun
* minuit/src/TMinuit.cxx:
Several changes in output formats proposed by Dmytri Kustov.
2003-09-19 09:56 brun
* minuit/src/TFitter.cxx:
In GraphFitChisquare, use the same array "x" for all calls to TF1::EvalPar
instead of the array "xx" for the two points surrounding the main point.
In case of a CINT function, one should have initialized again teh address of
the arguments, but this is not necessary. The array "x" may be reused inside the loop.
The effect was a slightly different result between compiled and interpreted code
in case of TGraph. (thanks Alex Conley for reporting the problem)
2003-09-18 17:53 brun
* graf/: inc/TEllipse.h, src/TEllipse.cxx:
Add a new function TEllipse::SetNoEdges(Boll_t noEdges=kTRUE).
An enum/bit kNoEdges is used to set the corresponding status bit in TObject.
2003-09-18 16:37 brun
* hist/src/TFormula.cxx:
From Philippe
Add a suggestion from Alberto Lusiani to support TMath functions
like TMath::Pi(), TMath::C()
2003-09-18 12:46 brun
* histpainter/src/THistPainter.cxx:
Fix two problems reported by Andrei Gaponenko:
- must set bit kClipFrame in PaintContour. This is important when superimposing
several histograms with contours in the same pad and then zooming interactively
on the axes.
- When drawing in log scale a histogram with errors and the histogram has
a maximum close to 1 and a minimum of zero, the Y scale has been optimized.
2003-09-18 12:16 brun
* minuit/src/TMinuit.cxx:
Minor change in a format
2003-09-18 10:18 brun
* tutorials/h1analysis.h:
Reintroduce old version. (was ci by mistake)
2003-09-18 10:15 brun
* cint/src/shl.c, tutorials/h1analysis.h:
Change C++ style comments to C style (fatal with Solaris/CC)
2003-09-18 01:15 rdm
* cint/inc/longif3.h:
fix define checking for MSC_VER.
2003-09-18 00:39 rdm
* cint/: inc/G__ci.h, inc/Method.h, inc/common.h, inc/fproto.h,
inc/longif3.h, lib/dll_stl/eh.h, lib/gcc3strm/iostrm.h,
lib/ipc/ipcif.h, lib/longlong/longlong.h, lib/posix/posix.h,
lib/vc7strm/iostrm.h, src/Apiif.cxx, src/Method.cxx, src/error.c,
src/func.c, src/gcc3strm.cxx, src/ifunc.c, src/init.c,
src/loadfile.c, src/newlink.c, src/opr.c, src/shl.c, src/sizeof.c,
src/tmplt.c, tool/makecint.c:
import of CINT 5.15.102.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-09-17 10:41 brun
* hist/src/TH3.cxx:
Take into account the axis range(s) when making the projection in TH3::Project3D
2003-09-16 18:11 brun
* graf/src/TLegend.cxx:
Optimisation in TLegend::PaintPrimitive to take into account the pad aspect ratio
when computing the width/height of the fill area legend.
2003-09-16 15:40 brun
* tree/src/TBasket.cxx:
Add support in TBasket::ReadBasketBuffers for files created before version 3.04/01
and with branches/basket that could not be compressed.
2003-09-16 13:17 brun
* graf/src/TGaxis.cxx:
One more fix in TGaxis::PaintAxis such that the option MoreLogLabels can also
work with a TGaxis object not built from a TAxis.
2003-09-16 13:03 brun
* graf/src/TGaxis.cxx:
n TGaxis::PaintAxis, the fAxis pointer exists only when the TGaxis object
is imported from a TAxis. Protect the setting of MoreLogLabels in case fAxis is null.
2003-09-16 02:39 rdm
* net/: inc/TAuthenticate.h, src/TAuthenticate.cxx:
add original CheckNetrc() with two arguments for backward compatability.
2003-09-15 22:30 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerInfo.cxx:
From Phhilippe:
Fix a case where the main TStreamerInfo was present but not built/compiled. I added to TStreamerInfo and
TStremearInfo::GetElementCounter what was needed to detect the case and handle it properly.
2003-09-15 19:19 brun
* histpainter/: inc/THistPainter.h, src/THistPainter.cxx:
From Olivier,
Add new static function
THistpainter::GetBestFormat
to compute the best format to be used to print
the error of some parameter. This is currently used to display the
errors on the fit parameters.
2003-09-15 17:49 brun
* tree/src/TChain.cxx:
Add a protection in TChain::LoadTree
2003-09-15 11:46 brun
* graf/src/TGaxis.cxx:
Fix a bug in TGaxis::PaintAxis
2003-09-15 10:48 brun
* zip/inc/Bits.h:
Message printed by R__Error is printed only when verbose >0
2003-09-15 10:10 brun
* tree/src/TTree.cxx, treeplayer/src/TTreePlayer.cxx:
Some mods in the doc showing how to use the TSelector class
2003-09-13 11:03 brun
* hist/src/THStack.cxx:
Optimize the computation of the maximum in case of option "nostack"
2003-09-12 21:00 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::GetElementCounter, we can not assume that the current
TStreamerInfo has already been built.
2003-09-12 19:36 rdm
* net/inc/TAuthenticate.h, net/src/TAuthenticate.cxx,
proof/src/TProof.cxx, proof/src/TProofServ.cxx,
proof/src/TSlave.cxx, proofd/src/proofd.cxx,
srputils/src/SRPAuth.cxx:
Few additional patches from Gerri:
- TSlave.cxx, TProofServ.cxx
send over the RSA key only when needed to decode the passwd
(ie UsrPwd and SRP)
- TAuthenticate.cxx
allow short host name in .netrc family files
- TProof.cxx
force using UidGid when the slave is on the same node as the master
- SRPAuth.cxx
Drop a left-over debug message
2003-09-12 19:14 brun
* win32gdk/gdk/src/gdk/win32/gdkevents-win32.c:
From Valeriy Onuchin:
- handling GrabPointer via SetCapture Win32 call added.
That allows to fix "sticking popup menus" problem
2003-09-12 17:54 rdm
* base/inc/TString.h, base/src/TString.cxx, tree/src/TChain.cxx:
new TString::MaybeWildcard() that returns true if a filename contains
a wildcard character: []*?
Use MaybeWildcard() in TChain::Add() instead of TString::MaybeRegexp()
which tested if a file contained any regexp character: ^$.[]*+?
2003-09-12 15:10 rdm
* gl/Module.mk:
use the macros for the gdk and glib source directories.
2003-09-12 15:08 brun
* gl/Module.mk:
Fix directory names for win32gdk
2003-09-12 14:41 brun
* base/src/TFile.cxx:
Add comments in the constructor to document how to test if a file is a Zombie.
2003-09-12 14:37 brun
* tree/src/TTree.cxx, treeplayer/src/TTreePlayer.cxx:
Add new comments in the Process functions to indicate how to call
the interesting form Process(TSelector*)
2003-09-12 13:09 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerElement.cxx,
src/TStreamerInfo.cxx:
Remove the argument countversion from TStreamerInfo::GetElementCounter.
Use the class version instead.
2003-09-12 11:31 brun
* treeviewer/src/TTreeViewer.cxx:
In TTreeViewer::NewExpression, the number of expressions was not incremented.
As a result, all new expressions created via the menu "NewExpression"
were lost when generating the source of the current viewer.
2003-09-12 11:18 brun
* graf/inc/TGaxis.h, graf/src/TGaxis.cxx, hist/inc/TAxis.h,
hist/src/TAxis.cxx:
Add new function TAxis::SetMoreLogLabels to draw more labels in case
of an axis in log scale with a small number of decades.
The options is kept in TAxis via the new bit kMoreLogLabels.
The corresponding changes in TGaxis to automatically import the TAxis option.
The bits in TGaxis duplicating the bits in TAxis have been removed.
The new function SetMoreLogLabels is visible in the TAxis context menu.
2003-09-12 10:27 brun
* tutorials/multigraph.C:
ASdd new tutorial illustrating the use of TMultiGraph
2003-09-12 10:03 brun
* graf/src/TGraph.cxx:
Fix a problem in TGraph::PaintGrapHist when superimposing two histograms
with different ranges and the second histogram has a fill color.
Thanks Ed Oltman for reporting the problem.
2003-09-12 09:45 brun
* gpad/src/TPad.cxx:
In TPad::HighLight do not draw the highlight box if the highlight color is null
2003-09-12 01:12 rdm
* etc/rpdauth.allow, globusauth/src/GlobusAuth.cxx,
krb5auth/src/Krb5Auth.cxx, net/inc/TAuthenticate.h,
net/src/TAuthenticate.cxx, proof/inc/TProof.h,
proof/inc/TProofServ.h, proof/src/TProof.cxx,
proof/src/TProofServ.cxx, proof/src/TSlave.cxx,
proofd/src/proofd.cxx, rootd/src/rootd.cxx, rpdutils/inc/rpdp.h,
rpdutils/src/globus.cxx, rpdutils/src/rpdutils.cxx,
srputils/src/SRPAuth.cxx:
From Gerri:
This patch contains Maarten's suggestions, and the fixes I have done
since then.
There was problem in the transmission of the password to master/slaves
that I believe was causing the hanging ...
2003-09-11 16:38 brun
* mlp/src/TNeuron.cxx:
Fix typo in doing optimisation.
2003-09-11 15:30 brun
* mlp/src/TMultiLayerPerceptron.cxx:
More optimisations improving performance
2003-09-11 12:39 brun
* mlp/src/TNeuron.cxx:
Improve performance by replacing all TObjArray iterators by an implicit loop. (gain is about a factor 3 !)
2003-09-11 08:42 brun
* cint/src/tmplt.c:
From Philippe:
Fix a problem due to the usage of strcat on a non-terminated C-string.
This bug caused the parsing of some header files.
Thanks to Robert Hatcher for reporting the problem with a simple test example.
2003-09-10 19:11 brun
* mlp/src/TMultiLayerPerceptron.cxx:
Add a reference to a png file in the documentation
2003-09-10 18:40 brun
* mlp/src/TMultiLayerPerceptron.cxx:
From Christophe Delaere:
The doc has been modified to list the differences with the original MLPFIT
2003-09-10 18:33 brun
* win32gdk/src/TGWin32ProxyBase.cxx:
Fix by Valeriy and Bertrand to avoid a possible infinite loop
when leaving Root under win32gdk
2003-09-10 17:16 rdm
* cint/src/ifunc.c:
from Philippe: temporary fix for unitialized variable.
2003-09-10 17:14 rdm
* base/src/TROOT.cxx:
From Philippe: fixes an ordering issue in the TROOT constructor.
Printing an error, requires the class sub-system to be initialized.
2003-09-10 15:46 rdm
* win32gdk/Module.mk:
add dependencies on gdk source files.
2003-09-10 15:45 rdm
* configure:
fix platform autodetection on Windows.
2003-09-10 09:40 brun
* minuit/src/TMinuit.cxx:
Fix several typos in comments (eg, ISW(3) -->fISW[2])
2003-09-10 08:49 brun
* graf/src/TLatex.cxx:
Optimize the position of the "hat" Latex characters.
2003-09-09 18:56 brun
* geom/: Module.mk, inc/LinkDef.h, inc/LinkDef1.h, inc/LinkDef2.h:
Split the geom dictionary in two dictionaries.
One single dictionary did not compile anymore on alpha/cxx
2003-09-09 18:48 brun
* hist/src/TFormula.cxx:
From Philippe:
The problem is that when TFormula encounters
(x+[8])^7
as part of the 2nd (or later) TFormula in a expression (like your 'shirt' in "(f1-shift)*0.60".
TFormula 'forgets' to increments the parameters index. The consequence is that with shift similar to:
[7]*(x+[8])^7
doing f1-shirt results in (conceptually):
f1 - [15]*(x+[8])^7
instead of
f1 - [15]*(x+[16])^7
To work around the problem use the formula that parameters under exponents (like shirt) as the first
formula in an expression:
TF1 *resultdif = new TF1("resultdif", "(-shift+f1)*0.60", 0.0, 3.0);
2003-09-09 18:18 brun
* win32gdk/gdk/src/gdk/win32/gdkevents-win32.c:
From Valeriy Onuchin:
- remove extra check which prevented mouse motion notify events
to be generated for popup menus.
2003-09-09 15:58 rdm
* rpdutils/src/rpdutils.cxx:
From Gerri: fix for code broken in last fix (strlen() of 0 pointer).
2003-09-09 14:37 rdm
* net/src/TAuthenticate.cxx, rpdutils/src/rpdutils.cxx:
fix for UsrPwd login when started from xinetd and .rootdpass. Regression with
shadow passwd login though.
2003-09-09 11:43 rdm
* net/src/TAuthenticate.cxx:
put Info() on not existing of ~/.rootauthrc behind gDebug.
2003-09-09 11:19 brun
* tutorials/: mlpHiggs.C, mlpHiggs.root:
Add a new tutorial by Christophe Delaere illustring the use
of the Neural Network classes TMultiLayerPerceptron, etc
2003-09-09 03:11 rdm
* unix/src/TUnixSystem.cxx:
use for the Intel icc compilers also the GNU c++filt, there is a problem
with the Intel's iccfilt.
2003-09-09 01:54 rdm
* cint/: inc/G__ci.h, include/locale.h, include/signal.h,
include/socket.h, include/stddef.h, include/stdio.h,
include/stdlib.h, include/time.h, lib/prec_stl/multimap,
lib/pthread/Makefile, lib/socket/setup, src/debug.c, src/func.c,
src/newlink.c, src/parse.c, src/shl.c, src/struct.c, src/tmplt.c,
src/var.c, tool/makecint.c:
import of CINT 5.15.101.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-09-08 17:30 brun
* hist/src/TAxis.cxx:
Missing include declaration "Time.h"
2003-09-08 17:26 brun
* graf/src/TGaxis.cxx, hist/src/TAxis.cxx:
From Olivier:
In TGaxis and TAxis the time offset in now managed without using TDatime.
Using TDatime was not a good idea because its starting date is 1995. The
new mechanisms uses now 1970 (like UNIX) as starting date. Note that the
functionality and examples given in the HowTo page and documentation
remains exactly the same.
2003-09-08 17:09 brun
* graf/src/TLatex.cxx:
Implement the Angstroem characters #AA and #aa
2003-09-08 16:54 brun
* postscript/src/TPostScript.cxx:
In TPostScript::Text include a special processing for the Angstroem characters:
The TLatex character "305" produces Angstroem on screen. Must be "362" on ps
The TLatex character "345" produces angstroem on screen. Must be "357" on ps
2003-09-08 14:50 brun
* hist/inc/TH1I.h:
For consistency, add TH1I.h
2003-09-08 12:08 brun
* graf/src/TGraph.cxx:
A few improvements in TGraph::PaintGrapHist when the frame line width is
greater than 1 pixel and fill area options are used.
2003-09-08 00:54 rdm
* krb5auth/src/Krb5Auth.cxx:
hardcode "rootd" and "proofd" service names to avoid having to put them in
/etc/services on the client machine.
2003-09-08 00:26 rdm
* configure:
split sed with many -e arguments in two parts, older sed's (HP-UX 10) do not
like too many arguments at once.
2003-09-07 20:25 rdm
* configure, globusauth/Module.mk, net/inc/TAuthenticate.h,
net/src/TAuthDetails.cxx, net/src/TAuthenticate.cxx,
net/src/THostAuth.cxx, net/src/TNetFile.cxx, proof/src/TProof.cxx,
proof/src/TSlave.cxx, proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/inc/rpdp.h, rpdutils/src/rpdutils.cxx:
From Gerri:
- configure Maarten's comments + fix for some SRP libraries
not being found
- globusauth/Module.mk
Maarten's comments
- net/inc/TAuthenticate.h
net/src/TAuthenticate.cxx
net/src/TAuthDetails.cxx
net/src/THostAuth.cxx
net/src/TNetFile.cxx
proof/src/TProof.cxx
proof/src/TSlave.cxx
Unified AuthMeth[kMAXSEC] (your comments ...)
+ small consistency fixes (Host named checked
as FQDN everywhere ...)
- proofd/src/proofd.cxx
rootd/src/rootd.cxx
rpdutils/inc/rpdp.h
rpdutils/src/rpdutils.cxx
Unified AuthMeth[kMAXSEC]
+ gShmIdCred fix
Fons:
- TAuthenticate: simplified way to find index of auth method.
2003-09-07 18:25 rdm
* proofd/src/proofd.cxx, rootd/src/rootd.cxx:
correction in finding of config directory and fix of typo in description.
2003-09-06 23:13 brun
* gpad/src/TPad.cxx:
In TPad::RedrawAxis, use DrawCopy instead of Draw to avoid a possible
double delete in the TPad destructor.
In the TPad::RecursiveRemove rescan the list of primitives in case
of multiple occurences of the same object.
2003-09-06 19:15 brun
* treeplayer/src/TTreePlayer.cxx:
From Glenn Horton-Smith:
"The error bars obtained from TTree::UnbinnedFit() are incorrect, unless the user
takes special actions to work around the problem. The reason has to do with the
definition of TreeUnbinnedFitLikelihood() in TTreePlayer.cxx. In a nutshell,
the issue is that TreeUnbinnedFitLikelihood() returns -logL, when it should
return -2*logL in order for the default error definition to work correctly.
The workaround if you are using MINUIT is to call
gMinuit->SetErrorDef(0.5) before calling TTree::UnbinnedFit() -- and don't
forget to gMinuit->SetErrorDef(1.0) before using the other Fit() functions!
Note there is apparently no corresponding workaround if you prefer the Fumili
fitter.
The obvious fix is to make TreeUnbinnedFitLikelihood() return -2*logL"
~
~
~
2003-09-05 17:50 brun
* meta/src/TStreamerElement.cxx, treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch prevents the splitting of array of objects.
It also corrects the behavior of TTreeFormula in case of array of objects nested inside a TClonesArray.
2003-09-05 14:57 brun
* base/inc/TQConnection.h:
Replace:
#ifndef ROOT_Tlist
by
#ifndef ROOT_TList
2003-09-05 14:55 brun
* base/src/TROOT.cxx:
Fix a typo in the documentation of TROOT::RemoveClass (thanks Ilka)
2003-09-05 12:40 brun
* mlp/: inc/TNeuron.h, src/TMultiLayerPerceptron.cxx,
src/TNeuron.cxx:
Update to the Neural Net package by Christophe Delaere
-Problem in writing TNeuron solved.
-Problem reading a TChain solved.
-Empty canvas appearing when normalizing a neuron does not appear anymore.
-Option to normalize output added.
-Few problems in teh documentation corrected.
2003-09-05 11:21 brun
* matrix/: inc/TMatrix.h, inc/TMatrixD.h, src/TMatrix.cxx,
src/TMatrixD.cxx:
Move several inline functions to the implementation files.
Several functions (eg Allocate) had an incomplete definition via the forward declarations
with some compilers like SGI CC 64 bits.
2003-09-05 01:19 rdm
* base/inc/TString.h, base/src/Stringio.cxx, proof/src/TCondor.cxx,
unix/src/TUnixSystem.cxx:
This patch from Maarten contains two things:
- Improved functionality for the FILE I/O TString routines
(and renaming of Fgets() to Gets() and Fputs() to Puts())
- Modified TCondor for the above routines and new condor
functionality
2003-09-05 00:54 rdm
* cint/src/var.c:
fix to restore symmetry between storing and restoring the value of #defines.
Restoring was truncated to an int on a 64 bit machine.
2003-09-04 17:56 rdm
* clib/inc/rsadef.h:
fix typo in comment.
2003-09-04 17:56 rdm
* README/INSTALL:
correct comments on ssh (there is no ./configure option for ssh anymore).
2003-09-04 17:55 rdm
* test/: Makefile, Makefile.arch:
split test/Makefile in a main Makefile containing the targets and a
Makefile.arch that defines all the ROOT dependent architecture flags.
The latter can easily be used by user Makefiles, by doing
include $(ROOTSYS)/test/Makefile.arch.
2003-09-04 14:38 brun
* geom/inc/TGeoBoolNode.h, geom/src/TGeoBoolNode.cxx,
geom/src/TGeoCompositeShape.cxx, geompainter/src/TGeoPainter.cxx:
From Andrei Gheata:
- safety implemented in TGeoCompositeShape following the general scheme
- memory usage optimization in TGeoPainter
2003-09-04 13:12 rdm
* build/rmkdepend/ifparser.h:
remove warning on MacOS X.
2003-09-04 12:46 rdm
* rpdutils/src/rpdutils.cxx:
remove compiler warning in case no krb5.
2003-09-03 22:24 rdm
* configure, build/unix/compiledata.sh, build/unix/makelib.sh,
config/Makefile.macosx, config/root-config.in:
Usually fink packages on Mac OS X are installed under /sw. However,
this can be changed by the user. In case that a user chose to install
fink packages in another directory than /sw, root fails to find them
because it looks only in /sw. The attached patch fixes this. The idea
is to look for the fink executable and derive from it the fink install
path. Remi Mommsen.
2003-09-03 17:28 rdm
* net/src/TAuthenticate.cxx:
fix for MacOS X (crypt.h does not exist).
2003-09-03 17:03 rdm
* configure:
fix for macosx auto-detection.
2003-09-03 14:42 brun
* graf/src/TGraph.cxx:
In TGraph::PaintGrapHist, fix a side-effect of a recent change
in case of log scales.
2003-09-03 09:46 rdm
* net/: inc/TAuthenticate.h, src/TAuthenticate.cxx:
change fgAuthInfo to be a pointer to a TList. This should fix the problem
of the list being deleted before it is accessed in the TROOT dtor.
2003-09-03 08:08 brun
* cont/src/TBtree.cxx, fumili/src/TFumili.cxx,
hist/src/TPrincipal.cxx, hist/src/TSpectrum.cxx,
mlp/src/TMultiLayerPerceptron.cxx,
physics/src/TLorentzRotation.cxx, physics/src/TLorentzVector.cxx,
physics/src/TRotation.cxx, physics/src/TVector3.cxx:
Change the format of the Gegin_html, End_html to follow Axel's prescriptions.
2003-09-03 07:39 brun
* minuit/src/TMinuit.cxx:
From Axel:
Changes in the Minuit documentation to use "Begin_Html/End_Html" in a consistent way.
2003-09-03 07:15 brun
* unix/src/TUnixSystem.cxx:
From Philippe:
Replace a static string by a TString. The static string was not long enough
for some applications using very long AFS path names.
2003-09-02 19:16 brun
* html/src/THtml.cxx:
From Axel Naumann:
Fix in THtml in not generate <pre> </pre> statements in some cases.
2003-09-02 19:09 brun
* graf/src/TGaxis.cxx, hist/src/TAxis.cxx:
From Olivier:
It is now possible to set a time offset equal to zero for time axis. When
the time offset is zero, the axis limits are considered as absolute times.
The following example shows how it works:
{
TDatime T1(1998,01,05,00,00,00); // First date
int X1 = T1.Convert();
TDatime T2(2002,12,31,00,00,00); // Second date
int X2 = T2.Convert();
TH1D *iT = new TH1D("iT","time axis",1000,X1,X2);
iT->GetXaxis()->SetTimeDisplay(1);
iT->GetXaxis()->SetTimeFormat("%d.%m.%y");
iT->GetXaxis()->SetTimeOffset(0);
iT->GetXaxis()->SetLabelSize( 0.03 );
iT->Draw();
}
2003-09-02 18:14 rdm
* proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/src/rpdutils.cxx:
fix for setresuid and fcntl_lockf for cygwingcc.
2003-09-02 17:10 rdm
* net/src/TAuthenticate.cxx, proof/src/TProof.cxx:
some code beautiftying and memory leak fix.
2003-09-02 17:09 rdm
* Makefile, configure, config/ARCHS, config/Makefile.alphakcc,
config/Makefile.in, krb5auth/Module.mk, net/Module.mk,
proofd/Module.mk, rootd/Module.mk, rpdutils/Module.mk,
srputils/Module.mk:
several extensive changes in configure and in several Module.mk's:
- automatic architecture detection (first architecture argument
only needed if non-default compiler is required)
- better detection and avoidance of duplicate libraries for the
authentication modules (afs, krb5 and srp modules can be build
at the same time)
Mods by Christian Holm and me.
2003-09-01 14:19 rdm
* cont/inc/TSeqCollection.h:
initialize fSorted in default ctor.
2003-09-01 13:30 rdm
* rpdutils/: Module.mk, src/globus.cxx, src/ssh.cxx:
remove unneeded shm.h and ipc.h includes (only needed for globus support).
2003-09-01 11:46 brun
* physics/: inc/TVector2.h, src/TVector2.cxx:
Move implementation of functions TVector2::Phi_0_2pi and TVector2::Phi_mpi_pi
from the header file to the implementation file.
Add a protection in case of NaN to avoid an infinite loop.
(thanks Gero Flucke for the suggestion)
2003-09-01 11:39 brun
* eg/: inc/TParticle.h, src/TParticle.cxx:
Replace constant kPI (defined in TVector2) by TMath::Pi()
2003-09-01 09:09 brun
* meta/src/TDataMember.cxx:
Fix a problem in TDatamember::GetterMethod. The case with "Get" was not correctly processed.
2003-08-31 10:48 brun
* config/config.in:
Correct typo in comment
2003-08-31 02:52 rdm
* proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/src/rpdutils.cxx:
fix porting issues to wingcc.
2003-08-31 01:54 rdm
* config/Makefile.solaris, config/Makefile.solarisCC5,
config/Makefile.solariskcc, main/Module.mk:
fix Solaris issues for ssh2rpd and double linking of libsocket.
2003-08-31 01:53 rdm
* clib/inc/: rsaaux.h, rsadef.h:
fix Alpha compile problem.
2003-08-30 21:27 brun
* rpdutils/src/rpdutils.cxx:
Fix a fatal compilation error on Solaris/CC
2003-08-30 20:24 rdm
* clib/src/rsaaux.c, clib/src/rsalib.c, proof/src/TSlave.cxx,
rpdutils/src/ssh.cxx:
fix some more portability issues (AIX and Solaris).
2003-08-29 22:37 brun
* config/: Makefile.win32, Makefile.win32gdk:
From Philippe:
G__REDIRECTIO was not set for the windows build (using MS compiler).
Defining it solves the problem.
2003-08-29 19:32 rdm
* graf/Module.mk:
compile TLatex in debug mode on Windows (VC++ compilers).
2003-08-29 19:23 rdm
* clib/inc/rsadef.h, clib/inc/rsafun.h, main/src/ssh2rpd.cxx,
net/inc/TAuthenticate.h, net/inc/THostAuth.h,
net/src/TAuthenticate.cxx, net/src/THostAuth.cxx,
proofd/src/proofd.cxx, rootd/src/rootd.cxx, rpdutils/inc/rpdp.h,
rpdutils/src/daemon.cxx, rpdutils/src/rpdutils.cxx,
rpdutils/src/ssh.cxx:
numerous portability fixes.
2003-08-29 18:25 rdm
* Makefile, config/Makefile.alphacxx6, graf/Module.mk:
after some tests it turns out only libCore needs to be linked with -g, it is
not needed (anymore) to compile and link graf/src/G* with -g. The "redo"
script had as side effect to relink also libCore with -g which was the
real solution.
2003-08-29 16:28 brun
* mlp/inc/TNeuron.h:
Fix a compilation problem on VisualC++6 (thanks Valeriy Onuchin)
2003-08-29 16:25 rdm
* configure:
fix check on setting of R__KRB5 flag.
2003-08-29 12:46 rdm
* net/inc/TSocket.h:
make some more data members protected instead of private.
2003-08-29 12:45 rdm
* graf/Module.mk:
compile graf dictionaries with -g on alphacxx6 to work around compiler bug.
2003-08-29 12:42 rdm
* zip/src/Inflate.c:
remove warning if fprintf format.
2003-08-29 12:42 rdm
* gl/src/TRootOIViewer.cxx:
remove unused arg warnings.
2003-08-29 12:41 rdm
* Makefile, configure, README/INSTALL, base/inc/MessageTypes.h,
base/inc/TROOT.h, base/src/TROOT.cxx, clib/Module.mk,
config/Makefile.hurddeb, config/Makefile.in,
config/Makefile.linuxdeb, config/config.in, config/rootrc.in,
krb5auth/src/Krb5Auth.cxx, main/Module.mk, net/Module.mk,
net/inc/LinkDef.h, net/inc/TAuthenticate.h, net/inc/TNetFile.h,
net/src/TAuthenticate.cxx, net/src/TFTP.cxx, net/src/TNetFile.cxx,
proof/Module.mk, proof/etc/proof.conf.sample, proof/inc/TProof.h,
proof/inc/TProofServ.h, proof/inc/TSlave.h, proof/src/TProof.cxx,
proof/src/TProofServ.cxx, proof/src/TSlave.cxx, proofd/Module.mk,
proofd/inc/proofdp.h, proofd/src/proofd.cxx, rootd/Module.mk,
rootd/inc/rootdp.h, rootd/src/rootd.cxx, srputils/src/SRPAuth.cxx:
modified files, part of the authentication and daemon changes by Gerri. This
new authentication scheme supports, the following methods: user/passwd
(but save not clear passwd over wire), ssh, krb5, srp, globus and gui/uid
(like RFIO uses). Everything is documents here:
http://root.cern.ch/root/Auth.html.
2003-08-29 12:38 rdm
* README/README.AUTH, README/README.GLOBUS, clib/inc/rsaaux.h,
clib/inc/rsadef.h, clib/inc/rsafun.h, clib/inc/rsalib.h,
clib/src/rsaaux.c, clib/src/rsafun.cxx, clib/src/rsalib.c,
etc/example.rootauthrc, etc/hostcert.conf, etc/rpdauth.allow,
globusauth/Module.mk, globusauth/src/GlobusAuth.cxx,
globusauth/src/globus_gsi_system_config.c, main/src/ssh2rpd.cxx,
net/inc/NetErrors.h, net/inc/TAuthDetails.h, net/inc/THostAuth.h,
net/src/NetErrors.cxx, net/src/TAuthDetails.cxx,
net/src/THostAuth.cxx, rpdutils/Module.mk, rpdutils/inc/rpderr.h,
rpdutils/inc/rpdp.h, rpdutils/src/daemon.cxx,
rpdutils/src/error.cxx, rpdutils/src/globus.cxx,
rpdutils/src/net.cxx, rpdutils/src/netpar.cxx,
rpdutils/src/rpdutils.cxx, rpdutils/src/ssh.cxx:
new files, part of the authentication and daemon changes by Gerri. This
new authentication scheme supports, the following methods: user/passwd
(but save not clear passwd over wire), ssh, krb5, srp, globus and gui/uid
(like RFIO uses). Everything is documents here:
http://root.cern.ch/root/Auth.html.
2003-08-29 12:32 rdm
* proofd/src/daemon.cxx, proofd/src/error.cxx, proofd/src/net.cxx,
rootd/inc/rootd.h, rootd/src/daemon.cxx, rootd/src/error.cxx,
rootd/src/net.cxx, rootd/src/netpar.cxx:
combine these files in one for both proofd and rootd. Part of Gerri's mega
authentication patch that is following.
2003-08-29 11:55 brun
* geom/inc/TGeoAtt.h, geom/inc/TVirtualGeoPainter.h,
geom/src/TGeoNode.cxx, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoPainter.cxx:
New considerable speed-up of the ray tracing algorithm.
Alice can be drawn in 14.5s instead of 1400s.
-Add bit kVisOnScreen in TGeoAtt.
-Replace calls to TGeoPainter::IsOnScreen by calls to TGeoAtt::TestBit(TGeoAtt::kVisOnScreen)
-delete function TVirtualGeoPainter::IsOnScreen and TGeoPainter::IsOnScreen
-In TGeoNode replace call to TGeoPainter::IsOnScreen by TGeoAtt::TestBit(TGeoAtt::kVisOnScreen)
2003-08-29 09:07 brun
* cint/lib/prec_stl/multimap:
Fix by Philippe to a problem reported by Robert Hatcher
std::multimap in gcc 3 and above takes an allocator<pair<key, value> > (as does the std::map).
2003-08-29 09:03 brun
* geompainter/src/TGeoPainter.cxx, hist/src/TF1.cxx,
hist/src/TFormula.cxx:
Fix by Philippe to a problem reported by Maarten
TFormula::TFormula(TFormula const &) was indirecly accessing uninitialized memory.
This is fixed by initializing the value in it.
TF1::Copy was leaking memory (not deleting existing arrays), once this was fixed,
this required to add the proper initialization in TF1::TF1(TF1 const &).
2003-08-28 16:10 brun
* geom/src/TGeoBoolNode.cxx:
Set Safety to 0 before computing it.
2003-08-28 16:09 brun
* geompainter/src/TGeoPainter.cxx:
Optimize TGeoPainter::IsOnScreen, calling TObjArray::IndexOf instead of an implicit
loop on all array elements. This gives a factor 10 when drawing Alice in ray-tracing mode.
Yet a better solution would be to build a sorted table of pointers to visible volumes
followed by a binary search.
2003-08-28 14:45 brun
* geom/: inc/TGeoBoolNode.h, inc/TGeoCompositeShape.h,
src/TGeoBoolNode.cxx, src/TGeoCompositeShape.cxx,
src/TGeoTorus.cxx, src/TGeoTrd2.cxx:
From Andrei Gheata:
- a couple of fixes in TGeoTrd2::DistToIn() and TGeoTorus::DistToIn()
- computation of normals for composite shapes - these can now be
visualized with raytracing.
2003-08-28 03:44 rdm
* config/Makefile.depend, mlp/Module.mk:
correct typo in lib names (liblTree -> libTree).
2003-08-27 18:46 brun
* cint/src/shl.c:
From Jiri Masik:
"running Root under supervision of valgrind I've noticed a possible
problem with strcpy(G__ifile.name,shlfile) call in
int G__shl_load(shlfile).
G__shl_load is called by G__shl_load(G__ifile.name) in loadfile.c:1928
resulting in undefined operation strcpy(G__ifile.name,G__ifile.name)"
2003-08-27 18:21 brun
* mlp/src/TMultiLayerPerceptron.cxx:
More portability problems on hp-ux.
2003-08-27 18:11 brun
* mlp/src/TMultiLayerPerceptron.cxx:
Fix a portability problem on hp-ux (redefinition of loop index)
2003-08-27 18:06 brun
* mlp/src/: TMultiLayerPerceptron.cxx, TNeuron.cxx:
Fix more portability problems
2003-08-27 18:02 brun
* mlp/src/: TMultiLayerPerceptron.cxx, TNeuron.cxx, TSynapse.cxx:
Fix some portability problems.
2003-08-27 17:31 brun
* Makefile, config/Makefile.depend, mlp/Module.mk,
mlp/inc/LinkDef.h, mlp/inc/TMultiLayerPerceptron.h,
mlp/inc/TNeuron.h, mlp/inc/TSynapse.h,
mlp/src/TMultiLayerPerceptron.cxx, mlp/src/TNeuron.cxx,
mlp/src/TSynapse.cxx:
New package "mlp" (MultiLayerPerceptron" by Christophe.Delaere
The package has 3 classes TMultiLayerPerceptron, TNeuron, TSynapse
// TMultiLayerPerceptron
//
// This class describes a neural network.
// There are facilities to train the network and use the output.
//
// The input layer is made of inactive neurons (returning the
// normalized input), hidden layers are made of sigmoids and output
// neurons are linear.
//
// The basic input is a TTree and two (training and test) TEventLists.
// For classification jobs, a branch (maybe in a TFriend) must contain
// the expected output.
// 6 learning methods are available: kStochastic, kBatch,
// kSteepestDescent, kRibierePolak, kFletcherReeves and kBFGS.
//
// This implementation is *inspired* from the mlpfit package from
// J.Schwindling et al.
2003-08-26 18:25 brun
* gpad/src/TPad.cxx:
Do not show the pad highlighted when printing on Postscript
2003-08-26 17:51 brun
* README/CREDITS:
Change Michal Kapalka address to his new/final address in Poland
2003-08-26 14:39 brun
* gpad/src/TPad.cxx:
Patch proposed by Jiri Masik to issue a warning in case of wrong pad parameters.
2003-08-26 13:03 brun
* base/src/TUUID.cxx:
Fix a problem reported by Stephan Heising:
In TUUID.cxx the call to GetComputerName for the win plattform should be:
r.tc = GetTickCount();
r.l = MAX_COMPUTERNAME_LENGTH + 1; // + 1 added.
GetComputerName(r.hostname, &r.l);
The size of the buffer is correctly allocated to MAX_..._LENGTH + 1 but in the
function call the buffer length spezified doesn't include this byte.
2003-08-26 00:37 rdm
* meta/src/TStreamerInfo.cxx, tree/src/TTree.cxx,
treeplayer/src/TTreeFormula.cxx:
From Philippe:
Update TStreamerInfo::New to properly initialize pointers and array of objects.
Update BuildIndex to elegantly fail if the given index do not produces exactly
one value per entry.
Update TTreeFormula to properly handle the case of a TClonesArray inside a
TClonesArray when the former is a top branch and not split.
2003-08-25 19:31 brun
* tree/src/TChain.cxx, treeplayer/inc/TTreeFormula.h,
treeplayer/inc/TTreeFormulaManager.h, treeplayer/inc/TTreePlayer.h,
treeplayer/src/TTreePlayer.cxx:
From Philippe:
This patch solves 2 problems.
If a simple tree was made the friend of a chain, the simple tree was loaded using the 'entry in the tree (inside the
chain)' instead of the 'entry in the chain'. This resulted in ONLY the first part of the simple tree to be used (over
and over again)!
TTree::Scan (Query and CopyTree) could not handle the case where a TChain was made a friend of a TTree (and problably
more cases of uneven length chain friends). This was
because, it never detected that a new file was open since it only looked a the main Tree (and none of its friend). In
consequence the formula were not updated when they should.
2003-08-25 15:26 rdm
* build/package/debian/rules.in:
fix cintddls to cintdlls and remove -j2 option.
2003-08-25 10:38 brun
* tutorials/ntuple1.C:
Cleanup the ntuple1 script, such that it can be rexecuted multiple times
and executed via ACLIC.
2003-08-24 21:44 brun
* win32gdk/src/TGWin32.cxx:
From Valeriy Onuchin:
"I added protections which would help to fix infinite loop when trying to ".q"
2003-08-23 16:53 brun
* tree/src/TFriendElement.cxx:
From Philippe
There is a bug in the Friend implementation. If the tree (to which you add friend to) is memory resident it's
directory has to be zero.
2003-08-23 16:51 brun
* win32gdk/: inc/TGWin32.h, inc/TGWin32ProxyBase.h,
inc/TGWin32ProxyDefs.h, src/TGWin32.cxx, src/TGWin32Proxy.cxx,
src/TGWin32ProxyBase.cxx:
From Valeriy Onuchin:
I made changes in event processing methods and event loop.
These changes allow to use locking in calling TGWin32::EventsPending
instead of "post thread message - wait for response" mechanism.
That should slightly improve performance (~10%) and consitent with new
re-design of TWinNTSystem.
2003-08-23 02:08 rdm
* base/src/TMath.cxx, g3d/src/TPoints3DABC.cxx, g3d/src/TShape.cxx,
gpad/src/TCanvas.cxx, hbook/src/THbookFile.cxx, hist/src/TH3.cxx,
hist/src/TSpectrum.cxx, matrix/src/TMatrix.cxx,
matrix/src/TVector.cxx, net/src/TFTP.cxx, net/src/TNetFile.cxx,
test/Event.cxx, test/Event.h, x11/src/TGX11.cxx, zip/src/Inflate.c:
revert most cast issues reported by buggy gcc 3.4 snapshot of this week.
Checked with gcc 3.4 from cvs of today which does not report any
problems anymore.
2003-08-22 17:13 brun
* meta/: inc/TMethodCall.h, src/TMethodCall.cxx:
Fix by Philippe in TMethodCall::ReturnType to fix a cast problem with enums
reported by gcc3.4
2003-08-22 16:25 brun
* base/src/TFile.cxx:
Remove a warning with gcc3.4 in TFile::Map
2003-08-22 16:19 brun
* zip/src/Inflate.c:
Use a cast in a printf statement to avoid a warning with gcc3.4
2003-08-22 16:17 brun
* hist/src/TSpectrum.cxx:
Fix to avoid warnings with gcc3.4 when calling TMath::Sqrt
2003-08-22 16:14 brun
* hbook/src/THbookFile.cxx:
Fix to avoid a warning with gcc3.4 when calling TMath::Sqrt
2003-08-22 15:08 brun
* geompainter/src/TGeoPainter.cxx:
In TGeoPainter::ShapeDistancetoPrimitive fix to avoid warnings with gcc3.4 when calling TMath::Sqrt.
explicit cast is required.
2003-08-22 15:07 brun
* x11/src/TGX11.cxx:
In TGX11::SetCharacterUp fix to avoid warnings with gcc3.4 when calling TMath::Sqrt.
explicit cast is required.
2003-08-22 15:00 brun
* test/: Event.cxx, Event.h:
several fixes to avoid warnings with gcc3.4 when calling TMath::Sqrt.
explicit cast is required.
2003-08-22 14:57 brun
* g3d/src/TShape.cxx:
several fixes to avoid warnings with gcc3.4 when calling TMath::Sqrt.
explicit cast is required.
2003-08-22 14:53 brun
* matrix/src/TVector.cxx:
several fixes to avoid warnings with gcc3.4 when calling TMath::Sqrt.
explicit cast is required.
2003-08-22 14:52 brun
* hist/src/TSpectrum.cxx:
several fixes to avoid warnings with gcc3.4 when calling TMath::Sqrt.
explicit cast is required.
2003-08-22 14:48 brun
* g3d/src/TPoints3DABC.cxx:
several fixes to avoid warnings with gcc3.4 when calling TMath::Sqrt.
explicit cast is required.
2003-08-22 14:47 brun
* net/src/TNetFile.cxx:
Fix to avoid warnings with gcc3.4 when calling TEnv::GetValue.
2003-08-22 14:45 brun
* matrix/src/TMatrix.cxx:
several fixes to avoid warnings with gcc3.4 when calling TMath::Sqrt.
explicit cast is required.
2003-08-22 14:43 brun
* base/src/TMath.cxx:
Fix in TMath::Normalize to avoid a warning with gcc3.4. Explicit cast
required when calling TMath::Sqrt
2003-08-22 14:41 brun
* hist/src/TH3.cxx:
several fixes to avoid warnings with gcc3.4 when calling TMath::Sqrt.
explicit cast is required.
2003-08-22 14:39 brun
* net/src/TFTP.cxx:
Fix to avoid a warning with gcc3.4 when calling TEnv::GetValue
2003-08-22 14:37 brun
* gpad/src/TCanvas.cxx:
Fix to avoid a warning with gcc3.4 when calling TEnv::GetValue
2003-08-22 12:56 brun
* README/CREDITS:
Add Michal Kapalka to CREDITS for his contribution to the ZIP package
2003-08-22 12:40 brun
* test/stress.cxx:
With the changes in ZIP, the size of teh genearted files in stress1 and stress2
is slightly bigger.
2003-08-22 12:08 brun
* zip/: inc/Bits.h, inc/Deflate.h, inc/Trees.h, src/Bits.c,
src/Deflate.c, src/Trees.c:
Very nice performance improvement in the ZIP system by Michal Kapala.
Extract from a mail from Michal:
"I'm a summer student working for the openlab project (supervisor: Sverre
Jarp). I've been optimizing ROOT on an Itanium platform for a few weeks
and I've found a bug, which, if it's accepted and corrected, will
influence all the ROOT benchmarks that have been done by now.
What I've found is that all zip/*.c files use the variable 'level' which
is declared in ZIP.h as a static (local) variable. The result is that
calling R__zip(1, ...) (as in the 'stress' program) changes the 'level'
variable only in the Bits.c file, but its value remains default ( == 6) in
the others. The resulting compressed file is still correct, but the
drawback is quite huge slow-down of the programs like 'stress' which use
data compression intensively.
Some facts: by putting the files: Tree.c, Bits.c and Deflate.c in a single
C file (with some small changes), what makes the 'level' variable appear
in only one copy, I've increased the result of the 'stress' benchmarking
program from 584 RM to 701 RM -- 20% improvement. At the same time, the
size of all compressed data increased by about 1.7%. (Itanium 1000 MHz
machine, Intel compiler v8.0 with -O3 and profile-guided optimization).
The bug is really easy to fix, but it will require all the benchmarks done
in the past to be repeated or rescaled..."
2003-08-22 09:56 brun
* tutorials/draw2dopt.C:
Add a call to TCanvas::Update after finishing with each canvas.
2003-08-22 09:03 brun
* geom/inc/TGeoShape.h:
Use only bits 0->26 instead of 5->31
2003-08-21 19:51 rdm
* base/inc/Rtypes.h:
fix for the previous "fix".
2003-08-21 19:07 rdm
* base/inc/Rtypes.h:
Fix warnings:
include/Rtypes.h:99: warning: negative integer
implicitly converted to unsigned type
include/Rtypes.h:101: warning: negative integer
implicitly converted to unsigned type
by not using ~(0) to get max unsigned integer. Idem for ULong64_t.
2003-08-21 16:31 rdm
* base/inc/LinkDef2.h, base/inc/TSystem.h, base/src/TSystem.cxx,
unix/inc/TUnixSystem.h, unix/src/TUnixSystem.cxx:
added new methods to get user info:
virtual Int_t GetUid(const char *user = 0);
virtual Int_t GetGid(const char *group = 0);
virtual UserGroup_t *GetUserInfo(Int_t uid);
virtual UserGroup_t *GetUserInfo(const char *user = 0);
virtual UserGroup_t *GetGroupInfo(Int_t gid);
virtual UserGroup_t *GetGroupInfo(const char *group = 0);
The returned structure is defined in TSystem.h and is:
struct UserGroup_t {
Int_t fUid; // user id
Int_t fGid; // group id
TString fUser; // user name
TString fGroup; // group name
TString fPasswd; // password
TString fRealName; // user full name
TString fShell; // user preferred shell
};
2003-08-21 13:37 brun
* geom/src/TGeoShape.cxx:
From Andrei:
Sorry, I forgot to initialize the new
fShapeBits data member and everything was wrong. Now it is fine.
2003-08-21 12:37 brun
* win32gdk/src/TGWin32Proxy.cxx:
I forgot SetTextAlign in the previous patch
2003-08-21 12:25 brun
* win32gdk/src/TGWin32Proxy.cxx:
From Valeriy Onuchin,
SetTextAttributes are now executing in "batched" mode.
2003-08-21 12:17 brun
* geom/inc/TGeoShape.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoCompositeShape.cxx,
geom/src/TGeoCone.cxx, geom/src/TGeoEltu.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoPara.cxx,
geom/src/TGeoPcon.cxx, geom/src/TGeoPgon.cxx,
geom/src/TGeoShape.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTorus.cxx, geom/src/TGeoTrd1.cxx,
geom/src/TGeoTrd2.cxx, geom/src/TGeoTube.cxx,
geom/src/TGeoVolume.cxx, geompainter/src/TGeoPainter.cxx:
A few fixes by Andrei to solve portability problems, in particular under Windows.
2003-08-21 11:06 brun
* tutorials/anim.C:
Add include declarations, such that the script can be executed via ACLIC
2003-08-21 10:27 brun
* geom/inc/TGeoCone.h, geom/inc/TGeoManager.h,
geom/inc/TGeoMatrix.h, geom/inc/TGeoPcon.h, geom/inc/TGeoShape.h,
geom/inc/TGeoTorus.h, geom/inc/TGeoTube.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoCone.cxx, geom/src/TGeoEltu.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoPara.cxx,
geom/src/TGeoPcon.cxx, geom/src/TGeoPgon.cxx,
geom/src/TGeoShape.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTorus.cxx, geom/src/TGeoTrd1.cxx,
geom/src/TGeoTrd2.cxx, geom/src/TGeoTube.cxx,
geom/src/TGeoVolume.cxx, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoPainter.cxx:
From Andrei Gheata:
- computation of normals to all primitive shapes, except TGeoCompositeShape
- improved TGeoTorus algorithms
- ray tracing feature : works as TGeoVolume::Draw() except that the
volume is ray-traced according to current visualization settings. All
features from a normal drawing are preserved : picking, zooming,
rotating,... The time for producing the ray-traced image scales with the
surface of the current pad (in pixels) and to the number of visible
nodes on screen. The current image can be clipped with any other shape,
defined in the reference frame of the current drawn volume. It works like:
TGeoTubeSeg *clip = new TGeoTubeSeg(params...);
gGeoManager->SetClippingShape(clip);
someVolume->Raytrace();
...
gGeoManager->SetClipping(kFALSE/kTRUE); to disable/enable clipping.
If the clipping shape is changed, the old one is automatically deleted.
2003-08-21 10:26 brun
* base/: inc/TView.h, src/TView.cxx:
From Andrei Gheata:
Add new functions required by the geometry package:
void GetWindow(Double_t &u0, Double_t &v0, Double_t &du, Double_t &dv) const;
Bool_t IsViewChanged() const {return fChanged;}
2003-08-20 17:40 brun
* graf/src/TGraph.cxx:
In TGraph::PaintGrapHist clip bins with contents less or equal to the minimum
in case of "polymarker" option.
2003-08-20 16:14 brun
* win32gdk/inc/TGWin32.h, win32gdk/src/TGWin32.cxx,
win32gdk/src/TGWin32Proxy.cxx, winnt/src/TWinNTSystem.cxx:
From Valeriy Onuchin
mods in TGWin32 code:
- new protected members (fFillColorModified, fFillStyleModified, fPenModified etc)
and methods (UpdateFillColor(),UpdateFillStyle() etc ) introduced.
That allows to minimize a number of calls and usage of "locking" for setting TAttXXX
parameters.
That will give some gain in performance.
- code cleaning.
- do not display ROOT logo splash screen if program name is
different from "root","rootn","root.exe","rootn.exe", for example "RootShower"
small modification in TWinNTSytem , which is temporary solution for the problem
reported by Thomas Nisius.
2003-08-20 10:51 rdm
* config/: Makefile.sgicc, Makefile.sgicc64, Makefile.sgiegcs,
Makefile.sgikcc, Makefile.sgin32egcs:
override INSTALL and INSTALLDATA, must be cp -pR.
2003-08-20 09:59 brun
* hist/: inc/TProfile2D.h, src/TProfile2D.cxx:
Add new constructors to support 2-D profiles with variable bin sizes.
2003-08-20 09:17 brun
* rootd/src/rootd.cxx:
Add option "r" to start the daemon in read-only mode.
request from Jerome Lauret/STAR
2003-08-20 09:11 brun
* README/CREDITS:
Add Gene Van Buren for his contribution to the TF1, TF2, TF3 Moment functions.
2003-08-20 09:00 brun
* hist/: inc/TF1.h, inc/TF2.h, inc/TF3.h, src/TF1.cxx, src/TF2.cxx,
src/TF3.cxx:
Add new functions Moment, CentralMoment, Mean, Variance.
From an original code by Gene Van Buren
In TF1
======
virtual Double_t Moment(Double_t n, Double_t a, Double_t b, const Double_t *params=0, Double_t epsilon=0.000001);
virtual Double_t CentralMoment(Double_t n, Double_t a, Double_t b, const Double_t *params=0, Double_t epsilon=0.000001);
virtual Double_t Mean(Double_t a, Double_t b, const Double_t *params=0, Double_t epsilon=0.000001) {return Moment(1,a,b,params,epsilon);}
virtual Double_t Variance(Double_t a, Double_t b, const Double_t *params=0, Double_t epsilon=0.000001) {return CentralMoment(2,a,b,params,epsilon);}
in TF2
======
virtual Double_t Moment2(Double_t nx, Double_t ax, Double_t bx, Double_t ny, Double_t ay, Double_t by, Double_t epsilon=0.000001);
virtual Double_t CentralMoment2(Double_t nx, Double_t ax, Double_t bx, Double_t ny, Double_t ay, Double_t by, Double_t epsilon=0.000001);
virtual Double_t Mean2X(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001) {return Moment2(1,ax,bx,0,ay,by,epsilon);}
virtual Double_t Mean2Y(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001) {return Moment2(0,ax,bx,1,ay,by,epsilon);}
virtual Double_t Variance2X(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001) {return CentralMoment2(2,ax,bx,0,ay,by,epsilon);}
virtual Double_t Variance2Y(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001) {return CentralMoment2(0,ax,bx,2,ay,by,epsilon);}
virtual Double_t Covariance2XY(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t epsilon=0.000001) {return CentralMoment2(1,ax,bx,1,ay,by,epsilon);}
in TF3
=====
virtual Double_t Moment3(Double_t nx, Double_t ax, Double_t bx, Double_t ny, Double_t ay, Double_t by, Double_t nz, Double_t az, Double_t bz, Double_t epsilon=0.000001);
virtual Double_t CentralMoment3(Double_t nx, Double_t ax, Double_t bx, Double_t ny, Double_t ay, Double_t by, Double_t nz, Double_t az, Double_t bz, Double_t epsilon=0.000001);
virtual Double_t Mean3X(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsilon=0.000001) {return Moment3(1,ax,bx,0,ay,by,0,az,bz,epsilon);}
virtual Double_t Mean3Y(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsilon=0.000001) {return Moment3(0,ax,bx,1,ay,by,0,az,bz,epsilon);}
virtual Double_t Mean3Z(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsilon=0.000001) {return Moment3(0,ax,bx,0,ay,by,1,az,bz,epsilon);}
virtual Double_t Variance3X(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsilon=0.000001) {return CentralMoment3(2,ax,bx,0,ay,by,0,az,bz,epsilon);}
virtual Double_t Variance3Y(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsilon=0.000001) {return CentralMoment3(0,ax,bx,2,ay,by,0,az,bz,epsilon);}
virtual Double_t Variance3Z(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsilon=0.000001) {return CentralMoment3(0,ax,bx,0,ay,by,2,az,bz,epsilon);}
virtual Double_t Covariance3XY(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsilon=0.000001) {return CentralMoment3(1,ax,bx,1,ay,by,0,az,bz,epsilon);}
virtual Double_t Covariance3XZ(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsilon=0.000001) {return CentralMoment3(1,ax,bx,0,ay,by,1,az,bz,epsilon);}
virtual Double_t Covariance3YZ(Double_t ax, Double_t bx, Double_t ay, Double_t by, Double_t az, Double_t bz, Double_t epsilon=0.000001) {return CentralMoment3(0,ax,bx,1,ay,by,1,az,bz,epsilon);}
2003-08-20 08:56 brun
* hist/src/TH1.cxx:
In TH1::GetRandom, use the absolute value of the function when computing the integral.
2003-08-20 08:53 brun
* tree/src/TChain.cxx:
In TChain::Add, sort the files in alphanumeric order in case of wildcarding.
2003-08-19 22:22 brun
* config/rootrc.in:
Thanks to Axel:
change
Root.Html.Root : http://root.cern.ch/root/html
to
Root.Html.Root: http://root.cern.ch/root/html
otherwise the resulting links will be
<a href=": http://root.cern.ch/root/html">root doc</a>. Another
option is to fix this behavior in TEnv. Right now all the outside links
to the official root doc gerenated by THtml are broken.
2003-08-19 18:32 rdm
* test/dt_DrawTest.C, treeplayer/src/TTreeFormula.cxx:
This patch insures that the TTreeFormula dimension lookup properly recognizes
strings even if they are not the first leaf used in the expression (+ add a
test for this case). By Philippe.
2003-08-19 15:58 rdm
* build/package/rpm/tail.spec.in:
specify cintincdir.
2003-08-19 11:56 rdm
* README/INSTALL, README/README,
build/package/common/libroot.shlibs,
build/package/common/root-cint.files,
build/package/debian/rules.in, build/package/rpm/head.spec.in,
build/package/rpm/tail.spec.in:
some corrections in package build files and install and readme notes. By
Christian Holm and Denis Stepanov.
2003-08-18 21:02 brun
* cint/inc/G__ci.h:
From Philippe:
Fix a typo affecting the Windows versions
2003-08-18 18:40 rdm
* matrix/inc/: TMatrix.h, TMatrixD.h, TMatrixDUtils.h,
TMatrixUtils.h, TVector.h, TVectorD.h:
remove ifdef __CINT__ around inline functions. With the current CINT
these special cases are not needed anymore (i.e. CINT does not try to
parse inlines anymore).
2003-08-18 18:15 rdm
* cint/: inc/G__ci.h, include/typeinfo.h, src/disp.c, src/fread.c,
src/init.c, src/newlink.c, src/sizeof.c, tool/makecint.c:
import of CINT 5.15.99.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-08-18 14:31 rdm
* README/INSTALL:
correct some comments concerning SRP file locations.
2003-08-18 02:09 rdm
* gpad/src/TCanvas.cxx:
better check for existing default canvases to avoid overwriting an
already existing canvas when using MakeDefCanvas(). Fix by "Hamlet".
2003-08-16 16:42 rdm
* icons/Splash.bmp:
3.10 version by Bertrand.
2003-08-15 21:40 rdm
* rootx/inc/: rootlogo_xbm.h, rootlogo_xpm.h:
change splash screen to 3.10. Later we will come with a more uptodate version
concerning authors.
2003-08-15 20:52 brun
* utils/src/rootcint.cxx:
From Philippe:
This patch fixes the shadow class generation in case of virtual inheritance.
This also makes sure that enums are always properly read (when inside an STL container).
2003-08-15 20:41 rdm
* configure:
exclude /usr/lib64 and /usr/lib32 from explicit directory search paths
(like -L/usr/lib32), the compiler will find the right directory depending
on the compiler options (32 or 64 bit).
2003-08-15 16:57 rdm
* Makefile:
allow the user to add private modules via the optional file MyModules.mk.
Lines should be of the form:
MODULES += newmodule
2003-08-15 16:55 rdm
* configure:
check for Windows versions of qt library.
2003-08-15 16:37 rdm
* unix/src/TUnixSystem.cxx:
check at run-time the supported c++filt arguments, don't depend anymore on
a fixed value.
2003-08-14 21:16 brun
* base/inc/RVersion.h, build/version_number:
Start new version 3.10/00
2003-08-14 21:11 brun
* test/dt_MakeRef.C:
Fix a CINT warning:
Warning: wrong member access operator '->' FILE:dt_MakeRef.C LINE:172
Warning: wrong member access operator '->' FILE:dt_MakeRef.C LINE:250
2003-08-14 21:09 brun
* meta/src/TStreamerInfo.cxx:
From Philippe:
There is a bug (fixed by the attached code) which prevented TTree::Draw to look in the base classes of 'Emulated
Classes' (classes for which the library code is not loaded).
2003-08-14 18:41 rdm
* configure:
better check for lib64 and lib32 for sgi.
2003-08-14 17:54 rdm
* base/inc/RConfig.h:
added for sgi64 support. By Philippe.
2003-08-14 15:01 rdm
* configure:
for sgicc64 check first for libs in lib64 before lib (like is done on the
Opteron, linux8664gcc).
2003-08-14 14:41 rdm
* config/Makefile.sgicc64, test/RootShower/Makefile:
added sgicc64.
2003-08-14 14:02 brun
* table/src/TVolumeViewIter.cxx:
From Valeri Fine
Fix memory leak in TVolumeViewIter
2003-08-14 06:44 brun
* tree/: inc/TChain.h, inc/TTree.h, src/TChain.cxx, src/TTree.cxx:
From Philippe:
This patch update SetBranchStatus so that it also search TTree Friends for matching branches.
2003-08-13 21:42 brun
* asimage/Module.mk, config/ARCHS, config/Makefile.sgicc64,
config/root-config.in, freetype/Module.mk, test/Makefile:
From Philippe
Port to SGI with option 64 bits.
2003-08-13 18:17 brun
* base/src/TSystem.cxx:
From Philippe:
This update to TSystem::CompileMacro adds a new option 'c' which tells ACLiC to compile and link the shared library but
do not load it. This allow using ACLiC in makefile to link shared library that are not closed (except on platform that
do not support this).
This update also corrects the returns value of TSystem::CompileMacro (now always returns true in all cases of success
and false in case of failure) and corrects the indentation.
2003-08-13 13:38 brun
* gui/: inc/TGButton.h, src/TGButton.cxx:
From Valeriy Onuchin;
Fix a problem with the Resize function that was affecting RootShower.
2003-08-12 17:58 rdm
* config/Makefile.hpuxia64acc:
forgot -DG__64BIT for CINTCXXFLAGS and CINTCFLAGS.
2003-08-12 11:53 brun
* win32gdk/: inc/TGWin32ProxyDefs.h, src/TGWin32Proxy.cxx:
From Valeriy Onuchin:
fix for the line/fill/text attributes
2003-08-12 09:48 brun
* hist/src/TFormula.cxx:
Fix a side effect of a previous enhancement. Tutorial multifit.C was not
running correctly.
2003-08-12 09:47 brun
* tutorials/: hbars.C, hstack.C, limit.C, pstable.C:
Remove warnings with the new version of CINT (replace "." by "->")
2003-08-11 17:55 rdm
* gui/src/TGCanvas.cxx:
From Ilka:
The methods SetHsbPosition and SetVsbPosition do not set the scroll bar
position given as a parameter some time. The two lines of code I have
added solve this problem.
2003-08-11 17:07 brun
* win32gdk/src/TGWin32Proxy.cxx:
Forgot one correction
2003-08-11 16:55 brun
* win32gdk/: inc/TGWin32ProxyBase.h, inc/TGWin32ProxyDefs.h,
src/TGWin32Proxy.cxx, src/TGWin32ProxyBase.cxx:
From Valeriy Onuchin:
- use locking instead of sending thread messages
for setting/getting TAtt*** parameters.
That will improve performance
2003-08-11 16:23 rdm
* gui/inc/TGListView.h:
added GetViewMode() to TGListView.
2003-08-11 14:51 rdm
* gui/: inc/TGButton.h, inc/TGListView.h, inc/TGProgressBar.h,
inc/TGSplitter.h, inc/TGString.h, src/TGProgressBar.cxx:
added some Getters needed by Ilka.
2003-08-11 13:45 brun
* win32gdk/src/: TGWin32Proxy.cxx, TGWin32ProxyBase.cxx:
From Valeriy Onuchin
- make TGWin32Proxy::SetFillColor batched
- set batch limit to 100 in TGWin32ProxyBase
2003-08-11 12:04 rdm
* cint/: inc/G__ci.h, inc/common.h, include/sys/cdefs.h,
src/BaseCls.cxx, src/Type.cxx, src/expr.c, src/ifunc.c, src/init.c,
src/newlink.c, src/parse.c, src/pause.c, src/struct.c, src/stub.c,
src/typedef.c, src/var.c:
import of CINT 5.15.98.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-08-11 10:27 brun
* hist/: inc/TH1.h, src/TH1.cxx, src/TH1K.cxx, src/TH2.cxx,
src/TH3.cxx, src/TProfile.cxx, src/TProfile2D.cxx:
Add a new static member
Bool_t fgStatOverflows;
and a corresponding setter
static void StatOverflows(Bool_t flag=kTRUE)
All histogram Fill functions modified to test this new flag.
By default the flag is off.
Note that the mean value/RMS is computed using the bins in the currently
defined range (see TAxis::SetRange). By default the range includes
all bins from 1 to nbins included, excluding underflows and overflows.
To force the underflows and overflows in the computation, one must
call the static function TH1::StatOverflows(kTRUE) before filling
the histogram.
2003-08-09 08:41 brun
* hist/src/TFormula.cxx:
Remove an old limitation preventing to use a basic expression like "gaus"
to make a new formula (thanks Gene Van Buren)
2003-08-08 20:07 rdm
* clib/src/Getline.c:
protect against long prompts (>80 char). By Gerri.
2003-08-08 19:28 brun
* base/inc/TVirtualFitter.h, fumili/inc/TFumili.h,
fumili/src/TFumili.cxx, minuit/inc/TFitter.h,
minuit/src/TFitter.cxx:
Add new function
Double_t GetParError(Int_t ipar) const
in TVirtualFitter, TFitter and TFumili
Declare const the GetParameter function introduced recently.
2003-08-08 15:32 rdm
* main/Module.mk:
don't build g2root and g2rootold as long as we don't have the new kernlib
built with DEC Fortran.
2003-08-08 11:31 brun
* geom/src/TGeoVolume.cxx:
Comment one line calling a new function SetRayTracing not yet implemented
in TVirtualGeoPainter.
2003-08-08 11:22 brun
* geom/: inc/TGeoVolume.h, src/TGeoCache.cxx, src/TGeoManager.cxx,
src/TGeoVolume.cxx:
From Andrei Gheata:
Fix to a problem reported by Ilektra Christidi.
The problem was that this calorimeter has 1.3E9 nodes and I did not
imagined that this can happen in real life. The cache produced a crash
since it tried to create an array 2 times this size. Now there is a
protection that will just disable physical node id tracking during
CDUp/Down in case there are too many nodes. I had also to introduce a
new data member in TGeoVolume (I increased the class version) in order
to fasten-up node counting (all the physical tree was parsed before).
2003-08-08 11:18 brun
* base/inc/TVirtualFitter.h, fumili/inc/TFumili.h,
fumili/src/TFumili.cxx, minuit/inc/TFitter.h,
minuit/src/TFitter.cxx:
Add new member functions GetCovarianceMatrix and GetParameter
to the abstract interface TVirtualFitter and to the concrete
implementations TFitter and TFumili.
2003-08-07 23:27 brun
* gui/src/TGListTree.cxx:
From Valeriy Onuchin:
Mods allowing search dialog in a list tree even when list_tree_items name
include "/" symbols (typical case with TSystemDirectory in TBrowser)
2003-08-07 23:05 brun
* meta/src/TMethodCall.cxx:
From Philippe:
This patch removes an erroreneous warning message induces by TMethodCall::ReturnType when the return type is of the
form 'const ns::myclass'. It was issuing a CINT error similar to 'const ns' is not a valid class name.
2003-08-07 14:36 brun
* win32gdk/inc/TGWin32ProxyDefs.h:
From Valeriy Onuchin:
in win32gdk/inc/TGWin32ProxyDefs.h line 33,
now
int gDebugProxy = 1;
should be
int gDebugProxy = 0;
That will give more than 20% gain in performance.
2003-08-07 12:13 brun
* hist/src/Haxis.cxx:
In TH1::SetAxisRange, automatically call SetMinimum/SetMaximum
in case the function is called with:
-the "y" option for a 1-d histogram
-the "z" option for a 2-d histogram
2003-08-07 11:53 brun
* hist/src/: TF2.cxx, TF3.cxx:
Fix a problem in TF2/ TF3 constructors to be able to detect creation
of functions with a wrong number of dimensions.
2003-08-07 10:47 rdm
* config/Makefile.linux:
remove option -fmessage-length which is not supported by gcc 2.95.
2003-08-07 09:51 rdm
* vmc/Module.mk:
typo preventing distclean from working.
2003-08-07 09:37 brun
* hist/src/TH1.cxx:
Do not change the number of entries in TH1::Rebin
2003-08-07 02:21 rdm
* proofd/src/proofd.cxx:
remove debug statement left by Axel.
2003-08-07 01:44 rdm
* base/: inc/TString.h, src/Stringio.cxx:
two new methods to read from stdio:
Bool_t Fgets(FILE *fp);
void Fputs(FILE *fp);
This facilitates often recurring code around pipes. By Maarten.
2003-08-07 01:42 rdm
* gui/: inc/TGClient.h, src/TGClient.cxx:
remove erroreous statement from class description.
2003-08-07 01:40 rdm
* tutorials/guitest.C:
use ECursor values to set cursors. Work around gVirtualX problem due to
Valeriy's changes.
2003-08-07 01:39 rdm
* base/: Module.mk, inc/LinkDef3.h:
export ECursor (in TVirtualX) to CINT.
2003-08-07 00:01 rdm
* configure:
when a library is found in /usr/lib don't add -L/usr/lib to the link statement.
/usr/lib is implicit and can cause problems when explicitely added.
2003-08-06 23:31 rdm
* alien/src/TAlien.cxx, alien/src/TAlienAttrResult.cxx,
alien/src/TAlienResult.cxx, build/rmkdepend/cppsetup.c,
build/rmkdepend/def.h, build/rmkdepend/ifparser.c,
build/rmkdepend/ifparser.h, build/rmkdepend/include.c,
build/rmkdepend/main.c, build/rmkdepend/parse.c,
dcache/src/TDCacheFile.cxx, proof/src/TCondor.cxx,
sapdb/src/TSapDBServer.cxx, srputils/src/rtconf.c,
thread/src/TPosixThread.cxx:
remove unused argument and other warnings exposed by the -W option.
2003-08-06 23:24 rdm
* win32gdk/: inc/TGWin32Proxy.h, inc/TGWin32ProxyBase.h,
inc/TGWin32ProxyDefs.h, src/TGWin32Proxy.cxx,
src/TGWin32ProxyBase.cxx:
file were missing cvs tag and author header lines.
2003-08-06 22:25 brun
* base/inc/LinkDef1.h, base/inc/TAttFill.h, base/inc/TAttLine.h,
base/inc/TAttText.h, base/inc/TVirtualX.h, base/inc/Windows4Root.h,
base/src/TROOT.cxx, base/src/TVirtualX.cxx, gui/src/TGClient.cxx,
win32gdk/gdk/src/gdk/gdk.def,
win32gdk/gdk/src/gdk/win32/gdkdrawable-win32.c,
win32gdk/inc/GdkConstants.h, win32gdk/inc/TGWin32.h,
win32gdk/inc/TGWin32Proxy.h, win32gdk/inc/TGWin32ProxyBase.h,
win32gdk/inc/TGWin32ProxyDefs.h, win32gdk/src/GWin32Gui.cxx,
win32gdk/src/GdkThread.cxx, win32gdk/src/TGWin32.cxx,
win32gdk/src/TGWin32Proxy.cxx, win32gdk/src/TGWin32ProxyBase.cxx:
New version of the win32gdk implementation by Valeriy Onuchin.
This version should be faster.
2003-08-06 18:09 brun
* histpainter/src/THistPainter.cxx:
Modify THistPainter::PaintStat and PaintStat2 to not print
the statistics when gStyle->GetOptStat is null.
2003-08-06 16:17 brun
* meta/src/TStreamerElement.cxx:
Additional fix to the "const" problem by Philippe
2003-08-06 11:42 brun
* gui/src/TGListTree.cxx, test/guiviewer.cxx:
From Valeriy Onuchin:
- small mod added to make possible to
search over directories (check list dir from guitest)
It's not clear for the moment how to implement it in more general way
- addition to guiviewer.cxx
// exit program on close window
Connect("CloseWindow()","TApplication",gApplication,"Terminate(=0)");
2003-08-06 09:26 brun
* meta/src/TStreamerElement.cxx:
Fix a problem in TStreamerSTL constructor in the case where
a class name contains the keyword "const"
Problem reported by Bill Tanenbaum
2003-08-06 00:08 brun
* vmc/: inc/TGeoMCGeometry.h, inc/TVirtualMCGeometry.h,
src/TGeoMCGeometry.cxx:
TVirtualMCGeometry copy constructor made protected instead of private.
Implement TGeoMCGeometry copy constructor.
Remove warnings about unused parameters.
2003-08-05 23:17 brun
* cint/src/newlink.c, utils/src/rootcint.cxx:
Fix by Philippe for a problem reported by Gordon Watts when installing
under VC++7.1.NET (was OK under 7.0)
I finally discovered the source of the problem (library is generated, compiled, linked and loaded properly but the
symbol are not available).
Because of one bug in rootcint and one bug in CINT and the fact that you are using a period ('.') in one the directory
name, the DLLID of all your libraries was the same (hence all but the first one thought they were already loaded into
the CINT dictionaries).
2003-08-05 23:15 brun
* base/inc/TControlBarImp.h:
Remove compiler warning about unused parameter
2003-08-05 21:25 brun
* gui/src/TGListTree.cxx:
From Valeriy Onuchin:
- small improvements in TGListTree::Search method
2003-08-05 17:26 brun
* gui/src/TGListTree.cxx:
From Valeriy Onuchin
- fix bug in TGListTree::FindItemByPathname method
- SearchDialog added to TGListTree class which
uses TGListTree::FindItemByPathname method.
Can be activated by F7, Cntr-F keys.
2003-08-05 12:51 brun
* tutorials/anim.C:
Protect the script in case the canvas is deleted while the script is running.
2003-08-05 12:25 brun
* histpainter/src/THistPainter.cxx:
Fix a problem in THistPainter::PaintContour (side-effect of a previous change by Olivier)
preventing to run correctly the tutorial FirstContour.C.
The first contour was not filled.
2003-08-04 23:35 brun
* tree/src/TTree.cxx:
From Philippe:
This patch avoids that TTree::CopyEntries opens all the file in a chain before starting the copy of the entries.
2003-08-04 22:31 brun
* base/src/TSystem.cxx:
Remove a warning with a unused parameter in TSystem::SetFPEMask
2003-08-04 22:10 brun
* tree/src/TTree.cxx:
From Philippe Canal & Thomas Hadig
This patch allows calling CloneTree on a TChain.
2003-08-04 22:07 brun
* base/src/TROOT.cxx, meta/inc/TFunction.h, meta/src/TFunction.cxx:
from Philippe:
The current implementation of TROOT::GetGlobalFunction had the side effect of creating the byte code for ALL the cint
global function (even if they crash cint but are never used :)).
Also the current code was different for Windows and Unix.
This provides an implementation that is the same on all platform and does not provokes the cint compilation.
Also it now fully relies on TFunction::GetMangledName which is now cached. The fact that it is not cached was also
causing problems when the file was reload.
2003-08-04 22:04 brun
* tree/src/TTree.cxx, treeplayer/src/TTreePlayer.cxx:
From Philippe:
The comments that are duplicated in TTree::Draw and TTreePlayer::DrawSelect where out-of-sync.
2003-08-04 19:33 brun
* tree/src/TBranchElement.cxx:
From Philippe:
This patch resolves an issue where the code thought there was a missing branch in the branch hiearchy because the
actual parent class inherited from the branch's class instead of being equal to it.
2003-08-04 11:31 rdm
* config/Makefile.linux:
add -W compile option to get warnings for unused arguments, etc. This is
the default on MacOS X. Also add -fmessage-length=0 to display compiler
messages on a single line facilitating the parsing of warning messages.
2003-08-03 08:41 brun
* gui/src/TGListTree.cxx:
Fix a bug in TGListTree::FindItemByPathname reported by Christian Stratowa
2003-08-02 07:45 brun
* utils/src/rootcint.cxx:
From Philippe
Surprisingly, cygwin's fopen can not code with '//tmp' but needs '/tmp'.
This fixes the problem.
2003-08-01 19:52 brun
* base/src/TKey.cxx:
From Philippe:
The following patch improves the error recovery in TKey::ReadObj by actually return a null pointer when failing to
read.
2003-07-31 22:46 brun
* geom/: inc/TGeoTorus.h, src/TGeoTorus.cxx:
New class TGeoTorus by Andrei
2003-07-31 22:19 brun
* geom/inc/LinkDef.h, geom/inc/TGeoArb8.h, geom/inc/TGeoBBox.h,
geom/inc/TGeoCompositeShape.h, geom/inc/TGeoCone.h,
geom/inc/TGeoEltu.h, geom/inc/TGeoManager.h,
geom/inc/TGeoMaterial.h, geom/inc/TGeoPara.h,
geom/inc/TGeoPatternFinder.h, geom/inc/TGeoPcon.h,
geom/inc/TGeoPgon.h, geom/inc/TGeoShape.h, geom/inc/TGeoSphere.h,
geom/inc/TGeoTrd1.h, geom/inc/TGeoTrd2.h, geom/inc/TGeoTube.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoCompositeShape.cxx,
geom/src/TGeoCone.cxx, geom/src/TGeoEltu.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoMaterial.cxx,
geom/src/TGeoMatrix.cxx, geom/src/TGeoPara.cxx,
geom/src/TGeoPatternFinder.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoShape.cxx,
geom/src/TGeoSphere.cxx, geom/src/TGeoTrd1.cxx,
geom/src/TGeoTrd2.cxx, geom/src/TGeoTube.cxx,
geompainter/inc/TGeoPainter.h, geompainter/src/TGeoPainter.cxx:
From Andrei GHeata:
- TGeoManager::FindNormal(Bool_t forward=kTRUE) = global algorithm for
finding the normal to the next/previous crossed surface, from the
current global point/direction. The current point does not necessary
need to be close to the surface, and the normal direction is always
returned so that its dot product with the current direction is positive
defined. One can get the normal after its computation with:
Double_t *TGeoManager::GetNormal()
- Normal computation algorithms for box, arb8, trap, gtra, cone in the
corresponding shape classes.
- New primitive shape fully implemented, from visualization to
computation of distances (except the normal computation, missing also
for several other shapes). Class name: TGeoTorus, representing a torus
segment with :
- R - radius of the circle representing the torus axis
- Rmin - inner radius (like a donut having a hole in the middle)
- Rmax - outer radius (Rmin < Rmax < R)
- Phi1 - start phi
- Dphi - phi range
- Some unused obsolete methods removed from the TGeoShape class.
- modifications in TGeoIdentity default ctor to initialize gGeoIdentity
- TGeoMaterial::IsMixture(),
TGeoMaterial::FindDuplicateMaterial(const TGeoMaterial *mat)
- several other minor changes
2003-07-31 19:49 brun
* meta/src/TClass.cxx:
From Philippe:
This patch removes the reference to objects that have been destroyed in an unloaded TClass.
2003-07-30 20:00 brun
* histpainter/src/THistPainter.cxx:
Fix by Olivier for a problem reported by Otto Schaile
" I am using 3.05/07,27 July 2003, (RH7.3)
when zooming in x - y sometimes the upper bin row gets white"
2003-07-29 21:27 brun
* base/src/TProcessID.cxx:
From Philippe:
Protection added in TProcessID::ReadProcessID in case the TObjArray fObjects
had been deleted by a previous erroneous call to TFile::Close("R")
2003-07-29 18:38 brun
* tree/src/TChain.cxx:
From Philippe:
If the filename points to a directory it looks like TFile::Open returns 0.
This patch makes TChain::LoadTree react properly to this case.
2003-07-29 18:16 brun
* utils/src/rootcint.cxx:
From Philippe:
This patches insures that rootcint use TEMP, TMP or . as its temporary directory
on Windows (rather than the root of the current directory).
2003-07-29 15:52 brun
* minuit/src/TMinuit.cxx:
Fix from Jeff Hartnell to protect against a rare case of FPE in TMinuit::mnmgrd
2003-07-29 14:54 brun
* graf/src/TLegend.cxx:
Fix from Hajime Nanjyo in TLegend in case of the option "f"
and some cases of aspect ratio.
2003-07-27 17:39 brun
* tree/: inc/TTree.h, src/TTree.cxx:
Add new function:
void TTree::SetFileNumber(Int_t number)
// Set fFileNumber to number.
// fFileNumber is used by TTree::Fill to set the file name
// for a new file to be created when the current file exceeds fgTreeMaxSize.
// (see TTree::ChangeFile)
// if fFileNumber=10, the new file name will have a suffix "_11",
// ie, fFileNumber is incremented before setting the file name
2003-07-27 17:36 brun
* base/src/TMath.cxx:
TMath::KolmogorovProv has been rewritten to be in phase with the latest
version of PROBKL in CERNLIB.
2003-07-27 12:45 brun
* Makefile, proofd/src/daemon.cxx, proofd/src/proofd.cxx,
rootd/src/daemon.cxx, rootd/src/rootd.cxx:
From Axel Naumann
I tried to patch rootd and proofd to make them work under win32gcc (for
what it's worth - well, maybe it's even worth something, 'cause they don't
- err, didn't - work under win yet, right?). Attached you can find the
patches for the Makefile (to add the modules - actually, we could now just
use the default modules list) and for rootd and proofd. It's mainly an
issue of getting flock "translated" to (cygwin supported) fcntl calls and
substituting setresuid etc. I tested connecting to both; they seem to work
properly.
2003-07-27 10:05 brun
* main/Module.mk, rootx/Module.mk, rootx/src/rootx.cxx:
From Axel Naumann:
I'm jetlagged, so I fixed the rootx problem on win32gcc. The reason why
this was not implemented properly before: root spawns root.exe - which
doesn't work on win32gcc, as root and root.exe are identical (whenever you
build an executable called root you'll end up with a file called
root.exe).
The attached patch will build a root.exe correspodning to unix's root.
When people type "root" that's what they start. The change in
main/Module.mk builds root_exe.exe on win32gcc, corresponding to unix's
root.exe. Obviously, I also had to patch rootx.cxx now; I added a preproc
define ROOTBINARY "root_exe.exe" for win32gcc and "root.exe" otherwise.
Now root properly shows its popup, checks X11 and what not.
2003-07-27 07:16 brun
* tree/src/TChain.cxx:
From Philippe:
Fix a bug introduced in the previous change to TChain::Add preventing to use
a tree name of more than one letter when the
filename provided to AddFile contains a regular expression.
2003-07-26 07:51 brun
* base/src/TROOT.cxx, hist/src/TFormula.cxx,
meta/inc/TMethodCall.h, meta/src/TClass.cxx,
meta/src/TMethodCall.cxx:
From Philippe
This patch implement the calling of function inside a TFormula for Windows.
The issue is the lookup of the interpreted functions. For optimization
TROOT relies on comparison with a function address. Those are not reliable
on windows (a function seemingly can have several different addresses).
The code is currently code guarder by R__WIN32, I suppose we should/could
actually code guard it with R__FUNCTION_ADDRESS_NOT_UNIQUE or something like
that defined in RConfig.h (for the revelant platform). One question is
whether or not this patch is able needed on MacOS and/or AIX.
also add a method: TMethodCall::IsValid.
2003-07-25 19:41 brun
* tree/src/TChain.cxx:
m Philippe:
TChain::Add was broken since the latest improvement to the
regular expression. Now it seems that:
c = new TChain("T2");
c->Add("event.root/T");
is taken has a regular expression. This would have been 'okay' if it was
not for the fact that the regular expression par of TChain::Add never
supported the '/treename' syntax. In addition, if (and only if) a path was
specified then the filename had to end with '.root' (if the path was not
specified the filename could end in anything the user wanted!).
This patch fix those problems (and add support for any file name length!)
2003-07-25 19:22 brun
* base/inc/TQObject.h, gui/inc/TGFrame.h, gui/inc/TGWindow.h,
gui/src/TGFrame.cxx, gui/src/TGWindow.cxx, test/guitest.cxx,
tutorials/guitest.C:
From Valeriy Onuchin
- I think it's very usefull ( at least for debugging )
to have TGFrame,TGCompositeFrame::Print method,
which will print frame paramters (id, parent id, size, position etc.)
- I think few protected methods in TQObject clas must be
public. That will allow to "SaveAs" TQObject connections
2003-07-25 07:15 brun
* base/src/TSystem.cxx:
From Philippe:
This patch allows dash in include path name in ACLiC.
2003-07-24 21:36 brun
* gui/src/TGMenu.cxx:
From Philippe:
TGPopupMenu was assuming that the Graphical Context was
set to the correct fonts (but it was not).
2003-07-24 18:00 brun
* gui/src/TGTab.cxx, test/guitest.cxx, tutorials/guitest.C:
From Valeriy Onuchin:
- TGTab::RemoveTab(Int_t tabIndex)
o change order of tab windows destroy
o unmap, do not destroy container window.
container window is destroyed/deleted
later in TGTab destructor
2003-07-24 12:13 brun
* base/inc/RVersion.h, build/version_number:
Go to version 3.05/07
2003-07-24 11:17 brun
* meta/src/TClass.cxx:
Add comments in TClass::InheritsFrom to indicate that the function
returns kTRUE in case the argument is the class itself
2003-07-24 11:13 brun
* tree/src/TTree.cxx:
In TTree::Print fix a problem due to a deficiency of the regexp machinery
when the string contains a "/"
2003-07-23 23:48 brun
* hist/src/TFormula.cxx:
From Philippe:
The existing implementation of TFormula explicitly allowed
(and ignored) trailing characters after a decimal point.
This patch:
- allow numerical value of the format d*[.d*][e-+]d* where d is a
digit and hexadecimal: 0xH* where H is a digit or a through f.
- disallow explicitly more that one decimal point
- disallow explicitly decimal point in the exponent part
- disallow trailing characters after a decimal point
- Add a new error message:
*ERROR 30 :
Bad numerical expression : "3.5.3"
2003-07-23 21:24 brun
* graf/src/TTF.cxx:
A patch from Philippe that adds some protection in case of a missing font file.
2003-07-23 18:32 brun
* unix/src/TUnixSystem.cxx:
From Peter Hristov:
Fix for Ithanium64 ecc and gcc RH7.3 in the floating point exception logic.
2003-07-23 14:28 brun
* build/win/f77.sh:
Remove declaration of variables for MSVC98
2003-07-23 14:27 brun
* build/win/bindexplib/bindexplib.cxx, config/Makefile.win32gdk:
Mods from Gordon Watts to build Root win32gdk under VisualC++7.1.NET
2003-07-23 14:25 brun
* tree/src/TBranchElement.cxx:
From Philippe
Fix for a problem reported by Hamlet:
While messing with TTrees, I've run into the following error:
Error in <TBranchElement::GetDataMemberOffset>: obsolete call with
(PhotonsList,Clusters)
2003-07-22 23:15 brun
* treeplayer/: inc/TSelectorDraw.h, src/TSelectorDraw.cxx:
From Philippe:
TSelectorDraw::CompileVariables now returns a Boolean to indicate its
success or failure. This is used in TSelectorDraw::Begin to detect a
'compilation' failure (rather than try to guess from the side effects).
With this fix, the case of producing an EventList with a bad selection now
properly fails.
2003-07-22 18:12 brun
* tree/: inc/TChain.h, src/TChain.cxx:
Implement a new function:
void TChain::CanDeleteRefs(Bool_t flag)
when closing a file during the chain processing, the file
may be closed with option "R" if flag is set to kTRUE.
by default flag is kTRUE.
When closing a file with option "R", all TProcessIDs referenced by this
file are deleted.
Calling TFile::Close("R") might be necessary in case one reads a long list
of files having TRef, writing some of the referenced objects or TRef
to a new file. If the TRef or referenced objects of the file being closed
will not be referenced again, it is possible to minimize the size
of the TProcessID data structures in memory by forcing a delete of
the unused TProcessID.
2003-07-22 18:10 brun
* base/src/TFile.cxx:
In TFile::Close, modify the logic to remove unused TProcessIDs.
Use new function TProcessID::Clear.
2003-07-22 18:08 brun
* base/: inc/TProcessID.h, src/TProcessID.cxx:
Implement new function TProcessID::Clear.
// delete the TObjArray pointing to referenced objects
// this function is called by TFile::Close("R")
2003-07-22 18:06 brun
* graf/src/TFrame.cxx:
In TFrame::Paint, use option "s" when calling TPad::PaintBox.
This new option solves a problem when drawing a frame on Postscript
2003-07-22 18:05 brun
* gpad/src/TPad.cxx:
In TPad::PaintBox, activate option "s". When the option "s" is specified,
the fill style of the box is forced to 0. This feature is used by TFrame::Paint
2003-07-22 18:03 brun
* graf/src/TGraph.cxx:
Remove obsolete option "B" when calling TPad::PaintBox in TGraph::PaintGrapHist
2003-07-21 19:38 brun
* base/src/TFile.cxx:
Add a new option "R" in TFile::Close.
// if option == "R", all TProcessIDs referenced by this file are deleted.
// Calling TFile::Close("R") might be necessary in case one reads a long list
// of files having TRef, writing some of the referenced objects or TRef
// to a new file. If the TRef or referenced objects of the file being closed
// will not be referenced again, it is possible to minimize the size
// of the TProcessID data structures in memory by forcing a delete of
// the unused TProcessID.
2003-07-21 17:20 brun
* postscript/src/TPostScript.cxx:
From Olivier:
In a macro, when a character was written on several lines some 'n' were
written in the middle of the string in the PostScript file. This generated
some miss-alignments.
2003-07-21 14:42 brun
* base/inc/TControlBarImp.h, gpad/inc/TControlBar.h,
gpad/src/TControlBar.cxx, gui/inc/TRootControlBar.h,
gui/src/TRootControlBar.cxx:
From Valeriy Onuchin:
- TControlBar::SetTextColor added
2003-07-21 12:47 brun
* tutorials/guitest.C:
Minor change by Valeriy Onuchin similar to teh change in test/guitest.cxx
2003-07-21 12:40 brun
* test/guitest.cxx:
From Valeriy Onuchin:
- minory mods in TestFileList test from guitest.C/guitest.cxx
2003-07-21 12:39 brun
* gui/: inc/TGButton.h, inc/TGCanvas.h, inc/TGFrame.h,
src/TGButton.cxx, src/TGFrame.cxx:
From valeriy Onuchin:
add new methods:
- TGTextButton::SetTextColor
- TGContainer::GetCanvas
- add default parameters to TGFrame::Resize,MoveResize
That simplifies usage, e.g.
frame->Resize() instead of frame->Resize(frame->GetDefaultSize())
2003-07-19 02:14 rdm
* chirp/src/TChirpFile.cxx, dcache/src/TDCacheFile.cxx:
fix SysStat() where we now use fRealName and not GetName(). Should fix
Ursula's problem.
2003-07-19 01:51 rdm
* base/inc/TControlBarImp.h, gpad/inc/TControlBar.h,
gpad/src/TControlBar.cxx, gui/inc/TGButton.h,
gui/inc/TRootControlBar.h, gui/src/TGButton.cxx,
gui/src/TRootControlBar.cxx:
new method SetFont() added to
TGTextButton, TControlBar, TRootControlBar, TControlBarImp
classes that allow to change the font of control bar on fly, example:
root [0] .x tutorials/demos.C
root [1] bar->SetFont("-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1")
root [2] bar->SetFont("-adobe-helvetica-bold-r-*-*-24-*-*-*-*-*-iso8859-1")
2003-07-19 01:40 rdm
* config/rootrc.in:
QtRoot lib name change.
2003-07-19 00:19 rdm
* unix/src/TUnixSystem.cxx:
syslog (3c) takes a printf like format string, by Maarten.
2003-07-18 18:26 brun
* tree/src/TChain.cxx:
Fix from Maarten in TChain::AddFile to support wildcarding and in particular
something like:
TChain ch("T");
ch.Add("file_[0-9].root");
2003-07-18 17:36 brun
* graf/src/TTF.cxx, postscript/src/TPostScript.cxx:
From Olivier,
The text size in PostScript files is now computed in order to fit exactly
with the TTF text size on screen. Previously it was close but a bit
different, therefore on long character strings it was possible to see gaps
between various pieces of a TLatex expression.
2003-07-18 15:21 brun
* base/src/TRegexp.cxx:
Document TRegexp
2003-07-18 11:07 brun
* histpainter/src/THistPainter.cxx:
Optimisation of the color scale computation when drawing with option "colz'
(from Olivier)
2003-07-18 10:48 brun
* g3d/src/TNode.cxx:
Change proposed by Vitaly Choutko to speed up the RecursiveRemove process
in case of a large TGeometry hierarchy.
2003-07-18 09:55 brun
* test/RootShower/: MyDetector.cxx, MyEvent.cxx:
From Bertrand:
Small corrections of volumes in geometry and nodes numbering scheme
in order to obtain right particle position in detector during event processing.
2003-07-17 21:56 brun
* gpad/src/TPad.cxx:
In the TPad default constructor disable the statement setting the selected pad.
This has side effects when the pad is a TDrawPanelHist or a TFitPanel.
This line was a fix for a DrawClonePad problem. Another solution must be found.
2003-07-17 18:50 brun
* tree/src/TTree.cxx:
Add also one more comment in TTree::GetEntry
2003-07-17 18:34 brun
* tree/src/: TChain.cxx, TTree.cxx:
Add important remarks in the doc of TTree::SetBranchStatus and TChain::SetBranchStatus
2003-07-17 16:30 brun
* treeplayer/src/TTreePlayer.cxx:
Protection added in TTreePlayer::DrawSelect in case gPad is null
and the result of the query is 0 rows.
2003-07-17 15:42 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
One more fix in the never ending saga of wrong declarations with const
in the ResizeTo functions.
2003-07-17 14:24 brun
* vmc/inc/TVirtualMC.h:
Provide a dummy implementation of SetRootGeometry
2003-07-17 12:10 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
One more fix in ResizeTo removing a damaging const declaration
2003-07-17 09:42 brun
* base/inc/RVersion.h, build/version_number:
Stamp version 3.05/06.
This should be the final production release.
2003-07-17 09:38 brun
* graf/src/TGraph.cxx:
In TGraph::PaintGrapHist take into account the frame line width.
The histogram fill area or contour cannot overwrite anymore the frame contour.
2003-07-17 09:36 brun
* graf/src/TFrame.cxx:
In TFrame::Paint use Tpad::PaintBox instead of 4 calls to PaintLine.
This improves the quality of the frame in case of large line widths
2003-07-17 08:19 brun
* table/src/: TVolume.cxx, TVolumePosition.cxx:
Remove declarations of gSize3D preventing to link on Windows.
2003-07-17 08:18 brun
* gpad/inc/TCanvas.h:
Method DisconnectWidget moved from private to public.
This may be a temporary fix for the Qt implementation.
2003-07-16 23:22 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
Do not delete the index_old[i] elements in the ResizeTo functions
2003-07-16 21:24 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
Fix portability problems in the ResizeTo functions.
Fix potential memory leak in ResizeTo with two arguments
2003-07-16 19:18 brun
* hist/src/TFormula.cxx:
Add comments in the class description to indicate that the formula
can reference any TMath function.
2003-07-16 18:14 brun
* base/src/TFile.cxx:
gFile must be set/restored in GetStreamerInfoList and ReadStreamerInfo
before/after cally TKey::ReadObj.
A clean fix to be done should use the TFile pointer from fBufferRef
in TKey::ReadObj instead of using gFile.
2003-07-16 15:06 rdm
* Makefile:
fix install target for win32.
2003-07-16 13:18 rdm
* .cvsignore, cint/main/.cvsignore, utils/src/.cvsignore,
win32gdk/gdk/src/gdk/.cvsignore,
win32gdk/gdk/src/gdk/win32/.cvsignore:
tell cvs not to report on Win32 build by-products.
2003-07-16 13:15 rdm
* win32gdk/gdk/src/gdk/makefile.msc:
remove $ROOTSYS from makefile, use relative path instead.
2003-07-16 13:10 rdm
* test/.cvsignore:
not needed, Makefile is not generated anymore.
2003-07-16 13:03 rdm
* configure:
make sure on win32 that paths with $ROOTSYS are converted to unix format
(via cygpath) in config/Makefile.config.
2003-07-16 11:35 rdm
* Makefile:
move vmc after geom in the list of modules, this is needed because vmc
depends on geom and therefore make must read first the geom/Module.mk
before vmc/Module.mk so it can properly resolve dependencies. Fixes build
problem reported by Gordon.
2003-07-16 11:19 rdm
* gui/src/TGButton.cxx:
small fix in Error() in case cmd = 0.
2003-07-16 11:16 rdm
* win32gdk/gdk/: dll/glib-1.3.dll, dll/iconv-1.3.dll,
lib/glib-1.3.lib:
this lib's and dll's are not build from source only gdk-1.3 lib and dll are.
2003-07-16 09:00 brun
* win32gdk/gdk/: dll/glib-1.3.dll, dll/iconv-1.3.dll,
lib/glib-1.3.lib:
Remove the gdk dll and lib files. They are now build from the source
2003-07-16 08:52 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
Fix by Eddy Offermann in the matrix ResizeTo functions.
The original data are now preserved.
2003-07-16 08:31 brun
* minuit/src/TMinuit.cxx:
In TMinuit::SetFCN one musr recompute gMinuit in case gMinuit was
changed during the fit procedure (or deletedIn TMinuit::setFCN one musr recompute gMinuit in case gMinuit was
changed during the fit procedure (or deleted)
2003-07-15 23:50 brun
* base/src/TSystem.cxx:
Fix by Philippe for a problem reported by Gordon Watts
"gSystem->CompileMacro("./sub/macro.C", "k", "TMBTreeClasses_C");
"does not work on Windows."
The enclosed patch solves this problems.
Because of the 3rd arguments, the library is correctly being built in the current directory. However part of the
system, was not aware of this fact .
2003-07-15 16:25 brun
* gui/inc/TGButton.h, gui/src/TGButton.cxx, gui/src/TGImageMap.cxx,
gui/src/TGListView.cxx, treeviewer/src/TTVLVContainer.cxx:
From Valeriy Onuchin:
- mode in TGLVcontainer::SetViewMode method
That fixes layout problem in tree viewer
- new constructor for TGPictureButton
- code cleaning
2003-07-15 14:50 brun
* graf/: inc/TBox.h, src/TBox.cxx:
Add a enum/bit kCannotMove. When this bit is set, a TBox or any class
deriving from TBox cannot me moved/resized in a pad.
2003-07-15 13:07 brun
* config/Makefile.depend:
Add dependency of libVMC on libGeom. This required by AIX, Windows.
2003-07-15 12:01 brun
* Makefile:
Replace mc by vmc
2003-07-15 11:56 brun
* vmc/: Module.mk, inc/LinkDef.h, inc/TGeoMCGeometry.h,
inc/TMCProcess.h, inc/TMCVerbose.h, inc/TPDGCode.h,
inc/TVirtualMC.h, inc/TVirtualMCApplication.h,
inc/TVirtualMCDecayer.h, inc/TVirtualMCGeometry.h,
inc/TVirtualMCStack.h, src/TGeoMCGeometry.cxx, src/TMCVerbose.cxx,
src/TVirtualMC.cxx, src/TVirtualMCApplication.cxx,
src/TVirtualMCDecayer.cxx, src/TVirtualMCGeometry.cxx,
src/TVirtualMCStack.cxx:
Old directory mc is renamed vmc.
Note new classes TVirtualMCGeometry, TGeoMCGeometry.
The new vmc directory has the following backward incompatibilities;
in class TVirtualMCStack,
SetTrack has been renamed PushTrack
GetNextTrack is renamed PopNextTrack
GetPrimaryForTracking is renamed PopPrimaryForTracking
CurrentTrack is renamed GetCurrentTrackNumber
CurrentTrackParent is renamed GetCurrentParentTrackNumber
in class TVirtualMC
A new optional argument in the constructor
Two new functios SetRootGeometry and IsRootGeometrySupported.
2003-07-15 11:20 brun
* mc/: Module.mk, src/TMCVerbose.cxx, src/TVirtualMC.cxx,
src/TVirtualMCApplication.cxx, src/TVirtualMCDecayer.cxx,
src/TVirtualMCStack.cxx:
Remove the old directory mc. This directory is now renamed vmc.
See next commit to see the list of backward incompatibilities.
2003-07-15 10:51 rdm
* test/: Makefile, RootShower/Makefile:
remove redundant win32gdk test.
2003-07-15 09:56 brun
* graf/src/TLegend.cxx:
In TLegend::PaintPrimitives make the size of the box and of the line
identical when options "f" and "l" are specified.
2003-07-15 08:36 brun
* rint/src/TRint.cxx:
By default include<iostream> on Windows
2003-07-15 08:18 brun
* win32gdk/: Module.mk, gdk/src/gdk/config.h,
gdk/src/gdk/config.h.win32, gdk/src/gdk/gdk.c, gdk/src/gdk/gdk.def,
gdk/src/gdk/gdk.h, gdk/src/gdk/gdkcc.h, gdk/src/gdk/gdkcolor.c,
gdk/src/gdk/gdkcolor.h, gdk/src/gdk/gdkcompat.h,
gdk/src/gdk/gdkconfig.h, gdk/src/gdk/gdkconfig.h.win32,
gdk/src/gdk/gdkcursor.c, gdk/src/gdk/gdkcursor.h,
gdk/src/gdk/gdkcursors.h, gdk/src/gdk/gdkdnd.h,
gdk/src/gdk/gdkdraw.c, gdk/src/gdk/gdkdrawable.h,
gdk/src/gdk/gdkevents.c, gdk/src/gdk/gdkevents.h,
gdk/src/gdk/gdkfont.c, gdk/src/gdk/gdkfont.h, gdk/src/gdk/gdkgc.c,
gdk/src/gdk/gdkgc.h, gdk/src/gdk/gdkglobals.c,
gdk/src/gdk/gdki18n.h, gdk/src/gdk/gdkim.h, gdk/src/gdk/gdkimage.c,
gdk/src/gdk/gdkimage.h, gdk/src/gdk/gdkinput.h,
gdk/src/gdk/gdkkeysyms.h, gdk/src/gdk/gdkpixmap.h,
gdk/src/gdk/gdkprivate.h, gdk/src/gdk/gdkproperty.h,
gdk/src/gdk/gdkrectangle.c, gdk/src/gdk/gdkregion.h,
gdk/src/gdk/gdkrgb.c, gdk/src/gdk/gdkrgb.h,
gdk/src/gdk/gdkselection.h, gdk/src/gdk/gdktypes.h,
gdk/src/gdk/gdkvisual.h, gdk/src/gdk/gdkwindow.c,
gdk/src/gdk/gdkwindow.h, gdk/src/gdk/makefile.cygwin,
gdk/src/gdk/makefile.msc, gdk/src/gdk/testgdk.c,
gdk/src/gdk/win32/gdkcc-win32.c,
gdk/src/gdk/win32/gdkcolor-win32.c,
gdk/src/gdk/win32/gdkcursor-win32.c,
gdk/src/gdk/win32/gdkdnd-win32.c,
gdk/src/gdk/win32/gdkdrawable-win32.c,
gdk/src/gdk/win32/gdkevents-win32.c,
gdk/src/gdk/win32/gdkfont-win32.c, gdk/src/gdk/win32/gdkgc-win32.c,
gdk/src/gdk/win32/gdkglobals-win32.c,
gdk/src/gdk/win32/gdkim-win32.c,
gdk/src/gdk/win32/gdkimage-win32.c,
gdk/src/gdk/win32/gdkinput-win32.c,
gdk/src/gdk/win32/gdkinputprivate.h,
gdk/src/gdk/win32/gdkmain-win32.c,
gdk/src/gdk/win32/gdkpixmap-win32.c,
gdk/src/gdk/win32/gdkprivate-win32.h,
gdk/src/gdk/win32/gdkproperty-win32.c,
gdk/src/gdk/win32/gdkregion-win32.c,
gdk/src/gdk/win32/gdkselection-win32.c,
gdk/src/gdk/win32/gdkvisual-win32.c, gdk/src/gdk/win32/gdkwin32.h,
gdk/src/gdk/win32/gdkwin32id.c,
gdk/src/gdk/win32/gdkwindow-win32.c,
gdk/src/gdk/win32/makefile.cygwin, gdk/src/gdk/win32/makefile.msc,
gdk/src/gdk/win32/surrogate-dimm.h, gdk/src/gdk/win32/rc/gdk.rc:
Remove trailing <cr>
2003-07-15 07:15 brun
* cint/src/expr.c:
From Philippe:
G__getiparseobject is responsible for transforming special CINT variable parameter values
into a proper G__value.
On OSF1 (and Opteron 64 I guess), pointer are 64 bits which fits into a long but not into an int.
However, G__getiparseobject was doing the transformation using atoi which truncate to an int!.
The solution is to use atol instead.
2003-07-14 20:06 rdm
* freetype/Module.mk:
try to avoid problem on AIX.
2003-07-14 19:29 rdm
* base/src/TBuffer.cxx:
small typo in error message.
2003-07-14 19:29 rdm
* config/: Makefile.linuxia64ecc, Makefile.linuxicc:
get the correct gcc fortran runtime (including libfrtbegin when the
runtime comes from gcc >3.0).
2003-07-14 19:14 brun
* base/src/TBuffer.cxx:
From Philippe;
This patch improves the error recovery in the case where TBuffer::ReadObjectAny decides it wont be able
to read/load the objects. By calling CheckByCount explicitly we prevent an extra spurrious error
message of the style 'some top level class Streamer is out of sync'.
2003-07-14 18:11 brun
* main/src/h2root.cxx:
On Windows, the length of the common block /pawc/ must be the same
as the value compiled in libPacklib.lib (2000000).
2003-07-14 17:35 rdm
* asimage/src/libAfterImage.tar.gz:
had to remove MIN MAX warning in afterbase.h.in and not afterbase.h.
2003-07-14 16:58 rdm
* asimage/Module.mk, freetype/Module.mk:
add dependencies on the tar files so when a new tar file is introduced
it will trigger a recompile of the package.
2003-07-14 16:35 rdm
* configure:
ichange "! test" to test !".
2003-07-14 16:05 brun
* cint/src/typedef.c:
Replace C++ style comments by C style commentss preventing to compile
on Solaris and AIX
2003-07-14 15:27 rdm
* asimage/src/libAfterImage.tar.gz:
fix warning on HP about MIN and MAX being redefined.
2003-07-14 15:14 brun
* test/RootShower/RootShower.cxx:
Remove a useless statement
2003-07-14 15:10 rdm
* cint/inc/G__ci.h, cint/inc/fproto.h, cint/inc/longif3.h,
cint/include/platform.h, cint/include/sys/cdefs.h,
cint/lib/longlong/makelongif, cint/lib/longlong/makelongif3,
cint/lib/pthread/Makefile, cint/src/func.c, cint/src/init.c,
cint/src/longif3.cxx, cint/src/parse.c, cint/src/tmplt.c,
cint/src/typedef.c, utils/src/rootcint.cxx:
import of CINT 5.15.94.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-07-14 15:04 brun
* test/RootShower/MyDetector.h:
Remove unused includes
2003-07-14 14:58 brun
* hist/src/: TF1.cxx, TF2.cxx, TF3.cxx:
Add Warnings in functions SetNpx,y,z in case one attempts to set an illegal number
of points.
Comments added in these functions and also the GetRandom functions.
2003-07-14 14:22 brun
* gui/: inc/TGCanvas.h, inc/TGListView.h, src/TGListView.cxx:
From Valeriy Onuchin
o add sanity checks to
- several places inside TGLisView class
- TGContainer::GetLastActive
o increment fTotal in TGLVContainer::AddItem method
2003-07-14 11:57 brun
* test/RootShower/GTitleFrame.cxx:
Use better fonts (from Bertrand)
2003-07-14 09:59 brun
* config/rootrc.in:
Implement a suggestion from Axel in system.rootrc/rootrc.in
I think it would be good to have Root.Html.Root set to
http://root.cern.ch/root/html by default.
2003-07-14 09:52 brun
* html/src/THtml.cxx:
From Axel Naumann:
If Root.Html.Root is abs path name don't prefix file
names with relative dirs. Requested by Denis Stepanov.
2003-07-14 09:40 brun
* test/RootShower/.rootshowerrc:
New version of .rootshowerrc from Bertrand
2003-07-14 09:39 brun
* test/RootShower/Makefile:
Add support for Windows
2003-07-14 09:00 brun
* test/RootShower/: GTitleFrame.cxx, Makefile, MyDetector.cxx,
MyDetector.h, MyEvent.cxx, MyEvent.h, RSHelptext.cxx, RSVersion.h,
RootShower.cxx, RootShower.h, SettingsDlg.cxx, SettingsDlg.h:
New version of RootShower from Bertrand.
This new version uses the TGeo classes instead of the old geometry.
2003-07-12 21:43 brun
* matrix/: inc/TVector.h, inc/TVectorD.h, src/TVector.cxx,
src/TVectorD.cxx:
Implement function Clear.
The destructors call Clear.
TVector can be members of a class in a TClonesArray.
2003-07-12 18:14 brun
* matrix/: inc/TMatrix.h, inc/TMatrixD.h, src/TMatrix.cxx,
src/TMatrixD.cxx:
Implement a function Clear in the matrix classes.
This function is required when reading TMatrix objects inside a Tree.
The destructor is now calling Clear.
The Streamer functions have been modified to Clear the object before reading
and setting the index after reading.
2003-07-12 15:38 brun
* graf/src/TGraph.cxx:
Improve performance of TGraph::ComputeLogs
2003-07-12 14:54 brun
* graf/src/TGraph.cxx:
In TGraph::PaintGrapHist, use the NoClip option "C" when calling
TPad::PaintPolyLine in case the kClipFrame bit is not set.
2003-07-12 14:53 brun
* gpad/src/TPad.cxx:
In TPad::PaintPolyLine introduce a new option "C".
When this option is specified the polyline is not clipped at all.
This assumption is possible in drawing histograms when one knows
that all points are in the frame boundary.
2003-07-12 14:00 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintGrapHist do not set the bit kClipFrame
in the TGraph used for painting, unless option "same" is specified.
This improves substantially the drawing speed.
2003-07-12 10:08 brun
* g3d/src/TAxis3D.cxx:
Remove trailing <cr> preventing to compile with gcc2.95
2003-07-11 23:32 brun
* meta/src/TClass.cxx:
From Philippe:
This patch insures that GetBaseClassOffset looks at all the elements of the TStreamerInfo.
2003-07-11 19:18 rdm
* win32gdk/Module.mk:
don't call nmake when not on Windows (for distclean target).
2003-07-11 17:04 brun
* base/src/TBuffer.cxx:
Protection added in TBuffer::ReadObjectAny in case a fakeclass derives from a compiled class
or vice-versa.
The typical case is when reading a data structure containing a class
for which the shared lib is missing.
2003-07-11 15:26 rdm
* win32gdk/Module.mk:
gdk include patch was missing in compile statement.
2003-07-11 13:18 rdm
* asimage/Module.mk:
some simplifications.
2003-07-11 13:09 rdm
* win32gdk/Module.mk:
build now also gdk from source when installing win32 version.
2003-07-11 13:08 rdm
* win32gdk/gdk/src/gdk/win32/rc/: cursor00.cur, cursor02.cur,
cursor04.cur, cursor06.cur, cursor08.cur, cursor0a.cur,
cursor0c.cur, cursor0e.cur, cursor10.cur, cursor12.cur,
cursor14.cur, cursor16.cur, cursor18.cur, cursor1a.cur,
cursor1c.cur, cursor1e.cur, cursor20.cur, cursor22.cur,
cursor24.cur, cursor26.cur, cursor28.cur, cursor2a.cur,
cursor2c.cur, cursor2e.cur, cursor30.cur, cursor32.cur,
cursor34.cur, cursor36.cur, cursor38.cur, cursor3a.cur,
cursor3c.cur, cursor3e.cur, cursor40.cur, cursor42.cur,
cursor44.cur, cursor46.cur, cursor48.cur, cursor4a.cur,
cursor4c.cur, cursor4e.cur, cursor50.cur, cursor52.cur,
cursor54.cur, cursor56.cur, cursor58.cur, cursor5a.cur,
cursor5c.cur, cursor5e.cur, cursor60.cur, cursor62.cur,
cursor64.cur, cursor66.cur, cursor68.cur, cursor6a.cur,
cursor6c.cur, cursor6e.cur, cursor70.cur, cursor72.cur,
cursor74.cur, cursor76.cur, cursor78.cur, cursor7a.cur,
cursor7c.cur, cursor7e.cur, cursor80.cur, cursor82.cur,
cursor84.cur, cursor86.cur, cursor88.cur, cursor8a.cur,
cursor8c.cur, cursor8e.cur, cursor90.cur, cursor92.cur,
cursor94.cur, cursor96.cur, cursor98.cur, gdk.rc, gtk.ico:
cursors on icons needed by gdk.
2003-07-11 13:06 rdm
* win32gdk/gdk/src/gdk/win32/: gdkcc-win32.c, gdkcolor-win32.c,
gdkcursor-win32.c, gdkdnd-win32.c, gdkdrawable-win32.c,
gdkevents-win32.c, gdkfont-win32.c, gdkgc-win32.c,
gdkglobals-win32.c, gdkim-win32.c, gdkimage-win32.c,
gdkinput-win32.c, gdkinputprivate.h, gdkmain-win32.c,
gdkpixmap-win32.c, gdkprivate-win32.h, gdkproperty-win32.c,
gdkregion-win32.c, gdkselection-win32.c, gdkvisual-win32.c,
gdkwin32.h, gdkwin32id.c, gdkwindow-win32.c, makefile.cygwin,
makefile.msc, surrogate-dimm.h:
win32 specific gdk source files.
2003-07-11 13:05 rdm
* win32gdk/gdk/src/gdk/: config.h, config.h.win32, gdk.c, gdk.def,
gdk.h, gdkcc.h, gdkcolor.c, gdkcolor.h, gdkcompat.h, gdkconfig.h,
gdkconfig.h.win32, gdkcursor.c, gdkcursor.h, gdkcursors.h,
gdkdnd.h, gdkdraw.c, gdkdrawable.h, gdkevents.c, gdkevents.h,
gdkfont.c, gdkfont.h, gdkgc.c, gdkgc.h, gdkglobals.c, gdki18n.h,
gdkim.h, gdkimage.c, gdkimage.h, gdkinput.h, gdkkeysyms.h,
gdkpixmap.h, gdkprivate.h, gdkproperty.h, gdkrectangle.c,
gdkregion.h, gdkrgb.c, gdkrgb.h, gdkselection.h, gdktypes.h,
gdkvisual.h, gdkwindow.c, gdkwindow.h, makefile.cygwin,
makefile.msc, testgdk.c:
gdk source files.
2003-07-11 12:59 rdm
* win32gdk/gdk/src/glib/: acconfig.h, g_types.h, galloca.h,
garray.h, gasyncqueue.h, gbacktrace.h, gcache.h, gcompat.h,
gcompletion.h, gconvert.h, gdataset.h, gdate.h, gerror.h,
gfileutils.h, ghash.h, ghook.h, giochannel.h, glib-object.h,
glib.h, glibconfig.h, glist.h, gmacros.h, gmain.h, gmarkup.h,
gmem.h, gmessages.h, gnode.h, gprimes.h, gqsort.h, gquark.h,
gqueue.h, grand.h, grel.h, gscanner.h, gshell.h, gslist.h,
gspawn.h, gstrfuncs.h, gstring.h, gthread.h, gthreadpool.h,
gtimer.h, gtree.h, gunibreak.h, gunichartables.h, gunicode.h,
gunidecomp.h, gutils.h, gwin32.h:
glib header files needed to compile gdk.
2003-07-11 12:49 rdm
* win32gdk/gdk/lib/gdk-1.3.lib:
not needed anymore, will be build from source.
2003-07-11 12:48 rdm
* win32gdk/gdk/dll/gdk-1.3.dll:
not needed anymore, will be build from source.
2003-07-11 11:42 brun
* hist/: inc/TSpectrum.h, inc/TSpectrum2.h, src/TSpectrum.cxx,
src/TSpectrum2.cxx:
New improvmemnts in the Spectrum classes by Miro Morach.
Remove the old Smooth and Search functions. They are replaced
by the SearchHighres, SmoothHighres new functions.
2003-07-11 11:04 brun
* cont/src/TRefArray.cxx:
Implememt TRefArray::IndexOf.
As a result functions TRefArray::Remove and Compress are not operational.
Add a message in functions Sort and BinarySearch to indicate
non implemented functions.
2003-07-11 11:01 rdm
* dcache/src/TDCacheFile.cxx:
fix on string handling.
2003-07-11 10:59 rdm
* configure:
fix to detect dCache libs based on $DCACHE environment variable.
2003-07-11 10:24 brun
* histpainter/src/THistPainter.cxx:
Fix a problem in THistPainter::PaintStat and PaintStat2.
The parent of the TPaveStats was erroneously set to fFunctions
instead of the parent histogram
2003-07-10 17:58 rdm
* gui/src/TGTab.cxx:
correction in method description, by Ilka.
2003-07-10 17:37 brun
* html/src/THtml.cxx:
From Axel Naumann:
I have to apologize for introducing a stupid bug in THtml about a year
ago. Here's the fix. The bug was found by Denis Stepanov. He has also
already tested this patch successfully.
Corrects links to official root site for documentation of locally not
available root classes (removes path in front of "http[s]://").
2003-07-10 17:35 brun
* g3d/: inc/TAxis3D.h, src/TAxis3D.cxx:
Improvement in TAxis3D by Vitaly CHOUTKO.
additional members & functions such as eg
bool fStickyZoom;
bool & StickyZoom(){return fStickyZoom;}
bool & Zoom(){return fZoomMode;}
and modifiying Execute event by
changing ax->SwitchZoom();
to
if(!fStickyZoom)ax->SwitchZoom();
2003-07-10 13:20 rdm
* configure:
funny cut&paster error causing mis detection of chirp include dir.
2003-07-10 13:19 rdm
* chirp/src/TChirpFile.cxx, dcache/src/TDCacheFile.cxx:
GetName() for dCache and Chirp files now return full url that was used
in TFile::Open(). Consistent with TRFIOFile, TNetFile and TWebFile.
2003-07-10 12:53 brun
* hist/: inc/TSpectrum.h, src/TSpectrum.cxx:
Implement of new version of TSpectrum with improved algorithms
from Miroslav Morach
2003-07-10 11:55 brun
* gui/src/TGListView.cxx, hist/inc/TSpectrum.h,
hist/src/TSpectrum.cxx:
From Valeriy Onuchin
fix TGLVEntry construstor
2003-07-10 09:41 brun
* test/guitest.cxx, tutorials/guitest.C:
From Valeriy Onuchin
small fix added to TestFileList widget.
That allows to browse objects located in ROOT files.
2003-07-10 09:20 brun
* hist/src/TH1.cxx:
In the TH1 functions Add set the number of entries in the result histogram to the sum of entries
of each histogram.
In Divide and Multiply, set the number of entries to the number of entries
to the original number of entries in the input histogram.
2003-07-10 08:19 brun
* utils/src/rootcint.cxx:
From Philippe:
This patch adds some protections in case fopen fails (exit rather than core dumps).
2003-07-09 18:59 brun
* cint/src/typedef.c:
A better fix to the portability problem from Philippe
2003-07-09 18:37 brun
* cint/src/typedef.c:
Fix a portability problem on compilers other than gcc3.2
2003-07-09 14:53 brun
* cint/src/typedef.c:
From Philippe:
the typedef mechanism does not correctly work in the case where there is 'long long'
or 'long double' AND a '*' or '&'. (also 'unsigned long int' fails)
Note that it is important because it prevents the usage of any stl container of long long with gcc 3.2
Also note that G__type2string does not properly print variations (&,*,const,etc..) of long long
and long double (it always print 'long long' or 'long double' whether the type as a qualifier or not!).
2003-07-09 14:34 rdm
* gui/inc/TGListView.h, gui/inc/TGMenu.h, gui/src/TGListView.cxx,
gui/src/TGMenu.cxx, test/guitest.cxx, tutorials/guitest.C:
Some mods by Valeriy:
- new method TGLVEntry::SetSubnames added simplifies setting entry
subnames (for detail view layout)
- new method TGLVContainer::SetColHeaders added
simplifies setting column names (for detail view layout)
- minor mods in TGLVContainer class
- guitest.C/guitest.cxx
fix detail view layout in TestFileList widget
- add an example of usage of TGLVEntry::SetSubnames,TGLVcontainer::SetSubnames
methods in TestFileList widget
2003-07-09 11:58 rdm
* gui/src/TGTextEntry.cxx:
remove ifdef case for GDK_WIN32 since it works with X11 too.
2003-07-09 09:57 brun
* Makefile:
Reintroduce the previous version of the Makefile (commit error)
2003-07-09 09:30 brun
* Makefile, hist/src/TH1.cxx:
In all functions Add, Multiply, Divide, reset bit kCanRebin before
changing the bin contents, otherwise the axis may be resized when
changing the overflow bin.
2003-07-09 08:55 brun
* minuit/src/TFitter.cxx:
In H1FitLikelihood replace call to TMath::Gamma by TMath::LnGamma
(thanks Mike Kordoski)
2003-07-09 02:53 rdm
* gui/: inc/TGMenu.h, src/TGMenu.cxx:
fix some comment typos.
2003-07-08 21:42 brun
* gui/inc/TGFSContainer.h, gui/inc/TGListView.h, gui/inc/TGMenu.h,
gui/src/TGFSContainer.cxx, gui/src/TGListView.cxx,
gui/src/TGMenu.cxx, gui/src/TRootBrowser.cxx, test/guitest.cxx,
tutorials/guitest.C:
From Valery Onuchin
- I added new example to guitest which demonstrates
how to use TGFileContainer/TGContainer classes.
This example along with TestListDir example added previously
reproduces general functionality of TRootBrowser
- added new simplified constructor to TGLVEntry class
- add new method
TGMenuBar::AddPopup(const TString &s, Int_t padleft, Int_t padright,
Int_t padtop, Int_t padbottom)
which also simplifies adding of popup-menus
- mods in TGFSContainer.h which allow to make #include <TGFSContainer.h>
during ROOT session
2003-07-08 18:41 rdm
* asimage/src/libAfterImage.tar.gz:
new version that also compiles on MacOS X.
2003-07-08 18:39 rdm
* asimage/: Module.mk, src/TASPaletteEditor.cxx:
run ranlib on libAfterImage.a on MacOS X, remove two unused variables
in TASPaletteEditor.
2003-07-08 18:21 brun
* hist/inc/TH1.h:
Declare function SetTitle with *MENU*
2003-07-08 17:42 rdm
* configure, base/inc/TVirtualX.h, base/src/TApplication.cxx,
config/Makefile.in, config/rootrc.in, gpad/inc/TCanvas.h,
gpad/src/TCanvas.cxx, gpad/src/TPad.cxx:
mods needed by Valeri to support his TGQt class.
2003-07-08 17:37 rdm
* configure:
fix for MacOS X, detect auxiliary graphics libs in fink /sw directory.
2003-07-08 16:46 rdm
* Makefile:
fix a problem for the install target on Win32.
2003-07-08 12:02 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
Add protections in destructors and Streamer functions in case
one reads corrupted info from a file.
2003-07-08 11:47 rdm
* base/src/TEnv.cxx:
changed resources are saved to the level that is first called, e.g.:
gEnv->SetValue("Gui.ForegroundColor=grey")
gEnv->SaveLevel(kEnvUser)
saves this resource in the ~/.rootrc file. Saving to kEnvLocal would
write to the file ./.rootrc and to kEnvGlobal to $ROOTSYS/etc/system.rootrc
(when the user has the permission).
2003-07-08 09:26 brun
* hist/src/: TFormula.cxx, TH1.cxx:
Add more comments about the special functions "gaus","expo","polN","landau"
indicating in which case the initial values of parameters must be given.
2003-07-08 08:57 brun
* hist/src/TH1.cxx:
Protect TH1::Fit in case of a Zombie function
2003-07-08 08:56 brun
* hist/src/: TF1.cxx, TF2.cxx, TF3.cxx:
Add protections in the constructors with a formula in case the dimension
of the formula does not match the class. The object is declared Zombie.
2003-07-07 23:25 brun
* html/src/THtml.cxx:
From Axel Naumann
here's a fix suggested by Denis for THtml and charsets. Currently, THtml
generates the meta tag content-type charset ISO-8859-1 (the HTML 4.01
default charset). This is obviously not always correct. THtml now has a
new env var, Root.Html.Charset, which allows the user to set the name of
the HTML character set.
2003-07-07 23:18 brun
* geompainter/src/TGeoTrack.cxx:
Fix format in argument comment
2003-07-07 23:16 brun
* geom/inc/TVirtualGeoTrack.h:
Fix wrong format in argument comment
2003-07-07 23:08 brun
* tree/: inc/TTree.h, src/TChain.cxx:
From Philippe;
This patch adds support in the new tree cloning scheme for
TTree *clone = chain->GetTree()->CloneTree(0);
If chain is really a TChain, need to make sure that it keeps track of the clones even when the tree that was
actually cloned is deleted by LoadTree.
2003-07-07 23:04 brun
* geom/inc/TVirtualGeoPainter.h:
Fix compiler warnings
2003-07-07 22:52 brun
* hist/src/TH3.cxx:
Fix a bug/typo in TH3S::Copy
2003-07-07 22:14 brun
* graf/src/TGraph.cxx:
Fix a problem in TGraph::paint when painting a graph with option "C"
and one or more points are outside the range. The best algorithm
is to let the new clipping algorithm do its work.
2003-07-07 21:34 brun
* treeplayer/: inc/TTreeFormula.h, src/TTreeFormula.cxx:
From Philippe:
This patch implements support in TTreeFormula for arrays inside array of objects.
2003-07-07 18:55 brun
* tutorials/threads.C:
Add new tutorial threads.C illustrating the use of the Thread classes.
2003-07-07 18:14 brun
* g3d/src/: THelix.cxx, TPolyLine3D.cxx:
Fix in THelix copy constructor (thanks Vitaly Choutko).
The pointer fRotMat must be set to 0.
In TPolyLine3D (base class of THelix), replace call to Copy by TPolyLine3D::Copy
to avoid calling THelix::Copy. Same in THelix copy constructor.
2003-07-07 16:51 rdm
* base/src/TApplication.cxx:
only load the libX11TTF plugin when X11 is the current graphics driver.
This avoids loading X11TTF driver in case of Qt driver.
2003-07-07 16:50 rdm
* configure, asimage/Module.mk, config/Makefile.depend,
config/Makefile.in, thread/Module.mk:
- pass location for auxiliary graphics lib includes (jpeg, png, tiff, gif)
to the libAfterImage configure script. One can now put jpeglib.h or other
includes in a $ASIMAGE directory and have them found by the libAfterImage
configure script.
- auxiliary graphics libs are now either shared or static depending on the
--enable-shared/--disbale-shared flag of configure.
- on win32gcc enable always thread support, make thread lib dependent on
libGpad.
2003-07-06 21:44 brun
* tree/src/TChain.cxx:
remove unused variable treeNumber
2003-07-06 21:41 brun
* test/stress.cxx, tree/src/TChain.cxx, tree/src/TTree.cxx,
treeplayer/src/TTreePlayer.cxx:
From Philippe:
This patch comments the fact after TTree::CloneTree and until the original is deleted, the addresses of the original
are passed on to all the clones. Also the addresses of the clones are reset when the original is deleted.
This patch also simplify the implementation of TChain::Merge to take advantage of the new TTree::CloneTree feature.
2003-07-06 21:40 brun
* hist/src/TFormula.cxx:
From Philippe:
This patches re-enable the proper parsing of string containing an open paranthesis but missing the close paranthesis:
f = new TFormula("f2","strstr("af(d+gd","+2")");
2003-07-06 01:02 rdm
* configure, asimage/Module.mk, config/Makefile.depend,
config/Makefile.win32gcc:
fix the -lz missing problem, add libASImage dependencies to
config/Makefile.depend and remove the from Makefile.win32gcc.
2003-07-05 23:39 brun
* config/Makefile.win32gcc:
Add ASEXTRALIB.
With this change libASImage is correctly created on win32gcc
2003-07-05 22:44 brun
* treeplayer/src/TTreeFormula.cxx:
Remove an unreachable statement
2003-07-05 22:42 brun
* geompainter/src/TGeoOverlap.cxx:
Remove an unreachable statement
2003-07-05 22:41 brun
* fumili/src/TFumili.cxx:
Remove unused variable NA
2003-07-05 22:37 brun
* x3d/src/x3d.c:
Remove unused variable yRange
2003-07-05 20:18 brun
* proof/src/TCondor.cxx:
Change local variable "mips" to "amips".
mips is a reserved keyword on SGI !
2003-07-05 19:47 brun
* asimage/src/TASPaletteEditor.cxx:
Fix for hp-ux. Loop index pt defined multiple times
2003-07-05 18:20 rdm
* configure, asimage/Module.mk, config/Makefile.in:
some simplifications in the libAfterImage build.
2003-07-05 02:23 rdm
* asimage/Module.mk:
some more fine tuning of the build process.
2003-07-05 01:13 rdm
* asimage/Module.mk:
fix a problem in the embedded shell script for compiling libAfterImage
with gcc.
2003-07-04 19:26 rdm
* Makefile, configure, asimage/Module.mk, asimage/src/.cvsignore,
asimage/src/libAfterImage.tar.gz, config/Makefile.in:
install libAfterImage during the ROOT install process. The library will
be named $ROOTSYS/lib/libRAfterImage.so to avoid confusion with any possible
other libAfterImage libs. Tested on linux and linuxicc. Other test follow
very soon. Can de disabled using ./configure <arch> --disable-asimage. Will
be permanently disabled for the platforms with problems once we discovered
them all in configure.
2003-07-04 18:16 brun
* tree/src/TBranch.cxx:
Fix a compiler warning (error on hp-ux)
2003-07-04 15:27 brun
* tree/inc/TBranch.h, tree/inc/TBranchElement.h, tree/inc/TTree.h,
tree/src/TBranch.cxx, tree/src/TBranchElement.cxx,
tree/src/TChain.cxx, tree/src/TTree.cxx,
treeplayer/src/TTreePlayer.cxx:
From Philippe:
This update remove the need to set the addresses before calling CloneTree or CopyTree. This is accomplished by
- making sure that default addresses are created before passing it to the clone.
- keep a list of cloned trees and inform them when an address change.
Also hard to trace memory errors due to the 'link' between the original and the cloned tree are removed by
making the original reset all the addresses of the cloned tree whenever the original tree/chain is deleted.
2003-07-04 15:26 rdm
* net/src/TUrl.cxx:
in GetUrl() also add port number in case of non-predefined protocols and
port is not 0.
2003-07-04 15:05 brun
* base/: inc/TMath.h, src/TMath.cxx:
Add an optional argument to TMath::Gaus to normalize the result to sqrt(2*pi)*sigma
2003-07-04 14:42 rdm
* cint/Module.mk:
longif3 was referenced twice in the link statement.
2003-07-04 12:55 rdm
* base/inc/TSystemDirectory.h:
make datamembers protected.
2003-07-04 10:48 rdm
* gui/: inc/TGDoubleSlider.h, src/TGDoubleSlider.cxx:
fix to avoid floating point exception when drawing double sliders with
equal upper and lower boundaries. By Brett Viren.
2003-07-04 10:47 rdm
* cint/: inc/longif.h, inc/longif3.h, Module.mk, src/longif.cxx,
src/longif3.cxx:
Longif3 is used for long long support for systems with templated iostream
(gcc 3, icc, ecc, ...) and previous longif is used for older compilers.
2003-07-03 19:22 brun
* cint/: inc/longif.h, src/longif.cxx:
New version of longig.h, longif.cxx for templated iostream library.
This version should solve many of the observed iostream problems.
2003-07-03 15:00 rdm
* base/src/TSystem.cxx, unix/src/TUnixSystem.cxx,
winnt/src/TWinNTSystem.cxx:
recursice mkdir() returns some return value as non-recursive in case directory
already exists.
2003-07-03 14:59 rdm
* rfio/src/TRFIOFile.cxx:
AccessPathName() was broken.
2003-07-03 13:46 rdm
* base/src/TFile.cxx:
correct comment on location of uuid in header. The UUID in the file header
contains 18 bytes (2 bytes for version + 16 bytes for the UUID) and not 17.
2003-07-03 13:41 rdm
* test/guitest.cxx, tutorials/guitest.C:
show ROOT files in the directory browser example. By Valeriy.
2003-07-02 23:18 brun
* hist/: inc/LinkDef.h, inc/TH1.h, inc/TH2.h, inc/TH3.h,
src/TH1.cxx, src/TH2.cxx, src/TH3.cxx:
Implement new classes TH1I, TH2I, TH3I (32 bit integer per bin).
The advantage of TH1I compared to TH1F is that it provides 9 significative
digits instead of less than 7.
2003-07-02 22:04 brun
* g3d/src/: TPolyLine3D.cxx, TPolyMarker3D.cxx:
In the TPolyLine3D and TPolyMarker3D copy constructors, set fP=0
before calling the Copy function (thanks Vitaly Choutko)
2003-07-02 13:53 rdm
* base/src/TDatime.cxx:
convertion to UTC did not take correctly the DST into account. Fix by Damir.
2003-07-02 13:40 rdm
* test/guitest.cxx, tutorials/guitest.C:
added example of TGListTree showing how to browse the file system. By Valeriy.
2003-07-01 16:18 rdm
* proof/src/: TProof.cxx, TProofServ.cxx:
when enabling a package create a link to it in the sandbox and add a
-I<packagedir> to the CINT include path used by ACliC.
2003-07-01 13:40 rdm
* gui/src/TGListTree.cxx:
small mod in OpenItem() and CloseItem() by Valeriy.
2003-07-01 13:39 rdm
* base/: inc/TSystemDirectory.h, inc/TSystemFile.h,
src/TSystemDirectory.cxx, src/TSystemFile.cxx:
added method IsDirectory() in TSystemFile. By Valeriy.
2003-06-30 17:45 brun
* hist/inc/TF1.h, hist/inc/TF2.h, hist/inc/TF3.h,
hist/inc/TFormula.h, hist/src/TF1.cxx, hist/src/TF2.cxx,
hist/src/TF3.cxx, hist/src/TFormula.cxx, test/dt_DrawTest.C,
test/dt_MakeRef.C, tree/inc/TChain.h, tree/inc/TTree.h,
tree/src/TChain.cxx, tree/src/TTree.cxx,
treeplayer/inc/TTreeFormula.h, treeplayer/src/TTreeFormula.cxx,
treeplayer/src/TTreeFormulaManager.cxx:
From Philippe:
The following patch implements TTree variable alias.
To use them:
mytree->SetAlias("mult","fPx*fPy");
mytree->Draw("mult");
Note that the aliases have been added to the TTree object so that they can be persistent (with the tree) if you choose.
Also note that the alias are not checked for validity until they are used in a Draw or Scan command.
Existing alias are silently replaced.
The new functions are:
TTree::SetAlias
TTree::GetAlias
TChain::GetAlias
TTree::GetListOfAliases
This patch also adds operator= for TFormula, TF1, TF2, TF3 (it calls the respective Copy member functions). It makes TTreeFormula::operator= private (Copy has not been implemented yet).
Also some of the TFormula and TTreeFormula codes (those stored in fOper) has been aliased to enums (this renders the code is little bit more readable and searchable).
TFormula and TTreeFormula have been updated to handle strings in a more flexible (and for TTreeFormula to be able to return them).
2003-06-30 14:12 brun
* base/src/TDirectory.cxx:
Change TDirectory::ReadKeys to test if the pointer to the key is greater
than the real file size instead of fEND. This solves a problem in systems
updating a file while another process is reading the file.
2003-06-30 12:07 rdm
* tree/: inc/TSelector.h, inc/TSelectorCint.h,
src/TSelectorCint.cxx:
for consistency use Int_t instead of int in Process() arguments. In the
future this should become Long64_t to be inline with the rest of PROOF.
2003-06-30 11:54 brun
* base/src/Stringio.cxx:
From Maurik Holtrop:
I am having a little difficulty with the ROOT stringio on a RedHat 9
system. I traced this down to a fairly subtle change in the behavior of
the compiler (or libc++, can't tell which.)
I attach 4 files. A root macro simply opens the file tmp.txt and reads
it line by line into a TString. It runs fine on a RedHat 7.3 system, but
dies on a RH9 system (using g++3.2.2 or an RH8 system (using g++3.2). I
I rewrote the macro in standard C++, once using "istream.get
done in stringio and once using "istream.getline
only works on RH7.3, the second version works on all 3 systems (RH7.3,
RH8, RH9).
The following modification to Streamio.cxx seems to fix the problem:
2003-06-30 11:21 brun
* graf/: inc/LinkDef1.h, inc/TGraphBentErrors.h,
src/TGraphBentErrors.cxx:
Add new class (from Dave Morrison) to draw graphs with bent asymmetric errors.
2003-06-30 11:16 brun
* tutorials/bent.C:
Add new tutorial illustrating the use of the new class TGraphBentError by Dave Morrison
2003-06-30 11:03 brun
* hist/src/TH1.cxx:
Fix a warning woth gcc3.2
2003-06-30 10:52 brun
* tutorials/geoshapes.C:
New tutorial by Mihaela Gheata illustrating the use of the TGeo shapes.
2003-06-30 10:44 brun
* hist/src/TH1.cxx:
protect TH1::RebinAxis in case the function is called with an infinite argument.
2003-06-30 00:42 rdm
* base/: inc/TSystem.h, src/TSystem.cxx:
add two little service methods: AddIncludePath() and AddLinkedLibs(). These
are a shortcut for GetIncludePath() + add path + SetIncludePath().
2003-06-30 00:20 brun
* geom/src/TGeoManager.cxx:
From Andrei:
During some CVS update, a change in TGeoManager::Matrix() which was registering the
rotation to the manager class was lost.
Without this fix no geometry having rotations can work when
defined #WITHROOT.
2003-06-29 19:01 rdm
* cint/: inc/Apiif.h, inc/G__ci.h, inc/vc7strm.h,
lib/dll_stl/dqu.h, lib/dll_stl/lst.h, lib/dll_stl/mp.h,
lib/dll_stl/multst.h, lib/dll_stl/st.h, lib/dll_stl/vec.h,
lib/vc7strm/Makefile, lib/vc7strm/iostrm.h, src/Apiif.cxx,
src/func.c, src/ifunc.c, src/shl.c, src/vc7strm.cxx:
import of CINT 5.15.93.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-06-29 17:44 rdm
* config/rootrc.in:
fix in format for TProofProgressDialog plugin.
2003-06-27 13:02 rdm
* base/inc/TVirtualProof.h, proof/inc/LinkDef.h,
proof/inc/TCondor.h, proof/inc/TProof.h, proof/inc/TProofServ.h,
proof/src/TCondor.cxx, proof/src/TProof.cxx,
proof/src/TProofPlayer.cxx, proof/src/TProofServ.cxx,
config/rootrc.in, tree/src/TDSet.cxx,
treeplayer/src/TTreePlayer.cxx:
several PROOF bug fixes and a new TCondor interface to start and control
the PROOF master and slave servers in a CONDOR pool. By Maarten.
2003-06-27 12:25 rdm
* gui/inc/TGCanvas.h:
added virtual void SetMapSubwindows(Bool_t on) to TGContainer.
2003-06-26 19:44 rdm
* hist/src/TFormula.cxx:
add protection against expression=0. Some typo corrections in comments.
2003-06-26 15:53 rdm
* base/src/TFile.cxx, net/src/TSQLServer.cxx:
make sure that TSQLServer::Connect() return 0 in case of an connection error.
Added extra check in TFile::Open() for the same case.
2003-06-26 10:55 brun
* tree/src/: TNtuple.cxx, TNtupleD.cxx:
Replace include of fstream by Riostream.h
2003-06-25 22:30 brun
* cint/inc/Class.h, cint/src/Class.cxx, meta/src/TClass.cxx:
From Philippe:
This patch removes the direct access to a CINT global variable to (re)enable compilation on Windows.
2003-06-25 20:07 rdm
* meta/src/TClass.cxx:
fix typo in comment.
2003-06-25 20:06 rdm
* base/inc/TROOT.h, base/src/TROOT.cxx, meta/inc/LinkDef.h,
meta/inc/TClassGenerator.h, meta/src/TClassGenerator.cxx:
don't yet use namespace ROOT for public classes and interfaces. Will
be done consistently over the whole system at some time in the future.
2003-06-25 17:48 rdm
* Makefile:
fix "make install" for macosx (was broken by fix for win32gcc).
2003-06-25 17:35 brun
* base/src/TBuffer.cxx, base/src/TKey.cxx, meta/inc/TClass.h,
meta/src/TClass.cxx:
From Philippe:
This patch introduces TClass::HasDefaultConstructor which return true if a default constructor is available through fNew OR through the interpreter. This will avoid an erroneous message when the class dictionary has
not been generated by rootcint.
2003-06-25 17:12 brun
* meta/: inc/TClassGenerator.h, src/TClassGenerator.cxx:
From Philippe; the new class used by TROOT
2003-06-25 16:34 brun
* base/inc/TROOT.h, base/src/TROOT.cxx, meta/inc/LinkDef.h:
From Philippe:
Addition of a new function TROOT::AddClassGenerator(ROOT::TClassGenerator *)
Where all ROOT::TClassGenerator that have registered will be called (in order)
when the usual TROOT::GetClass fails.
2003-06-25 16:30 brun
* geom/src/TGeoMatrix.cxx:
From Andrei:
Fix in TGeoCombiTrans that produced a segv when rotation
was not defined.
2003-06-25 16:30 brun
* geom/src/TGeoManager.cxx:
From Andrei:
Fix in TGeoManager::SetVolumeAttributes() to support option "*"
2003-06-25 16:27 brun
* utils/src/rootcint.cxx:
From Philippe:
This patch adds support for the .c++ extension for the dictionary name.
2003-06-25 15:39 brun
* tree/: inc/TNtuple.h, inc/TNtupleD.h, src/TNtuple.cxx,
src/TNtupleD.cxx:
Add new function ReadFile in TNtuple and TNtupleD
Int_t TNtuple::ReadFile(const char *filename)
{
// read from filename as many columns as variables in the ntuple
// the function returns the number of rows found in the file
2003-06-25 14:25 brun
* cint/Module.mk:
Revert to vcstrm instead of vc7strm. Problem reported to Masa
2003-06-25 09:16 brun
* tree/src/TBranchElement.cxx, treeplayer/src/TTreeFormula.cxx:
Fix by Victor:
TStreamerInfo::GetElems() returns array of pointers to TStreamerElements
TBranchElement::GetID() returns index in this array.
It is OK.
But in files TTreeFormula.cxx and TBranchElement.cxx this index is used for the list
provided by TStreamerInfo::GetElements()
Generally these lists are different, but often the same.
In our case these lists are different because of TClass::IgnoreTObjectStreamer() method used
In GetElements() TObject element exists but
in GetElems() NOT.
2003-06-25 07:49 brun
* base/inc/TSystem.h, base/src/TSystem.cxx,
build/win/compiledata.sh, winnt/inc/TWinNTSystem.h,
winnt/src/TWinNTSystem.cxx:
From Philippe:
The following patch repairs ACLiC on windows. In particular, it allows to build scripts that are on disk which is not
the current disk and/or to use a build dir on a different disk (actually, it also repairs SetBuildDir in the usual
case).
In more details:
ACLiC has been updated to take in consideration DirName's behavior on windows, to support the proper concatenation of
full pathname on windows (by removing the drive letter on the right side).
TSystem::mkdir is made virtual to allow a windows specific repair to be made. In TSystem::mkdir avoid an infinite
recursion is the parameter is an empty string.
TWinNTSystem::mkdir is similar to TSystem::mkdir except that it takes in consideration that TWinNTSystem::DirName
strips the drive letter from the path name (hence we have to add it back before making the directory).
TWinNTSystem::MakeDirectory has been updated to take in consideration the fact that windows (short) file name can
contains tildas (~) following by a number AND that the function called to expand the shell variables
(ExpandEnvironmentStrings) replaces tildas by the cygwin home directory!
2003-06-24 16:00 brun
* tree/: inc/TChain.h, src/TChain.cxx:
Move TChain::GetFile to the implementation file.
In case no file is connected, GetFile automatically loads the first file.
2003-06-24 15:41 rdm
* gui/: inc/TGCanvas.h, inc/TGToolBar.h, src/TGFrame.cxx,
src/TGToolBar.cxx:
fix some small typos in comments.
2003-06-24 14:55 brun
* Makefile:
Introduce previous version of makefile. Not yet read to introduce the
new vmc directory.
2003-06-24 14:45 rdm
* config/: Makefile.win32, Makefile.win32gdk:
correctly get VC_MAJOR and VC_MINOR.
2003-06-24 14:37 brun
* Makefile, geom/inc/TGeoManager.h, geom/src/TGeoCache.cxx,
geom/src/TGeoManager.cxx:
Fix by Andrei in case a point is pushed/popped outside the detector
2003-06-24 10:29 brun
* minuit/src/TMinuit.cxx:
Fix another html bad construct in the TMinuit documentation.
2003-06-24 00:18 rdm
* base/src/TROOT.cxx, cont/inc/LinkDef.h, cont/inc/TMap.h,
cont/src/TClassTable.cxx, cont/src/TMap.cxx,
gui/src/TGButtonGroup.cxx:
new method TMap::GetTable() to get const access to the hashtable containing
the (key,value) pairs. Using the pointer to this table one can easily
iterate over the TPairs stored in the table. Changed the internal TPair
class to TPair to be more inline with STL naming. Provide simple TPair
typedef for backward compatibility.
2003-06-23 22:37 brun
* hist/src/TConfidenceLevel.cxx:
Fix problem reported by hp-ux/aCC
2003-06-23 22:23 brun
* tree/src/TBranchElement.cxx:
Fix a compiler warning on alpha/cxx with an assert statement.
2003-06-23 21:51 brun
* build/unix/compiledata.sh:
Fix by Axel to make ACLIC operational with win32gcc
2003-06-23 21:48 rdm
* cint/: Module.mk, inc/G__ci.h, inc/longif.h, inc/vc7strm.h,
lib/gl/GL.h, lib/gl/setup, lib/longlong/longlong.h,
lib/vc7strm/Makefile, lib/vc7strm/README.txt, lib/vc7strm/fstrm.h,
lib/vc7strm/iostrm.h, lib/vc7strm/linkdef.h, lib/vc7strm/sstrm.h,
src/Method.cxx, src/ifunc.c, src/inherit.c, src/pcode.c, src/var.c,
src/vc7strm.cxx:
import of CINT 5.15.92.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-06-23 21:45 rdm
* cint/src/strtoll.c:
now incorporated in longif.cxx.
2003-06-23 17:36 brun
* minuit/src/TMinuit.cxx:
Fix typos in html comments
2003-06-23 17:19 brun
* meta/src/TClass.cxx:
Fix by Philippe for a problem reported by Benoit Revenu
The problem was that due to an omission in the code, operator<< (or more exactly
TClass::Streamer) was callable only with one TBuffer instance for instrumented
classes not inheriting from TObject per run. (i.e. it was remembering its arguments
at the first call and was using it for ALL subsequent calls).
2003-06-23 14:31 brun
* geom/: inc/TVirtualGeoPainter.h, src/TGeoManager.cxx,
src/TGeoMatrix.cxx:
Fix some compiler warnings with icc.
2003-06-23 12:35 rdm
* config/: Makefile.linuxia64ecc, Makefile.linuxicc:
add support for Intel compilers version 8, currently in beta.
2003-06-23 10:04 brun
* cont/src/TSeqCollection.cxx:
Add a LOCKGUARD in the TSeqCollection::Sort functions.
2003-06-23 09:13 brun
* cont/: inc/LinkDef.h, inc/TExMap.h, src/TExMap.cxx:
Implement the Streamer function to make TExMap persistent.
2003-06-23 08:17 brun
* tutorials/limit.C:
Add an example of the new function TConfidence::Draw
2003-06-23 08:11 brun
* hist/: inc/TConfidenceLevel.h, src/TConfidenceLevel.cxx:
dd a new function TConfidenceLevel::Draw suggested by Christophe Delaere.
// Display sort of a "canonical" -2lnQ plot.
// This results in a plot with 2 elements:
// - The histogram of -2lnQ for background hypothesis (full)
// - The histogram of -2lnQ for signal and background hypothesis (dashed)
// The 2 histograms are respectively named b_hist and sb_hist.
2003-06-22 15:51 brun
* test/stress.cxx:
Use TProfile::Approximate in stress16.
2003-06-22 15:34 brun
* hist/: inc/TProfile.h, src/TProfile.cxx:
Add a new static function
void TProfile::Approximate(Bool_t approx=kTRUE);
When the flag is true, the function GetBinError will approximate the bin error
with the average profile error on all bins in the following situation only:
- the number of bins in the profile is less than 1002
- the number of entries in the bin is small (<5)
- the estimated bin error is extremely small compared to the bin content.
By default GetBinError does not make this approximation.
2003-06-21 15:27 brun
* hist/src/TFormula.cxx, treeplayer/src/TTreeFormula.cxx:
Forgot one correction in previous fix (thanks Stanislav Nesterov)
2003-06-21 12:47 brun
* hist/src/TFormula.cxx, treeplayer/src/TTreeFormula.cxx:
In the Eval functions change maximum exponent value for the exp function
from 70 to 700.
2003-06-21 08:07 brun
* meta/src/TClass.cxx, meta/src/TStreamerInfo.cxx,
tree/inc/TBranchElement.h, tree/src/TBranchElement.cxx:
From Philippe:
The following patch solves aproblem reported by Otto Schaile in tutorial clonesA_Event.C
by modifying TBranchElement::SetAddress so that it properly increments the object
or offset when the branch hierarchy does not contain a branch for the (sub)object itself
and leaves the object or offset
alone if the branch hiearchy does contain a branch for the (sub)object itself.
2003-06-20 19:54 rdm
* proofd/src/proofd.cxx:
add new option -f to start proofd in the foreground. Needed for startup
by Condor's computing on demand. By Maarten.
2003-06-20 19:53 rdm
* proof/src/TProofServ.cxx:
move to an existing directory before exiting.
2003-06-19 12:21 rdm
* unix/src/TUnixSystem.cxx:
disable FPE for linux ppc for the time being.
2003-06-19 11:49 rdm
* configure:
mysql on win32gcc also needs to be linked with libz. By Axel.
2003-06-19 09:05 brun
* hist/src/TH3.cxx:
In TH3::Project3D take into account underflows/overflows when generating
the projection.
2003-06-18 18:48 brun
* hist/inc/TFormula.h:
Remove the qualifier TFormul:: from the definition of GetExpFormula
2003-06-18 17:28 brun
* histpainter/src/THistPainter.cxx:
From Olivier;
The option Z (palette drawing) now works with CONT1.
2003-06-18 13:31 rdm
* unix/src/TUnixSystem.cxx:
fix typo for FPE handling in Mac OS X case: Ulong64_t -> Long64_t.
2003-06-18 13:28 rdm
* winnt/: inc/TWinNTSystem.h, src/TWinNTSystem.cxx:
add Floating Point Exception handling. By Bertrand.
2003-06-18 13:28 rdm
* meta/src/TMethodCall.cxx:
remove compiler warning: in copy ctor call explicitely the base class copy ctor.
2003-06-18 07:04 brun
* hist/src/TH1.cxx:
Fix in TH1::Eval when evaluating the error for a given value of the function.
(thanks to Chris Polly)
2003-06-17 23:05 brun
* unix/src/TUnixSystem.cxx:
Do not include the Floating Point Exception include files on WINGCC
2003-06-17 22:11 brun
* README/CREDITS:
Add Pierre-Luc Drouin for his contribution to TFormula
2003-06-17 22:07 brun
* hist/: inc/TFormula.h, src/TFormula.cxx:
From Pierre-Luc Drouin
Add two new functions in TFormula allowing to rebuild the full function string
using the internal arrays fExpr and fOper.
virtual TString TFormula::GetExpFormula() const;
Int_t GetOperType(Int_t oper) const;
Fix from Pierre-Luc in case of a TFormula referencing another TFormula. fExpr
did not match the info in fOper in this case.
2003-06-17 21:48 brun
* geompainter/inc/TGeoChecker.h:
Comment declaration of unused function ShowPoints
2003-06-17 21:46 brun
* geom/inc/TVirtualGeoTrack.h:
Fix a badly formatted comment
2003-06-17 18:45 brun
* test/stress.cxx:
In stress2, change the reference file length from 8900 to 9102
2003-06-17 17:24 brun
* meta/src/TCint.cxx:
Fix a compilation error on hp-ux/acc (Philippe)
2003-06-17 17:20 rdm
* proof/src/TProof.cxx:
correction in description of package manager.
2003-06-17 17:19 rdm
* base/inc/LinkDef2.h, base/inc/TSystem.h, base/src/TSystem.cxx,
unix/inc/TUnixSystem.h, unix/src/TUnixSystem.cxx:
two new methods:
Int_t GetFPEMask();
Int_t SetFPEMask(Int_t mask = kDefaultMask);
to get and set the Floating Point Exceptions control. Implementations for
Linux (Maarten) and Mac OS X (Federico).
2003-06-17 16:37 rdm
* config/root-config.in:
on Mac OS X explicitely make the libTree dictionary setup function
undefined to force the loading of libTree.
2003-06-17 11:13 brun
* geom/inc/TGeoBoolNode.h, geom/inc/TGeoCache.h,
geom/inc/TGeoCompositeShape.h, geom/inc/TGeoManager.h,
geom/inc/TGeoMatrix.h, geom/inc/TGeoNode.h, geom/inc/TGeoPgon.h,
geom/inc/TGeoShape.h, geom/inc/TGeoVolume.h,
geom/inc/TVirtualGeoTrack.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoCache.cxx,
geom/src/TGeoCompositeShape.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoEltu.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoMatrix.cxx, geom/src/TGeoNode.cxx,
geom/src/TGeoPara.cxx, geom/src/TGeoPatternFinder.cxx,
geom/src/TGeoPcon.cxx, geom/src/TGeoPgon.cxx,
geom/src/TGeoShape.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTrd1.cxx, geom/src/TGeoTrd2.cxx,
geom/src/TGeoTube.cxx, geom/src/TGeoVolume.cxx,
geompainter/inc/TGeoChecker.h, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoPainter.cxx, geompainter/src/TGeoTrack.cxx:
New version of the geometry package from Andrei/Mihaela
TGeoArb8 - pictures added
TGeoBBox - doc, pictures
TGeoCache - id array for physical nodes
TGeoCompositeShape - doc added
TGeoCone - pictures, bug fiz in Z divisions, correction in 'safety'
TGeoEltu - pict. added
TGeoManager - registration of matrices, unique volume id's
TGeoMatrix - copy ctors., = and * operators, improvements, extensive doc.
TGeoNode - doc added
TGeoPara - pictures
TGeoPatternFinder - registration of pattern matrices
TGeoPcon - fix in Z divisions, fix in 'safety', pictures
TGeoPgon - same as Pcon
TGeoShape - doc added
TGeoSphere, Trd1,2, Tube - pictures added
TGeoVolume - doc updated
TGeoChecker - doc., improvement of extrusions checker by Mihaela
TGeoPainter - does not create polygons array in X3dBuffers when drawing
in pad
TGeoTrack - compilation warnings fixed
2003-06-17 10:40 brun
* gpad/src/TPad.cxx:
Fix by Andrei in TPad::ResizePad() to correctly update the view window when geometry is
drawn in a subpad.
2003-06-17 09:03 brun
* cont/src/TClonesArray.cxx:
In TClonesArray::Clear add a protection in case option is null
2003-06-14 06:56 brun
* hist/src/TH3.cxx:
Bug fixed in TH3::BufferFill (thanks to Salvatore Rapppocio).
The element y was filled twice instead of z.
2003-06-13 18:21 rdm
* meta/: inc/TFunction.h, inc/TMethod.h, inc/TMethodCall.h,
src/TFunction.cxx, src/TMethod.cxx, src/TMethodCall.cxx:
fix some memory leaks in the assignment operators.
2003-06-13 17:57 brun
* base/src/TMath.cxx:
Implement a suggestion from Sylwester Radomski in TMath::Poisson
The function TMath::Poisson(x, par) do not return correct value
for x = 0.
In the code of TMath it is: if (x<=0) return 0;
For x=0 the function shall return exp(-par).
2003-06-13 17:12 rdm
* test/guitest.cxx, tutorials/guitest.C:
fix small typo in menu hierarchy.
2003-06-13 16:21 brun
* meta/: inc/TMethod.h, inc/TMethodCall.h, src/TMethod.cxx,
src/TMethodCall.cxx:
From Philippe:
TMethod, TMethodCall and TFunction were made (correctly) duplicable.
2003-06-13 08:55 brun
* meta/src/TFunction.cxx:
iFrom Philippe
new constructors/operators added
2003-06-13 08:25 brun
* test/: dt_DrawTest.C, dt_MakeRef.C, dt_Makefile:
From Philippe:
DrawTest was updated to test calling a global function.
2003-06-13 08:25 brun
* meta/inc/TFunction.h:
From Philippe:
Add new methods:
TFunction(const TFunction&);
TFunction& operator=(const TFunction&);
virtual TObject *Clone(const char *newname="") const;
2003-06-13 08:19 brun
* treeplayer/src/TSelectorDraw.cxx:
From Philippe:
TSelectorDraw was fixed to distinguish the scope operator and it's own variable separator.
2003-06-13 08:19 brun
* hist/inc/TFormula.h, hist/src/TFormula.cxx,
treeplayer/src/TTreeFormula.cxx:
From Philippe:
This implements the ability for TFormula, TFx and TTreeFormula to call global function and static member functions that
take numericals arguments and returns numerical arguments.
For example:
T->Draw("TMath::BreitWigner(fPx)");
or
T->Draw("MyInterpretedFunction(fPx)");
or
TF1 *f = new TF1("f1","TMath::BreitWigner(fPx.[0],[1])");
myhist->Fit(f);
2003-06-13 08:17 brun
* meta/inc/TInterpreter.h:
From Philippe;
TInterpreter::GetMangledName and TInterpreter::GetMangledNameWithPrototype were added to be able to distinguish
interpreted function (used in TROOT).
2003-06-13 08:16 brun
* meta/: inc/TCint.h, src/TCint.cxx:
From Philippe:
TInterpreter::GetMangledName and TInterpreter::GetMangledNameWithPrototype were added to be able to distinguish
interpreted function (used in TROOT).
2003-06-13 08:14 brun
* cint/src/Method.cxx:
From Philippe:
bug fix for G__Method when the method has not formal parameter name.
2003-06-13 08:14 brun
* base/src/TROOT.cxx:
From Philippe:
this patch repairs TROOT::GetListOfGlobalFunctions,
TROOT::GetGlobalFunctions and TROOT::GetGlobalFunctionsWithPrototypes which were totally broken.
TROOT::GetListOfGlobalFunctions was not allowing function overloading. TROOT::GetGlobalFunctions and
TROOT::GetGlobalFunctionsWithPrototype were always returning
the same functions no matter what.
2003-06-12 08:46 brun
* base/src/TFile.cxx:
In the TFile destructor, remove the TProcessUUID from the global list
to avoid a small memory leak in case many files are created in the same session.
2003-06-12 07:34 rdm
* proof/src/: TPacketizer2.cxx, TProof.cxx, TProofPlayer.cxx,
TProofServ.cxx:
changing some event related counters and Info(0 statements from Long_t
to Long64_t. By
2003-06-11 18:57 brun
* base/src/TBuffer.cxx:
In TBuffer::ReadObjectAny return a null pointer when reaching the error case"
"ReadObject", "got object of wrong class"
This improve the error recovery when reading an object deeply nested in a collection.
2003-06-11 18:09 brun
* base/src/TROOT.cxx:
Fix by Philippe preventing the creation of a TClass object for long long
2003-06-11 07:19 brun
* hist/src/TFormula.cxx:
From Philippe,
This patch makes the token '"' to have precedence over all other tokens (previous it had the lowest priority), hence
allowing the other tokens to be inside a string.
2003-06-10 22:52 rdm
* tree/src/TTree.cxx, treeplayer/src/TTreePlayer.cxx:
two small typos in comments, plus a little comment reformatting.
2003-06-10 22:51 rdm
* proof/src/TPacketizer2.cxx, proof/src/TProofServ.cxx,
tree/inc/TDSet.h, tree/src/TDSet.cxx:
several PROOF fixes to do better error handling if files
specified in the TDSet don't exist. Added some TProof proxy calls in
TDSet as short cuts. By Maarten.
2003-06-10 21:29 rdm
* base/src/TFile.cxx:
allow builtin TNetFile and TWebfile to be overridden by a plugin.
Needed by Babar to test the new xrootd and XTNetFile.
2003-06-10 21:07 brun
* treeplayer/: inc/TSelectorDraw.h, src/TSelectorDraw.cxx,
src/TTreeFormula.cxx:
From Philippe:
This patch prevents a core dump if the user double click in the TBrowser on a non-split leaf. It also reduces to 1 the
number of message warning that TSelectorDraw does not know how to histogram this type of objects (it only know how to
histogram TBits and numerical types).
2003-06-10 18:45 brun
* hist/src/TF1.cxx:
Fix in TF1::Paint in case of logy scale and the automatic minimum
was optimized at 0.
2003-06-06 18:42 brun
* graf/src/TPaveStats.cxx:
In TPaveStats::Paint increase slightly the default text size
from 0.88 to 0.92
2003-06-06 18:41 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintStat and PaintStat2 take into account the text size
when computing the original size of the stats box.
If the text size for the stats box is null (returned by gStyle->GetStatTextSize)
the algorithm uses the previous algorithm computing the original size using the number
of lines in the box.
2003-06-06 18:38 brun
* base/src/TStyle.cxx:
Change the default value for fStatY from 0.98 to 0.995.
This aligns the top of the stats box with the top of the title.
2003-06-06 18:07 brun
* utils/src/rootcint.cxx:
From Philippe:
The following patch insures that "long long" and "unsigned long long"
are replaced Long64_t and ULong64_t when writing Shadow Classes.
2003-06-06 17:32 brun
* histpainter/src/TPainter3dAlgorithms.cxx:
from Olivier:
In case of surface or lego with user defined levels the lowest part was
paint as wireframe.
2003-06-06 11:09 brun
* rint/src/TTabCom.cxx:
C compilation problem in function Hook on HP-UX/aCC with a double definition
of a loop index Int_t i
VS: ----------------------------------------------------------------------
2003-06-06 07:44 brun
* table/: inc/LinkDef.h, inc/TVolumePosition.h,
src/TVolumePosition.cxx:
From Valeri Fine & Yuri Fisiak
Add a new member function in TVolumePosition.
Add declaration of I/O operator << in LinkDef
2003-06-05 21:47 brun
* graf/src/TLegend.cxx:
Fix several typos in comments
2003-06-05 19:11 brun
* histpainter/src/THistPainter.cxx:
Add more comments in THistPainter::Paint in the section about the "Stats" box.
2003-06-05 16:22 rdm
* rint/: inc/TTabCom.h, src/TTabCom.cxx:
added support for namespace expansion. By Artur Szostak.
2003-06-05 13:33 rdm
* proof/src/TProofProgressDialog.cxx:
display correct number of event to be processed.
2003-06-05 01:00 rdm
* config/Makefile.linuxicc:
preparation for icc v8, icc and ifc in different directories.
2003-06-05 00:14 rdm
* cint/inc/longif.h:
other long long and __int64 issues.
2003-06-04 23:51 rdm
* cint/src/strtoll.c:
Win32 does not support LL suffix to make a long long literal.
2003-06-04 23:38 rdm
* cint/src/strtoll.c:
use _WIN32 and not __WIN32.
2003-06-04 22:17 rdm
* base/src/TROOT.cxx:
remove empty if statement in FindSpecials().
2003-06-04 22:17 rdm
* base/inc/: Rtypes.h, LinkDef1.h:
added some other constants, like: kMaxUShort, kMaxUInt, kMaxULong64 and
kMaxLong64.
2003-06-04 22:15 rdm
* cint/: inc/G__ci.h, inc/common.h, inc/fproto.h, inc/longif.h,
lib/longlong/longlong.h, src/decl.c, src/expr.c, src/func.c,
src/ifunc.c, src/inherit.c, src/loadfile.c, src/longif.cxx,
src/opr.c, src/parse.c, src/strtoll.c, src/typedef.c, src/val2a.c,
src/var.c:
import of CINT 5.15.90.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-06-04 13:03 rdm
* x11ttf/src/TGX11TTF.cxx:
add test on gVirtualX not being 0 in TTFX11Init which can happen in case
of static linking.
2003-06-04 09:05 brun
* geom/src/TGeoBBox.cxx:
Fix a bug in TGeoBBox::CouldBeCrossed reported by Fedor Ignatov
2003-06-04 07:59 brun
* tree/inc/TLeafI.h:
Add function TLeafI::SetMinimum
2003-06-02 19:12 brun
* tutorials/timeonaxis2.C:
New tutorial illustrating the basics of the time units on the histogram axis.
2003-06-02 19:11 brun
* graf/src/TGaxis.cxx:
Add comments in TGaxis::PaintAxis to document the time axis possibilities
2003-06-02 17:19 rdm
* gui/src/TGListTree.cxx:
forgot to remove the GC deletion in the TGListTree dtor. In the new scheme
these GC's are cached.
2003-06-02 12:36 brun
* tree/src/TChain.cxx:
In TChain::LoadTree allways call fTree->SetBranchStatus independently
of teh value of the status in the chain element (thanks Gordon Watts).
2003-06-02 12:25 brun
* tree/src/TBranchElement.cxx:
In TBranchElement::GetEntry do not set the branch address in case
the branch address is not yet set and the branch has been disabled.
2003-06-02 11:53 brun
* base/src/TDirectory.cxx:
Remove obsolete comment in TDirectory::Get
Remove obsolete code in TDirectory::Get
2003-06-02 11:37 brun
* meta/src/TClass.cxx:
Fix a problem in TBuildRealData::Inspect in case of a complex case
of inheritance/composition reported by Susan Kasahara.
//could be a data member in a base class like in this example
// class Event : public Data {
// class Data : public TObject {
// EventHeader fEvtHdr;
// class EventHeader {
// Int_t fEvtNum;
// Int_t fRun;
// Int_t fDate;
// EventVertex fVertex;
// class EventVertex {
// EventTime fTime;
// class EventTime {
// Int_t fSec;
// Int_t fNanoSec;
2003-05-30 22:37 brun
* histpainter/src/THistPainter.cxx:
Fix a problem in THistPainter::PaintTitle when the following
combination happens:
a histogram with no title is drawn in the pad
a TPaveText is drawn in the same pad
(thanks to Jiri Masik for reporting)
2003-05-30 21:41 brun
* eg/src/TParticle.cxx:
Fix a format problem in TParticle::Print (thanks to Piotr)
2003-05-28 17:17 brun
* table/: inc/TCL.h, inc/TIndexTable.h, inc/TVolumePosition.h,
src/TCL.cxx, src/TFileIter.cxx, src/TIndexTable.cxx,
src/TTableDescriptor.cxx, src/TVolumePosition.cxx:
From Valeri Fine. A new version of the table package.
It fixes a couple of memory leaks:
class TTableDescriptor
class TVolumePosition
and provides some clean up
for the TCL class interface.
2003-05-28 16:03 rdm
* gui/src/TGGC.cxx:
explicitely initialize TRefCnt in copy ctor.
2003-05-28 15:47 rdm
* x11/src/GX11Gui.cxx:
added missing include.
2003-05-28 13:55 rdm
* gui/inc/TGFont.h, gui/inc/LinkDef2.h, gui/inc/TG3DLine.h,
gui/inc/TGButton.h, gui/inc/TGButtonGroup.h, gui/inc/TGCanvas.h,
gui/inc/TGClient.h, gui/inc/TGColorDialog.h,
gui/inc/TGColorSelect.h, gui/inc/TGComboBox.h,
gui/inc/TGDoubleSlider.h, gui/inc/TGFSComboBox.h,
gui/inc/TGFSContainer.h, gui/inc/TGFrame.h, gui/inc/TGGC.h,
gui/inc/TGIcon.h, gui/inc/TGLabel.h, gui/inc/TGListBox.h,
gui/inc/TGListTree.h, gui/inc/TGListView.h, gui/inc/TGMenu.h,
gui/inc/TGNumberEntry.h, gui/inc/TGPicture.h,
gui/inc/TGProgressBar.h, gui/inc/TGResourcePool.h,
gui/inc/TGScrollBar.h, gui/inc/TGSlider.h, gui/inc/TGSplitter.h,
gui/inc/TGStatusBar.h, gui/inc/TGTab.h, gui/inc/TGText.h,
gui/inc/TGTextEdit.h, gui/inc/TGTextEntry.h, gui/inc/TGTextView.h,
gui/inc/TGToolBar.h, gui/inc/TGToolTip.h, gui/inc/TGView.h,
gui/inc/TGWindow.h, gui/inc/TRootEmbeddedCanvas.h,
gui/src/TGButton.cxx, gui/src/TGCanvas.cxx, gui/src/TGClient.cxx,
gui/src/TGColorDialog.cxx, gui/src/TGColorSelect.cxx,
gui/src/TGComboBox.cxx, gui/src/TGDoubleSlider.cxx,
gui/src/TGFSComboBox.cxx, gui/src/TGFSContainer.cxx,
gui/src/TGFont.cxx, gui/src/TGFrame.cxx, gui/src/TGGC.cxx,
gui/src/TGIcon.cxx, gui/src/TGLabel.cxx, gui/src/TGListBox.cxx,
gui/src/TGListTree.cxx, gui/src/TGListView.cxx, gui/src/TGMenu.cxx,
gui/src/TGPicture.cxx, gui/src/TGProgressBar.cxx,
gui/src/TGResourcePool.cxx, base/inc/GuiTypes.h, config/rootrc.in,
gui/Module.mk, gui/src/TGScrollBar.cxx, gui/src/TGShutter.cxx,
gui/src/TGSlider.cxx, gui/src/TGStatusBar.cxx, gui/src/TGTab.cxx,
gui/src/TGTextEdit.cxx, gui/src/TGTextEntry.cxx,
gui/src/TGTextView.cxx, gui/src/TGToolTip.cxx, gui/src/TGView.cxx,
gui/src/TRootBrowser.cxx, test/guitest.cxx,
test/RootShower/GTitleFrame.cxx, test/RootShower/GTitleFrame.h,
tutorials/guitest.C:
major changes in the resource management of the GUI classes. Introduced the
new class TGResourcePool which loads and keeps track of the 3 main resource
pools: fonts, picture and graphics contexts. Fonts are now handled via the
new TGFont class (and TGFontPool). In the past the loading of these resources
was done in TGClient and required all GUI classes to have TGClient as friend
to have their global statics initialized by TGClient. Adding a new widget
required TGClient.cxx to be changed too. This was obviously not good.
In addition it is now possible to find the full definition of the original
resource back based on a resource handle (GContext_t or FontStruct_t yielding
a TGGC or TGFont) which is needed for the SavePrimitive() functionality.
The resource pool can be found via TGClient (e.g. gClient->GetResourcePool()).
To see all active graphics contexts, fonts and pictures do:
gClient->GetResourcePool()->GetGCPool()->Print()
gClient->GetResourcePool()->GetFontPool()->Print()
gClient->GetResourcePool()->GetPicturePool()->Print()
For more examples see the widget source code.
These changes are largely backward compatible except maybe for some low
level 3rd party widgets that use some TGFrame internals. In these cases
the following sed command will patch the code:
sed -e "s/fgBlackGC()/GetBlackGC()()/g"
-e "s/fgWhiteGC()/GetWhiteGC()()/g"
-e "s/fgHilightGC()/GetHilightGC()()/g"
-e "s/fgShadowGC()/GetShadowGC()()/g"
-e "s/fgBckgndGC()/GetBckgndGC()()/g"
widget.cxx > widget.cxx.new
2003-05-28 13:35 rdm
* tutorials/guitest.C:
show how to use wildcard to list in the TGFileDialog both *.txt and *.TXT
files.
2003-05-28 13:26 rdm
* x11/src/GX11Gui.cxx:
handle broken X-server connection in RootX11IOErrorHandler. Stops looping
in TSystem::DispatchOneEvent() after link to X server is broken (works for
network and named pipe X connections). By Daniel Sigg.
2003-05-28 13:25 rdm
* x11/src/TGX11.cxx:
add missing breaks statements in RequestLocator().
2003-05-27 18:31 rdm
* utils/src/rootcint.cxx:
add flag for x86_64 (Opteron).
2003-05-27 16:10 rdm
* unix/src/TUnixSystem.cxx:
Use --format=gnu-new-abi for c++filt and gcc >= 3 in the stack trace.
2003-05-27 02:39 brun
* meta/: inc/TStreamerElement.h, src/TStreamerElement.cxx,
src/TStreamerInfo.cxx:
Implement TStreamerSTL::SetStreamer function that redefines
TStreamerElement::SetStreamer. In the STL case, fType is set
to TStreamerInfo::kSTreamer.
Remove special case kStreamer+kOffsetL in TStreamerInfo::ReadBuffer
and WriteBuffer.
2003-05-26 05:36 brun
* matrix/src/: TVector.cxx, TVectorD.cxx:
From Eddy Offermann
The TVector::TVector(const TMatrixDDiag &md) constructor left
the last diagonal element behind.
2003-05-23 18:20 rdm
* gui/: inc/TGToolBar.h, src/TGToolBar.cxx, src/TRootBrowser.cxx:
revert to previous cleanup semantics. However, provide custom Cleanup()
methods to avoid possible double deletion of toolbar buttons.
2003-05-23 18:06 rdm
* README/BUILDSYSTEM:
add some more porting tips.
2003-05-23 16:46 brun
* gpad/src/TPad.cxx:
Fix a problem in TPad::CreateNewPave when using the graphics editor
to create a new TPaveLabel and typing an empty string.
2003-05-22 23:02 brun
* hist/inc/TH1.h:
Make the TH1 constructors protected to prevent unusable TH1 objects
to be created with the interpreter.
2003-05-22 14:20 brun
* gui/src/TRootBrowser.cxx:
From Valeriy Onuchin:
"recently" destructor of TGToolBar class changed.
Now when it's deleted all frames and layouthints of it deleted also.
I removed deletion of fFSComboBox,fComboLayout which are
deleted with "delete fToolBar;"
2003-05-22 14:17 brun
* win32gdk/src/GWin32Gui.cxx:
From Valeriy Onuchin:
- fix memory leak in TGWin32::SetClipRectangles
(just remind, we still have to fix this method - change gdk source)
- fix memory leak in TGWin32::PolygonRegion
- fix "confusing" cast from HWND to GdkDrawable*
in TGWin32::MapEvent
- code clean up
- perhaps I missed something (Bertrand?)
- TGWin32::IconifyWindow
add ::CloseWindow((HWND)GDK_DRAWABLE_XID((GdkWindow *)id));
2003-05-21 22:13 brun
* hist/src/TF1.cxx:
When painting a TF1 with a positive minimum, optimize the computation of the
scale in Y in case the min/max of the function oscillate around a constant value,
eg as in the case of:
TF1 f1("f1","5+0.001*sin(x)/x",0,10)
2003-05-21 20:30 brun
* win32gdk/src/GWin32Gui.cxx:
New version from Valeriy with threads protections.
2003-05-21 19:53 brun
* meta/src/TStreamerInfo.cxx:
Fix a problem in WriteBuffer/ReadBuffer when processing a member
that is an array of STL collections.
2003-05-21 19:12 brun
* win32gdk/src/: GdkThread.cxx, TGWin32.cxx:
New version of these two classes from Valeriy and Bertrand.
Includes several bug fixes and coe cleanup
2003-05-20 00:13 brun
* eg/inc/TParticlePDG.h:
Comment for the description off Charge was wrong. fCharge is in units of |e|/3
(thanks Gero Flucke)
2003-05-19 15:40 brun
* base/src/TObject.cxx, gpad/src/TPad.cxx:
From Olivier:
In some cases the DrawClone didn't work. A call to SetSelectedPad has
been added at the end of TPad::TPad to fix that.
2003-05-17 10:44 brun
* histpainter/src/THistPainter.cxx:
Modify THistPainter::PaintTitle to support the funny case when
a histogram is named "title"
2003-05-16 18:11 rdm
* configure:
fix in order of afs libraries and added missing libafsrpc. With this fix
rootd with afs support links on Solaris.
2003-05-16 17:00 rdm
* base/src/TPluginManager.cxx:
fix Long64_t argument handling (portability problem).
2003-05-16 15:49 rdm
* base/src/TPluginManager.cxx:
Long64_t arguments must be passed via their address in CINT's
G__CallFunc::SetArgArray().
2003-05-16 15:12 brun
* graf/src/TMultiGraph.cxx:
Add comments in TMultiGraph::Add to indicate that the TMultiGraph
is the owner of the graphs.
2003-05-16 09:32 brun
* treeviewer/src/TTreeViewer.cxx:
Remove useless code in TTreeViewer::ExecuteDraw that can generate seg faults
2003-05-15 22:01 brun
* base/src/TPluginManager.cxx:
Use Long64_t instead of long long for portability reasons.
On Windows Long64_t is a typedef to __int64
2003-05-15 21:41 brun
* base/src/TPluginManager.cxx:
Fix a fatal compilation error in TPluginManager::ExecPlugin
2003-05-15 21:18 brun
* base/src/TObject.cxx, minuit/inc/TMinuit.h:
A few fixes to the TMinuit data member declarations (for persistency)
2003-05-15 20:03 rdm
* proof/src/TProof.cxx:
correctly emit signal with two Long64_t arguments.
2003-05-15 20:02 rdm
* base/src/TPluginManager.cxx:
handle plugin ctors with Long64_t and ULong64_t arguments.
2003-05-15 20:01 rdm
* base/: inc/RQ_OBJECT.h, inc/TQObject.h, src/TQObject.cxx:
also support emitting a signals with Long64_t and ULong64_t arguments.
2003-05-15 17:56 brun
* base/src/TObject.cxx:
Fix from Olivier in TObject::DrawClone. The destination pad must be updated
before cloning the object.
2003-05-15 16:26 brun
* minuit/src/TFitter.cxx:
Optimisation in GraphFitChisquare in case of a TGraph (suggestion from Matt Palmer).
2003-05-15 15:56 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Add a new static member fgCurrent and corresponding getter/setter functions.
TF1::GetCurrent() may be called in the C static function when fitting or
drawing the function.
2003-05-15 15:31 brun
* graf/src/TGaxis.cxx:
From Ilka:
In TGaxis::SavePrimitive, save also the axis attributes.
2003-05-15 15:17 rdm
* configure:
always enable explicitlink for all versions of freebsd.
2003-05-15 14:12 brun
* gpad/src/TCanvas.cxx:
Fix a problem in TCanvas::DrawClonePad in case the original pad has subpads.
2003-05-15 13:02 brun
* cont/src/TClassTable.cxx:
In cont/src/TClassTable.cxx:
::Warning("TClassTable::Add", "class %s allready in TClassTable", cname);
The correct spelling is "already".
(Thanks Paul Balm)
2003-05-15 10:43 brun
* tree/src/TBranch.cxx:
Modify TBranch::Print in case of branches with all baskets in memory.
Instead of printing "File size = 0" we print "All baskets in memory"
2003-05-14 22:58 brun
* minuit/: inc/TMinuit.h, src/TMinuit.cxx:
The new TMinuit class can be made persistent and clonable.
The default constructor has been modified to correctly preset all
the pointers and initialize the structures only in case
TClass is not in read mode.
TMinuit.h has been modified with new data members used to indicate
the length of Minuit arrays.
2003-05-14 15:41 brun
* tutorials/twoscales.C:
Replace call to SetTextColor by SetLabelColor
2003-05-14 15:08 rdm
* gui/inc/LinkDef2.h:
export ToolBarData_t structure to CINT.
2003-05-14 15:04 rdm
* gui/: inc/TGToolBar.h, src/TGToolBar.cxx:
use the TGFrame::Cleanup() method instead of keeping a special list for
buttons to be deleted.
2003-05-13 16:59 brun
* histpainter/src/: THistPainter.cxx, TPainter3dAlgorithms.cxx:
From Olivier:
- LogZ now works for contours and surfaces (the color part).
- In case of SURF3 option with LogZ, the color contour plot is now drawn
on top of the surface (before the position was "random").
2003-05-13 13:51 brun
* hist/src/TH1.cxx:
Fix a typo in TH1::SetTitle (thanks D. Kustov)
2003-05-13 12:29 brun
* thread/src/TThread.cxx:
Print some start/finish messages conditional to gDebug
2003-05-13 11:29 brun
* win32gdk/gdk/: dll/gdk-1.3.dll, lib/gdk-1.3.lib:
New versions of gdk from Bertrand/Valeriy
gdk lib with "non-cached gc" and with "speed up mods".
2003-05-13 08:31 brun
* meta/src/TStreamerElement.cxx:
Protect TStreamerObject::GetSize and TStreamerObjectAny::GetSize
in case of an STL class. In this case, GetClassPointer is null.
2003-05-13 08:21 brun
* base/src/TSystem.cxx, config/rootrc.in:
From Philippe:
added ACLiC.IncludePaths (in the attached patch)
# Add additional include directives for ACLiC compilations
#ACLiC.IncludePaths: -I/where/the/includes/are
2003-05-12 18:44 rdm
* gui/: inc/TGCanvas.h, src/TGApplication.cxx,
src/TGButtonGroup.cxx, src/TGCanvas.cxx, src/TGFrame.cxx:
correct several typos found in comments by Ilka.
2003-05-12 18:15 rdm
* cint/: inc/G__ci.h, inc/common.h, src/cast.c, src/expr.c,
src/tmplt.c, src/typedef.c:
import of CINT 5.15.87.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-05-11 17:36 brun
* hist/src/TProfile.cxx:
Implement TProfile::Multiply(TF1*f1,Double_t c1)
This function was dummy so far.
2003-05-11 16:59 rdm
* gui/inc/TRootCanvas.h:
provide getters for the menubar and menubar item layout hints. This
allows for the extension of the standard TCanvas menubar. To add a menu
to the right of the "Classes" menu item do:
TCanvas *c = new TCanvas;
TRootCanvas *r = dynamic_cast<TRootCanvas*>(c->GetCanvasImp());
TGMenuBar *m = r->GetMenuBar();
TGPopupMenu *p = m->GetPopup("Help");
TGPopupMenu *menuNew = new TGPopupMenu();
menuNew->AddEntry("New Entry", 0);
m->AddPopup("New", menuNew, r->GetMenuBarItemLayout(), p);
m->MapSubwindows();
m->Layout();
2003-05-11 16:09 rdm
* base/src/: TQConnection.cxx, TQObject.cxx:
avoid possible double deletion in dtors. Fix proposed by Daniel Sigg.
2003-05-11 15:26 rdm
* build/unix/makedist.sh:
fix another typo showing on macos x.
2003-05-11 14:58 rdm
* freetype/Module.mk:
version 10.2.6 seems to require rerunning of ranlib after copying
libfreetype.a.
2003-05-10 17:52 brun
* hist/src/: TH2.cxx, TH3.cxx:
Implement new option "d" in TH2:;ProjectionX,Y,ProfileX,Y and TH3::ProjectionZ
If a projection with the same name already exists in the pad or directory,
the previous projection is reset and filled again.
2003-05-09 15:47 brun
* graf/src/TTF.cxx:
Remove unnecessary calls to new/delete for the rotation matrix in SetRotationMatrix
2003-05-09 13:40 rdm
* build/unix/makedist.sh:
fix fatal typo.
2003-05-09 13:22 brun
* build/unix/makestatic.sh:
Add libfreetype.a when linking the static modules.
2003-05-09 13:16 brun
* minuit/src/TMinuit.cxx:
Rename function InteractiveFCN to avoid a clash with TVirtualFitter::InteractiveFCN
when linking statically
2003-05-09 12:53 rdm
* build/unix/makedist.sh:
fix for UnitedLinux (has no link to gtar).
2003-05-08 19:50 brun
* Makefile:
From Axel Naumann:
* Add make install feature for win32gcc
* remove lib/*.dll.a for distclean
2003-05-08 19:42 rdm
* gui/src/TGSlider.cxx:
ungrabpointer before dispatching any messages, this avoids long message
handling routines from locking up X11. Suggestion by Brett Viren.
2003-05-08 19:20 rdm
* base/src/TBuffer.cxx:
remove some trailing blank.
2003-05-08 19:20 rdm
* gui/src/TGTextView.cxx:
fix backward searching. By Thomas Bretz.
2003-05-08 18:55 brun
* graf/: inc/TLatex.h, src/TLatex.cxx:
Delete TLatex::GetTextExtent. Use TText::GetTextExtent.
The version in TText is more recent and support the switch off of TTF.
2003-05-08 17:54 brun
* base/inc/RVersion.h, build/version_number:
Stamp version 3.05/05
2003-05-08 17:20 brun
* histpainter/src/THistPainter.cxx:
From Axel Naumann:
A fix in PaintTitle to take into account gStyle->GetTitleH()
2003-05-08 17:00 brun
* hist/src/TSpectrum2.cxx:
Some improvements in TSpectrum2::Search and more comments
2003-05-08 16:41 brun
* histpainter/src/TPainter3dAlgorithms.cxx:
From Olivier:
Bug fixed in color levels drawing for option CONT4 and colored surfaces
and legos. They were wrong. It was easy to see when the color palette was
displayed.
2003-05-08 11:12 brun
* hist/: inc/TSpectrum2.h, src/TSpectrum2.cxx:
New version of TSpectrum2::Search2General
Now the algorithm is based on 2-nd, 4-th, 6-th
smoothed differences.The meaning of the threshold is the same
as in 1-dimensional case. The sigma (beacause of 6-th order differences)
should not be less than 2. Recommended values are 4 and higher.
2003-05-08 11:09 brun
* hist/src/TH1.cxx:
In TH1::Fit add comments to indicate how to set the default fitter in system.rootrc
2003-05-08 11:08 brun
* base/src/TVirtualFitter.cxx:
Use the default fitter as possibly setr in teh resource file system.rootrc.
The default fitter is Minuit
2003-05-08 11:07 brun
* config/rootrc.in:
Add new environment resource to select the Fitter:
# Default Fitter (current choices are Minuit and Fumili)
Root.Fitter: Minuit
2003-05-07 22:16 brun
* configure:
From Philippe:
To configure correctly on Irix (32 bit mode by default), /usr/lib32
must be specified before /usr/lib
2003-05-07 19:52 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
From Eddy Offerman
Since 3.05 We have hard-coded the inverse for dim <=3 for speed reasons.
Unfortunately, I forgot that the matrix is stored column-wise which
results in an our for dim=3.
2003-05-07 18:49 brun
* tutorials/fitcont.C:
Add a Warning to indicate that this tutorial can only run with Minuit.
2003-05-07 18:25 brun
* base/src/TMath.cxx:
Fix another problem in TMath::BesselI (thanks Peter Steinberg),
1. if (TMath::Abs(x) < kBigPositive) return 0;
2. for (Int_t j=m; j<=1; j--) {
in both cases, the "<" should be ">".
2003-05-07 18:20 brun
* tutorials/FittingDemo.C:
Preset parameters for fitFcn to have the same result between Minuit and Fumili.
2003-05-07 18:07 brun
* base/src/TMath.cxx:
Fix a bug in TMath::BesselI (kBigPositive was used instead of kBigNegative)
(thanks to Peter Steinberg)
2003-05-07 16:21 brun
* geom/src/TGeoMatrix.cxx:
From Andrei;
This class was forgotten in the previous bunch of changes.
2003-05-07 15:46 brun
* fumili/src/TFumili.cxx:
From Statislav Nesterov:
I've found some bugs in calculating Chi-square
when Likelihood is used: 'params' instead of 'gin' in H1FitLikelihoodFumil
causes troubles, because 'gin' is calculated always.
Counter of FCN calls now is set to zero when TFumili::Clear is called.
Functional values now compatible with the same of Minuit.
2003-05-07 15:32 brun
* geom/inc/LinkDef.h, geom/inc/TGeoManager.h,
geom/inc/TGeoMatrix.h, geom/inc/TGeoVolume.h,
geom/inc/TVirtualGeoPainter.h, geom/inc/TVirtualGeoTrack.h,
geom/src/TGeoManager.cxx, geom/src/TGeoTube.cxx,
geom/src/TGeoVolume.cxx, geom/src/TVirtualGeoTrack.cxx,
geompainter/inc/LinkDef.h, geompainter/inc/TGeoPainter.h,
geompainter/inc/TGeoTrack.h, geompainter/src/TGeoPainter.cxx,
geompainter/src/TGeoTrack.cxx:
New version of the geometry package from Andrei:
4 new files:
geom/inc/TVirtualGeoTrack.h
geom/src/TVirtualGeoTrack.cxx
geompainter/inc/TGeoTrack.h
geompainter/src/TGeoTrack.cxx
This new version adds support for track visualization. Adding tracks is a user task
and can be done using :
TGeoManager::AddTrack() for primary tracks. The manager class knows
about the current primary and provides utility methods to
retreive/change this. Users has to handle only TVirtualGeoTracks.
Secondaries can be added to their primary :
TVirtualGeoTrack::AddDaughter()
Points (x,y,z,tof) can be associated with a track :
TVirtualGeoTrack::AddPoint()
Providing tracks to the modeller and adding points are users tasks.
Track names should be supplied by users after creation :
TVirtualGeoTrack::SetName() - note that tracks are not tnamed
objects, but their names are globally handled by the TGeoManager. The
usage of ROOT default particle names are recommended for tracks since it
triggers special colors/line attributes.
Tracks are drawable/pickable objects. Drawing options are :
- default - only current track drawn
- /D - track and first level daughters
- /* - track and all descendents
- /N<name> - only tracks from particles with given <name>
If points with time of flight are supplied, the drawing range tmin,tmax
can be specified :
TGeoManager::SetTminTmax() (if no arguments time cut is supressed)
Tracks can be animated individually or global :
TVirtualGeoTrack::AnimateTrack(tmin,tmax,nframes,option)
TGeoManager::AnimateTrack(tmin,tmax,nframes,option)
Animation otions are :
/G - animate also geometry in the given time interval
/S - save all frames as .gif files
drawing options act as well in animation. Options can be concatenated
and should be upper case (due to /N<name>)
If tracks are defined, the geometry I/O takes them into account.
However, when loading a geometry file containing tracks, libGeomPainter
has to be loaded since it contains the class implementation definition :
gSystem->Load("libGeom")
gSystem->Load("libGeomPainter")
TGeoManager::Import("mygeom.root")
2003-05-07 15:31 brun
* base/: inc/TView.h, src/TView.cxx:
From Andrei,
Add 3 new arguments to TView::MoveFocus
2003-05-07 13:24 rdm
* freetype/Module.mk:
fix in gtar detection for Solaris (by Daniel Sigg).
2003-05-07 12:35 brun
* fumili/src/TFumili.cxx:
Several cosmetic changes.
Functions sorted by alphetic order.
2003-05-07 12:34 brun
* base/inc/TVirtualFitter.h:
Add #include "TNamed.h"
This is required When TVirtualFitter.h is used like in test/minexam.cxx
2003-05-07 10:33 brun
* tree/src/TBranchElement.cxx:
Add protection in TClonesArray::Unroll (thanks Victor) in case
of a TClonesArray pointer inside another TClonesArray.
In this case fBranchPointer may be null. We cannot split the nested
TClonesArray in this case.
2003-05-07 09:19 brun
* build/unix/wingcc_ld.sh:
From Axel Naumann:
the current binutil-cvs ld for cygwin doesn't need import libs anymore.
I've built the libs with (15min) and without (3.5min)import libs - the
difference (mainly due to memory consumption by ld) is worth being handled
in win32gcc_ld.sh. The attached patch that will take care of the different
versions.
2003-05-06 22:42 brun
* fumili/src/TFumili.cxx:
Several changes from Stanislav Nesterov.
2003-05-06 15:14 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Implement new function TF1::GetX
Double_t TF1::GetX(Double_t fy, Double_t xmin, Double_t xmax) const
// return the X value corresponding to the function value fy for (xmin<x<xmax).
// Method:
// the function z = abs(f-fy) is computed at fNpx points between xmin and xmax
// xxmax is the X value corresponding to the minimum function value
// An iterative procedure computes the minimum around xxmax
// until dx is less than 1e-9 *(fXmax-fXmin).
// In case the problem has several solutions in X, the higher X solution is returned
// If the problem has no solution, the function returns the value of X
// where f(X) is closer to fy.
2003-05-06 11:25 brun
* config/Makefile.win32gcc:
Remove -lnsl from F77LIBS
2003-05-06 11:24 brun
* base/src/TVirtualFitter.cxx, fumili/src/TFumili.cxx:
Move destructor of the fMethodCall object to TVirtualFitter destructor.
Sert some unitialized variables.
Many style changes.
2003-05-06 10:23 rdm
* fumili/src/TFumili.cxx, hist/src/TF12.cxx,
proof/src/TEventIter.cxx, proof/src/TProofPlayer.cxx,
proof/src/TProofProgressDialog.cxx,
proof/src/TVirtualPacketizer.cxx:
remove warning on MacOS X (unused arguments and variables).
2003-05-06 07:27 brun
* treeplayer/src/TTreeFormula.cxx:
Patch from Philippe fixing a problem reported by Walter Mueller.
The problem was related to the fact that pct.amp was a static array of size 4 inside
a TClonesArray and pct.xo is just a data member inside the same TClonesArray.
Hence pct.amp[0][] is a array of size either 4 or 0 (if no element in the clones) and
pct.xo is a variable size array of the size of the current clonesArray. When the
clonesArray was of size exactly one, the system was confused and
thought that pct.xo was of the same size as pct.amt[0][].
'tree->Draw("pct.amp[0]:pct.xo");' and 'tree->Draw("pct.amp[0]:pct.t.xo");' presented
the same error but due to different path in the code were failing in different ways.
2003-05-06 00:15 rdm
* fumili/Module.mk, minuit/Module.mk:
add $(MUINUITLIBDEP) and $(FUMILILIBDEP) to the dependency to make sure that
these libs are build before libFumili and libMinuit.
2003-05-05 23:43 brun
* README/CREDITS:
Add Stanislav Nesterov for his contribution to TFumili
2003-05-05 23:36 brun
* fumili/src/TFumili.cxx:
Fix compilation errors on HP-UX/aCC
2003-05-05 22:58 brun
* fumili/src/TFumili.cxx:
Fix compilation errors on alpha/cxx6
2003-05-05 22:50 brun
* fumili/src/TFumili.cxx:
Fix compilation problems with VC++
2003-05-05 22:34 brun
* fumili/: Module.mk, inc/LinkDef.h, inc/TFumili.h,
src/TFumili.cxx:
Add new directory fumili (thanks Stanislav Nesterov)
The class TFumili derives from TVirtualFitter. It is an alternative
to Minuit.
The default fitter is Minuit. To select Fumili, do:
TVirtualFitter::SetDefaultFitter("Fumili");
Note that this new class is still an experimental version.
2003-05-05 22:32 brun
* config/Makefile.depend:
Modify Minuit dependencies (not libGraf and libHist are required)
Add Fumili dependencies
2003-05-05 22:30 brun
* Makefile:
Add new directory fumili
2003-05-05 18:47 brun
* winnt/src/Win32Splash.cxx:
From Bertrand Bellenot:
New version of splash screen staying on the foreground and keeping focus
in the DOS window.
2003-05-05 18:41 brun
* config/rootrc.in:
Mods for the plugin manager to support multiple fitters ("Minuit" and "Fumili")
2003-05-05 18:38 brun
* minuit/: inc/TFitter.h, src/TFitter.cxx:
Many changes in the class to accomodate the changes in TVirtualFitter.
The objective functions H1FitChisquare and H1FitLikelihood previously in TH1
or TGraph have been moved to TFitter.
The global variables communicating with TH1 or TGraph have been replaced
by the functions in TVirtualFitter.
2003-05-05 18:38 brun
* graf/src/TGraph.cxx:
Many changes in TGraph::Fit to use the new TVirtualFitter extended interface.
The static functions GraphFitChisquare has been moved to TFitter.
The global variables :
TF1 *grF1
TVirtualfitter *grFitter
have been deleted and replaced by functions from TVirtualFitter.
2003-05-05 18:38 brun
* hist/: inc/TH1.h, src/TH1.cxx:
Many changes in TH1::Fit to use the new TVirtualFitter extended interface.
The static functions H1FitChisquare, H1FitLikelihood have been moved to TFitter
The global variables :
TF1 *gF1
TVirtualfitter *hFitter
Int_t hxfirst,hxlast,hyfirst,hylast,hzfirst,hzlast
have been deleted and replaced by functions from TVirtualFitter.
The following comments have been added in the doc of TH1::Fit
// Access to the Fitter information during fitting
// ===============================================
// This function calls only the abstract fitter TVirtualFitter.
// The default fitter is TFitter (calls TMinuit).
// A different fitter can be set via TVirtualFitter::SetDefaultFitter.
// For example, to call the "Fumili" fitter instead of "Minuit", do
// TVirtualFitter::SetDefaultFitter("Fumili");
// During the fitting process, the objective function:
// chisquare, likelihood or any user defined algorithm
// is called (see eg in the TFitter class, the static functions
// H1FitChisquare, H1FitLikelihood).
// This objective function, in turn, calls the user theoretical function.
// This user function is a static function called from the TF1 *f1 function.
// Inside this user defined theoretical function , one can access:
// TVirtualFitter *fitter = TVirtualFitter::GetFitter(); //the current fitter
// TH1 *hist = (TH1*)fitter->GetObjectFit(); //the histogram being fitted
// TF1 +f1 = (TF1*)fitter->GetUserFunction(); //the user theoretical function
2003-05-05 18:38 brun
* base/: inc/TVirtualFitter.h, src/TVirtualFitter.cxx:
The TVirtualFitter interface has been substantially changed
to accomodate more fitters (like Fumili).
New static functions:
TVirtualFiytter::SetDefaultFitter(const char *name);
const char *TVirtualFitter::GetDefaultFitter();
The default fitter name is "Minuit". A new alternative is "Fumili"
New functons:
virtual void SetFCN(void *fcn);
virtual void SetFCN(void (*fcn)(Int_t &, Double_t *, Double_t &f, Double_t *, Int_t));
virtual void SetFitMethod(const char *name) = 0;
virtual void SetFitOption(Foption_t option) {fOption = option;}
virtual void SetObjectFit(TObject *obj) {fObjectFit = obj;}
virtual void SetUserFunc(TObject *userfunc) {fUserFunc = userfunc;}
virtual void SetXfirst(Int_t first) {fXfirst = first;}
virtual void SetXlast (Int_t last) {fXlast = last;}
virtual void SetYfirst(Int_t first) {fYfirst = first;}
virtual void SetYlast (Int_t last) {fYlast = last;}
virtual void SetZfirst(Int_t first) {fZfirst = first;}
virtual void SetZlast (Int_t last) {fZlast = last;}
+ the corresponding getters
The class has new data members:
Foption_t fOption; //struct with the fit options
Int_t fXfirst; //first bin on X axis
Int_t fXlast; //last bin on X axis
Int_t fYfirst; //first bin on Y axis
Int_t fYlast; //last bin on Y axis
Int_t fZfirst; //first bin on Z axis
Int_t fZlast; //last bin on Z axis
TObject *fObjectFit; //pointer to object being fitted
TObject *fUserFunc; //pointer to user theoretical function (a TF1*)
TMethodCall *fMethodCall; //Pointer to MethodCall in case of interpreted function
void (*fFCN)(Int_t &npar, Double_t *gin, Double_t &f, Double_t *u, Int_t flag);
static TString fgDefault; //name of the default fitter ("Minuit","Fumili",etc)
2003-05-05 13:24 brun
* win32gdk/src/TGWin32.cxx:
From Valeriy Onuchin:
add option to disable splash screen with win32gdk
2003-05-05 13:21 brun
* win32gdk/gdk/: dll/gdk-1.3.dll, lib/gdk-1.3.lib:
New versions of the gdk dll and lib that should fix a problem with axis transparency.
2003-05-05 12:13 brun
* hist/src/TH1.cxx:
Add a new Fit option "LL".
This is an improved Log Likelihood fit in case of very low statistics
and when bin contents are not integers. Do not use use this option
if bin contents are large (say greater than 100)
(thanks to Valeria Bartsch)
2003-05-05 11:36 rdm
* chirp/src/TChirpFile.cxx, dcache/src/TDCacheFile.cxx,
net/src/TNetFile.cxx, rfio/src/TRFIOFile.cxx:
fix in offset handling in case of cache usage. Use Seek() now instead
of directly updating fOffset, Seek() takes care of reseting the real file
offset pointer if needed.
2003-05-05 11:18 brun
* hist/src/THLimitsFinder.cxx:
In THLimitsFinder::Optimize take into account very special cases when the number of bins is
less than 5
2003-05-05 08:21 brun
* cint/src/expr.c:
Activate G__OLDIMPLEMENTATION1863_YET. This is mandatory to run the CMS tests.
2003-05-05 03:04 rdm
* cint/: inc/G__ci.h, lib/prec_stl/deque, lib/prec_stl/list,
lib/prec_stl/map, lib/prec_stl/memory, lib/prec_stl/multimap,
lib/prec_stl/multiset, lib/prec_stl/set, lib/prec_stl/vector,
lib/pthread/Makefile, src/CallFunc.cxx, src/debug.c, src/expr.c,
src/fread.c, src/func.c, src/longif.cxx, src/struct.c,
src/typedef.c:
import of CINT 5.15.86.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-05-03 08:21 brun
* base/inc/Bytes.h:
Fix a typo (thanks John Zweizig)
2003-05-02 16:43 brun
* histpainter/src/THistPainter.cxx:
Fix by Olivier in PaintColorLevels to have a more rational behaviour
in contour levels and the color palette for the "col" and "cont" algorithms.
2003-05-02 13:32 rdm
* test/RootShower/Makefile:
add AMD Opteron case.
2003-05-02 13:29 rdm
* Makefile, configure, base/inc/RConfig.h,
cint/iosenum/iosenum.linuxx8664gcc3, config/ARCHS,
config/Makefile.linuxx8664gcc, config/root-config.in,
rootd/Module.mk, test/Makefile:
port to AMD's new 64 bit Opteron processor using gcc. Configure tag is
linuxx8664gcc (based on the Opteron's compiler flag __x86_64__). Use this
option when the machine runs in full 64 bit mode under Linux. The Opteron
can also run in full 32 bit compatability mode (use tag linux in that case).
2003-05-02 12:43 brun
* postscript/src/TPostScript.cxx:
From Olivier: for a problem reported by Otto Schaile
"I just noticed that if the title of a canvas wraps around a line
wrong PostScript output is produced"
2003-05-02 12:33 brun
* hist/src/TH1.cxx:
In the TH1::SetBinContent functions, one must also call LabelsInflate
in case of the overflow bin (thanks to Go Iwai for reporting the problem)
2003-05-02 12:28 rdm
* gui/src/TGClient.cxx:
move initialization of graphics event handler (gXDisplay) just before
initialization of fRoot. This is required for moving gXDisplay->Notify()
from TWinNTSystem::DispatchOneEvent() to TGWin32::GdkThread().
This will significantly reduce thread switches.
2003-05-02 12:08 brun
* win32gdk/gdk/lib/gdk-1.3.lib:
New version of the gdk lib file
2003-05-02 12:06 brun
* win32gdk/gdk/dll/gdk-1.3.dll:
New version of the gdk dll with enhancements from Bertrand and Valeriy
2003-05-01 19:51 rdm
* base/inc/MessageTypes.h, base/inc/TVirtualProof.h,
proof/inc/TEventIter.h, proof/inc/TProof.h,
proof/inc/TProofPlayer.h, proof/inc/TVirtualPacketizer.h,
proof/src/TEventIter.cxx, proof/src/TPacketizer2.cxx,
proof/src/TProof.cxx, proof/src/TProofPlayer.cxx,
proof/src/TVirtualPacketizer.cxx:
implementation of TProof::StopProcess() and propagation infrastructure.
By Maarten.
2003-05-01 19:26 rdm
* gui/inc/TGLayout.h:
change TGLayoutHints padding values from UInt_t to Int_t. Padding
can also be negative to fine-tune the layout.
2003-05-01 19:16 rdm
* gui/src/TGClient.cxx, x11/src/GX11Gui.cxx, x11/src/TGX11.cxx:
iin several locations the depth of the original rootwindow was used and
not the depth of the best visual. This should solve the FindBestVisual()
problems most often seen on Solaris and eXceed. By Daniel Sigg.
2003-05-01 17:26 rdm
* gui/inc/TRootEmbeddedCanvas.h:
added the methods:
Bool_t GetAutoFit() const { return fAutoFit; }
void SetAutoFit(Bool_t fit = kTRUE) { fAutoFit = fit; }
by setting autofit to false the embedded canvas will not be resized anymore
to the size of the embedded canvas frame. The canvas frame instead will
get scrollbars that will allow the scrolling of the canvas. Typically used
like:
TRootEmbeddedCanvas *embedded = new TRootEmbeddedCanvas(0, p, 100, 100);
[note name must be 0, not null string ""]
Int_t wid = embedded->GetCanvasWindowId();
TCanvas *myc = new TCanvas("myname", 600, 600, wid);
embedded->SetAutoFit(kFALSE);
embedded->AdoptCanvas(myc);
2003-05-01 12:56 brun
* winnt/src/Win32Splash.cxx:
From Bertrand Bellenot:
Modified splash screen, now appearing behind the root
box, leaving focus to root command line.
2003-05-01 09:42 brun
* base/: inc/TObject.h, src/TObject.cxx:
Add new option kWriteDelete in TObject::Write
// The option can be a combination of:
// kSingleKey, kOverwrite or kWriteDelete
// Using the kOverwrite option a previous key with the same name is
// overwritten. The previous key is deleted before writing the new object.
// Using the kWriteDelete option a previous key with the same name is
// deleted only after the new object has been written. This option
// is safer than kOverwrite but it is slower.
2003-04-30 23:24 brun
* hist/src/TH1.cxx:
Minor correction in TH1::GetAsymmetry by Jason Seely
2003-04-30 18:29 brun
* tree/: inc/TBasket.h, inc/TBranch.h, src/TBasket.cxx,
src/TBranch.cxx:
From Philippe:
This patch adds the capability to transfer buffer directly from one tree to another
without creating the contained objects or even without uncompressing the buffer
(in the case where there is only one object in the buffer).
This code has been in usage in CDF for at least 1 1/2 year and the code has not been
changed since at least 12 months.
2003-04-30 18:22 brun
* meta/src/TStreamerInfo.cxx:
From Philippe:
If the user creates a dictionary for one of its STL containers, it can happen that
a TClass is created. However for now there is no corresponding StreamerInfo.
This patch avoids even attempting to write it.
2003-04-30 16:25 rdm
* gui/src/TGButton.cxx:
provide sensible default if pixmap argument is 0, don't crash anymore.
2003-04-30 16:09 rdm
* configure:
when configuring for pure Win32 skip headers and libs in the typical
cygwin /usr/include and /lib and /usr/lib directories.
2003-04-30 15:20 rdm
* test/Makefile:
small correction for Win32.
2003-04-29 18:14 brun
* test/Tetris.cxx:
from Valeriy Onuchin;
added SetInputFocus to Tetris
2003-04-29 16:15 brun
* test/Tetris.cxx:
Remove a printf statement left from a debugging session
2003-04-29 11:43 brun
* base/src/TView.cxx:
In TView::PadRange initialize two elements of the array xgraf that could be
left uninitialized.
2003-04-29 11:13 rdm
* Makefile:
small fix to support also gcc 3.3.
2003-04-28 19:41 rdm
* configure:
only say that "gmake install" should be done when --prefix has been specified.
2003-04-28 19:41 rdm
* build/package/rpm/tail.spec.in:
fix for description of ttf and icon directories.
2003-04-28 18:33 rdm
* win32/inc/TVirtualMenuItem.h:
SetItem() did not have a return type (void) specified.
2003-04-28 18:33 rdm
* config/Makefile.depend:
forgot special case for OpenGL for old win32.
2003-04-28 18:28 brun
* base/src/TKey.cxx:
From Philippe:
In the TKey constructor add a protection in case the compression algorithm
cannot compress the buffer. This protection was already in place in TBasket
for the case of Trees.
2003-04-28 18:18 brun
* base/src/TBuffer.cxx:
From Philippe:
TBuffer::MapObject can be called with a pointer worth '-1' in some cases. Without the
case, it tries to dereferences the pointer and of course crashes.
2003-04-28 17:31 rdm
* config/Makefile.depend:
fix dependency for linking old win32 version.
2003-04-28 17:20 brun
* base/src/TSystem.cxx:
From Philippe:
This patches prevent the confusion between an empty build location and a relative path!
2003-04-28 12:37 brun
* test/: Tetris.cxx, Tetris.h:
From Valeriy Onuchin:
Tetris.h, Tetris.cxx modified to have correct drawing under win32gdk
2003-04-28 12:35 brun
* win32gdk/src/GWin32Gui.cxx:
From Valeriy Onuchin
TGWin32::KeysymToKeycode(UInt_t keysym) was corrected.
Keboard keys are handled properly under win32gdk (e.g. Tetris game)
2003-04-28 12:35 rdm
* configure:
check always for shared libX11. Fixes problem when called with --disable-shared.
2003-04-28 12:21 rdm
* graf/Module.mk:
remove -p option from rootcint when generating G__Graf2.cxx, this is not
needed anymore (was remant from first TTF inclusion AFAIR). It was causing:
cxx: Warning: ./base/inc/RConfig.h, line 85: incompatible redefinition of macro
"R__B64"
# define R__B64
--------------^
warnings on Alpha cxx where R__B64 is predifined by rootcint.
2003-04-28 12:18 rdm
* base/inc/TFile.h, base/src/TFile.cxx, chirp/src/TChirpFile.cxx,
dcache/src/TDCacheFile.cxx, rfio/src/TRFIOFile.cxx:
fix ReOpen() problem reported by Bill Tannenbaum. We now save the real
filename that was used to open the file (in fRealName) and use that when
calling ReOpen().
2003-04-28 11:39 rdm
* cint/: inc/G__ci.h, lib/prec_stl/iterator, lib/prec_stl/vector,
src/opr.c:
import of CINT 5.15.85.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Fixes for typedef.c and expr.c included.
2003-04-28 11:01 rdm
* cint/: inc/G__ci.h, inc/longif.h, lib/longlong/longdbl.h,
lib/longlong/longlong.h, lib/pthread/Makefile, src/Api.cxx,
src/decl.c, src/newlink.c:
import of CINT 5.15.84.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Typedef.c fix included.
2003-04-28 11:00 brun
* cint/src/expr.c:
The array ebuf should be allocated with strlen(expression)+2 and not
with strlen(expression)+1
----------------------------------------------------------------------
2003-04-28 10:58 brun
* cint/src/typedef.c:
Protection added in case of a null string. Replace
if(temp[len-1]=='*') {
by
if(len > 0 && temp[len-1]=='*') {
2003-04-28 07:23 brun
* html/src/THtml.cxx:
From Axel:
Previous problems reported by Reiner hould all be fixed now.
The return type issue for c'tors and d'tors
should be fixed, too.
2003-04-26 15:34 rdm
* configure, build/win/makelib.sh:
fix win32 problems.
2003-04-26 09:52 rdm
* config/Makefile.depend:
new library dependency makefile, included by the main Makefile.
2003-04-26 09:51 rdm
* Makefile, configure, build/unix/makelib.sh, config/Makefile.aix,
config/Makefile.aix5, config/Makefile.aixegcs,
config/Makefile.alphacxx6, config/Makefile.alphaegcs,
config/Makefile.alphakcc, config/Makefile.freebsd,
config/Makefile.freebsd4, config/Makefile.hpuxacc,
config/Makefile.hpuxegcs, config/Makefile.hpuxia64acc,
config/Makefile.hurddeb, config/Makefile.in, config/Makefile.linux,
config/Makefile.linuxalphaegcs, config/Makefile.linuxarm,
config/Makefile.linuxdeb, config/Makefile.linuxdeb2,
config/Makefile.linuxdeb2ppc, config/Makefile.linuxia64ecc,
config/Makefile.linuxia64gcc, config/Makefile.linuxia64sgi,
config/Makefile.linuxicc, config/Makefile.linuxkcc,
config/Makefile.linuxpgcc, config/Makefile.linuxppcegcs,
config/Makefile.linuxrh42, config/Makefile.linuxrh51,
config/Makefile.linuxsuse6, config/Makefile.lynxos,
config/Makefile.macosx, config/Makefile.mklinux,
config/Makefile.sgicc, config/Makefile.sgiegcs,
config/Makefile.sgikcc, config/Makefile.sgin32egcs,
config/Makefile.solaris, config/Makefile.solarisCC5,
config/Makefile.solarisgcc, config/Makefile.solariskcc,
config/Makefile.win32, config/Makefile.win32gcc,
config/Makefile.win32gdk, gl/Module.mk, x11ttf/Module.mk,
x3d/Module.mk:
changes to support explicit linking with dependent libraries on all platforms.
Usage: ./configure linux --enable-explicitlink. Also cleanup of some GL
dependencies from the platform makefiles to just the gl/Module.mk.
Added detection of the libX11 location instead of hard coding it in the
platform makefiles.
2003-04-26 09:48 rdm
* gui/src/TGMenu.cxx:
typo in comment.
2003-04-25 09:36 brun
* graf/src/TGraph.cxx:
Fix a problem in TGraph::Smooth preventing option "CF" (smooth fill area)
to work correctly as well as option "e4" in TH1::Draw
2003-04-24 21:18 brun
* base/src/TSystem.cxx, config/rootrc.in:
From Philippe:
This patch insures to properly use the value of GetBuildDir or the build_dir parameters as a relative pathname. Note,
that when using (the new) SetBuildDir with a relative pathname, this pathname will be relative to the current directory
at the time of calling CompileMacro and not at the time of calling SetBuildDir.
I added ACLiC.BuildDir to rootrc.in
2003-04-24 21:00 brun
* tree/src/TBranch.cxx:
From Philippe:
The method TBranch::GetMother was returning the daughter of the top level mother instead of the top level mother. In
order for GetEntry to properly set the addresses it requires the top level mother to be returned by that functions.
2003-04-24 08:25 brun
* html/src/THtml.cxx:
From Axel Naumann: Fixes for a few problems reported by Reiner Rohfls
2003-04-21 17:16 brun
* base/inc/RVersion.h, build/version_number:
Tag version 3.05/04
2003-04-21 13:08 brun
* base/src/TProcessID.cxx:
In TProcessID::ReadProcessID, do not return null if file=0 and pidf=0,
but return the current processID. This case may happen when cloning
an object.
2003-04-20 23:26 brun
* treeplayer/src/TTreePlayer.cxx:
In TTreePlayer::DrawSelect, do not draw the generated histogram
if the number of selected rows is null and option "same" is not specified.
Instead clear the current pad.
2003-04-20 22:03 brun
* hist/src/TF2.cxx:
Implement TF2::DistancetoPrimitive and add a protection
to prevent calls to TF2::Eval outside the function range.
2003-04-19 23:34 brun
* test/: Makefile, Makefile.win32:
Implement changes originally proposed by Matt Langston
when running with VisualC++.NET
see http://root.cern.ch/root/roottalk/roottalk03/0270.html
2003-04-19 18:59 brun
* hist/: inc/TH2.h, inc/TH3.h, src/TH1.cxx, src/TH2.cxx,
src/TH3.cxx:
SetBinContent implementation moved from the header files to
the implementation files.
The new implementation is protected against wrong arguments.
It also increments the number of entries.
This solves another problem when drawing 2-d histograms filled
via SetBinContent.
2003-04-18 21:27 brun
* meta/src/TClass.cxx, treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch repair TClass to recognize a Foreign Emulated class, it also update TTree::Draw
to properly draw Foreign objects stored via a pointer in a parent class.
2003-04-18 18:42 brun
* meta/inc/TStreamerInfo.h, meta/src/TStreamerInfo.cxx,
tree/src/TBranchElement.cxx:
From Philippe:
In TBranchElement::SetAddress we have something like:
TClass *clm = gROOT->GetClass(GetClassName());
Int_t *offsets = clm->GetStreamerInfo()->GetOffsets();
...
if (mOffset > 0) fOffset = mOffset -offsets[fID];
However, if the class has been modified so that the order of the data member in the "live" class is different from
the version that was used to write the file, the fID does NOT point to the index of the needed datamember in the new
StreamerInfo. We have to retrieve it by name instead (hence the patch).
2003-04-18 14:55 brun
* hist/src/THStack.cxx:
Add another improvement by Jiri Masik when drawing THStack in log scale.
2003-04-18 12:03 brun
* hist/src/THStack.cxx:
Protection added in THStack::Paint when setting a logy scale
and a minimum not set for the stack.
(thanks to Jiri Masik)
2003-04-17 21:19 brun
* hist/src/THStack.cxx:
From Olivier:
Implement support for stacked lego plots with variable bin size histograms
2003-04-17 17:51 brun
* geom/src/: TGeoPcon.cxx, TGeoPgon.cxx, TGeoTrd1.cxx,
TGeoTrd2.cxx:
Some bug fixes and improvements by Andrei Gheata
2003-04-17 15:27 brun
* win32gdk/gdk/: dll/gdk-1.3.dll, lib/gdk-1.3.lib:
New version of the gdk libraries (from Valeriy Onuchin).
This new version has an important speed improvement when drawing lines.
Still bottlenecks with polymarkers and special line styles to be investigated.
2003-04-17 10:38 brun
* cont/src/TClonesArray.cxx:
Add the following comment in the TClonesArray constructors:
// The second argument s indicates an approximate number of objects
// that will be entered in the array. If more than s objects are entered,
// the array will be automatically expanded.
2003-04-17 09:59 brun
* histpainter/src/THistPainter.cxx:
Remove obsolete comment in THistpainter::Paint about option "hist'
2003-04-17 09:55 brun
* hist/: inc/TH1.h, src/TH1.cxx, src/TH2.cxx, src/TProfile.cxx:
Implement TH1::SetTitle (Olivier)
// if title is of the form "stringt;stringx;stringy;stringz"
// the histogram title is set to stringt,
// the x axis title to stringy, the y axis title to stringy,etc
Add comments in all TH1, TH2, TProfile constructors about this new
convention for the title.
2003-04-17 09:44 brun
* tree/src/TTree.cxx, tutorials/copytree3.C:
Add comments in TTree::CopyTree to refer to the copytree3.C tutorial
2003-04-16 18:47 brun
* mysql/src/TMySQLServer.cxx:
Changes by Volker Hejny to work with MySql4 and 3
2003-04-16 17:06 brun
* hist/src/TProfile.cxx:
TProfile::ProjectionX has (forgotten?) debug messages:
"before the loop"
"before SetEntries"
Thanks to alberto.lusiani@pi.infn.it
2003-04-16 16:20 brun
* hist/src/: TAxis.cxx, TH1.cxx:
From Olivier:
Add new functionality in the histogram title.
If the title is of the form
stringt;stringx;stringy;stringz
the histogram title will stringt, the x axis title will be stringx, etc
example:
TH1F* h1=new TH1F("h1","Histogram title;X Axis;Y Axis;Z Axis",100,1,100);
for (int i=0;i<=10000;i++) {
h1->Fill(gRandom->Gaus(50,30));
}
h1->Draw();
2003-04-16 13:15 rdm
* gui/: inc/TRootBrowser.h, src/TRootBrowser.cxx:
added DoubleClicked(TObject* obj) signal which is emitted when user
double clicks on an icon in TBrowser. By Valeriy O.
2003-04-15 19:54 brun
* meta/src/TStreamerInfo.cxx:
From Philippe:
This patches solves a problem where a TClonesArray was not saving/restoring properly its base class part when using
multiple inheritance.
2003-04-15 15:26 brun
* config/Makefile.alphacxx6:
Add option
EXTRA_CXXFLAGS := -Iinclude -long_double_size 64
in Makefile.alphacxx6
This option is apparently not the default with some alphacxx6 installations.
2003-04-15 11:51 brun
* graf/src/TGraphErrors.cxx:
Fix a typo in comments of TGraphErrors::Paint (thanks Ilka)
2003-04-15 11:37 brun
* tutorials/peaks.C:
Add a new tutorial illustrating how to use the peak finder (class TSpectrum)
associated with a complex minimization problem.
2003-04-15 11:36 brun
* hist/src/: TSpectrum.cxx, TSpectrum2.cxx:
Use math functions from TMath only.
Indent the classes with the ROOT convention.
2003-04-15 08:51 brun
* graf/src/TGraph.cxx:
Fix a portability problem (loop index Ip defined twice in the same function)
2003-04-14 22:06 brun
* g3d/src/TNode.cxx:
Fix in TNode::Master2Local by Robert Hatcher
2003-04-14 18:54 brun
* graf/src/TGraph.cxx, histpainter/inc/Hoption.h,
histpainter/src/THistPainter.cxx:
From Olivier.
Implement new histogram drawing option "]["
When this option is specified, the vertical lines for the first and last bin
are not drawn.
This option is interesting when superimposing many histograms on the same picture.
2003-04-14 16:57 rdm
* cint/: inc/G__ci.h, inc/longif.h, include/_iostream,
lib/longlong/longdbl.h, lib/longlong/longlong.h, src/fread.c,
src/newlink.c, src/sizeof.c, src/val2a.c:
import of CINT 5.15.83.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-04-14 16:13 rdm
* gui/src/TGListBox.cxx:
remove compiler warning.
2003-04-14 16:13 rdm
* base/inc/Riostream.h, meta/src/TStreamerInfo.cxx:
fix some VC++ v6 __int64 related problems. Note VC++ v7 is ok.
2003-04-14 15:59 brun
* hist/src/TSpectrum2.cxx:
Fix more portability problems
2003-04-14 15:53 rdm
* base/src/TVirtualPad.cxx:
fix for Solaris 8 and CC v6. Expand gPad in function definition compiler
does not like parenthesis of the gPad define. By Daniel Siggs.
2003-04-14 15:51 brun
* hist/src/: TSpectrum.cxx, TSpectrum2.cxx:
Fix a portability problem with math functions.
2003-04-14 15:10 rdm
* base/inc/Riostream.h:
add missing operator<<(std::ostream& os, __int64 i) for MS VC++6 (VC++7 is ok).
2003-04-14 14:57 brun
* tutorials/: clonesA_Event.C, clonesA_Event.cxx, clonesA_Event.h,
otto.C, otto.cxx, otto.h:
Rename tutorials otto into clonesA_Event
Add several improvements from Otto Schaille
2003-04-14 14:56 brun
* hist/: inc/LinkDef.h, inc/TSpectrum.h, inc/TSpectrum2.h,
src/TSpectrum.cxx, src/TSpectrum2.cxx:
Add a new version of TSpectrum.cxx with several new algorithms
and in particular a better peak finder.
Add new class TSpectrum2 (same as TSpectrum but for 2-D histograms)
2003-04-13 21:50 brun
* test/RootShower/Makefile:
Add win32gcc support
2003-04-13 19:52 rdm
* x11/src/TGX11.cxx:
remove CWBorderPixel attribute from XCreateWindow in FindBestVisual() for
Solaris. This seems to fix the problem on Solaris where finding the best
visual caused X11 to fail. Fix by Daniel Sigg.
2003-04-13 19:38 rdm
* base/inc/Rtypes.h, meta/src/TDataType.cxx:
fix Win32 compiling problems related to long long (which on Win32 is __int64).
2003-04-13 17:30 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Add new function
void TF1::SetParErrors(const Double_t *errors)
2003-04-12 23:48 brun
* graf/src/TGaxis.cxx:
Remove a limitation to 36 characters when calling strftime (Damir)
2003-04-12 19:14 brun
* graf/src/TGaxis.cxx, graf/src/TLatex.cxx, hist/src/TAxis.cxx:
Implement extension of TLatex by Damir Buskulic.
A TLatex string may be split in two lines (like a fraction without the line)
with the new command #splitline{top}{bottom}.
TAxis and TGaxis have been modified to take advantage of the new feature.
For example a new option in the time axis can show the date/time over two lines
with eg: #splitline{21 April 2003}{14:23:56}
2003-04-12 11:04 brun
* cint/inc/longif.h:
Fix a typo in previous correction
2003-04-12 10:58 brun
* cint/inc/longif.h:
Fix a problem for HP-UX (ifdef was inverted)
2003-04-11 23:58 brun
* base/src/TBuffer.cxx:
From Philippe:
in TBuffer::CheckObject, print a more accurate message when a class is not available.
2003-04-11 23:24 brun
* hist/src/TFormula.cxx:
Add more comments in the functions TFormula::SetParameters
2003-04-11 20:21 rdm
* base/inc/RConfig.h:
define _INCLUDE_LONGLONG for HPUX aCC. Fixes compiler error in TDSet.cxx.
2003-04-11 18:39 rdm
* proof/src/TProofProgressDialog.cxx:
change %ld to %lld in printf for Long64_t vars.
2003-04-11 15:05 brun
* histpainter/src/THistPainter.cxx:
Fix by Olivier for eliminating empty bins with options col.
2003-04-11 14:36 brun
* physics/src/TRotation.cxx:
Fix some portability problems in new code from Clark McGrew
2003-04-11 13:48 rdm
* base/inc/Bytes.h, base/inc/RConfig.h, base/inc/Rtypes.h,
base/inc/TBuffer.h, base/inc/TVirtualProof.h, base/src/TBuffer.cxx,
base/src/TPluginManager.cxx, base/src/TROOT.cxx,
base/src/TUUID.cxx, meta/inc/TDataType.h, meta/inc/TStreamerInfo.h,
meta/src/TCint.cxx, meta/src/TDataMember.cxx,
meta/src/TDataType.cxx, meta/src/TMethodCall.cxx,
meta/src/TStreamerInfo.cxx, proof/inc/TEventIter.h,
proof/inc/TProofPlayer.h, proof/inc/TProofProgressDialog.h,
proof/inc/TVirtualPacketizer.h, tree/inc/TDSet.h,
tree/inc/TSelector.h:
Big (unsigned) long long support patch. Following provided:
- basic typedefs in Rtypes.h: Long64_t and ULong64_t
- basic Long64 I/O support in TBuffer
- automatic Long64 I/O support in TStreamerInfo
- Long64 byteswap in Bytes.h
- Long64 type handling in classes like TDataMember, TDataType, TCint,
TROOT, etc
- Removal of obsolete Long64_t typedefs in many PROOF classes
No changes for non-Long64 data types (no backward incompatibilies).
I/O tested for Long64 basic type, and static and dynamic arrays using
handcoded streamers, rootcint generated streamers and automatic StreamerInfo
streamers.
2003-04-11 08:44 brun
* physics/: inc/TRotation.h, src/TRotation.cxx:
Additions of new functions in TRotation to rotate a vector using Euler angles.
Thanks to Clark McGrew <clark.mcgrew@sunysb.edu>
2003-04-10 22:29 brun
* cont/src/TClonesArray.cxx:
MakeZombie the TClonesArray in the second constructor in case the specified
class is invalid.
2003-04-10 22:12 brun
* graf/: inc/TGraph.h, inc/TGraphAsymmErrors.h, inc/TGraphErrors.h,
src/TGraph.cxx, src/TGraphAsymmErrors.cxx, src/TGraphErrors.cxx:
New set of functions added to TGraph, TGraphErrors, TGraphAsymmErrors to sort
a graph via a standard predefined function in TGraph or a user defined function.
Thanks to Axel Naumann
2003-04-10 19:09 brun
* histpainter/src/THistPainter.cxx:
Add additional comments describing the option "hist"
2003-04-10 17:25 brun
* base/src/TBuffer.cxx:
From Philippe:
The following patch protects CheckByteCount against a very corrupted byte count.
If the byte count was to push the buffer beyond its end, an error message is printed
and the buffer is set to exactly its end position.
2003-04-10 14:58 brun
* tree/src/TBranchElement.cxx:
Protection added in TBranchElememnt::Streamer in case a Tree has been read
from a file, then written again to the same file without any I/O
in between. In this case the TStreamerInfo of the referenced classes
is not available. (thanks to Peter Hristov for showing a simple case).
2003-04-10 11:05 brun
* graf/src/TGaxis.cxx:
Fix a compiler warning with a variable potentially not initialized
2003-04-10 11:00 brun
* g3d/src/TAxis3D.cxx, graf/inc/TGaxis.h, graf/src/TGaxis.cxx,
hist/inc/TAxis.h, hist/src/TAxis.cxx,
histpainter/src/THistPainter.cxx:
From Olivier;
New function SetTimeOffset in TAxis and TGaxis to change the time offset
for time Axis. This implied also changes in SetTimeFormat
2003-04-09 22:38 brun
* base/inc/Bytes.h, hist/inc/TAxis.h:
Fix for compiler warnings on Windows with VC++6 (thanks Stefan Ritt)
2003-04-09 18:32 brun
* hist/inc/TH1.h:
From Philippe:
This patch prevents the un-intentional copy of a TH1x into a TH1.
Actually .... is it legal to create a pure TH1? If it is not all (expect the default contructor for I/O)
constructors should be made protected (hence accessible from the inheriting class but not from the user).
2003-04-09 18:30 brun
* treeplayer/src/TTreePlayer.cxx:
From Philippe:
In the case where the tree contains 2 top level objects which happen to have a data member
that has the same name, the variable name for the branch pointer in the class created by
MakeClass (i.e. b_branchname) was identical. This corrects the situation.
2003-04-09 16:30 brun
* tree/src/TChain.cxx, treeviewer/src/TTreeViewer.cxx:
From Philippe:
There is still a problem with TChains and StartViewer (In the call stack one of the TDirectory object stored is deleted then used). This patch fixes the problem.
2003-04-09 10:48 brun
* tree/src/TTree.cxx, treeplayer/src/TTreePlayer.cxx:
Change comments in TTree::MakeSelector to document the selector Process function instead
of ProcessCut and ProcessFill.
In TTreePlayer::MakeClass, change the comments in the generated code for Process.
2003-04-09 10:18 brun
* gpad/src/TPad.cxx, postscript/src/TPostScript.cxx:
In TPad::Print do not print the Info message "file xxxx has been produced"
if the file could not be open
2003-04-08 19:07 brun
* meta/src/: TStreamerElement.cxx, TStreamerInfo.cxx:
Extend some internal arrays dimensioned to 512 to [kMaxLen] = 1024
in a few places in TStreamerInfo and TStreamerElement
2003-04-08 15:05 brun
* graf/src/TGaxis.cxx, hist/src/TAxis.cxx:
Fix compiler warning (Olivier)
2003-04-08 12:53 rdm
* proof/: inc/TProof.h, src/TProof.cxx, src/TProofServ.cxx:
fixes in the package manager to use gunzip -c to uncompress. Also run
BUILD.sh only on the unique nodes, while SETUP.C is run on all active nodes.
2003-04-08 10:16 brun
* graf/src/TGaxis.cxx, hist/src/TAxis.cxx:
The time offset is now saved in fTimeFormat in TAxis and TGaxis (by Olivier)
2003-04-07 23:41 brun
* histpainter/src/THistPainter.cxx:
Add new comments in THistPainter::PaintStat proposed by Jiri Masik
2003-04-07 17:29 rdm
* newdelete/src/NewDelete.cxx:
re-call ::free() when it has been interrupted by EINTR.
2003-04-07 02:48 rdm
* build/unix/makecintdlls.sh:
no need to build long long and long double dll anymore.
2003-04-07 02:48 rdm
* cint/: inc/Api.h, inc/G__ci.h, inc/global.h, inc/longif.h,
lib/longlong/longdbl.h, src/CallFunc.cxx, src/cast.c, src/decl.c,
src/fread.c, src/global2.c, src/newlink.c, src/sizeof.c,
src/struct.c, src/typedef.c:
import of CINT 5.15.82.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-04-07 00:03 brun
* tree/: inc/TBranchElement.h, src/TBranchElement.cxx:
Add new function;
Int_t TBranchElement::GetDataMemberOffset(TClass *cl, const char *name)
returning the offset of member name in class cl, one of its base class or class by composition.
TBranchElement::SetAddress uses this new function.
2003-04-06 23:30 rdm
* base/inc/RConfig.h, proofd/src/net.cxx, proofd/src/proofd.cxx,
rootd/src/net.cxx, rootd/src/netpar.cxx, unix/src/TUnixSystem.cxx:
port to Solaris GCC 3 by Eddy Offermann.
2003-04-05 18:53 brun
* hist/: inc/LinkDef.h, inc/TF12.h, src/TF12.cxx:
Add new class TF12.
A TF12 is a projection of a TF2 along X or Y and has the same behaviour as a TF1
// Example of a function
//
// TF2 *f2 = new TF2("f2","sin(x)*sin(y)/(x*y)",0,5,0,5);
// TF12 *f12 = new TF12("f12",f2,0.1,"y");
// f12->Draw();
2003-04-04 19:06 brun
* gpad/: inc/TCanvas.h, src/TCanvas.cxx:
add new method SetFolder to enable/disable a canvas to be browsable.
By default a canvas is not browsable. This allows browsing a collection
of canvases saved in a Root file by simpling double clicking on the canvas key(s)
2003-04-04 18:57 brun
* hist/: inc/TH1.h, src/TH1.cxx:
This patch from Philippe allows:
hadd = h1+h2+h3;
in gcc 3.2 and above (and in older gcc, it removes the warning message:
add.C:10: warning: initialization of non-const reference `class TH1F &' from rvalue `TH1F'
H1.h:396: warning: in passing argument 1 of `operator +(TH1F &, TH1F &)'
It also updates the syntax to be more standard compliant (by not relying as friend declaration
to be a function declaration).
2003-04-04 18:47 brun
* base/src/TStyle.cxx, graf/src/TPaveStats.cxx:
Following the remark below by Michael Wiesmann:
"Just a small comment: I was a little bit surprised by the amount of
numbers one gets when setting OptStat to 10000 (officially underflow)
in a 2d histogram.
As far as I checked there was no comment exceeding the information for
1D histos. At some point I understood by myself, but maybe it is
possible to add a comment either in TPaveStats or in the Users Guide".
New comments have been added to TPaveStats and TStyle to warn users
of the Under/Overflow options
// NOTE that in case of 2-D histograms, when selecting just underflow (10000)
// or overflow (100000), the stats box will show all combinations
// of underflow/overflows and not just one single number!
2003-04-04 18:35 brun
* tree/src/TBranchObject.cxx:
Protect TBranchObject::SetAddress when reading a Tree without the original classes.
2003-04-04 16:58 brun
* tree/src/TBranchElement.cxx:
Several corrections to support complex cases of inheritance and composition.
A new tutorial "otto.C" has been developed to test this complex situation.
2003-04-04 16:55 brun
* tutorials/: otto.C, otto.cxx, otto.h:
Add a new example illustrating how to create/read a Tree with a complex
class inheritance and composition.
2003-04-04 12:21 rdm
* proof/src/TEventIter.cxx, proof/src/TProof.cxx,
proof/src/TProofPlayer.cxx, proof/src/TProofServ.cxx,
tree/src/TDSet.cxx:
patch by Maarten. Remove several memory leaks.
2003-04-04 12:20 rdm
* proof/src/TProofProgressDialog.cxx:
correction in rate calculation.
2003-04-04 08:38 brun
* proof/src/TProofProgressDialog.cxx:
Fix a fatal compilation error
2003-04-04 03:01 rdm
* cint/inc/G__ci.h:
after fixes by Masa G__ONELINE can be again 256 for ROOT too.
2003-04-04 03:00 rdm
* tutorials/dialogs.C:
move to macros directory.
2003-04-04 02:58 rdm
* macros/Dialogs.C:
move Dialogs.C from tutorials to macros directory. It is an utility
macro and not a tutorial.
2003-04-04 02:55 rdm
* meta/inc/TFunction.h, tree/src/TSelectorCint.cxx:
small corrections in white space.
2003-04-04 02:55 rdm
* proof/src/TPacketizer2.cxx:
send last timer message before deleting the timer (was accidentally inverted).
2003-04-04 02:52 rdm
* config/Makefile.aix, config/Makefile.aix5, config/Makefile.win32,
config/Makefile.win32gcc, config/Makefile.win32gdk,
config/rootrc.in, proof/Module.mk, proof/inc/TProof.h,
proof/src/TProof.cxx:
build and use the new PROOF progress dialog.
2003-04-04 02:40 rdm
* proof/: inc/TProofProgressDialog.h, src/TProofProgressDialog.cxx:
new PROOF progress dialog. Will be compiled into the libProofGui.so plugin.
2003-04-04 02:39 rdm
* base/src/TQObject.cxx, base/src/TROOT.cxx, meta/inc/TCint.h,
meta/inc/TInterpreter.h, meta/src/TCint.cxx, meta/src/TClass.cxx:
make char* arguments in GetInterfaceMethod() and
GetInterfaceMethodWithPrototype() const char*.
In other classes remove now unneeded casts to char*.
2003-04-04 02:10 rdm
* base/: inc/TPluginManager.h, inc/TROOT.h, src/TPluginManager.cxx,
src/TROOT.cxx:
new features in the plugin manager: constructors can now be global functions.
In the rootrc file a global function is specified by starting the ctor with
"::". Also added support for plugin macros, instead of the lib name just
use the macro name (typically myplugin.C). The macro will be searched for in
the standard macro path.
Added new default argument to TROOT::LoadMacro() to check for the macros
existence (symmetric with LoadClass()). Used by the plugin manager to check
if a macro exists.
2003-04-03 22:20 brun
* g3d/src/TMixture.cxx:
In TMixture::Streamer take into account the case with a number of elements
of the mixture being negative. (thanks to Robert Hatcher)
2003-04-03 21:15 brun
* build/unix/wingcc_ld.sh:
New version from Axel
2003-04-03 19:46 brun
* base/src/TQObject.cxx:
Remove a compiler warning
2003-04-03 18:59 rdm
* config/Makefile.linuxgentoo:
temporarily removed while waiting for a better gentoo solution.
2003-04-03 18:55 rdm
* base/inc/TQConnection.h, base/inc/TQObject.h,
base/src/TPluginManager.cxx, base/src/TQConnection.cxx,
base/src/TQObject.cxx, meta/inc/TMethodCall.h,
meta/src/TMethodCall.cxx, tree/src/TSelectorCint.cxx:
G__CallFunc::SetArgArray() does now take an argument count if less than
all arguments are set (in case of default arguments one does not have
to specify all arguments). This change is now reflected in TMethodCall
and the classes that use this call. Execept for the signal/slot and
plugin manager code this is backward compatible in the ROOT sources
(e.g. since in TF1 the array contained always the values for all arguments).
The changes in the signal/slot and pluginmanager code make this change
also backward compatible for the user code.
2003-04-03 18:46 rdm
* cint/: inc/CallFunc.h, inc/G__ci.h, inc/global.h, src/Apiif.cxx,
src/CallFunc.cxx, src/decl.c, src/global2.c, src/ifunc.c,
src/loadfile.c, src/parse.c, src/pcode.c, src/typedef.c, src/var.c:
import of CINT 5.15.81.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Long long support still not optimal.
2003-04-03 17:31 brun
* graf/src/TGaxis.cxx:
Fix by Olivier for a problem reported by Daniel Cussol
when drawing an axis with option LG+
2003-04-03 17:19 brun
* build/unix/wingcc_ld.sh, cint/iosenum/iosenum.win32gcc3,
config/Makefile.win32gcc:
New files to install ROOT under Windows with win32gdk option. (from Axel)
2003-04-03 17:14 brun
* test/Makefile:
Simplification of the Makefile by Axel.
Add support for win32gcc
new variable EXPLLINKLIBS
2003-04-03 16:57 rdm
* config/ARCHS:
mention that win32gcc is for cygwin.
2003-04-03 16:52 rdm
* base/src/TFile.cxx, unix/src/TUnixSystem.cxx:
typo in error message in TUnixSystem. Small formatting change in TFile.
2003-04-03 16:51 rdm
* graf/inc/TTF.h, graf/src/TTF.cxx, x11ttf/Module.mk,
x11ttf/src/TGX11TTF.cxx:
back out Axel's change in TTF.h, TTF.cxx and x11ttf/Module.mk. TTF::GetBox()
is doing what he wanted and use that now in TGX11TTF.cxx.
2003-04-03 16:50 rdm
* README/README.PROOF:
update PROOF install description.
2003-04-03 16:38 brun
* meta/src/TStreamerInfo.cxx:
Fix from Clark McGrew in TStreamerInfo::ForceWriteInfo to avoid a recurvity
and infinite loop problem in case of a class like:
class aProblemChild: public TNamed {
aProblemChild *canBeNull;
};
2003-04-03 15:46 brun
* Makefile, configure, base/inc/RConfig.h, base/src/TFile.cxx,
base/src/TMapFile.cxx, base/src/TTimeStamp.cxx, base/src/TUUID.cxx,
base/src/TVirtualPad.cxx, build/unix/makelib.sh, config/ARCHS,
config/root-config.in, freetype/Module.mk, g3d/inc/TPolyMarker3D.h,
g3d/inc/X3DBuffer.h
graf/inc/TTF.h, graf/src/TTF.cxx, proof/src/TProofServ.cxx,
rootx/Module.mk, unix/src/TUnixSystem.cxx, x11ttf/Module.mk,
x3d/src/x3d.c:
Several changes by Axel Naumann to install ROOT under Windows/CYGWIN
with the gcc3.2 compiler and the X11 environment.
2003-04-03 11:10 brun
* hist/src/TProfile.cxx:
In the default constructor call BuildOptions to initialize internal
structures. This prevents crashes when calling functions like Sumw2
or other stupid calls made to an object created with thsi default constructor.
2003-04-03 08:42 brun
* hist/src/TH1.cxx:
In TH1::Streamer ResetBit(kCanDelete) when reading the histogram.
This bit is set by TTree::Draw when generating the "htemp" histogram
in such a way that TPad::Clear can automatically delete the histogram.
If the user makes this histogram persistent, this bit should be reset.
2003-04-02 19:18 brun
* cint/src/sizeof.c:
From Philippe and Brett Wiren:
The problem is that when writing the line with G__setnewtype, cint/rootcint tries to grab a comment for the typedef (so far so good). This is done by calling G__getcommenttypedef which read up to G__ONELINE-1 and stores it in its parameters which in this case is of size G__ONELINE (so, so far still no problem). However, it is then massaged by passing the same buffer to G__add_quotation which adds at least 2 characters.
In addition in your case, the typedef is a function typedef without any explicit comment. In this case, cint/rootcint comments the typedef by its declarations. However it starts from the beginning of the typedef to the end of the line with the typedef. Since your typedef is inside a macro, this line is longer than G__ONELINE.
Hence the slight out-of-bounds write.
Attached is a patch that insures that a typedef comments terminates at the first ';'. This solves your problems, however, in other cases this might chop the user specified comment if it happens to contains a ';' ....
2003-04-02 16:14 brun
* graf/src/TArrow.cxx:
Fix by Ilka in TArrow::SavePrimitive. The arrow angle is now saved.
2003-04-02 08:24 brun
* tree/: inc/TSelectorCint.h, src/TSelectorCint.cxx:
From Philippe:
TSelectorCint used (indirectly) G__MethodInfo objects that were
constructed using a G__ClassInfo constructed on the stack.
However the G__MethodInfo objects remember this address and
then tried to use it (and sometimes failed weirdly).
I fixed the problem by making sure that the G__ClassInfo objects
known by the G__MethodInfo objects had the same life time.
2003-04-02 08:21 brun
* utils/src/rootcint.cxx:
From Philippe:
rootcint is incorrectly detecting the presence of a default constructor in some cases
of template classes.
2003-04-01 22:16 brun
* treeplayer/src/TSelectorDraw.cxx:
From Philippe:
Now that a default TSelectorDraw can be part of TTreePlayer, it is possible
that notify is called of a TSelectorDraw without a tree attached to it. For
example in:
TChain *chainJet = new TChain("T");
chainJet->Add("/cdf/data40b/s0/qcd/chlebana/jobs/test/ntup1.root");
chainJet->MakeClass("test2");
causes a crash. The following patch solves the problem.
2003-04-01 19:44 brun
* graf/: inc/TGraphAsymmErrors.h, src/TGraphAsymmErrors.cxx:
TGraphAsymmErrors::Set must be defined to overwrite TGraphErrors::Set
(thanks to Matt Palmer)
2003-04-01 10:09 brun
* hist/src/TH1.cxx:
In TH1::UseCurrentStyle, do not set the kNoStats bit if gStyle->GetOptFit
is not null.
2003-03-31 18:04 brun
* hist/: inc/TF1.h, inc/TF2.h, inc/TF3.h, src/TF1.cxx, src/TF2.cxx,
src/TF3.cxx:
Make all GetRange functions const
2003-03-28 22:45 brun
* test/RootShower/: RootShower.cxx, RootShower.h:
New version of RootShower from Bertrand
2003-03-28 22:27 brun
* win32gdk/: inc/TGWin32.h, src/GWin32Gui.cxx, src/GdkThread.cxx,
src/TGWin32.cxx:
Several changes from Bertrand
2003-03-28 16:02 brun
* treeplayer/src/TSelectorDraw.cxx:
Initialize several members in the constructor.
In particular fNfill must be initialized when processing a THbookTree.
Thanks to Andrei Gaponenko and Konstantin Olchanski
2003-03-26 19:01 rdm
* cint/src/CallFunc.cxx:
turn off altogether fix 1840 since there are side effects when interpreted
objects have been explictitely newed, like TSelectorCint for PROOF.
2003-03-26 17:20 brun
* physics/src/TRotation.cxx:
Fix a typo in the documentation reported by Esben B. Klinkby
error in the Rx(a) rotation matrix.
| 1 0 0 |
Rx(a) = | 1 cos(a) -sin(a) |
| 0 sin(a) cos(a) |
First coulum, second row should be 0, not 1.
2003-03-25 18:45 rdm
* cint/src/CallFunc.cxx:
avoid null pointer to be passed to strcmp() in ExecIntrepretedFunc().
2003-03-25 02:44 rdm
* cint/: inc/Api.h, inc/CallFunc.h, inc/G__ci.h, inc/Type.h,
inc/common.h, inc/fproto.h, inc/longif.h, include/limits.h,
include/mkincld.c, lib/longlong/longdbl.h, lib/longlong/longlong.h,
lib/pthread/Makefile, src/Api.cxx, src/CallFunc.cxx,
src/DataMbr.cxx, src/Method.cxx, src/Type.cxx, src/cast.c,
src/decl.c, src/disp.c, src/expr.c, src/func.c, src/ifunc.c,
src/init.c, src/longif.cxx, src/macro.c, src/newlink.c, src/opr.c,
src/parse.c, src/pause.c, src/shl.c, src/sizeof.c, src/struct.c,
src/tmplt.c, src/typedef.c, src/val2a.c, src/var.c:
import of CINT 5.15.80.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Long long support still not optimal.
2003-03-21 21:57 brun
* g3d/: inc/TSPHE.h, src/TSPHE.cxx:
Initialize fNdiv in the non-default constructor.
GetNumberOfDivisions returns directly fNdiv
(thanks Brett Viren)
2003-03-21 17:23 brun
* histpainter/src/THistPainter.cxx:
The color palette for surfaces was computed differently than for the COL
plot.
2003-03-21 15:53 brun
* hist/inc/TLimit.h, hist/inc/TLimitDataSource.h,
hist/src/TLimit.cxx, hist/src/TLimitDataSource.cxx,
tutorials/limit.C:
Fix from Christophe Delaere.
All TH1F and TArrayF are replaced by TH1D and TArrayD respectively.
This solves some numerical precision problems observed with the float
implementation
2003-03-21 10:09 brun
* histpainter/src/THistPainter.cxx:
Fix to a precision problem (<= instead of <) in the algorithm allocating the color number
in function of the contour number.
2003-03-21 08:27 brun
* cint/inc/Api.h:
In Api.h change G__INFO_TITLELEN to 512
2003-03-20 23:33 rdm
* base/src/TAttText.cxx:
remove special WIN32 ifdef, not needed anymore.
2003-03-20 20:02 rdm
* build/package/rpm/tail.spec.in:
change absolute path for truetype font location to be prefixed by @prefix@.
2003-03-20 14:07 brun
* base/inc/Bytes.h:
To avoid compiler warnings, change statements like
buf[0] = -1
to
buf[0] = (char) -1;
Thanks to Jiri Masik
2003-03-19 22:50 brun
* win32gdk/gdk/dll/gdk-1.3.dll:
New gdk dll from Bertrand that solves the grid transparency problem on win98
2003-03-19 19:06 brun
* postscript/src/TPostScript.cxx:
Fix by Olivier for CUPS Postscript viewers
2003-03-19 18:25 brun
* tree/src/TChain.cxx:
This patch from Philippe allos to set the address of branch in a friend which is a TChain.
2003-03-19 15:01 rdm
* tree/inc/TChain.h, tree/inc/TDSet.h, tree/inc/TTree.h,
tree/src/TChain.cxx, tree/src/TDSet.cxx, tree/src/TTree.cxx,
treeplayer/src/TSelectorDraw.cxx:
replace argument "TCut" by "const TCut&" in method Draw(). Allows replacement
of TCut.h by a simple forward declaration.
2003-03-19 14:07 brun
* base/inc/LinkDef2.h, base/inc/TDSet.h, base/src/TDSet.cxx,
tree/inc/LinkDef.h, tree/inc/TDSet.h, tree/src/TDSet.cxx:
class TDSet moved from base to tree to avoid circurlar dependencies
2003-03-18 21:25 brun
* base/src/TStyle.cxx:
In TStyle::reset, one must call the TAttAxis::ResetAttAxis
with the right options "X", "Y" or "Z" for the corresponding axis.
2003-03-18 17:28 brun
* postscript/src/TPostScript.cxx:
From Olivier:
TPostScript::Initialize: move the line "%%Page: number 1" just after the
line "%%EndProlog" to be compliant with the CUPS printing software.
2003-03-18 17:13 rdm
* proof/: inc/TProof.h, src/TProof.cxx:
add protocol check to prevent connecting to older incompatible version
of the proof server. Fix bug that prevented recreating a proof session
after a first failed login attempt.
2003-03-18 16:56 brun
* README/CREDITS:
Add Kirill Filimonov for his contribution to the TMath Struve functions.
2003-03-18 16:49 brun
* base/: inc/TMath.h, src/TMath.cxx:
Split the function previously called TMath::Struve(Int_t n, Double_t x)
into two functions with names following the mathematical nomenclature for Struve/Bessel
functions and add two new functions (thanks to Kirill Filimonov)
to compute the modified Struve functions.
The new functions are:
static Double_t StruveH0(Double_t x);
static Double_t StruveH1(Double_t x);
static Double_t StruveL0(Double_t x);
static Double_t StruveL1(Double_t x);
2003-03-18 15:29 rdm
* base/inc/TDSet.h, base/inc/TVirtualProof.h, base/src/TDSet.cxx,
proof/inc/TProof.h, proof/inc/TProofPlayer.h,
proof/src/TEventIter.cxx, proof/src/TPacketizer2.cxx,
proof/src/TProof.cxx, proof/src/TProofPlayer.cxx,
proof/src/TProofServ.cxx, tree/src/TSelector.cxx:
PROOF patch from Maarten. Introduction of Draw() skeleton.
2003-03-18 14:26 rdm
* meta/src/TClass.cxx:
use Error() and not ::Error().
2003-03-17 21:17 brun
* README/CREDITS:
Extend Olivier Couet contribution
2003-03-17 21:15 brun
* README/CREDITS:
Add Andrei and Mihaela Gheata for the development of the geometry package
2003-03-17 20:23 rdm
* graf/src/TGraph.cxx:
few small typos in comment.
2003-03-17 20:04 rdm
* tutorials/graph.C:
remove usage of GetHistogram() for graph axis, logic has been simplified
and axis can be obtained directly from the graph.
2003-03-17 17:38 rdm
* gui/src/TGFrame.cxx:
in Cleanup() don't delete the globally owned fgDefaultHints.
2003-03-17 17:38 rdm
* gui/: inc/TGXYLayout.h, src/TGColorDialog.cxx:
updates in comments.
2003-03-17 15:30 rdm
* cont/src/TObjArray.cxx:
if in GetObjectRef() is obj==0 then return begin address of container.
Needed by Victor for his new I/O.
2003-03-17 14:02 brun
* graf/src/TGraph.cxx, histpainter/src/THistPainter.cxx:
From Olivier:
THistPainter::PaintHist
- In case of option "line" the center of the bin was used to fill
the vector pass to TGraph::PaintGrapHist. This generated
incompatibilities when option "line" was used with other options.
- Clean up, removed a lot of useless code.
TGraph::PaintGrapHist:
- Take into account the modification done in THistPainter::PaintHist
- In case of low resolution the histogram drawing was shifted by
one bin on the left.
2003-03-16 17:35 brun
* gui/src/TRootContextMenu.cxx:
Fix from Bertrand in TRootContextMenu constructor
2003-03-16 16:32 brun
* win32gdk/src/GdkThread.cxx:
Fix from Bertrand to solve a bug in clipboard operations.
2003-03-15 18:12 brun
* config/Makefile.linuxgentoo:
Makefile for Linux Gentoo (see http://amavis.org/)
provided by Dmitry Kustov.
ROOT version 3.05/03 is part of the "portage tree"
of Gentoo.
2003-03-15 15:21 rdm
* gui/src/TGClient.cxx:
add comment about the need to deleting the font loaded by GetFontByName().
2003-03-15 15:19 rdm
* gui/: inc/TGMenu.h, src/TGMenu.cxx:
change TGPopupMenu::fWidth and fHeight to fMenuWidth and fMenuHeight to
dis-ambigue them from TGFrame::fWidth and fHeight.
2003-03-14 20:21 rdm
* tree/inc/TChain.h, base/src/TFile.cxx, tree/src/TChain.cxx:
add method UseCache(). This allows the setting of file cache options for
the files opened by the chain. Same arguments and options as TFile::UseCache().
2003-03-14 15:31 brun
* win32gdk/gdk/dll/gdk-1.3.dll:
New version of this dll from Bertrand fixing a problem on NT4 systems.
2003-03-14 12:49 brun
* geom/: inc/TGeoArb8.h, inc/TGeoBBox.h, inc/TGeoCache.h,
inc/TGeoCompositeShape.h, inc/TGeoCone.h, inc/TGeoEltu.h,
inc/TGeoManager.h, inc/TGeoPara.h, inc/TGeoPcon.h, inc/TGeoPgon.h,
inc/TGeoShape.h, inc/TGeoSphere.h, inc/TGeoTrd1.h, inc/TGeoTrd2.h,
inc/TGeoTube.h, inc/TGeoVolume.h, src/TGeoArb8.cxx,
src/TGeoBBox.cxx, src/TGeoCache.cxx, src/TGeoCone.cxx,
src/TGeoEltu.cxx, src/TGeoManager.cxx, src/TGeoPara.cxx,
src/TGeoTrd1.cxx, src/TGeoTrd2.cxx, src/TGeoTube.cxx,
src/TGeoVolume.cxx:
From Andrei:
Add support for positioning
parametrized boxes into : TRAP, GTRA, PARA, TRD1 and TRD2. Now in D0
there are only 793 extrusions/overlaps within 0.1 cm.
2003-03-14 12:34 rdm
* gui/: inc/TGSplitter.h, src/TGSplitter.cxx:
rename fWidth and fHeight to fFrameWidht and fFrameHeight to avoid possible
name clash with baseclass fHeight and fWidth.
2003-03-14 12:33 rdm
* rint/src/TTabCom.cxx:
mod by Bertrand to support file name exapnasion on the command line in Win32.
2003-03-14 09:45 brun
* meta/src/TDataMember.cxx:
Fix (thanks Jiri masik) for a mismatch between new/delete in
the TDataMember destructor.
2003-03-11 17:59 brun
* geom/: inc/TGeoVolume.h, src/TGeoManager.cxx, src/TGeoTube.cxx,
src/TGeoVolume.cxx:
From Andrei:
modified files in order to fully map G3-like
volume parametrization : supports divisions of parametrized volumes
(e.g. D0). D0 has one Rmin/Rmax error in the definition, but still runs.
2003-03-11 16:05 brun
* base/inc/RVersion.h, build/version_number:
Stamp new version 3.05/03
2003-03-11 15:58 rdm
* build/unix/makecintdlls.sh:
don't build long long support, it is now built into CINT for ROOT.
2003-03-11 15:35 brun
* graf/src/TLatex.cxx, test/RootShower/.rootshowerrc:
Fix by Olivier in TLatex::Analyze for a problem appearing only on Windows
and preventing to draw correctly the SUM and Integral signs.
2003-03-11 15:27 rdm
* base/: inc/Bytes.h, inc/TBuffer.h, src/TBuffer.cxx:
fix in writing negative Long_t's, the unsused 4 bytes must be set to -1
and not 0 to be able to read on 64 bit machines at least up to 4 byte
negative longs. Without this fix -1 written on 32 bit was read as 4294967295
on a 64 bit machine.
2003-03-11 10:58 brun
* geom/inc/TGeoManager.h, geom/src/TGeoManager.cxx,
geom/src/TGeoMatrix.cxx, geom/src/TGeoVolume.cxx,
test/stressgeom.cxx:
- Main containers of TGeoManager changed from TList to TObjArray to fix
geometry building/IO speed problems for very large geometries
- stressgeom.cxx fixed to cope with this change
2003-03-11 10:19 brun
* test/stress.cxx:
Renormalize stress to take into account all the latest changes (CINT, TTreeFormula,
TStreamerInfo)
2003-03-11 08:57 brun
* base/src/TSystem.cxx:
Fix from Philippe for filenames including special characters like "@"
2003-03-11 08:55 brun
* cint/src/newlink.c:
Fix by Philippe to take into account the special character "@"
when using filenames
2003-03-11 08:48 brun
* geom/src/TGeoSphere.cxx:
Fix a compiler warning for a non-used argument
2003-03-11 03:27 rdm
* base/src/TSystem.cxx:
remove some unused arguments from CopyFile().
2003-03-11 02:18 rdm
* meta/src/TStreamerInfo.cxx:
comment out unused argument to remove compiler warning.
2003-03-11 02:11 rdm
* cint/: inc/G__ci.h, inc/common.h, inc/dllrev.h, inc/global.h,
inc/longif.h, include/ReadF.h, include/mkincld.c, include/stddef.h,
lib/dll_stl/mp.h, lib/dll_stl/multmp.h, lib/prec_stl/utility,
lib/pthread/Makefile, src/Api.cxx, src/auxu.c, src/cast.c,
src/expr.c, src/func.c, src/global2.c, src/ifunc.c, src/inherit.c,
src/init.c, src/longif.cxx, src/newlink.c, src/parse.c,
src/pause.c, src/struct.c, src/stub.c, src/tmplt.c, src/val2a.c,
src/value.c, src/var.c:
import of CINT 5.15.78.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
This new version runs again all standard tests. However, fix 1809 is disabled
in G__ci.h. Includes long long natively in CINT. Includes latest tmplt.c
fix from Philippe. G__ONELINE is 512.
2003-03-10 19:38 brun
* cint/src/tmplt.c:
From Philippe:
This patch solves the problem added recently to the template parsing routines (tmplt.c).
2003-03-10 18:33 brun
* main/src/g2root.f:
New version from Andrei fixing a problem when converting G3 volume names
terminating with the character "0"
2003-03-10 15:57 rdm
* base/src/TApplication.cxx, config/rootrc.in:
remove reference and loading of libwin32ttf.
2003-03-10 14:39 brun
* test/RootShower/: RSVersion.h, RootShower.cxx, RootShower.h:
From Bertrand:
- Do not reset 3D view at each new event, but keep user selected angles.
2003-03-10 10:08 rdm
* test/RootShower/Makefile:
compile with -O instead of -O2. O2 fails on WinXP VC++7 .NET.
2003-03-10 09:44 rdm
* config/Makefile.win32gdk, win32gdk/Module.mk:
correction if FREETYPELIB dependency, needed for parallel builds.
2003-03-10 08:57 brun
* Makefile, config/Makefile.win32gdk, graf/inc/TTF.h,
win32gdk/Module.mk, win32gdk/inc/TGWin32.h,
win32gdk/src/GWin32Gui.cxx, win32gdk/src/TGWin32.cxx:
From Bertrand
Remove directory win32ttf. Code moved to win32gdk
2003-03-08 21:00 brun
* base/src/TQObject.cxx:
From Mathieu De Naurois,
Addition of LOckGards to run in a multi-threded program
2003-03-08 17:07 brun
* meta/src/TStreamerInfo.cxx:
in ReadBuffer and ReadBufferClones, one should not create the object
in case kAnyP before calling the pstreamer function. pstreamer will do it
automatically when calling the operator >>
2003-03-07 23:21 brun
* tutorials/dirs.C:
Fix a typo
2003-03-07 19:56 brun
* cint/src/tmplt.c:
Fix by Philippe :
"I discovered the problem. It was not with fgets but the file generated by G__replacetemplate. In the case where a symbol was followed by
a space,
it was removing all susequent white space (including new lines). I modified
the code to keep the newlines (See attached diffs and tar file).
2003-03-07 16:47 brun
* treeplayer/src/TSelectorDraw.cxx:
In TSelectorDraw::Notify, the member fWeight must also be updated
with the weight of the new Tree.
2003-03-07 11:54 brun
* tree/src/TBranchObject.cxx:
Update the logic in TBranchObject::Streamer when the branch is diverted
to a separate file.
2003-03-07 11:45 brun
* hist/src/TF2.cxx:
Simplify logic in TF2::Paint to take into account the changes in TStyle::SetOptStat
2003-03-07 11:18 brun
* base/src/TStyle.cxx, graf/inc/TPaveStats.h,
graf/src/TPaveStats.cxx:
In TPaveStats move functions GetOptFit,GetOptStat,SetOptFit,SetOptStat
from the header file to the implementation.
The Get functions take into account the current TStyle setting.
The set functions reset the TStyle setting.
In TStyle::SetOptFit and SetOptStat, set the bit kTakeStyle in the "stats"
object of the current pad and set the pad bit modified.
With these changes, when selecting the "Show Stats or Fit" in the canvas
Option menu, the stats box is automatically updated with the corresponding options.
2003-03-07 11:13 brun
* histpainter/src/THistPainter.cxx:
Change const Int_t kCannotRotate = BIT(11);
to const UInt_t kCannotRotate = BIT(11);
2003-03-07 09:40 brun
* hist/src/TH1.cxx:
Mods in the TH1 destructor and TH1::RecursiveRemove to protect against recursive
infinite loops when deleting an object owned by the histogram list of functions.
2003-03-07 09:37 brun
* gpad/src/TPad.cxx:
Modify TPad::RecursiveRemove to set fView=0 in case the object in the argument
is fView.
2003-03-07 09:36 brun
* base/src/TView.cxx:
Set bit kMustCleanup in all the constructors. When a TView object is
deleted with the mouse, the pad is intructed via (TPad::RecursiveRemove)
to set fView to 0 and the canvas is instructed to set fSelected to 0.
2003-03-07 08:55 brun
* geom/src/TGeoPcon.cxx:
Fix by Andrei for the computation of Safety
2003-03-07 08:20 brun
* base/src/TQConnection.cxx:
The class TQConnection uses CINT and is not protected for multi-threading.
This patch from Mathieu de Naurois adds R__LOCKGUARD(gCINTMutex) at
several places in the code.
2003-03-07 01:01 brun
* hist/src/TH1.cxx:
Undo part of the corrections in the TH1 destructor.
Had side effects in stress
2003-03-07 00:48 brun
* hist/: inc/TH1.h, src/TH1.cxx:
Implement TH1::RecursiveRemove. This function is used to automatically
clean the list of functions when an object in this list (eg the stats box)
is deleted via the mouse.
The destructor has been protected against infinite loops.
2003-03-07 00:07 brun
* tree/src/TChain.cxx, treeplayer/src/TTreeFormula.cxx:
From Philippe;
This patch corrects 2 problems.
The first one is one where the list of friends of a tree of a chain was not properly updated if the friend was added after the tree was
loaded (i.e c->LoadTree(); c->AddFriend(); ).
The second one was a failure of TTreeFormula to request (sometime) the proper entry of a branch if this branch was part of a friends of a
chain where the tree where uneven in lenght(but the 2 chains were of the same length).
2003-03-06 22:53 brun
* tree/src/TBranchElement.cxx:
In TBranchElement::Streamer, add logic to write the TBranch object in
the file where the branch is diverted in addition to the file
containing the Tree header. This logic was in TBranch before.
2003-03-06 22:51 brun
* tree/src/TBranch.cxx:
Fix a problem happening in some rare cases in TBranch::GetMother.
Delete the code in Streamer writing the branch in a separate file.
This is now done in TBranchElement::Streamer.
2003-03-06 22:49 brun
* base/src/TFile.cxx:
Modify TFile::Recover to not print a message when recovering containing
only TBaskets and a TStreamerInfo object. This case happens when
splitting branches of a Tree to separate files.
2003-03-06 18:09 rdm
* base/src/TMD5.cxx:
fixed error in byte swapping (md5's were different on machines with different
endianness).
2003-03-06 16:27 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Implement functions
TAxis *TF1::GetXaxis() const
TAxis *TF1::GetYaxis() const
TF1::GetHistogram is internally cally TF1::Paint to force the generation
of the histogram.
TF1::Paint modified to preserve existing axis titles in case one switches
between lin and log scales
2003-03-06 00:40 brun
* tree/src/TBranch.cxx:
restore previous version of TBranch.
2003-03-06 00:36 brun
* meta/src/TClass.cxx, tree/src/TBranch.cxx,
utils/src/rootcint.cxx:
From Philippe:
This simple patch improve the situation as far as private inheritance is concerned. In particular this allow usages like :
class X : Y, public TObject {};
This also corrects the temporary objects deletion in TClass::BuildRealData which was incorrect for classe inheriting from
TObject only as 2nd or later inheritances.
2003-03-06 00:33 brun
* tree/: inc/LinkDef.h, src/TBranchElement.cxx,
src/TBranchObject.cxx:
Implement a custom Streamer for TBranchElement and TBranchObject.
The custom Streamer is required for two reasons:
- to call ForceWriteInfo for all classes referenced by the class in the branch
- to avoid a recursivity problem when the branch is diverted to a separate file.
2003-03-06 00:31 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerInfo.cxx:
In method TStreamerInfo::ForceWriteInfo, add a second optional argument
Bool_t force=kFALSE.
When the argument is set to kTRUE, ForceWriteInfo will loop on all
classes referenced by this class, calling in turn the ForceWriteInfo.
This logic was necessary to force the TStreamerInfo object to be written
in the file even when the class has no data members.
2003-03-05 21:40 brun
* graf/src/TGraph.cxx:
Thanks to Jiri Masik for reporting a problem in the TGraph constructor
with a TH1 as argument. One should set the max/min of the graph
using the min/max of the original histogram.
2003-03-05 21:11 brun
* gpad/src/TDialogCanvas.cxx:
In the TDialogCanvas with the long argument sequence, invoke the TCanvas
constructor with a negative value for wtopx instead of ww
(thanks to Jorg Stelzer)
2003-03-05 17:08 rdm
* base/inc/LinkDef3.h, base/inc/TVirtualProof.h,
proof/inc/LinkDef.h:
export global gProof (TVirtualProof) via libCore and not via libProof.
2003-03-05 17:07 rdm
* proof/: inc/TProof.h, inc/TSlave.h, src/TProof.cxx,
src/TProofServ.cxx, src/TSlave.cxx:
implement protocol version exchange between client - master and master - slave.
This allows from now on to be backward compatible in the communication protocol.
2003-03-05 15:28 brun
* win32gdk/src/: GWin32Gui.cxx, GdkThread.cxx:
patch from Bertrand
I found a bug in gdk implementation :
key state is actually not returned !!!
QueryPointer actally returns windows as described in GWin32Gui.cxx, but the
window's event mask instead of the keyboard state ! (sorry).
It is fixed now (will send patch asap):
It is a part of my code and not gdk one, keyboard state is asked only at
QueryPointer calling time with this Win32 function :
GetKeyboardState (kbd);
The GetKeyboardState function copies the status of the 256 virtual keys to
the specified buffer (BYTE kbd[256];).
And then converted into a single UInt value returned by GdkThread.
2003-03-05 12:04 brun
* minuit/src/TMinuit.cxx:
Remove printf statements left from a debugging session
2003-03-05 12:02 brun
* minuit/src/TFitter.cxx:
Replace gMinuit by the new member fMinuit
2003-03-05 12:00 brun
* minuit/: inc/TFitter.h, src/TMinuit.cxx:
Add a new member fMinuit to replace the global TMinuit
2003-03-05 08:16 brun
* gpad/: inc/TAttFillCanvas.h, inc/TAttLineCanvas.h,
inc/TAttMarkerCanvas.h, inc/TAttTextCanvas.h, inc/TDialogCanvas.h,
src/TAttFillCanvas.cxx, src/TAttLineCanvas.cxx,
src/TAttMarkerCanvas.cxx, src/TAttTextCanvas.cxx,
src/TDialogCanvas.cxx:
Change the arguments in theh constructors from type UInt_t to Int_t
to be consistent with the corresponding arguments in TCanvas
2003-03-04 23:24 brun
* tree/: inc/TBranch.h, inc/TBranchElement.h, src/TBranch.cxx,
src/TBranchElement.cxx:
Move getter functions GetMother and GetSubBranch from TBranchElement
to the base class TBranch
2003-03-04 18:29 rdm
* proof/: inc/TProof.h, inc/TProofLimitsFinder.h, inc/TProofServ.h,
src/TProof.cxx, src/TProofServ.cxx:
implementation of package manager. Package manager allows the distribution,
installation and setting up of user code in the PROOF sandbox environment.
The package manager distributes so called PAR files, which are standard
tarred and gziped files, but with extension .par. A file "mylibs.par" is
required to untar into a directory "mylibs". A PAR file contains in addition
to the user's code and libraries one special directory PROOF-INF that contains
two scripts: BUILD.sh and SETUP.C. BUILD.sh is a shell script that is
used to build the user's libraries on the PROOF cluster (which might be
of a different architecture/compiler then the user's machine). SETUP.C is
a ROOT macro that is used to load the user's libraries, built by BUILD.sh,
and to do any other kind of setup needed to run with the user libraries.
These scripts are executed in the package directory (not the PROOF-INF
directory). An example of a BUILD.sh is:
#! /bin/sh
make libEvent.so
An example of SETUP.C is:
void SETUP()
{
gSystem->Load("libEvent");
}
The package manager API is:
gProof->UploadPackage()
gProof->EnablePackage()
gProof->ClearPackage()
2003-03-04 18:09 rdm
* proof/src/TProofPlayer.cxx:
handle case where selector file was specified with full path name (use
gSystem->BaseName() to strip path off).
2003-03-04 18:08 rdm
* proof/src/TPacketizer2.cxx:
use Long64_t in several places where entries were used (was Int_t).
2003-03-04 18:07 rdm
* base/inc/TVirtualProof.h:
comment out unused arguments to avoid compiler warnings.
2003-03-04 18:06 rdm
* base/inc/MessageTypes.h:
remove several unused PROOF message types (left over from 4 year old prototype).
2003-03-04 18:04 rdm
* tutorials/guitest.C:
SafeDelete() is not availabe in the interpreter.
2003-03-04 08:14 brun
* cint/lib/posix/posix.h:
new attempt to build posix.so on alpha/cxx
2003-03-03 23:31 brun
* cint/lib/posix/posix.h:
fix a typo
2003-03-03 22:35 brun
* cint/lib/posix/posix.h:
m Philippe,
This patch should fix cintdlls on alpha gcc
and fix stdcxxfunc.a and posix.a for alpha cxx
2003-03-03 22:31 brun
* cint/lib/posix/posix.h:
fix by Philippe for alpha/gcc
2003-03-03 21:42 brun
* base/src/TSystem.cxx:
From Philippe,
Repair ACLiC so that it properly finds the extra_linkdef when it is stored in the same directory as the script
and when a custom library name is specified.
2003-03-03 21:29 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintTable, call the Paint functions when
the number of entries is negative (can be set on purpose by the user)
2003-03-03 21:02 brun
* base/inc/TDatime.h:
Fix in TDatime constructor (thanks to Mathieu de Naurois)
root [12] TDatime t((UInt_t)time(0));
root [13] t.Print()
Date/Time = Sat Sep 18 01:59:00 2010
root [14] t.Set((UInt_t)time(0))
root [15] t.Print()
Date/Time = Mon Mar 3 20:28:19 2003
2003-03-03 19:57 brun
* cint/lib/: posix/posix.h, prec_stl/multiset,
stdstrct/stdcxxfunc.h:
This fix from Philippe should fix gcc295 and aix/xlc
2003-03-03 19:50 brun
* meta/src/TClass.cxx:
Thanks to Victor for pointing to an incoherency in TClass::BuildRealDataFake.
GetFullName should be called instead of TStreamerElement::GetName.
2003-03-03 19:20 brun
* base/src/TSystem.cxx:
From Jiri Masik
there is a problem with loading an up-to-date version of a script via
G__loadfile+ACLiC if the script filename starts with the tilde (CVS
head, linuxdeb2ppc). It works if the same file is loaded by
gROOT->LoadMacro("~/prog/root_jm/t2load.cxx+");
It looks like gSystem->GetPathInfo is not supposed to work with ~
paths as at the end TUnixSystem::UnixFileStat employs
stat(filename,....) so I think filename_fullpath should be used
instead of filename in
2003-03-03 09:00 brun
* gpad/src/TPad.cxx:
Implement a suggestion from Brett Viren:
The TCanvas::Print("file.ps(") mechanism is very useful, but it can be
a little inconvenient to have the action of opening/closing a file
being atomic with printing a page. Particularly if pages are being
generated in some loop one needs to detect the special cases of first
and last page and then munge the argument to Print() accordingly.
To keep the API the same I'd think choosing a new hint, say "[" and
"]" would work. Example:
canvas->Print("file.ps["); // No actual print, just open file.ps
for (int i=0; i<10; ++i) {
// fill canvas for context i
// ...
canvas->Print("file.ps"); // actually print canvas to file
}// end loop
canvas->Print("file.ps]"); // No actual print, just close.
2003-03-02 12:51 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Implement functions TF1::GetMaximum and TF1::GetMinimum returning the
maximum/minimum value of the function in a specified range.
These two functions are variant of the existing functions GetMaximumX and
GetMinimumX returning the position of the max/min along X.
2003-03-02 12:39 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::BuildOld, replace printf statements by Warning or Error messages.
2003-03-02 08:33 brun
* cint/lib/prec_stl/vector:
New version of vector now running under aix (from Philippe)
2003-03-01 23:36 brun
* mc/src/TMCVerbose.cxx:
Fixes by Ivana to get the class compiled on all machines.
2003-03-01 23:35 brun
* meta/src/TClass.cxx:
Several changes in TBuildRealData::Inspect
- increase size of local buffer rname from 256 to 512.
- filter members that are not real data members of the class.
For example when building the TRealData for TPaveStats that derives
from TPaveText, one also builds the Realdata for TPaveText. In teh previous
version, all Realdata members of TPaveStats were also duplicated
in all base classes waisting a lot of space in memory.
This also fixes another problem when Inspecting a TPaveText (eg the histogram
title in a pad). The previous version crashed because members of TPaveStats
were in TPaveText and Inspect was confused.
2003-03-01 23:29 brun
* base/src/TDirectory.cxx:
Protect TDirectory::ReadKeys in case one key contains garbage (file
has been overwritten).
2003-02-28 23:57 brun
* treeplayer/src/TTreePlayer.cxx:
In TTreePlayer::Copytree, one must call UpdateFormulaLeaves for the selection TtreeFormula
when moving to a new Tree in a TChain.
2003-02-28 23:40 brun
* cint/lib/prec_stl/vector:
This new version from Philippe should make an improvement on AIX/xlC
2003-02-28 21:26 brun
* meta/: inc/TClass.h, src/TClass.cxx, src/TStreamerInfo.cxx:
From Philippe:
Before this patch doing the following in cint
{
class Event;
new TFile("test.root");
}
resulted in the erroneous message:
The StreamerInfo of class Event read from file test.root
has the same version (=1) as the active class but a different checksum.
You should update the version to ClassDef(Event,2).
Do not try to write objects with the current class definition,
the files will not be readable.
This patch fixes this problem. It also initialize some forgotten data members.
It also introduce TClass::kIsEmulation, a new bit set for all 'fake classes'
(or emulated classes).
2003-02-28 21:24 brun
* hist/src/TH1.cxx:
In TH1::Reset do not delete the TPaveStats "stats" object (if there is one).
In multithreaded applications, it could happen that a thread resets
the histogram at a high frequency while another thread display the histogram.
During the paint of the TPaveStats, it could happen that Reset deletes the object.
Now protected.
2003-02-28 21:20 brun
* build/unix/makecintdlls.sh, cint/lib/longlong/longlong.h,
cint/lib/posix/posix.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/stdstrct/stdcxxfunc.h:
From Philippe,
Fixes to build cintdlls on Solaris and Sgi/CC
2003-02-28 12:09 rdm
* base/inc/RConfig.h, test/Makefile, test/Makefile.win32,
test/RootShower/Makefile:
enable R__ANSISTREAM for VC6 (was already enabled for VC7 (.NET)). Now
VC6 and VC7 binaries and dll's can be mixed. Tested this on Win2000 with
VC6 and on WinXP with VC7. On both platforms all tests and RootShower work.
2003-02-28 10:27 brun
* meta/src/TStreamerInfo.cxx:
Correct ReadBufferConv and ReadBufferClonesConv when converting arrays of pointers
from one type to another type.
2003-02-28 08:27 brun
* cint/lib/prec_stl/: deque, list, map, multimap, multiset, set,
vector:
New patch from Philippe to repair a broken version with gcc
2003-02-27 23:43 brun
* build/unix/makecintdlls.sh:
Undo previous change introduced by mistake
2003-02-27 23:31 brun
* build/unix/makecintdlls.sh:
Fix by Philippe that should improve make cintdlls under aix
2003-02-27 22:55 rdm
* base/inc/Windows4Root.h, winnt/src/TWinNTSystem.cxx:
fix for new CopyFile() method.
2003-02-27 22:51 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Add new function
Double_t TF1::GetMinimumX(Double_t xmin, Double_t xmax) const
// return the X value corresponding to the minimum value of the function
// Method:
// the function is computed at fNpx points between xmin and xmax
// xxmax is the X value corresponding to the minimum function value
// An iterative procedure computes the minimum around xxmax
// until dx is less than 1e-9 *(fXmax-fXmin)
The function GetMaximumX had already been introduced a few weeks ago.
2003-02-27 22:10 brun
* treeplayer/: inc/TTreeFormula.h, src/TTreeFormula.cxx:
Remove the unused and non-initialized member fInstance.
Increment class version number.
2003-02-27 22:09 brun
* treeplayer/src/TTreePlayer.cxx:
In TTreePlayer::Scan, one must call UpdateFormulaLeaves for the selection
expression if there is one, when moving to a new file in a TChain.
2003-02-27 21:26 brun
* cint/lib/: dll_stl/vec.h, prec_stl/deque, prec_stl/list,
prec_stl/map, prec_stl/multimap, prec_stl/multiset, prec_stl/set,
prec_stl/vector:
From Philippe
fix to compile the cintdlls with KCC
2003-02-27 20:03 brun
* cint/lib/longlong/: longdbl.h, longlong.h:
From Philippe
The files longlong.h and longdl.h are missing a few 'inline' keyword. Without those keyword some compilers (at least gcc
3.2.1) end-up duplicating the G__ateval symbols
for long longs and long doubles.
2003-02-27 19: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 method:
int CopyFile(const char *from, const char *to, Bool_t overwrite)
Method Rename() now returns in int (was void) to be consistent with all
other file handling methods.
2003-02-27 19:40 rdm
* utils/src/rootcint.cxx:
check in rootcint for definition of R__B64 so that when Rtypes.h is
processed the correct typedefs are put in the dictionary. Fixes
sizeof(Seek_t) problem in interpreter.
2003-02-27 19:36 rdm
* base/inc/LinkDef2.h:
export TRefCnt to CINT.
2003-02-27 13:17 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::BuildOld, always force a call to BuildRealData
just in case one of the base classes of this class is an abstract class.
2003-02-27 12:50 rdm
* Makefile, main/Module.mk:
proofserv does not depend anymore on libGpad and libTreePlayer.
2003-02-27 12:42 rdm
* hist/src/TH1.cxx:
few typos in comments.
2003-02-27 12:40 rdm
* hist/src/TFormula.cxx:
fix in ipar validity check in GetParName().
2003-02-27 12:38 rdm
* build/: unix/makeinfo.sh, win/makeinfo.sh:
print correctly script name.
2003-02-27 12:35 rdm
* build/win/f77.sh:
mods so HP/Compaq Visual Fortran 6.x plays nicely with VC .NET.
2003-02-26 23:27 brun
* hist/src/TH1.cxx:
In the TH1 functions Add, Divide and Multiply reset the Minimum and Maximum
in case one or both were set in the original histograms.
2003-02-26 22:06 brun
* mc/src/TMCVerbose.cxx:
Put code of TMCVerbose::Stepping under conditional compilation.
Code from Ivana compiles only with gcc3.2
2003-02-26 17:24 rdm
* config/: Makefile.aix, Makefile.aix5, Makefile.win32,
Makefile.win32gdk:
libMC depends now on libEG.
2003-02-26 16:09 brun
* base/src/TFile.cxx:
Fix in TFile::Init when opening a file in read or update mode
and in 64 bits mode.
2003-02-26 15:59 brun
* base/src/TFree.cxx:
In TFree::getBestFree replace an Int_t by Seek_t
(discovered by testing big files on alpha)
2003-02-26 14:31 brun
* mc/src/TMCVerbose.cxx:
From Ivana:
new class TMCVerbose for printing detailed info from MC application
2003-02-26 11:11 brun
* base/inc/TFile.h, base/inc/TFree.h, base/src/TDirectory.cxx,
base/src/TFile.cxx, base/src/TFree.cxx, base/src/TKey.cxx,
tree/src/TBasket.cxx:
Implement all the changes required to process files > 2 GBytes.
Activating this option will imply changing Seek_t to long long.
We hope that Masa will implement the longlong type by default
in the not too distant future in CINT.
The file format remains compatible for files smaller than the
threshold set in TFile::kStartBigFile = 2 GigaBytes.
The changes are the following:
in TFile
========
Remove the enum kBegin, kUnits (not used anymore).
Add new enum kStartBigFile
When creating a new file (in TFile::Init) fBEGIN is now set to 100
bytes instead of 64. TFile::WriteHeader is called assuming that
the file will be smaller than kStartBigFile.
When closing the file, if the file is bigger than kStartBigFile,
a new format is used in WriteHeader using 64 bits to store all
values of type Seek_t and the file version (fVersion) is set
to fVersion+1000000.
All functions like TFile::Map, TFile::Recover have been adapted
to follow the new convention.
in TDirectory
=============
TDirectory::Sizeof has been modified to return 12 bytes in addition
for fSeekDir, fSeekParent and fSeekKeys when writing a directory
in a file bigger than kStartBigFile.
The TDirectory constructor is setting a temporary bit to inform
the function Sizeof that it has to return 12 addtional bytes.
TDirectory::FillBuffer writes fSeekDir, fSeekParent and fSeekKeys
with 64 bits if necessary. The version number of the directory
is set to TDirectory class version + 1000 in this case.
Corresponding changes in TDirectory::ReadBuffer and TDirectory::Streamer.
in TFree
========
TFree::Sizeof has been moved to the implementation file.
Like for TDirectory, the functions FillBuffer and ReadBuffer have been
modified to write fFirst and fLast in 64 bits if necessary.
When writing in 64 bits mode, the TFree version is incremented by 1000.
in TKey and TBasket
===================
Same changesas in TDirectory in teh functions FillBuffer, ReadBuffer
and Streamer. The TKey version number is incremented by 1000
when writing in 64 bits mode.
2003-02-25 18:58 brun
* base/src/TBuffer.cxx:
A few protections in case of buffer overrun
2003-02-25 18:55 brun
* meta/src/TClass.cxx:
Add several protections in case of overwritten files or missing TStreamerInfo.
2003-02-25 18:21 rdm
* net/src/TUrl.cxx:
add special case for windows in case defaultIsFile is true. Windows file
names can have a :/ in the path, like c:/data/file.root.
2003-02-25 15:17 brun
* hist/src/: TH2.cxx, TH3.cxx, TProfile.cxx, TProfile2D.cxx:
Protect the GetBinContent and GetStats functions in case the default
constructor for these classes is called, followed by a call to Draw.
2003-02-25 13:01 rdm
* gpad/src/TPad.cxx:
fix small memory leak in PaintFillArea() pointed out by valgrind.
2003-02-24 22:31 brun
* matrix/inc/: TMatrixDUtils.h, TMatrixUtils.h:
Implement default constructors and virtual destructors.
2003-02-24 21:34 brun
* base/src/TFile.cxx:
Fix a problem in TFile::Recover when the file being recovered had no keys to recover
2003-02-24 19:22 brun
* cint/lib/prec_stl/: deque, list, map, memory, multimap, multiset,
set, vector:
From Philippe;
This patch enable the building of the cintdlls for the intel compiler (at least icc 6.0).
2003-02-24 19:11 brun
* cint/inc/G__ci.h:
Extend G__ONELINE from 256 to 512 characters. With this fix, the CMS test runs.
2003-02-24 19:07 brun
* cint/include/stddef.h:
From Philippe
The issue is that on (at least some) linux ptrdiff_t is defined as int AND in gcc 2.95.2, ptrdiff_t is used as a template parameter (so it matters whethere it is int or long).
2003-02-24 12:32 rdm
* build/package/: debian/rules.in, rpm/tail.spec.in:
change --with-ttf-fontdir to --fontdir.
2003-02-24 11:33 brun
* hist/inc/TH1.h, hist/src/TH1.cxx,
histpainter/src/THistPainter.cxx:
From Olivier:
New method GetContourLevelPad in TH1. It returns the contour level value
in Pad coordinates ie: if the Pad is in log scale along Z, the log value
of the level is returned. This was needed to draw user defined contours in
PaintContour and PaintColorLevels in THistPainter.
2003-02-24 11:19 rdm
* cint/: inc/G__ci.h, inc/common.h, include/ReadF.h,
include/mkincld.c, include/spice.h, lib/dll_stl/mp.h,
lib/dll_stl/multmp.h, lib/prec_stl/multiset, lib/pthread/Makefile,
src/cast.c, src/decl.c, src/disp.c, src/dump.c, src/end.c,
src/expr.c, src/fread.c, src/g__cfunc.c, src/ifunc.c, src/init.c,
src/input.c, src/loadfile.c, src/new.c, src/newlink.c, src/parse.c,
src/pause.c, src/scrupto.c, src/shl.c, src/struct.c, src/tmplt.c,
src/typedef.c, src/value.c, src/var.c:
import of CINT 5.15.76.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-02-24 09:36 brun
* hist/src/TProfile.cxx:
Add comments in TProfile::GetBinError explaining the evolution
of the algorithm computing errors for TProfiles with low statistics bins.
2003-02-23 19:28 brun
* test/RootShower/: .rootshowerrc, MyDetector.cxx, MyEvent.cxx,
MyEvent.h, MyParticle.cxx, RSVersion.h, RootShower.cxx,
SettingsDlg.cxx, constants.h:
From Bertrand
Here are latest modified RootShower files.
- better (?) magnetic field handling
- added TMath functions
- code cleaning
For magnetic field, I took the atlfast/geant3 code as model, but it doesn't
change that much.
There is still a problem with scatter angle, but not fixed yet.
2003-02-22 17:21 brun
* gpad/src/TPad.cxx, histpainter/src/THistPainter.cxx:
In TPad::RedrawAxis, implement a new option "g"
//
// By default, if the pad has the options gridx or/and gridy activated,
// the grid is not drawn by this function.
// if option="g" is specified, this will force the drawing of the grid
// on top of the picture
THistPainter::Paint modified to support the new option from RedrawAxis.
2003-02-22 14:27 brun
* tree/src/TBranchElement.cxx:
Add several protections in case the TStreamerInfo is missing for a branch.
Test if the TClonesArray is Zombie in case of branch being a member
of a TClonesArray.
2003-02-22 14:25 brun
* cont/src/TClonesArray.cxx:
In the TClonesArray constructor, MakeZombie the TClonesArray if the class
in the TClonesArray has one of its referenced classes (base or composition) missing
2003-02-22 14:24 brun
* meta/src/TStreamerElement.cxx:
Add a protection in TStreamerBase in case one base class is missing
2003-02-22 14:22 brun
* meta/src/TStreamerInfo.cxx:
Add protections in TStreamerInfo::BuildOld in case one of the base classes
is missing.
2003-02-22 14:13 brun
* meta/src/TClass.cxx:
Add a feww protections in case a class has one of its base classes missing
2003-02-21 22:21 brun
* g3d/src/TPolyLine3D.cxx:
In the TPolyLine3D constructors, set the bit kCanDelete like for TPolyMarker3D
2003-02-21 18:26 brun
* base/src/TStyle.cxx:
Add more documentation and an example in TStyle::SetHeaderPS
2003-02-21 16:08 brun
* base/src/TAttAxis.cxx, gpad/src/TPad.cxx,
histpainter/src/THistPainter.cxx:
Take advantage of the new functions in TStyle to set the default
options for the axis attributes and the histogram title.
2003-02-21 16:07 brun
* base/: inc/TStyle.h, src/TStyle.cxx:
Modify/extend the API for the following functions:
Color_t GetTitleColor(Option_t *axis="X") const;
Style_t GetTitleFont(Option_t *axis="X") const;
void SetTitleColor(Color_t color=1, Option_t *axis="X");
void SetTitleFont(Style_t font=62, Option_t *axis="X");
void SetTitleSize(Float_t size=0.02, Option_t *axis="X");
Add new functions
void SetTitleFillColor(Color_t color=1)
void SetTitleTextColor(Color_t color=1)
This allows to set the axis title colors/font separately from the title
color/font for the histogram in the pad.
The function implementation is moved to TStyle.cxx.
2003-02-21 12:33 brun
* histpainter/src/THistPainter.cxx:
Take into account user-given contour levels in PaintColorLevels
2003-02-21 11:26 brun
* meta/src/TClass.cxx:
In TClass::GetRealData add support for the special case where a member
of type static array has been converted to a dynamic array,
for example arr[2] is now *arr
2003-02-20 23:54 brun
* base/src/TSystem.cxx:
from Philippe:
The source file itself is not listed in the file created by rmkdepend. This patch fix ACLiC to work around this by explictly
checking the time stamp of the script.
2003-02-20 23:39 brun
* histpainter/: inc/THistPainter.h, src/THistPainter.cxx:
Add a new argument drawGridOnly to THistPainter::PaintAxis.
In THistPainter::PaintHist, PaintAxis is called first to paint the grid only
if a grid has been requested in the pad. A second call to PaintAxis
will draw the axis without the grid.
This change is to make sure that the grid is drawn in the background
and the axis tick marks in the foreground of the pad.
2003-02-20 23:36 brun
* graf/: inc/TGaxis.h, src/TGaxis.cxx:
Add a new optional argument drawGridOnly to TGaxis::PaintAxis.
By default, this argument is false. If set to true, the function PaintAxis
paints only the grid (if gridx or/and y have been activated in the pad)
2003-02-20 19:11 brun
* graf/src/TGraph.cxx:
In TGraph::GetHistogram take into account a possible setting of fMaximum and fMinimum
when creating the local histogram.
2003-02-20 15:38 brun
* base/src/TSystem.cxx:
Deactivate debug info by default from ACLIC
2003-02-20 15:09 brun
* tree/src/TBranchElement.cxx:
In TBranchElement::setAddress, create the TClonesArray in case
of a top level branch being a TClonesArray and a null pointer.
2003-02-20 09:50 brun
* test/stress.cxx:
Change the reference number of lines generated in the ps file
in stress5 and stress16 following the optimisation in TPostScript
for linewidth and linestyle.
2003-02-20 09:49 brun
* postscript/src/TPostScript.cxx:
Do not write linewidth or linestyle if identical to previous values.
This saves a lot of space in the ps file.
2003-02-20 08:08 brun
* base/src/TSystem.cxx:
From Philippe:
ACLiC's '+' now properly recreates the library when the script or one
of the file it includes is newer than the shared library.
When asked to load a script (file.C) which has already been compiled
(into file_C.so), ACLiC looks for a dependency file (file_C.d).
If this dependency file is older than the library or does not exist, ACLiC
generates a new dependency file using ROOT's rmkdepend tool and the list
of -I and -D directives it knows about (see ACLiC description on how to
set those).
Then ACLiC compare the time stamp of all the files listed in the dependency
file and rebuild the library if any of them is newer than the library.
2003-02-19 15:27 brun
* meta/src/TStreamerInfo.cxx:
Complete the implementation of ReadBufferConv and ReadBufferClonesConv
2003-02-19 11:17 brun
* win32gdk/gdk/dll/gdk-1.3.dll:
New version of gdk dll from Bertrand
2003-02-19 11:12 brun
* hist/src/TH1.cxx:
Fix a bug in TH1::Multiply(TF1*) (thanks to Hajime Nanjyo)
The function multiplication coefficient was not correctly taken into account when
computing the sum of squares of weights
2003-02-18 17:39 brun
* cint/lib/prec_stl/: multiset, set:
Patch from Philippe fixing problems with set and multiset
2003-02-18 16:37 brun
* geom/inc/TGeoVoxelFinder.h, geom/src/TGeoBBox.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoVoxelFinder.cxx,
geompainter/src/TGeoChecker.cxx:
From Andrei;
TGeoManager :
- Safety() fully implemented using voxelization
- FindNextBoundary() modified in order to compute safety only when
needed (when a value MAXSTEP representing the physical step is given as
input).
TGeoBBox :
- correction for points exactly on box boundary for DistToIn()
TGeoVoxelFinder :
- fast check if distance to the voxel corresponding to a given node is
smaller than a input value - used in computing safety and distance to
next boundary;
TGeoChecker:
- CheckPoint() changed to use new Safety().
2003-02-17 21:06 brun
* cint/lib/prec_stl/: deque, list, map, memory, multimap, multiset,
set, vector:
Reintroduce the CINT/STL changes from Philippe that were forgotten
when introducing the new version of CINT
2003-02-17 19:33 brun
* base/inc/TVirtualX.h:
in TVirtualX::glBegin, replace UInt_t mode by UInt_t to avoid a compiler warning.
2003-02-17 16:33 brun
* cint/src/ifunc.c:
Remove all statements where length of function name is tested against
G__MAXNAME.
2003-02-17 16:04 brun
* meta/src/TStreamerInfo.cxx:
Implement case for convertir a static array into a dynamic array in ReadBufferConv
Comment test on IsOldFormat in TStreamerInfo::BuildOld
2003-02-17 15:04 brun
* cint/src/allstrm.cxx:
Fix from Daniel Barna for a typo in allstrm.cxx
2003-02-17 14:40 brun
* geom/src/TGeoCache.cxx:
Still a problem with delete instead of delete []
2003-02-17 14:23 brun
* geom/src/: TGeoArb8.cxx, TGeoCache.cxx:
Replace several delete xxx by delete [] xxx;
2003-02-17 12:57 brun
* geom/inc/TGeoManager.h, geom/inc/TGeoMaterial.h,
geom/inc/TGeoVolume.h, geom/inc/TVirtualGeoPainter.h,
geom/src/TGeoManager.cxx, geom/src/TGeoMaterial.cxx,
geom/src/TGeoVolume.cxx, geom/src/TGeoVoxelFinder.cxx,
geompainter/inc/TGeoChecker.h, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoChecker.cxx, geompainter/src/TGeoPainter.cxx:
m andrei;
TGeoManager :
- added TGeoManager::Safety() that computes the global safety for the
current point. This is just the first implementation, since it does not
use yet voxelization. This will be needed for the VMC because for the
time being safety is computed just for the crossed volumes along the
current direction plus the current volume, which of course is not enough
- finding the closest neighbour for a given point has to use a different
algorithm.
- added weight estimation for the top volume
TGeoMaterial :
- material index in the list of materials added as data member (as for
volumes) - I needed this for weight computation, but it will be helpfull
for any other analysis based on material indexing.
TGeoVolume :
- weight estimation method in the context menu of volumes : can be
verbose (default) or not and takes as argument the desired precision.
Prints error (1 x SIGMA)
TGeoChecker:
- implementation of weight estimation based on sampling random points
in the bounding box of a volume. Materials with rho<0.01 g/cm3 (mostly
gases) ignored due to the fact that we generally do not want to weight
the air in the top volume container (it can have quite significant mass)
other modified classes just provide redirection of Weight() method to
the geopainter package.
2003-02-17 11:51 brun
* test/RootShower/RootShower.cxx:
From Bertrand:
Added a function to automatically switch to related display tab when
user press "show selection" or "start new event" buttons
2003-02-16 15:37 rdm
* cint/: inc/G__ci.h, inc/common.h, inc/fproto.h, include/carray.h,
include/darray.h, include/spice.h, lib/longlong/longlong.h,
lib/prec_stl/deque, lib/prec_stl/list, lib/prec_stl/map,
lib/prec_stl/memory, lib/prec_stl/multimap, lib/prec_stl/multiset,
lib/prec_stl/set, lib/prec_stl/vector, src/dump.c, src/expr.c,
src/ifunc.c, src/init.c, src/input.c, src/pause.c, src/struct.c,
src/tmplt.c, src/typedef.c, tool/batch.c:
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Took Masa's version of prec_stl. Philippe please check.
2003-02-15 06:41 brun
* html/: inc/THtml.h, src/THtml.cxx:
Add include "TROOT.h" in THtml.h (reference to gROOT).
This is necessary when THtml is included itself in some user code.
2003-02-14 22:24 brun
* gui/src/HelpText.cxx:
Remove end of line characters
2003-02-14 21:50 brun
* gui/src/HelpText.cxx:
Some fixes by Bertrand in the table of key strokes for OpenGL
2003-02-14 20:19 rdm
* test/RootShower/RootShower.cxx:
add command line argument to start either with TApplication or with TRint.
2003-02-14 20:05 rdm
* rint/src/TTabCom.cxx:
since AddAll() accepts now const TCollection* some casts are not needed
anymore.
2003-02-14 10:24 brun
* build/unix/makelib.sh, config/Makefile.macosx:
Two patches for MacOSX from Remi Mommsen
I prepared two patches for the Mac OS X build of ROOT. I came across
these issues while preparing a fink package (http://fink.sf.net) for
ROOT.
fink.patch: The config/Makefile.macosx misuses the EXTRA_* entries for
setting the fink specific paths (/sw/lib, /sw/include). A problem
arises if you want to compile root with fixed paths using the
HAVE_CONFIG compiler flag which is passed using the EXTRA_* entries.
Therefore I added dedicated FINK_* flags to Makefile.macosx. They stay
empty in case that there is no fink installation in /sw and therefore
should not interfere with no-fink systems.
dylib_loading.patch: On Mac OS X there are two ways how to find shared
libraries at run time. The linux way to define DYLD_LIBRARY_PATH
pointing to the library path and the Apple preferred way to hardcode
the full library path into the executable at linking time. ROOT
currently uses the DYLD_LIBRARY_PATH which enables the relocation of
the libraries after the linking. Apple uses for all applications the
latter method having the advantage that the common Apple user does not
have to fiddle around with environment variables. For the fink package
I'm going to provide I will use the latter method. This patch
introduces minor changes to config/Makefile.macosx and
build/unix/makelib.sh to enable the hard-coded library path. I do not
have any preferences on how ROOT should handle this by default. Any
comments?
2003-02-14 09:23 brun
* cont/: inc/TCollection.h, src/TCollection.cxx:
make argument of TCollection::AddAll const (thanks Jiri Masik)
2003-02-13 21:57 brun
* hist/src/TFormula.cxx:
Improvement of TFormula::Analyze by Glenn Horton-Smith.
With the previous version, a command like:
root [1] TF1 *f= new TF1("f","max(0,min(x,1))")
*ERROR 22 :
POW requires two arguments
Two-argument functions can't be used in an argument to any two-argument
function. The parser (TFormula::Analyze()) gets confused when it sees the comma
in the argument list to the second (nested) two-argument function, even if the
argument is fully parenthesized.
2003-02-13 21:37 brun
* win32gdk/src/TGWin32.cxx:
Fix from Bertrand for a problem affecting RootShower at startup time
in win32gdk
2003-02-13 15:44 brun
* config/Makefile.linuxdeb2ppc, test/Makefile,
test/RootShower/Makefile:
Add support for linuxdeb2ppc from Jiri Masik
2003-02-13 12:21 rdm
* configure:
new option fontdir was not handled correctly.
2003-02-13 12:04 brun
* geompainter/: inc/TGeoOverlap.h, src/TGeoOverlap.cxx,
src/TGeoPainter.cxx:
Bug fix by Andrei when viewing/browsing volume overlaps
2003-02-12 21:59 brun
* test/RootShower/icons/: about.xpm, quit.xpm, save.xpm,
settings.xpm:
New icons from Bertrand
2003-02-12 21:51 brun
* test/RootShower/: Makefile, RootShower.cxx, RootShower.h:
Remove end of line character from original Bertrand's files
2003-02-12 21:42 brun
* test/RootShower/: Makefile, RootShower.cxx, RootShower.h:
From Bertrand;
- Added Bool_t fIsRunning flag to lock access to different menu entries
while running simulation.
- Added fClient->WaitFor() on Root Help Dialogs to avoid having
multiple ones opened at the same time.
- Added forgotten initialization of Bool_t fSettingsModified at
construction time.
- Corrected Makefile to build on win32gdk arch.
2003-02-12 19:02 brun
* test/dt_RunDrawTest.sh:
This script should now run correctly on Solaris
2003-02-12 18:47 brun
* eg/inc/TParticle.h:
Forgot to commit this change
2003-02-12 18:44 brun
* physics/inc/: TLorentzVector.h, TVector3.h:
Add comments in the header files for the functions Phi()
There are at least two definition of the azimuth angle in root:
1) TLorentzVector::Phi() and TVector3::Phi() returns phi from -pi to pi:
TMath::ATan2(fY,fX).
2) TParticle::Phi() returns phi from 0 to 2pi:
kPI+TMath::ATan2(-fPy,-fPx)
2003-02-12 18:20 brun
* geom/inc/TVirtualGeoPainter.h, geompainter/inc/TGeoOverlap.h,
geompainter/inc/TGeoPainter.h, geompainter/src/TGeoOverlap.cxx,
geompainter/src/TGeoPainter.cxx:
From Andrei:
"I managed to change completely the way to draw overlaps. Now class
TGeoOverlap has line and 3D attributes and paints by itself without
affecting the geometry at all. It prints the object stats when activated
in the pad."
2003-02-12 15:49 brun
* geom/src/TGeoManager.cxx, geom/src/TGeoTube.cxx,
geom/src/TGeoVolume.cxx, test/RootShower/RootShower.cxx:
From andrei:
TGeoManager.cxx :
- removed obsolete MakeCopyNodes() from MakeXXX()
TGeoTube.cxx :
- allow placing parametrized tubes in more shapes.
TGeoVolume.cxx:
- wrong divisioning issue now a Fatal() instead of Error()
- corection in handling divisions of parametrizes shapes - it
affected EMCAL where some node where duplicated
2003-02-12 15:15 rdm
* unix/src/TUnixSystem.cxx, winnt/src/TWinNTSystem.cxx:
protection in Which() to not return directories, only files.
2003-02-12 14:49 rdm
* gl/inc/: TRootGLU.h, TRootGLViewer.h, TRootGLX.h,
TRootOIViewer.h, TRootWGL.h, TWin32GLViewerImp.h:
fix for GL macros on Solaris confusing GL methods in TVirtualX.h. Also
corrected multiple inclusion macros that were not of the format ROOT_filename.
2003-02-12 13:05 brun
* histpainter/src/THistPainter.cxx:
Paintaxis before painting the histogram to avoid the grid on top
of the axis in case a grid is selected.
2003-02-12 12:19 brun
* histpainter/src/THistPainter.cxx, test/RootShower/Makefile:
Optimisation in THistPainter::PaintInit when computing the Y limits.
In case of a Logy scale, do not use the function values to compute the
minimum if the corresponding bin content is null.
2003-02-12 11:49 brun
* test/RootShower/RootShower.cxx:
Do not attempt to fit in case the number of entries in the histogram is small.
Delete the fit function if the result of the fit is non-sense
2003-02-12 10:03 brun
* meta/src/TStreamerInfo.cxx:
Remove a printf statement lreft from a debug exercise
2003-02-12 09:58 brun
* test/RootShower/MyParticle.cxx:
Remove optional default arguments in implementation file
2003-02-12 09:10 brun
* test/RootShower/MyParticle.cxx:
Fix in MyParticle: to circumvent an overloading problem on HP-UX
Ambiguous overloaded function declaration; default arguments make this
function indistinguishable from previous one. Clashing function "MyParticle::MyParticle(int,int,int,int,const
TVector3 &,const TVector3 &)" was previously declared at ["MyParticle.h", line 45].
MyParticle::MyParticle(Int_t id, Int_t pType,Int_t pStat,Int_t pDecayType,co
2003-02-12 08:58 brun
* eg/: inc/TParticlePDG.h, src/TParticlePDG.cxx:
Move TParticlePDG::DecayChannel from header to implementation file
2003-02-12 08:41 brun
* test/RootShower/SettingsDlg.cxx:
Remove a comma in an enum (fatal on Solaris)
2003-02-12 08:38 brun
* test/RootShower/: MyDetector.cxx, MyEvent.cxx, MyEvent.h,
RootShower.cxx, RootShower.h:
Several fixes to avoid compilation warnings or fatal errors on some machines.
Replace the member Long_t fEventTime by TDatime
2003-02-12 01:13 rdm
* Makefile:
recursively also call distclean in test/RootShower.
2003-02-12 01:07 rdm
* build/: unix/makedist.sh, win/makedist.sh:
export also test/RootShower.
2003-02-12 01:06 rdm
* configure, test/Makefile, test/Makefile.in:
no test/Makefile.in needed anymore, use directly "root-config --arch" to set
the architecture.
2003-02-12 00:58 rdm
* test/RootShower/: Makefile, Makefile.linux, Makefile.linuxicc,
Makefile.win32:
new unified Makefile for all platforms.
2003-02-11 21:25 brun
* cont/src/TBits.cxx:
Fix a memory leak in TBits assignement operator
(thanks to Mathieu de Naurois)
2003-02-11 19:22 brun
* meta/: inc/TStreamerInfo.h, src/TStreamerInfo.cxx:
Implement new functions;
Int_t ReadBufferSkip(TBuffer &b, char *pointer, Int_t i, Int_t kase, TStreamerElement *aElement);
Int_t ReadBufferConv(TBuffer &b, char *pointer, Int_t i, Int_t kase, TStreamerElement *aElement);
Int_t ReadBufferClonesSkip(TBuffer &b, TClonesArray *clones, Int_t nc, Int_t i, Int_t kase, TStreamerElement *aElement);
Int_t ReadBufferClonesConv(TBuffer &b, TClonesArray *clones, Int_t nc, Int_t i, Int_t kase, Int_t eoffset, TStreamerElement *aElement);
Move in these new functions, the code previously in ReadBuffer/ReadbufferClones
for skiping or converting members.
Implement the conversion code for TClonesArray.
2003-02-11 17:13 rdm
* test/RootShower/: GButtonFrame.cxx, GButtonFrame.h,
GTitleFrame.cxx, GTitleFrame.h, MyDetector.cxx, MyDetector.h,
MyEvent.cxx, MyEvent.h, MyParticle.cxx, MyParticle.h,
ParticlesDef.h, RSAbout.cxx, RSAbout.h, RSHelpText.h,
RSHelptext.cxx, RSLinkDef.h, RSMsgBox.cxx, RSMsgBox.h,
RootShower.cxx, SettingsDlg.cxx, constants.h, anim/anim01.xpm,
anim/anim02.xpm, anim/anim03.xpm, anim/anim04.xpm, anim/anim05.xpm,
anim/anim06.xpm, anim/anim07.xpm, anim/anim08.xpm, anim/anim09.xpm,
anim/anim10.xpm, anim/anim11.xpm, anim/anim12.xpm, anim/anim13.xpm,
anim/anim14.xpm, anim/anim15.xpm, anim/anim16.xpm, anim/anim17.xpm,
anim/anim18.xpm, anim/anim19.xpm, anim/anim20.xpm, anim/anim21.xpm,
anim/anim22.xpm, anim/anim23.xpm, anim/anim24.xpm, icons/cern.xpm,
icons/mclogo01.xpm, icons/open.xpm, icons/right.xpm:
files did still have dos line endings.
2003-02-11 16:48 rdm
* test/RootShower/.rootshowerrc:
config file for RootShower.
2003-02-11 16:48 rdm
* test/RootShower/icons/: Alice.xpm, about.xpm, browser.xpm,
cern.xpm, help.xpm, infos.xpm, left.xpm, license.xpm, manual.xpm,
mclogo01.xpm, open.xpm, quit.xpm, right.xpm, save.xpm, saveas.xpm,
settings.xpm, view3d.xpm:
icons used by RootShower.
2003-02-11 16:47 rdm
* test/RootShower/anim/: anim01.xpm, anim02.xpm, anim03.xpm,
anim04.xpm, anim05.xpm, anim06.xpm, anim07.xpm, anim08.xpm,
anim09.xpm, anim10.xpm, anim11.xpm, anim12.xpm, anim13.xpm,
anim14.xpm, anim15.xpm, anim16.xpm, anim17.xpm, anim18.xpm,
anim19.xpm, anim20.xpm, anim21.xpm, anim22.xpm, anim23.xpm,
anim24.xpm:
animated icon used by RootShower.
2003-02-11 16:46 rdm
* test/RootShower/: GButtonFrame.cxx, GButtonFrame.h,
GTitleFrame.cxx, GTitleFrame.h, Makefile.linux, Makefile.linuxicc,
Makefile.win32, MyDetector.cxx, MyDetector.h, MyEvent.cxx,
MyEvent.h, MyParticle.cxx, MyParticle.h, ParticlesDef.h,
RSAbout.cxx, RSAbout.h, RSHelpText.h, RSHelptext.cxx, RSLinkDef.h,
RSMsgBox.cxx, RSMsgBox.h, RSVersion.h, RootShower.cxx,
RootShower.h, RootShower.ico, RootShower.png, SettingsDlg.cxx,
SettingsDlg.h, constants.h:
add Bertrand Bellenot's very nice GUI and physics demonstration program.
2003-02-11 16:00 rdm
* gl/src/TRootWin32GLViewer.cxx:
not needed anymore since win32gdk uses now the common TRootGLViewer.cxx.
2003-02-11 13:30 rdm
* pgsql/inc/: TPgSQLResult.h, TPgSQLRow.h, TPgSQLServer.h:
seems to work without the <sys/time.h> include.
2003-02-11 13:29 rdm
* base/inc/TVirtualX.h, config/Makefile.win32gdk, gl/Module.mk,
gl/src/TGdkGLKernel.cxx, gl/src/TRootGLViewer.cxx,
win32gdk/inc/GdkConstants.h, win32gdk/inc/TGWin32.h,
win32gdk/src/GWin32Gui.cxx, win32gdk/src/GdkThread.cxx,
win32gdk/src/TGWin32.cxx, x11/src/TGX11.cxx:
changes by Bertrand to support OpenGL in Win32gdk mode.
2003-02-11 13:17 rdm
* table/src/TPoints3D.cxx, table/src/TPointsArray3D.cxx,
table/src/TResponseTable.cxx, table/src/TTable.cxx,
treeplayer/src/TTreeFormula.cxx, geom/inc/TGeoCache.h:
remove unused variable and argument warnings spotted by MacOS X.
2003-02-11 13:16 brun
* geom/src/: TGeoCone.cxx, TGeoTube.cxx:
Accept rmin being equal to rmax
2003-02-11 09:48 brun
* geom/inc/TGeoManager.h, geom/inc/TVirtualGeoPainter.h,
geom/src/TGeoArb8.cxx, geom/src/TGeoManager.cxx,
geompainter/inc/TGeoChecker.h, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoChecker.cxx, geompainter/src/TGeoOverlap.cxx,
geompainter/src/TGeoPainter.cxx:
From Andrei;
add method TGeoManager::PrintOverlaps
fix compilation warnings
2003-02-10 22:53 brun
* cint/lib/longlong/longlong.h:
New version from Philippe fixing a problem with gcc3.2
2003-02-10 18:23 brun
* geom/inc/TGeoManager.h, geom/inc/TGeoShape.h,
geom/inc/TGeoVolume.h, geom/src/TGeoCone.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoTube.cxx,
geom/src/TGeoVolume.cxx, geompainter/inc/LinkDef.h,
geompainter/inc/TGeoOverlap.h, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoOverlap.cxx, geompainter/src/TGeoPainter.cxx:
From Andrei:
- new files TGeoOverlap.h/cxx in geompainter directory. Contains one
base class and 2 derived, describing overlaps. The CheckOverlaps()
methods in TGeoManager and TGeoVolume fills a list of these objects
which is held by TGeoManager class and appears in the browser as
"Illegal overlaps". The elements in this list are ordered according the
overlapping distance, big comes first and extrusions before node
overlaps. Double-clicking triggers drawing. Points in the
overlapping/extruding region are paint in red, while the 2 candidates in
bleu/green. The list of overlaps is dynamic and changes whenever a check
is done per volume.
- volumes with invalid shapes post a warning (see ATLAS)
2003-02-10 18:16 brun
* cint/lib/prec_stl/: deque, list, map, memory, multimap, multiset,
set, vector:
From Philippe,
Fixes to the CINT STL librray that should work for gcc2.91, gcc2.95, gcc2.96 and gcc3.2
2003-02-10 11:57 rdm
* base/inc/TObjString.h:
make argument of SetString const char*, was char*.
2003-02-10 10:55 brun
* geompainter/src/TGeoChecker.cxx:
Remove reference to TGeoShape::kBig (problem with dlls on win32)
2003-02-10 10:54 brun
* geompainter/inc/TGeoChecker.h:
Add include "TObject.h"
2003-02-10 10:54 brun
* geom/inc/TGeoBBox.h:
Remove forward reference to TGeoShape
2003-02-10 09:58 brun
* hist/src/TFormula.cxx:
Fix typos in Error messages
2003-02-09 19:35 brun
* base/: inc/TFolder.h, src/TFolder.cxx:
Add a new constructor to class TFolder.
TFolder(const char* name, const char* title)
This constructor creates a default collection of type TList.
2003-02-09 10:59 rdm
* cint/: inc/G__ci.h, inc/cbstrm.h, inc/fproto.h, inc/gcc3strm.h,
inc/iccstrm.h, inc/sunstrm.h, include/iostream.h, include/stdio.h,
lib/cbstream/fstrm.h, lib/cbstream/iostrm.h, lib/dll_stl/eh.h,
lib/gcc3strm/fstrm.h, lib/iccstrm/fstrm.h, lib/prec_stl/multimap,
lib/pthread/Makefile, lib/snstream/fstrm.h, src/Api.cxx,
src/debug.c, src/func.c, src/gcc3strm.cxx, src/iccstrm.cxx,
src/ifunc.c, src/loadfile.c, src/newlink.c, src/pause.c,
src/struct.c, src/sunstrm.cxx, src/tmplt.c, src/value.c,
tool/batch.c:
import of CINT 5.15.74.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Retained change in map that Masa did not yet take over because it does not
compile on all platforms. To be sorted out.
2003-02-09 09:55 brun
* base/src/TRandom.cxx:
Do not mask to 31 bits in Rndm, RndmArray.
2003-02-08 22:31 brun
* cont/src/TBits.cxx:
Fix a mismatch between new and delete (delete [])
2003-02-08 10:15 brun
* cint/lib/prec_stl/map:
From Philippe
The definition of map in cint/lib/prec_stl uses an incorrect default allocator. It uses allocator<T> instead of allocator<pair<const Key, T> >:
2003-02-08 00:46 brun
* treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch instructs TTreeFormula to ignore branch that are disabled (when searching for a method).
2003-02-07 19:20 rdm
* gui/src/TGTab.cxx:
correct typo in comment of RemoveTab(). Thanks Ilka.
2003-02-07 17:16 brun
* utils/src/rootcint.cxx:
patch from Axel Naumann to circumvent a bug in VisualC++.
assume the following class layout
class A {
class B1 {};
class B2: public B1 {};
};
rootcint will generate code like this:
A::B2::Streamer(){
A::B1::Steamer();
}
This triggers the good old "call of non-static member function" bug in
MSVC6. There are workarounds for similar code fragments in rootcint (e.g.
for ShowMembers)
2003-02-07 14:46 brun
* geom/inc/TGeoBBox.h, geom/inc/TGeoCone.h, geom/inc/TGeoManager.h,
geom/inc/TGeoPcon.h, geom/inc/TGeoShape.h, geom/inc/TGeoSphere.h,
geom/inc/TGeoTube.h, geom/inc/TGeoVolume.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoPara.cxx,
geom/src/TGeoPcon.cxx, geom/src/TGeoPgon.cxx,
geom/src/TGeoShape.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTrd1.cxx, geom/src/TGeoTrd2.cxx,
geom/src/TGeoTube.cxx, geom/src/TGeoVolume.cxx,
geompainter/inc/TGeoChecker.h, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoChecker.cxx, geompainter/src/TGeoPainter.cxx:
New version from Andrei and Mihaela:
- several implementations of method Safety for shapes
- few bug fixes in safety computation (phi segmented shapes)
- volumes have now an unique ID that you can get with GetNumber()
- Mihaela implemented an overlap checker that can be called either for
all geometry :
TGeoManager::CheckOverlaps(Double_t ovlp=0.1) or just for a given
volume. OVLP is the lower overlapping limit. The checker looks for the
following errors in the geometry definition :
1 - nodes extruding their mother - can be visualised with
TGeoManager::DrawExtrusion(char *mother, char *node) which draws mother
in blue and extruding daughter in red
2 - ONLY brothers overlapping to each other - can be visualized with
TGeoManager::DrawOverlap(char *volume, char *node1, char *node2) - node1
will appear in red and node2 in blue.
These methods can be called only after CheckOverlaps() that prints the
list of overlaps. They are all in the context menu of both TGeoVolume
and TGeoManager.
2003-02-07 10:04 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintTitle, change the default minimum for the title box
from 60% to 70% of the width of the pad.
2003-02-06 22:44 brun
* base/src/TMath.cxx:
Remove references to numerical recipee and code twisting.
2003-02-06 00:48 rdm
* base/: inc/TObject.h, src/TObject.cxx:
also define the operators new[]() and delete[]() for TObject. These were
missing and could cause assymmetric behaviour in case of "new TObject" and
"new TObject[]" whereby the latter would not go via TStorage::ObjectAlloc().
2003-02-06 00:36 rdm
* matrix/src/: TVector.cxx, TVectorD.cxx:
use TStorage::Alloc() and TStorage::Dealloc() to create and delete in
a symmetric way the fElements array.
2003-02-06 00:35 rdm
* table/: inc/TTableDescriptor.h, src/TTableDescriptor.cxx:
"const" is redundant in return type of "const Int_t ColumnByName()".
2003-02-05 20:30 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
Fix from Eddy Offermann fixing a problem reported by Chris Crawford
when inverting symmetric matrices with a zero in the diagonal.
2003-02-05 19:11 brun
* meta/src/TStreamerInfo.cxx:
Add a protection in TStreamerInfo::BuildCheck for a problem
reported by Robert Hatcher when reading very old Root files.
2003-02-05 16:22 rdm
* matrix/src/: TVector.cxx, TVectorD.cxx:
::operator delete[](void*) does not exist and did not compile on Windows,
revert to ::operator delete(void*).
2003-02-05 16:11 rdm
* rootd/src/rootd.cxx, net/src/TNetFile.cxx:
fix a problem with "recreate" and "update" modes. If the recreate or update
resulted in the creation of a new file an attempt to read the new file was
made.
2003-02-05 16:08 rdm
* utils/src/rootcint.cxx:
small reordering of comments and help text.
2003-02-05 16:07 rdm
* config/mimes.unix.in, config/mimes.win32.in, tree/inc/TBranch.h,
tree/src/TBranch.cxx:
if a branch is a folder use a different icon then when it is not (like for
branch elements).
2003-02-05 16:03 rdm
* base/inc/TBuffer.h:
fix typo in comment of new fClassMap member.
2003-02-04 23:04 brun
* base/: inc/TBuffer.h, src/TBuffer.cxx, src/TKey.cxx:
From Philippe:
The following patch insures that object of class using multiple inheritance with TObject not being in the
'left-most' inheritance part are now correctly returned even when they are saved multiple time in the same
buffer (the class information for these objects are stored only once, and was not available during the 2nd
reading).
2003-02-03 02:02 rdm
* test/Tetris.cxx:
don't call gApplication->Terminate() but gTetris->Quit() which properly
resets the keyboard repeat action. In the past this did not work, but now
that we've solved the proper closing of TRootCanvases (via ReallyDelete())
it works fine.
2003-02-03 01:58 rdm
* gui/src/TRootCanvas.cxx:
typo in comment.
2003-02-02 17:25 brun
* test/: Tetris.cxx, Tetris.h:
Initialize array of pointers fBoard in TetrisBoard constructor.
Fix a bug in TetrisBoard::AllAboveLinesDown encountered only by good players ::)
2003-02-01 19:23 brun
* tutorials/bill.C:
Renormalize benchmark
2003-02-01 18:35 brun
* gpad/: inc/TCanvas.h, src/TCanvas.cxx:
Move TCanvas::SetSelected to the implementation file.
Set the bit kMustCleanup for the selected object.
This will force TPad::RecursiveRemove to be called when the selected
object will be deleted and prevent TCanvas::HandleInput to call
TCanvas::EnterLeave with a deleted object.
Following this change, the tutorial anim.C can be executed without
crashing Root when the mouse is entering/leaving the canvas.
2003-02-01 08:40 brun
* win32gdk/src/GWin32Gui.cxx:
New Version of GWin32Gui::CreateGlWindow from Bertrand.
2003-01-31 23:53 brun
* matrix/src/: TVector.cxx, TVectorD.cxx:
In destructors use delete [] instead of delete
2003-01-31 23:24 brun
* base/: inc/TView.h, src/TView.cxx:
Change argument type of TView::PadRange from Double_t to Int_t
2003-01-31 19:02 brun
* treeplayer/src/TTreePlayer.cxx:
Modify TTreePlayer::Process to Notify the selector.
2003-01-31 18:43 rdm
* meta/Module.mk:
when using VC++ vers 1300 compile StreamerInfo with -O instead of -O2.
2003-01-31 18:36 rdm
* config/: Makefile.linuxicc, Makefile.win32, Makefile.win32gdk:
add code to get major and minor version number of compiler. To be used for
conditional compilation.
2003-01-31 18:19 brun
* tree/src/TSelector.cxx:
Initialize fStatus in TSelector constructor
2003-01-31 18:19 brun
* base/src/TSystem.cxx:
Fix a bug in TSystem::CompileMacro.
Replace all statements
delete name
by
delete [] name;
2003-01-31 18:00 brun
* test/dt_RunDrawTest.sh:
m Philippe:
a more generic way of removing DrawTest known warning messages.
2003-01-31 18:00 brun
* html/: inc/THtml.h, src/THtml.cxx:
From Philippe:
Inlined virtual destructor are known to cause problem with some compilers. KCC, with exception enabled, is definitively one of them. I solved the problem by moving the destructor to the implementation file.
2003-01-31 17:47 rdm
* treeplayer/inc/TTreeFormulaManager.h:
only make dtor public for VC++ 1300 compiler, not for anyother. This allows
for the intended behaviour on all other systems/compilers.
2003-01-31 17:38 brun
* geom/inc/TGeoArb8.h, geom/inc/TGeoCone.h, geom/inc/TGeoManager.h,
geom/inc/TGeoTube.h, geom/inc/TVirtualGeoPainter.h,
geom/src/TGeoCone.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoPcon.cxx, geom/src/TGeoPgon.cxx,
geom/src/TGeoSphere.cxx, geom/src/TGeoTube.cxx,
geom/src/TGeoVolume.cxx, geompainter/inc/TGeoChecker.h,
geompainter/inc/TGeoPainter.h, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoPainter.cxx:
New version of the geometry package from Andrei:
- new algorithms for computing safety for tubes, cones, pcon
- TGeoChecker::CheckPoint() modified so that a "safety ball" is drawn
when one uses it. - global tracking modified such that the distances for most of the
shapes (except pgon and arb8) are computed only if the safety to these
shapes is smaller than a refference value.
There is one limitation in case global safety is computed : the value
fSafety hold by TGeoManager does not represent the real safety, but the
minimum safety value among those calculated for the checked nodes.
Therefore if some node is "backwards" w.r.t the current direction, it
will be ignored in safety computation. I do not know if this affects
tracking, but I guess not. In short words, the global safety depends on
the current direction - for instance after just exiting a volume it
might happen that safety is not a very small value.
2003-01-31 17:37 brun
* test/stressgeom.cxx:
New version by Mihaela Gheata to include "trusted" values for
the first part of the test
2003-01-31 17:20 brun
* test/Tetris.cxx:
Make Tetris working again
2003-01-31 17:06 rdm
* Makefile, cint/Module.mk, freetype/Module.mk, utils/Module.mk:
small cleanup of Matt's fixes + bug fix in cleanup script in freetype/Module.mk.
2003-01-31 16:42 brun
* test/Hello.cxx:
Fix in TChar::GetWidth to take into account teh new TText::GetTextExtent
2003-01-31 16:13 brun
* tutorials/timeonaxis.C:
Remove call to gROOT->Reset in timeonaxis.C
2003-01-31 16:11 brun
* tutorials/FeldmanCousins.C:
Update comments
2003-01-31 14:09 brun
* Makefile, configure, cint/Module.mk, config/Makefile.win32,
config/Makefile.win32gdk, main/Module.mk, utils/Module.mk:
Some mods by Matt Langston optimizing the make clean setup
and adding support to install under MS .NET environment
2003-01-31 12:32 brun
* test/stress.cxx:
Renormalize stress following the recent additions from Philippe
2003-01-31 12:21 brun
* base/inc/RVersion.h, build/version_number:
Increment version to 3.05/02
2003-01-31 12:21 brun
* hist/src/TH1.cxx:
Add comments in TH1::Fit indicating how to access the fit covariance matrix
2003-01-31 12:06 brun
* base/inc/RConfig.h:
revert to the previous version.
Activating R__ANSISTREAM with VC++6 has two many side-effects.
Bugs found in VC++6 when compiling TDatime and TTime. Hopeless to fix.
This seems to compile however correctly with VC++7
2003-01-31 09:24 brun
* table/: inc/TCL.h, inc/TTable.h, inc/TTableMap.h,
src/TTableDescriptor.cxx:
Several updates from Valeri Fine fixing portability problems
2003-01-31 09:23 brun
* treeplayer/inc/TTreeFormulaManager.h:
The TTreeFormulaManager destructor moved to the public area.
VC++7 did not accept it as private.
2003-01-31 09:22 brun
* base/inc/RConfig.h:
use R__ANSISTREAM for all versions of VC++
2003-01-31 09:10 brun
* utils/src/rootcint.cxx:
from Philippe
workaround for a Solaris compiler bug with nested classes.
2003-01-30 15:55 brun
* test/: dt_build.C, dt_wrap.C:
New scripts required by the new version of DrawTest.sh
2003-01-30 15:36 rdm
* config/Makefile.aix5, config/Makefile.win32,
config/Makefile.win32gdk, html/Module.mk:
add in the libHtml build rule the dependency on libGraf so parallel builds will
still work.
2003-01-30 15:07 brun
* html/src/THtml.cxx:
Remove unused variable "end"
2003-01-30 15:05 brun
* geom/src/TGeoVoxelFinder.cxx:
Remove unused variable "in"
2003-01-30 14:52 brun
* config/Makefile.aix5:
add lGraf as LIBHTMLLIBEXTRA required by new THtml
2003-01-30 14:34 brun
* html/: inc/THtml.h, src/THtml.cxx:
More compilation problems fixed
2003-01-30 12:59 brun
* html/: inc/THtml.h, src/THtml.cxx:
Fix several portability problems
2003-01-30 12:33 brun
* html/: inc/LinkDef.h, inc/THtml.h, src/THtml.cxx:
New version of THtml by Axel Naumann implementing a new function MakeHelp
to be used by the new ROOT Help system in preparation.
2003-01-30 10:21 brun
* treeviewer/src/TTreeViewer.cxx:
Add protection in case the Treeviewer is used to draw a variable
and gPad is null.
2003-01-30 09:37 brun
* graf/: inc/TMarker.h, src/TMarker.cxx:
Implement support for NDC coordinates. New function SetNDC
2003-01-30 09:22 brun
* test/Makefile.in:
Add special case for Windows to build stressgeom
2003-01-30 07:40 brun
* test/Event.cxx, test/Event.h, test/dt_DrawTest.C,
test/dt_MakeRef.C, test/dt_Makefile, test/dt_RunDrawTest.C,
test/dt_RunDrawTest.sh, treeplayer/inc/TTreeFormula.h,
treeplayer/src/TSelectorDraw.cxx, treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch adds systematic test for the ability of TTree::Draw to draw TBits objects.
It also fixes all the bug discovered during the tests.
It also adds a test for split level 2.
2003-01-29 22:58 brun
* hist/src/TH1.cxx:
Mods in TH1::BufferEmpty and TH1::RebinAxis to support multiple calls
to BufferEmpty when the kCanRebin bit is set.
2003-01-29 17:53 brun
* win32gdk/src/TGWin32.cxx:
From Bertrand
One more fix for the line dash style
2003-01-29 17:49 brun
* histpainter/src/THistPainter.cxx:
From Olivier:
* New option SURF5:
"SURF5" : Same as SURF3 but only the colored contour is drawn. Used
with option CYL, SPH or PSR it allows to draw colored
contours on a sphere, a cylinder or a in pseudo rapidy space.
In cartesian or polar coordinates, option SURF3 is used.
* With option SURF4 (Gouraud shading) only the cartesian system was
allowed. This restriction (in the funtion analysing the plotting
options) has been removed because Gouraud shading works in all the
coordinate systems (POL, CYL, SPH and PSR).
2003-01-29 12:32 brun
* hist/src/TH1.cxx:
Fix a mismatch with operator delete in TH1::BufferEmpty
2003-01-29 11:42 brun
* geom/src/TGeoManager.cxx:
Fix a bug in TGeoManager::SetTopVolume.
The temp array of chars for the name was not allocated sufficiently large.
2003-01-29 09:32 brun
* icons/Splash.bmp:
Update to 3.05 by Bertrand
2003-01-29 08:36 brun
* win32gdk/gdk/dll/gdk-1.3.dll:
New version of the dll from Bertrand with better line types for NT and w2000 (but not w95 or w98)
2003-01-28 23:06 rdm
* win32gdk/gdk/dll/gdk-1.3.dll:
new version with fixes for dashed lines. By Bertrand.
2003-01-28 21:07 brun
* win32gdk/src/TGWin32.cxx:
Fix in line styles by Bertrand
2003-01-28 19:31 rdm
* gui/src/: TGColorDialog.cxx, TGColorSelect.cxx:
don't set user defined colors after widget has already been
deleted, now set just before window is deleted. Reportded by Otto Schaile.
2003-01-28 19:12 brun
* geom/inc/TGeoManager.h:
Remove reference to TGeoShape::kBig. TGeoShape is only a forward reference.
This gives problems when compiling geom on Windows.
2003-01-28 17:41 brun
* geom/src/TGeoManager.cxx, hist/inc/TF1.h, hist/src/TF1.cxx:
Add new function in TF1;
Double_t TF1::GetMaximumX(Double_t xmin, Double_t xmax) const
{
// return the X value corresponding to the maximum value of the function
// Method:
// the function is computed at fNpx points between xmin and xmax
// xxmax is the X value corresponding to the maximum function value
// An iterative procedure computes the minimum around xxmax
// until dx is less than 1e-9 *(fXmax-fXmin)
2003-01-28 08:43 brun
* base/: inc/TMath.h, src/TMath.cxx:
Add the Poisson distribution function
static Double_t Poisson(Double_t x, Double_t par);
2003-01-27 21:41 brun
* table/: inc/LinkDef.h, inc/TCL.h, inc/TChair.h,
inc/TColumnView.h, inc/TDataSet.h, inc/TDataSetIter.h,
inc/TFileIter.h, inc/TFileSet.h, inc/TGenericTable.h,
inc/TIndexTable.h, inc/TObjectSet.h, inc/TPoints3D.h,
inc/TPointsArray3D.h, inc/TPolyLineShape.h,
inc/TResponseIterator.h, inc/TResponseTable.h, inc/TTable.h,
inc/TTable3Points.h, inc/TTableDescriptor.h, inc/TTableIter.h,
inc/TTableMap.h, inc/TTablePoints.h, inc/TTableSorter.h,
inc/TVolume.h, inc/TVolumePosition.h, inc/TVolumeView.h,
inc/TVolumeViewIter.h, inc/Ttypes.h, inc/tableDescriptor.h,
src/TCL.cxx, src/TChair.cxx, src/TColumnView.cxx, src/TDataSet.cxx,
src/TDataSetIter.cxx, src/TFileIter.cxx, src/TFileSet.cxx,
src/TGenericTable.cxx, src/TIndexTable.cxx, src/TObjectSet.cxx,
src/TPoints3D.cxx, src/TPointsArray3D.cxx, src/TPolyLineShape.cxx,
src/TResponseTable.cxx, src/TTable.cxx, src/TTable3Points.cxx,
src/TTableDescriptor.cxx, src/TTableIter.cxx, src/TTableMap.cxx,
src/TTablePoints.cxx, src/TTableSorter.cxx, src/TVolume.cxx,
src/TVolumePosition.cxx, src/TVolumeView.cxx,
src/TVolumeViewIter.cxx:
New version of the Table package by Valeri Fine.
New classes TIndexTable TResponseIterator TResponseTable TTableMap
2003-01-27 19:24 rdm
* base/src/TSystem.cxx, winnt/inc/TWinNTSystem.h,
winnt/src/TWinNTSystem.cxx:
change several other Char_t's to char.
2003-01-27 19:13 brun
* unix/src/TUnixSystem.cxx:
Change Char_t to char in HomeDirectory to be consistent with the prototype.
2003-01-27 19:04 brun
* geom/: inc/TGeoCache.h, inc/TGeoManager.h, inc/TGeoVolume.h,
src/TGeoCache.cxx, src/TGeoManager.cxx, src/TGeoVolume.cxx:
add a second argument to TGeoManager::GetBranchNumbers to also return the
volume serial numbers in addition to the volume copy numbers.
Add a new data member fNumber in TGeoVolume. fNumber is the volume
serial number in the list of volumes as returned by AddVolume.
2003-01-27 14:16 brun
* geom/: inc/TGeoCache.h, inc/TGeoManager.h, inc/TGeoNode.h,
inc/TGeoVolume.h, src/TGeoBBox.cxx, src/TGeoCache.cxx,
src/TGeoCone.cxx, src/TGeoManager.cxx, src/TGeoNode.cxx,
src/TGeoPara.cxx, src/TGeoPgon.cxx, src/TGeoSphere.cxx,
src/TGeoTrd1.cxx, src/TGeoTrd2.cxx, src/TGeoVolume.cxx:
Update to the geometry package to support copy numbers in TGeoNode.
2003-01-27 11:34 rdm
* cint/: inc/G__ci.h, include/iostream.h, include/stdio.h,
lib/cbstream/iostrm.h, lib/gcc3strm/iostrm.h, lib/iccstrm/iostrm.h,
lib/posix/posix.h, lib/pthread/Makefile, lib/snstream/iostrm.h,
lib/stdstrct/setup, lib/stdstrct/stdfunc.h, src/cast.c,
src/gcc3strm.cxx, src/iccstrm.cxx, src/loadfile.c, src/newlink.c,
src/struct.c, src/sunstrm.cxx:
import of CINT 5.15.72.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-01-27 11:28 brun
* geom/: inc/TGeoManager.h, src/TGeoManager.cxx:
Some optimisations when calling GetNode or MastertoLocal
2003-01-27 11:28 brun
* base/src/TRandom.cxx:
Minor optimisation in RndmArray
2003-01-26 22:03 brun
* base/: inc/TRandom.h, inc/TRandom2.h, inc/TRandom3.h,
src/TRandom.cxx, src/TRandom2.cxx, src/TRandom3.cxx:
In TRandom add new function:
virtual void RndmArray(Int_t n, Float_t *array);
In TRandom2 and TRandom3, add the functions:
virtual void RndmArray(Int_t n, Float_t *array);
virtual void RndmArray(Int_t n, Double_t *array);
2003-01-26 15:49 brun
* build/unix/makestatic.sh:
Remove geom and geompainter from the list of libs excluded
2003-01-26 15:46 brun
* geom/src/TGeoManager.cxx:
Optimize TGeoManager::FindNode(x,y,z) bypassing the call to FindNode()
2003-01-26 14:21 brun
* base/src/TMath.cxx:
In the Locmin and Locmax functions, start loop at element 1 instead of 0.
2003-01-26 14:17 brun
* gui/src/TGListTree.cxx:
Implement suggestion by Bertrand to optimize the tooltip position
2003-01-24 18:27 rdm
* build/unix/makecintdlls.sh:
make it compile on Solaris, reference to include directory was missing.
2003-01-24 18:26 rdm
* graf/Module.mk, x11ttf/Module.mk:
make sure our freetype include directory appears before any system directory
that might contain also freetype includes (was found on MacOS X).
2003-01-24 10:49 brun
* tutorials/: basic.C, hadd.C, multidimfit.C, pythiaExample.C,
tree0.C, waves.C:
Change <iostream.h> to "Riostream.h" to run with gcc3.2
Several changes to run with ACLIC
2003-01-24 09:38 brun
* geom/src/: TGeoArb8.cxx, TGeoBBox.cxx, TGeoCompositeShape.cxx,
TGeoCone.cxx, TGeoEltu.cxx, TGeoManager.cxx, TGeoPara.cxx,
TGeoPcon.cxx, TGeoPgon.cxx, TGeoSphere.cxx, TGeoTrd1.cxx,
TGeoTrd2.cxx, TGeoTube.cxx:
From Andrei:
fix warnings aboit unused arguments
2003-01-24 09:24 brun
* treeviewer/src/TTreeViewer.cxx:
Add protection in the TTreeViewer constructor in case of a Tree in memory (no file)
2003-01-24 08:58 brun
* test/stress.cxx:
Renormalize stress (slower after Philippe's change) and use only CPU time.
2003-01-24 08:06 brun
* test/: DrawTest.sh, dt_Makefile, dt_RunDrawTest.sh:
From Philippe:
Update DrawTest.sh suite for Windows
2003-01-24 08:04 brun
* treeplayer/: inc/TSelectorDraw.h, inc/TTreeFormula.h,
src/TSelectorDraw.cxx, src/TTreeFormula.cxx:
From Philippe
Inclosed is a patch that allow the TTree::Drawing a TBits object. I.e
mytree->Draw("myevent.myTbits");
will create a 1D histogram from 0 to nbits which is filled for
each bitnumber which is non-null.
This features is enable if and only if the 'to be drawn' formula contains
only one variable and no operations but can contains method calls:
mytree->Draw("event.fH");
mytree->Draw("event.GetHistogram()");
mytree->Draw("event.fH.GetXaxis()");
mytree->Draw("event.GetHistogram().GetXaxis()");
mytree->Draw("event.fH.GetXaxis().IsA()");
mytree->Draw("check("event.GetHeader()");
mytree->Draw("event.GetTrackCopy()");
mytree->Draw("event.GetTrackCopy(2)");
mytree->Draw("event.GetTrackCopy().fTrigBits");
The system will be extended to allow the 'drawing' of classes other than TBits.
This version is working but is not aggresively optimized (no code
duplication) but has a negligeable impact on the existing cases (one extra
'if (bool)' for each TSelectorDraw::ProcessFill.
TTreeFormula has a new eval function EvalObject which returns a pointer to
the (eventual) object pointed to by the formula. EvalClass return the TClass
corresponding to this object.
2003-01-24 00:25 rdm
* config/Makefile.aix5:
add also GRAFLIB dependency to X11TTFLIBDEP.
2003-01-23 22:46 brun
* config/Makefile.aix5:
Add -lGraf to X11TTFLIBEXTRA
2003-01-23 22:11 rdm
* freetype/Module.mk:
add code to undef FT_MACINTOSH in ftconfig.h which is for MacOS 9 and not
MacOS X. Freetype 2 works now also on MacOS X.
2003-01-23 21:12 rdm
* freetype/Module.mk:
remove warning message when doing multiple time "make distclean".
2003-01-23 15:25 brun
* geom/: inc/TGeoArb8.h, inc/TGeoBBox.h, inc/TGeoCompositeShape.h,
inc/TGeoCone.h, inc/TGeoEltu.h, inc/TGeoManager.h, inc/TGeoPara.h,
inc/TGeoPcon.h, inc/TGeoPgon.h, inc/TGeoShape.h, inc/TGeoSphere.h,
inc/TGeoTrd1.h, inc/TGeoTrd2.h, inc/TGeoTube.h, inc/TGeoVolume.h,
src/TGeoArb8.cxx, src/TGeoBBox.cxx, src/TGeoCompositeShape.cxx,
src/TGeoCone.cxx, src/TGeoEltu.cxx, src/TGeoManager.cxx,
src/TGeoNode.cxx, src/TGeoPara.cxx, src/TGeoPcon.cxx,
src/TGeoPgon.cxx, src/TGeoSphere.cxx, src/TGeoTrd1.cxx,
src/TGeoTrd2.cxx, src/TGeoTube.cxx, src/TGeoVolume.cxx,
src/TGeoVoxelFinder.cxx:
From Andrei:
- all shape classes : changed the prototype for Safety() method.
Eliminated validity checking in Divide() methods that are now globally
handled by TGeoVolume::Divide(). Added methods
TGeoShape::GetAxisName/Range(Int_t iaxis) which are used by the new
global division mechanism.
- safety for TGeoTrap now computed (pcon, pgon not yet)
- TGeoVolume : eliminated unnecesarry Divide() prototypes. The new
Divide() prototype is backwards compatible (old macros works with it)
but supports an option in order to allow all G3 division types. More
description in TGeoVolume::Divide().
- TGeoManager : Only one prototype for G3-like divisions left,
supporting all G3 options and also being able to assign to the division
volumes a medium different than the one of the divided volume. New
FindNode(x,y,z) implemented. New IsSameLocation(x,y,z) with the same
functionality as GINVOL.
2003-01-23 13:12 rdm
* config/Makefile.alphacxx6, freetype/Module.mk:
fix for Alpha cxx6, freetype needs to be compiled with cc and not gcc.
2003-01-23 10:47 rdm
* freetype/Module.mk:
untarring should now work on sgi too.
2003-01-22 23:53 rdm
* freetype/Module.mk:
compile freetype in pic mode (needed for HP-UX).
2003-01-22 23:26 rdm
* cint/: inc/G__ci.h, inc/Method.h, inc/fproto.h, inc/global.h,
lib/longlong/longdbl.h, lib/prec_stl/memory,
lib/stdstrct/stdfunc.h, src/Method.cxx, src/debug.c, src/decl.c,
src/expr.c, src/func.c, src/global2.c, src/ifunc.c, src/loadfile.c,
src/newlink.c, src/parse.c, src/pause.c, src/pragma.c,
src/struct.c, src/tmplt.c, src/typedef.c, src/var.c,
tool/ifdef/setup.bat:
import of CINT 5.15.71.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-01-22 18:53 brun
* x11ttf/src/TGX11TTF.cxx:
Remove an unreachable statement in TGX11TTF::SetTextFont
2003-01-22 18:51 rdm
* freetype/Module.mk:
check for gtar and use that instead of zcat.
2003-01-22 18:49 brun
* utils/src/rootcint.cxx:
In the functions Compress and Strdup allocate 20 additional characters
more than the strlen of the original string to cope with some situations like
vector<vector<T>> (note the missing blank between the >>)
In the section generating code for STL, replace generated lines like
if (!R__n) return;
by
if (R__n) {
..
}
With this change, the generated code works also when the option "+"
is not specified in the pragma of LinkDef
2003-01-22 16:05 rdm
* main/Module.mk:
hadd had missing libGraf dependency, causing failure with parallel build.
2003-01-22 15:50 rdm
* graf/inc/TTF.h:
better CINT only forward declaration of some freetype types. Fixes problem
on Alpha.
2003-01-22 14:33 rdm
* build/package/common/README:
update comments about obtaining ttf font files.
2003-01-22 14:31 rdm
* build/package/rpm/root-ttf.spec.in:
ttf now integral part of ROOT.
2003-01-22 14:31 rdm
* build/package/debian/root-ttf.control.in:
ttf now integral part of ROOT.
2003-01-22 14:30 rdm
* build/package/common/: root-ttf.dscr, root-ttf.files,
root-ttf.shlibs:
ttf is now integral part of ROOT.
2003-01-22 12:23 rdm
* Makefile, configure, README/INSTALL, base/src/TApplication.cxx,
base/src/TAttText.cxx, build/package/common/root-bin.files,
build/package/debian/root-bin.control.in,
build/package/lib/makedebdir.sh, build/package/lib/makerpmspec.sh,
build/package/rpm/head.spec.in, build/unix/makedist.sh,
build/win/makedist.sh, cint/tool/ifdef/setup.bat,
config/Makefile.aix, config/Makefile.aix5, config/Makefile.in,
config/Makefile.sgicc, config/Makefile.win32gdk, config/config.in,
config/rootrc.in, etc/.cvsignore, graf/Module.mk,
graf/inc/LinkDef1.h, graf/inc/LinkDef2.h, graf/inc/TLatex.h,
graf/inc/TText.h, graf/src/TLatex.cxx, graf/src/TText.cxx,
gui/src/TGApplication.cxx, proofd/src/proofd.cxx,
rint/src/TRint.cxx, rootd/src/rootd.cxx,
win32gdk/inc/GdkConstants.h, win32gdk/inc/TGWin32.h,
win32gdk/src/GdkThread.cxx, win32gdk/src/TGWin32.cxx,
winnt/src/TWinNTSystem.cxx, x11/src/TGX11.cxx, x11ttf/Module.mk,
x11ttf/inc/TGX11TTF.h, x11ttf/src/TGX11TTF.cxx:
big patch adding full freetype 2 TTF support to the ROOT core and X11
and Win32gdk displaying modules. TTF support provided by Olivier Couet
and Bertrand Bellenot (for Win32), build system updated by me.
Also fixes the RH8.0 installation problems of rootd and proofd.
2003-01-22 12:09 rdm
* freetype/src/.cvsignore:
prevent unpacked freetype directory from showing up in cvs listing.
2003-01-22 12:07 rdm
* graf/: inc/TTF.h, src/TTF.cxx:
class that interfaces all font handling to freetype 2. By Olivier Couet.
2003-01-22 12:03 rdm
* freetype/: Module.mk, src/freetype-2.1.3.tar.gz,
src/win/freetype.dep, src/win/freetype.mak:
add freetype 2.1.3. The freetype-2.1.3.tar.gz is the unaltered freetype
distribution tar file. We will use freetype's own make procedure to build it.
freetype.mak is the windows nmake file for freetype (was not included in the
freetype-2.1.3.tar.gz).
2003-01-22 11:58 rdm
* fonts/: LICENSE, arial.ttf, arialbd.ttf, arialbi.ttf, ariali.ttf,
ariblk.ttf, comic.ttf, comicbd.ttf, cour.ttf, courbd.ttf,
courbi.ttf, couri.ttf, georgia.ttf, georgiab.ttf, georgiai.ttf,
georgiaz.ttf, impact.ttf, monotype.ttf, symbol.ttf, times.ttf,
timesbd.ttf, timesbi.ttf, timesi.ttf, trebuc.ttf, trebucbd.ttf,
trebucbi.ttf, trebucit.ttf, verdana.ttf, verdanab.ttf,
verdanai.ttf, verdanaz.ttf, webdings.ttf, wingding.ttf:
Add Microsoft public truetype font set.
2003-01-22 09:05 brun
* base/inc/RVersion.h, build/version_number:
Make version 3.05/01
2003-01-22 09:04 brun
* utils/src/rootcint.cxx:
Increase size of all arrays with dimensions 512 to kMaxLen=1024
2003-01-21 23:48 rdm
* win32gdk/gdk/dll/gdk-1.3.dll:
new version not depending on msvcrtd.dll, by Bertrand.
2003-01-21 14:51 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::BuildCheck, always scan the list of TStreamerElement if
a TStreamerInfo with the same class version already exists. If the TStreamerElement
titles are different, set the old title to the new title.
This change is required to cope with complex cases when the old TStreamerInfo
was built from a Tree in no split mode and the new TStreamerInfo from a Tree
in split mode. In this case, a class with a TClonesArray may have the class name
contained in the TClonesArray missing in the TStreamerElement title.
2003-01-21 09:10 brun
* cint/iosenum/iosenum.win32:
iThis file had erroneous quotes in the pragma statements. As a result
when running on Windows, the following message was generated:
Unrecognized string ''#pragma ifndef G__TMPLTIOS''#pragma
2003-01-20 16:33 rdm
* base/: inc/TBrowser.h, src/TBrowser.cxx:
don't create browser imp when default ctor is called via TClass::New().
Like for TCanvas.
2003-01-20 15:35 brun
* geom/: inc/TGeoManager.h, inc/TGeoNode.h, src/TGeoArb8.cxx,
src/TGeoBBox.cxx, src/TGeoCone.cxx, src/TGeoManager.cxx,
src/TGeoNode.cxx, src/TGeoPara.cxx, src/TGeoPcon.cxx,
src/TGeoTrd1.cxx, src/TGeoTrd2.cxx, src/TGeoTube.cxx,
src/TGeoVolume.cxx:
Several updates to the geometry pacjage by Andrei:
TGeoManager :
- added getter for current direction;
- dummy cache option by default
TGeoNodeOffset
- set the name for parametrized divisions; minor fix in allocating the
space for the name (safer now)
TGeoPatternFinder :
- the getter for the matrix of a divided node will return the updated
matrix (before one had to do TGeoNodeOffset::cd() first, now
TGeoNodeOffset::GetMatrix() does this in one go)
Shape classes :
- protection for wrong division range slightly modified
2003-01-20 13:57 brun
* treeplayer/src/TFileDrawMap.cxx:
cast to char* calls to strstr (for Solaris)
2003-01-20 09:44 brun
* base/src/TQConnection.cxx, base/src/TVirtualPS.cxx,
g3d/src/TNode.cxx, gui/inc/TGMenu.h, gui/src/TGClient.cxx,
postscript/src/TPostScript.cxx, postscript/src/TSVG.cxx,
tree/src/TBranch.cxx, x11/src/GX11Gui.cxx, x11ttf/inc/TGX11TTF.h,
x11ttf/src/TGX11TTF.cxx:
Add protections in destructors in case the default constructor has been called.
Initialize pointers in some default constructors.
2003-01-20 08:25 brun
* x11/src/TGX11.cxx:
Add protection in the destructor in case the default constructor has been called.
2003-01-19 22:47 brun
* treeplayer/src/TFileDrawMap.cxx:
Remove dependencies from libGpad
2003-01-19 22:18 brun
* treeplayer/: inc/TFileDrawMap.h, src/TFileDrawMap.cxx:
Add function TFileDrawMap::AnimateTree showing the sequence in which
baskets are read from the file.
2003-01-19 22:17 brun
* base/src/TFile.cxx:
From Bertrand:
The _commit function forces the operating system to write the file associated
with handle to disk. This call ensures that the specified file is flushed immediately,
not at the operating system's discretion.
2003-01-19 12:35 brun
* winnt/src/TWinNTSystem.cxx:
From Bertrand:
Here is TWinNTSystem.cxx who solves the problem
of 100% CPU usage in batch mode...and speeds up
benchmarks.c executed in batch mode as :
root -b -q benchmarks.c
2003-01-17 20:06 brun
* gui/src/TRootBrowser.cxx:
Bug fixes in the browser vy Valeri Onuchin
2003-01-17 18:48 brun
* base/src/TFile.cxx, config/rootrc.in, tree/inc/TTree.h,
tree/inc/TVirtualTreePlayer.h, tree/src/TTree.cxx,
treeplayer/inc/LinkDef.h, treeplayer/inc/TFileDrawMap.h,
treeplayer/inc/TFileMap.h, treeplayer/inc/TTreeFileMap.h,
treeplayer/inc/TTreePlayer.h, treeplayer/src/TTreePlayer.cxx,
treeplayer/src/TFileDrawMap.cxx, treeplayer/src/TFileMap.cxx,
treeplayer/src/TTreeFileMap.cxx:
Merge the functionality of the two previous classes TFileMap and TTreeFileMap
into a single new class TFileDrawMap.
See comments in TFileDrawMap for usage info.
make distclean is recommended
2003-01-17 18:48 brun
* treeplayer/src/: TSelectorDraw.cxx, TTreeFormula.cxx:
From Philippe:
The following patch repairs the fact that the new TSelectorDraw
does not properly recover from error in the parsing of the formulas.
It also fixes a problem in the parsing of erroneous input when part
of the name matches a split TClonesArray branch name.
2003-01-17 14:59 brun
* base/inc/TFile.h:
Add the following getters:
virtual Int_t GetNbytesInfo() const {return fNbytesInfo;}
virtual Int_t GetNbytesFree() const {return fNbytesFree;}
virtual Seek_t GetSeekFree() const {return fSeekFree;}
virtual Seek_t GetSeekInfo() const {return fSeekInfo;}
2003-01-17 14:58 brun
* base/inc/TDirectory.h:
Add new getter function:
virtual Int_t GetNbytesKeys() const
2003-01-17 14:55 brun
* histpainter/src/THistPainter.cxx:
Allocate and Deallocate dynamic arrays fXbuf and fYbuf in THistPainter::Paint
instead of the constructor/destructor.
In case of many histograms, the previous allocation was a substantial
overhead in memory.
2003-01-17 11:40 rdm
* meta/src/TClass.cxx:
in New() add comment about defConstructor argument.
2003-01-17 11:35 rdm
* base/src/TBuffer.cxx:
small corrections in comments.
2003-01-17 11:35 rdm
* net/src/TNetFile.cxx:
big bug in TNetFile, due to mistake in argument parsing could not create
new files via rootd anymore. Reported by Gerri Ganis.
2003-01-16 19:49 brun
* base/: inc/TFile.h, src/TFile.cxx:
Add new function TFile::DrawMap. When invoked (via context menu)
TFile::DrawMap calls the class TFileMap via the PluginManager.
Description of this new class still to be done.
2003-01-16 19:47 brun
* treeplayer/: inc/TTreeFileMap.h, src/TTreeFileMap.cxx:
Several changes to synchronize with new class TFileMap. In particular,
the Tree map may be invoked directly from a TFileMap picture.
2003-01-16 19:46 brun
* config/rootrc.in:
Add new plugin TFileMap
2003-01-16 19:45 brun
* treeplayer/: inc/LinkDef.h, inc/TFileMap.h, src/TFileMap.cxx:
Add a new class to draw a graphical map of objects in a TFile.
The class is automatically invoked from TFile::DrawMap.
2003-01-16 19:07 brun
* hist/: inc/TMultiDimFit.h, src/TMultiDimFit.cxx:
From Christian.Holm.Christensen, solving a problem and adding features
requested by Gilles Quéméner.
I've made a patch for TMultiDimFit.h and TMultiDimFit.cxx that
exposes the (new) member functions, GetCorrelationMatrix(),
GetCoefficients(), GetPolyType(), and takes two new options to Print:
K Print correlation matrix
M Pretty print the parameterisation.
Also, the patch fixes a bug.
2003-01-16 18:57 rdm
* gui/: inc/TRootBrowser.h, src/TRootBrowser.cxx:
Two changes in TRootBrowser:
1. two signals added to TRootBrowser class
void BrowseObj(TObject *obj); //*SIGNAL*
void ExecuteDefaultAction(TObject *obj); //*SIGNAL*
2. few data members of TRootBrowser made protected, so one can
gain access to these methods via a derived class.
How to use it?
TBrowser *b;
TRootBrowser *imp = (TRoorBrowser*)b->GetBrowserImp();
imp->Connect("BrowseObj(TObject*)", ...
imp->Connect("ExecuteDefaultAction(TObject*)", ...
2003-01-16 18:36 rdm
* configure:
set correct -rpath for Solaris (is -R option). Reported by Eddy Offermann.
2003-01-16 12:23 brun
* hist/src/TF1.cxx:
Add a protection in the new code from Daniel de Marco in TF1::GetRandom
2003-01-16 07:39 brun
* cint/lib/prec_stl/memory, utils/src/rootcint.cxx:
From Philippe:
I finally got some time to look at why CINT dictionary kept using __malloc_alloc_template with gcc 2.9x. The reasons I was
looking
into it is that I have been having to filter out the word
'__malloc_alloc_template' when creating the Shadow (this was leading
to compiler error). And today, I discovered that, more subtely, it
was making most multiple inheritances from a std container wrong.
The content of G__cpp_setup_inheritancedict was something like:
DerivedTemplate<int> *G__Lderived;
list<int,__malloc_alloc_template> *G__Lpbase=(list<int,__malloc_alloc_template>*)G__Lderived;
... (long)G__Lpbase-(long)G__Lderived ...
with DerivedTemplate inheriting from list. And the result of the substraction was 0!
So I investigated further and discovered that gcc 2.9x uses __malloc_alloc_template
if and ONLY if the symbol __USE_MALLOC was set. In the other case it uses
__default_alloc_template.
This means that in my example DerivedTemplate inherited from
list<int,__default_alloc_template> and NOT from list<int,__malloc_alloc_template>.
Hence the error.
The simple solution was to use neither of the 2 alloc_template but to use/rely on the typedef that gcc uses. So for
makecint/rootcint ONLY, I modified CINT's memory header (see attachement).
This actually should fix ALL the problems we encountered related to __malloc_alloc_template.
2003-01-15 22:45 brun
* hist/: inc/TF1.h, inc/TF2.h, src/TF1.cxx, src/TF2.cxx:
Implement TF1::GetRandom(Double_t xmin, Double_t xmax), a proposal from Daniel de Marco.
This function is dummied in case of TF2.
2003-01-15 07:58 brun
* tree/inc/TChain.h:
from Philippe
Implement TChain::SetMakeClass
2003-01-14 19:19 brun
* histpainter/src/THistPainter.cxx:
Fix a problem when computing the color palette in logx scale
2003-01-14 18:11 brun
* cint/inc/G__ci.h:
Fix by Philippe for a problem with typedefs and templates reported by Bill Tanembaum
2003-01-14 17:13 brun
* geompainter/src/TGeoChecker.cxx:
Bug fix by Andrei
2003-01-14 16:44 rdm
* gui/src/TGFrame.cxx, test/guitest.cxx, tutorials/guitest.C:
support for new "wall style" border for group-frames: if frame option
is kRaisedFrame, the group-frame border is of "wall style", otherwise it
is of "groove style". I added examples of "wall style" border of group
frame to guitest.C and guitest.cxx. By Valeriy O.
2003-01-14 15:24 rdm
* tutorials/file.C:
header text was not properly placed (showed more clearly with new TTF
implementation). By Olivier.
2003-01-13 23:17 brun
* geom/src/TGeoSphere.cxx:
Fix uninitialized arrays in functions DistToOut
2003-01-13 23:06 brun
* geom/src/: TGeoSphere.cxx, TGeoTube.cxx:
Fix uninitialized arrays in the DistToIn functions.
2003-01-13 21:53 brun
* test/stressgeom.cxx:
Use new option "d" (dummy cache) when calling CloseGeometry.
2003-01-13 21:52 brun
* geom/: inc/TGeoCache.h, inc/TGeoManager.h, src/TGeoManager.cxx:
From Andrei:
Implement an option "dummy cache"
2003-01-13 21:18 brun
* tree/src/TChain.cxx:
Add comments in TChain::Merge to indicate that the input file is always closed and deleted.
2003-01-13 19:00 brun
* geom/src/: TGeoPcon.cxx, TGeoPgon.cxx:
Remove calls to ComputeBBox from the constructors.
2003-01-13 18:45 brun
* geom/src/: TGeoPcon.cxx, TGeoPgon.cxx:
Bug fixes in TGeoPgon and TGeoPgon by Andrei
2003-01-13 17:57 brun
* histpainter/: inc/TPaletteAxis.h, src/TPaletteAxis.cxx:
Implementation of TPaletteAxis::GetObjectInfo by Olivier
2003-01-13 17:46 rdm
* base/src/TROOT.cxx:
initialize the pluginmanager earlier to avoid crash in
TUnixSystem::AccessPathName().
2003-01-13 17:01 brun
* geom/src/: TGeoVolume.cxx, TGeoVoxelFinder.cxx:
Fix by Andrei for warnings due to unused arguments
2003-01-13 16:05 rdm
* rfio/inc/TRFIOFile.h, rfio/src/TRFIOFile.cxx,
unix/src/TUnixSystem.cxx:
support AccessPathName() via helper class to RFIO.
2003-01-13 16:04 rdm
* treeplayer/: inc/TSelectorDraw.h, src/TSelectorDraw.cxx:
remove two unused argument warnings (reported by MacOS X). Some reformatting
to 3 idents.
2003-01-13 15:53 brun
* geom/: inc/TGeoTube.h, src/TGeoTube.cxx:
Bug fixes in TGeoTube by Andrei.
2003-01-13 14:53 brun
* histpainter/src/: THistPainter.cxx, TPaletteAxis.cxx:
The color palette was drawn twice as soon as the pad was redrawn.
2003-01-13 11:57 brun
* tutorials/rootmarks.C:
rootmarks.C tuned
2003-01-13 02:33 rdm
* proofd/src/proofd.cxx, rootd/src/rootd.cxx:
glibc 2.3.2 has setresgid() and setresuid() defined in unistd.h.
2003-01-13 02:31 rdm
* rootx/inc/: rootlogo_xbm.h, rootlogo_xpm.h:
change version to 3.05.
2003-01-12 22:02 brun
* cint/src/ifunc.c:
Reintroduce an important change by Philippe that was fixing Maarten's problem
and unfortunately not taken by Masa in the new version of CINT
2003-01-12 18:54 brun
* base/inc/RVersion.h, build/version_number:
Stamp first development version 3.05/00
2003-01-12 18:24 rdm
* cint/: inc/G__ci.h, lib/dll_stl/eh.h, lib/pthread/Makefile,
lib/stdstrct/stdfunc.h, src/Api.cxx, src/error.c, src/func.c,
src/ifunc.c, src/loadfile.c, src/pause.c, src/struct.c,
src/typedef.c, src/var.c:
import of CINT 5.15.70.
Added memory initialization patch in var.c and enabled feature 1770
in ifunc.c that allows bypassing of method implementations in header
files (for Victor P.).
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-01-12 17:09 rdm
* cint/Module.mk:
small simplification.
2003-01-12 17:09 rdm
* base/src/TFile.cxx:
fix some identation.
2003-01-12 15:51 brun
* test/: Makefile.in, stressgeom.cxx:
add new stress test suite for the geometry package.
Modify the Makefile to build the test stressgeom automatically.
2003-01-12 15:49 brun
* geom/: inc/TGeoManager.h, inc/TGeoPatternFinder.h,
inc/TGeoVolume.h, src/TGeoArb8.cxx, src/TGeoBBox.cxx,
src/TGeoCone.cxx, src/TGeoManager.cxx, src/TGeoPara.cxx,
src/TGeoPcon.cxx, src/TGeoPgon.cxx, src/TGeoTrd1.cxx,
src/TGeoTrd2.cxx, src/TGeoTube.cxx, src/TGeoVolume.cxx,
src/TGeoVoxelFinder.cxx:
New version of TGeo classes from Andrei:
-TGeoManager - added G3-like prototypes for building geometry
-TGeoPatternFinder - added parameters of a division (fStart, fStep, fEnd)
-TGeoVolume - fix in TGeoVolumeMulti::AddVolume() to update existing
nodes for all volumes in list
several shapes supporting divisions - using TGeoVolumeMulti for divisions
-TGeoVoxelFinder - fixed dtor
2003-01-12 13:50 rdm
* x3d/src/TViewerX3D.cxx:
aiai, bug in icc in dynamic_cast<> when casting up to second base class
(in case of multiple inheritance).
2003-01-12 12:52 brun
* test/stress.cxx, tutorials/rootmarks.C:
Slight retuning of benchmarks to give exactly 200 Rootmarks on pcnotebrun
and 600 Rootmarks on pcbrun3. There is exactly a factor 3 between
the two machines.
Note that benchmarks.C in interactive mode is not yet tuned.
Use only root -b -q benchmarks.C
Also note that the current CVS version is slightly faster (3 per cent) since
the restructuring of TTreePlayer/TSelectorDraw.
2003-01-12 12:19 rdm
* x3d/src/TViewerX3D.cxx:
remove also here R__RTTI option.
2003-01-12 12:06 rdm
* base/inc/RConfig.h, base/src/TQObject.cxx,
gui/src/TGButtonGroup.cxx, gui/src/TGTableLayout.cxx:
remove R__RTTI option which was only used for systems not supporting
dynamic_cast<>. All systems now support this standard C++ feature.
2003-01-12 12:05 rdm
* configure:
build also by default multithreaded version on linux IA64.
2003-01-12 00:49 rdm
* base/src/TUUID.cxx:
try getting host-by-name only once in case host name does not resolve
properly. Also cache random system info. Should fix problem in case of
misconfigured name servers.
2003-01-11 19:19 brun
* test/bench.cxx, test/stress.cxx, tutorials/rootmarks.C:
Renormalize all benchmarks/rootmarks to give 600 Rootmarks
on pcbrun.cern.ch (Pentium IV 2.4 GHz/gcc3.2)
2003-01-11 18:28 brun
* hist/src/TH1.cxx:
Add a protection in TH1::SetStats.
In Th1::Build, move the creation of fFunctions before calling UseCurrentStyle.
2003-01-11 17:26 brun
* utils/src/rootcint.cxx:
Remove an unreachable statement
2003-01-11 15:21 brun
* treeplayer/src/TTreePlayer.cxx:
Mods in TTreePlayer::DrawSelect to take into account the case when the function
is called by TTreePlayer::Fit. TTreePlayer::fHistogram must be set
to the histogram object returned by the selector.
2003-01-11 13:54 brun
* hist/src/TH1.cxx:
In TH1::UseCurrentStyle, take into account a possible change
of gStyle->GetOptStat
2003-01-11 13:47 brun
* treeplayer/: inc/TSelectorDraw.h, src/TSelectorDraw.cxx,
src/TTreePlayer.cxx:
Move histogram drawing to TTreePlayer.
Implement TSelectorDraw::Notify replacing the old UpdateFormulaLeaves
2003-01-11 10:10 brun
* utils/src/rootcint.cxx:
From Philippe.
Remove a small memory leak from rootcint
2003-01-11 10:07 brun
* cint/src/func.c, cint/src/ifunc.c, cint/src/struct.c,
cint/src/var.c, treeplayer/inc/TSelectorDraw.h,
treeplayer/src/TSelectorDraw.cxx, treeplayer/src/TTreePlayer.cxx:
From Philippe:
Looking at Maarten's problem I noticed that the G__var_array are not properly initialized.
In the attached patch I corrected the problem by calling memset on each of the structs.
I also noticed (running Maarten's example) that a few times, the start of an error message is printed but the ending
(which should come from G__genericerror) is not printed because G__const_noerror is set to 1. So in a couple of place I
preceded the printing of the start of the error message by if (0==G__const_noerror).
2003-01-10 22:39 brun
* cint/src/ifunc.c:
From Philippe.
A fix to a problem reported by Maarten when running rootcint
2003-01-10 16:56 brun
* meta/src/TStreamerInfo.cxx:
Use the standard ROOT Warning function instead of printf in TStreamerInfo::BuildCheck
2003-01-10 15:53 brun
* treeplayer/: inc/TSelectorDraw.h, src/TSelectorDraw.cxx:
New class TSelectorDraw deriving from TSelector.
This new class is used from the new version of TTreePlayer::DrawSelect.
2003-01-10 15:51 brun
* treeplayer/: inc/LinkDef.h, inc/TTreePlayer.h,
src/TTreePlayer.cxx:
Important restructuring of the TTreePlayer class in view of PROOF.
In particular TTree::DrawSelect is reduced to a few lines to use
the new TSelectorDraw class via TTreePlayer::Process.
More changes are foreseen to use the same mechanism for TTree::Scan
and TTree::Query.
2003-01-10 15:46 brun
* tree/inc/TVirtualTreePlayer.h:
Remove unused funcions GetMultiplicity and Loop
2003-01-10 15:45 brun
* tree/: inc/TTree.h, src/TTree.cxx:
Remove unused function TTree::Loop
2003-01-10 15:44 brun
* tree/inc/TSelector.h:
Add new member fStatus + GetStatus and SetStatus
2003-01-10 11:38 brun
* hist/src/TAxis.cxx:
Move initialisation of fLabels from the Set functions to the constructors.
2003-01-09 18:13 brun
* histpainter/src/THistPainter.cxx:
From Olivier:
Implement non equidistant levels in option COL for 2D histogram drawing.
2003-01-09 18:13 brun
* histpainter/src/TPaletteAxis.cxx:
From Olivier
The palette in case of non equidistant level was wrong
2003-01-09 17:54 rdm
* README/CREDITS:
add Dan Bradley for the Chirp plugin.
2003-01-09 17:52 rdm
* dcache/src/TDCacheFile.cxx:
code cosmetics.
2003-01-09 17:51 rdm
* Makefile, configure, chirp/Module.mk, chirp/inc/LinkDef.h,
chirp/inc/TChirpFile.h, chirp/src/TChirpFile.cxx,
config/Makefile.in, config/rootrc.in:
a small plugin module for ROOT that enables access to remote
files via the Chirp protocol (http://www.cs.wisc.edu/condor/chirp).
This works especially nicely with the Condor job manager
(http://www.cs.wisc.edu/condor) that we and many others are using to run
CMS event simulations. The patch to v3.03.0 is attached if you would
like to include this in your distribution. It touches nothing outside
of the new module other than adding config entries.
Normally, remote system calls by jobs in Condor are handled
transparently as though the job were executing on the original submit
machine. (This has been very useful to us in Wisconsin, because we use
a large pool of execution machines that are not specially configured and
which therefore do not share a filesystem with our submission machines.)
However, this requires relinking the application with some special
libraries which are currently not compatible with the new multithreaded
CMS software. By adding a Chirp plugin to ROOT, we are able to
selectively enable remote access wherever we need it, simply by
prepending "chirp:" to the file names (assuming TFile:Open() is used, of
course). No additional daemons need to be installed or configured
unless we want to serve up the files from a machine other than the
submit machine. Code contributed by Dan Bradley.
2003-01-09 07:59 brun
* utils/src/rootcint.cxx:
Fix by Philippe for a problem with enums.
2003-01-07 18:31 rdm
* dcache/src/TDCacheFile.cxx:
small mod in option handling.
2003-01-07 18:31 rdm
* base/inc/TApplication.h:
make SetReturnFromRUn() public.
2003-01-07 18:29 rdm
* cint/: inc/G__ci.h, lib/posix/posix.h, lib/prec_stl/vector,
src/disp.c, src/func.c, src/g__cfunc.c, src/ifunc.c,
src/loadfile.c, src/newlink.c, src/pause.c, src/tmplt.c,
src/typedef.c, src/value.c, src/var.c:
import of CINT 5.15.69.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2003-01-07 12:24 brun
* geom/: inc/TGeoCache.h, inc/TGeoManager.h, src/TGeoCache.cxx,
src/TGeoManager.cxx:
Replace members fBits by fBitsArray
2003-01-07 10:48 brun
* geom/: inc/TGeoManager.h, inc/TGeoMaterial.h, inc/TGeoVolume.h,
src/TGeoManager.cxx, src/TGeoNode.cxx, src/TGeoVoxelFinder.cxx:
Use forward declarations instead of includes.
2003-01-06 18:06 brun
* geom/: inc/TGeoMedium.h, src/TGeoMedium.cxx:
Add new class to the geometry package
2003-01-06 18:05 brun
* geom/inc/LinkDef.h, geom/inc/TGeoManager.h,
geom/inc/TGeoMaterial.h, geom/inc/TGeoNode.h,
geom/inc/TGeoVolume.h, geom/inc/TGeoVoxelFinder.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoEltu.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoMaterial.cxx, geom/src/TGeoNode.cxx,
geom/src/TGeoPara.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoShape.cxx,
geom/src/TGeoSphere.cxx, geom/src/TGeoTrd1.cxx,
geom/src/TGeoTrd2.cxx, geom/src/TGeoTube.cxx,
geom/src/TGeoVolume.cxx, geom/src/TGeoVoxelFinder.cxx,
geompainter/inc/TGeoPainter.h, geompainter/src/TGeoPainter.cxx,
main/src/g2root.f, tutorials/rootgeom.C:
many changes in the geometry package.
Addition of the new class TGeoMedium
2003-01-06 09:38 brun
* graf/src/TGraph.cxx:
Protect TGraph::RemovePoint in case gPad is null.
2003-01-06 09:14 brun
* histpainter/: inc/TPaletteAxis.h, src/TPaletteAxis.cxx:
TPaletteAxis derives from TPave instead of TBox.
Functions Paint and ExecuteEvent modified such that the palette
is not affected by zooming on the axes.
2003-01-04 00:56 brun
* hist/src/TF1.cxx:
In TF1::Paint use a TH1D instead of a TH1F to avoid precision problems in case
the relative range/absolute range in x or y is less than 10^7
2003-01-02 23:41 brun
* graf/src/: TGraph.cxx, TGraphAsymmErrors.cxx, TGraphErrors.cxx:
Protect several functions like ComputeRange, GetHistogram, GetXaxis
when gPad is null.
2003-01-02 23:40 brun
* meta/src/TStreamerInfo.cxx:
Modify TStreamerInfo::TagFile to return immediatly if the function
is called while TFile::WriteStreamerInfo is called.
2003-01-02 23:39 brun
* base/src/TFile.cxx:
Replace statements fWritable=xx by SetWritable(xxx) except in the TFile constructor.
Modify TFile::WriteStreamerInfo to set the fClassIndex->fArray[0]=2, such that
TStreamerInfo::TagFile will not modify the array.
2003-01-02 23:36 brun
* base/: inc/TDirectory.h, src/TDirectory.cxx:
Implement a new function TDirectory::SetWritable (thanks to Bill Tanenbaum).
SetWritable recursively sets the fWritable flag for all subdirs (if any)
of the directory for which SetWritable is called.
2002-12-20 22:08 brun
* base/src/TFile.cxx:
Fix a bug found by Bill Tanenbaum.
Reading the free list uses the global "gFile". So, sometime before
calling ReadFree(), reopen should save the value of gDirectory, and cd()
to the current file. Afterwards, it can cd() back to the saved value.
In the new version, we cd() always to the file.
2002-12-20 16:26 brun
* hist/src/TF1.cxx:
Introduce a fix from Marco van Leeuwen <mvl@nikhef.nl> to solve
a precision problem when comparing two floats in TF1::IntegralMultiple.
2002-12-20 09:11 brun
* meta/src/TClass.cxx:
In TClass::GetRealData add support for pointers in embedded objects
like in TH1 with the members fXaxis.*fLabels. This fixes a problem
appearing with gcc3.2 only and reported my Mark Tessier and Brett Wiren.
2002-12-20 03:29 rdm
* unix/src/TUnixSystem.cxx:
in StackTrace() don't use special RedHat gcc 2.96 "gnu-new-abi" option
for c++filt, but instead the official gcc 3 option "gnu-v3".
2002-12-20 03:03 rdm
* cint/iosenum/iosenum.linuxia64gcc:
add version for gcc 2.x.
2002-12-20 02:35 rdm
* cint/Module.mk:
use different iosenum.h file when using gcc v3.
2002-12-20 02:33 rdm
* cint/iosenum/iosenum.linux:
version for gcc 2.x.
2002-12-20 02:32 rdm
* cint/iosenum/: iosenum.linux3, iosenum.linuxia64gcc,
iosenum.linuxia64gcc3, iosenum.macosx, iosenum.macosx3:
add new iosenum cache files for gcc 3. Remove files that were for gcc 2.x.
2002-12-19 17:06 brun
* hist/src/TAxis.cxx:
The member fLabels was not initialized in some cases.
Set fLabels=0 in the Set functions.
2002-12-19 08:47 brun
* graf/src/TGraph.cxx:
In TGraph::GetHistogram take into account the case when ymin is slightly negative.
2002-12-19 08:46 brun
* base/inc/LinkDef1.h:
From Philippe:
Add declarations of the following typedefs:
ROOT::NewFunc_t ROOT::NewArrFunc_t ROOT::DelFunc_t ROOT::DelArrFunc_t ROOT::DesFunc_t
2002-12-18 09:07 brun
* base/: inc/TProcessID.h, src/TProcessID.cxx:
Change TProcessID::IsValid to support the case where the argument is a TProcessUUID.
2002-12-17 22:14 brun
* utils/src/rootcint.cxx:
From Philippe:
The following patch insures that nested union and enumerations are
properly treated in the ShadowClass generation.
2002-12-17 17:39 brun
* base/inc/RVersion.h, build/version_number:
Stamp version 3.04/02
2002-12-17 17:15 brun
* utils/src/rootcint.cxx:
From Philippe
Fix for hp-ux
2002-12-17 11:15 brun
* base/: inc/TProcessID.h, src/TRef.cxx:
Change return type of TProcessID::IsValid from UInt_t to Bool_t
2002-12-17 08:00 brun
* utils/src/rootcint.cxx:
From Philippe:
Fix a problem reported by Bill Tanembaum.
The problem had to do with nested typedef to simple type.
I simplify the resulting code of the shadow class by resolving the
typedef to their true names.
2002-12-17 07:59 brun
* base/src/TSystem.cxx:
From Philippe:
This patch insures that all ACLiC temporary files are created in the
same directory as the library being building. (However the CINT
temporary files are created in their own location.)
2002-12-17 03:03 rdm
* base/: inc/TSystem.h, src/TSystem.cxx:
ACliC patch by Philippe:
Add a new optional parameter to
TSystem::mkdir(const char*name, Bool_t recursive=kFALSE);
If recursive is true, mkdir behaves like mkdir -p, i.e. makes parent
directories as needed, or returns 0 if the directory already exist.
When the file being passed to ACLiC is on a readonly filesystem, ACLiC warns
the user and creates the library in a temporary directory:
root [0] .L readonly/t.C++
Warning in <ACLiC>: /scratch/aclic/subs/./readonly is not writeable!
Warning in <ACLiC>: Output will be written to /tmp
Info in <TUnixSystem::ACLiC>: creating shared library
/tmp//scratch/aclic/subs/./readonly/t_C.so
To select the temporary directory ACLiC looks at $TEMP, $TEMP_DIR, $TEMPDIR,
$TMP, $TMPDIR, $TMP_DIR or uses /tmp (or C:/).
Also, a new interface TSystem::Get/SetBuildDir is introduced to let the
user select an alternative 'root' for the building of the ACLiC libraries.
For the filename /full/path/name/macro.C, the library is created as
'fBuildDir'/full/path/name/macro_C.so
Also, the ACLiC linkdef does NOT contain anymore pragma link off.
This means, that you can now steer the dictionary generation from
within the script itself. However beware of multiple inclusion!
ACLiC will now obey ALL pragma link C++ it sees!
2002-12-16 21:52 brun
* tree/src/TBasket.cxx:
Mod in ReadBasketBuffer to read buffers generated by old ROOT versions
and having an uncompressed size equal to the compressed size.
2002-12-16 21:29 brun
* hist/: inc/TH1.h, src/TH1.cxx:
Add new function proposed by Jason Seely:
TH1 *TH1::GetAsymmetry(TH1* h2, Double_t c2, Double_t dc2)
// return an histogram containing the asymmetry of this histogram with h2,
// where the asymmetry is defined as:
//
// Asymmetry = (h1 - h2)/(h1 + h2) where h1 = this
//
// works for 1D, 2D, etc. histograms
// c2 is an optional argument that gives a relative weight between the two
// histograms, and dc2 is the error on this weight. This is useful, for example,
// when forming an asymmetry between two histograms from 2 different data sets that
// need to be normalized to each other in some way. The function calculates
// the errors asumming Poisson statistics on h1 and h2 (that is, dh = sqrt(h)).
//
// example: assuming 'h1' and 'h2' are already filled
//
// h3 = h1->GetAsymmetry(h2)
//
// then 'h3' is created and filled with the asymmetry between 'h1' and 'h2';
// h1 and h2 are left intact.
//
// Note that it is the user's responsibility to manage the created histogram.
2002-12-16 19:58 brun
* README/CREDITS:
Add Jason Seely for his contribution to TH1::GetAsymmetry
2002-12-16 19:43 brun
* cint/src/disp.c:
From Philippe:
Fix to a problem already fixed by Philippe, but not fully imported by Masa
in the new version of CINT
2002-12-16 19:25 brun
* base/src/TFile.cxx:
Fix by Philippe for a problem reported by Bill Tanenbaum.
The problem appears if gDirectory points to a subdirectory of the file being close. In this case (which the existing ROOT),
the pointer is not changed but the directory is deleted (by the file closing). Hence gDirectory points to a deleted object.
2002-12-16 13:54 rdm
* cint/: inc/G__ci.h, src/disp.c, src/ifunc.c:
import of CINT 5.15.68.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2002-12-16 09:13 brun
* win32gdk/src/: GdkThread.cxx, TGWin32.cxx:
From Bertrand
special (wide) characters were not displayed
correctly (see pstable.C macro).
2002-12-14 16:14 brun
* win32gdk/src/GWin32Gui.cxx:
Fix by Bertrand in function SplitLong (uninitialized variable)
2002-12-14 08:52 brun
* base/src/TRef.cxx:
In TRef::GetObject, change the test on TProcessID::IsValid.
2002-12-14 08:14 brun
* utils/src/rootcint.cxx:
From Philippe:
The following patch makes sure that the Shadow Class always use fully qualified name when refering to their data members. This is avoid a confusion when the template
parameter and the template instantiation are in the same dictionary. (This is usefull for CMS).
2002-12-13 23:12 brun
* tree/src/TLeafC.cxx:
From Philippe:
TLeafC was forgetting about its place holder if it encounters an empty string. This is never recovered from! (i.e. the address stays null and nobody checks or change
it).
This patch correct the situation for simply making the string of null length.
2002-12-13 21:05 brun
* cint/src/disp.c:
From Philippe:
If a class has the character '%' it is currently 'interpreted' by G__more when you try to diplay a class. For example with the current ROOT
root [] .class TLimit
will lead to a very very ugly printout because TLimit.h has:
ClassDef(TLimit, 1) // Class to compute 95% CL limits
Note the '%'.
This is because G__more says:
else fprintf(fp,msg);
which means that if 'msg' contains a percent (%), it will expects parameters and substitute them! So the fix is to do:
else fprintf(fp,"%s",msg);
2002-12-13 20:17 brun
* tree/src/TBasket.cxx:
In TBasket::WriteBuffer, if after compression the size of the compressed buffer
is identical to the size of the uncompressed buffer, write the buffer not compressed.
This situation may happen in some rare cases depending on the data in the buffer.
2002-12-13 20:11 brun
* tree/src/TSelector.cxx:
Fix by Philippe when the selector file is not in the current dir
2002-12-13 19:17 brun
* base/src/TBuffer.cxx:
add protections in the ReadArray functions to not read beyond the buffer limit.
2002-12-13 19:16 brun
* utils/src/rootcint.cxx:
From Philippe:
patch which makes sure that the fully qualified name is used for the inheritance of shadow
classes.
2002-12-12 13:02 rdm
* tutorials/LDAPExample.C:
added some error handling code.
2002-12-12 13:02 rdm
* geom/src/TGeoCache.cxx:
remove compiler warning of pointer being cast to an int (warning of 64 bit
machine).
2002-12-12 13:02 rdm
* config/rootrc.in, gui/src/TRootBrowser.cxx:
Browser's ShowHidden option can now be preset in the .rootrc file.
By Valeriy.
2002-12-11 20:04 rdm
* config/Makefile.linuxia64ecc:
use same compiler options as for gcc.
2002-12-11 18:10 brun
* geom/inc/TGeoCache.h, geom/inc/TGeoManager.h,
geom/inc/TGeoVolume.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoCache.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoVolume.cxx,
geompainter/src/TGeoChecker.cxx:
From Andrei:
attached the last version, with bug fixes in tracking. Now you can do
lego plots for everything in alice. It does not do extra steps (except
very seldom in ITS in som very thin tubes - 1 extra step to cross). Much
more stable. I temporarly disabled TGeoVolume::CheckGeometry from the
context menu of volumes since it seems to have a bug that I need to fix.
Much better version in computing distances.
2002-12-11 16:16 brun
* base/src/TApplication.cxx:
From Philippe:
This fix (re)allows the usage of ROOT's macropath is the search path when
loading a macro.
2002-12-11 13:19 brun
* hist/src/TH1.cxx:
In TH1::KolmogorovTest, cast argument to FillRandom.
2002-12-11 10:59 rdm
* icons/Splash.bmp:
new splash screen for windows.
2002-12-10 22:39 brun
* winnt/src/TWinNTSystem.cxx:
Fix a problem reported by Bertrand:
In TWinNTSystem.cxx, please add the missing comma
between const char *options and Bool_t isRegexp at the
following line (1579):
const char *TWinNTSystem::GetLibraries(const char *regexp, const char *options,
Bool_t isRegexp)
2002-12-10 20:51 brun
* base/: inc/TSystem.h, src/TApplication.cxx, src/TROOT.cxx,
src/TSystem.cxx:
From Philippe:
This patch renables the usage of I/O indirection in TApplication::ProcessLine.
Removes a core dumps and add warnings when parameters are passed when loading a macro (as opposed to executing it).
2002-12-10 18:26 rdm
* base/inc/TSystem.h, base/src/TApplication.cxx,
base/src/TROOT.cxx, base/src/TSystem.cxx, winnt/inc/TWinNTSystem.h,
winnt/src/TWinNTSystem.cxx:
generalization by Philippe of ACliC argument parsing. New method
TSystem::SplitAclicMode(). Change by me in GetLibraries() to also
allow for non regexp search (solves problem with pathnames containing
regexp characters, like ++).
2002-12-10 17:40 brun
* hist/src/TH1.cxx:
Add new option "M" in TH1::KolmogorovTest
// "X" Run the pseudo experiments post-processor with the following procedure:
// make pseudoexperiments based on random values from the parent
// distribution and compare the KS distance of the pseudoexperiment
// to the parent distribution. Bin the KS distances in a histogram,
// and then take the integral of all the KS values above the value
// obtained from the original data to Monte Carlo distribution.
// The number of pseudo-experiments NEXPT is currently fixed at 1000.
// The function returns the integral.
// (thanks to Ben Kilminster to submit this procedure). Note that
// this option "X" is much slower.
2002-12-10 16:14 rdm
* base/src/TROOT.cxx:
correctly handle trailing +(+) in Macro() and LoadMacro(). Before we fialed
on path names containing ++, like .../g++/macro.C.
2002-12-10 15:42 rdm
* configure:
allow also --enable-rpath when doing a ROOTSYS driven build. However,
when using this option the build product is not relocatable anymore
(i.e. the build directory cannot change location afterwards).
2002-12-10 15:34 brun
* geom/src/TGeoArb8.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoPgon.cxx, geompainter/src/TGeoChecker.cxx:
From Andrei:
solved some extra bugs so that all lego plots in non-MANY volumes
looks fine.
2002-12-10 15:00 brun
* matrix/: inc/LinkDef.h, inc/TMatrixDUtils.h, inc/TMatrixUtils.h,
src/TMatrix.cxx, src/TMatrixD.cxx, src/TMatrixDUtils.cxx,
src/TMatrixUtils.cxx:
From Eddy Offermann:
1) IsSymmetric was incorrect for non-square matrices: should fail
if matrix is not square
2) THaarMatrix and THilbertMatrix can now be accessed in the interpreter
2002-12-10 15:00 brun
* graf/src/TEllipse.cxx:
Some optimisations in TEllipse::PaintEllipse to use more points
for large ellipses and less points for small ellipses.
2002-12-10 14:26 brun
* win32gdk/src/TGWin32.cxx:
From Bertrand;
Optimisation of the text position/alignment
2002-12-10 13:12 rdm
* unix/src/TUnixSystem.cxx:
make compileable on glibc 2.0 systems (have no execinfo.h and backtrace()).
Also remove unused variable warning.
2002-12-10 13:11 rdm
* base/src/TFile.cxx, net/src/TNetFile.cxx, net/src/TWebFile.cxx:
correct comments in ReOpen() to be more clear about return values.
2002-12-10 09:40 brun
* geompainter/src/TGeoChecker.cxx:
In TGeoChecker::LegoPlot remove unused variable is_entering
2002-12-10 09:27 brun
* base/inc/RVersion.h, build/version_number:
Stamp version 3.04/01 (hopefully the PRO release)
2002-12-10 08:52 brun
* geom/src/TGeoVolume.cxx, geompainter/src/TGeoChecker.cxx:
Fixes by Andrei for the legoplot option.
2002-12-10 03:52 rdm
* unix/src/TUnixSystem.cxx:
use c++filt also for icc and ecc in StackTrace().
2002-12-10 03:52 rdm
* utils/src/rootcint.cxx:
The attached patch fixes a dictionary generation problem concerning
STL and gcc 2.x, i.e. in gcc 2.x use the correct allocator in STL containers.
By Philippe.
2002-12-10 03:20 rdm
* proof/src/TPacketizer2.cxx:
add missing variable initialization (Maarten and valgrind).
2002-12-10 03:19 rdm
* base/inc/MessageTypes.h, base/inc/TFile.h, base/src/TFile.cxx,
net/inc/TNetFile.h, net/inc/TWebFile.h, net/src/TNetFile.cxx,
net/src/TWebFile.cxx, rfio/src/TRFIOFile.cxx, rootd/src/rootd.cxx:
new method TFile::ReOpen(Option_t *mode). Reopens a file with a different
access mode, like from READ to UPDATE or from NEW, CREATE, RECREATE, UPDATE
to READ. Thus the mode argument can be either "READ" or "UPDATE". The
method returns 0 in case of success, 1 in case mode did not change and
-1 in case of failure.
2002-12-09 18:39 rdm
* unix/src/TUnixSystem.cxx:
do correct demangling in case of g++ 3.x.
2002-12-09 16:13 rdm
* ldap/inc/CintLDAP.h:
change order of lber.h and ldap.h.
2002-12-09 16:12 rdm
* base/inc/RtypesImp.h, utils/src/rootcint.cxx:
This patch enables the proper creation of the ShowMembers function for
templated classes on MS Windows.
2002-12-09 15:03 rdm
* gui/inc/LinkDef1.h, gui/inc/TGFrame.h, gui/src/TGFrame.cxx,
test/guitest.cxx, tutorials/guitest.C:
new method TGGroupFrame::SetTitlePos() allowing the positioning of the title
of the group frame. By Valeriy.
2002-12-09 14:51 rdm
* cint/: inc/G__ci.h, inc/common.h, include/_iostream,
lib/posix/posix.h, src/disp.c, src/func.c, src/loadfile.c,
src/var.c:
import of CINT 5.15.67.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2002-12-09 13:43 rdm
* rootx/inc/: rootlogo_xbm.h, rootlogo_xpm.h:
Splash screen for 3.04. No time to update credit list (logo to small and
no access to original). Plan new splash screen based on Guiliana's official
ROOT nimpf with more place for credits.
2002-12-09 13:24 rdm
* unix/src/TUnixSystem.cxx:
in case of debug information being available also print the line number
and file in the stack trace.
2002-12-08 20:22 rdm
* utils/src/rootcint.cxx:
remove warning of unused function argument tmplt.
2002-12-08 20:21 rdm
* unix/src/TUnixSystem.cxx:
disable StackTrace() for AIX.
2002-12-08 17:58 rdm
* rint/src/TTabCom.cxx:
small code layout correction.
2002-12-08 17:56 rdm
* base/src/Stringio.cxx:
update comments in ReadLine() and ReadString().
2002-12-08 17:51 rdm
* unix/src/TUnixSystem.cxx, config/rootrc.in:
added stack trace code for Linux glibc based systems and AIX (via
stack walker function xl__trbk()). Code borrowed from Lassi Tuura's ClassLib
but improved by taking care of C++ symbol demangling. Later code will come
for Solaris, Irix and True64. The stack trace can be disabled via the
system.rootrc key "Root.Stacktrace". Default is on.
2002-12-08 10:18 brun
* utils/src/rootcint.cxx:
Fix by Philippe for a problem reported by George and Maarten
2002-12-06 23:08 brun
* graf/src/TGraph.cxx:
Changes in TGraph::SetMinimum,SetMaximum to use GetHistogram() instead of fHistogram.
GetHistogram guarantees that fHistogram is computed.
2002-12-06 22:30 brun
* base/src/TRef.cxx:
In TRef::GetObject protect against the case where fPID points to
a deleted processID using the new function TProcessID::IsValid.
2002-12-06 22:28 brun
* base/inc/TProcessID.h:
Add new static function
UInt_t IsValid(TProcessID *pid)
2002-12-06 17:53 brun
* base/src/TDirectory.cxx:
Change comment in TDirectory::Append
2002-12-06 17:45 brun
* geom/inc/TGeoCone.h, geom/inc/TGeoShape.h, geom/inc/TGeoSphere.h,
geom/src/TGeoPgon.cxx, geom/src/TGeoSphere.cxx,
geompainter/src/TGeoChecker.cxx:
From Andrei:
New patch for shape algorithms, including :
- bug fixes in TGeoPgon::DistToIn()
- new algorithm by Mihaela for computing distances to a sphere (it was
missing).
So, now all algorithms per shape for computing distances should be "in
shape", at least as far as we have tested. Clearly some problems still
remain with the global algorithm including MANY's. At least now the lego
plot seem to work for the rootgeom example (shooting in /TOP/Replica
produces a nice plot). Obviously we will eventually find other bugs, but
the version as it is now seems to work reasonably good.
2002-12-06 17:36 brun
* eg/inc/TParticle.h:
Add new function
void SetStatusCode(int status) {fStatusCode = status;}
2002-12-06 13:16 rdm
* cint/include/_iostream:
fix in TString atval layout so that tab expansion works again on TStrings.
2002-12-06 12:12 brun
* hist/src/THLimitsFinder.cxx:
Add more comments in THLimitsFinder::FindGoodLimits
2002-12-06 07:40 brun
* base/src/TKey.cxx, meta/src/TClass.cxx:
From Philippe:
This patch allows for the proper handling of class that do not inherit directly from TObject but are missing their library (this was
broken when we added more support for multiple inheritance)
2002-12-06 07:35 brun
* tree/src/TTree.cxx:
Fix by Philippe to fix a problem in his previous patch. Now test/DrawTest works again.
2002-12-05 18:55 brun
* utils/src/rootcint.cxx:
From Philippe:
rootcint now properly detects that an operator new hides (for C++) any operator new
with placement previously declared in the class hierarchy
2002-12-05 16:56 rdm
* proof/inc/TProof.h:
handle missing namespace std on HP more elegantly.
2002-12-05 16:55 rdm
* gui/src/TGButtonGroup.cxx:
fix in ButtonRelease() by Valeriy. Radiobuttons were not toggled correctly.
2002-12-05 16:31 rdm
* base/: inc/TString.h, src/TString.cxx:
new method
Int_t TString::CountChar(Int_t c) const
returns the number of times character c appears in the TString.
On request by Eddy Offerman.
2002-12-05 11:26 brun
* base/: inc/TObjNum.h, src/TObjNum.cxx:
Remove class TObjNum
2002-12-05 11:26 brun
* test/tcollex.cxx:
Reintroduce the original version of tcollex with the inline class TObjNum
2002-12-05 11:25 brun
* base/: Module.mk, inc/LinkDef3.h:
The new class TObjNum is removed (at least temporarily) because
it did not compiled on several systems.
2002-12-05 11:24 brun
* histpainter/src/THistPainter.cxx:
From Olivier;
Fix a problem in THistPainter::PaintColor replacing Hparam.zmin
by the real minimum fH->GetMinimum()
2002-12-05 11:02 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::BuildOld add support for members moved to base classes
even when the base class did not exist in the old version of the class.
2002-12-05 11:01 brun
* meta/: inc/TClass.h, src/TClass.cxx:
Add new function TRealData *TClass::GetRealData(cont char *name) const
Use this new function in TClass::GetDataMemberOffset and TStreamerInfo::BuildOld
2002-12-04 21:02 brun
* cint/src/var.c:
Fix by Philippe for the problem with CINT when setting an array of doubles.
2002-12-04 18:59 brun
* utils/src/rootcint.cxx:
Fix by Philippe to terminate a tring by 0.
2002-12-04 16:11 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintHist remove the dependency of the histogram
line width as a function of the canvas size.
2002-12-04 15:35 rdm
* base/: inc/LinkDef3.h, inc/TObjNum.h, inc/TObjPtr.h,
src/TBuffer.cxx, src/TObjNum.cxx, src/TObjPtr.cxx:
fix in explicit template instantiation syntax which was wrong, but accepted
by gcc and icc (!). Remove TObjPtr class which is now just an instantiation
of TObjNum<void*> (for backward compatability we provide the typedef:
typedef TObjNum<void*> TObjPtr;). Remove reference to TObjPtr.h from
TBuffer.cxx. To compile make sure to remove base/src/G__Base1.d,
base/src/G__Base2.d, base/src/G__Base3.d and base/src/TBuffer.d.
2002-12-04 13:14 rdm
* test/tcollex.cxx:
use new TObjNumI class instead of local example class.
2002-12-04 13:13 rdm
* base/: Module.mk, inc/LinkDef3.h, inc/TObjNum.h, src/TObjNum.cxx:
add small templated TObjNum class. Version for all basic types are available
as TObjNumC, TObjNumS, TObjNumI, etc. Altough not very memory efficient
(since containing a TObject in addition to the basic type) it is useful in
some circumstances, like TObjString.
2002-12-04 12:23 brun
* postscript/src/TPostScript.cxx:
Fix by Olivier when printing patterns. The line width must be set to 1.
2002-12-04 11:38 brun
* hist/: inc/TF1.h, inc/TF2.h, inc/TH1.h, inc/TH2.h, inc/TH3.h,
inc/TProfile.h, inc/TProfile2D.h, src/TF1.cxx, src/TF2.cxx,
src/TH1.cxx, src/TH2.cxx, src/TH3.cxx, src/TProfile.cxx,
src/TProfile2D.cxx:
Make all DrawCopy functions const
Add new function in TH1
TH1 *TH1::DrawNormalized(Option_t *option, Double_t norm) const
// Draw a normalized copy of this histogram.
//
// A clone of this histogram is normalized to norm and drawn with option.
// A pointer to the normalized histogram is returned.
// The contents of the histogram copy are scaled such that the new
// sum of weights (excluding under and overflow) is equal to norm.
// Note that the returned normalized histogram is not added to the list
// of histograms in the current directory in memory.
// It is the user's responsability to delete this histogram.
// The kCanDelete bit is set for the returned object. If a pad containing
// this copy is cleared, the histogram will be automatically deleted.
//
// See Draw for the list of options
2002-12-04 10:54 brun
* hist/src/TH1.cxx:
Fix a problem reported by Andreas Zoglauer in TH1::SmoothArray
2002-12-04 10:13 brun
* pythia6/src/TPythia6.cxx:
We forgot the definition of PYCHGE for windows.
2002-12-04 09:18 brun
* gpad/src/TPad.cxx:
Add a new feature in TPad::WaitPrimitive.
When this function is called with no arguments, it will wait
until a double-click is executed in the canvas or any key pressed.
A call to gSystem->Sleep(10) has been added in the loop to avoid
consuming all the CPU.
This new option is convenient when executing a macro. By adding
statements like
canvas->WaitPrimitive();
one can monitor the progress of a running macro, stop at convenient
places with the possibility to interact with the canvas and resume
the execution with a double click or a key press.
2002-12-04 08:12 brun
* base/inc/RConfig.h, build/win/bindexplib/bindexplib.cxx:
Corrections by Valery to compile root under "Microsoft Studio
NET."
2002-12-04 07:59 brun
* cint/iosenum/iosenum.linuxkcc:
New version of iosenum for kcc by Philippe
2002-12-03 18:42 rdm
* geom/inc/: TGeoCache.h, TGeoVolume.h:
still some unused argument warnings on MacOS X.
2002-12-03 18:37 rdm
* unix/src/TUnixSystem.cxx:
replace NULL by 0.
2002-12-03 18:10 rdm
* test/Makefile.in:
compile tests with -O on Mac.
2002-12-03 17:44 brun
* thread/: inc/TCondition.h, inc/TMutex.h, src/TThread.cxx:
From Mathieu de Naurois <denauroi@in2p3.fr>
"From the manual of pthread_cond_timedwait, I have:
pthread_cond_timedwait atomically unlocks mutex and waits on
cond, as pthread_cond_wait does, but it also bounds the duration
of the wait. If cond has not been signaled within the amount
of time specified by abstime, the mutex mutex is re-acquired
and pthread_cond_timedwait returns the error ETIMEDOUT.
The abstime parameter specifies an absolute time, with the same
origin as time(2) and gettimeofday(2): an abstime of 0
corresponds to 00:00:00 GMT, January 1, 1970.
In the code of ROOT, the line:
while (fgXAct) {fgXActCondi->TimedWait(1);}
was a nonsense that it equivalent to :
while(fgXAct);
and it uses 100% of CPU.
I modified the TThread class in the version we use for HESS.
For us, in a heavily multithreaded DAQ, this modified version works fine
and is faster when opening canvases from threads."
2002-12-03 17:13 brun
* geom/src/TGeoCone.cxx:
Remove unused variables zv1, zv2 (detected by SGI/CC)
2002-12-03 17:10 brun
* geompainter/src/TGeoChecker.cxx:
New version of TGeoChecker removing several compiler warnings on SGI/CC
2002-12-03 17:01 brun
* geom/inc/TGeoArb8.h, geom/inc/TGeoBoolNode.h,
geom/inc/TGeoCache.h, geom/inc/TGeoCompositeShape.h,
geom/inc/TGeoCone.h, geom/inc/TGeoPatternFinder.h,
geom/inc/TGeoPcon.h, geom/inc/TGeoPgon.h, geom/inc/TGeoSphere.h,
geom/inc/TGeoVolume.h, geom/src/TGeoArb8.cxx, geom/src/TGeoAtt.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoBoolNode.cxx,
geom/src/TGeoCache.cxx, geom/src/TGeoCompositeShape.cxx,
geom/src/TGeoCone.cxx, geom/src/TGeoEltu.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoMaterial.cxx,
geom/src/TGeoNode.cxx, geom/src/TGeoPara.cxx,
geom/src/TGeoPatternFinder.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTrd1.cxx, geom/src/TGeoTrd2.cxx,
geom/src/TGeoTube.cxx, geom/src/TGeoVolume.cxx,
geom/src/TGeoVoxelFinder.cxx, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoPainter.cxx:
New version of the geometry package from Andrei:
Fixes to compile with no warnings with the option -ansi -pedantic
It also includes bug fixes for Trd1,2, cone and pcon DistToIn/Out
algorithms.
2002-12-03 12:20 rdm
* base/src/TQObject.cxx, clib/src/Demangle.c, gpad/src/TPad.cxx,
table/src/TVolumeView.cxx, treeviewer/inc/TTVLVContainer.h,
treeviewer/inc/TTreeViewer.h:
remove some more MacOS X warnings that I missed yesterday.
2002-12-03 11:25 brun
* hist/: inc/TH1.h, inc/TH2.h, inc/TH3.h, src/TH1.cxx, src/TH2.cxx,
src/TH3.cxx:
Make const the following functions in TH1:
GetXaxis, GetYaxis, GetYaxis, GetCenter and KolmogorovTest
Make const the KolmogorovTest function in TH2 and TH3
2002-12-03 10:36 brun
* treeplayer/src/TTreePlayer.cxx:
In TTreePlayer::MakeClass, generate new comments to clarify where
the global entry in the chain or the local entry in the Tree should be used.
2002-12-02 23:07 brun
* tree/src/TChain.cxx, tree/src/TTree.cxx,
treeplayer/src/TTreeFormula.cxx:
From Philippe:
The following patch allows TTree objects to properly treat TTreeFriends which are actually TChain objects.
Also adding a few protection in case of an empty chain.
2002-12-02 22:39 brun
* hist/src/THLimitsFinder.cxx:
In the FindGoodLimits functions for 1,2 and 3-d histograms, add support
for axis with alphanumeric bin labels.
2002-12-02 19:50 rdm
* treeplayer/src/TTreePlayer.cxx, x11/src/GX11Gui.cxx,
x11/src/TGX11.cxx, x3d/src/x3d.c, zip/src/Inflate.c:
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.
2002-12-02 19:50 rdm
* base/inc/RtypesImp.h, base/inc/TQObject.h, base/inc/TVirtualX.h,
base/src/TBuffer.cxx, base/src/TDSet.cxx, base/src/TFile.cxx,
base/src/TFolder.cxx, base/src/TMD5.cxx,
base/src/TMessageHandler.cxx, base/src/TQConnection.cxx,
base/src/TROOT.cxx, base/src/TTask.cxx, base/src/TTimeStamp.cxx,
clib/src/Demangle.c, clib/src/Getline.c, clib/src/mmtrace.c,
clib/src/snprintf.c, cont/src/TBits.cxx, cont/src/TRefArray.cxx,
eg/src/TDatabasePDG.cxx, g3d/src/TAxis3D.cxx, gl/src/TGLKernel.cxx,
gpad/inc/TCanvas.h, graf/inc/TPaveStats.h, graf/src/TAttImage.cxx,
graf/src/TGraph.cxx, graf/src/TGraphSmooth.cxx, gui/inc/TGFrame.h,
gui/inc/TGListTree.h, gui/src/TGColorDialog.cxx,
gui/src/TGColorSelect.cxx, gui/src/TGListTree.cxx,
gui/src/TGNumberEntry.cxx, gui/src/TRootBrowser.cxx,
hbook/src/THbookBranch.cxx, hbook/src/THbookFile.cxx,
hbook/src/THbookTree.cxx, hist/inc/TF2.h, hist/inc/TF3.h,
hist/inc/TH1.h, hist/inc/TH2.h, hist/inc/TH3.h,
hist/inc/TMultiDimFit.h, hist/inc/TProfile.h,
hist/inc/TProfile2D.h, hist/src/TFractionFitter.cxx,
hist/src/TH1.cxx, hist/src/THStack.cxx, hist/src/TMultiDimFit.cxx,
hist/src/TPrincipal.cxx, hist/src/TProfile.cxx,
hist/src/TProfile2D.cxx, histpainter/src/TPaletteAxis.cxx,
ldap/src/TLDAPAttribute.cxx, ldap/src/TLDAPEntry.cxx,
meta/src/TClass.cxx, meta/src/TStreamerInfo.cxx,
newdelete/src/NewDelete.cxx, postscript/inc/TSVG.h,
postscript/src/TPostScript.cxx, postscript/src/TSVG.cxx,
proof/src/TPacketizer.cxx, proof/src/TPacketizer2.cxx,
proof/src/TProof.cxx, proof/src/TProofPlayer.cxx,
proof/src/TProofServ.cxx, proof/src/TVirtualPacketizer.cxx,
rootd/src/rootd.cxx, table/inc/TChair.h, table/inc/TTableIter.h,
table/inc/TVolumePosition.h, table/inc/TVolumeView.h,
table/inc/Ttypes.h, table/src/TDataSet.cxx,
table/src/TDataSetIter.cxx, table/src/TPoints3D.cxx,
table/src/TPointsArray3D.cxx, table/src/TTable.cxx,
table/src/TTablePoints.cxx, table/src/TVolumeView.cxx,
tree/inc/TLeaf.h, tree/inc/TSelector.h, tree/src/TBranch.cxx,
tree/src/TBranchElement.cxx, tree/src/TChain.cxx,
tree/src/TChainElement.cxx, tree/src/TFriendElement.cxx,
tree/src/TLeafElement.cxx, tree/src/TTree.cxx,
treeplayer/src/TTreeFormula.cxx:
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.
2002-12-02 19:41 brun
* meta/src/TClass.cxx:
Fix from Philippe:
The new data memberfInterStreamer was not initialized in all the constructors.
2002-12-02 18:46 brun
* meta/src/TClass.cxx:
Add suggested mod by Markus Frank in Class::Destructor
2002-12-02 15:35 rdm
* configure:
fix in order of mysql include and library detection.
2002-12-02 15:34 rdm
* cint/iosenum/iosenum.macosx:
macosx version of iosenum.
2002-12-02 12:35 brun
* meta/src/TClass.cxx:
Applied changes suggested by Markus Frank
2002-12-02 02:11 rdm
* cint/: inc/Api.h, inc/CallFunc.h, inc/G__ci.h,
include/iostream.h, lib/dll_stl/str.h, lib/prec_stl/iterator,
lib/prec_stl/string, src/CallFunc.cxx, src/Class.cxx, src/fread.c,
src/func.c, src/g__cfunc.c, src/ifunc.c, src/init.c, src/newlink.c,
src/struct.c, src/tmplt.c, src/var.c:
import of CINT 5.15.66.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2002-12-01 09:33 brun
* treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch solves problems related to checking (during the
parsing/discovery phase) the content of leaves which are inside a
TClonesArray and contains a TClonesArray.
2002-11-30 21:48 brun
* tutorials/jets.C:
// script illustrating the use of a Tree using the JetEvent class.
// The JetEvent class has several collections (TClonesArray)
// and other collections (TRefArray) referencing objects
// in the TClonesArrays.
// The JetEvent class is in $ROOTSYS/test/JetEvent.h,cxx
// to execute the script, do
// .x jets.C
2002-11-30 21:46 brun
* test/: JetEvent.cxx, JetEvent.h:
Add new example JetEvent:
// A JetEvent emulates 2 detectors A and B producing each
// a TClonesArray of Hit objects.
// A TClonesArray of Track objects is built with Hits objects
// of detectors A and B. Eack Track object has a TRefArray of hits.
// A TClonesArray of Jets is made with a subset of the Track objects
// also stored in a TRefArray.
// see $ROOTSYS/tutorials/jets.C for an example creating a Tree
// with JetEvents.
2002-11-30 11:36 brun
* graf/src/TGraph.cxx:
Fix a problem in TGraph::PaintGrapHist in low resolution mode with empty bins
2002-11-30 10:33 brun
* tutorials/tree2a.C:
Update tutorial to declare several class members to be transient only.
2002-11-29 16:28 brun
* tutorials/pythiaExample.C:
Replace Form by printf in order to run with the interpreter on Alpha/cxx.
2002-11-29 15:48 brun
* tree/src/TBranchElement.cxx:
New version of SetBranchAddress supporting the split of TClonesArray
when the pointer is in a sub-class.
Also added support for the case when the top level branch is forced with a "."
as the last branch name character.
2002-11-29 15:45 brun
* treeplayer/src/TTreeFormula.cxx:
Add a protection in TTreeFormula::GetLeafWithDatamember.
The pointer clones can be null.
2002-11-29 10:32 brun
* tutorials/tree2.C:
Add comment referencing the new tutorial tree2a.C
2002-11-29 10:31 brun
* tutorials/tree2a.C:
New tutorial with the same functionality than tree2.C but using a class
instead of a C-struct.
2002-11-29 09:16 brun
* base/src/TFile.cxx:
several changes in the logic for file recovery. With this patch:
- the case of a file currently being created by another process and connected
by the current process is supported again.
- The StreamerInfo record was not correctly read back. This fix is important
in case one connects to a file without the shared lib.
2002-11-29 00:26 rdm
* cont/src/TClonesArray.cxx:
add extra comment about disabling BypassStreamer() in case one wants to send
a TClonesArrays via a TMessage of a TSocket.
2002-11-29 00:16 rdm
* base/src/TFile.cxx:
remove a test that prevented files that were not properly closed
(e.g. interrupted via a ctrl-c) to be recovered.
2002-11-28 22:16 brun
* tree/src/TBranchElement.cxx:
Modify TBranchElement::FillLeaves to support the case when a Tree
is in FakeClass mode.
For example, if a new Tree is created via CloneTree in a Loop
function of a class generated by MakeClass, one has to rebuild
the new Tree in a way compatible with a future reading using
the shared library or not.
2002-11-28 20:38 brun
* test/dt_RunDrawTest.C:
From Philippe:
Use Riostream.h instead of iostream.h
2002-11-28 20:19 rdm
* proof/src/TPacketizer2.cxx:
remove warning of float assignment to int.
2002-11-28 19:39 rdm
* cont/src/TObjArray.cxx:
correction in comment.
2002-11-28 19:39 rdm
* ldap/inc/CintLDAP.h:
add include to lber.h that was missing in older versions of ldap.h.
2002-11-28 19:38 rdm
* base/inc/TVirtualProof.h, proof/inc/TPacketizer2.h,
proof/inc/TProof.h, proof/inc/TProofPlayer.h,
proof/src/TPacketizer2.cxx, proof/src/TProof.cxx,
proof/src/TProofPlayer.cxx:
latest patch from Maarten, adding support for a list of feedback objects
that can be displayed while the query is running. Also better packet
size algorithm.
2002-11-28 09:11 brun
* base/inc/TView.h:
Increase size of fTnorm, etc arrays from 12 to 16
2002-11-28 09:06 brun
* geompainter/src/TGeoChecker.cxx:
Remove unused variables
2002-11-28 08:33 brun
* base/inc/RVersion.h, build/version_number:
Start numbering new version 3.04/00
2002-11-28 08:29 brun
* base/inc/TBuffer.h:
Fix by Philippe replacing R__GCC by R__GNU to be consistent with RConfig.h
2002-11-28 00:16 brun
* tutorials/h1analysis.h:
Upgrade h1analysis.h to reflect the latest changes in TSelector,TSelectorCint.
2002-11-27 22:54 brun
* treeplayer/src/TTreePlayer.cxx, utils/src/rootcint.cxx:
From Philippe:
This patch:
a) add ClassDef to the generate TSelector with version 0.
b) keep the Error message for all cases but those inheriting from TSelector
(Warnings are not seems in the default rootcint mode).
c) rootcint succeed in all cases (hence allowing user to compile
classes that do not strictly implement the TObject interface).
2002-11-27 21:44 brun
* tutorials/copytree3.C:
New tutorial illustrating how to
- open a file
- loop over the entries of a Tree
- under certain conditions, copy selected entries into another Tree
2002-11-27 21:01 brun
* cint/src/var.c:
Fix by Philippe for a problem reported by David Adams
2002-11-27 16:24 rdm
* base/src/TMath.cxx:
remove warning of possibly used variable which was not intialized.
2002-11-27 16:23 rdm
* base/src/TNamed.cxx:
added comment to Clear() method.
2002-11-27 16:23 rdm
* gui/src/TGButtonGroup.cxx:
remove compiler warning on 64bit machines (int to pointer cast).
2002-11-27 16:22 rdm
* gui/src/TGListTree.cxx:
some protections added by Valeriy.
2002-11-27 12:48 rdm
* cint/iosenum/iosenum.linuxia64gcc:
wrong version checkin yesterday.
2002-11-27 09:20 brun
* histpainter/src/THistPainter.cxx:
Use gStyle->GetNumberContours instead of the default constant 20.
2002-11-27 09:19 brun
* base/: inc/TStyle.h, src/TStyle.cxx:
Add new member
Int_t fNumberContours;
and the corresponding getter/setter GetNumberContours, SetNumberContours.
The default number of contours is 20.
2002-11-27 00:53 brun
* tree/src/TBranchElement.cxx:
New simplification of TBranchElement::SetAddress and a bug fix
2002-11-26 19:39 brun
* table/: inc/LinkDef.h, inc/TTable.h, inc/Ttypes.h,
src/TTable.cxx, src/TTableDescriptor.cxx:
Corrections in libTable by Valery Fine to take into account
the new ROOT features with ClassDef/ClassImp, etc.
2002-11-26 18:57 brun
* pythia6/: inc/TPythia6.h, src/TPythia6.cxx:
From Andreas Morsch;
"on Nick's request I have added the two methods
Pymass and Pychge to TPythia6.
Also ImportParticles is called after a Pyedit call."
2002-11-26 18:35 brun
* tree/src/TBranchElement.cxx:
In Unroll function, remove the limitation that a TClonesArray cannot be split
when the pointer is in a base class. However, there are still changes
required in the browse functions to get this feature operational.
one change from Dave Morrison to escape the slash character.
2002-11-26 18:33 brun
* hist/src/TFormula.cxx:
From David Morrison <dave@bnl.gov>
With the 3.03 series there are changes in the way that TFormula parses
it's arguments that have stalled PHENIX's deployment of recent ROOT
versions. In particular, we build up the name of a branch in such a way
that the "/" character is a part of the name. With versions 2.2x
through 3.01.x through 3.02.x these names were parsed in such a way
that, for instance, a TBrowser could be used to peruse our reconstructed
data. With 3.03, things have changed and a TBrowser seg faults when
used to browse one of our existing files. We have about 100 TB of such
files on tape. Anyway, I'm including a little patch against the CVS
HEAD that seems to fix things up. It offers the ability to use the
backslash character to escape the "/" and not have it interpreted as a
mathematical operator.
2002-11-26 18:26 brun
* meta/: inc/TDataMember.h, src/TDataMember.cxx:
addition of new data members in TDataMember class by Victor:
TString fTypeName; //data member type, e,g.: "class TDirectory*" -> "TDirectory".
TString fFullTypeName; //full type description of data member, e,g.: "class TDirectory*".
TString fTrueTypeName; //full type description with no typedef
These members are copied from the CINT dictionary and are safer.
The getter functions return safe pointers to the string while CINT
is reusing the space of the string in the next call to the getter function.
CV: ----------------------------------------------------------------------
2002-11-26 17:29 rdm
* cint/iosenum/iosenum.linuxia64gcc:
new iosenum.h for IA64 gcc.
2002-11-26 17:17 rdm
* cint/iosenum/iosenum.linuxia64ecc:
new iosenum.h for Linux IA64 ecc.
2002-11-26 11:24 brun
* meta/: inc/TStreamerElement.h, src/TStreamerElement.cxx,
src/TStreamerInfo.cxx:
changes by Victor for the STL support.
2002-11-26 11:24 brun
* meta/: inc/TBaseClass.h, inc/TClass.h, inc/TDataMember.h,
inc/TDataType.h, inc/TDictionary.h, inc/TFunction.h, inc/TGlobal.h,
inc/TMethodArg.h, src/TBaseClass.cxx, src/TClass.cxx,
src/TDataMember.cxx, src/TDataType.cxx, src/TFunction.cxx,
src/TGlobal.cxx, src/TMethodArg.cxx:
TDictionary derives now from TNamed instead of TObject.
This change simplifies all the meta classes avoiding duplication
of functions GetName, GetTitle, Compare, Hash.
This also removes some coupling with CINT.
2002-11-26 09:45 brun
* tree/src/TBranchClones.cxx:
Add a protection in TBranchClones::Streamer when iterating on
the list of TRealData. rd->GetDataMember() may be null.
2002-11-26 08:58 brun
* base/: inc/TNamed.h, src/TNamed.cxx:
Add TNamed::Clear(Option_t *option) function.
This function is useful to clear TNamed objects in TClonesArray
when TClonesArray::Clear is called with option "C".
2002-11-25 21:15 brun
* tree/src/TBranchElement.cxx:
One more fix in case of nested inheritance with the same class used
in the base class and by composition.
2002-11-25 17:30 brun
* meta/src/TClass.cxx:
In TClass::GetDataMemberOffset add new logic to support data members
in a hierarchy of inherited classes.
2002-11-25 17:29 brun
* gpad/: inc/TCanvas.h, src/TCanvas.cxx:
Remove unused function TCanvas::GetPadDivision.
Implement TVirtualPad::GetPad as a better alternative.
2002-11-25 17:27 brun
* base/inc/TVirtualPad.h, gpad/inc/TPad.h, gpad/src/TPad.cxx:
Implement new functions
Int_t TVirtualPad::GetNumber() const
TVirtualPad *TVirtualPad::GetPad(Int_t subpadnumber) cont
The GetPad function returns a pointer to a sub-division of a pad.
2002-11-25 15:55 rdm
* cint/: inc/G__ci.h, inc/gcc3strm.h, include/iostream.h,
lib/gcc3strm/iostrm.h, lib/gcc3strm/sstrm.h, src/expr.c,
src/func.c, src/gcc3strm.cxx, src/ifunc.c, src/parse.c,
src/pause.c, src/struct.c:
import of CINT 5.15.65.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2002-11-25 14:58 brun
* gui/src/TGFileDialog.cxx:
fixes for WIN32/WIN32GDK
2002-11-25 00:16 rdm
* README/CREDITS:
add authors of LDAP interface.
2002-11-24 23:49 rdm
* cint/Module.mk, config/Makefile.linuxicc:
check for new icc v7, in that case can compile CINT without problems (for
v6 we needed to compile struct.c without optimization).
2002-11-24 23:47 rdm
* gui/src/TGFrame.cxx:
addition to some comments.
2002-11-24 23:46 rdm
* base/src/TObject.cxx:
small typo in comment.
2002-11-24 23:45 rdm
* Makefile, configure, build/unix/makestatic.sh,
config/Makefile.in:
add case for new ldap module.
2002-11-24 23:43 rdm
* tutorials/LDAPExample.C:
example showing usage of LDAP interface. Needs some tunings since currently
it accesses too much data.
2002-11-24 23:42 rdm
* ldap/: Module.mk, inc/CintLDAP.h, inc/LinkDef.h,
inc/TLDAPAttribute.h, inc/TLDAPEntry.h, inc/TLDAPResult.h,
inc/TLDAPServer.h, src/TLDAPAttribute.cxx, src/TLDAPEntry.cxx,
src/TLDAPResult.cxx, src/TLDAPServer.cxx:
OpenLDAP interface by Evgenia Smirnova and Oleksandr Grebenyuk of GSI.
Several memory leaks removed from original code.
2002-11-24 15:13 brun
* meta/src/TClass.cxx:
Fix a casting problem resulting from changing GetDataMember to const
2002-11-24 15:07 brun
* base/inc/TRealData.h:
Make all getters const
2002-11-24 15:06 brun
* gpad/src/TPad.cxx:
In the TPad::SetLogx,y,z, set the value of fLogx to the argument value
instead of setting it to 0 or 1. This change will allow future upgrades
of the log options.
2002-11-24 15:04 brun
* tree/src/TTree.cxx:
In TTree::CloneTree, copy the option fMakeClass into the cloned tree.
With this change, it is possible to use TTree::CloneTree when processing
code generated by TTree::MakeClass.
2002-11-24 15:02 brun
* tree/src/TBranchElement.cxx:
Simplify TBranchElement::SetAddress by using the new function
TClass::GetDataMemberOffset
This new function works for normal classes and fake classes for any
combination of inheritance and composition.
2002-11-24 14:59 brun
* meta/: inc/TClass.h, src/TClass.cxx:
Add two new functions in TClass:
void BuildRealDataFake(const char *name, Int_t offset, TClass *cl);
// Build the list of TRealData for a fake class
Int_t GetDataMemberOffset(const char *membername) const;
// return offset for member name. name can be a data member in
// the class itself, one of its base classes, or one member in
// one of the aggregated classes.
//
// In case of a fake class, the list of fake TRealData is built
make const TClass::GetDataMember
2002-11-22 19:57 brun
* meta/: inc/TDataMember.h, src/TDataMember.cxx,
src/TStreamerInfo.cxx:
From Victor:
In TDataMember.h new method which returns true type name,
not a typedef one.
==========================================================
const char *GetTrueTypeName() const;
Its implementation in TDataMember.cxx
//______________________________________________________________________________
const char *TDataMember::GetTrueTypeName() const
{
// Get true, non typedef, type description of data member, e,g.: "int*" not "Int_t*".
return fInfo->Type()->TrueName();
}
In file TStreamerInfo.cxx
=========================
old code :
if (dm->IsSTLContainer()) {
TStreamerSTL *stl = new TStreamerSTL(dm->GetName(),dm->GetTitle(),offset,dm->GetFullTypeName(),dm->IsaPointer());
replaced by:
if (dm->IsSTLContainer()) {
TStreamerSTL *stl = new TStreamerSTL(dm->GetName(),dm->GetTitle(),offset,dm->GetTrueTypeName(),dm->IsaPointer());
2002-11-22 16:53 brun
* geom/src/: TGeoTrd1.cxx, TGeoTrd2.cxx:
From Andrei:
Bug fixes for DistToIn/Out() for TGeoTrd1, TGeoTrd2 classes.
2002-11-22 14:54 brun
* hist/src/: TH1.cxx, TH2.cxx, TH3.cxx:
Fix a problem in the GetRandom functions when interpolating in the integral bin.
(thanks to Yuri Fisiak for reporting the problem)
2002-11-22 14:13 brun
* gui/src/TRootBrowser.cxx:
From Valeriy:
1. Correct TRootBrowser::ProcessMessage method.
Add direct "return kTRUE" after IconBoxAction which
prevents form "segmentation violation" when IconBoxAction invokes
execution C++ macro in which this browser could be deleted,
for example via gROOT->Reset().
2002-11-22 12:24 brun
* gui/src/TGFileDialog.cxx:
From Bertrand:
correct memory leak in TGFileDialog::ProcessMessage method under win32gdk
2002-11-22 11:07 brun
* histpainter/src/THistPainter.cxx:
Protect HParam.xfirst to be >= 1
2002-11-22 11:05 brun
* graf/src/: TGraphAsymmErrors.cxx, TGraphErrors.cxx:
I the Paint functions, optimize the distance between the error bar
and the marker.
2002-11-21 21:38 brun
* treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch removes a memory leak in TTreeFormula's usage of
TMethodCall.
2002-11-21 21:33 brun
* gui/src/TRootBrowser.cxx:
From Valeriy:
1. TRootBrowser::ListTreeHighlight(TGListTreeItem *item) method modified
to "improve" double-click handling on tree-list folder containing
many objects.
2002-11-21 17:27 rdm
* cint/src/gcc3strm.cxx:
re-introduce the orginal gcc3strm from CINT.
2002-11-21 16:27 brun
* gui/src/TRootBrowser.cxx:
Bug fix from Valeriy
2002-11-21 11:30 brun
* gui/src/TGFileDialog.cxx:
Fix by Bertrand required for win32gdk
2002-11-21 09:37 brun
* cint/iosenum/iosenum.win32:
New version of iosenum for windows
2002-11-20 18:52 brun
* gui/src/TRootBrowser.cxx:
From Valeriy,
TRootBrowser::Refresh method corrected
2002-11-20 16:17 rdm
* gui/src/TRootBrowser.cxx:
remove fName from TRootIconList, it is already in TCollection.
2002-11-20 15:38 brun
* html/src/THtml.cxx:
Fix by Axel in the documentation of the basic types.
2002-11-20 11:05 brun
* cint/src/gcc3strm.cxx:
From Jiri Masik:
I checked out the CVS head after a while and found that gcc3strm.cxx
does not compile due to G__G__streamLN_mbstate_t etc being used before
its definition.
2002-11-20 10:52 brun
* base/src/TView.cxx:
Remove a printf line in TView::ResizePad
2002-11-20 10:50 brun
* histpainter/src/TPaletteAxis.cxx:
Remove unused variables bin1,bin2
2002-11-20 10:31 brun
* gui/src/TRootBrowser.cxx:
From Valeriy:
corrections added to display wait-cursor during long-period operations
2002-11-20 10:11 brun
* html/src/THtml.cxx:
From Axel Naumann
*Header was copied to html output dir even if the class was decided to be linked from Root.Html.Root
* output (class description + source) was generated that was not even used (for classes linked from
Root.Html.Root)
* All ROOT classes with names containing a "_" (i.e. many structs) ended up in USER_Index.html, and THtml
didn't realize how to link their documentation in. They are now sorted into the correct package.
2002-11-20 09:55 brun
* base/inc/TView.h, base/src/TView.cxx, geom/inc/TGeoVolume.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoBBox.cxx,
geom/src/TGeoPcon.cxx, geom/src/TGeoTrd1.cxx,
geom/src/TGeoVolume.cxx, geompainter/inc/TGeoChecker.h,
geompainter/inc/TGeoPainter.h, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoPainter.cxx, gpad/src/TPad.cxx:
Following improvements by Andrei Gheata:
1. gpad - containing a modified src/TPad.cxx (notification to TView
class when resizing the pad and having perspective view)
2. base - containing modified TView.h/.cxx
3. geom, geompainter - modifications to geometry classes (perspective
view support + some bug fixes in shape algorithms)
New features :
- First implementation of TGeoChecker::CheckGeometry() by Mihaela : it
can be called from the volume context menu and for the time being just
draws the boundary intersections not matching on the way back and forth
(no histogram generated). Anyway, we discovered by using it that we have
to correct several bugs in the shapes DistToIn/Out algorithms ... :-(
- Perspective view fully implemented. Activated with TView(11) - this is
the default now for the new geometry classes. For all other views
(instantiated usually with TView(1)) one can switch parralel/perspective
from TView context menu.
- Navigation inside geometries based on perspective view : just draw
some geometry, then double-click on volumes in the pad - you will get a
nice grab-focus effect (specially if the number of volumes on screen is
relatively small)
- navigation keys : zoom in/out, move left/right/up/down exactly like in x3d
- resizing of pad and drawing of axes in TView supported - aspect ratio
always kept.
2002-11-20 09:24 brun
* gui/: inc/TRootBrowser.h, src/TRootBrowser.cxx:
From valeriy
Implement;
1. up level directory navigation
2. clicking on folder at icon-box highlights correspondent
folder at list-tree and adjust postition in list-tree
2002-11-20 00:37 rdm
* gui/src/TGCanvas.cxx:
fix in TGCanvas::Layout() by Valeriy to fix layout problems showing up
in the inspector window.
2002-11-19 00:04 rdm
* gui/src/TGCanvas.cxx:
few typos in comments.
2002-11-19 00:03 rdm
* proof/src/: TPacketizer2.cxx, TProof.cxx, TProofPlayer.cxx,
TProofServ.cxx:
fix a bug in TPacketizer2, not owner lists should be cleared before list
owning the items. Fix also final shutdown crash.
2002-11-19 00:02 rdm
* base/inc/TError.h, base/src/TError.cxx, rint/src/TRint.cxx,
unix/src/TUnixSystem.cxx, vms/src/TVmsSystem.cxx:
add new function Break() in TError. Use this instead of direct Printf() in
TUnixSystem and TRint for printing of *** Break *** message. This allows to
also see the break message in the logs in proof and to terminate in case one
desires so. Also made the message size dynamic (solves Yves S. problem).
2002-11-18 22:52 brun
* main/src/h2root.cxx:
Add a comment in the converter for profiles.
2002-11-18 22:49 brun
* hist/src/TH2.cxx:
In TH2::FitSlicesX,Y use directly the pointer to the TF1 object
instead of its name.
2002-11-18 22:48 brun
* graf/src/TGraph.cxx, hist/src/TH1.cxx:
In the fit functions, the test on Foption.Errors was not correct.
As a result, the parabolic error was returned in case the maximum
precision error had been requested and vice-versa.
2002-11-18 08:12 brun
* config/Makefile.macosx:
Fix to SYSLIBS and CILIBS variables by Keisuke Fujii, Remi Mommsen
2002-11-17 20:12 brun
* cint/iosenum/iosenum.sgikcc:
This iosenum was never put in CVS !
2002-11-17 20:00 brun
* cint/iosenum/: iosenum.alphacxx6, iosenum.alphaegcs,
iosenum.hpuxacc, iosenum.sgicc, iosenum.sgiegcs,
iosenum.solarisCC5:
New versions of iosenum have been generated
2002-11-17 18:35 brun
* html/src/THtml.cxx:
Fix by Axel
2002-11-17 18:04 brun
* base/src/: TRandom.cxx, TRandom2.cxx, TRandom3.cxx:
Modify the Rndm function in the generator classes such that they never
return 0.
Remove the test on 0 from several functions in TRandom.
2002-11-16 19:23 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
From Eddy Offermann:
The InvertPosDef matrix complained when a matrix was not positive definite
but nevertheless continued its calculation and returnd of course the wrong
result.
Now, an error message appears and the inversion is continued with the Gaus-Jordan
algorithm.
2002-11-16 18:13 brun
* pythia6/inc/: TPythia6.h, TPythia6Calls.h:
Replace interface to Pythia6.1 by 6.2. The main difference is the size
of the common block /pydat3/. The new definition is
struct Pydat3_t {
int MDCY[3][500];
int MDME[2][KNDCAY];
double BRAT[KNDCAY];
int KFDP[5][KNDCAY];
};
instead of:
struct Pydat3_t {
int MDCY[3][500];
int MDME[2][4000];
double BRAT[4000];
int KFDP[5][4000];
};
where KNDCAY=8000. To run with the previous version of Pythia5.1,
simply change KNDCAY from 8000 to 4000.
2002-11-16 16:17 brun
* graf/: inc/TGraph.h, inc/TGraphAsymmErrors.h, inc/TGraphErrors.h,
src/TGraph.cxx, src/TGraphAsymmErrors.cxx, src/TGraphErrors.cxx:
Make const the function ComputeRange in TGraph, TGraphErrors
and TGraphAsymmErrors.
Rewrite TGraph::GetHistogram to create the histogram without
painting the graph.
2002-11-16 08:58 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
From Eddy Offermann
the operator*(const TMatrix &source1,const TMatrix &source2);
was not correctely defined: it would multply matrix of transposed shapes: a(m,n) * b(n,m)
2002-11-15 23:20 brun
* base/src/TBuffer.cxx:
In ReadArray and ReadStaticArray functions, replace several tests of the form
if (!n) return n;
by
if (n <=0 ) return 0;
In the WriteArray functions, protect against n <0
2002-11-15 21:18 rdm
* cint/iosenum/iosenum.linux:
new version that also works with gcc 3.2.
2002-11-15 21:14 rdm
* win32gdk/src/GWin32Gui.cxx:
fix in CreateCursor() code.
2002-11-15 21:10 rdm
* cint/: inc/G__ci.h, inc/gcc3strm.h, include/_iostream,
include/iostream.h, include/strstream.h
include/timespec.h, iosenum/iosenum.cxx, iosenum/iosenum.linuxicc,
lib/gcc3strm/iostrm.h, lib/pthread/Makefile, src/cast.c,
src/func.c, src/gcc3strm.cxx, src/ifunc.c, src/kccstrm.cxx,
src/newlink.c, src/pause.c, src/tmplt.c:
import of CINT 5.15.64.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
ATTENTION: if failure in iostream code occurs, remove the file
cint/iosenum/iosenum.<arch> and do make again. This will force the rebuilding
of this file which then has to be checked into cvs again. This might happen
on CC5 and KCC. Already fixed for icc and gcc 3.2.
2002-11-15 21:02 rdm
* base/inc/MessageTypes.h, proof/inc/TProofPlayer.h,
proof/src/TProof.cxx, proof/src/TProofPlayer.cxx:
more mods for dynamic feedback.
2002-11-15 19:14 rdm
* proof/: inc/TProofDebug.h, src/TProof.cxx:
two small mods by Maarten in preparation of dynamic feedback.
2002-11-15 18:53 brun
* mc/src/TVirtualMC.cxx:
Undo previous change replacing TRandom by TRandom3
2002-11-15 17:54 brun
* gui/src/TRootBrowser.cxx:
In TRootBrowser::CloeWindow, simply call DeleteWindow (from TGFrame).
DeleteWindow takes care of deleting the CINT global pointing to the frame
if necessary. With this fix, the object is not deleted twice.
2002-11-15 17:11 brun
* hist/src/TAxis.cxx:
Remove code in TAxis::ExecuteEvent now obsolete after the introduction
of the new class TPaletteAxis.
2002-11-15 17:05 brun
* histpainter/src/THistPainter.cxx:
Rewrite THistPainter::PaintPalette to use the new class TPaletteAxis.
2002-11-15 17:04 brun
* histpainter/: inc/LinkDef.h, inc/TPaletteAxis.h,
src/TPaletteAxis.cxx:
Add new class TPaletteAxis. This new class is called by THistPainter::PaintPalette.
With this new class, the palette object can be moved, resized in the pad.
TPaletteAxis supports zooming on the palette axis.
2002-11-15 17:02 brun
* meta/src/TClass.cxx:
Protect TClass::Streamer when IsTObject() is true and fClassInfo=0
2002-11-15 16:48 brun
* mc/src/TVirtualMC.cxx:
Implement a suggestion from Federico:
I think we lost one bit going to the Virtual MonteCarlo. The generator
is not any more TRandom3, but gRandom, as initialised in TVirtualMC, and
therefore TRandom simply. So we have 0's. There are 2 solutions.
Isuggest to replace the initialisation of fRandom in TVirtualMC from
fRandom=gRandom
to
fRandom=gRandom=new TRandom3()
2002-11-15 15:53 brun
* gui/src/: TGCanvas.cxx, TGListTree.cxx:
More mods from Valeriy
2002-11-15 15:41 rdm
* gui/src/TRootBrowser.cxx:
some small comment typos and formatting.
2002-11-15 15:41 rdm
* geom/src/TGeoManager.cxx:
when TClass::IsCallingNew() returns TClass::kDummyNew don't delete the
existing geometry manager.
2002-11-15 15:40 rdm
* base/src/TKey.cxx:
in IsFolder() call TClass::New() with the kDummyNew option.
2002-11-15 15:40 rdm
* meta/: inc/TClass.h, src/TClass.cxx:
New() takes now enum ENewType instead of boolean. ENewType is either:
TClass::kRealNew - when called via plain new
TClass::kClassNew - when called via TClass::New()
TClass::kDummyNew - when called via TClass::New() but object is a dummy,
in which case the object ctor might take short cuts
this change is backward compatible in that the previous default was kTRUE
and now kClassNew which is also 1. kRealNew is 0 which corresponds to kFALSE.
The new kDummyNew is used in the TKey::IsFolder() method and checked in the
TGeoManager to avoid to deletion and creation of a new geometry.
2002-11-15 14:26 rdm
* base/inc/TStorage.h, base/src/TStorage.cxx,
cont/src/TObjArray.cxx, cont/src/TOrdCollection.cxx:
remove warnings produced by valgrind. Added TStorage::Alloc() and Dealloc()
which work in conjunction with TStorage::ReAlloc() and are called from
TObjArray and TOrdCollection.
2002-11-15 14:24 brun
* gui/: inc/TGCanvas.h, inc/TGFSContainer.h, inc/TGListTree.h,
inc/TGListView.h, src/TGCanvas.cxx, src/TGFSContainer.cxx,
src/TGFileDialog.cxx, src/TGListTree.cxx, src/TGListView.cxx,
src/TGScrollBar.cxx, src/TRootBrowser.cxx:
Several improvements and bug fixes in the browser by Valery Onuchin
2002-11-14 18:27 rdm
* base/src/TSystem.cxx:
fInsideNotify was not initialized (by valgrind).
2002-11-13 23:25 brun
* winnt/src/TWinNTSystem.cxx:
New version from Bertrand fixing the the 100%CPU time consumption problem.
New version of DispatchOneEvent.
2002-11-13 18:40 brun
* pythia6/: inc/TPythia6Calls.h, src/TPythia6.cxx:
Move the Fortran functions declaration from the header file to the
implementation file.
Add support for Windows
2002-11-13 18:35 rdm
* test/MainEvent.cxx:
small typo in comment.
2002-11-13 18:32 rdm
* tree/inc/TBranchElement.h, config/mimes.unix.in,
config/mimes.win32.in, gui/src/TRootBrowser.cxx,
tree/src/TBranchElement.cxx:
add special icons for TBranchElements that are folders as opposed to leaves.
This is done by overriding TObject::GetIconName() which returns a different
name for a branch folder than for a branch leave. In the mime types file
this icon name is specified with the corresponding icons.
2002-11-13 18:04 brun
* postscript/src/TPostScript.cxx:
Fix by Olivier for a problem reported by Dmitri Smirnov.
The current PS color must be reset after a polygon is drawn with
a PS pattern.
2002-11-13 15:31 brun
* gpad/src/TPad.cxx:
fModified was not set in the constructors.
Thanks Maarten Ballintijn
2002-11-13 08:55 brun
* g3d/: inc/TGLViewerImp.h, inc/TPadOpenGLView.h,
src/TGLViewerImp.cxx, src/TPadOpenGLView.cxx:
From Valery Fine:
protection to the "g3d" sub-package (3D view)
to eliminate the dead lock between TPadOpenGLView and TGLViewerImp
classes.
2002-11-12 16:51 brun
* tree/src/TTree.cxx:
Modify TTree::ChangeFile to remove several limitations.
In particular, it is now possible to have more than one Tree
in the file. All trees are correctly closed, written to the
file and reset before switching to the new file.
2002-11-12 11:27 brun
* test/guiviewer.h:
Add a ClassDef for the Viewer class to prevent a fatal error when
building the guiviewer test.
2002-11-11 22:51 brun
* tutorials/basic3d.C:
Replace teh creation of objects in the stack by objects in the heap
to allow reexecution of the script (in particular on Windows where
the detection of stack objects is not guaranteed.
2002-11-11 22:21 brun
* base/src/TROOT.cxx:
Extend TROOT::FindObjectAny to also scan the memory list of all files
in case no object is found in the folder structure.
2002-11-11 22:19 brun
* hist/src/TProfile.cxx:
Minor change in TProfile::GetBinError taking into accounts under/overflow bins.
2002-11-11 18:45 brun
* html/src/THtml.cxx:
Patch from Axel Naumann
The USER_Index does not contain ROOT classes anymore, and THtml does not try
to access files that are not there anymore. Details of what I changed:
* check if file exists before creating .cxx.html
* removed postscript created prompt, as TCanvas already says Created file TWhatever_Tree.ps
* Looks at impl file name, if that has format; base/src/TSomething.cxx; assume it comes from
the BASE package. If impl file name is not set, look at decl file name and get package name
the same way.
2002-11-11 18:05 brun
* meta/src/TClass.cxx:
This patch from Philippe fixes a side-effect of the way the ClassInfo was loaded by ROOT.
2002-11-11 17:23 brun
* base/inc/Rtypes.h, base/inc/RtypesImp.h, cont/inc/TMap.h,
gui/inc/TGLayout.h, gui/inc/TGMenu.h, meta/inc/TClass.h,
meta/inc/TGenericClassInfo.h, meta/src/TClass.cxx,
meta/src/TGenericClassInfo.cxx, utils/src/rootcint.cxx:
The following patch 'upgrades' the new TClass and TGenericClassInfo code to actually follow the ROOT coding
conventions.
This patch also enables a rootcint error (prevents the creation of the dictionary) in the case where the class
derives (directly or indirectly) from TObject and do not have its own ClassDef.
3 helper class in ROOT failed the test: TGFrameElement, TPair and TGMenuEntry.
Philippe.
2002-11-11 16:16 brun
* hist/src/TProfile.cxx:
Modify TProfile::GetBinError to disable the optimisation when the number
of bins is greater than 1000. The time of the old algorithm was proportional
to the number of bins, generating a N^2 problem when projecting a TProfile
with a large number of bins (eg 100000).
2002-11-11 15:45 rdm
* base/: inc/RtypesImp.h, src/TBuffer.cxx, src/TKey.cxx:
warning messages still contained reference to TSocket.
2002-11-11 13:02 brun
* table/src/TCL.cxx:
Remove unused variable mn in several functions.
2002-11-11 12:27 brun
* base/inc/Rtypes.h, base/inc/RtypesImp.h, base/src/TBuffer.cxx,
base/src/TKey.cxx, meta/inc/TClass.h, meta/inc/TGenericClassInfo.h,
meta/src/TClass.cxx, meta/src/TGenericClassInfo.cxx,
utils/src/rootcint.cxx:
This patch enhances speed by avoid the use of the interpreter to access
constructors and destructor. It also allows for feeding a way to access
the constructor and destructor independently of the dictionary.
5 new data members were added to TGenericClassInfo/TClass.
Those are direct wrapper around
- default constructor
- array constructor
- delete
- delete []
- destructor
In TKey::TKey and TBuffer::WriteObjectAny, a new message was added:
Warning in <TKey::TKey>: Since TSocket had no public constructor
which can be called without argument, TSocket objects can not be read
with the current library. You would need to add a default constructor
before attempting to read.
Philippe.
2002-11-11 12:24 brun
* gpad/src/TPad.cxx:
TPad::PaintPolyLine3D calls the new function TView::PaintLine
2002-11-11 12:23 brun
* base/: inc/TView.h, src/TView.cxx:
Add new status bit kPerspective and corresponding getter/setter
TView::HasPerspective
TView::SetPerspective (MENU)
Add new functions
TView::PaintLine(Double_t *p1, Double_t *p2)
TView::PaintMarker(Double_t *p)
These two new functions will support perspective view in a future version.
2002-11-11 12:21 brun
* g3d/src/: TBRIK.cxx, TCONE.cxx, TELTU.cxx, THYPE.cxx, TPCON.cxx,
TSPHE.cxx, TTUBE.cxx, TTUBS.cxx, TXTRU.cxx:
Remove unnecessary references to TView.h
2002-11-08 18:45 brun
* graf/src/TGraphAsymmErrors.cxx:
Modify the algorithm computing the errors in X and Y in case of asymmetric errors.
Instead of:
return TMath::Sqrt(elow*elow + ehigh*ehigh);
the new algorithm returns
return TMath::Sqrt(0.5*(elow*elow + ehigh*ehigh));
2002-11-07 19:17 rdm
* net/inc/: TFTP.h, TWebFile.h:
provide default ctor for these classes.
2002-11-07 06:23 brun
* hbook/src/THbookFile.cxx:
One more suggestion from Andrei Gaponenko:
"I suggest to put:
if(!IsOpen())
return;
as the first statement of THbookFile::Close(Option_t *).
When a user closes an hbook file explicitly, the destructor calls the
Close() function on the same file again and gets an HCDIR error
message."
2002-11-07 06:20 brun
* hbook/src/THbookFile.cxx:
Fix from Andrei Gaponenko,
"For the lack of THbookChain, I tried to do an explicit loop over
ntuples. After processing about 50 files, the program started to
complain about "too many hbook files open". According to the code
logic, no more than one hbook file should have been opened at a time.
(TFile was an automatic object in a loop of a compiled program.)
I have fixed this by changing the THbookFile(const char*, int)
constructor, so that HROPEN() and HREND() are now called with the
same CHTOP parameter.
It also fixes another problem (PR#1378). There is nothing wrong with
opening an hbook file again if it's been closed."
2002-11-06 22:16 brun
* graf/: inc/TMultiGraph.h, src/TMultiGraph.cxx:
Implement function TMultiGraph::RecursiveRemove.
When a TGraph is deleted (eg via the context menu), its parent TMultigraph
is notified to remove the TGrapg from its list of graphs.
Destructor protected.
2002-11-06 17:12 rdm
* Makefile, config/ARCHS, config/Makefile.aixegcs,
config/Makefile.alphaegcs, config/Makefile.freebsd,
config/Makefile.freebsd4, config/Makefile.hpuxegcs,
config/Makefile.hurddeb, config/Makefile.linux,
config/Makefile.linuxalphaegcs, config/Makefile.linuxarm,
config/Makefile.linuxdeb, config/Makefile.linuxdeb2,
config/Makefile.linuxdeb2ppc, config/Makefile.linuxia64gcc,
config/Makefile.linuxppcegcs, config/Makefile.linuxrh42,
config/Makefile.linuxrh51, config/Makefile.linuxsuse6,
config/Makefile.lynxos, config/Makefile.macosx,
config/Makefile.mklinux, config/Makefile.sgiegcs,
config/Makefile.sgin32egcs, config/Makefile.solarisegcs,
config/Makefile.solarisgcc:
add COMPILER = gnu in all backends that use gcc. This allows correct
checking for gcc compiler type independent of compiler name, which may
have been set to c++ or cc, instead of g++ and gcc. Also remove backend
for solarisegcs which was identical to solarisgcc.
2002-11-06 10:11 brun
* tree/src/TTree.cxx:
In TTree::Fill, replace the call to TFile::GetBytesWritten by TFile::GetEND.
The difference between the real size of the file (via GetEND) and the total number
of bytes written can be very large when TTree::AutoSave is called frequently.
2002-11-06 07:33 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
Small patch from Eddy Offermann:
Do not calculate /correct the matrix determinant if the user does
not requests its value. Reason is that after rescaling by the
diagonal it might be too large or too small.
2002-11-05 19:14 rdm
* configure:
add check in case libpacklib.a does not contain any rfio references.
2002-11-05 18:01 rdm
* mysql/src/TMySQLServer.cxx:
add more explicit error message in case connection to mysqld fails.
2002-11-05 17:47 rdm
* configure:
correction for new version of srp in non-shared mode.
2002-11-05 17:09 brun
* graf/src/TPolyLine.cxx:
Add some comments and an example of a pad with the contour of
a polyline and also its fill area.
2002-11-05 14:21 brun
* tree/src/TChain.cxx:
Fix a problem in TChain::LoadTree in case one file has a Tree
with no entries.
2002-11-05 12:37 brun
* graf/inc/TGaxis.h, graf/src/TGaxis.cxx, hist/inc/TAxis.h,
hist/src/TAxis.cxx:
Add a new option in TAxis and TGaxis to center the bin labels
on the center of the bin instead of the tick marks.
This option makes sense only when the number of bins is equal
to the number of tick marks.
The new function TAxis::CenterLabels sets the bit kCenterLabels.
CenterLabels is visible in the TAxis context menu.
2002-11-05 11:38 brun
* minuit/: inc/TMinuit.h, src/TMinuit.cxx:
Make the following functions const
GetMethodCall()
GetObjectFit
GetMaxIterations
GetNumFixedPars
GetNumFreePars
GetNumPars
GetParameter
GetPlot
GetStatus
mnpout
2002-11-05 11:28 rdm
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
add getters for some WM resources that can be set for TGMainFrames.
2002-11-05 10:54 brun
* minuit/: inc/TMinuit.h, src/TMinuit.cxx:
Add new data members
Bool_t fGraphicsMode;
TObject *fPlot;
By default fGraphicsMode is true.
When calling the Minuit functions such as mncont, mnscan, or any Minuit
command invoking mnplot, TMinuit::mnplot produces a TGraph object
pointed by TObject *fPlot.
One can retrieve this object with TMinuit::GetPlot();
For example, one can do:
h->Fit("gaus");
gMinuit->Command("SCAn 1");
TGraph *gr = (TGraph*)gMinuit->GetPlot();
gr->setMarkerStyle(21);
gr->Draw("alp");
To set Minuit in no graphics mode, call gMinuit->SetGraphicsMode(kFALSE);
2002-11-05 10:37 brun
* base/src/TProcessID.cxx:
Fix from Bill Tanenbaum in TProcessID::WriteProcessID.
In TProcessID::WriteProcessID(TProcessID*, TFile *), the statement
pids->Add(pid);
must be replaced by
pids->AddAtAndExpand(pid,npids);
The reason is that there may be a slot where the stored pid is NULL,
and Add() will incorrectly add it at the first such slot, if any, rather
than at the end of the TObjArray, where it belongs.
2002-11-05 09:15 brun
* base/src/TSystem.cxx:
This patch from Philippe was forgotten when the fixes for win32 were introduced.
2002-11-04 22:19 brun
* graf/src/TGraph.cxx:
In TGraph::PaintGrapHist, skip points that are below the minimum in y when in log scale.
2002-11-04 22:18 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintInit, optimize the computation of the minimum scale in case
of log scale and the maximum is less than 1.
2002-11-04 18:22 brun
* meta/src/: TCint.cxx, TClass.cxx:
From Philippe:
This patch removes 'interpreter errors' that happen when loading file with missing classes which happen to be
template of templates. It achieves this by changing TCint::CheckClassInfo so that it does not request
instantiation of templates and by changing TClass::Init to not look for a classinfo when we create a fake
2002-11-04 17:43 rdm
* cint/src/: newlink.c, typedef.c:
the new CINT has several side effects. Take only mod 1743 that fixes the
titles in the list of types.
2002-11-02 10:46 brun
* config/: mimes.unix.in, mimes.win32.in:
Add entry for THbookFile.
Currently the Root file icon is used for Hbook files. A dedicated icon
should be created.
2002-11-02 10:41 brun
* hbook/src/THbookFile.cxx:
Remove the file from the list of Browsables in the destructor
2002-11-01 22:37 brun
* win32gdk/src/: GWin32Gui.cxx, TGWin32.cxx:
fix by Bertrand Bellenot fixing the speed problem when generating a gif file.
2002-11-01 22:25 brun
* base/src/TKey.cxx:
This update changes the semantic of TKey::ReadObj. It now returns a proper TObject pointer (which sometimes is NOT the address of the actual start of the object).
In particular, code that looks like:
MyClass *obj = (MyClass*)((void*)key->ReadObj());
should be changed to
MyClass *obj = dynamic_cast<MyClass*>(key->ReadObj());
Philippe.
2002-11-01 21:41 brun
* base/src/TKey.cxx:
This patch speeds up TKey::ReadObj by replacing 'calling the streamer via the interpreter' by calculating a proper TObject* (by adding TObject's baseClassOffset to
the address of the start of the object).
Note that I did note change the semantic of TKey::ReadObj and it still returns an improper value when the object does not inherit from TObject first. However, I
could easily change that (and then the dynamic_cast would work). The down-side is that existing code (using multiple inheritance) would break.
Philippe.
2002-11-01 20:58 brun
* base/src/TBuffer.cxx:
Change comment in TBuffer::ReadObjectAny
2002-11-01 20:12 brun
* base/inc/TBuffer.h, base/src/TBuffer.cxx, base/src/TKey.cxx,
meta/inc/TGenericClassInfo.h, meta/src/TClass.cxx,
meta/src/TGenericClassInfo.cxx, meta/src/TStreamerElement.cxx,
meta/src/TStreamerInfo.cxx, utils/src/rootcint.cxx:
From Philippe:
This patch adds the ability to save objects of classes using multiple
inheritance (directly or indirectly) as part of other objects.
(Previously multiple inheritance was only supported for top level objects).
In TBuffer.h, TBuffer.cxx:
TBuffer::WriteObject( const void *actualObjStart, TClass *actualClass);
has been made protected. It is replaced by
WriteObjectAny(const void *obj, TClass *ptrClass);
which has a slightly different semantic (for multiple inheriting classes).
The value of 'obj' in expected to be a value that can be legally stored
in a pointer to an object of the type described by 'ptrClass'. I.e:
MyClass *ptr;
....
b.WriteObjectAny(ptr,gROOT->GetClass(typeid(MyClass)));
We introduced:
void *ReadObjectAny(const TClass* cast);
which returns a value suitable to be stored in a pointer to an object of
the type described by 'cast'. I.e, a typical usage is:
MyClass *ptr = (MyClass*)b.ReadObjectAny(MyClass::Class());
The existing function
TObject *TBuffer::ReadObject(const TClass *clReq)
now ignores its parameter and returns the address where the object read
actually start. It should be noted that if the object is of a class
which derives from TObject but not as a first inheritance, this value is
NOT a valid TObject*. We recommend using ReadObjectAny instead.
In TKey.cxx, I reverted the comments to properly describe how to deal with
top level object which inherits from TObject but not as a first inheritance
(can not use dynamic_cast).
In TGenericInfo.h, TGenericInfo.cxx, rootcint.cxx and TClass.cxx, we moved
to always use an IsA wrapper function instead of using the interpreter for
TObjects.
TClass.cxx has been modified to optimize a few function now called many
times.
TStreamerInfo.cxx and TStreamerElement.cxx has been modified to use the
new TBuffer function and to properly read/write multiple inheriting objects.
2002-10-31 22:38 brun
* base/src/TProcessID.cxx:
From Philippe:
Add a missing IncrementCount when the processID object is being reused.
2002-10-31 14:23 rdm
* base/src/TQObject.cxx:
remove special case for Win32 introduced during the hunt for the startup bug.
2002-10-31 14:22 rdm
* config/: Makefile.aix, Makefile.aix5:
add missing matrix lib dependencies.
2002-10-31 08:27 brun
* base/inc/TColor.h, base/inc/TDatime.h, base/inc/TDirectory.h,
base/inc/TFile.h, base/inc/TFolder.h, base/inc/TNamed.h,
base/inc/TObject.h, base/inc/TStyle.h, base/inc/TTimeStamp.h,
base/src/TColor.cxx, base/src/TDatime.cxx, base/src/TNamed.cxx,
base/src/TObject.cxx, base/src/TStyle.cxx, base/src/TTimeStamp.cxx,
g3d/inc/TAxis3D.h, g3d/inc/THelix.h, g3d/inc/TPolyLine3D.h,
g3d/inc/TPolyMarker3D.h, g3d/inc/TXTRU.h, g3d/src/TAxis3D.cxx,
g3d/src/THelix.cxx, g3d/src/TPolyLine3D.cxx,
g3d/src/TPolyMarker3D.cxx, g3d/src/TXTRU.cxx,
gpad/inc/TPaveClass.h, gpad/src/TPaveClass.cxx, graf/inc/TArc.h,
graf/inc/TArrow.h, graf/inc/TBox.h, graf/inc/TCrown.h,
graf/inc/TEllipse.h, graf/inc/TFrame.h, graf/inc/TLatex.h,
graf/inc/TLegend.h, graf/inc/TLegendEntry.h, graf/inc/TLine.h,
graf/inc/TMarker.h, graf/inc/TPave.h, graf/inc/TPaveLabel.h,
graf/inc/TPolyLine.h, graf/inc/TText.h, graf/inc/TWbox.h,
graf/src/TArc.cxx, graf/src/TArrow.cxx, graf/src/TBox.cxx,
graf/src/TCrown.cxx, graf/src/TEllipse.cxx, graf/src/TFrame.cxx,
graf/src/TLatex.cxx, graf/src/TLegend.cxx,
graf/src/TLegendEntry.cxx, graf/src/TLine.cxx,
graf/src/TMarker.cxx, graf/src/TPave.cxx, graf/src/TPaveLabel.cxx,
graf/src/TPolyLine.cxx, graf/src/TText.cxx, graf/src/TWbox.cxx,
gui/inc/TGTextEdit.h, gui/inc/TGTextView.h, hist/inc/TAxis.h,
hist/inc/TF1.h, hist/inc/TF2.h, hist/inc/TF3.h,
hist/inc/TFormula.h, hist/inc/TH1.h, hist/inc/TH2.h,
hist/inc/TH3.h, hist/inc/TPolyMarker.h, hist/inc/TProfile.h,
hist/inc/TProfile2D.h, hist/src/TAxis.cxx, hist/src/TF1.cxx,
hist/src/TF2.cxx, hist/src/TF3.cxx, hist/src/TFormula.cxx,
hist/src/TH1.cxx, hist/src/TH2.cxx, hist/src/TH3.cxx,
hist/src/TPolyMarker.cxx, hist/src/TProfile.cxx,
hist/src/TProfile2D.cxx, meta/inc/TStreamerElement.h,
meta/src/TClass.cxx, table/inc/TFileIter.h, table/inc/TPoints3D.h,
table/inc/TPointsArray3D.h, table/src/TPoints3D.cxx,
table/src/TPointsArray3D.cxx:
Make const all Copy functions.
WARNING: If your class implements a Copy function deriving
from TObject or one of the ROOT classes, you must make
your Copy function const.
2002-10-30 22:56 brun
* tree/src/TTree.cxx:
Modify TTree::GetMaximum and TTree::GetMinimum to take into account
variable length arrays.
2002-10-30 21:40 brun
* gpad/: inc/TAttCanvas.h, src/TAttCanvas.cxx:
Make TAttCanvas::Copy const
2002-10-30 21:39 brun
* cont/inc/: TArrayC.h, TArrayD.h, TArrayF.h, TArrayI.h, TArrayL.h,
TArrayS.h:
Make const all Copy functions
2002-10-30 17:12 rdm
* base/src/TEnv.cxx:
fix in Save() so new values created at run time can be correctly saved.
Patch by Nathaniel Tagg (Oxford, Minos).
2002-10-30 13:06 rdm
* build/unix/compiledata.sh, config/root-config.in:
change $() syntax with ` ` which is understood by all shells.
2002-10-29 14:30 brun
* meta/inc/TCint.h, meta/inc/TInterpreter.h, meta/src/TCint.cxx,
rint/src/TRint.cxx:
From Philippe:
I understood (and fixed) the problems on Window 98, XP, 2000 where ROOT
was mysteriously, randomly crashing or giving error messages like 'this
"text file name" is a binary file' or other weird behaviors.
This problem was only appearing at startup time and only on Windows.
In the constructor of TRint::TRint we had:
ProcessLine("#include <RtypesCint.h>");
gROOT->LoadClass("TGeometry", "Graf3d");
gROOT->LoadClass("TTree", "Tree");
....
ProcessLine(Form(".L %s",logon),kTRUE);
The problem comes from the fact that on Windows ProcessLine has the
execution of its CINT part delayed (1st problem) while gROOT->LoadClass
has the execution of its CINT part done immediately (and not protected
for multi-thread).
Both the calls are asking CINT to load a file and in this case,
__sometimes__ the loading of RtypesCint.h is happening __while__ loading
the libraries thus over-writing (randomly) part of one of the loading.
The problem did indeed worsen since ROOT 3.03/07 with the introduction
of the first ProcessLine.
2002-10-29 09:25 brun
* hist/src/TH2.cxx:
Undo changes introduced by mistake in 3.03/09 in functions ProjectionX and ProjectionY
in the algorithm computing the errors for the projected histogram.
2002-10-28 16:38 brun
* graf/src/: TPaveLabel.cxx, TPaveText.cxx:
Changes in the SavePrimitive functions in case of log scales.
2002-10-28 15:27 rdm
* configure:
add discovery support for SRP 1.7.x.
2002-10-28 15:22 rdm
* rootd/: inc/rootdp.h, src/daemon.cxx, src/net.cxx, src/rootd.cxx:
Applied rootd patch by Ulrik Egede and Tim Adye from BaBar. New features:
1) New option, -P FILE, to specify an alternate SRP password file. As an
example
rootd -P $HOME/.srootdpass2
will start rootd using the files $HOME/.srootdpass2.conf and
$HOME/.srootdpass2 for SRP authentication.
2) Modified option, -p port1-port2, will search for the first available
port in the range. You can also specify -p 0-N for search relative to the
service port specified in /etc/services (this was sort of accidental, but
not a bad feature :-). If a single port is specified as before, then no
search is made.
3) Unless started by inetd (rootd -i), it prints something like
ROOTD_PORT=5151
ROOTD_PID=14433
before spawning the daemon so the user knows what was used (eval `rootd`
will set these as variables in Bourne-shells).
4) rootd now shows an error message (as well as the syslog message it
always sent) if there is any problem binding the port or forking the
daemon.
2002-10-25 23:19 brun
* hbook/src/THbookFile.cxx:
Add a few protections in case two Hbook files containing the same histogram IDs
are open and the IDs read in memory.
2002-10-25 21:54 brun
* tree/src/TLeafC.cxx:
Remove a limitation in TLeafC::FillBasket and TLeafC::ReadBasket.
A maximum of 255 characters could only be written/read.
To be back compatible and still have minimal overhead, the following
algorithm has been implemented.
If the length of the string to be written is less than 255 bytes,
we use the old agorithm.
If more or equal 255 characters, we write the constant 255 followed
by the real length of the long string in integer format.
Thanks to Markus Frank for noticing/reporting the problem.
2002-10-25 19:38 rdm
* win32gdk/inc/GdkConstants.h, win32gdk/inc/TGWin32.h,
win32gdk/src/GWin32Gui.cxx, win32gdk/src/GdkThread.cxx,
win32gdk/src/TGWin32.cxx, winnt/inc/TWinNTSystem.h,
winnt/src/TWinNTSystem.cxx:
latest mods of Bertrand. This version implements separate threads for
virtualX and cint. There are still several issues to solve, but it is already
much better than what was in cvs before.
2002-10-25 19:25 rdm
* build/unix/makelib.sh:
not all shells understand $() syntax, replace by ` `.
2002-10-25 18:51 rdm
* config/: Makefile.win32, Makefile.win32gdk:
because some methods in TVector and TMatrix are not inline anymore we now
need to link explicitely with libMatrix for several modules.
2002-10-25 17:39 rdm
* build/unix/compiledata.sh, build/unix/makecintdlls.sh,
build/unix/makelib.sh, config/Makefile.macosx,
config/root-config.in:
latest patch by Keisuke. Now it should work on both fink and non-fink
installations.
2002-10-25 17:29 rdm
* matrix/: inc/TMatrix.h, inc/TMatrixD.h, inc/TMatrixDUtils.h,
inc/TMatrixUtils.h, inc/TVector.h, inc/TVectorD.h, src/TMatrix.cxx,
src/TMatrixD.cxx, src/TMatrixDUtils.cxx, src/TMatrixUtils.cxx,
src/TVector.cxx, src/TVectorD.cxx:
last changes broke Win32. Should now, finally, be ok now on all platforms.
2002-10-25 15:35 rdm
* matrix/: inc/TMatrix.h, inc/TMatrixD.h, inc/TMatrixDUtils.h,
inc/TMatrixUtils.h, inc/TVector.h, inc/TVectorD.h, src/TMatrix.cxx,
src/TMatrixD.cxx, src/TMatrixDUtils.cxx, src/TMatrixUtils.cxx,
src/TVector.cxx, src/TVectorD.cxx:
removed also the special case for MacOS X. Now all platforms can inline.
Problem was due to a static "err" in only a few inlines. Moved this static
as a class static fgErr. Damir verified that it works.
2002-10-25 14:41 brun
* base/src/TRandom.cxx:
TRandom::Rndm optimized by Sverre Jarp
2002-10-25 14:30 rdm
* base/src/TApplication.cxx:
remove compiler warning due to mode not being const char*.
2002-10-25 13:19 rdm
* matrix/: inc/TMatrix.h, inc/TMatrixD.h, inc/TMatrixDUtils.h,
inc/TMatrixUtils.h, inc/TVector.h, inc/TVectorD.h, src/TMatrix.cxx,
src/TMatrixD.cxx, src/TMatrixDUtils.cxx, src/TMatrixUtils.cxx,
src/TVector.cxx, src/TVectorD.cxx:
remove special non-inlining case for obsolete HP-UX CC compiler.
If now MACOSX could also solve this we could get completely get rid of
this error prone construction.
2002-10-25 13:16 rdm
* config/: ARCHS, Makefile.hpux:
very old HP-UX CC compiler is no longer supported.
2002-10-25 12:47 rdm
* test/: vmatrix.cxx, vvector.cxx:
run in batch mode.
2002-10-25 12:40 rdm
* cont/src/TClassTable.cxx:
fix typo in comment.
2002-10-25 12:40 rdm
* base/src/TApplication.cxx, gui/src/TGApplication.cxx,
proof/src/TProofServ.cxx:
call gInterpreter->UpdateListOfTypes() after the dictionaries have been
initialized. This fixes the problem as seen on Solaris when running
vvector in batch mode where the basic typedef UInt_t et al are not known.
2002-10-25 12:31 rdm
* rfio/src/TRFIOFile.cxx:
fix compilation problem on Win32.
2002-10-25 12:18 rdm
* configure:
on Solaris the latest version of libshift requires the additional linking
of libposix4.
2002-10-25 09:36 brun
* matrix/src/: TVector.cxx, TVectorD.cxx:
In the operator == replace the call to memcmp by an explicit loop.
memcmp does not behave correctly on aix and sgi. (rounding problems)
With this change, vvector executes correctly on all platforms.
2002-10-25 08:29 brun
* matrix/src/: TMatrixD.cxx, TMatrixDUtils.cxx, TMatrixUtils.cxx,
TVector.cxx, TVectorD.cxx:
New fixes by Eddy to compile under macosx
2002-10-25 08:04 brun
* net/src/TUrl.cxx:
Fix fatal compilation errors
2002-10-25 03:23 rdm
* base/inc/MessageTypes.h, proof/inc/TPacketizer.h,
proof/inc/TPacketizer2.h, proof/inc/TProofPlayer.h,
proof/src/TPacketizer.cxx, proof/src/TPacketizer2.cxx,
proof/src/TProof.cxx, proof/src/TProofPlayer.cxx:
this patch implements a signal Progress(total,processed) in the proofplayer.
The patch provides some other small bug fixes and an implementation of
file specs without host.
2002-10-25 02:50 rdm
* base/src/TObject.cxx:
unset kCanDelete bit also in copy ctor and assignment operator (like
was done in Clone()).
2002-10-25 02:44 rdm
* base/inc/TSystem.h, base/src/TSystem.cxx, config/rootrc.in,
rfio/inc/LinkDef.h, rfio/inc/TRFIOFile.h, rfio/src/TRFIOFile.cxx,
unix/inc/TUnixSystem.h, unix/src/TUnixSystem.cxx:
add capability to read directory structures via RFIO. This works via
the TRFIOSystem helper class (which derives from TSystem) that is loaded
by the plugin manager whenever one tries to access a rfio directory or file.
This helper class is used in the actual system class (TUnixSystem,
TWinNTSystem).
2002-10-25 02:19 rdm
* net/: inc/TUrl.h, src/TUrl.cxx:
add support for username and passwd embedded in url according to W3C specs.
2002-10-25 02:16 rdm
* Makefile, config/ARCHS:
remove reference to win32egcs, until this port really exist (if ever).
2002-10-24 21:45 brun
* matrix/src/: TMatrix.cxx, TMatrixD.cxx:
Fixes by Eddy for some compilation problems on macosx reported
by George Irwin and Damir Buskulic
2002-10-24 18:45 brun
* README/CREDITS:
Add Marco van Leeuwen for his contribution to THistPainter.
2002-10-24 18:32 brun
* histpainter/src/THistPainter.cxx:
From Marco van Leeuwen
"I've adapted the THistPainter to allow logarithmic axes (x, y and z)
when using the CONT drawing options."
2002-10-24 08:29 brun
* build/unix/compiledata.sh, build/unix/makelib.sh,
config/Makefile.macosx, test/Makefile.in:
Changes in Makefiles by Keisuke Fujii for macosx.
With these changes, test/Event can be executed on macosx.
2002-10-23 23:56 brun
* matrix/: inc/LinkDef.h, inc/TMatrix.h, inc/TMatrixD.h,
inc/TMatrixDUtils.h, inc/TMatrixUtils.h, inc/TVector.h,
inc/TVectorD.h, src/TMatrix.cxx, src/TMatrixD.cxx,
src/TMatrixDUtils.cxx, src/TMatrixUtils.cxx, src/TVector.cxx,
src/TVectorD.cxx:
A few fixes to previous Eddy's patch
2002-10-23 22:47 brun
* matrix/inc/LinkDef.h, matrix/inc/TMatrix.h,
matrix/inc/TMatrixD.h, matrix/inc/TMatrixDUtils.h,
matrix/inc/TMatrixUtils.h, matrix/inc/TVector.h,
matrix/inc/TVectorD.h, matrix/src/TMatrix.cxx,
matrix/src/TMatrixD.cxx, matrix/src/TMatrixDUtils.cxx,
matrix/src/TMatrixUtils.cxx, matrix/src/TVector.cxx,
matrix/src/TVectorD.cxx, test/vlazy.cxx, test/vmatrix.cxx,
test/vvector.cxx:
From Eddy Offermann:
I made the following changes to the matrix/vector classes:
1. if rank(matrix) <= 3 determinant and matrix inversion
formulas are hard-coded to in order to improve speed
2. As requested by Nicolas Produit
(http://root.cern.ch/root/roottalk/roottalk02/1136.html)
I have implemented a class called TMatrixFlat that lets
you access the matrix elements as a flat array. Functionalities
are identical to TMatrixRow, TMatrixColumn and TMatrixDiag ..
3. Added some constructors to TVector:
TVector(const TMatrixRow &mr);
TVector(const TMatrixColumn &mc);
TVector(const TMatrixDiag &md);
4. Operations like TMatrix(a,2) *= TMatrix(b,3) are now supported
5. Elements in TVector/TMatrix/TMatrixRow ... can now be accessed
with operator() and []
5. Code cleanup:
- made functions static in TMatrix
- enforced better "const"-ness
in particular the Apply methods in TVector/TMatrix now
have a "const" argument allowing constructs like (Nicolas Produit) in
http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/roottalk/roottalk02/0827.html?TElementAction#first_hit
This has as side effect that the signature of "Operation" has changed !!!!!
In Addition I have removed the MakeHilbert() function
from TMatrix class; no reason to give this matrix type a special
status.
I have added THilbertMatrix class just like the THaarrMatrix,
both inheriting from TLazyMatrix
2002-10-23 14:36 brun
* cint/include/iosfwd.h:
Undo change proposed by Philippe. Too many side effects.
2002-10-23 13:15 brun
* histpainter/src/THistPainter.cxx:
Fix in PaintLego and PaintSurface in the new algorithm computing the scale.
2002-10-23 13:00 brun
* cint/include/iosfwd.h:
From Philippe
"I found that in order to properly parse some of Geant4 header files I
needed to add one declaration to iosfwd:"
2002-10-23 12:51 brun
* cint/src/global2.c, cint/src/init.c, cint/src/newlink.c,
utils/src/rootcint.cxx:
From Philippe:
"I think it is inconvenient for the user (and the documenter) that the
'cint' executable behaves differently in the ROOT environment or in the
pure CINT environment. For example, the lastest change broke Fons'
script to build the cintdlls (since linG__set_globalcompk was off by
default, the cintdlls where actually empty!).
So I propose to reset the 'link mode' to be on by default for the 'cint'
executable. We can then explicitly set it to be off in the 'rootcint'
executable.
In order to properly implement this, I also needed to fix the handling
of the argument to '-c' (corretly use the abs value and propagate all
the change into G__set_globalcomp.
2002-10-23 08:26 brun
* histpainter/src/THistPainter.cxx:
Protect THistPainter::PaintLego and THistPainter::PaintSurface for the case
where zmin >= zmax
2002-10-22 15:55 brun
* cint/lib/stream/iostrm.h:
Add AIX in the list of systems not supporting standard rdbuf
2002-10-22 14:10 brun
* hbook/: inc/THbookFile.h, src/THbookFile.cxx:
Implement new function IsOpen (like in TFile).
Set the Zombie bit on if the file cannot be open.
There are now two ways to detect if a file is open:
TFile f("myfile.hbook");
if (f.IsOpen()); //if true f has been open successfully
if (f.IsZombie()); //if true f cannot be used
2002-10-22 12:37 brun
* utils/src/rootcint.cxx:
Patch from Philippe:
This updates increase the support for const data members (the existing
std::string special cases needed to be updated). It also explicitly
disable I/O for data members which are references.
2002-10-22 10:32 brun
* geom/src/TGeoBBox.cxx:
Fix a portability problem. Variable Int_t i defined twice in the same function
2002-10-22 10:22 brun
* cint/src/tmplt.c:
From Masa
Removed a side-effect
2002-10-22 10:19 brun
* base/src/TMath.cxx:
Add remarks in the doc of TMath::isInside
2002-10-22 09:43 brun
* geom/inc/TGeoManager.h, geom/inc/TVirtualGeoPainter.h,
geom/src/TGeoBoolNode.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoVoxelFinder.cxx, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoChecker.cxx, geompainter/src/TGeoPainter.cxx:
A few fixes to avoid compiler warnings
2002-10-22 08:43 brun
* utils/src/rootcint.cxx:
From Philippe:
This patch repairs TBench.cxx on gcc below 3.1.
We need to use the 'name' of the class rather than its TrueName (which is
implementation dependent!!).
2002-10-21 21:19 brun
* cint/src/pause.c:
Fix a typo " recorvered" changed to "recovered"
2002-10-21 19:37 rdm
* base/src/TQObject.cxx:
fix typo in Error() message.
2002-10-21 19:32 rdm
* utils/src/rootcint.cxx:
correction in help making clear that + and - are mutual exclusive [{+,-}].
2002-10-21 19:09 brun
* base/src/TQObject.cxx:
From Philippe
On windows instead of loading the TQObject macro via loadtext,
let's go back to the previous implementation and do it by
loading the header file.
2002-10-21 19:08 brun
* test/: dt_DrawTest.C, dt_MakeRef.C:
From Philippe
DrawTest now has a test of drawing an array values with a scalar weight.
2002-10-21 18:47 brun
* main/src/h2root.cxx:
The recent increase of /pawc/ from 2 to 10 megawords prevents the
generation of the h2root module under alpha/gcc.
This fix reduces the size to 5 megawords.
2002-10-21 18:35 brun
* pythia6/src/TPythia6.cxx:
Fix by Constantin Loizides
I had problems using ImportParticles
with the "Final" option. When writing
the "particle" branch with TTree::Fill
it crashed whereas when using the "All"
option the same macro work (macro is attached).
Looping over the particles in the TClonesArray
works perfectly in both cases
(particles->Print()).
I "solved" the problem changing the
TPythia6::ImportParticles in the following way:
The dummy index i is always incremented regardless
whether a particle was "final" or not. Introducing a
variable which actually counts the particles that
were inserted into the TClonesArray apparently works
2002-10-21 18:15 brun
* utils/src/rootcint.cxx:
From Philippe:
The following modification of rootcint allow the generation of
dictionaries for classes with const data members.
2002-10-21 18:13 brun
* treeplayer/src/TTreePlayer.cxx:
From Philippe:
This patch makes sure that a scalar weight is used for all the elements
of an array which is drawn.
Before this patch the scalar weight was only applied to the first
element of the array.
2002-10-21 17:21 brun
* geom/inc/TGeoAtt.h, geom/inc/TGeoManager.h, geom/inc/TGeoNode.h,
geom/inc/TGeoShape.h, geom/inc/TGeoVolume.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoCompositeShape.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoNode.cxx,
geom/src/TGeoVolume.cxx, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoPainter.cxx:
Upgrade of the geom classes by Andrei:
- improvements in the drawing mechanism (nodes can also be made
invisible, having higher priority than volumes;
- possibility of simple phi cut in TGeoManager::SetPhiRange(phimin, phimax)
- by default the phi range is (0, 360) - no cut performed
- setting different values for phimin, phimax will make invisible the
nodes having the origin in this range;
- documentation updated for TGeoArb8 class (picture in /gif directory)
2002-10-21 17:12 rdm
* config/Makefile.linuxia64ecc:
add -restrict option to CFLAGS and CINTCFLAGS for ecc v7.
2002-10-21 16:38 rdm
* cint/: inc/G__ci.h, inc/common.h, inc/fproto.h, inc/global.h,
include/_iostream, src/cast.c, src/disp.c, src/func.c,
src/global2.c, src/ifunc.c, src/init.c, src/loadfile.c,
src/newlink.c, src/pause.c, src/pcode.c, src/pragma.c,
src/struct.c, src/tmplt.c, src/var.c, tool/makecint.c:
import of CINT 5.15.61.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
Experimental release.
2002-10-21 12:04 rdm
* Makefile:
delete build/misc/root-help.el only when doing maintainer-clean, not
distclean.
2002-10-20 18:08 brun
* base/src/TApplication.cxx, base/src/TSystem.cxx,
cint/src/loadfile.c:
Patch from Philippe:
"Following Masa's smart comment, I renamed the ACLiC option into 'g' and
'O' to be more inline with all other compiler.
2002-10-18 19:14 brun
* base/src/TApplication.cxx, cint/src/loadfile.c:
aclic options, fix a couple of bugs
2002-10-18 19:01 brun
* base/src/TApplication.cxx:
add option to aclic to select debug or optimized mode
2002-10-18 19:01 brun
* cint/src/loadfile.c:
add option to aclic to select debug or optimized mode
2002-10-18 18:32 brun
* tree/src/TBranchElement.cxx:
Protection introduced in TBranchElement::SetAddress in case of fake classes.
2002-10-18 18:31 brun
* meta/src/TClass.cxx:
In TClass::BuildRealData, the TList of fRealData is always built, even
when no dictionary info is available (fake class).
2002-10-18 16:58 brun
* Makefile, base/inc/TSystem.h, base/src/TSystem.cxx,
build/unix/compiledata.sh, build/win/compiledata.sh,
config/Makefile.aix, config/Makefile.aix5, config/Makefile.aixegcs,
config/Makefile.alphacxx6, config/Makefile.alphaegcs,
config/Makefile.alphakcc, config/Makefile.freebsd,
config/Makefile.freebsd4, config/Makefile.hpux,
config/Makefile.hpuxacc, config/Makefile.hpuxegcs,
config/Makefile.hpuxia64acc, config/Makefile.hurddeb,
config/Makefile.linux, config/Makefile.linuxalphaegcs,
config/Makefile.linuxarm, config/Makefile.linuxdeb,
config/Makefile.linuxdeb2, config/Makefile.linuxdeb2ppc,
config/Makefile.linuxia64ecc, config/Makefile.linuxia64gcc,
config/Makefile.linuxia64sgi, config/Makefile.linuxicc,
config/Makefile.linuxkcc, config/Makefile.linuxpgcc,
config/Makefile.linuxppcegcs, config/Makefile.linuxrh42,
config/Makefile.linuxrh51, config/Makefile.linuxsuse6,
config/Makefile.lynxos, config/Makefile.macosx,
config/Makefile.mklinux, config/Makefile.sgicc,
config/Makefile.sgiegcs, config/Makefile.sgikcc,
config/Makefile.sgin32egcs, config/Makefile.solaris,
config/Makefile.solarisCC5, config/Makefile.solarisegcs,
config/Makefile.solarisgcc, config/Makefile.solariskcc,
config/Makefile.win32, config/Makefile.win32gdk:
With this patch (Philippe) you can now select how ACLiC compiled the library:
root[] gSystem->SetAclicMode (TSystem::kDebug);
root[] gSystem->SetAclicMode (TSystem::kOpt);
2002-10-18 11:45 brun
* hist/src/TH1.cxx:
Protect TH1::GetObjectInfo in case the member fPainter is null.
This case can occur when moving the mouse on top of a THStack object.
2002-10-17 19:51 brun
* main/src/h2root.cxx:
Increase default /PAWC/ size from 2 Megawords to 10 Megawords
2002-10-17 08:54 brun
* base/src/TSystem.cxx:
From Philippe:
With this absurdly simple patch, one can now create dictionaries for
existing libraries.
So now the following is possible:
root [] .L path/lib/veryImportant3rdPartyLib.so
root [] .include path/include
root [] .L importantClass.h+
By default the library is build in the directory of the header file but that
can be changed by doing:
root [] TString cmd = gSystem->GetMakeSharedLib();
root [] cmd.ReplaceAll("$BuildDir","whereIwantTheLib/lib");
root [] gSystem->SetMakeSharedLib(cmd);
2002-10-16 16:53 rdm
* config/Makefile.linuxicc:
remove optimization option for P4 that remained after some testing.
Option did not make any differencem, was: -tpp7
2002-10-16 07:39 brun
* build/unix/compiledata.sh:
Add a new patch previously forgotten for the macosx by Remi Mommsen
"I missed one change which is needed to make ACLiC work"
2002-10-15 10:41 rdm
* proof/src/TPacketizer2.cxx:
fix in print statement.
2002-10-14 18:11 brun
* geompainter/src/TGeoChecker.cxx:
Fix typo from Andrei
2002-10-13 17:45 brun
* geom/inc/TGeoVolume.h, geom/src/TGeoCompositeShape.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoPgon.cxx,
geompainter/src/TGeoChecker.cxx:
From Andrei:
I have made a few corrections related to TGeoManager registration to
the browser and to the TGeoChecker::LegoPlot. Also a small fix in
TGeoPgon class. Change the default number of bins for lego plots.
2002-10-13 09:29 brun
* gpad/src/TPad.cxx:
Change algorithm in TPad::RecalculateRange computing the constant factor
for the transformation to pixel coordinates. Do not use the offset=0.5
but instead a small rounding offset = 0.00005.
This fixes the problem of the axis lines not coinciding with the pad frame lines.
2002-10-12 18:41 brun
* hist/src/: TF2.cxx, TF3.cxx:
Fix TF2::Paint and TF3::Paint to remove the unnecessary gPad->Clear
giving an additional empty picture when printing on Postscript.
2002-10-12 18:36 brun
* hist/src/TF1.cxx:
In TF1::Paint do not Clear the pad. This is already done in TF1::Draw
and has the side-effect to generate an empty picture when printing
on a Postscript file.
2002-10-12 18:02 brun
* README/CREDITS:
Add Ivana Hrivnacova to the CREDITS file for her contribution
to the design and implementation of the VirtualMC
2002-10-12 16:03 brun
* hist/src/TF1.cxx:
Add the following comments in the TF1 constructor:
// TF1 objects can reference other TF1 objects (thanks John Odonnell)
// of type A or B defined above.This excludes CINT interpreted functions
// and compiled functions.
// However, there is a restriction. A function cannot reference a basic
// function if the basic function is a polynomial polN.
2002-10-12 12:49 rdm
* gui/: inc/TGCanvas.h, inc/TGFSContainer.h, inc/TGListTree.h,
inc/TGListView.h, src/TGCanvas.cxx, src/TGFSContainer.cxx,
src/TGListTree.cxx, src/TGListView.cxx, src/TGScrollBar.cxx,
src/TRootBrowser.cxx:
revert to previous version. Valeriy's mods still has some severe bugs and
needs much more testing.
2002-10-11 18:41 brun
* geom/inc/TGeoManager.h, geom/src/TGeoCache.cxx,
geom/src/TGeoManager.cxx, geom/src/TGeoNode.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoVolume.cxx,
geom/src/TGeoVoxelFinder.cxx, geompainter/src/TGeoChecker.cxx:
From Andrei,
- bug fix in TGeoPgon for finding next boundary
- bug fix in retrieving saved paths (affected "Where am I?" for MANY
geometries
- support for tracking algorithm with MANY's
- improvements in raytracing and lego plots.
2002-10-11 15:25 brun
* base/: inc/TFile.h, src/TFile.cxx:
Add entry kRecovered in TFile enum.
The bit kRecovered is set when Recover has been called on the file.
A user can test if the file has been recovered with
file->TestBit(TFile::kRecovered);
2002-10-11 08:54 brun
* tree/src/TBranchElement.cxx:
Fix a problem in TBranchElement::SetAddress in case of an object
with a level of inheritance greater than 3 and when data members are simple types
following classes at the same level (thanks Susan Kasahara for reporting
an example).
The new function has been simplified, taking advantage of the work already
done by TClass::BuildRealData.
2002-10-10 21:36 brun
* build/unix/makelib.sh, config/Makefile.macosx:
Mods proposed to the build scripts for macos10.2 by Remigius K. Mommsen.
"I compiled the cvs head version (3.03/09) of root on my Mac OS X 10.2.1
two days ago. I use the fink tools for package management
(http://fink.sourceforge.net) and used the CERNLIB 2002 compiled by
myself to build against. This worked extremely well (thanks to the root
developers). I had to make only two changes:
- the above mentioned change in Makefile.macosx seems not to be in the
cvs yet. I had to make the changes myself.
- I added some EXTRA_*FLAGS for the fink dirs (/sw/include and
/sw/lib). Doing so, I found out that in root/build/unix/makelib.sh the
LDFLAGS are not given to the static linker for mac os x. Is this by
purpose? Anyway, I added them and it worked out."
2002-10-10 19:10 rdm
* config/: Makefile.linuxicc, Makefile.win32, Makefile.win32gdk:
small formatting change.
2002-10-10 19:09 brun
* graf/src/TCutG.cxx:
Use new function TMath::IsInside in TCutG::IsInside
2002-10-10 19:09 rdm
* gui/: inc/TGCanvas.h, inc/TGFSContainer.h, inc/TGListTree.h,
inc/TGListView.h, src/TGCanvas.cxx, src/TGFSContainer.cxx,
src/TGListTree.cxx, src/TGListView.cxx, src/TGScrollBar.cxx,
src/TRootBrowser.cxx:
widget improvements by Valeriy Onuchin. In particular the TGListTree
should now be able to handle very large tree's (not limited anymore by
the bitmap size). Added key navigation options to TGListTree and some
new signals.
2002-10-10 19:08 brun
* base/: inc/TMath.h, src/TMath.cxx:
Add new functions Inside
Bool_t TMath::IsInside(Double_t xp, Double_t yp, Int_t np, Double_t *x, Double_t *y)
// Function which returns kTRUE if point xp,yp lies inside the
// polygon defined by the np points in arrays x and y, kFALSE otherwise
Bool_t TMath::IsInside(Float_t xp, Float_t yp, Int_t np, Float_t *x, Float_t *y)
Bool_t TMath::IsInside(Int_t xp, Int_t yp, Int_t np, Int_t *x, Int_t *y)
2002-10-10 11:01 brun
* base/src/TObject.cxx:
In TObject::Clone ResetBit(kCanDelete) in the clone.
2002-10-10 10:08 brun
* config/: Makefile.aix, Makefile.aix5, Makefile.win32,
Makefile.win32gdk:
Add dependencies of GEOMPAINTER with libHist
2002-10-09 16:03 brun
* geom/: inc/TGeoManager.h, inc/TGeoMaterial.h,
src/TGeoManager.cxx, src/TGeoMaterial.cxx:
Bug fix in the I/o
2002-10-09 16:02 brun
* main/src/g2root.f:
Add new argument density when generating code for mixtures
2002-10-09 14:57 brun
* geom/inc/TGeoMaterial.h, geom/inc/TGeoVolume.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoManager.cxx,
geom/src/TGeoMaterial.cxx, geom/src/TGeoVolume.cxx,
geompainter/inc/TGeoChecker.h, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoChecker.cxx, geompainter/src/TGeoPainter.cxx:
Add a tentative prototype for producing the lego plot of radiation length
in function of theta and phi.
2002-10-08 18:17 brun
* geom/: inc/LinkDef.h, inc/TGeoFinder.h, inc/TGeoManager.h,
inc/TGeoNode.h, inc/TGeoPatternFinder.h, inc/TGeoTube.h,
inc/TGeoVolume.h, inc/TGeoVoxelFinder.h, src/TGeoArb8.cxx,
src/TGeoBBox.cxx, src/TGeoCone.cxx, src/TGeoFinder.cxx,
src/TGeoManager.cxx, src/TGeoNode.cxx, src/TGeoPara.cxx,
src/TGeoPatternFinder.cxx, src/TGeoPcon.cxx, src/TGeoPgon.cxx,
src/TGeoShape.cxx, src/TGeoSphere.cxx, src/TGeoTrd1.cxx,
src/TGeoTrd2.cxx, src/TGeoTube.cxx, src/TGeoVolume.cxx,
src/TGeoVoxelFinder.cxx:
new version of the geometry package from Andrei:
- bug fix in the destructor of TGeoPatternCylPhi
- several modifications in the default constructors of shapes.
- several corrections and "v" feature added to I/O
- removed base class for finders
Now you can save voxels and retreive them with no problem. You can use :
gGeoManager->Export("filename", "", "v") to do that. The size of files
without/with voxelization are :
Exp no voxels saved voxels saved
ALICE 404227 719703
CMS 550440 1275590
ATLAS 1858198 3335166
Be careful, the files TGeoFinder.h and TGeoFinder.cxx have been removed.
Suggest doing:
rm geom/src/*.o geom/src/G__*
2002-10-08 14:41 rdm
* cint/: inc/G__ci.h, lib/stream/iostrm.h, src/allstrm.cxx,
src/fread.c, src/newlink.c, src/pause.c, stl/_vector.h:
import of CINT 5.15.60.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
iostream redirect mod (G__OLDIMPLEMENTATION1635) is now enabled since it
is needed some other feature (simultaneous stdout and stderr redirect via >&).
2002-10-08 14:39 rdm
* config/Makefile.linuxicc:
add -restrict to CFLAGS and CINTCFLAGS. It is needed by icc v7 (this
option also works for the current icc v6).
2002-10-07 18:16 brun
* hist/inc/TPolyMarker.h:
Add forward reference to TCollection.
2002-10-07 17:58 brun
* gpad/src/TPad.cxx:
Add 0.5 to the computed values of the constants fXtoPixelk, fYtoPixelk
This removes a side-effect (visible in hsimple.C, hsum.C) due to
numerical precision or double to int conversion to pixels.
2002-10-07 12:43 rdm
* proof/: inc/TPacketizer.h, inc/TPacketizer2.h,
inc/TProofPlayer.h, inc/TProofServ.h, inc/TVirtualPacketizer.h,
src/TPacketizer.cxx, src/TPacketizer2.cxx, src/TProof.cxx,
src/TProofPlayer.cxx, src/TProofServ.cxx,
src/TVirtualPacketizer.cxx:
added code to trace the latency and cpu time every work packet took.
By Maarten.
2002-10-07 12:42 rdm
* Makefile, build/unix/makestatic.sh:
support building also static proofserv for profiling purposes. By Maarten.
2002-10-07 12:41 rdm
* base/src/TStopwatch.cxx:
added option "m" to Print() to allow millisecond precision in the
real time reporting. By Maarten.
2002-10-07 12:40 rdm
* cont/: inc/TMap.h, src/TMap.cxx:
new method DeleteValue() to delete the value objects if they are owned by
the TMap.
2002-10-05 11:28 brun
* geom/inc/TGeoPatternFinder.h:
Replace pure function definitions by dummy functions to avoid side-effects in I/O
2002-10-05 11:27 brun
* hist/src/THStack.cxx:
Fix a problem in THStack::Paint when option "nostack" is used.
The "c" in "nostack" was interpreted to draw a smooth curve.
2002-10-04 22:14 brun
* treeplayer/src/TTreePlayer.cxx:
from Philippe:
This prevent a crash in the case where
TTree::Draw is call with a zero length first arguments.
2002-10-04 19:59 brun
* hist/src/THStack.cxx:
In THStack::Paint, redraw the axis in case the fill area of one of the histos
is hidding the axis (thanks Matt Palmer)
2002-10-04 19:03 rdm
* gl/src/TRootGLViewer.cxx:
cast Visual* to Visual_t.
2002-10-04 19:03 rdm
* config/Makefile.win32gdk, gl/Module.mk:
Win32gdk uses now TRootGLViewer.cxx.
2002-10-04 18:06 rdm
* base/inc/TVirtualX.h, gl/src/TRootGLViewer.cxx,
win32gdk/inc/TGWin32.h, win32gdk/src/GWin32Gui.cxx,
x11/inc/TGX11.h, x11/src/GX11Gui.cxx:
support for OpenGL in win32 gdk version. By Bertrand.
2002-10-04 18:05 rdm
* configure:
look also in /usr/local/lib for libpacklib.
2002-10-03 20:11 rdm
* proof/src/TProofPlayer.cxx:
more explicit info messages.
2002-10-03 20:09 rdm
* treeplayer/src/TTreePlayer.cxx:
fix small typo in comment of generated code.
2002-10-03 20:09 rdm
* proof/src/TPacketizer2.cxx:
more explicit info messages. Added initial support for rfio.
2002-10-03 20:07 rdm
* proof/src/TSlave.cxx:
pass passwd also to slave proofservers (was only to master).
2002-10-03 20:06 rdm
* proof/src/TProofServ.cxx:
create more explicit session directory names for the master and slaves.
Work around an issue with deletion of session directories when they are on nfs.
Pass valid passwd from master to slaves. This passwd can be used to authenticate
to rootd to open files.
More explicit info messages with slave and hostname mentioned.
2002-10-03 20:01 rdm
* proof/: inc/TProof.h, src/TProof.cxx:
make sure lock files are not created on an nfs mounted partition, always
create in /tmp. When processing proof.conf make sure to obtain FQDN of
master node.
2002-10-03 19:59 rdm
* net/: inc/TMonitor.h, src/TMonitor.cxx:
GetListOfActives() and GetListOfDeActives() now correctly returns a list of
TSockets and not of TSocketHandlers.
2002-10-03 19:46 brun
* graf/src/TLatex.cxx:
One more optimisation in TLatex::Analyze when processing a superscript
like "^{18}F"
2002-10-03 15:19 brun
* geom/: inc/LinkDef.h, inc/TGeoFinder.h, inc/TGeoManager.h,
inc/TGeoMatrix.h, inc/TGeoPatternFinder.h, src/TGeoManager.cxx,
src/TGeoPatternFinder.cxx, src/TGeoVolume.cxx:
From Andrei; Bug fixes related to I/O
2002-10-03 00:13 brun
* tree/src/TBranchElement.cxx:
Modify the logic in TTree::SetBranchAddress to support 4 or more levels
of direct inheritance.
2002-10-02 23:04 brun
* treeplayer/src/TTreeFormula.cxx:
Protection added in TTreeFormula::UpdateFormulaLeaves
2002-10-02 21:14 brun
* base/src/TObject.cxx:
Add a comment in TObject::Write indicating that the function returns
the total number of bytes written to the file.
2002-10-02 15:05 rdm
* net/inc/TMonitor.h:
make SetReady() private (and the 2 internal classes that called this method
a friend of TMonitor). Provide getters for the active and de-active socket
lists.
2002-10-02 15:03 rdm
* base/src/TDSet.cxx:
update comments in several method and improve Print() output.
2002-10-02 15:02 rdm
* base/inc/RtypesCint.h:
fix typo in cvs identifier string.
2002-10-02 14:33 rdm
* base/src/TRegexp.cxx:
hopefully fix missing wildcard chars forever.
2002-10-02 12:29 brun
* histpainter/src/THistPainter.cxx:
Fix a problem in THistPainter::PaintColorLevels when a maximum has been set.
2002-10-01 22:59 brun
* graf/src/TLatex.cxx:
Fix a problem in case of strings like "^{18}H".
When the first string was a "^", the vertical alignement was not correct
for the superscript.
2002-10-01 12:23 brun
* tutorials/quarks.C:
New tutorials showing divided pads and TLatex
2002-09-30 22:44 brun
* geom/inc/TGeoManager.h, geom/inc/TGeoNode.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoManager.cxx,
geom/src/TGeoNode.cxx, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoPainter.cxx:
A few changes in several classes in order to restore a TGeoManager.
Implement two new functions in TGeoManager
Int_t TGeoManager::Export(const char *filename, const char *name, Option_t *option)
{
// Export this geometry on filename with a key=name
// By default the geometry is saved without the voxelisation info.
// Use option 'v" to save the voxelisation info.
TGeoManager *TGeoManager::Import(const char *filename, const char *name, Option_t *option)
{
//static function
//Import in memory from filename the geometry with key=name.
//if name="" (default), the first TGeoManager object in the file is returned.
//Note that this function deletes the current gGeoManager (if one)
//before importing the new object.
2002-09-30 19:34 rdm
* cint/inc/G__ci.h:
forgot to disable iostream io redirection. We should check again to see
if it works on all platforms. Was not the case in the past.
2002-09-30 19:33 rdm
* cint/: Module.mk, inc/G__ci.h, inc/common.h,
lib/pthread/Makefile, src/allstrm.cxx, src/disp.c, src/ifunc.c,
src/inherit.c, src/newlink.c, src/parse.c, src/struct.c,
src/tmplt.c, src/typedef.c, src/var.c:
import of CINT 5.15.59.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
iostream redirect mod (G__OLDIMPLEMENTATION1635) still disabled.
2002-09-30 19:31 rdm
* base/src/: Match.cxx, TRegexp.cxx:
support the [] characters in character classes, i.e. [A-Z[]].
Note that the [] must appear as a pair within the class not interspersed
by any other character.
2002-09-30 11:18 brun
* base/: inc/TBuffer.h, src/TBuffer.cxx:
In the inline definition of the output operator << replace the call to
buf.WriteObject(obj)
by
buf.WriteObject(obj, cl)
In TBuffer::ReadObject and TBuffer::WriteObject, replace calls to
StreamObject(obj,clRef)
by
clRef->Streamer(obj, *this);
With these corrections, one gain two levels of recursivity when
streaming TObject*. It makes I/O faster and may help on MACOSX
where the maximum recursivity level in the calling stack seems
to be limited.
2002-09-30 10:56 rdm
* configure:
don't call nm on packlib in case packlib was not found.
2002-09-29 22:24 brun
* hbook/src/THbookFile.cxx:
In THbookFile::Get, print an error message if the requested ID is not in the file.
Before the fix, if the requested ID did not exist, the last Hbook object
was returned.
2002-09-28 09:27 brun
* geom/: inc/LinkDef.h, src/TGeoManager.cxx:
Implement TGeoManager::Streamer. When reading, CloseGeometry is automatically called
2002-09-28 08:46 brun
* cint/src/newlink.c:
Patch from Philippe changing the following:
> Note: link requested for unknown class MyMisSpelledClass FILE:LinkDef.h
from a Note to an Error
2002-09-28 08:39 brun
* geom/: inc/TGeoBoolNode.h, src/TGeoBoolNode.cxx:
Forgot to add these two new files to the geom package
2002-09-27 20:06 brun
* meta/src/TStreamerInfo.cxx:
This patch from Philippe adds support for I/O of the following types of data members:
MyClass myArr[3];
MyClass *myArrFix[3];
The following is NOT supported yet:
MyClass **myArrVar; //[index]
This is already supported for TObject classes via a streamer generated by rootcint.
2002-09-27 18:16 brun
* geom/inc/LinkDef.h, geom/inc/TGeoArb8.h, geom/inc/TGeoBBox.h,
geom/inc/TGeoBoolCombinator.h, geom/inc/TGeoCache.h,
geom/inc/TGeoCompositeShape.h, geom/inc/TGeoCone.h,
geom/inc/TGeoEltu.h, geom/inc/TGeoManager.h, geom/inc/TGeoMatrix.h,
geom/inc/TGeoNode.h, geom/inc/TGeoPara.h,
geom/inc/TGeoPatternFinder.h, geom/inc/TGeoPcon.h,
geom/inc/TGeoPgon.h, geom/inc/TGeoShape.h, geom/inc/TGeoSphere.h,
geom/inc/TGeoTrd1.h, geom/inc/TGeoTrd2.h, geom/inc/TGeoTube.h,
geom/inc/TGeoVolume.h, geom/inc/TGeoVoxelFinder.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoArb8.cxx,
geom/src/TGeoBBox.cxx, geom/src/TGeoBoolCombinator.cxx,
geom/src/TGeoCompositeShape.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoEltu.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoMatrix.cxx, geom/src/TGeoNode.cxx,
geom/src/TGeoPara.cxx, geom/src/TGeoPatternFinder.cxx,
geom/src/TGeoPcon.cxx, geom/src/TGeoPgon.cxx,
geom/src/TGeoShape.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTrd1.cxx, geom/src/TGeoTrd2.cxx,
geom/src/TGeoTube.cxx, geom/src/TGeoVolume.cxx,
geom/src/TGeoVoxelFinder.cxx, geompainter/inc/TGeoChecker.h,
geompainter/inc/TGeoPainter.h, geompainter/src/TGeoChecker.cxx,
geompainter/src/TGeoPainter.cxx:
New version of the geometry package by Andrea & Mihaela Gheata
New features:
-I/O for all geometry classes. For example, to save/restore a geometry structure,
TFile f("mygeom.root","recreate");
gGeoManager->Write("mygeom");
and to read it back;
TFile f("mygeom.root");
f.Get("myGeom");
gGeoManager->CloseGeometry();
-Composite shapes fully implemented (no visualisation yet).
A composite shape is built out of basic shapes and transformations via
a simple formula mechanism, eg assuming a TGeoTube "tub1" and a TGeoMatrix "r1",
we can build a composite shape with:
TGeoCompositeShape *comp = new TGeoCompositeShape("comp",formula); where
char* formula="tub1+tub1:r1"
This will create the union of a tube with itself rotated.
The operators recognized by the geometry formula parser are "+","-","*"
for union, subtraction and intersection respectively. The colon ":" can be
used to specify a transformation for a given component.
-The voxelisation in cylindrical coordinates added as an optional optimisation
algorithm.
-Some bug fixes and several improvements in the tracking-related algorithms.
2002-09-27 14:15 brun
* hist/src/TH1.cxx:
Fix a problem in TH1::SavePrimitive in case the histogram does not have
a "stats" box.
2002-09-27 14:14 brun
* hist/src/TF1.cxx:
Modify a format in TF1::SavePrimitive
2002-09-27 11:10 rdm
* build/package/rpm/: libroot.spec.in, root-cint.spec.in,
root-daemon.spec.in:
correct some problems with prefix handling. By Christian Holm.
2002-09-26 21:13 brun
* base/inc/Rtypes.h:
This patch from Philippe implements a ClassImpUnique for class template.
2002-09-25 23:06 brun
* treeplayer/src/TTreePlayer.cxx:
Add support for additional Tree use cases in TTreePlayer::MakeClass
2002-09-25 18:15 brun
* gpad/src/TPad.cxx:
Modify TPad::PaintModified to support the new date formats that can be
specified by TStyle::SetOptDate
2002-09-25 18:13 brun
* base/src/TStyle.cxx:
Add new options in TStyle::SetOptDate to support several date formats.
void TStyle::SetOptDate(Int_t optdate)
// if optdate is non null, the current date/time will be printed in the canvas.
// The position of the date string can be controlled by:
// optdate = 10*format + mode
// mode = 1 (default) date is printed in the bottom/left corner.
// mode = 2 date is printed in the bottom/right corner.
// mode = 3 date is printed in the top/right corner.
// format = 0 (default) date has the format like: "Wed Sep 25 17:10:35 2002"
// format = 1 date has the format like: "2002-09-25"
// format = 2 date has the format like: "2002-09-25 17:10:35"
//
// examples:
// optdate = 1 date like "Wed Sep 25 17:10:35 2002" in the bottom/left corner.
// optdate = 13 date like "2002-09-25" in the top/right corner.
2002-09-25 17:07 brun
* build/unix/makelib.sh:
Introduce changes in the macosx part suggested by Mayly Sanchez
in order to install Root under macosx with gcc3
2002-09-25 15:13 brun
* cint/inc/G__ci.h:
#define G__OLDIMPLEMENTATION1695
as suggested by Masa to circumvent an optimization bug.
2002-09-25 14:39 brun
* cint/Module.mk:
Use gcc3strm instead of libstrm for macosx
2002-09-25 11:37 rdm
* cint/: inc/G__ci.h, inc/global.h, include/_iostream,
lib/dll_stl/vec.h, lib/prec_stl/deque, lib/prec_stl/iterator,
lib/prec_stl/vector, lib/pthread/Makefile, src/Api.cxx,
src/CallFunc.cxx, src/Method.cxx, src/decl.c, src/disp.c,
src/end.c, src/expr.c, src/func.c, src/g__cfunc.c, src/global2.c,
src/ifunc.c, src/inherit.c, src/init.c, src/loadfile.c,
src/newlink.c, src/parse.c, src/pause.c, src/scrupto.c,
src/sizeof.c, src/struct.c, src/tmplt.c, src/typedef.c, src/var.c,
stl/_iterator.h, stl/_string:
import of CINT 5.15.58.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
iostream redirect mod (G__OLDIMPLEMENTATION1635) still disabled.
2002-09-23 20:24 brun
* utils/src/rootcint.cxx:
Additions by Philippe to support C-structs in the generated code
for I/O.
2002-09-23 19:06 brun
* gpad/src/TPad.cxx:
Add a protection in TPad::PaintModified in case a user-derived TPad
does not create the TList of primitives.
2002-09-21 23:59 brun
* treeplayer/: inc/TPacketGenerator.h, src/TPacketGenerator.cxx:
Remove unused class TPacketGenerator
2002-09-21 23:58 brun
* tree/inc/TVirtualTreePlayer.h, treeplayer/inc/LinkDef.h,
treeplayer/inc/TTreePlayer.h, treeplayer/src/TTreePlayer.cxx:
Remove references to TPacketGenerator from TVirtualTreePlayer and TTreePlayer.
These unused references required linking with libProof.
2002-09-21 22:46 brun
* base/inc/TBuffer.h, cint/inc/G__ci.h:
Include <typeinfo> only for gcc on Solaris
2002-09-21 10:12 brun
* base/inc/TBuffer.h:
Patch from Pat Welch/Eddy Offermann.
#include <typeinfo> is required by solarisgcc
2002-09-19 15:59 rdm
* base/inc/TVirtualProof.h, proof/inc/TProof.h,
proof/inc/TProofDebug.h, proof/src/TPacketizer2.cxx,
proof/src/TProof.cxx, proof/src/TProofServ.cxx:
propagate in addition to loglevel also logmask via SetLogLevel(), default
mask is TProofDebug::kAll. Use PDB macro everywhere instead of fLogLevel
(which is now the same as gProofDebugLevel).
2002-09-19 15:56 rdm
* cint/src/inherit.c:
don't print warning when analysis class derives from TSelector.
2002-09-19 15:54 rdm
* base/src/TROOT.cxx, tree/src/TVirtualTreePlayer.cxx:
proof and treeplayer don't depend on each other anymore, no need to load them
both at the same time.
2002-09-19 15:54 rdm
* base/src/TApplication.cxx:
CreateApplication() now does not force anymore the loading of the graphics
libs since the default application is created in batch mode.
2002-09-18 15:33 brun
* hist/src/TProfile.cxx:
Add a warning message in TProfile::Divide.
The computation of errors is not correct in this function.
Expert help required.
The warning indicates an alternative solution.
2002-09-18 15:12 rdm
* base/inc/TBrowser.h, gpad/inc/TCanvas.h, gpad/inc/TControlBar.h,
gpad/src/TCanvas.cxx, gui/inc/TRootBrowser.h,
gui/inc/TRootCanvas.h, gui/inc/TRootControlBar.h,
gui/src/TRootBrowser.cxx, gui/src/TRootCanvas.cxx,
gui/src/TRootControlBar.cxx:
better closing strategy for the canvas, browser and controlbar. No need anymore
for the DetachImp() method (which has been removed).
2002-09-18 14:22 rdm
* gui/src/TGColorDialog.cxx, gui/src/TGFileDialog.cxx,
gui/src/TGMsgBox.cxx, gui/src/TGTextEditDialogs.cxx,
gui/src/TRootBrowser.cxx, gui/src/TRootCanvas.cxx,
gui/src/TRootControlBar.cxx, gui/src/TRootHelpDialog.cxx,
test/guitest.cxx:
use DeleteWindow() instead of "delete this" to close and delete the widget.
2002-09-18 14:21 rdm
* base/inc/TBrowser.h, gpad/inc/TCanvas.h, gpad/inc/TControlBar.h:
add an inline GUI detach method. This method is used in the actual
GUI implementation (TRootBrowser et al) to detach the GUI from the object
to avoid the when the object is deleted it will also delete the GUI.
The GUI itself will be deleted via the new TGFrame::DeleteWindow() method.
2002-09-18 14:13 rdm
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
added two new methods to solve window closing problem seen on several
platforms: DeleteWindow(), this method should be called instead of
"delete this" to close and delete a widget. See guitest.cxx as axample.
The second new method ReallyDelete() is called via a single shot timer
setup in DeleteWindow(). It is a slot method which should be "protected",
but due to a current CINT problem with making protected methods visible this
is not yet done.
2002-09-17 17:17 rdm
* cint/src/CallFunc.cxx:
break statement was in wrong location, breaking loop to soon.
2002-09-17 16:38 brun
* utils/src/rootcint.cxx:
Patch from Philippe fixing a problem preventing a correct generation of TBenchDict.cxx
2002-09-17 16:38 rdm
* base/src/TPluginManager.cxx, cint/src/CallFunc.cxx:
allow correct handling of default arguments.
2002-09-17 12:14 rdm
* proof/src/TEventIter.cxx:
call TSelector::Notify() when switching to a new file in the TEventIter.
By Maarten.
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.