ROOT version 4.01 Development Notes
2004-12-16 21:36 brun
* base/inc/RVersion.h, build/version_number:
Stamp version 4.02/00
2004-12-16 20:56 rdm
* configure:
Add new d-cache default search path.
2004-12-16 20:42 rdm
* gui/src/TRootCanvas.cxx:
From Ilka:
use a proper temp file name to print the canvas too.
2004-12-16 20:39 rdm
* rootd/src/rootd.cxx, rpdutils/src/rpdutils.cxx:
From Gerri:
rootd/src/rootd.cxx
- change protocol number to 14 (support for optmized
opening of TNetFile via TXNetFile).
rpdutils/src/rpdutils.cxx
- Modify RpdProtocol to support for optmized opening
of TNetFile via TXNetFile).
2004-12-16 20:33 rdm
* net/: inc/TSocket.h, src/TSocket.cxx:
From Gerri:
A couple of non-initializations found by valgrind.
2004-12-16 20:23 rdm
* netx/: inc/LinkDef.h, inc/TXConnectionMgr.h, inc/TXDebug.h,
inc/TXInputBuffer.h, inc/TXMutexLocker.h, inc/TXNetConn.h,
inc/TXPhyConnection.h, inc/TXSocket.h, inc/TXUnsolicitedMsg.h,
src/TXAbsNetCommon.cxx, src/TXConnectionMgr.cxx, src/TXDebug.cxx,
src/TXInputBuffer.cxx, src/TXLogConnection.cxx, src/TXMessage.cxx,
src/TXNetConn.cxx, src/TXNetFile.cxx, src/TXPhyConnection.cxx,
src/TXSocket.cxx, src/TXUrl.cxx:
From Gerri:
Changes to support aysnchronous reading in TXNetFile and general netx
code cleanup. Asynchronous reading works properly with xrootd and all
code has been valgrinded.
netx/inc/LinkDef.h
- drop class TXMutexLocker (not needed, duplicating R__LOCKGUARD)
netx/inc/TXDebug.h
- remove definition of class TXDebug (not needed)
- name enum of debug levels
- define global gXDebugLevel
netx/inc/TXConnectionMgr.h
- make constructor public
- add new public method Init to complete initialization
- remove static member fgInstance
- remove static public methods Instance and Reset
- several small fixes
netx/inc/TXInputBuffer.h
- several changes mostly for the asynchronous mode
netx/inc/TXNetConn.h
- add defintions and methods for static hook to TXConnectionMgr
- remove definition of ConnectionManager
netx/src/TXNetConn.cxx
- add methods for static hook to TXConnectionMgr
- use fgConnectionManager instead of ConnectionManager
- reuse of opened connection when server is rootd
- remove "TXDebug::" in debug level checks
netx/src/TXNetFile.cxx
- reuse of opened connection when server is rootd
- remove "TXDebug::" in debug level checks
netx/inc/TXPhyConnection.h
- several changes mostly for the asynchronous mode
- new method SaveSocket to save the TSocket part
of TXSocket when talking to a rootd
netx/inc/TXSocket.h
- drop references to TMonitor and TSemaphore (not needed)
netx/src/TXConnectionMgr.cxx
- use R__LOCKGUARD instead of TXMutexLocker
- add small class TXConnectionMgrInit providing TXNetConn
with a hook to a static initialization of TXConnectionMgr
- add static init of TXConnectionMgrInit
- remove method Instance() and Reset()
- move constructor operations in a new method Init to be
called ater instantiation
- remove "TXDebug::" in debug level checks
netx/src/TXInputBuffer.cxx
- several changes mostly for the asynchronous mode
- remove "TXDebug::" in debug level checks
netx/src/TXMessage.cxx
- improved error logging
- remove "TXDebug::" in debug level checks
netx/src/TXPhyConnection.cxx
- several changes mostly for the asynchronous mode
- new method SaveSocket to save the TSocket part
of TXSocket when talking to a rootd
- remove "TXDebug::" in debug level checks
netx/src/TXSocket.cxx
- use new method TSocket::Select instead of TMonitor
- remove "TXDebug::" in debug level checks
netx/inc/TXUnsolicitedMsg.h
- aesthetics
netx/src/TXAbsNetCommon.cxx
- remove "TXDebug::" in debug level checks
netx/src/TXLogConnection.cxx
- remove "TXDebug::" in debug level checks
netx/src/TXUrl.cxx
- remove "TXDebug::" in debug level checks
2004-12-16 19:55 rdm
* asimage/Module.mk:
Fix clean target for Win32 (was not using nmake).
2004-12-16 19:54 rdm
* config/Makefile.macosx:
add -Wno-long-double to suppress any complains about data type not being
portable.
2004-12-16 19:08 brun
* base/: inc/TMath.h, src/TMath.cxx:
Implement TMath::DiLog, the dilogarithm function.
I have translated the original CERNLIB routine DILOG (C332)
2004-12-16 18:59 rdm
* cint/: inc/G__ci.h, inc/fproto.h, inc/global.h,
include/_iostream, lib/dll_stl/makestr, lib/dll_stl/makevec,
lib/longlong/longdbl.h, lib/prec_stl/string, lib/pthread/Makefile,
src/Api.cxx, src/auxu.c, src/cast.c, src/decl.c, src/disp.c,
src/end.c, src/expr.c, src/func.c, src/global2.c, src/ifunc.c,
src/inherit.c, src/init.c, src/macro.c, src/new.c, src/newlink.c,
src/opr.c, src/parse.c, src/pause.c, src/pcode.c, src/scrupto.c,
src/shl.c, src/sizeof.c, src/tmplt.c, src/typedef.c, src/val2a.c,
src/value.c, src/var.c:
Rollback to CINT version 159. There were still too many side effects
with the native long long implementation so short before a release.
2004-12-16 15:40 brun
* ged/: inc/TCurlyArcEditor.h, src/TCurlyArcEditor.cxx,
src/TCurlyLineEditor.cxx:
From Ilka:
Fixes in the comments of the TCurly...editors
2004-12-16 14:56 brun
* ged/src/: TCurlyArcEditor.cxx, TCurlyLineEditor.cxx:
From Ilka:
Set kNELNOLimits for coord number entries.
Change chaeck button label.
2004-12-16 14:48 brun
* treeplayer/src/TSelectorDraw.cxx:
Add protections in TSelectorDraw::SetEstimate in case of "x:y"z","","col"
2004-12-16 12:57 rdm
* cint/src/expr.c:
quick fix: provide private version of strtoll G__strtoll (was in longif3.h).
2004-12-16 12:38 rdm
* cint/src/newlink.c:
fix typo: in cast (i) -> (int).
2004-12-16 12:28 rdm
* cint/: inc/G__ci.h, inc/fproto.h, inc/global.h,
include/_iostream, lib/dll_stl/makestr, lib/dll_stl/makevec,
lib/longlong/longdbl.h, lib/prec_stl/string, lib/pthread/Makefile,
src/Api.cxx, src/auxu.c, src/cast.c, src/decl.c, src/disp.c,
src/end.c, src/expr.c, src/func.c, src/gcc3strm.cxx, src/global2.c,
src/iccstrm.cxx, src/ifunc.c, src/inherit.c, src/init.c,
src/macro.c, src/new.c, src/newlink.c, src/opr.c, src/parse.c,
src/pause.c, src/pcode.c, src/scrupto.c, src/shl.c, src/sizeof.c,
src/sun5strm.cxx, src/sunstrm.cxx, src/tmplt.c, src/typedef.c,
src/val2a.c, src/value.c, src/var.c, src/vc7strm.cxx:
import of CINT 5.15.161.
This version has native long long and long double support.
The following intermediate fixes have been applied compared to Masa's 161:
- long long printing fix
- scrupto fix
- cint_dll gcc 3.4 fix
- xxxstrm operator<< bool fix
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2004-12-16 12:27 brun
* winnt/src/TWinNTSystem.cxx:
Fix in DynamicPath. Previous version did not compile on VC++6
2004-12-16 12:16 brun
* graf/src/TCurlyLine.cxx:
From Otto
Slightly mod version of TCurlyLine.cxx. It just checks if the the length of the line is smaller than the
wavelength and prints a message if so. One shouldnt make the line too short anyway for estethic reasons.
2004-12-16 12:15 rdm
* thread/src/TWin32Condition.cxx:
From Bertrand:
Fix for TimedWait: apparently, it runs differently on NT4/VC6 than on XP/VC7.
2004-12-16 10:04 brun
* ged/: inc/TAttFillEditor.h, src/TAttFillEditor.cxx:
cleanup
2004-12-16 09:07 brun
* eg/inc/TParticle.h:
Protection added in TParticle::Eta in case P()=-fPz (thanks Christophe Suire)
2004-12-15 23:26 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:
From Philippe:
This patch add a pair of functions to retrieve and set the dynamic path (aka
LD_LIBRARY_PATH).
const char* TSystem::GetDynamicPath()
// Return the dynamic path (used to find shared libraries).
void TSystem::SetDynamicPath(const char *path)
// Set the dynamic path to a new value.
// If the value of 'path' is zero, the dynamic path is reset to its
// default value.
2004-12-15 21:18 brun
* ged/: inc/TAttFillEditor.h, src/TAttFillEditor.cxx,
src/TCurlyArcEditor.cxx, src/TCurlyLineEditor.cxx:
From Ilka
Some cleanup in Otto's code
2004-12-15 18:48 rdm
* net/: inc/TMonitor.h, inc/TNetFile.h, inc/TPSocket.h,
inc/TSocket.h, src/TMonitor.cxx, src/TNetFile.cxx,
src/TPSocket.cxx, src/TSocket.cxx:
From Gerri:
Purpose:
- Add new Select functionality in TMonitor and TSocket
This functionality will be used for asyncronous threaded
reader of TXNetFile.
- Add support for creation of a TNetFile using an existing
connection (reuse connection that was already opened by
TXNetFile while remore side is rootd and not xrootd).
net/inc/TMonitor.h
- add new private member Bool_t fMainLoop to tell if the
monitoring has to be on the main loop or outside.
- add argument 'Bool_t mainloop' to the constructor, default kTRUE
- add new method SetInterest() to change interest mask of
a socket
- add new Select() method for the out-of-main-loop case
net/src/TMonitor.cxx
- add implemention for the new methods.
net/inc/TNetFile.h
- add new signature for method Create() to open a TNetFile
using an existing connection (used to optmize the rootd
fall back support in TXNetFile).
net/src/TNetFile.cxx
- add support for new Create()
net/inc/TPSocket.h
- add new constructor to setup a parallel socket using
an existing connection (used to optmize the rootd
fall back support in TXNetFile).
- add support for new constructor in method Init()
net/src/TPSocket.cxx
- add implentation of new ctor and related modifications
in Init().
net/inc/TSocket.h
- add new method Select() to monitor the socket outside
the main event loop
- add new method SetDescriptor() used in TXSocket to save
the TSocket part
- add new member fTcpWindowSize and corresponding getter
for use in the new TPSocket ctor
- add a 'TSocket *' argument to CreateAuthSocket (default 0)
to allow re-using of an existing connection
net/src/TSocket.cxx
- add new method Select() to monitor the socket outside
the main event loop
2004-12-15 18:24 rdm
* treeplayer/src/TSelectorDraw.cxx:
remove <CR> characters. Use "patch" to import changes, don't take
entire files.
2004-12-15 18:07 brun
* ged/: inc/TAttFillEditor.h, src/TAttFillEditor.cxx:
From Otto Schaile
New version of TAttFillEditor to take into account possible cases like in TCurlyLine
2004-12-15 17:56 rdm
* winnt/src/TWinNTSystem.cxx:
From Gerri:
chnage AssertXXX to SetXXX, left over from a previous version.
2004-12-15 17:04 rdm
* base/inc/TSysEvtHandler.h, base/inc/TSystem.h,
base/src/TSysEvtHandler.cxx, base/src/TSystem.cxx,
unix/inc/TUnixSystem.h, unix/src/TUnixSystem.cxx,
winnt/inc/TWinNTSystem.h, winnt/src/TWinNTSystem.cxx:
From Gerri:
base/inc/TSysEvtHandler.h
- add new protected member fReadyMask to TFileHandler to
indicate readiness in read, write or both
- add set of public methods to read/manipulate fReadyMask
- add method SetInterest to set the interest mask fMask
base/src/TSysEvtHandler.cxx
- add implementation for new method SetInterest()
base/inc/TSystem.h
- add two public methods Select() to allow select on file
descriptors outside the main event loop
base/src/TSystem.cxx
- add abstract implentation of the new methods Select().
unix/inc/TUnixSystem.h
- add two new methods Select()
unix/src/TUnixSystem.cxx
- add implementation for the new methods Select()
winnt/inc/TWinNTSystem.h
- add the new methods Select()
winnt/src/TWinNTSystem.cxx
- add implementation for the new methods Select()
2004-12-15 16:41 brun
* ged/: inc/TArrowEditor.h, src/TArrowEditor.cxx:
From Ilka:
Several fixes (layout & behaviour) in TArrowEditor
2004-12-15 15:21 brun
* ged/inc/LinkDef.h, ged/inc/TArrowEditor.h,
ged/inc/TCurlyArcEditor.h, ged/inc/TCurlyLineEditor.h,
ged/src/TArrowEditor.cxx, ged/src/TCurlyArcEditor.cxx,
ged/src/TCurlyLineEditor.cxx, graf/inc/TCurlyArc.h,
graf/inc/TCurlyLine.h:
From Otto Schaile
New classes TCurlyArcEditor and TCurlyLineEditor
Mods in TArrowEditor.
Note that the widget layouts have still to be improved before the release.
2004-12-15 14:15 rdm
* base/inc/TVirtualMutex.h, base/src/TStorage.cxx,
base/src/TVirtualMutex.cxx, thread/src/TThread.cxx:
protect the TStorage alloc routines with a new gAllocMutex lock instead
of using the gCINTMutex, this to avoid deadlocks when new threads
are created in code executed via the plugin mananger (which holds the
CINTMutex).
2004-12-15 13:58 rdm
* tutorials/threads.C:
add check to make sure we run via ACliC.
2004-12-15 13:58 rdm
* test/.cvsignore, test/Makefile, test/threads.cxx,
tutorials/threadsh1.C:
add new thread test and tutorial from Bertrand.
2004-12-15 13:37 rdm
* Makefile, configure, build/package/common/root-rootd.dscr,
build/package/rpm/root-rootd.spec.in, config/Makefile.in,
config/rootd.in, config/rootdaemonrc.in, man/man1/rootd.1,
man/man1/system.rootdaemonrc.1:
From Gerri:
1) New files:
.1 build/package/rpm/root-rootd.spec.in
skeleton for the rootd RPM specs file
.2 build/package/common/root-rootd.dscr
short and long descriptions used in the previous file
.3 config/rootd.in
Skeleton for the startup script to be created under etc; the
variable which depends on the configuration directives is
the location of the executable to run (i.e the installation
prefix). This file is to be moved to /etc/rc.d/init.d/ on RH
(or equivalent position on other versions of Linux).
.4 man/man1/system.rootdaemonrc.1
man page for system.rootdaemonrc and related files
2) Patched files:
.1 Makefile
add new target 'rootdrpm' with the rules to create the specs file
.2 configure
add creation of etc/rootd from the skeleton in config/rootd.in
.3 config/Makefile.in
add variable ROOTDRPMREL with the RPM release version (default 1);
this can be changed on command line whn creating the spec file
.4 config/rootdaemonrc.in
update fir 'sockd' and correct a few typos
.5 man/man1/rootd.1
significant updates; typo corrections
2004-12-15 13:33 rdm
* thread/: inc/TCondition.h, src/TCondition.cxx, src/TThread.cxx:
add TCondition::TimedWait() that takes a relative wait time in milliseconds.
2004-12-15 11:55 brun
* hist/src/TSpectrum.cxx:
Remove some obsolete comments in the class description.
2004-12-15 11:09 rdm
* thread/: inc/TWin32Condition.h, inc/TWin32Mutex.h,
inc/TWin32Thread.h, inc/TWin32ThreadFactory.h,
src/TWin32Condition.cxx, src/TWin32Mutex.cxx, src/TWin32Thread.cxx,
src/TWin32ThreadFactory.cxx:
From Bertrand:
fix for TWin32Condition::TimedWait(), time is absolute since the EPOCH.
All other files have <CR> removed.
2004-12-15 10:36 rdm
* config/rootrc.in:
add Print directive examples.
2004-12-15 10:27 rdm
* gui/inc/TRootCanvas.h, gui/src/TGTextEdit.cxx,
gui/src/TGTextEditDialogs.cxx, gui/src/TRootCanvas.cxx,
icons/printer.xpm:
From Ilka:
enable the Print command in the TCanvas File menu via a proper
print dialog. The user can specify his prefered print command and
printer via the new Print.Command and Print.Printer rootrc resources.
Examples are provided in system.rootrc.
2004-12-14 20:46 brun
* geom/src/TGeoManager.cxx:
From Philippe,
Do not add the TGeoManager twice to the list of browsables
2004-12-14 18:39 rdm
* thread/: inc/TThread.h, src/TThread.cxx:
From Maarten:
better JoinHelper implementation with proper cleanup.
2004-12-14 18:36 brun
* gui/src/TGListBox.cxx:
From valeriy Onuchin:
- small correction in drawing
2004-12-14 18:22 brun
* treeplayer/src/TSelectorDraw.cxx:
From Olivier
- New drawing option col:
tree.Draw("x:y:z","","col");
the z variable is mapped on the color table.
2004-12-14 18:13 brun
* gui/src/TGListBox.cxx:
From valeriy Onuchin
Fix for Qt
2004-12-14 17:56 rdm
* thread/src/TThread.cxx:
forgot the snprintf.h include for machines not having (v)snprintf.
2004-12-14 17:18 brun
* cint/lib/prec_stl/: iterator, map, memory, multimap, multiset,
set:
From Philippe:
This patch ports the cintdlls to gcc v3.4.x (the operator== for the
iterators of map, multimap, set and multiset move from being a free
function to being a member function of the iterator class).
2004-12-14 17:09 brun
* gl/src/TViewerOpenGL.cxx:
Fix a memory leak in the TViewerOpenGL destructor
2004-12-14 16:06 rdm
* thread/inc/TPosixThread.h, thread/inc/TThread.h,
thread/inc/TThreadImp.h, thread/inc/TWin32Thread.h,
thread/src/TCondition.cxx, thread/src/TPosixThread.cxx,
thread/src/TThread.cxx, thread/src/TWin32Thread.cxx,
tutorials/threads.C:
several important changes and fixes:
- remove dependence on direct G__xxx CINT code, since CINT is not
reentrant there is no change we can currently run interprered function
as thread functions. This avoids also usage of the CINT lock in
the thread code which could lead to deadlocks when threads were
created in a constructor of an object created via the plugin manager
(which uses CINT to execute the ctor).
- added thread safe versions for the DoError() and ErrorHandler() functions
which allows TThread::Info() and family to be called from threads.
Idem for the Printf() function.
- by Maarten, added a join helper thread that will avoid the main thread
from blocking while doing a join and thereby not being able to process
events or handle messages sent from the threads via the XARequest
method.
- fix several memory leaks (valgrind).
2004-12-14 14:06 brun
* html/src/THtml.cxx:
From Bertrand,
Protection in destructor.
2004-12-14 13:05 rdm
* xrootd/src/xrootd-20041124-0752.src.tgz:
From Christian Holm Christensen:
There's an error in the xrootd configure script. It says:
chip=`uname -p | tr '[A-Z]' '[a-z]'`
it should be
chip=`uname -m | tr '[A-Z]' '[a-z]'`
2004-12-14 12:44 brun
* gui/src/TGTextEntry.cxx:
From valeriy Onuchin:
- set gBlinkingEntry pointer to zero at TGTextEntry destructor
if "this" textentry is gBlinkingEntry.
2004-12-14 10:34 brun
* gl/src/TViewerOpenGL.cxx:
In TViewerOpenGL::HandleContainerButton event->fType has different values
on Windows and Unix. This problem should be fixed in either TGwin32 or TGX11
and likely in TGQt.
2004-12-14 09:45 brun
* gl/src/TViewerOpenGL.cxx:
In TViewerOpenGL::HandleContainerButton add an additional test
to prevent the zoom/in/out to be executed twice on Unix.
2004-12-14 09:20 brun
* test/RootShower/: MyEvent.cxx, RSHelptext.cxx, RSVersion.h:
From Bertrand:
Small improvement in the pair creation and help text update.
2004-12-14 01:20 rdm
* winnt/src/TWinNTSystem.cxx:
From Philippe:
don't remove windows' style drive specification from any path.
2004-12-13 19:57 brun
* utils/src/rootcint.cxx:
From Philippe:
This patch implements a proper check of whether a class template instance is
a specialization or not when considering whether to use 'template <>' for
the implementation of the ClassDef method and data member. This is needed
for gcc 3.4.3 which is inforce the need for template<>.
2004-12-13 17:56 brun
* g3d/src/TPolyLine3D.cxx, g3d/src/TPolyMarker3D.cxx,
graf/src/TPolyLine.cxx, hist/src/TPolyMarker.cxx:
In case the first argument is null delete the previous arrays of points.
Protect the copy constructor against a number of points null.
2004-12-13 17:32 brun
* graf/src/TPolyLine.cxx, hist/src/TPolyMarker.cxx:
Modify TPolyMarker::Set and TPolyLine::Set functions.
In case the first argument 'n" is <= 0 the current arrays X and Y are deleted.
2004-12-13 16:49 brun
* graf/src/TGraph.cxx:
From Olivier:
- The last fix (revision 1.145) in TGraph::PaintGraph was incomplete. The
following macro didn't show the negative part of the plot (because an
empty fHistogram was created by SetTitle("X title")).
{
const Int_t n = 64;
Double_t x[n], y[n];
for (Int_t i=0;i<n;i++) {
x[i] = i*0.1;
y[i] = 10*sin(x[i]+0.2);
}
gr = new TGraph(n,x,y);
gr->GetXaxis()->SetTitle("X title");
gr->Draw("ACP");
}
2004-12-13 15:05 brun
* test/RootShower/: GButtonFrame.h, GTitleFrame.h, MyEvent.cxx,
MyEvent.h, MyParticle.cxx, MyParticle.h, ParticlesDef.h,
RSHelpText.h, RSHelptext.cxx, RSVersion.h, RootShower.cxx,
RootShower.h:
More cleanup by Bertrand
2004-12-13 13:15 brun
* test/RootShower/: Makefile, MyEvent.cxx, MyEvent.h,
RootShower.cxx, constants.h:
From Bertrand Bellenot.
New version with new colors for the tracks and several function names changed
to be compliant with ROOT coding conventions.
2004-12-13 13:12 brun
* tree/src/TBranchRef.cxx:
In TBranchRef::Notify implement support for friend Trees.
With this extension, when dereferencing a TRef (via TRef::GetObject),
the branch containing the referenced object will be automatically loaded
if the object is in another branch of the same Tree or a branch
of a friend Tree.
2004-12-13 12:21 brun
* gpad/src/TGroupButton.cxx:
From Ilka:
Testing the Marek Kowalski's case I have found the following bug: a
click on the Close button of Fit Panel closes also the Ged if it was
opened globally (i.e. via the context menu). This patch fixes the problem.
2004-12-13 09:34 brun
* tutorials/gtime.C:
Add a new tutorial showing how to draw a graph of data moving with time.
2004-12-11 09:26 brun
* tree/: inc/TChain.h, src/TChain.cxx:
Implement TChain::LoasBaskets
// This function overrides TTree::LoadBaskets and is dummy.
// It could be implemented and load all baskets of all trees in the chain.
// For the time being use TChain::Merge and TTree::LoadBasket
// on the resulting tree.
2004-12-11 09:05 brun
* test/RootShower/: .rootshowerrc, MyEvent.cxx, MyEvent.h,
RSMsgBox.cxx, RSVersion.h, constants.h:
From Bertrand,
Introduce new algorithms for the generation of secondaries
2004-12-10 23:27 rdm
* thread/: inc/TMutex.h, src/TCondition.cxx, src/TMutex.cxx,
src/TThread.cxx:
soome more thread cleanups.
2004-12-10 23:22 brun
* hist/src/TAxis.cxx:
In TAxis::SavePrimitive save also the axis range
2004-12-10 18:35 brun
* gui/: inc/TGListBox.h, src/TGCanvas.cxx, src/TGListBox.cxx,
src/TGListView.cxx:
From valeriy Onuchin:
- "partial rollback". Do not use new drawing mechanism which allows to have
list boxes with > 10000 entries under win32.
2004-12-10 16:54 brun
* base/inc/TColor.h:
We added a new member fAlpha in TColor, but the ClassDef was not changed.
This problem was detected in the auto schema evolution tests for x.root
and x.xml files that we are currently running with Sergei Linev.
2004-12-10 16:34 brun
* zip/README:
Add new benchmarks comparing old and new zlib
2004-12-10 14:32 brun
* meta/src/TStreamerInfoReadBuffer.cxx:
Removed unused arguments in ReadBufferSkipImp (BrokenTemplates case)
2004-12-10 13:54 brun
* ged/src/TGedEditor.cxx, gui/src/TRootCanvas.cxx:
Change width of editor frames from 160 to 170 pixels to avoid the scroll bar overlapping
with the editor
2004-12-10 13:13 rdm
* thread/: inc/TCondition.h, inc/TConditionImp.h, inc/TMutex.h,
inc/TMutexImp.h, inc/TPosixThread.h, inc/TRWLock.h,
inc/TSemaphore.h, inc/TThread.h, inc/TThreadFactory.h,
inc/TThreadImp.h, inc/TWin32Mutex.h, inc/TWin32Thread.h,
src/TCondition.cxx, src/TConditionImp.cxx, src/TMutex.cxx,
src/TMutexImp.cxx, src/TPosixThread.cxx, src/TSemaphore.cxx,
src/TThread.cxx, src/TThreadFactory.cxx, src/TThreadImp.cxx,
src/TWin32Condition.cxx, src/TWin32Mutex.cxx, src/TWin32Thread.cxx:
From Maarten and me:
Changelog:
- Fixed a problem with TSemaphore where the owner of the lock in
the associated TMutex was not properly updated by the low level
pthread_cond_wait relock. (always remember our TMutex in TCondition)
- Unify thread ID's as Long_t
- Simplify and regularize TThread::Join(). Join with a thread based on
tid or TThread *, hide implementation more cleanly, remove unnecessary
member functions and variables (fJoinId et al)
- Make TThread::Ps() static (easier from cmd line)
- Use -1 iso 0 for unknown thread id as 0 is a valid value
- add more error checking in lots of places
- move gContainerMutex and gCINTMutex initialisation with the rest of
the one time init bunch.
- Simpify Exists()
- Lock *all* access to the global thread list
2004-12-10 11:57 brun
* gui/: inc/TGTextEntry.h, src/TGTextEntry.cxx:
From Valeriy Onuchin:
- correct implementaion of blinking cursor. Now it's has M$ window behavior, i.e.
only text entry which has a keyboard focus is "blinking" (no activate blinking/focus on
crossing).
2004-12-10 10:28 brun
* meta/src/: TStreamerInfo.cxx, TStreamerInfoReadBuffer.cxx:
From Sergei Linev
Fixes to run on BrokenTemplates machines
2004-12-10 09:58 rdm
* asimage/src/libAfterImage.tar.gz:
latest version with most of our patches applied by Sasha.
2004-12-10 08:42 brun
* meta/: inc/TStreamerElement.h, src/TStreamerInfo.cxx,
src/TStreamerInfoReadBuffer.cxx:
From Sergei Linev
Add a new method TStreamerElement::SetTObjectOffset().
Implement the possibility to skip an array with a counter even
when the counter is also skipped.
2004-12-09 23:55 brun
* gui/inc/TGMdiMainFrame.h, gui/src/TGMdiDecorFrame.cxx,
gui/src/TGMdiMainFrame.cxx, gui/src/TGuiBuilder.cxx,
guibuilder/inc/TRootGuiBuilder.h,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TRootGuiBuilder.cxx, tutorials/guitest.C:
From Valeriy Onuchin:
- TRootGuiBuilder,TGuiBldDragManager - more mods to make GuiBuilder
re-entrant.
That allows to create, close ROOT GuiBuilder during single ROOT session.
- TGMdiMainFrame - made methods virtual.
CloseAll method added , which allows to close all opened mdi frames.
- TGMdiDecorFrame - mods for hierarchical cleaning.
2004-12-09 18:05 brun
* gui/inc/TGListBox.h, gui/src/TGListBox.cxx,
gui/src/TGMdiMainFrame.cxx, guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TRootGuiBuilder.cxx:
From valeriy Onuchin:
- TGMdiMainFrame. Prevent double freeing of "current font".
- TRootGuiBuilder, TGuiBldDragManager fix for segv. occured after
creation, closing ROOT Gui Builder several times
- TGLBEntry - do not register window in fClient window list, because list box entries
(like list view entries) are "virtual frames". That's speedup performance
with large nummber of entries, e.g. 100000.
2004-12-09 17:45 rdm
* xrootd/src/xrootd-20041124-0752.src.tgz:
add support for Linux Athlon in xrootd's ./configure.
2004-12-09 17:29 brun
* zip/inc/Bits.h:
Remove a printf statement
2004-12-09 17:22 brun
* zip/: inc/Bits.h, src/ZInflate.c:
Fix portability problesm
2004-12-09 16:56 brun
* zip/: inc/Bits.h, src/ZInflate.c:
Use Z_DEFLATED varaible everywhere (from zlib.h) instead of DEFLATE
2004-12-09 16:40 brun
* base/src/TROOT.cxx, config/rootrc.in, zip/README, zip/inc/Bits.h,
zip/src/ZInflate.c:
The ZIP functions have been modified in such a way that one can test
dynamically the new zlib as an alternative to the current zip functions.
To activate the new zlib it is enough to set Root.ZipMode = 1
in the system.rootrc file.
When setting Root.ZipMode to 1 (or 0) it is possible to read files
written with the old zip function.
Files written with Root.ZipMode=1 can only be read by versions
of Root >= 4.02/00.
A new function R__SetZipMode has been added in zip/Bits.h.
This function is called by TROOT::InitSystem with the value specified
in system.rootrc.
Some performance tests (on a P4 2.4GHz) show that
the new zlib version is as fast as the current ROOT zip functions when
writing and up to 10 per cent faster when reading.
oldzlib newzlib
Event 1000 1 0 1 11.59s 11.46s
Event 1000 1 0 20 3.83s 3.31s
Event 1000 1 99 1 10.44s 10.98s
Event 1000 1 99 20 3.57s 3.17s
stress -b 30 13.01s 12.35s
stress -b 1000 61.67s 58.38s
bench 151.99s 151.56s
stressLinear 35.87s 35.77s
2004-12-09 14:53 rdm
* asimage/src/libAfterImage.tar.gz:
latest version of Sasha with our fixes that should now also work on
Win32 with TTF.
2004-12-09 13:12 brun
* gl/: inc/TGLSceneObject.h, src/TGLSceneObject.cxx:
From Matevz Tadel
there is a minor change needed in the gl/ package that enables viewing of
geometry from within gled (the patch is attached):
the polygon rendering code of TGLSceneObject::GLDraw(...) has been moved to
a new member function TGLSceneObject::GLDrawPolys().
This function is called from GLDraw() itself and by gled's TGeoVolume rendering
code.
2004-12-09 11:12 brun
* html/src/THtml.cxx:
CVS
CVSs generated in a vertical canvas such that it is easy to see with the web browsers.
: Enter Log. Lines beginning with `CVS:' are removed automatically
2004-12-09 10:40 brun
* xml/src/TXMLBuffer.cxx:
From sergei Linev.
Protections added in Skip Conv cases.
2004-12-09 10:11 brun
* meta/src/TStreamerInfoReadBuffer.cxx:
Fix a compilation error on machines with "Broken templates"
2004-12-09 09:30 brun
* graf/src/TGaxis.cxx:
The TGaxis line width was ignoring the line width (unless set via TStyle).
2004-12-09 08:49 brun
* meta/src/TStreamerInfoReadBuffer.cxx:
From Sergei Linev
In TStreamerInfoReadBuffer.cxx I modified SkipCBasicArray(name)
and SkipCBasicPointer(name) macros in view of XML schema evolution.
I create temporary a buffer, read data and delete the buffer.
In SkipCBasicPointer in case of a counter I read in a dummy variable.
2004-12-09 08:22 brun
* xml/: inc/TXMLBuffer.h, src/TXMLBuffer.cxx, src/TXMLFile.cxx:
From Sergei Linev
Add support for schema evolution in XML files
1. In TXMLFile.
When reading from xml file the TStreamerInfo structures, it also
assign (if necessary) the number of dimensions and size of arrays
for TStreamerElement via SetArrayDim() method. But this method
increases fType immediately.
2. In TXMLBuffer.
I found, that there is new possibility for StreamerInfo optimisation,
which was not supported by XML I/O.
For instance, I have class like:
class MyClass : public TObject {
Int_t x1[10];
Int_t x2;
Int_t x3;
Int_t x4[5];
Int_t x5;
....
};
Compiled StreamerInfo will contain only two elements : first will be
combination of x1+x2+x3 of size 12 and second x4+x5 of size 7.
Probably, one can improve that in optimization of StreamerInfo.
3. In TXMLBuffer
About schema evolution, made slight modification to allow read data
types, which include TStreamerInfo::kConv or TStreamerInfo::kSkip addition.
Before these cases were rejected.
This was the first reason, why schema evolution did not work in xml.
In TXMLBuffer.h and TXMLBuffer.cxx provide implementation of SkipObjectAny.
2004-12-09 08:14 brun
* base/: inc/TBuffer.h, src/TBuffer.cxx:
From Sergei Linev
Add new method TBuffer::SkipObjectAny.
This new method reads the byte count for any object and jumps
to the data following this object. This new function facilitates
support for schema evolution with XML.
2004-12-08 20:15 rdm
* netx/Module.mk:
don't link explicitly with libThread (will libThread will be loaded by
the plugin manager as a dependency).
2004-12-08 18:13 brun
* gui/: inc/TGCanvas.h, inc/TGListBox.h, inc/TGListView.h,
src/TGCanvas.cxx, src/TGListBox.cxx:
From Valeriy Onuchin:
- since TGLBContainer is now derived from TGContainer, it's possible to
"reuse" key handling, e.g. arrow key navigation, "Page Up/Down", "Home/End" and
invocation of "Search Dialog" via "Ctrl-F" (usefull when one has 100000 entries in list box;-)
2004-12-08 17:18 brun
* zip/README:
Update comments in README
2004-12-08 15:52 rdm
* netx/src/TXNetFile.cxx:
no need to explicitly include RVersion.h.
2004-12-08 15:52 rdm
* net/inc/AuthConst.h, net/src/TAuthenticate.cxx,
rpdutils/src/rpdutils.cxx:
From Gerri:
- if the keyword pass-hash was used in .rootnetrc, the recently
introduced exchange of the random tag was de-sychronizing the
communications.
- in TAuthenticate::SetRSAPublic, the parsing of the key string
to understand the type was incomplete: this may have randomly
created some problems in PROOF (we already encountered and
fixed a similar one in rpdutils.cxx last summer, and forgot
to fix it here ...).
2004-12-08 15:34 rdm
* netx/: inc/TXConnectionMgr.h, inc/TXNetConn.h,
inc/TXPhyConnection.h, inc/TXSocket.h, inc/TXUrl.h,
src/TXNetFile.cxx:
From Gerri:
remove several unneeded derivations from TObject. This also solves a
thread deadlock problem since these objects are not anymore deleted via
TStorage::ObjectAlloc() which tries to lock the CINT mutex, which could
already be locked by another netx thread.
2004-12-08 15:02 rdm
* thread/src/TPosixCondition.cxx:
Frm Gerri:
make usage of & and -> operators not ambiguous.
2004-12-08 14:58 rdm
* unix/src/TUnixSystem.cxx:
From Gerri:
protection in UnixSelect in case readready or writeready are 0.
2004-12-08 13:04 rdm
* gui/src/: TGFSComboBox.cxx, TGListBox.cxx:
fix up some comments.
2004-12-08 12:41 brun
* gui/: inc/TGFSComboBox.h, src/TGFSComboBox.cxx,
src/TGListBox.cxx:
From valeriy Onuchin:
- fix side effects of the last list box changes in drawing of file combobox and in selection of list box.
2004-12-08 12:00 rdm
* xrootd/src/xrootd-20041124-0752.src.tgz:
add tar file with binary flag.
2004-12-08 11:59 rdm
* xrootd/src/xrootd-20041124-0752.src.tgz:
forgot to add tar file with binary flag.
2004-12-08 11:58 rdm
* configure, xrootd/Module.mk,
xrootd/src/xrootd-20040907-0403.src.tgz,
xrootd/src/xrootd-20041124-0752.src.tgz:
From Gerri:
move to the latest production version of xrootd. Since xrootd is now
also supported on MacOS X configure has been changed to compile xrootd
on Mac's.
2004-12-08 11:15 brun
* treeplayer/src/TTreeIndex.cxx:
Allow array elements in the major or/and minorname
2004-12-07 20:33 rdm
* asimage/: Module.mk, src/libAfterImage.tar.gz:
update to latest libAfterImage of Sasha with Valeriy's and my patches.
2004-12-07 20:32 rdm
* fonts/BlackChancery.ttf, tutorials/rose_image.C,
tutorials/test.ttf:
give test.ttf font proper name in standard location. Fix rose_image.C to
use this new font name and make font lookup $ROOTYS independent (in
case ROOT is installed in fixed --prefix location).
2004-12-07 20:11 brun
* matrix/src/TDecompLU.cxx:
From Eddy Offermann:
Instead of warning of a under/over flow in TDecompLU::InvertLU and then
returning a determinant of zero , we now return the calculated value .
Now the user will not be confused anymore and think that the matrix
was singular .
2004-12-07 18:32 brun
* asimage/src/TASImage.cxx:
From valeriy Onuchin:
- another arttempt to fix compilation errors under windows VC7.1
2004-12-07 18:01 brun
* asimage/src/TASImage.cxx:
Fix compilation problems under windows.
Fix warnings on Unix.
2004-12-07 17:56 rdm
* tree/inc/TDSet.h:
From Marek:
fix typo in Draw() signature.
2004-12-07 17:55 brun
* gpad/src/TCanvas.cxx:
Fix in TCanvas::Streamer. In case fCanvasImp is null, we save the current
canvas geometry from the fWindowTopX,Y,Width,Heigth members.
Otherwise these members were not initialized when reading the canvas.
2004-12-07 17:40 rdm
* gui/src/TGFileDialog.cxx:
if filename is specified on input in TGFileInfo use that to prompt
the filename.
2004-12-07 17:38 rdm
* gpad/src/TPad.cxx:
fix indentation.
2004-12-07 17:38 rdm
* configure, asimage/Module.mk:
configure: check only for libungif (not libgif anymore) and use that
in asimage, if libunfg does not exist use built-in one.
asimage/Module.mk: add dependency on libfreetype (must exist before
libASImage.so is created).
2004-12-07 16:44 brun
* geom/src/TGeoMatrix.cxx:
From Andrei.Gheata
When the translation elements are 0, we do not
set any more the translation bit for the corresponding TGeoTranslation
object (recent change for optimization reasons). Then, the problem is
that this specific TGeoCombiTrans ctor was not initializing the
translation elements for this case. I attached the bug fix. Once Rene
will put it in CVS, you can do a ckeckout of
root/geom/src/TGeoMatrix.cxx and regenerate lhcb geometry.
2004-12-07 16:43 brun
* gui/src/TGListBox.cxx:
From Valeriy Onuchin:
- fix for highlighting list box entries on mouse move.
2004-12-07 16:34 brun
* asimage/Module.mk, asimage/inc/TASImage.h,
asimage/src/TASImage.cxx, asimage/src/TASPaletteEditor.cxx,
base/inc/TColor.h, base/src/TColor.cxx, config/mimes.unix.in,
config/mimes.win32.in, graf/inc/LinkDef2.h, graf/inc/TAttImage.h,
graf/inc/TImage.h, graf/src/TAttImage.cxx, graf/src/TImage.cxx,
gui/inc/TGPicture.h, gui/src/TGFrame.cxx, gui/src/TGPicture.cxx,
gui/src/TGShutter.cxx, gui/src/TGToolBar.cxx, gui/src/TGWindow.cxx,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TRootGuiBuilder.cxx, tutorials/fore.xpm,
tutorials/hist2image.C, tutorials/rose_image.C, tutorials/test.ttf:
From Valeriy Onuchin:
- massive update of TImage/TASImage class.
- update rose_image.C macro to demonstrate new features.
- new example hist2image.C added
I'll try to add more example and documentation asap.
- bug fixes in ROOT gui builder
- TGToolBar, TGShutter now "compatible" with hierarchical cleaning
- mods in TGPicture allow create masked pictures from images.
2004-12-07 15:36 brun
* gui/: inc/TGListBox.h, src/TGListBox.cxx:
From Valeriy Onuchin:
- fix 32k pixmap limitation problem for list boxes, combo boxes.
Now it's possible to have more than 20000 entries.
2004-12-07 15:24 brun
* geom/inc/TGeoBBox.h, geom/inc/TGeoCone.h, geom/inc/TGeoHype.h,
geom/inc/TGeoManager.h, geom/inc/TGeoParaboloid.h,
geom/inc/TGeoPcon.h, geom/inc/TGeoPgon.h, geom/inc/TGeoShape.h,
geom/inc/TGeoSphere.h, geom/inc/TGeoTorus.h, geom/inc/TGeoTube.h,
geom/inc/TGeoXtru.h, geom/src/TGeoBBox.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoHype.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoParaboloid.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTorus.cxx, geom/src/TGeoTube.cxx,
geom/src/TGeoXtru.cxx, geompainter/src/TGeoPainter.cxx:
From Andrei Gheata:
I attached some diffs as proposed by Matevz and Alja which made their
own GL-based TGeo viewer in GLED. The changes are just structural:
- lines/polygons filling splitted out from TGeoShape::Paint() as
TGeoShape::SetLinesAndPols(TBuffer3D *buff).
- Shapes can create and fill a new TBuffer3D with the new method:
TGeoShape::Make3DBuffer() in the local frame
They need this since they have their own geometry tree parsing algorithm
(not the same as in TGeoPainter::PaintNode()) with another
structure/matrix handling system. Basically they just need one buffer
per volume, reusing them since they attach them to TGeoVolume as user
data. Not quite bad idea: they create only once a limited number of
buffers that they re-use without re-filling...
2004-12-07 15:19 brun
* Makefile:
From Axel Naumann:
this is a patch for Makefile's rebase target for win32gcc. It now
rebases root's dlls into an area outside the cygwin dlls' bases: cygwin
rebases from 0x70000000 downwards (as stated in /usr/bin/rebaseall), the
Makefile now uses 0x71000000 upwards.
2004-12-07 12:14 brun
* gpad/src/TPad.cxx:
From Olivier:
- Protection added in TPad::x3d in case there is no TView defined in the
current TPad. Trying to visualize a such TPad with a 3D viewer (ogl or
x3d) produced a segmentation fault.
2004-12-07 12:14 brun
* base/src/TBuffer3D.cxx:
From Olivier:
- revision 1.5 had a bad side effect: it was not anymore possible to
visualize the 3D histograms as box plots. This fix preserve what was
aimed in rev1.5 (not drawing in the pad when the OpenGL viewer is
active), and allow to see 3D histograms with the "box" option.
2004-12-07 02:38 rdm
* gui/src/TRootCanvas.cxx:
From Ilka:
- reduced the number of entries in the Save menu
- fix in SaveAs allowing to save all supported file types
From me:
- if no file type extension is given the currently selected file type
extension is appended to the filename.
2004-12-07 02:34 rdm
* gui/: inc/TGFileDialog.h, src/TGFileDialog.cxx:
added new item fFileTypeIdx in TGFileInfo class. This member is used to
set and return the last selected file type used in the TGFileDialog.
Example of use is in the SaveAs dialog in TRootCanvas.cxx.
2004-12-06 22:08 brun
* tree/src/TTree.cxx:
In TTree::Bronch one must call the destructor of teh calss object
created internally to build the TStreamerInfo.
Because we have only a void* objadd, one must call cl->Drstructor(objadd)
and not delete objadd
2004-12-06 19:32 rdm
* Makefile, configure, build/package/common/README,
build/package/common/root-gliv.dscr,
build/package/common/root-gliv.files,
build/package/common/root-gliv.shlibs,
build/package/debian/root-gl.control.in,
build/package/debian/root-gliv.control.in,
build/package/lib/makedebdir.sh,
build/package/rpm/root-gliv.spec.in, config/Makefile.in:
remove other references to the now removed OpenInventor interface.
2004-12-06 17:46 brun
* proof/src/: TPacketizer.cxx, TPacketizer2.cxx:
From Maarten Ballintijn
Protect against divide by zero in error case.
2004-12-06 17:44 brun
* histpainter/src/THistPainter.cxx:
From Olivier & Toni Ampl
- Option POL can now be combined with option COL.
(implemented by Anton Empl)
This new option will be upgraded in the coming days.
2004-12-06 14:38 brun
* rootx/src/rootx.cxx:
Extend the space for the internal array msg to accept LD_LIBRARY_PATH
definitions greater than 512 characters (eg LHCb)
2004-12-06 11:46 brun
* cont/src/TList.cxx:
In TList::Clear do not delete objects marked with the bit set when objects are deleted.
This fixes a problem when closing the window created by tutorial ntuple1.C
2004-12-06 10:55 brun
* graf/: inc/TCurlyLine.h, src/TCurlyArc.cxx, src/TCurlyLine.cxx:
From Otto Schaille
Mods to accept TCurlyArc and TCurlyLine working in user coordinates.
2004-12-06 10:34 brun
* test/RootShower/MyEvent.cxx:
From Bertrand;
Some improvements when generating the distribution of the secondary particles.
2004-12-06 08:53 brun
* gl/src/TGLRender.cxx:
Use cout instead of std::cout
2004-12-06 08:22 brun
* configure, g3d/inc/LinkDef.h, g3d/inc/TGLViewerImp.h,
g3d/inc/TPadOpenGLView.h, g3d/src/TGLViewerImp.cxx,
g3d/src/TPadOpenGLView.cxx, gl/Module.mk, gl/inc/TRootOIViewer.h,
gl/src/TRootOIViewer.cxx, gui/inc/TGWindow.h, qt/inc/TGQt.h,
win32/inc/TGWin32.h:
Remove reference to the obsolete classes TPadOpenGLView TGLViewerImp TRootOIViewer.
Remove the Open inventor option from configure.
2004-12-05 17:47 brun
* geom/src/TGeoArb8.cxx:
Minor fix in TGeoArb8::SafetyToFace
2004-12-05 17:39 brun
* geom/src/: TGeoArb8.cxx, TGeoBBox.cxx:
Some speed optimisations in functions computing distances and safety.
2004-12-05 09:19 brun
* geom/src/TGeoArb8.cxx:
Optimize speed of TGeoArb8::DistFromInside
2004-12-04 20:47 brun
* treeplayer/src/: TTreePlayer.cxx, TTreeProxyGenerator.cxx:
From Philippe:
TTreeProxyGenerator now explicitly reject user's scripts that do not have an
extension.
TTree::Draw does not check for a user's scipt unless there is a period in
the expression.
2004-12-04 12:08 brun
* configure:
On windows replace
< win32) pythonlibflags="-nodefaultlib:$pythonlib" ;;
---
> win32) pythonlibflags="-nodefaultlib:python23" ;;
The previous version does not work if python24 is not installed on windows.
2004-12-04 11:14 brun
* graf/src/TArrow.cxx:
Fix in TArrow::Paint to take into account the default option set via the constructor.
2004-12-03 16:18 brun
* histpainter/src/THistPainter.cxx:
From maxim Nikulin:
fix when painting the stats box with precision 3 fonts (in pixels)
2004-12-03 13:07 brun
* base/inc/TVirtualPadEditor.h, base/src/TVirtualPadEditor.cxx,
ged/src/TGedEditor.cxx, gui/src/TRootCanvas.cxx,
tutorials/guitest.C:
From Ilka:
fix of bug #2582. The changes are:
base/inc/TVirtualPadEditor.h,cxx
- the signature of GetPadEditor method
- new method Terminate() via which the global editor is closed
ged/src/TGedEditor.cxx
- fixes in Hide and RecursiveRemove methods
gui/src/TRootCanvas.cxx
- fix in dtor: deletion of fEditor has nothing to do with MustCleanup;
this caused double deletion in some cases
- close of the global editor in case it was activated
tutorials/guitest.C
- close of the global editor in case it was activated via embedded
canvas context menu
2004-12-03 13:03 brun
* gl/: inc/TGLRender.h, src/TGLRender.cxx:
Fix a clipping problem
2004-12-03 11:38 brun
* test/RootShower/icons/: left.xpm, mclogo01.xpm:
New icons from Bertrand
2004-12-03 09:42 brun
* 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:
From Bertrand Bellenot;
New pixmaps with tranparent background for RootShower.
2004-12-03 09:20 brun
* geom/src/TGeoHype.cxx:
Fix a problem in the comment for an argument
2004-12-03 09:14 brun
* geom/src/TGeoHype.cxx, geom/src/TGeoManager.cxx,
geompainter/src/TGeoPainter.cxx:
From Andrei Gheata
The TGeoHype constructors call the TGeoTube constructors (otherwise the shape
was not registered to the list of shapes).
Cleanup in TGeoManager and TGeoPainter
2004-12-02 16:21 brun
* geom/inc/TGeoShape.h, geom/src/TGeoManager.cxx,
geompainter/src/TGeoPainter.cxx:
From Andrei Gheata:
few modifications in order to be able to handle geometry
files as any other root file. For instance, you want to be able to open
them from a browser, get the geometry in memory (and in the browser too)
by just clicking. You can also open several files one after another, but
the previous opened geometry will be deleted (and browser refreshed).
2004-12-02 12:53 rdm
* matrix/src/: TDecompLU.cxx, TDecompSVD.cxx, TDecompSparse.cxx:
correct some Error() and Warning() statements in static methods by adding
explicitly the class name.
2004-12-02 12:52 rdm
* net/src/TFTP.cxx, net/src/TNetFile.cxx, rpdutils/src/netpar.cxx:
change "n-fold" to "n-stream" in messages. One speaks of multiple streams,
not folds.
2004-12-02 08:22 brun
* geom/src/TGeoCache.cxx:
Fix in a printf statement to avoid a warning with gcc on macOSX
2004-12-01 18:25 rdm
* gui/src/TGFileDialog.cxx:
From Ilka:
patch contains changes in TGFileDialog::ProcessMessage() method that
provide checking if the file name already exists when using SaveAs dialog.
A message dialog appears saying that this file already exists and asking
the user to overwrite it (Yes/No). [Added same feature in case user
hits <enter> after typing the file name -- rdm].
2004-12-01 18:04 rdm
* gui/src/TGTextEntry.cxx:
From Ilka:
fix in TGTextEntry::HandleCrossing() method to avoid two blinking cursors
in TGTextEntry widgets that block the keyboard input in text entries and
in number enties widgets.
2004-12-01 17:57 brun
* geom/src/TGeoCone.cxx, geom/src/TGeoTube.cxx,
gl/inc/TGLSceneObject.h, gl/inc/TViewerOpenGL.h,
gl/src/TGLRender.cxx, gl/src/TGLSceneObject.cxx,
gl/src/TViewerOpenGL.cxx:
From Timur:
Drawing tubes/cones with gluCylinder enabled
TGLSceneObject was modified
TGLSimpleLight was removed
2004-12-01 17:56 brun
* geom/src/TGeoManager.cxx:
Add protections in the destrctor in case the TGeoManager has been built via a context menu.
2004-12-01 17:37 rdm
* config/Makefile.win32:
remove -DG__TMPFILE, this flag has now been enabled directly in G__ci.h
for WIN32.
2004-12-01 17:36 rdm
* cint/: inc/Class.h, inc/G__ci.h, inc/Type.h, inc/bc_exec_asm.h,
inc/common.h, inc/fproto.h, include/carray.h, include/darray.h,
lib/dll_stl/str.h, lib/prec_stl/string, lib/prec_stl/vector,
src/Api.cxx, src/Apiif.cxx, src/Class.cxx, src/DataMbr.cxx,
src/Method.cxx, src/Type.cxx, src/auxu.c, src/cast.c, src/disp.c,
src/func.c, src/ifunc.c, src/init.c, src/loadfile.c, src/macro.c,
src/newlink.c, src/opr.c, src/parse.c, src/pause.c, src/pcode.c,
src/sizeof.c, src/struct.c, src/tmplt.c, src/val2a.c, src/value.c,
src/var.c:
import of CINT 5.15.159.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2004-12-01 16:46 rdm
* thread/inc/TMutex.h:
cosmetic.
2004-12-01 16:45 rdm
* tree/src/: TBranch.cxx, TTree.cxx:
correction of small typo in comment.
2004-12-01 14:11 rdm
* base/src/TEnv.cxx:
From Thomas Bretz:
strip <CR> chars from a resource file. This can happen when the file
was edited with a Windows editor.
2004-12-01 03:30 rdm
* configure:
From Wim Lavrijsen:
add support for the today released Python 2.4.
2004-11-30 22:15 brun
* configure:
Fix a problem preventing the selection of Ruby when configuring.
There is a side-effect with this fix: the explicit-link option
is triggered by Ruby. A solution (like for Python) must be found
to explicitly link only libRuby.
2004-11-29 23:32 brun
* minuit/src/TMinuit.cxx:
Remove references to TMinuitOld (Thanks Eddy)
2004-11-29 23:13 brun
* geom/src/TGeoMatrix.cxx:
Fix a bug in TGeoMatrix::GetInverse (Thanks Zhengyun You)
2004-11-29 22:59 brun
* gl/: inc/TGLEditor.h, inc/TGLRender.h, inc/TGLSceneObject.h,
src/TGLEditor.cxx, src/TGLFrustum.cxx, src/TGLKernel.cxx,
src/TGLRender.cxx, src/TGLSceneObject.cxx, src/TViewerOpenGL.cxx:
From Timur:
Some changes. The frustuming is off by default, it starts working if 20 %
of objects are clipped. Movement of selected object has been changed.
2004-11-29 13:43 brun
* gl/: Module.mk, inc/TGLFrustum.h, inc/TGLRender.h,
inc/TGLSceneObject.h, src/TGLFrustum.cxx, src/TGLKernel.cxx,
src/TGLRender.cxx, src/TGLSceneObject.cxx, src/TViewerOpenGL.cxx:
From Timur and Richard maunder
New algorithm introduced to reduce the number of drawn objects.
2004-11-28 20:26 brun
* matrix/src/TDecompQRH.cxx:
From Eddy Offermann
The resize of the matrix was not performed correctly
in TMatrixD TDecompQRH::Invert() .
The caption stated the correct procedure .
2004-11-28 20:05 brun
* matrix/src/TDecompSVD.cxx:
Replace nCols by nRows in a test in function Invert
2004-11-28 19:54 brun
* matrix/: inc/TDecompSVD.h, src/TDecompSVD.cxx:
From Eddy Offermann:
a small update to the decomposition classes :
The SVD and QRH decomposition classes can handle cases Ax=b
where A is a (m x n) matrix with m > n . When using Solve(TVectorD &b),
the user is supposed to supply the m - vector b and the n - vector x
solution is returned in b . The user is only supposed to use the first
n - entries in the b . This is all mentioned in the function caption .
However, in case of TVectorD Solve(const TVectorD &b), an n-vector
should be returned so that the user can use this vector without
having to Resize it .
2004-11-26 18:12 brun
* tutorials/ContourList.C:
New tutorial by Olivier and Josh de Bever showing
how to get a list of contours from a TH2.
2004-11-26 17:53 brun
* gpad/src/TPad.cxx:
From Ilka:
fix in TPad::CreateNewPad. The
generated subpad names are unique now.
2004-11-26 16:55 brun
* geom/src/TGeoCone.cxx, geom/src/TGeoTube.cxx,
gl/src/TGLRender.cxx:
Do not use GL display list. Temporarily remove optimisation for Tubes and Cones.
A better algorithm is in the pipeline.
2004-11-26 16:07 brun
* hist/src/TH1.cxx:
Fix a bug in TH1::SetBinsLength (thanks Sergei Kolos)
a "+2" was missing in the computation of the storage necessary for the new number of bins.
2004-11-26 13:50 brun
* gl/src/TGLSceneObject.cxx:
From Timur.
Some fixes when rendering tubes.
2004-11-26 12:10 brun
* physics/inc/LinkDef.h:
Make the operators "+","-","*","/" visible to CINT
2004-11-26 12:08 brun
* geom/src/TGeoTube.cxx, geompainter/src/TGeoPainter.cxx,
gl/src/TGLSceneObject.cxx:
From Andrei Gheata:
I have turned back on the modifications by Timur in TGeoTube, but with
the correct rotation matrix now. The problem is still that with this on,
reflected tubes are wrong. In this case the reflection bit has to be
ignored by TGLTube since it is not a FaceSet representation (where the
order of segments matter). Just commenting out 2 lines in TGLTube I get
the correct behavior.
2004-11-26 08:55 brun
* histpainter/src/TPaletteAxis.cxx:
Implement TPaletteAxis::SavePrimitive (we had a dummy implementation)
2004-11-26 08:34 brun
* hist/src/TProfile2D.cxx:
In TProfile2D::SavePrimitive the string "ClassName()" was written instead
of the content of ClassName()
2004-11-26 08:33 brun
* graf/src/TLegend.cxx:
In TLegend::SavePrimitive always save the line and fill attributes.
This solves a problem when the default line/fill style is changed via TStyle.
2004-11-25 13:12 brun
* histpainter/src/THistPainter.cxx:
From Olivier:
- Final Adjustment in PaintContour: In case of the negative contours only,
the contours order was not correct.
2004-11-25 13:10 brun
* base/src/TBuffer3D.cxx, geom/Module.mk, geom/inc/LinkDef1.h,
geom/inc/TGeoBBox.h, geom/inc/TGeoCompositeShape.h,
geom/inc/TGeoCone.h, geom/inc/TGeoHype.h, geom/inc/TGeoManager.h,
tutorials/geodemo.C, geom/inc/TGeoParaboloid.h,
geom/inc/TGeoPcon.h, geom/inc/TGeoShape.h, geom/inc/TGeoSphere.h,
geom/inc/TGeoTorus.h, geom/inc/TGeoTube.h, geom/inc/TGeoVolume.h,
geom/inc/TGeoXtru.h, geom/inc/TVirtualGeoPainter.h,
geom/src/TGeoBBox.cxx, geom/src/TGeoCompositeShape.cxx,
geom/src/TGeoCone.cxx, geom/src/TGeoEltu.cxx,
geom/src/TGeoHype.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoParaboloid.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoShape.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTorus.cxx, geom/src/TGeoTube.cxx,
geom/src/TGeoXtru.cxx, geompainter/inc/TGeoPainter.h,
geompainter/src/TGeoChecker.cxx, geompainter/src/TGeoOverlap.cxx,
geompainter/src/TGeoPainter.cxx, main/src/g2root.f:
From Andrei and Mihaela Gheata:
New shape TGeoHype from Mihaela.
This patch contains all modifications in TGeo, additions in
g2root to adjust format of MakeHype(...) and a fix in TBuffer3D.cxx
(Paint("SAME")). Also Mihaela modified geodemo.C
The modifications (made by Timur probably) TGeoTube::Paint() for making
GL-like tubes are wrong so I temporary disabled them. The global matrix
filled to GL is wrongly retreived (+ it may come from other sources in
case of overlap drawing).
2004-11-24 18:49 brun
* base/src/TRandom3.cxx:
Extend functionality of TRandom3::SetSeed(UInt_t seed)
// if seed is 0 (default value) a TUUID is generated and used to fill
// the first 8 integers of the seed array.
// In this case the seed is guaranteed to be unique in space and time.
2004-11-24 16:50 brun
* graf/src/TLatex.cxx:
From Olivier:
- #splitline now uses the normal alignment rules
2004-11-24 16:20 brun
* gl/inc/LinkDef.h:
forgot to remove TGLRender from LinkDef
2004-11-24 16:16 brun
* gl/: Module.mk, inc/TGLRender.h, src/TGLRender.cxx:
TGLRender cannot be put in the dictionary (Problem with std::pair on Windows)
2004-11-24 16:06 brun
* gl/: Module.mk, inc/LinkDef.h, inc/TGLKernel.h,
inc/TGLSceneObject.h, src/TGLKernel.cxx:
Unfortunately TGLKernel cannot be processed via rootcint because
of the CINT version og GL.h
2004-11-24 15:48 brun
* gl/: inc/TArcBall.h, inc/TGLCamera.h, inc/TGLKernel.h,
inc/TGLRender.h, inc/TGLSceneObject.h, src/TArcBall.cxx,
src/TGLCamera.cxx, src/TGLKernel.cxx, src/TGLRender.cxx,
src/TGLSceneObject.cxx:
Add missing ClassDef/ClassImp to get these classes in html.
2004-11-24 15:11 brun
* tree/: inc/TBranch.h, inc/TTree.h, src/TBranch.cxx,
src/TTree.cxx:
Add the following member functions to TBranch and TTree
Int_t TTree::LoadBaskets(Long64_t maxmemory)
{
// Read in memory all baskets from all branchs up to the limit
// of maxmemory bytes.
// if maxmemory is non null and positive SetVaxVirtualSize is called
// with this value. Default for maxmemory is 2000000000 (2 Gigabytes).
// The function returns the total number of baskets read into memory
// if negative an error occured while loading the branches.
// This method may be called to force branch baskets in memory
// when random access to branch entries is required.
// If random access to only a few branches is required, you should
// call directly TBranch::LoadBaskets.
Int_t TBranch::LoadBaskets()
{
// Baskets associated to this branch are forced to be in memory
// You can call TTree::SetMaxVirtualSize(maxmemory) to instruct
// the system that the total size of the imported baskets do not
// exceed maxmemory bytes.
// The function returns the number of baskets that have been put in memory
// This method may be called to force all baskets of one or more branch
// in memory when random access to entries in this branch is required.
// See also TTree::LoadBaskets to load all baskets of all branches in memory.
2004-11-24 15:07 brun
* vmc/inc/TVirtualMC.h:
The previous additions by Andreas Morsch had removed 4 functions
introduced in the previous revision by Andrei Gheata.
These functions are now back in.
2004-11-24 14:11 brun
* gl/src/: TGLEditor.cxx, TViewerOpenGL.cxx:
From Timur
Improvements with the lights.
Bottom light is off by default.
2004-11-24 10:41 brun
* histpainter/src/THistPainter.cxx:
From Olivier:
- In PaintContour: With option LIST, in case of positive and negative
contours, the 1st positive contour was always returned at the beginning
of the list. With this fix, all the negative contours are returned first
then all the positive ones.
2004-11-24 09:13 brun
* gui/: inc/TGButton.h, src/TGButton.cxx:
Move the inline definitions of functions void TGRadioButton::SetState
and TGCheckButton::SetState to the implementation file.
This solves a clash with an unfortunate "#define emit" in
one of the Qt include files.
2004-11-24 08:41 brun
* base/inc/TVirtualProof.h, proof/inc/TDrawFeedback.h,
proof/inc/TProof.h, proof/src/TDrawFeedback.cxx,
proof/src/TPerfStats.cxx, proof/src/TProof.cxx,
proof/src/TProofPlayer.cxx, test/ProofBench/Draw_PerfProfiles.C,
test/ProofBench/Draw_Slave_Access.C,
test/ProofBench/Draw_Time_Hists.C,
test/ProofBench/EventTree_NoProc.C,
test/ProofBench/EventTree_NoProc.h,
test/ProofBench/EventTree_Proc.C, test/ProofBench/EventTree_Proc.h,
test/ProofBench/EventTree_ProcOpt.C,
test/ProofBench/EventTree_ProcOpt.h, test/ProofBench/README,
test/ProofBench/Run_Node_Tests.C, test/ProofBench/SavePerfInfo.C,
test/ProofBench/make_event_trees.C, test/ProofBench/make_tdset.C:
From Maarten Ballintijn and Kristján Gulbrandsen
a patch and files that complete the benchmark package.
I strongly recommend using this for demos rather then the H1 example.
The README file should walk you through a complete demo, which should
not take more then maybe ten minutes or so. After you have some
data files generated, you can show significant parts of the sytem
in a minute or two.
I added a feedback request api to TProof, this simplifies things
a lot from a usability perspective. I also modified TDrawFeedback
to use gProof by default, again simplifying things.
Kris wrote the support scripts and fixed the benchmark
scripts to read the full Events.
Please try it out and have fun!
It is as simple as this (I use log level 2 to slow things
down a bit :-))
gROOT->Proof()
.L make_tdset.C
TDSet *d= make_tdset("/data1/tmp",2)
TDrawFeedback fb
gProof->AddFeedback("PROOF_ProcTimeHist")
gProof->AddFeedback("PROOF_LatencyHist")
gProof->AddFeedback("PROOF_EventsHist")
gProof->UploadPackage("event.par")
gProof->EnablePackage("event")
gEnv->SetValue("Proof.StatsHist",1);
gProof->SetLogLevel(2)
d->Process("EventTree_Proc.C")
2004-11-23 22:45 brun
* pyroot/: ROOT.py, src/ConstructorDispatcher.cxx,
src/MemoryRegulator.cxx, src/MemoryRegulator.h,
src/MethodHolder.cxx, src/MethodHolder.h, src/PropertyHolder.cxx,
src/PropertyHolder.h, src/Pythonize.cxx, src/RootModule.cxx,
src/RootWrapper.cxx, src/RootWrapper.h, src/TPython.cxx:
From Wim Lavrijsen
o) added ROOT/CINT command .ls and .pwd
o) expend envars and user for .x
o) enable "from ROOT import *" in scripts
o) workaround for loading TTree::MakeClass() generated macro
-> "works," but still needs investigating
o) allow access to TObject*'s that are public data members
o) support for namespaces
o) add IsEqual/__eq__ for TObject pythonization
o) "from ROOT import*" when starting python from CINT
o) force cleanup for all objects that enter python
o) add default ctor if no ctors defined
o) use TObject* instead of void* in MemoryRegulator
o) refactorizations, more caches (speed), and minor fixes
2004-11-23 22:42 brun
* gl/: inc/LinkDef.h, inc/TGLEditor.h, inc/TViewerOpenGL.h,
src/TGLEditor.cxx, src/TViewerOpenGL.cxx:
From Timur;
Improvements in the GUI for adding/removing lights
2004-11-23 18:05 brun
* postscript/src/TSVG.cxx:
From Olivier:
- In SVG output the markers "Up Tirangle" and "Down triangle" were
inverted.
2004-11-23 17:26 brun
* base/src/TROOT.cxx:
Add a protection in TROOT::GetFunction in case the file system.rootrc is not
found (or processing a very old version)
2004-11-23 16:51 brun
* win32gdk/src/TGWin32VirtualGLProxy.cxx:
Increase fMaxResponseTime from 1000 to 5000 milliseconds in the constructor.
This fixes a problem with thread clashes under Windows when picking
very large graphics structures.
2004-11-23 16:49 brun
* gpad/src/TInspectCanvas.cxx:
Increase size of a local array in TInspectCanvas::InspectObject
2004-11-23 15:58 brun
* Makefile:
From Axel Naumann:
a patch for the Makefile, rebasing automatically during
win32gcc's build.
2004-11-23 15:51 brun
* vmc/inc/TVirtualMC.h:
From Andreas Morsch
added a new method to TVirtualMC.h
void TVirtualMC::ForceDecayTime(Float_t);
This allows to force the decay time of the current particle.
2004-11-23 15:45 brun
* hist/src/TH2.cxx:
Protection added in TH2::Rebin2D (suggested by Gero Flucke)
2004-11-23 15:00 brun
* gl/: inc/TGLRender.h, inc/TViewerOpenGL.h, src/TGLRender.cxx,
src/TViewerOpenGL.cxx:
From Timur:
Introduce a better light model (up to 5 spot lights).
Change in the default coordinate system. Z is now horizontal.
2004-11-23 14:59 rdm
* config/root-config.in:
avoid adding -lpthread in case of Win32.
2004-11-23 14:55 brun
* cont/src/TGenCollectionProxy.cxx:
From Markus Frank
Fix a problem with the I/O of <vector<bool>
2004-11-23 01:07 rdm
* config/rootrc.in, gui/src/TGuiBuilder.cxx,
gui/src/TVirtualDragManager.cxx:
small simplification in plugin descriptions of GuiBld and Ged.
2004-11-23 00:49 rdm
* config/rootrc.in, gl/inc/TViewerOpenGL.h,
gl/src/TViewerOpenGL.cxx:
make fRender a pointer to TGLRender and create it after creating the
TGLRenderArea which creates the OpenGL context. More importantly in the
dtor delete the TGLRender object before deleting the TGLRenderArea
object, i.e. delete it before the OpenGL context gets deleted in the
TGLRenderArea dtor. This fixes a problem which showed on MacOS X during
the closing of the OpenGL viewer where the TGLRender dtor tried to
access an already deleted OpenGL context.
Use the plugin manager to create a TVirtualGLImp instance instead of
via a hardcoded ProcessLine().
2004-11-23 00:39 rdm
* gl/src/: TGLKernel.cxx, TX11GL.cxx:
fix several Error() messages.
2004-11-23 00:38 rdm
* gl/: inc/TGLRender.h, src/TGLRender.cxx:
fix some Error() messages, no trailing \n needed and a typo.
2004-11-23 00:37 rdm
* base/src/TPluginManager.cxx:
fix to take into account OS and Application prefix of TEnv Plugin resources,
now:
Unix.*.Plugin.TXxxx: * TUnixXxxxx libUnixXxxx "TUnixXxxx()"
WinNT.*.Plugin.TXxxx: * TWin32Xxxxx libWin32Xxxx "TWin32Xxxx()"
loads correctly libUnixXxxx on Unix/Linux and libWin32Xxxx on Win32.
2004-11-22 21:41 brun
* tutorials/solveLinear.C:
Fix typo in comments
2004-11-22 21:29 brun
* tree/src/TTree.cxx, treeplayer/src/TTreePlayer.cxx:
Remove obsolete comments about "MakeAnal"
2004-11-22 17:50 rdm
* config/Makefile.macosx:
in debug mode use "-g" instead of "-g -O".
2004-11-22 17:41 rdm
* net/inc/TUrl.h:
From Maarten:
Inspired by the need to set the port on 10000 url's I extended
the TUrl class.
All the components can be set or replaced and GetUrl() will generate
the new URL.
2004-11-22 17:01 brun
* base/inc/RVersion.h, build/version_number:
Starting Development version 4.01/05
2004-11-22 16:55 brun
* histpainter/src/THistPainter.cxx:
take into account the option set by TStyle::SetHistMinimumZero
2004-11-22 16:55 brun
* base/: inc/TStyle.h, src/TStyle.cxx:
Add a new function
void TStyle::SetHistMinimumZero(Bool_t zero)
{
// if the argument zero=kTRUE the minimum value for the Y axis of 1-d histograms
// is set to 0 if the minimum bin content is greater than 0 and TH1::SetMinimum
// has not been called.
// Otherwise the minimum is based on the minimum bin content.
and the corresponding getter function GetHistMinimumZero
2004-11-22 16:53 brun
* meta/src/TDataMember.cxx:
Fix in the constructor in case of a "const enum"
2004-11-20 19:08 brun
* base/src/TSystem.cxx:
From Maxim Nikulin:
Add possibility to use environment variables in the
ACLiC.BuildDir entry of rootrc files. E.g.
ACLiC.BuildDir: $HOME/s/var/root
2004-11-20 07:50 brun
* qt/src/GQtGUI.cxx:
From valeri Fine:
Fix a crash when running with Qt and one starts the GuiBuilder from
the TCanvas menu
2004-11-19 21:38 brun
* meta/src/TStreamerInfo.cxx:
From Philippe:
This patch supports the case where the type of a data member
changed from [NamespaceA::]ClassName to [NamespaceB::]ClassName,
where both namespace are optional.
2004-11-19 21:08 brun
* tree/src/TBranchElement.cxx:
From Philippe:
This patch should re-add the ability of supressing transient data member and
the ability to browsing sub-branches (like fTracks).
2004-11-19 18:59 rdm
* build/unix/makedist.sh:
fix problem with uname -r returning a string on cygwin that cannot be
used as part of a file name.
2004-11-19 16:57 brun
* base/inc/RVersion.h, build/version_number:
Move to development release 4.01/04.
Now building the binaries. If everything OK, the CVS tag will be put this weekend
2004-11-19 16:33 rdm
* configure:
add -liconv when building XML on win32gcc.
2004-11-19 15:58 brun
* tutorials/rootgeom.C:
Give the possibility to display in the GL viewer as an alternative to the pad.
2004-11-19 15:30 brun
* geom/src/TGeoManager.cxx:
Initialize all class pointers in default constructor.
This fixes a problem when reading multiple geometries in the same session.
2004-11-19 15:28 rdm
* base/inc/TBuffer.h, base/src/TMath.cxx, config/rootrc.in:
white space corrections, tab removal and error message corrections.
2004-11-19 13:33 rdm
* rpdutils/src/rpdutils.cxx:
From Gerri:
Fix problem in RpdUser() affecting transmission of random tag
when compiled with AFS support.
2004-11-19 12:39 brun
* tree/src/TBranchElement.cxx:
Disable new logic introduced by Axel in TBranchElement::Browse for hiding
non persistent members. This had a ude side effect of not browsing
TClonesArray or collections.
2004-11-19 11:11 rdm
* config/Makefile.win32:
moved -D__INSIDE_CYGWIN__ into rfio/Module.mk (avoid compiling all sources
with this flag only needed for RFIO headers).
2004-11-19 11:09 rdm
* rfio/Module.mk:
move -D__INSIDE_CYGWIN__ into rfio/Module.mk. Only the TRFIOFile.cxx and
TCastorFile.cxx need to be compiled with this option on Win32.
2004-11-19 10:40 brun
* treeplayer/src/TSelectorDraw.cxx:
Option "same" combined with "prof" was not working correctly
2004-11-19 08:25 brun
* base/inc/TROOT.h:
Remove unused members
TFile* fCurrentFile Current file
TDirectory* fCurrentDirectory Current directory
TVirtualPad* fCurrentCanvas Current graphics canvas
TVirtualPad* fCurrentPad Current graphics pad
TStyle* fCurrentStyle Current graphics style
2004-11-19 08:25 brun
* config/Makefile.win32:
Define G__TMPFILE in CINTCFLAGS. This should solve the problem for Windows users
running without priviledges.
2004-11-19 07:46 brun
* config/rootrc.in:
Add the following lines:
# Default 3d Viewer
# by default 3-D views are shown in the pad.
# if the next line is activated, the default viewer will be OpenGL
#Viewer3D.DefaultDrawOption: ogl
2004-11-19 07:39 brun
* geom/src/TGeoVolume.cxx:
In TGeoVolume::Draw use the TEnv variable Viewer3D.DefaultDrawOption
as an option to Draw. If this environment variable is defined
in system.rootrc (or .rootrc), it is used to specify the default value
when drawing a volume.
For example, if this variable is set to "ogl", the TViewerOpenGL viewer
will be used by default to draw TGeo objects instead of TPad.
2004-11-19 07:36 brun
* gl/src/TGLSceneObject.cxx:
Fix a cast problem with gcc2.95
2004-11-18 19:08 brun
* table/: inc/TPolyLineShape.h, src/TPolyLineShape.cxx:
From Valeri Fine:
-- 3 TObject virtual methods:
GetName, GetTitle, GetObjectInfo
have been overloaded to forward the methods call
to the decorated fPoints object needed to fill
the "TCanvas" status bar properly.
2004-11-18 18:06 brun
* pythia/inc/TMCParticle.h:
Add the following two functions to TMCParticle (like in TParticle)
void Momentum(TLorentzVector &v) const { v.SetPxPyPzE(fPx,fPy,fPz,fEnergy);}
void ProductionVertex(TLorentzVector &v) const { v.SetXYZT(fVx,fVy,fVz,fTime);}
2004-11-18 17:54 brun
* treeplayer/src/TFormLeafInfo.cxx:
From Philippe:
This patch fixes a problem with printing data members of non-split base
class (see in iobug.C(1,0)
2004-11-18 16:52 brun
* ged/inc/TGedEditor.h, ged/src/TGedEditor.cxx,
gui/src/TRootCanvas.cxx:
From Ilka:
changes that provide scroll bars for the object editors:
TGedEditor.h,.cxx
- new data member: TGCanvas *fCan
- set the name of editor window 'canvasname_Editor'
TRootCanvas.cxx
- minor layout changes required by the scroll bar appearance
2004-11-18 15:37 brun
* geom/src/TGeoCone.cxx, geom/src/TGeoTube.cxx,
gl/inc/TGLSceneObject.h, gl/src/TGLSceneObject.cxx,
gl/src/TViewerOpenGL.cxx:
From Timur & Olivier:
- Tube and cone are now rendered with specialized OpenGL functions
2004-11-18 15:35 brun
* g3d/src/TXTRU.cxx:
From Olivier:
- TXTRU::Paint is now like TGeoXtru::Paint. (to make it work with OpenGL)
2004-11-18 07:13 brun
* meta/src/TStreamerInfo.cxx, tree/src/TBranch.cxx,
tree/src/TBranchElement.cxx:
From Philippe:
The crash for iobug.C(1,0) was fixed in a previous patch.
The bad results in iobug.C(1,1) and iobug.C(2,1) were a result of badly
formed files (i.e. the file produce do not contain the correct data!).
This patch resolves the solution by insuring that all the level of base
classes have their own TBranchElement object except when inside a split
collection.
When the base class or any of its own base class has no data member, there
is no branch created (this was already the case).
The TBranchElement corresponding to the base class itself does NOT have a
TLeafElement (but has at least one sub-TBranchElement). Its fObject points
to the start of the sub-part of the object which correspond to its base
class.
In addition, this patch corrects TBranch::GetSubBranch to give the correct
result even if the hiearchy of branch is more than 2 deep.
This patch also correct GetValueClones and GetValueSTL to add the base class
offset only once.
2004-11-17 21:29 brun
* meta/src/TStreamerInfo.cxx:
From Philippe:
This fix is needed for MSVC 6
2004-11-17 21:06 brun
* meta/src/TStreamerInfoReadBuffer.cxx:
From Philippe
One more portability problem fix
2004-11-17 20:48 brun
* cont/src/TContainerConverters.cxx,
meta/src/TStreamerInfoReadBuffer.cxx:
From Philippe
Fix portability problems on TemplateBroken compilers
2004-11-17 19:06 rdm
* cint/inc/G__ci.h:
On MacOS X bools are not addressable (they are but they are 4 bytes and not
1 byte). Need to set G__UNADDRESSABLEBOOL.
2004-11-17 19:04 rdm
* base/inc/Rtypes.h:
set kTRUE and kFALSE to true and flase and not 1 and 0.
2004-11-17 18:56 brun
* meta/src/TStreamerElement.cxx, meta/src/TStreamerInfo.cxx,
meta/src/TStreamerInfoReadBuffer.cxx, tree/src/TBranchElement.cxx,
treeplayer/src/TFormLeafInfo.cxx, treeplayer/src/TTreeFormula.cxx:
From Philippe,
This patch implements the schema evolution to and from selected containers.
The following cases are currently implemented:
TClonesArray object -> STL object containing the same type
TClonesArray pointer -> STL pointer containing the same type
STL object -> STL object containing the same type
STL pointer -> STL pointer containing the same type
STL split branches -> TClonesArray
In addition this patch implement the ability to have schema evolution
between various version of a foreign class when the library is not present.
This patch also support in in TTree::Draw for the schema evolution of simple
type stored in a non-split branch.
2004-11-17 18:04 brun
* gpad/src/TCanvas.cxx:
Fix obsolete comments in the the TCanvas header (thanks Bill Love)
2004-11-17 14:18 brun
* g3d/src/TTUBE.cxx:
From Olivier:
- TTUBE::Paint stamp the tube with kANY (we do not want to do further
optimization in the g3d package).
2004-11-17 10:29 rdm
* configure:
added references to CASTOR as the source of libshift. Add link to CASTOR
web page.
2004-11-17 09:46 brun
* meta/src/TStreamerElement.cxx, meta/src/TStreamerInfo.cxx,
meta/src/TStreamerInfoReadBuffer.cxx, tree/src/TBranchElement.cxx,
treeplayer/src/TFormLeafInfo.cxx, treeplayer/src/TTreeFormula.cxx:
Undo changes from Philippe.
The new version was not able to read previous ROOT files, eg files
containing TGeo objects.
2004-11-17 09:45 brun
* gl/src/TGLSceneObject.cxx:
Fix a cast problem reported by gcc2.95
2004-11-17 07:35 brun
* meta/src/TStreamerInfo.cxx:
Fix an undefined variable oldcl in Philippe's code
2004-11-17 07:29 brun
* cont/: inc/TContainerConverters.h, src/TContainerConverters.cxx:
Two new files required by the previous patch from Philippe
2004-11-17 07:02 brun
* base/inc/TBuffer.h, base/src/TBuffer.cxx,
cont/src/TClonesArray.cxx, meta/src/TStreamerElement.cxx,
meta/src/TStreamerInfo.cxx, meta/src/TStreamerInfoReadBuffer.cxx,
metautils/src/TClassEdit.cxx, tree/src/TBranchElement.cxx,
treeplayer/src/TFormLeafInfo.cxx, treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch implements the schema evolution to and from selected containers.
The following cases are currently implemented:
TClonesArray object -> STL object containing the same type
TClonesArray pointer -> STL pointer containing the same type
STL object -> STL object containing the same type
STL pointer -> STL pointer containing the same type
STL split branches -> TClonesArray
In addition this patch implement the ability to have schema evolution
between various version of a foreign class when the library is not present.
This patch also support in in TTree::Draw for the schema evolution of simple
type stored in a non-split branch.
2004-11-16 18:52 brun
* tutorials/: mathBeta.C, mathLaplace.C:
Add new tutorial illustrating the use of TMath::LaplaceDist
Fix minor problems in mathBeta
2004-11-16 18:15 brun
* base/: inc/TMath.h, src/TMath.cxx:
From Anna Kreshuk
Add the Laplace distributions
Double_t LaplaceDist(Double_t x, Double_t alpha=0, Double_t beta=1);
Double_t LaplaceDistI(Double_t x, Double_t alpha=0, Double_t beta=1);
2004-11-16 15:50 brun
* config/Makefile.win32:
Add -D__INSIDE_CYGWIN__ to CXXFLAGS. This is required when compiling with the Castor/RFIO
latest sources on CYGWIN
2004-11-16 14:17 brun
* g3d/src/TPCON.cxx:
From Olivier:
- TPCON with angles equal to 0 et 360 crashed in X3D and OpenGL
2004-11-16 00:04 brun
* tutorials/mathBeta.C:
From Anna Kreshuk
New tutorial illustrating the new functions TMath::BetaDist and TMath::BetaDistI
2004-11-15 23:28 brun
* base/: inc/TMath.h, src/TMath.cxx:
From Anna Kreshuk:
Add two new functions to TMath:
Double_t BetaDist(Double_t x, Double_t p, Double_t q);
Double_t BetaDistI(Double_t x, Double_t p, Double_t q);
2004-11-15 22:42 brun
* hist/src/TH1.cxx:
Improve comments in TH1::GetRMS and TH1::GetRMSError
(thanks to Anna Kreshuk & Roman Karawatzki)
2004-11-15 17:21 brun
* base/src/TAttFill.cxx:
From Olivier:
- Documentation update (fill patterns > 3100)
2004-11-15 16:17 brun
* treeplayer/src/TTreePlayer.cxx:
Add more comments to TTreePlayer::Scan to mention TTree::SetScanField
and give an example.
2004-11-15 15:59 brun
* gl/: inc/TGLCamera.h, inc/TGLSceneObject.h, inc/TViewerOpenGL.h,
src/TGLCamera.cxx, src/TGLSceneObject.cxx, src/TViewerOpenGL.cxx:
From Timur Pocheptsov
Implement panning in the GL viewer using the up/down/left/right keys
2004-11-15 15:54 brun
* tutorials/invertMatrix.C:
From Eddy Offermann:
After the introduction of the Bnch-Kaufman decomposition for symmetric
matrices, we have to update some comments in the invertMatrix.C
tutorial,
2004-11-15 15:51 brun
* hist/src/TH3.cxx:
Fix an error in TH3::Project3D in case of option like "xy"
(thanks to Y.Fisiak)
2004-11-15 15:44 brun
* gpad/src/TPad.cxx:
From Olivier:
- New hatch styles are also available in PaintBox
2004-11-15 13:35 brun
* gpad/: inc/TPad.h, src/TPad.cxx:
From Olivier:
- New function PaintFillAreaHatches (see the help of this function for
details) to paint hatches with lines. These hatches are visible in PS
files with gv even with anti-aliasing on.
2004-11-15 11:26 brun
* graf/src/TArrow.cxx:
From Ilka:
a fix in TArrow::SavePrimitive for saving the arrow draw option in generated code.
2004-11-15 09:00 brun
* hist/src/TH1.cxx:
Add a few more comments in the section describing the "convention for numbering bins"
2004-11-13 13:58 brun
* physics/src/TRolke.cxx, pyroot/ROOT.py:
Update the comments comparing TRolke with TFeldmanCousins
2004-11-13 08:49 brun
* cint/src/: opr.c, tmplt.c:
From Philippe:
Fix problems reported by Victor with includes using Boost.
One of the problem was the resolution of ::boost::is_function by
G__scopeoperator.
It was assuming that the leading :: meants that the symbol was in the global
namespace.
2004-11-12 23:02 brun
* cont/inc/TSortedList.h:
I forgot TSortedList too
2004-11-12 22:55 brun
* cont/inc/TClonesArray.h:
TClonesArray was forgotten in the previous checkin
2004-11-12 22:51 brun
* cont/: inc/TBtree.h, inc/THashList.h, inc/TList.h,
inc/TObjArray.h, inc/TOrdCollection.h, inc/TRefArray.h,
inc/TSeqCollection.h, src/TBtree.cxx, src/THashList.cxx,
src/TList.cxx, src/TObjArray.cxx, src/TOrdCollection.cxx,
src/TRefArray.cxx:
Implement a sugestion from Eddy Offermann: add constness to
the following functions of the collection classes
AddAfter, AddBefore, After, Before
2004-11-11 21:42 rdm
* meta/src/TDataType.cxx:
AsString() was not correct for the "bool" type. obj->Dump() did not show
any value for booleans.
2004-11-11 19:56 rdm
* net/: inc/TAuthenticate.h, src/TAuthenticate.cxx:
From Gerri:
I have cleaned it up using 'switch' constructs instead of 'if's.
I have also fixed the comment to fgLastError in TAuthenticate.h.
2004-11-11 08:48 brun
* hist/src/TLimit.cxx, physics/src/TFeldmanCousins.cxx,
physics/src/TRolke.cxx:
Add a note from Jan Conrad in the class description of TRolke.
Refer to this note in the class descriptions of TLimit and TFeldmanCousins
2004-11-11 07:06 brun
* cont/src/: TEmulatedCollectionProxy.cxx, TGenCollectionProxy.cxx:
From Philippe:
The new Collection Proxy At was errorneously assuming that At(0) was always
called when a collection is access. This is not true when using when
TTree::Draw.
This patch removes this assumption and a few missing protections.
2004-11-10 21:26 brun
* base/inc/TMath.h:
Remove an extra ";" at the end of the TMath declaration.
This was a left over when TMath was a class instead of a namespace.
Thanks to Robert Hatcher.
2004-11-10 19:10 rdm
* configure:
check in addition to libmysqlclient also for mysqlclient which is used
on Win32.
2004-11-10 17:41 brun
* base/src/TSystem.cxx:
from Philippe:
Fix a portability problem on Solaris
2004-11-10 07:26 brun
* meta/src/TStreamerInfo.cxx:
From Philippe:
Add support for automatic schema evolution when a namespace is added to a class.I think the simpliest way to implement this type of conversion is to
- Add the TStreamerInfo from the old TClass into the new TClass
- Update the TStreamerElement to tell them use the new Class.
I implemented this is in the included patch and I tested it in
roottest/root/io/evolution
Note that (for now) this automatic schema evolution is enabled if and only
if
- the old TStreamerInfo of class T refers to class A
- the current TStreamerInfo of class T refer to class B
- A is NOT loaded (i.e. does not have a CINT dictionary)
- A does not have any scope in its name
- B has the same name as A but is prefixed by a namespace
- B does NOT have a TStreamerInfo for the class versions that A has.
For example A is MyClass and B is MyNamespace::MyClass
2004-11-10 07:22 brun
* base/src/TSystem.cxx, meta/src/TCint.cxx, utils/src/rootcint.cxx:
From Philippe:
The following implements support for autoloading of namespaces as well as
properly ignoring the one that are not needed but listed in a .rootmap
This is tested in roottest/aclic/load
2004-11-09 22:36 rdm
* build/unix/makecintdlls.sh:
use mv instead of cp to get the dll in the correct place on Win32.
2004-11-09 22:02 rdm
* build/unix/makecintdlls.sh:
on Win32 copy cintdlls back to original cint/stl and cint/include directories.
2004-11-09 20:55 rdm
* netx/src/TXNetFile.cxx:
fix printing of ROOT version number.
2004-11-09 18:19 brun
* cint/src/tmplt.c:
From Philippe:
remove a left over debug print statement
2004-11-09 18:18 brun
* x11/src/TGX11.cxx:
From Olivier:
- Protection in TGX11:GetTextExtent: in case the string length is 0 this
function exits with w=h=0 . (Protection proposed by Ursula Berthon)
2004-11-09 17:08 brun
* ged/src/TGedEditor.cxx:
From Ilka:
changes in TGedEditor.
object editors are activated/updated only when the left mouse button is
pressed.
2004-11-09 13:30 brun
* gui/src/TGButtonGroup.cxx:
From Ilka:
fix in TGButtonGroup::SavePrimitive
- the layout manager was not saved if different from vertical/horizontal one.
2004-11-09 07:36 brun
* cint/src/tmplt.c:
From Philippe:
The patch attached solves a problem reported by Yuri Fisiak.
The problem was due to a construct like:
template<class T = double>
class StThreeVector {
template<class X> StThreeVector<T> operator-= (const StThreeVector<X>&);
template<class X> StThreeVector<T>& operator+= (const StThreeVector<X>&);
};
Where the 2nd template function was (partially) confused with a template member
initialization (due to the & and =). [Change 2157 was incomplete]
2004-11-09 07:31 brun
* minuit/src/TMinuit.cxx:
From Philippe
Protection against a possible division by zero when creating the contour graph.
2004-11-08 21:06 brun
* utils/src/rootcint.cxx:
From Philippe:
Fix for a code generation problem reported by George Irwin
2004-11-08 19:44 brun
* cont/inc/TGenCollectionProxy.h:
From Philippe
Fix a portability problem on VC++6
2004-11-08 18:29 brun
* ged/: inc/TGraphEditor.h, src/TGraphEditor.cxx,
src/TH1Editor.cxx, src/TH2Editor.cxx:
From Ilka:
TGraphEditor.h, cxx:
- reorder enum var to use widgets' ids directly in signals/slots
communications
- connect the button-group widget Clicked signal to the slot DoShape
- change the signature of DoMarkerOnOff slot to use directly the sent
info by Toggled signal
- code changes according to these new connections
- cosmetic layout changes of the code according to the ROOT coding rules
- cursor changes to kWatch if the graph has many points and the drawing
takes time
TH1/2Editor.cxx
- do not activate histogram editors if the entries == 0
2004-11-08 10:56 brun
* geom/inc/TGeoArb8.h, geom/inc/TGeoBBox.h,
geom/inc/TGeoBoolNode.h, geom/inc/TGeoCompositeShape.h,
geom/inc/TGeoCone.h, geom/inc/TGeoEltu.h, geom/inc/TGeoHalfSpace.h,
geom/inc/TGeoPara.h, geom/inc/TGeoParaboloid.h,
geom/inc/TGeoPcon.h, geom/inc/TGeoPgon.h, geom/inc/TGeoShape.h,
geom/inc/TGeoSphere.h, geom/inc/TGeoTorus.h, geom/inc/TGeoTrd1.h,
geom/inc/TGeoTrd2.h, geom/inc/TGeoTube.h, geom/inc/TGeoXtru.h,
geom/src/TGeoArb8.cxx, geom/src/TGeoBBox.cxx,
geom/src/TGeoBoolNode.cxx, geom/src/TGeoCompositeShape.cxx,
geom/src/TGeoCone.cxx, geom/src/TGeoEltu.cxx,
geom/src/TGeoHalfSpace.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoPara.cxx, geom/src/TGeoParaboloid.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/TGeoXtru.cxx, geompainter/src/TGeoPainter.cxx:
From Andrei Gheata:
Change names of TGeo functions with confusing names
DistToIn -> DistFromOutside
DistToOut -> DistFromInside
It should be much less confusing since it specifies where the starting
point is supposed to be.
2004-11-08 09:26 brun
* hist/src/TH3.cxx:
In TH3::Project3D set the number of entries of the projection to the number
of entries in the parent histogramif all bins are selected, and to the sum
of the bin contents otherwise.
Add a note about this in TH3::ProjectionZ and TH3::Project3D.
2004-11-07 10:16 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintErrors always draw the horizontal error bar
if the bin content is not null and the error along y is null.
This solves a problem when drawing profile histograms with bins having
only one entry.
2004-11-06 09:09 brun
* pyroot/src/PyROOT.h:
From Wim Lavrijsen
Fix a portability problem on AIX and Siolaris5.7/CC5.2
2004-11-06 07:30 brun
* pyroot/: Module.mk, src/MethodDispatcher.cxx:
From Wim Lavrijsen:
macosx changes attached. It fixes the warning that Eddy observed, as well
as an unheeded warning that comes from the python headers if you install
a "non-framework" python.
2004-11-06 07:28 brun
* cint/src/func.c:
From Philippe
The current version of CINT's printf core dumps on the format:
printf("%*s\n", 2, "Hi mom!");
This fixes the problem.
2004-11-05 23:57 brun
* base/src/TDirectory.cxx:
Add protection in TDirectory::DecodeName sugested by G.Flucke
in case one argument is a null pointer.
2004-11-05 22:18 brun
* cint/src/loadfile.c:
From Philippe
At least on windows, tmpname is woefully inadequate to generate unique names.
In practice, on my windows machine, it always generate the same series of names
making it impossible to run 2 rootcint in parallel in the same directory (worse
because of file system latencies, 2 consecutive rootcint might also trampled on
each other).
I modified G__tmpnam to improve the random nature of the name by appending both
the last 4 digits of the pid and the last 4 digits of the return value of
clock(). I chose (arbitrarily) 4 digits to restrict the length of the
filename.
2004-11-05 18:23 rdm
* netx/src/TXNetConn.cxx:
From Gerri:
Some cleanup was missing in TXNetConn::GetAccessToSrv, the
attached patch should solve the problem. I have also added
a send kROOTD_BYE to avoid spurious error messages on the
server side.
2004-11-05 18:03 brun
* utils/src/rootcint.cxx:
From Philippe
Fix to solve a problem reported by George Irwin
2004-11-05 18:01 brun
* tree/src/: TBranchElement.cxx, TMethodBrowsable.cxx:
From Axel Naumann
TBranchElement now hides non-persistent data members but shows the
corresponding member methods.
2004-11-05 17:37 brun
* matrix/src/: TMatrixDEigen.cxx, TMatrixDSymEigen.cxx:
From Eddy Offermann
a patch to implement limits on the number of iterations
to triangularize a matrix in TMatrixDEigen and TMatrixDSymEigen .
2004-11-05 17:05 rdm
* base/src/ManualBase4.cxx:
From Philippe:
remove removed TVectorProxy.h include.
2004-11-05 15:32 brun
* cont/inc/TCollectionProxy.h, cont/inc/TEmulatedVectorProxy.h,
cont/inc/TVectorProxy.h, cont/inc/TVirtualCollectionProxy.h,
cont/src/TCollectionProxy.cxx, cont/src/TEmulatedVectorProxy.cxx,
meta/src/TStreamerInfoReadBuffer.cxx:
From Markus
I have removed the call
TVirtualCollectionProxy::Streamer()
and
TVirtualCollectionProxy::Resize()
A call to the latter one I thought I have already removed with Rene
some days ago (??) but it did not show up in cvs.
In principle the TVirtualCollectionProxy should now
be sufficiently clean. What may also be questioned are
the calls SetValueClass(), but with this Philippe has
something in mind.
The files
cont/inc/TVectorProxy.h
cont/inc/TEmulatedVectorProxy.h
cont/src/TEmulatedVectorProxy.cxx
should be removed from the cvs head. They are no longer in use.
Their functionality was completely taken over by the
new proxy class(es).
WARNING!!!!
When installing from source, do
rm -f cont/src/G*
rm -f cont/src/TEmulatedVectorProxy.*
make
2004-11-05 14:56 rdm
* tutorials/TestAuth.C:
fix printout to fit in a 80 char wide terminal window.
2004-11-05 14:55 rdm
* krb5auth/src/Krb5Auth.cxx, net/inc/NetErrors.h,
net/inc/TAuthenticate.h, net/src/NetErrors.cxx,
net/src/TAuthenticate.cxx, rpdutils/inc/rpdp.h,
rpdutils/src/rpdutils.cxx, srputils/src/SRPAuth.cxx:
From Gerri:
The patch attached modifies RpdCheckHostsEquiv accordingly
to what we said yesterday (no more creation of new files),
and improves error logging on the client side; in particular
it says when the problem is with file permissions, and it
prints the last error even with gDebug = 0 (suggesting
gDebug > 0 for additional details).
I have also added a protection in TAuthenticate::AuthError()
(it crashed for error codes out of range, which may happen
if the client and server versions differ ...) and fixed a
couple of small problem in rpdutils.cxx .
2004-11-05 14:51 rdm
* net/src/TNetFile.cxx:
From Gerri:
SysStat() was not updated after the change in protocol for the ROOTD_FSTAT
message.
2004-11-05 12:38 brun
* cont/inc/TCollectionProxy.h:
Changes required for SGI/KCC that were forgotten in the previous check in
2004-11-05 12:17 brun
* graf/src/TGraph.cxx:
From Olivier:
- After having executed the following macro, one got an error trying to
set the Y Log scale from the pad pull down menu.
{
double y[3] = {0.1,.8,10};
double x[3] = {1,2,3};
TGraph graph(3,x,y);
graph->Draw("A*");
}
2004-11-05 10:05 brun
* pyroot/: ROOT.py, src/ConstructorDispatcher.cxx,
src/MemoryRegulator.cxx, src/MethodDispatcher.cxx,
src/MethodDispatcher.h, src/MethodHolder.cxx, src/MethodHolder.h,
src/ObjectHolder.cxx, src/ObjectHolder.h, src/PropertyHolder.cxx,
src/PropertyHolder.h, src/PyROOT.h, src/Pythonize.cxx,
src/RootWrapper.cxx, src/Utility.cxx:
From Wim Lavrijsen:
o) support CINT .cd command
o) improved loop optimization
o) make MemoryRegulator weakref friendly
o) removed m_callString, m_name from MethodHolder
o) clean-up casting in Pythonize.cxx
o) confirm linking for destructor callbacks:
MethodDispatcher
ObjectHolder
PropertyHolder
o) undef _FILE_OFFSET_BITS as needed
2004-11-04 23:27 brun
* test/benchLinkDef.h:
Use the option "+" to force the new style Streamer for all classes in bench.
2004-11-04 23:26 brun
* physics/inc/TLorentzVector.h:
Add the following member functions to TLorentzVector
inline Double_t Et2() const;
// Transverse energy squared.
inline Double_t Et() const;
// Transverse energy.
inline Double_t Et2(const TVector3 &) const;
// Transverse energy w.r.t. given axis squared.
inline Double_t Et(const TVector3 &) const;
// Transverse energy w.r.t. given axis.
2004-11-04 19:36 brun
* build/win/bindexplib/bindexplib.cxx:
From Philippe (and Markus)
This patch updates bindexplib to filter only the vector and scalar
destructor (instead of filtering out all the methods returning a void* and
taking an unsigned int.
2004-11-04 13:09 brun
* graf/src/TEllipse.cxx:
From Olivier:
In TEllipse::DrawEllipse take into account the option kNoEdges
2004-11-04 11:51 brun
* cont/: inc/TGenCollectionProxy.h, src/TGenCollectionProxy.cxx:
Remove special case for AIX.
Simplify the inline functions
void read_std_string_pointer(TBuffer& b) {
void write_std_string_pointer(TBuffer& b) {
such that they can be inlined under AIX. The new code is also faster with gcc.
2004-11-04 11:38 brun
* geom/: inc/TGeoManager.h, inc/TGeoMaterial.h,
src/TGeoManager.cxx, src/TGeoMaterial.cxx:
From Andrei Gheata:
TGeoMixture::DefineElement(Int_t iel, Int_t z, Int_t natoms)
proportion by number of atoms is converted now to proportion by mass.
TGeoManager: safety not computed again if the query point is the same
as for the last computed safety.
2004-11-04 11:34 brun
* config/rootrc.in, gpad/src/TPad.cxx:
From Olivier:
- New entry Canvas.PrintDirectory in system.rootrc. The default value is
".". It allows to define the directory in which the files generated from
the TPad "Save" menu item are saved.
2004-11-04 11:09 brun
* gl/src/TGLSceneObject.cxx:
From Timur Pocheptsov
Improvements in drawing the spehere
2004-11-04 10:32 brun
* test/TBench.cxx:
Fix one more portability problem.
2004-11-04 10:18 brun
* test/: TBench.cxx, TBench.h:
Fix some portability problems with namespace
2004-11-04 09:56 brun
* config/rootrc.in:
Add a TSystem plugin for CASTOR
+Plugin.TSystem: ^castor: TRFIOSystem RFIO "TRFIOSystem()"
2004-11-03 23:54 rdm
* net/src/TNetFile.cxx:
fFTP could remain un-initialized.
2004-11-03 23:54 rdm
* thread/src/TThread.cxx:
small code cleanup.
2004-11-03 18:58 brun
* pyroot/src/Utility.h:
Remove an extra comma in an enum (fatal on Solaris)
2004-11-03 18:40 brun
* gl/: inc/TGLSceneObject.h, src/TGLSceneObject.cxx:
From Timur Pocheptsov
Little fix to TGLSphere.
2004-11-03 18:32 brun
* histpainter/src/THistPainter.cxx:
From Olivier:
- With CONT1 option, the contours were not properly sorted if they were
all negative. This is fixed by initializing the variable "first" to
"ncontour-1" instead of "0".
2004-11-03 17:13 brun
* cont/: inc/TCollectionProxy.h, inc/TGenCollectionProxy.h,
src/TEmulatedCollectionProxy.cxx, src/TEmulatedMapProxy.cxx,
src/TGenCollectionProxy.cxx, src/TGenCollectionStreamer.cxx:
From Markus Frank.
Try to solve portability problems on Solaris, sgi/kcc, windows/vc++6 and AIX.
2004-11-03 12:05 rdm
* base/inc/LinkDef2.h:
TMath is now a namespace and not a class anymore.
2004-11-03 12:04 rdm
* rint/src/TTabCom.cxx:
allow tab expansion of functions in a namespace. TMath::<TAB> was not
working, now it is.
2004-11-03 12:03 rdm
* base/: inc/TString.h, src/TString.cxx:
on popular request added:
TString &Remove(EStripType s, char c);
like Strip() but changing string directly.
2004-11-03 09:41 brun
* tutorials/nucleus.C:
Add a new tutorial showing with OpenGL a nucleus with a variable
number of protons and neutrons (default is 40,60).
2004-11-03 09:39 brun
* base/src/TBuffer3D.cxx, geompainter/src/TGeoPainter.cxx:
Modify TgeoPainter::Draw such that when the option "ogl" or "x3d" is specified,
the volume is drawn directly in the 3-d viewer and not in the pad.
Corresponding changes in TBuffer3D::Paint
2004-11-02 22:51 brun
* cont/inc/TCollectionProxy.h,
cont/src/TEmulatedCollectionProxy.cxx,
cont/src/TGenCollectionProxy.cxx,
cont/src/TGenCollectionStreamer.cxx, tree/inc/TBranchElement.h,
tree/src/TBranchElement.cxx, utils/src/rootcint.cxx:
From Markus Frank:
I have produced an updated version of the Proxies, rootcint and
Tbranchelement:
- Avoid compilation errors on VC++6 (AIX still has to be seen),
but probably the problems there are similar.
- Fix the errors reported by Philippe:
> TFile *_file0 = TFile::Open("mksm.root");
> mk->Draw("iem.mt","","",2,22);
> cd roottest/root/io/newstl
> root.exe -b -l 4-01-03/vector.root
> root [] stltree->GetEntry(0);
> root [] stltree->GetEntry(1);
> Or
> cd roottest/root/treeformula/parse
> root.exe -b -l runBoolOrder.C
There is a bit a nasty side effect:
sets and maps maybe split, but all members are
read at once. This however should not affect
the persistent schema and can be subject of
further investigations.
I compiled the stuff on VC6, VC7 and gcc323.
- bench executed on all three
- roottest/root/io/newstl executed on WIN32/VC7.
Note: bench and newstl are supposed to __FAIL__
on VC6 due to the lousy map implementation with
static storage.
2004-11-02 18:25 rdm
* thread/src/TPosixThread.cxx:
fix warning on MacOS X.
2004-11-02 17:55 brun
* base/inc/TBuffer3D.h, g3d/src/TSPHE.cxx, geom/src/TGeoSphere.cxx,
gl/inc/TGLSceneObject.h, gl/src/TGLSceneObject.cxx,
gl/src/TViewerOpenGL.cxx:
From Olivier:
In the OpenGL viewer, simple spheres are now drawn with the
specialized OpenGL function gluSphere.
2004-11-02 17:35 brun
* test/bench.cxx:
Add a program option to stream objects memberwise (default is objectwise)
// run with
// bench
// or
// bench -m to stream objects memberwise
2004-11-02 17:24 brun
* tree/src/TBranchElement.cxx:
Several fixes in TBranchElement.
-in GetEntry remove the special code for STL Allocating the buffers
-move part of this code in ReadLeaves
-in the constructor, do not split STL collections that are
associative containers (this will be implemented later)
2004-11-02 17:21 brun
* meta/src/TStreamerInfoReadBuffer.cxx:
In TStreamerInfo::ReadBuffer use proxy->Allocate instead of proxy->Resize
in case of STL containers. calling Resize was wrong for associative
containers.
2004-11-02 14:09 rdm
* thread/src/TPosixThread.cxx:
From Bertrand:
fix setting join id.
2004-11-02 14:07 rdm
* thread/inc/LinkDef.h, thread/inc/TThread.h,
thread/inc/TWin32Condition.h, thread/inc/TWin32Mutex.h,
thread/inc/TWin32Thread.h, thread/inc/TWin32ThreadFactory.h,
thread/src/TThread.cxx, thread/src/TWin32Condition.cxx,
thread/src/TWin32Mutex.cxx, thread/src/TWin32Thread.cxx,
thread/src/TWin32ThreadFactory.cxx, Makefile, configure,
thread/Module.mk:
From Bertrand Bellenot:
added thread support for Win32. Like on Linux it is enabled by default
and can explicitely turned off via ./configure --disable-thread.
2004-11-02 11:15 rdm
* configure:
build by default the Python module now that it works without the
explicitlink option.
2004-11-02 11:13 rdm
* pyroot/: ROOT.py, src/MethodHolder.cxx, src/Utility.cxx,
src/Utility.h:
From Wim Lavrijsen:
o) remove need for explicitlink under Linux
o) fix char and unsigned returns
o) solve string module/string class clash
o) copy STL string by object on return, as needed
2004-11-02 08:18 brun
* configure:
Do not trigger explicitlink when python is enabled.
2004-11-02 00:09 brun
* cont/src/TEmulatedCollectionProxy.cxx:
From Markus
Fix in TEmulatedCollectionProxy::Resize.
With this fix, roottest/root/io/newstl works again.
2004-11-01 13:26 brun
* cont/: inc/TCollectionProxy.h, src/TCollectionProxy.cxx,
src/TEmulatedCollectionProxy.cxx, src/TEmulatedMapProxy.cxx,
src/TGenCollectionProxy.cxx:
Reimplement the logic computing offsets to key/value in case
of normal compiled collections and also for emulated collections.
2004-11-01 12:14 rdm
* cont/src/TGenCollectionProxy.cxx:
in DeleteItem(): if offset!=0 need to align address using:
addr += sizeof(void*)-offset
2004-11-01 09:52 brun
* cont/src/TGenCollectionProxy.cxx:
A more general algorithm to compute the offset (key,value) is
introduced in TGenCollectionProxy::DeleteItem
2004-11-01 08:20 brun
* cont/src/TGenCollectionProxy.cxx:
Cleanup code to follow ROOT conventions
2004-10-31 15:22 brun
* test/bench.cxx:
With the fix in TGenCollectionProxy::DeleteItem we can remove
the special case for alpha.
2004-10-31 15:21 brun
* cont/src/TGenCollectionProxy.cxx:
In TGenCollectionProxy::DeleteItem we must make sure that the value object
is aligned to a multiple of 8 bytes on 64 bit machines. It was wrong to add
fKey->Size to the current pointer. An additional test to guarantee
the alignment must be done.
With this fix, the bench test program runs on alpha.
2004-10-31 10:28 brun
* tree/: inc/TChain.h, src/TChain.cxx:
Add an optional argument to TChain::AddFile.
By default the chain loads a Tree from the file having the name
specified in the Tree constructor. If the argument is specified,
it will override the default.
2004-10-31 10:17 rdm
* test/bench.cxx:
remove unused arguments argc and argv.
2004-10-30 18:11 brun
* test/bench.cxx:
Cleanup the test bench.cxx. Normalize all values to 600 rootmarks on pcbrun.
2004-10-30 09:43 brun
* gl/src/TViewerOpenGL.cxx:
In the constructor replace call to gClient->GetRoot by gClient->GetDefaultRoot
2004-10-30 09:30 brun
* gui/src/TGClient.cxx:
Initialize gClient to 0
2004-10-30 08:26 brun
* pyroot/: ROOT.py, inc/TPython.h, src/MethodHolder.cxx,
src/PropertyHolder.cxx, src/PyBufferFactory.cxx,
src/PyBufferFactory.h, src/Pythonize.cxx, src/RootModule.cxx,
src/RootWrapper.cxx, src/RootWrapper.h, src/TPyClassGenerator.cxx,
src/TPython.cxx, src/Utility.cxx, src/Utility.h:
From Wim Lavrijsen
o) allow CINT-style commands .x, .! and .q
o) add gPad to __all__ in ROOT.py
o) simplify Pythonize.cxx through better use of Python C-API
o) add __cmp__ for TObject in Pythonize.cxx
o) allow '0' where a pointer is expected
o) class level enum support
o) global enum support (removed color enums from ROOT.py)
o) allow python functions without parameters for TF1
o) minimum python version set to 2.2 (was 2.1)
o) allow dynamic size checking in python buffers
o) fixed caching for TTree named access
o) follow ROOT conventions more closely in public .h files
o) return python int for int (instead of python long)
o) no longer treat gStyle, gRandom, etc. as special
2004-10-29 21:08 brun
* README/CREDITS:
Add Markus Frank to the CREDITS file for his substantial contribution
to the generalized STL I/O and TTree branch splitting for STL collections.
2004-10-29 20:03 brun
* cont/inc/TCollectionProxy.h, cont/inc/TEmulatedCollectionProxy.h,
cont/inc/TEmulatedMapProxy.h, cont/inc/TEmulatedVectorProxy.h,
cont/inc/TGenCollectionProxy.h, cont/inc/TGenCollectionStreamer.h,
cont/inc/TVectorProxy.h, cont/inc/TVirtualCollectionProxy.h,
cont/src/TCollectionProxy.cxx,
cont/src/TEmulatedCollectionProxy.cxx,
cont/src/TEmulatedMapProxy.cxx, cont/src/TGenCollectionProxy.cxx,
cont/src/TGenCollectionStreamer.cxx, meta/src/TClass.cxx,
meta/src/TGenericClassInfo.cxx, test/TBench.cxx, test/TBench.h,
test/bench.cxx, test/benchLinkDef.h, tree/src/TBranchElement.cxx,
tree/src/TTree.cxx, utils/src/RStl.cxx, utils/src/rootcint.cxx:
from Markus Frank (main work) + Philippe & Rene
Add support for all STL collections, including collections
of collections.
TTree has been extended to support split mode for most STL
collections.
The test program bench.cxx/TBench.cxx has been extended to test
STL collections of objects or pointers.
2004-10-29 18:08 brun
* cint/inc/G__ci.h:
From Philippe:
the activation of G__UNADDRESSABLEBOOL is disabled
2004-10-29 18:07 rdm
* asimage/Module.mk, base/inc/RConfig.h, base/inc/TBuffer.h,
base/src/TDirectory.cxx, base/src/TMath.cxx,
config/Makefile.hpuxacc, config/Makefile.hpuxia64acc,
freetype/Module.mk, gl/Module.mk, gpad/src/TPad.cxx,
meta/inc/TClass.h, meta/inc/TStreamerInfo.h, meta/src/TClass.cxx,
metautils/inc/TClassEdit.h, newdelete/src/NewDelete.cxx,
table/src/TTable.cxx, treeplayer/inc/TBranchProxyDirector.h:
Mods for port to latest aCC on HP-UX 11.5i. Most changes are related
to aCC now being standards compliant (STL container in proper std
namespace, etc.).
2004-10-29 18:02 rdm
* Makefile, configure:
Port to HP-UX ia64.
Also added fix for correclty building asimage in case not a single
external graphics support lib is found. In that case will build
the built-in versions of these libs (png, gif, jpg).
2004-10-29 17:59 rdm
* cint/: Module.mk, inc/G__ci.h, inc/accstrm.h,
iosenum/iosenum.hpuxia64acc, src/Api.cxx, src/DataMbr.cxx,
src/accstrm.cxx, src/init.c, src/newlink.c:
Mods for port to latest aCC on HP-UX 11.5i (target hpuxia64acc).
2004-10-29 17:58 rdm
* cint/lib/accstrm/: Makefile, README.txt, fstrm.h, iostrm.h,
linkdef.h, sstrm.h:
iostream port to latest HP-UX aCC.
2004-10-29 15:57 brun
* ged/src/: TH1Editor.cxx, TH2Editor.cxx:
From Ilka:
TH2Editor:
The line:
fPad->GetCanvas()->Selected(fPad, fHist, 0);
is replaced by:
fModel = fHist;
Refresh();
to avoid calling SetModel method of all object editors.
Refresh() method updates the current GUI according to new object attributes.
I did not remove the replaced code, just I have commented it.
2004-10-29 10:46 brun
* main/src/hadd.cxx:
Workaround to define a large constant (100 Gbytes) on some compilers
2004-10-29 09:12 brun
* main/src/hadd.cxx:
hadd can now merge files into a big file up to 100 Gbytes by default.
2004-10-29 08:16 brun
* cint/src/struct.c:
From Philippe:
Update to CINT to not count separately several calls to
using namespace XYZ;
for the same namespace.
With this patch, the only thing needed to parse CLHEP 1.9 is a new version
of CLHEP_HepMC.h and CLHEP_HepPDT.h
2004-10-28 19:12 rdm
* net/src/TSocket.cxx:
From Gerri:
fix a problem that in some cases was duplicating
the protocol string passed to the T(P)Socket constructor in
CreateAuthSocket.
2004-10-28 14:30 rdm
* cint/: inc/BaseCls.h, inc/DataMbr.h, inc/G__ci.h, inc/common.h,
inc/fproto.h, inc/global.h, lib/posix/posix.h, lib/pthread/setup,
lib/vc7strm/iostrm.h, src/BaseCls.cxx, src/DataMbr.cxx, src/disp.c,
src/expr.c, src/func.c, src/global2.c, src/ifunc.c, src/inherit.c,
src/init.c, src/opr.c, src/pcode.c, src/tmplt.c, src/var.c:
import of CINT 5.15.156.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2004-10-28 13:02 brun
* tutorials/zones.C:
Simplify tutorial zones.C, taking advantage of the new functionality
in TPad::Divide.
2004-10-28 13:01 rdm
* gui/src/TGTextEntry.cxx:
From Ilka:
fix the blinking cursor appearence in a disabled text entry.
Thanks to Lutz (Root talk forum).
2004-10-28 12:53 brun
* gpad/src/TPad.cxx:
Extend the functionality of TPad::Divide when xmargin=0 and ymargin=0.
In this case the pad is divided with no space between the subpads.
The size of each useful frame inside each pad is identical.
eg, try the following script:
void divpad(Int_t nx=3, Int_t ny=2) {
TCanvas *c1 = new TCanvas("c1");
c1->Divide(nx,ny,0,0);
Int_t number = 0;
TH1F *h = new TH1F("h","h",100,-3.3,3.3);
h->GetXaxis()->SetLabelFont(53);
h->GetXaxis()->SetLabelSize(10);
h->GetYaxis()->SetLabelFont(53);
h->GetYaxis()->SetLabelSize(10);
h->SetMaximum(30*nx*ny);
h->SetFillColor(42);
for (Int_t i=0;i<nx*ny;i++) {
number++;
c1->cd(number);
h->FillRandom("gaus",1000);
h->DrawCopy();
}
}
2004-10-27 19:46 brun
* histpainter/src/THistPainter.cxx:
From Olivier:
- In PaintContour, the first contour was missing when the data set was
painted with option CONT. This problem was introduced by the fix done by
Rene in revision 1.148. BUT, without that fix (1.148), the macro
FirstContour.C doesn't work. This new patch fixes both problems
(missing contour and FirstContour.C not working).
2004-10-26 12:12 brun
* tutorials/latex4.C:
New tutorial showing greek letters and variants (from Olivier)
2004-10-26 11:39 rdm
* gui/inc/TGMdiMainFrame.h, gui/src/TGFrame.cxx,
gui/src/TGMdiMainFrame.cxx, gui/src/TRootEmbeddedCanvas.cxx,
guibuilder/src/TRootGuiBuilder.cxx:
From Valeriy:
- Disable editting GuiBuilder popup menus. That fixes undesirable effect
discribed by Ilka "2-click on the main frame-->Window menu/Cascade-->click
on the main frame title Properties tab shows the popup menu frame21
as selected one".
- Fix handling hot keys in GuiBuilder menu bar, menus, e.g. Alt-F, Alt-W.
- TGMdiMainFrame::SetCurrent(TGMdiFrame*) signal added, which
emittied when mdi frame is chosen/map_raised by mouse clicking on mdi title.
That allows to fix an effect discribed by Ilka
"Click on a main frame title bar does not make this frame selected".
- Fix "Ctrl-O" handling in GuiBuilder. Previously it had "Save As" dialog
title instead of "Open ..".
- Forbid Ctrl-S handling if there is no active mdi frame. That fixes an
segv. violation discribed by Ilka when one wants to "SaveAs" GuiBuilder
itself.
- Fix name clashes when TRootEmbeddedCanvas saved. It was discovered
when Cut&Paste embedded canvases during gui building.
2004-10-26 11:38 brun
* gpad/src/TCanvas.cxx:
In TCanvas::Streamer remove the list of colors from the list of primitives
once the primitives have been streamed.
2004-10-26 10:51 brun
* graf/src/TLatex.cxx:
From Olivier,
Update the gif file showing all new greep characters
2004-10-26 10:15 brun
* geom/src/TGeoVolume.cxx:
From Andrei Gheata & Andreas Morsch
The previous fix in TGeoVolume::Divide was not correct.
The medium of the current volume was flagged by mistake.
2004-10-26 10:08 brun
* base/src/TROOT.cxx, gpad/src/TCanvas.cxx:
The list of colors is now named "ListOfColors"
The list of colors is saved with the canvas list of primitives.
The name is used to retrieve the list in the reading program.
2004-10-26 10:07 brun
* gpad/src/TPad.cxx:
Protect TPad::PaintBorder in case the color referenced dose not exist.
(case may happen when the canvas has been raed from an old ROOT version).
2004-10-26 09:06 brun
* gpad/src/TPad.cxx:
Fix in TPad::RedrawAxis. Use Draw (not DrawCopy) for the fake histogram
used to repaint the axis. The previous implementation prevented editing
the original histogram.
2004-10-25 19:19 brun
* graf/src/TLatex.cxx:
From Olivier:
- The Greek characters table is now complete. Some of the Greek capital
letters were missing. Some special Greek letter, like varUpsilon, have
been added. The list is now:
#alpha #beta #chi #delta #varepsilon #phi #gamma #eta #iota #varphi
#kappa #lambda #mu #nu #omicron #pi #theta #rho #sigma #tau #upsilon
#varomega #omega #xi #psi #zeta #Alpha #Beta #Chi #Delta #Epsilon #Phi
#Gamma #Eta #Iota #vartheta #Kappa #Lambda #Mu #Nu #Omicron #Pi #Theta
#Rho #Sigma #Tau #Upsilon #varsigma #Omega #Xi #Psi #Zeta #varUpsilon
#epsilon
2004-10-25 17:43 rdm
* README/CREDITS:
Added Timur Pocheptsov, advanced OpenGL viewer.
2004-10-25 17:41 rdm
* gl/src/TGLKernel.cxx:
comment out glLightModeli call in TGLKernel ctor. Causes bus error on
MacOS X. Let Timur verify this has no side effects.
2004-10-25 16:54 rdm
* base/src/TVirtualPerfStats.cxx:
make EventTypeNames const char* (was char*).
2004-10-25 14:39 rdm
* gui/src/TGLayout.cxx:
remove warning about unreachable code.
2004-10-25 14:06 rdm
* gui/inc/TGFrame.h, gui/inc/TGMdiFrame.h, gui/inc/TGWindow.h,
gui/src/TGButton.cxx, gui/src/TGFrame.cxx,
gui/src/TGMdiDecorFrame.cxx, gui/src/TGMdiMainFrame.cxx,
gui/src/TRootCanvas.cxx, gui/src/TRootEmbeddedCanvas.cxx,
guibuilder/inc/TGuiBldDragManager.h,
guibuilder/inc/TGuiBldQuickHandler.h,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBldQuickHandler.cxx,
guibuilder/src/TRootGuiBuilder.cxx:
From Valeriy:
- TGFrame::MustCleanup now returns Int_t value (was Bool_t).
Backward compatible.
- Int_t TGWindow::MustCleanup method added.
- TGTextButton dtor. Checking added. If kDeepCleanup is on call
of GetMainFrame() gave segv.
- in TGMainFrame handing Ctrl-S it was not possible to save macro
in other directory than the current.
- The same fix as above for ROOT GuiBuilder. Thanks to
Christian Stratova for reporting it.
- TGMdiDecorFrame now using hierarchical cleaning. That fixes
many memory leaks and improves robustness of GuiBuilder.
- TRootCanvas/TRootEmbeddedCanvas - disable swithching to
editable mode (canvas became black after that) for container frame.
- Gui Builder highlights any plain composite frame under pointer.
Protection added that highlighted frame exists and is a ROOT frame.
- improvements in TGuiBldQuickHandler. Sometimes it gave segv.
2004-10-25 12:51 brun
* main/src/h2root.cxx:
Increase maximum size authorized for a branch name from 32 to 512 bytes.
2004-10-24 08:21 brun
* matrix/: inc/TMatrixD.h, inc/TMatrixDBase.h, inc/TMatrixDSym.h,
inc/TMatrixF.h, inc/TMatrixFBase.h, inc/TMatrixFSym.h,
src/TMatrixFSym.cxx:
From Eddy Offermann
1) Once again update for the TMatrixFSym where I had forgotten
to insert the double precision updates.
2) I noticed that in the past I had forgotten to add a patch
from TMatrixD::Use to TMatrixF::Use (but I had done it for
TMatrixD/FSym)
3) Roll back your version number increases . I tested the old numbers
extensively by writing in 4.00/08f and reading with the latest .
2004-10-24 08:08 brun
* pyroot/src/MethodHolder.cxx:
From Wim Lavrijsen:
o) prevent strings from being tested for void* array compatibility in
overload resolution (they're not compatible, as string need to be
copied, not passed by address): attempted convert now always fails
2004-10-23 22:19 brun
* matrix/inc/TMatrixD.h, matrix/inc/TMatrixDBase.h,
matrix/inc/TMatrixDSym.h, matrix/inc/TMatrixF.h,
matrix/inc/TMatrixFBase.h, matrix/inc/TMatrixFSym.h,
matrix/src/TMatrixD.cxx, matrix/src/TMatrixDBase.cxx,
matrix/src/TMatrixDSym.cxx, matrix/src/TMatrixF.cxx,
matrix/src/TMatrixFBase.cxx, matrix/src/TMatrixFSym.cxx,
test/stressLinear.cxx:
From Eddy Offermann:
The matrix updates:
- Added support to do in one operation A*B^T . A*B and A^T*B were
already available . This allows new constructors like
TMatrixD/F(a,TMatrixD/F::kMultTranspose,b)
- Introduced in TMatrixD/FSym 3 new similarity operations . They could
be done by brute-force multiplying the matrices but the final result
could then not take advantage that the matrix is symmetric . The
operations are:
TMatrixDSym &Similarity (const TMatrixD &n); // n * (*this)*n^T
TMatrixDSym &Similarity (const TMatrixDSym &n);// n_sym *(*this) *n^T
TMatrixDSym &SimilarityT (const TMatrixD &n); // n^T *(*this) * n
- removed bug in TMatrixFSym that prevented correct streaming :
Float_t *fElements; //![fNelems] elements themselves should be
Float_t *fElements; //[fNelems] elements themselves
It was ok in TMatrixDSym
- moved the protected and not streamed data member (this is an
interesting one!!!!)
Double_t fDataStack[kSizeMax]; //! data container
from the base classes to the actual classes .
The idea is and was that for matrices with less than kSizeMax+1 elements
no heap space is allocated and elements are stored on the stack .
This should result in signifant speed improvements for small matrices .
However, it became apparent (at least on my MacOSX G4) that it is only
effective when the data member is in the same class as its pointer fElements .
Moving this member necessitated also moving several (protected)
routines like New_m, Delete_m and Memcpy_m
2004-10-22 23:18 brun
* base/inc/TVirtualFitter.h, fumili/inc/TFumili.h,
fumili/src/TFumili.cxx, minuit/inc/TFitter.h,
minuit/src/TFitter.cxx:
In TVirtualFitter, TFitter and TFumili, rename the recently introduced
function GetNpar to GetNumberTotalParameters to avoid a possible confusion
with the member fNpar in TMinuit that contains the number of free parameters.
2004-10-22 19:43 brun
* test/stressLinear.cxx:
From Eddy Offermann:
Since TDecompBK implementation is
virtual void Det (Double_t &/*d1*/,Double_t &/*d2*/)
{ MayNotUse("Det(Double_t&,Double_t&)");
}
we need a change to stressLinear
2004-10-22 18:19 brun
* hist/src/TProfile.cxx:
In TProfile::SavePrimitive add support for variable bin width profiles.
2004-10-22 17:59 rdm
* asimage/src/libAfterImage.tar.gz:
should fix problem on Alpha.
2004-10-22 17:21 rdm
* gui/inc/TGCanvas.h, gui/src/TGFontDialog.cxx,
gui/src/TGListBox.cxx, gui/src/TGListTree.cxx,
gui/src/TGListView.cxx, gui/src/TRootCanvas.cxx,
gui/src/TRootEmbeddedCanvas.cxx,
guibuilder/inc/TGuiBldQuickHandler.h,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBldQuickHandler.cxx:
From Valeriy:
- now TGViewPort Cleanup method deletes container frame.
- protect TGListBox against double deletion during hierarchical cleaning.
- minor mod in TGListTree. ClassImpQ is obsolete.
- protect TGLVEntry against double deletion during hierarchical cleaning.
- protect TRootEmbededCanvas against double deletion during hierarchical
cleaning.
- protect TRootCanavs against double deletion during hierarchical cleaning.
- TGFontDialog. SetCleanup(kDeepCleanup) aka hierarchical cleaning is used
in destructor.
No segv. occured. That means all frames inside TGFontDialog are
"consistent with hierarchical cleaning".
Now TRootEmbededCanvas deleted without segv. during gui building.
- now TGuiBldQuickHandler is placed centered on parent when map_raised.
- TGuiBldDragManager. Double click on editable frame invokes resize/compact
action of the main-editable frame.
2004-10-22 16:53 brun
* hist/: inc/TH1.h, src/TH1.cxx:
From Anna Kreshuk
Implement the following two functions returning the error on the mean and RMS respectively
Double_t TH1::GetMeanError(Int_t axis) const
Double_t TH1::GetRMSError(Int_t axis) const
2004-10-22 15:03 brun
* base/inc/TVirtualFitter.h, fumili/inc/TFumili.h,
fumili/src/TFumili.cxx, minuit/inc/TFitter.h,
minuit/src/TFitter.cxx:
Add two getter functions:
virtual Int_t GetNpar() const; //return total number of parameters
virtual Int_t GetNumberFreeParameters() const;
2004-10-22 10:03 brun
* base/inc/TVirtualFitter.h, fumili/inc/TFumili.h,
fumili/src/TFumili.cxx, minuit/inc/TFitter.h,
minuit/src/TFitter.cxx, minuit/src/TMinuit.cxx:
Implement a new member function
virtual Bool_t IsFixed(Int_t ipar) const
testing if parameter ipar is fixed or not.
2004-10-22 09:31 rdm
* gpad/src/TPad.cxx, gui/inc/TGCanvas.h, gui/src/TGComboBox.cxx,
gui/src/TGFrame.cxx, gui/src/TGListBox.cxx, gui/src/TGView.cxx:
From Valeriy:
- TGFrame dtor, TGFrame::Cleanup I omitted a call fList->Remove(el);
That caused a lot of problems. I appologize.
- TPad::Print(".gif") - added protection against warnings when loading
libAfterImage. Typo fixed.
- added protection against double deletion in TGComboBox, TGView dtors.
- TGListBoxt::InsertEntry - correct init of TGFrameElement
2004-10-22 09:16 brun
* eg/inc/TParticle.h:
Implement a suggestion from Robert Hatcher
-make the functions "Momentum" and "ProductionVertex" const
2004-10-22 09:12 brun
* matrix/src/TMatrixD.cxx, matrix/src/TMatrixF.cxx,
test/stressLinear.cxx:
From Eddy Offermann:
Patch for a bug in a special case of matrix multiplication: A^T * B
where B is a symmetric matrix .
Updated stressLinear.cxx to test this case .
2004-10-22 09:05 brun
* graf/src/TGraph.cxx:
Add a protection in TGraph::PaintGraph in case a user has inserted the TGraph
in the current directory. In this case, the generated histogram cannot
have the name of the TGraph.
2004-10-21 19:14 rdm
* asimage/src/libAfterImage.tar.gz:
forgot win32/colornames.h.
2004-10-21 18:58 rdm
* gl/src/TGLRender.cxx:
fix for strstream.
2004-10-21 17:19 rdm
* asimage/src/libAfterImage.tar.gz:
From Bertrand:
add support for colors by name in afterbase.c.
2004-10-21 17:11 rdm
* gl/src/TGLRender.cxx:
fix typo.
2004-10-21 17:05 rdm
* gl/src/TGLRender.cxx:
also support ostrstream for older systems (ams ALPHA).
2004-10-21 16:44 rdm
* base/src/TMath.cxx, physics/src/TRobustEstimator.cxx:
fix return value to not depend on just deleted space.
2004-10-21 16:30 rdm
* physics/src/TRobustEstimator.cxx:
fix same memory leak as in TMath::KOrdStat(). Why does this routine have
to be copied in TRobustEstimator?
2004-10-21 16:25 rdm
* gui/src/TGMdiDecorFrame.cxx, gui/src/TGMdiMenu.cxx,
gui/src/TGMenu.cxx, gui/src/TGShutter.cxx, gui/src/TGStatusBar.cxx,
gui/src/TGTab.cxx, guibuilder/src/TRootGuiBuilder.cxx:
From Valeriy:
- add protection against objects double deletion during hierarchical
cleaning, aka SetCleanup(kDeepCleanup);
2004-10-21 16:14 rdm
* asimage/Module.mk:
fix in case system jpeg, png, gif and tiff libs are not found (avoid empty
-I options to the compiler).
2004-10-21 15:58 rdm
* base/src/TMath.cxx:
"delete [] ind;" was never executed in KOrdStatImp().
2004-10-21 15:20 rdm
* asimage/src/libAfterImage.tar.gz:
should fix problem for AMD64 and Sun (tested on sundev).
2004-10-21 15:11 rdm
* asimage/Module.mk:
fix for Opteron, turn off MMX optimization.
2004-10-21 14:07 brun
* gui/src/: TGCanvas.cxx, TGFrame.cxx, TGLayout.cxx, TGListBox.cxx,
TRootBrowser.cxx:
From Valeriy Onuchin:
- in TGContainer::RemoveAll() - TGFrameElements were not deleted.
- in TGComposteFrame dtor. - for all frames and layout hints set frame_elements to ZERO.
- in TGComposteFrame::Cleanup - remove useless code.
- in TGComposteFrame::MapSubwindows - add sanity check.
- in TGLayoutHints::UpdateLayoutHints - small optimization.
-in TGLBContainer - TGFrameElements were not deleted.
-in TRootBrowser::RemoveAll - TGFrameElements were not deleted.
2004-10-21 14:05 rdm
* asimage/src/libAfterImage.tar.gz:
new version with some portability issues fixed (MacOS X, and hopefully
some others too).
2004-10-21 12:04 brun
* guibuilder/src/: TGuiBldDragManager.cxx, TRootGuiBuilder.cxx:
From Valeriy Onuchin:
- fix segv. on GuiBuilder close when some frame is editted.
2004-10-21 12:01 brun
* ged/: inc/LinkDef.h, inc/TArrowEditor.h, src/TArrowEditor.cxx,
src/TAxisEditor.cxx, src/TPadEditor.cxx, src/TPaveStatsEditor.cxx:
From Ilka:
ged/inc/LinkDef.h - added new TArrowEditor
ged/src/TAxisEditor.cxx, TPadEditor.cxx, TPaveStatsEditor.cxx - replaced
dynamic_cast with static one
2004-10-21 11:48 brun
* graf/: inc/TSpline.h, src/TSpline.cxx:
From Anna Kreshuk
Implement the Derivative method in the spline classes
2004-10-21 10:09 brun
* geom/src/TGeoVolume.cxx:
From Andrei Gheata:
a fix (found by Andreas) in TGeoVolume that affected
TFluka. Materials for divisions were not declared as "used" thus never
seen by FLUKA in case the corresponding medium was not used by any other
volume.
2004-10-21 00:32 brun
* asimage/src/TASImage.cxx, asimage/src/TASPaletteEditor.cxx,
base/inc/TVirtualX.h, base/src/TVirtualX.cxx,
win32gdk/inc/TGWin32.h, win32gdk/src/TGWin32.cxx:
From Bertrand Bellenot:
Added TASImage::GetPicture() support on win32
Modified TGWin32::GetWindowSize, in order to handle also pixmaps.
Added new TGWin32 method :
static Pixmap_tDIB2Pixmap(ULong_t bmi, ULong_t bmbits);
allowing to convert a DIB (from libAfterImage) into a Pixmap_t
and declared as :
R__EXTERN Pixmap_t (*gDIB2Pixmap)(ULong_t bmbits, ULong_t bmi);
into TVirtualX.h, to avoid to add thisnew method in TVirtualX class.
It can be easily tested with a macro like this :
{
gSystem->Load("libASImage");
TImage *img = TImage::Open("Alice.jpg");
const TGPicture *pic = img->GetPicture();
TGMainFrame *m = new TGMainFrame(gClient->GetRoot(), 10, 10);
TGPictureButton *btn = new TGPictureButton(m, pic);
m->AddFrame(btn);
m->MapSubwindows();
m->MapWindow();
m->Resize();
}
2004-10-21 00:25 brun
* test/stressLinear.cxx:
Remove double definition of a loop index given problems under VC++6 and hp-ux
2004-10-20 19:07 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Make TF1::GetParLimits const
2004-10-20 16:25 brun
* gui/src/TRootCanvas.cxx:
From valeriy Onuchin:
- xpm, jpg, png, tiff file types to canvas "Save As.. dialog "
2004-10-20 15:48 brun
* gui/src/TRootCanvas.cxx:
From Valeriy Onuchin:
- remove warnings "ASImage does not exist " when canvas is created.
2004-10-20 15:11 rdm
* Makefile, asimage/Module.mk, asimage/src/TASImage.cxx,
asimage/src/TASPaletteEditor.cxx, asimage/src/libAfterImage.tar.gz,
base/inc/TVirtualX.h, base/src/TVirtualX.cxx,
config/Makefile.depend, win32gdk/inc/TGWin32.h,
win32gdk/src/TGWin32.cxx:
From Bertrand:
port of asimage classes to Win32. Includes new version of libAfterImage
that will generate some compiler warnings (known issue) but will hopefully
compile on all platforms (but not yet guarenteed).
2004-10-20 14:00 brun
* graf/: inc/TGraphAsymmErrors.h, inc/TGraphErrors.h,
src/TGraph.cxx, src/TGraphAsymmErrors.cxx, src/TGraphErrors.cxx:
Add constructors accepting TVector and TVectorD
2004-10-20 13:49 rdm
* configure:
fix typo which caused both libgif and libunfig to be in the libASimage.so
link statement.
2004-10-19 21:35 brun
* tree/src/TLeafL.cxx:
Protect TLeafL::ReadValue against a bug/limitation of VC++6
2004-10-19 19:13 brun
* asimage/inc/TASImage.h, asimage/src/TASImage.cxx,
gpad/src/TPad.cxx, graf/inc/TImage.h, gui/inc/TGSlider.h,
gui/src/TGMdiFrame.cxx, gui/src/TRootCanvas.cxx,
guibuilder/src/TRootGuiBuilder.cxx:
From Valeriy Onuchin:
- SetImage(Pixmap_t pxm), SetImage(const TGPicture *pic) added to TImage, TASImage classes
- added possibility to save canvas in xpm, jpeg, png, tiff formats
- set correct default value in TGSlider, TGHSlider, TGVSlider ctors.
- correction in handling Ctrl-S key by TRootGuiBuilder
2004-10-19 19:06 brun
* physics/src/TRobustEstimator.cxx:
Remove unused variables.
2004-10-19 18:47 brun
* meta/src/TStreamerInfoWriteBuffer.cxx:
From Philippe:
Fix for a comopilation problem with VC++6
2004-10-19 18:17 brun
* physics/: inc/TRobustEstimator.h, src/TRobustEstimator.cxx:
Remove more dependencies from this class.
2004-10-19 17:50 brun
* physics/src/TRobustEstimator.cxx:
Remove reference to TPaveLabel introducint a dependency of libPhysics on libGraf.
2004-10-19 17:20 brun
* physics/: inc/TRobustEstimator.h, src/TRobustEstimator.cxx:
From Anna Kreshuk
Replace TmatrixD members by TMatrixDSym
2004-10-19 17:10 brun
* guibuilder/src/: TGuiBldDragManager.cxx, TRootGuiBuilder.cxx:
From Valeriy Onuchin:
- fix cursor appearence after after frame resizing
- initiate gDragManager global in TRootGuiBuilder ctor.
2004-10-19 15:04 brun
* gl/: inc/TGLEditor.h, inc/TGLRender.h, inc/TViewerOpenGL.h,
src/TGLEditor.cxx, src/TGLRender.cxx, src/TViewerOpenGL.cxx:
From Timur Pocheptsov
I removed Mod menu and now one can use left, middle and right mouse
buttons. I added Apply to Family button.
2004-10-19 13:00 brun
* base/inc/TBuffer.h, base/src/TBuffer.cxx,
meta/inc/TStreamerInfo.h, meta/src/TStreamerInfo.cxx,
meta/src/TStreamerInfoReadBuffer.cxx,
meta/src/TStreamerInfoWriteBuffer.cxx:
From Philippe:
implements MemberWise streaming for collection with a
TVirtualCollectionProxy and whose content is splittable (i.e. guaranteed
homogeneous).
In this first implementation, objectwise streaming is still the default.
To activate memberwise streaming, call the static function
TStreamerInfo::SetStreamMemberWise(kTRUE);
2004-10-19 12:07 rdm
* test/RootShower/Physics.hlp:
add file with binary flag.
2004-10-19 12:07 rdm
* test/RootShower/Physics.hlp:
remove and replace with a new version which is checked-in as binary
file.
2004-10-18 23:19 brun
* test/RootShower/: Physics.help, Physics.hlp:
Must be Physics.hlp instead of Physics.help
2004-10-18 23:13 brun
* test/RootShower/: Physics.cnt, Physics.help, RSHelptext.cxx,
RSVersion.h, RootShower.cxx:
From Bertrand Bellenot:
Two new files for win32 users : Physics.hlp and Physics.cnt
(used with help->physics recalls menu entry)
+ Modifications into RootShower.cxx showing how touse
these winhelp32 files (as any other win32 external app).
++ Code cleaning &duplicates removal.
2004-10-18 23:07 brun
* treeplayer/inc/: TBranchProxy.h, TBranchProxyTemplate.h:
From Philippe:
This patch fix a problem with the compilation of the generated proxy on
Windows.
2004-10-18 17:59 brun
* guibuilder/src/TGuiBldDragManager.cxx:
From Valeriy Onuchin:
- fix compilation warnings for TGuiBldDragManager.cxx
2004-10-18 17:42 brun
* hist/inc/TH1.h:
Protect TH1::GetBufferLength in case fBuffer==0
2004-10-18 17:28 brun
* geom/inc/TGeoManager.h, geom/inc/TGeoVolume.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoManager.cxx,
geom/src/TGeoShape.cxx, geom/src/TGeoVolume.cxx,
geompainter/inc/TGeoPainter.h, geompainter/src/TGeoPainter.cxx:
From Andrei Gheata:
- new TGeoManager::SetVisDensity() to set treshold for invisible volumes
by density. By default is 0, meaning the feature is disabled (one sees
everything)
- additional cleanup in TGeoPainter. 3D viewing is now possible in
parallel with raytracing.
- minor fixes in automatic visible depth computation
2004-10-18 17:23 brun
* config/: mimes.unix.in, mimes.win32.in:
From Valeriy Onuchin:
- fix typo in root.mimes
2004-10-18 17:22 brun
* gui/src/TGButton.cxx, guibuilder/src/TRootGuiBuilder.cxx,
icons/bld_image.xpm:
From Valeriy Onuchin:
- TGPictureButton is added to GuiBuilder widget pallete.
TGPictureButtons now can be created via widget pallete or
just by browsing xpm,gif,jpeg,png,tiff files with TBroswer
- Increase a size of TGuiBuilder
- minory fixes in TGuiBuilder
- bld_image.xpm (by Leonardo da Vinci ;-) added to ROOT icons
2004-10-18 16:03 rdm
* net/: inc/TMonitor.h, src/TMonitor.cxx:
From Valeriy:
Lutz from http://root.cern.ch/phpBB2/viewtopic.php?t=1196
suggested to add signal TMonitor class which indicates when socket is ready.
o TMonitor class is inherited from TObject and TQObject
o Ready(TSocket * sock) signal is added.
o TMonitor methods made virtual.
Thanks to Hoinki-Lutz
2004-10-18 14:52 brun
* tree/src/TMethodBrowsable.cxx:
From Axel naumann:
Browsable methods may not have a corresponding data member, i.e. if a
member fX, _X, or mX exists, the methods GetX(), getX(), and X() will
not be browsable.
2004-10-18 14:47 brun
* asimage/inc/TASImage.h, asimage/src/TASImage.cxx,
config/mimes.unix.in, config/mimes.win32.in, graf/inc/TImage.h,
gui/inc/TGPicture.h, gui/src/TGPicture.cxx:
From Valeriy Onuchin:
- new method GetPicture added to TImage,TASImage classes
That allows to create TGPicture not only from XPM files but
also from png, jpg, gif, tiff files.
An example, of usage:
TImage *img = TImage::Open("rose512.jpg");
const TGPicture *pic = img->GetPicture();
TGPictureButton *btn = new TGPictureButton(parent, pic)
- TGPicturePool::GetPicture(const char *name, Pixmap_t pxmap) added
That allows to create TGPicture from given pixmap. For example, that will allow,
to create TGPicture from TPad.
- TGPicturePool::GetPicture(const char *name) return picture for supported
image formats xpm, png, jpg, gif, tiff
Now it's possible to create TGPictureButton, TGImageMap from files of these formats.
- default ROOT browser actions changed for png, jpg, gif, tiff files. That allows
to browse these file with TBrowser
2004-10-18 14:32 brun
* gui/src/TGColorSelect.cxx, tree/inc/TLeaf.h, tree/inc/TLeafB.h,
tree/inc/TLeafC.h, tree/inc/TLeafD.h, tree/inc/TLeafF.h,
tree/inc/TLeafI.h, tree/inc/TLeafL.h, tree/inc/TLeafS.h,
tree/inc/TNtuple.h, tree/inc/TNtupleD.h, tree/inc/TTree.h,
tree/src/TBranch.cxx, tree/src/TLeafB.cxx, tree/src/TLeafC.cxx,
tree/src/TLeafD.cxx, tree/src/TLeafF.cxx, tree/src/TLeafI.cxx,
tree/src/TLeafL.cxx, tree/src/TLeafS.cxx, tree/src/TNtuple.cxx,
tree/src/TNtupleD.cxx, tree/src/TTree.cxx:
Implement new function TTree::ReadFile
Long64_t TTree::ReadFile(const char *filename, const char *branchDescriptor)
{
// Create or simply read branches from filename
// if branchDescriptor = "" (default), it is assumed that the Tree descriptor
// is given in the first line of the file with a syntax like
// A/D:Table[2]/F:Ntracks/I:astring/s
// otherwise branchDescriptor must be specified with the above syntax.
//
// A TBranch object is created for each variable in the expression.
// The total number of rows read from the file is returned.
TNtuple::ReadFile has been modified to be consistent with TTree::ReadFile.
New function TLeaf::ReadValue implemented (and in all TLeaf derived classes).
2004-10-18 12:13 brun
* ged/src/: TGedMarkerSelect.cxx, TGedPatternSelect.cxx:
From Ilka:
Changes in TGedMarkerSelect, TGedPatternSelect, TGColorSelect to avoid double
emitting of signals.
2004-10-18 11:10 brun
* gl/: inc/TGLEditor.h, inc/TGLRender.h, inc/TViewerOpenGL.h,
src/TGLEditor.cxx, src/TGLRender.cxx, src/TGLSceneObject.cxx,
src/TViewerOpenGL.cxx:
From Timur Pocheptsov
small update:
- I've added axes.
2004-10-17 22:59 brun
* tree/src/: TBranchElement.cxx, TMethodBrowsable.cxx:
From Axel Naumann,
Fix a problem when navigating between multiple level of objects
when browsing class functions.
2004-10-17 18:31 brun
* gui/src/TGuiBuilder.cxx, guibuilder/src/TRootGuiBuilder.cxx:
From Valeriy Onuchin:
- fix double creation of guibuilderafter callingTGuiBuilder::Instance
(for example, from TBrowser menu).
2004-10-17 13:55 brun
* config/mimes.unix.in, config/mimes.win32.in,
icons/leaf_method_s.xpm, icons/leaf_method_t.xpm,
icons/return_object_s.xpm, icons/return_object_t.xpm,
tree/inc/LinkDef.h, tree/inc/TBranchElement.h,
tree/inc/TMethodBrowsable.h, tree/src/TBranchElement.cxx,
tree/src/TMethodBrowsable.cxx:
From Axel Naumann:
I've written a small patch + one extra class that allows the TBrowser to
browse simple member methods (called "browsable" methods: public, not
pure virtual, const, no args without default value, return type not
void, and none of those Impl/DeclFile/IsA/... methods). Here's what I did:
When TBranchElement::Browse is called,
TBranchElement::GetBrowsableMethods creates a list of browsable methods,
containing an object of type TMethodBrowsable for each browsable TMethod
of the current BranchElement's object (or its clone) and all of its base
classes. This list is needed for deleting these objects when the
TBranchElement ceases to be. All these objects are added to the TBrowser
in TBranchElement::Browse. TMethodBrowsable implements Browse, and calls
TBranchElement::GetTree()->Draw(branchname.methodname).
If a method returns a class object (or a pointer to one) which is known
to ROOT, fReturnClass is set. If that method is browsed, it expands to a
folder, giving access to the returned class's methods.
I added icon for methods - a leaf with a red exclamation mark (as in
"execute!") for methods not returning a class, and a folder with an
exclamation mark for methods returning a class. You are more than
welcome to change them, obviously! :-]
I've put the class TMethodBrowsable into its own source/header file
(instead of adding them to TBranchElement), as it's really only needed
by TBranchElement.cxx, and I wanted to minimize how often the code needs
to be parsed. These two new files are in tree/; dunno whether that's a
good place.
I've tested it on the D0 tmb_trees; works well for them.
2004-10-16 21:46 brun
* matrix/src/TDecompChol.cxx:
Fix several redefinitions of a loop index.
2004-10-16 20:09 brun
* matrix/inc/LinkDef.h, matrix/inc/TDecompBK.h,
matrix/inc/TDecompBase.h, matrix/inc/TDecompChol.h,
matrix/inc/TDecompLU.h, matrix/inc/TDecompQRH.h,
matrix/inc/TDecompSVD.h, matrix/inc/TDecompSparse.h,
matrix/inc/TMatrixD.h, matrix/inc/TMatrixDCramerInv.h,
matrix/inc/TMatrixDEigen.h, matrix/inc/TMatrixDSym.h,
matrix/inc/TMatrixDSymCramerInv.h, matrix/inc/TMatrixDUtils.h,
matrix/inc/TMatrixF.h, matrix/inc/TMatrixFSym.h,
matrix/inc/TMatrixFSymCramerInv.h, matrix/inc/TMatrixFUtils.h,
matrix/inc/TVectorF.h, matrix/src/TDecompBK.cxx,
matrix/src/TDecompBase.cxx, matrix/src/TDecompChol.cxx,
matrix/src/TDecompLU.cxx, matrix/src/TDecompQRH.cxx,
matrix/src/TDecompSVD.cxx, matrix/src/TMatrixD.cxx,
matrix/src/TMatrixDEigen.cxx, matrix/src/TMatrixDSym.cxx,
matrix/src/TMatrixDSymCramerInv.cxx, matrix/src/TMatrixDUtils.cxx,
matrix/src/TMatrixF.cxx, matrix/src/TMatrixFSym.cxx,
matrix/src/TMatrixFSymCramerInv.cxx, matrix/src/TMatrixFUtils.cxx,
test/stressLinear.cxx:
From Eddy Offermann:
- added new decomposition class TDecompBK: Bunch-Kaufman algorithm
this class is designed to decompose real symmetric matrices . Now
we can guarantee that inverse of a symmetric matrix is again
symmetric .
- As a consequence of the introduction of TDecompBK, we added
Invert(..) functionality to TMatrixD/FSym
Also added InvertFast to TMatrixD/FSym which uses Cramer
inversion for matrices <= (6 x 6) , resulting in large speedup
but less accuracy . The necessary routines are encapsulated
in the new TMatrixDSymCramerInv class .
Note of caution :
Unlike the other decompositions, Bunch-Kaufmann does not result
in a triangular matrix of which the determinant is trivially calculated
by multiplying the diagonal elements . As a consequence,
we have to invoke yet another decomposition when the user
requests the determinant .
So Invert() will be roughly twice faster than Double_t *det; Invert(det)
- Changed the algoritm for the Cholesky decomposition so that we
do not need to have a copy of the original matrix around !
After removal of class member fA, increased the version to 2
- Added sorting of eigen -values/-vectors to TMatrixDEigen .
They are now sorted according to Re^2+Im^2 of the (possible)
complex eigenvalues in descending order . TMatrixDSymEigen
already sorted . Since most users use TMatrixD instead of
TMatrixDSym, this will ensure backward compatiblity since
old root contained the symmetric algorithms in TMatrixD .
- Added rank 1 update algorihms : A += alpha * x y^T
(x and y are vectors)
to the non-sparse matrix classes (adding this to sparse
would make this matrix immediately dense :)
- Moved Invert fom TDecompBase to the different decomposition
classes . Reason is that some classes can decompose A(m,n)
where m > n . The result of Invert() is then a "pseudo-invert"
: A_pseudo = (A^T A)^-1 A^T .
- Removed an unfortunate bug in the TMatrixD/FSub class :
both operators
void operator+=(Double_t val);
void operator*=(Double_t val);
performed actually
void operator=(Double_t val);
~
2004-10-16 01:54 rdm
* proof/: inc/TProof.h, src/TProof.cxx:
fix bug in setting status in GetSlaveInfo(). We did not take into account
that there could be more than slave per node (i.e. they have the same
hostname).
2004-10-15 19:44 rdm
* gui/: inc/TGFSContainer.h, src/TGFSContainer.cxx:
provide ClassDef/ClassImp for TGFileItem.
2004-10-15 19:44 rdm
* rootd/src/rootd.cxx:
remove unused variables.
2004-10-15 19:29 rdm
* configure:
From Gerri:
thread spport is needed for xrootd, add check for thread support being enabled.
2004-10-15 19:20 rdm
* winnt/src/TWinNTSystem.cxx:
use new GetPathInfo().
2004-10-15 19:15 rdm
* winnt/inc/TWinNTSystem.h:
fix typo.
2004-10-15 19:10 rdm
* tutorials/guitest.C:
add comments to some routines.
2004-10-15 19:10 rdm
* base/src/TSystemDirectory.cxx, proof/inc/TSlave.h,
proof/src/TSlave.cxx:
cosmetics.
2004-10-15 19:09 rdm
* base/src/TSystemFile.cxx:
remove special ifdef's for old Win32 case.
2004-10-15 19:08 rdm
* gui/src/TGFileDialog.cxx, net/src/TAuthenticate.cxx:
change stat() calls to the new TSystem::GetPathInfo().
2004-10-15 19:07 rdm
* gui/: inc/LinkDef2.h, inc/TGFSContainer.h, src/TGFSContainer.cxx:
remove machine dependent file mode checking code. Also export TGFileItem
to CINT (was not done due to some bug in an old version of CINT).
2004-10-15 19:06 rdm
* gui/src/TGListView.cxx:
add protections in case object is created via default ctor.
2004-10-15 18:55 rdm
* alien/inc/TAlienFile.h, alien/src/TAlienFile.cxx,
base/inc/LinkDef2.h, base/inc/TSystem.h, base/src/TSystem.cxx,
dcache/inc/TDCacheFile.h, dcache/src/TDCacheFile.cxx,
net/inc/TFTP.h, net/inc/TNetFile.h, net/src/TFTP.cxx,
net/src/TNetFile.cxx, rfio/inc/TRFIOFile.h, rfio/src/TRFIOFile.cxx,
rootd/src/rootd.cxx, unix/inc/TUnixSystem.h,
unix/src/TUnixSystem.cxx, winnt/inc/TWinNTSystem.h,
winnt/src/TWinNTSystem.cxx:
introduce a more complete TSystem::GetPathInfo() method that takes a
new FileStat_t structure as argument. This FileStat_t structure mimics the
common struct stat. This allows for full support of the file mode bits
(via the new enum EFileModeMask and the inline function R_ISDIR(), R_ISCHR(),
R_SIBLK(), R_ISREG(), R_ISLNK(), R_ISFIFO() and R_ISSOCK()).
The TSystem derived helper clsses for the remote file access protocols
have been updated too (all already supported struct stat in their POSIX
layers). Modified rootd to also support FileStat_t. With this change we
can get rid of machine dependent file permission checking code in several
places, notably in the TGFSContainer, which now can correctly display
file attributes for remote protocols.
2004-10-15 17:36 rdm
* config/rootrc.in, gui/Module.mk, gui/inc/LinkDef3.h,
gui/src/TGFrame.cxx, gui/src/TRootBrowser.cxx,
gui/src/TRootCanvas.cxx, guibuilder/inc/LinkDef.h,
guibuilder/inc/TGuiBldDragManager.h,
guibuilder/src/TGuiBldDragManager.cxx:
From Valeriy:
add new member (TGLayoutHints *fHints) to TGuiBldAction class.
That allows to specify layout hints for frame created by gui builder,
useful, for example, for allocation of menu/toolbars
2004-10-15 17:34 rdm
* gui/inc/TGuiBuilder.h, gui/inc/TVirtualGuiBld.h,
gui/src/TGuiBuilder.cxx, gui/src/TVirtualGuiBld.cxx,
guibuilder/inc/TGuiBuilder.h, guibuilder/inc/TRootGuiBuilder.h,
guibuilder/src/TGuiBuilder.cxx, guibuilder/src/TRootGuiBuilder.cxx:
rename files:
TVirtualGuiBld -> TGuiBuilder
TGuiBuilder -> TRootGuiBUilder
to start the GuiBuilder one can now simply type:
new TGuiBuilder
2004-10-15 17:30 brun
* geom/inc/TGeoManager.h, geom/inc/TGeoVolume.h,
geom/inc/TVirtualGeoPainter.h, geom/src/TGeoBBox.cxx,
geom/src/TGeoCone.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoParaboloid.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoSphere.cxx,
geom/src/TGeoTorus.cxx, geom/src/TGeoTube.cxx,
geom/src/TGeoVolume.cxx, geom/src/TGeoXtru.cxx,
geompainter/inc/TGeoPainter.h, geompainter/src/TGeoPainter.cxx:
From Andrei Gheata;
- cleanup of all obsolete methods related to the old 3D visualization in
TGeoPainter
- fix in color settings for TGeoPhysicalNode - minor, but touches most
shape.cxx files
- improved visible node counting - it is now automatic and verbose. By
default the visible depth is automatized for 10000 nodes (as before) but
calling gGeoManager->SetVisLevel(n) disables this and switches to old
style. It can be turned on to automatic state by calling
gGeoManager->SetMaxVisNodes(n) (which also updates the current view).
Limitation : nodes are not recount after setting volumes or branches
invisible unless a new Draw() is called.
2004-10-14 12:17 brun
* tree/src/TTree.cxx:
Fix a typo in a printf statement in TTree::SetEntries
2004-10-14 12:09 brun
* guibuilder/src/: TGuiBldDragManager.cxx, TGuiBuilder.cxx:
From Valeriy Onuchin:
- AddInput(kButtonPressMask); for newly allocated frame.
That allows activate "quick edit handler" on double-click.
- "Send Bug Report" entry added to GuiBuilder-Help popup menu.
Clicking on this entry will allow to send bug-report (for a moment
to my email address) directly from a program (I think it's very important feature).
Work on it is in progress.
2004-10-14 09:38 brun
* geom/src/TGeoMaterial.cxx:
From Andrei Gheata;
A small modification allowing to define elements in no matter which
order (it was not possible in the version I've sent yesterday).
2004-10-14 09:23 brun
* gui/src/TRootEmbeddedCanvas.cxx, guibuilder/src/TGuiBuilder.cxx:
From Valeriy Onuchin;
- Protect TRootEmbeddedCanvas::SavePrimitive to avoid object's name clashes.
Such clash happens when TCanvas's name is the same as the TRootEmbeddedCanvas name,
which contains this TCanvas.
it is a quite typical case to assign canvas name to some unique name and
it is convenient to asign it to the TRootEmbeddedCanvas's name (which is
unique). This will also make more easy to find in which TRootEmbeddedCanvas
some canvas is embedded.
- correct Help-"About ROOT Gui Builder" according to ROOT licence
2004-10-13 23:55 brun
* geom/src/TGeoMaterial.cxx:
From Olivier:
TGeoMaterial.cxx didn't compile on VC++ 6 because of a multiple defined index loop (i)
2004-10-13 19:14 brun
* geom/: inc/TGeoMaterial.h, src/TGeoMaterial.cxx:
From Andrei Gheata:
dded a new method to TGeoMixture, allowing definition of elements by
Z/Natoms
2004-10-13 17:46 rdm
* base/: inc/TQCommand.h, inc/TQConnection.h, src/TQObject.cxx:
provide the Print(Option_t*,Option_t*) for the TList derived classes that
implement their own Print().
2004-10-13 17:34 rdm
* proof/: inc/TProof.h, src/TProof.cxx:
add status word to TSlaveInfo to keep track if a slave is active,
not-active or bad. TSlaveInfo::Print() supports now the "active",
"notactive" and "bad" options, e.g.:
gProof->GetSlaveInfo()->Print("", "notactive")
or
gProof->GetSlaveInfo()->Print("opla*", "bad")
are now supported.
2004-10-13 17:30 rdm
* cont/: inc/TCollection.h, inc/TMap.h, src/TCollection.cxx,
src/TMap.cxx:
add a new
Print(Option_t *wildcard, Option_t *option)
method which allows wildcarding and the passing of a dedicated option
for the Print() method of the objects in the container. The existing
TCollection::Print(Option_t *wildcard) does only allow the passing of
the wildcard to the Print() of the contained objects, and that is often
not what is desired.
2004-10-13 14:24 brun
* gui/src/TGCanvas.cxx, gui/src/TGFrame.cxx,
gui/src/TRootEmbeddedCanvas.cxx,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBuilder.cxx:
From Valeriy Onuchin:
- TRootEmbeddedCanvas added to GuiBuilder widgets palette
- slightly modified TRootEmbeddedCanvas::SavePrimitive to avoid name clash
- TGFrame::HandleEvent minor mod to activate guibuilding
- correct TGCanvas::MapSubwindows. Previous implementaion always mapped
scrollbars even if they must be unmapped
2004-10-13 12:14 rdm
* xrootd/Module.mk:
From Gerri:
here was a typo in xroodt/Module.mk preventing kerberos
modules to be build in xrootd.
2004-10-13 12:06 rdm
* treeplayer/src/TSelectorDraw.cxx:
protect another instance of dynamic_casting a 0 pointer. Now stress and
all other tests run with xlC on MacOS X.
2004-10-13 12:06 brun
* treeplayer/src/TTreePlayer.cxx:
Add a new option in TTreePlayer::UnbinnedFit
// = "D" Draw the projected histogram with the fitted function
// normalized to the number of selected rows
// and multiplied by the bin width
2004-10-13 12:04 brun
* hist/src/TH1.cxx:
In TH1::SavePrimitive add support for any type of object added
to the list of functions with its draw option.
In the previous implementation only TF1 and TPaveStats objects
were correctly saved in the generated code.
2004-10-13 07:36 brun
* treeplayer/src/TTreePlayer.cxx:
From Philippe:
revert to use Printf (now that we implemented %lld).
2004-10-12 22:30 brun
* guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBuilder.cxx, icons/bld_hslider.xpm,
icons/bld_vslider.xpm:
From Valeriy Onuchin:
- add horizontal, vertical sliders to GuiBuilder.
- small changes in widget palette
2004-10-12 15:41 rdm
* gui/src/TGFrame.cxx:
From Bertrand:
another patch for groupframes and matrix layouts.
2004-10-12 13:57 brun
* gui/src/TGFrame.cxx:
From Bertrand Bellenot:
There is a problem with TGGroupFrame and TGMatrixLayout.
In TGFrame.cxx, lines 1823-1824 :
if (lm->InheritsFrom(TGHorizontalLayout::Class())) b = fHeight - 1;
else b = fHeight - t;
should be :
if (lm->InheritsFrom(TGVerticalLayout::Class())) b = fHeight - t;
else b = fHeight - 1;
Otherwise, you have strange behaviour
2004-10-12 12:37 brun
* graf/src/: TGraphAsymmErrors.cxx, TGraphBentErrors.cxx,
TGraphErrors.cxx:
Optimize the algorithm in the ComputeRange functions such that in case
the error in X or Y is greater than the X or Y values, a suitable minimum
is taken. This change is important when the TGraph objects are in a TMultiGraph.
2004-10-12 12:28 rdm
* net/Module.mk:
typo.
2004-10-12 11:26 rdm
* net/src/DaemonUtils.cxx:
cosmetics.
2004-10-12 11:25 rdm
* net/Module.mk:
prevent DaemonUtils.h to be processed by rootcint.
2004-10-12 11:25 rdm
* rpdutils/inc/rpddefs.h:
put back in old location.
2004-10-12 11:24 rdm
* net/inc/rpddefs.h:
move back to rpdutils/inc to keep related files together.
2004-10-12 09:45 brun
* vmc/: inc/TGeoMCGeometry.h, inc/TVirtualMC.h,
inc/TVirtualMCGeometry.h, src/TGeoMCGeometry.cxx:
From Ivana:
Added new methods for querying geometry:
Int_t NofVolDaughters(const char* volName) const;
const char* VolDaughterName(const char* volName, Int_t i) const;
Int_t VolDaughterCopyNo(const char* volName, Int_t i) const;
const char* CurrentVolPath();
For backward compatibility, the default implementation is
temporarily provided. To be changed to pure virtual functions
with the next release.
2004-10-12 09:30 brun
* mlp/: inc/TMultiLayerPerceptron.h, src/TMultiLayerPerceptron.cxx:
TMultiLayerPerceptron::Draw has its argument optional (default="")
2004-10-12 09:08 rdm
* net/inc/: DaemonUtils.h, rpddefs.h:
move rpddefs.h to net, add multiple inclusion protection in DaemonUtils.h.
2004-10-12 09:07 rdm
* rpdutils/inc/rpddefs.h:
move to net.
2004-10-12 02:15 rdm
* base/Module.mk:
don't delete ManualBase4.{cxx|h} during distclean.
2004-10-12 00:59 rdm
* cont/src/TList.cxx:
From Kris Gulbrandsen:
fix in After() and Before() to use IsEqual() instead of just pointer
equality.
2004-10-12 00:58 rdm
* cont/: inc/TCollection.h, src/TCollection.cxx:
implement Hash() for TCollections so that objects inheriting from
TCollection can be found by name in a THashList. Also implement Compare()
so that collection in a collection can be sorted by name. Suggested by
Kris Gulbrandsen.
2004-10-12 00:46 rdm
* base/src/TObject.cxx:
reformat some comments.
2004-10-11 23:50 rdm
* net/: inc/AuthConst.h, inc/DaemonUtils.h, src/DaemonUtils.cxx:
add cvs identifier lines.
2004-10-11 23:49 rdm
* rpdutils/inc/: rpddefs.h, rpdp.h:
define kMAXPATHLEN in rpdp.h and not in rpddefs.h (which is also
included in ROOT core and then clashes with TSystem.h kMAXPATHLEN).
2004-10-11 18:27 rdm
* gpad/src/TCanvas.cxx, gui/src/TRootCanvas.cxx:
From Valeriy:
- do not emit Selected signal on kKeyPress event in TCanvas.
2004-10-11 18:25 rdm
* gui/src/TGFrame.cxx, gui/src/TGNumberEntry.cxx,
gui/src/TRootCanvas.cxx, guibuilder/src/TGuiBldDragManager.cxx:
From Valeriy:
- disable activation of editing when GuiBuillder is not initialized.
- disable editing TRootContainer in TRootCanvas.
- disable editing of buttons in TGNumberEntry.
- use Cleanup method in TGNumberEntry destructor.
2004-10-11 18:24 rdm
* net/Module.mk:
make sure DaemonUtils.h is copied to the include/ directory.
2004-10-11 16:36 rdm
* tutorials/: authclient.C, authserv.C:
use cout.
2004-10-11 16:36 rdm
* rpdutils/Module.mk:
From Gerri:
typo: GLBLIBS -> GLBSLIBS.
2004-10-11 16:35 rdm
* pyroot/Module.mk, unix/src/TUnixSystem.cxx,
winnt/src/TWinNTSystem.cxx:
comment cosmetics.
2004-10-11 14:34 rdm
* thread/src/TPosixCondition.cxx:
small typo in comment.
2004-10-11 14:34 rdm
* config/rootrc.in, globusauth/Module.mk,
globusauth/src/GlobusAuth.cxx, net/Module.mk,
net/inc/DaemonUtils.h, net/inc/LinkDef.h, net/inc/NetErrors.h,
net/inc/TPServerSocket.h, net/inc/TServerSocket.h,
net/src/DaemonUtils.cxx, net/src/NetErrors.cxx,
net/src/TAuthenticate.cxx, net/src/TPServerSocket.cxx,
net/src/TPSocket.cxx, net/src/TServerSocket.cxx,
net/src/TSocket.cxx, proofd/src/proofd.cxx, rootd/src/rootd.cxx,
rpdutils/Module.mk, rpdutils/inc/rpddefs.h, rpdutils/inc/rpdp.h,
rpdutils/src/rpdutils.cxx, tutorials/authclient.C,
tutorials/authserv.C:
From Gerri:
Description: patch to support authentication in TServerSocket for
general server application based on ROOT.
New files:
- net/src/DaemonUtils.cxx, net/inc/DaemonUtils.h
wrappers around server-side functions implemented in
rpdutils/src/rpdutils.cxx
- rpdutils/inc/rpddefs.h
common definitions previously in rpdp.h
- tutorials/authserv.C, tutorials/authclient.C
macros to test authentication between to remote ROOT
sessions; see macro headers for instructions.
Patched files:
config:
- rootrc.in
New envs (SrvAuth.<xxx>) to steer authentication in TServerSocket,
reflecting the command lines options to rootd/proofd
globusauth/src:
- GlobusAuth.cxx
Few changes to cope with new socket "type" (i.e. non-rootd or proofd
related).
net:
- Module.mk
Drop DaemonUtils from the list of sources to be compiled;
add definition of DAEMONUTILSO used in rpdutils/Module.Mk
net/inc
- LinkDef.h
Add pragmas for global variables kSrvAuth and kSrvNoAuth, new options
to TServerSocket::Accept
- NetErrors.h
Add new error code kErrBadRTag to indicate unsuccessful verification of
the random tag associated to a token or password exchange
- TPServerSocket.h
Add option to method Accept()
- TServerSocket.h ...
Add option to method Accept() and a few methods, to set, display and
modify the defaults.
Add hooks to authentication code and cleanup code.
Add list of accepted authentication for cleanup at closing.
Add cleanup call in destructor.
Add new method Authenticate().
net/src:
- NetErrors.cxx
Add string for new errord code kErrBadRTag.
- TAuthenticate.cxx
Increase the client protocol number for backward compatibility.
Add support for new server socket "type" sock.
Add send of kROOTD_BYE after failures to avoid warning messages
on the server side.
Add signature of random tags in methods ClearAuth() (for passwords)
and AuthExists (for tokens)
- TPServerSocket.cxx
Add support for authentication in Accept()
- TPSocket.cxx
Add check on the server socket type in constructor
- TServerSocket.cxx
Add support for authentication in Accept().
Implement new method Authenticate() to run authentication; this method
loads dynamically the new library libSrvAuth.so .
Implement methods to manage options.
Add cleanup call in destructor.
- TSocket.cxx
Add support for new server socket type in CreateAuthSocket().
Improved parsing of protocol in CreateAuthSocket().
Improved description in CreateAuthSocket header.
proofd/src:
- proofd.cxx
Add check on the return code of RpdInitSession.
rootd/src:
- rootd.cxx
Add check on the return code of RpdInitSession.
rpdutils:
- Module.mk
Add rules to build libSrvAuth.so
rpdutils/inc:
- rpdp.h
Move const definitions in rpddefs.h
Include rpddefs.h
Add new signature for RpdIntiSession to be used in DaemonUtils.cxx
Add new method RpdSetMethInitFlag to reset from DaemonUtils.cxx
Add new signature for RpdCleanupAuthTab to clean the entry related
to a specified token (called by TServerSocket).
Add return codes to all the authentication-relatd functions.
rpdutils/src:
- rpdutils.cxx
Add static method 'rpdmemset' cleanup properly buffers used
for passwords, avoiding compiler optimizations.
Add static method 'rpdcrypt' to provide some protection when
crypt is not available (preparation for some support for win32gdk)
Add pre-compiler variable R__NOCRYPT to treat those cases.
Add implementation of new methods RpdSetMethInitFlag(int) and
RpdCleanupAuthTab(const char *).
Fix small problem in RpdCleanupAuthTab(const char *, int, int)
for option 'all' causing partial cleanup.
Add generation/ transmission/ check of a random tag in RpdUser and
RpdCheckAuthTab.
Make all authentication functions to return a code instead of
void; drop all 'exit' calls.
Add implementation of special RpdInitSession signature for TServerSocket
2004-10-11 12:30 rdm
* utils/src/rootcint.cxx:
define G__NOCINTDLL when built as rootcint_tmp.
2004-10-11 12:29 rdm
* cint/: inc/BaseCls.h, inc/G__ci.h, inc/common.h, inc/fproto.h,
include/stddef.h, include/stdio.h, include/stdlib.h,
include/time.h, lib/dll_stl/makestr, lib/dll_stl/makevec,
lib/pthread/Makefile, lib/xlib/setup, src/BaseCls.cxx, src/ifunc.c,
src/inherit.c, src/loadfile.c, src/pcode.c, src/tmplt.c,
stl/_algorithm, stl/_bitset, stl/_climits, stl/_deque,
stl/_functional, stl/_iterator, stl/_list, stl/_map, stl/_memory,
stl/_multimap, stl/_multiset, stl/_set, stl/_stack, stl/_string,
stl/_utility, stl/_vector, stl/limits, stl/numeric, stl/queue,
stl/valarray:
import of CINT 5.15.154.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2004-10-08 17:20 brun
* config/: mimes.unix.in, mimes.win32.in:
From Valeriy Onuchin:
- fix small typo in the last mod.
2004-10-08 17:19 brun
* cont/inc/TEmulatedVectorProxy.h, cont/inc/TVectorProxy.h,
cont/inc/TVirtualCollectionProxy.h, tree/src/TBranchElement.cxx,
treeplayer/src/TFormLeafInfo.cxx:
From Philippe:
This patch removes TVirtualCollectionProxy::SetProxy. A new nested class
(TVirtualCollectionProxy::TPushPop) is introduced to help replace SetProxy
and insure that each push is followed by a pop.
2004-10-08 17:17 brun
* physics/src/TRobustEstimator.cxx:
From Anna Kreshuk:
minor changes
2004-10-08 17:14 brun
* cint/stl/: _algorithm, _bitset, _climits, _deque, _functional,
_iterator, _list, _map, _memory, _multimap, _multiset, _set,
_stack, _string, _utility, _vector, limits, numeric, queue,
valarray:
From Philippe:
On windows, library are required to be linked with all their dependencies.
In particular this means that the cintdlls have to be linked against
libCint.dll.
Also the current ROOT build system has an intermediary rootcint executable
which is used for creating the ROOT dictionary. This intermediary
executable is actually build statically (aka directly against the .o files).
The problem is that if this statically linked executable loads the cintdlls,
it also has to load the cintdlls. This results in the presence in memory of
2 version of the CINT data structure ... Which lead to weird, wrong behavior
preventing the generation of the dictionary.
As far as I can tell, the makecint/rootcint phase works as well wethere the
cintdlls are present or not (at least for the ROOT dictionary). Hence to
allow the ROOT Dictionary to be buildable even after the cintdlls have been
generated I added a protection to prevent their loading if we are on windows
AND we are running rootcint/makecint.
2004-10-08 17:09 brun
* geom/inc/TGeoManager.h, geom/src/TGeoManager.cxx,
geom/src/TGeoVolume.cxx, geompainter/src/TGeoPainter.cxx:
Add a new member in TGeoManager
fMaxVisNodes; //maximum number of visible nodes.
with the corresponding Getter and Setter (in menu).
The default value is 10000.
Based on this value, the maximum number of visible levels is computed
when drawing a volume.
2004-10-08 14:14 brun
* config/: mimes.unix.in, mimes.win32.in:
From Valeriy Onuchin:
- default action is changed. That allows to browse
XPM pictures with ROOT browser (very usefull under win32 :-).
That also can be used for creation TGPictureButtons in GUI Builder.
2004-10-08 12:26 brun
* geom/src/TGeoManager.cxx:
From Andrei Gheata;
a new version of TGeoManager fixing the problem with volume
names in aliroot.
2004-10-08 12:25 brun
* win32gdk/gdk/src/glib/: glist.h, gmem.h, gnode.h, gslist.h:
From Valeriy Onuchin:
- fix for very strange name clash.
2004-10-08 12:10 brun
* base/inc/GLConstants.h, gl/inc/LinkDef.h, gl/inc/TGLEditor.h,
gl/inc/TGLRender.h, gl/inc/TViewerOpenGL.h, gl/src/TGLEditor.cxx,
gl/src/TGLRender.cxx, gl/src/TGLSceneObject.cxx,
gl/src/TViewerOpenGL.cxx:
From Timur Pocheptsov
Very nice improvemnts in the OpenGL Viewer, in particular the possibility
to have clipping planes. see HELP button the viewer:
COLOR
After you selected an object or a light source,
you can modify object's material and light
source color.
LIGHT SOURCES.
There are two pickable light sources in
the current implementation. They are shown as
spheres. Each light source has three light
components : DIFFUSE, AMBIENT, SPECULAR.
Each of this components is defined by the
amounts of red, green and blue light it emits.
You can EDIT this parameters:
1. Select light source sphere.
2. Select light component you want to modify
by pressing one of radio buttons.
3. Change RGB by moving sliders
MATERIAL
Object's material is specified by the percentage
of red, green, blue light it reflects. A surface can
reflect diffuse, ambient and specular light.
A surface has two additional parameters: EMISSION
- you can make surface self-luminous; SHININESS -
modifying this parameter you can change surface
highlights.
Sometimes changes are not visible, or light
sources seem not to work - you should understand
the meaning of diffuse, ambient etc. light and material
components. For example, if you define material, wich has
diffuse component (1., 0., 0.) and you have a light source
with diffuse component (0., 1., 0.) - you surface does not
reflect diffuse light from this source. For another example
- the color of highlight on the surface is specified by:
light's specular component, material specular component.
At the top of the color editor there is a small window
with sphere. When you are editing surface material,
you can see this material applyed to sphere.
When edit light source, you see this light reflected
by sphere whith DIFFUSE and SPECULAR components
(1., 1., 1.).
OBJECT'S GEOMETRY
You can edit object's location and stretch it by entering
desired values in respective number entry controls.
SCENE PROPERTIES
You can add clipping plane by clicking the checkbox and
specifying the plane's equation A*x+B*y+C*z+D=0.
2004-10-08 11:10 brun
* physics/src/TRobustEstimator.cxx:
Fix a portability problem on Windows
2004-10-08 11:07 brun
* physics/: inc/LinkDef.h, inc/TRobustEstimator.h,
src/TRobustEstimator.cxx:
From Anna Kreshuk
New class TRobustEstimator
// TRobustEstimator
//
// Minimum Covariance Determinant Estimator - a Fast Algorithm
// invented by Peter J.Rousseeuw and Katrien Van Dreissen
// "A Fast Algorithm for the Minimum covariance Determinant Estimator"
// Technometrics, August 1999, Vol.41, NO.3
//
// What are robust estimators?
// "An important property of an estimator is its robustness. An estimator
// is called robust if it is insensitive to measurements that deviate
// from the expected behaviour. There are 2 ways to treat such deviating
// measurements: one may either try to recongize them and then remove
// them from the data sample; or one may leave them in the sample, taking
// care that they do not influence the estimate unduly. In both cases robust
// estimators are needed...Robust procedures compensate for systematic errors
// as much as possible, and indicate any situation in which a danger of not being
// able to operate reliably is detected."
// R.Fruhwirth, M.Regler, R.K.Bock, H.Grote, D.Notz
// "Data Analysis Techniques for High-Energy Physics", 2nd edition
//
// What does this algorithm do?
// It computes a highly robust estimator of multivariate location and scatter.
// Then, it takes those estimates to compute robust distances of all the
// data vectors. Those with large robust distances are considered outliers.
// Robust distances can then be plotted for better visualization of the data.
//
// How does this algorithm do it?
// The MCD objective is to find h observations(out of n) whose classical
// covariance matrix has the lowest determinant. The MCD estimator of location
// is then the average of those h points and the MCD estimate of scatter
// is their covariance matrix. The minimum(and default) h = (n+nvariables+1)/2
// so the algorithm is effective when less than (n+nvar+1)/2 variables are outliers.
// The algorithm also allows for exact fit situations - that is, when h or more
// observations lie on a hyperplane. Then the algorithm still yields the MCD location T
// and scatter matrix S, the latter being singular as it should be. From (T,S) the
// program then computes the equation of the hyperplane.
//
// How can this algorithm be used?
// In any case, when contamination of data is suspected, that might influence
// the classical estimates.
// Also, robust estimation of location and scatter is a tool to robustify
// other multivariate techniques such as, for example, principal-component analysis
// and discriminant analysis.
2004-10-08 10:00 brun
* hist/src/TH1.cxx:
From Axel Naumann:
I ran into a tiny problem, trying to merge (actually hadd) labelled
histos, where the labels were distributed differently (I was making use
of FindBin(label), adding labels as needed).
The attached patch allows Merge to add histos with labels, where
same-name labels are summed, and new bins with new labels are added to
the histo as needed. So merging is not bin number centric but bin label
centric, if all histos have labels.
This label mode is chosen if all histos have at least one bin with a
label which is != "" or 0. A warning is printed if some of them have
labels, others don't; Merge the falls back to bin number merging.
I also found a tiny bug: with two histos being identical, all bin
contents are added, including the underflow (and the overflow,
accordingly). For that, FindBin(GetBinCenter(0)) is called. But that
rebins the histo, as it's in the underflow range. I protected that by
calling ResetBit(kCanRebin) and afterwards SetBit, if it was set before.
The line has the comment "// reset, otherwise getting the under/overflow
will rebin".
And I removed two unneeded local vars (ibin, bin).
2004-10-08 09:55 brun
* main/src/hadd.cxx:
From Axel Naumann
small improvements to hadd, to protect stupid users like me from running
"hadd myhistos*.root". Now the "-f" flag is needed to recreate an
existing output file. Also, THn::Merge is called instead of Add, as it's
more powerful (rebinning and alike).
And I corrected a little bug concerning file counting on the way.
2004-10-08 09:39 brun
* utils/src/rootcint.cxx:
From Philippe:
Solaris is having problem with 'using namespace std;' done too early. For
now, we just execute it later in the dictionary for solaris.
2004-10-08 09:27 brun
* base/src/TROOT.cxx, unix/src/TUnixSystem.cxx,
winnt/src/TWinNTSystem.cxx:
From Philippe:
This patch insures that when the process is terminated (for example with
.q) the TFile objects are closed before any of the libraries have been
unloaded. Without this protection on some platform (for example windows),
the TStreamerInfos in a file that has not been closed before the termination
can be incorrect.
2004-10-08 07:29 brun
* histpainter/src/THistPainter.cxx:
Remove an empty line in the doc of THistPainter::Paint preventing the correct
generation of the html page.
2004-10-08 07:21 brun
* pyroot/src/: MethodHolder.cxx, RootWrapper.cxx:
From Wim Lavrijsen:
an update after Brett's request:
o) if possible, always auto-downcast
2004-10-08 00:19 brun
* treeplayer/src/TFormLeafInfo.cxx:
From Philippe:
Cosmetic change
2004-10-07 19:15 brun
* cont/inc/TVirtualCollectionProxy.h:
Fix a compilation error
friend TClass
must be
friend class TClass;
2004-10-07 19:10 brun
* treeplayer/src/TTreeFormula.cxx:
From Philippe:
This patch insures that the container TClass is properly found when trying
to looking into a split collection containing non-split sub-objects.
2004-10-07 19:09 brun
* cint/lib/prec_stl/multimap:
From Philippe:
The multimap support file need to be updated for the Microsoft Compiler v7
It needs to takes an allocator for a pair and not just for the key.
2004-10-07 19:08 brun
* cont/: inc/TEmulatedVectorProxy.h, inc/TVectorProxy.h,
inc/TVirtualCollectionProxy.h, src/TEmulatedVectorProxy.cxx:
From Philippe:
This patch add support in TVirtualCollectionProxy for the case where the
TClass object of the value is deleted (for example when loading a library
after opening a corresping TFile).
2004-10-07 19:07 brun
* base/src/TROOT.cxx, meta/src/TClass.cxx,
metautils/src/TClassEdit.cxx, utils/src/rootcint.cxx:
From Philippe:
This patch adds support for the case where stl class are prefixed with std::
(happens in some classes of nested template).
Also handle the fact that std::string can be handled even-though it is not a
collection (in the sense that it does not have a TVirtualCollectionProxy)
and does not have a ShowMembers.
Resolve the problem (on windows) where the dictionary header file was
refering to std containers without the prefix (by insuring that using
namespace std is done early enough).
2004-10-07 16:08 rdm
* gui/src/TGComboBox.cxx:
From Ilka:
minor change in TGLineStyleComboBox ctor to avoid empty space in the combo box.
2004-10-07 12:43 brun
* hist/src/TH1.cxx:
Add an improvement from Vincent Boudry.
A new option "base" in TH1::Print shows the binning info of the histogram
2004-10-07 12:21 brun
* tutorials/: h1analysis.C, h1analysis.h:
Cleanup the h1analysis tutorial
-removing compilation warnings about unused parameters
-add conditional code when running with interpreted code to avoid
a very inefficient execution with CINT due to the new interface with Long64_t
2004-10-07 11:56 rdm
* gui/inc/LinkDef1.h, gui/inc/TGFrame.h, gui/src/TGFrame.cxx,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBldEditor.cxx,
guibuilder/src/TGuiBldQuickHandler.cxx,
guibuilder/src/TGuiBuilder.cxx:
added EFrameCleanup enum to be used in TGCompositeFrame::SetCleanup().
2004-10-07 10:32 brun
* hist/src/TH2.cxx:
From Philippe;
This patch modify the TH2 constructor to take in consideration that the TH1
constructor might have to fix-up the nbinxs parameters (for example when it
is 0).
2004-10-07 10:25 brun
* gui/src/TGFrame.cxx:
From Valeriy Onuchin:
- propagate TGCompositeFrame::SetCleanup(-1) to all child_composite frames.
Comment on using hierarchical cleaning added.
Attention!
Hierarchical cleaning is dangerous and must be used with caution.
There are many GUI components (in ROOT and in user code) which do not
use Clean method in destructor ("custom deallocation").
Adding such component to GUI container which is using hierarchical
cleaning will produce seg. violation when container is deleted.
The reason is double deletion: first when Clean method is invoked,
then at "custom deallocation".
We are going to correct all ROOT code to make it to be
consitent with hierarchical cleaning scheeme.
2004-10-07 10:19 brun
* tree/src/TBranchElement.cxx:
In TBranchElement::Unroll do not split a TClonesArray when it is inside
another TClonesArray itself being in a class being a composite member of a class.
2004-10-07 07:48 brun
* pyroot/Module.mk:
From Wim Lavrijsen
with this change, PyROOT works properly on Windows, Linux, and MacOS,
but the explicitlink is still required for Linux (for autoloading) and is
there anyways for Windows (or ROOT won't compile). It is, however, not needed
for Mac (is even better without).
2004-10-06 16:38 brun
* gui/inc/TGFrame.h, gui/inc/TGWindow.h, gui/src/TGFrame.cxx,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBldEditor.cxx,
guibuilder/src/TGuiBldQuickHandler.cxx,
guibuilder/src/TGuiBuilder.cxx:
From Valeriy Onuchin:
- add more diversity to automatic cleanup procedure.
TGFrame::SetCleanup(Int_t on) now has 3 states:
if on is ZERO - no automatic cleanup
if on = 1 use automatic non-propogative cleaning, i.e. Cleanup method is invoked at frame destructor.
if on = -1 initiate propagative (hierarchical) cleaning , i.e. Cleanup method is invoked
hierarchically for all
child composite frames which were added with TGCompositeFrame::AddFrame method.
Hierarchical cleaning will greatly facilitate GUI components deallocation, e.g. it's actively used in
GuiBulder.
Calling main_frame->SetCleanup(-1) guarantees automatical deletion of all frames and layout hints at
main_frame destructor. This addon is backward compatible.
2004-10-06 16:18 brun
* gui/src/TGFrame.cxx:
From Valeriy Onuchin:
- correction for TGMainFrame::SaveSource("","") case.
2004-10-06 15:07 rdm
* build/unix/compiledata.sh, build/unix/makelib.sh,
config/Makefile.macosx, config/Makefile.macosxxlc, main/Module.mk,
meta/inc/TStreamerInfo.h, test/Makefile.arch:
From Fed and me:
fixes to compile on MacOS X with the IBM xlC compiler. We are almost
there root benchmarks.C works, stress still fails in test 7.
2004-10-06 14:51 brun
* gui/src/TRootCanvas.cxx:
From Ilka
fix in TRootCanvas.cxx for keeping the canvas height when showing/hiding the
tool bar and the status bar.
2004-10-06 14:50 brun
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
From valeriy Onuchin
- correction to TGMainFrame,TGTransientFrame::SaveSource.
Declare default parameters in the header file.
2004-10-06 13:20 brun
* clib/src/snprintf.c:
From Philippe:
This patch implements support for "%9c" in ROOT's snprintf.
2004-10-06 13:20 brun
* treeplayer/src/TTreePlayer.cxx:
From Philippe:
This patchs cleans up the output of a missing column/value in TTree::Scan
(properly alignment)
2004-10-06 12:31 brun
* base/src/TROOT.cxx, metautils/src/TClassEdit.cxx:
From Philippe
This patches allows gROOT->GetClass("std::string") and
gROOT->GetClass("std::vector<int>") to return the correct TClass object
(i.e. by ignoring the std:: prefix).
2004-10-06 12:03 brun
* clib/src/snprintf.c:
Replace C++ style comments by C style comments.
CC on Solaris generated a fatal error.
2004-10-06 11:47 brun
* gl/src/: TGLSceneObject.cxx, TViewerOpenGL.cxx:
From Timur Pocheptsov
some changes in the colors management
2004-10-06 11:40 brun
* geom/src/TGeoManager.cxx:
From Andrei Gheata:
a fix in TGeoManager::Node related to the changes we made in
TGeoMatrix. Identity rotations in ALICE were not found anymore since for
these rotations the bit IsRotation is no longer set.
2004-10-06 11:14 rdm
* gui/src/TGFrame.cxx:
From Ilka:
fixes in TGMainFrame/TGTransientFrame::SaveSource() methods. Last changes
made by Valeriy have ignored the default macro names in both methods and
caused SegV if no name was given as a parameter.
2004-10-06 09:58 brun
* tree/src/TTree.cxx:
Fix a problem in TTree::ChangeFile when the current file contains several Trees.
The headers of the non-current Tree were written to the new file instead of the old file.
Thanks to Andriy Zatserklyaniy for reporting this problem.
2004-10-06 08:40 brun
* geom/src/TGeoMatrix.cxx:
the member fRotation was possibly uninitialized in the copy constructors or assignemnt operators.
(thanks Ivana)
2004-10-06 01:01 rdm
* base/src/TError.cxx:
change debugPrint() to DebugPrint().
2004-10-06 01:00 rdm
* clib/src/snprintf.c:
From Philippe:
This patch implements support for %lld (and %I64d) in ROOT's snprintf (and
hence Info, Printf, etc.) which is used on e.g. Win32.
2004-10-05 22:29 brun
* cint/src/tmplt.c:
From Philippe:
The current code in G__read_specializationarg does not properly parse nested
template.
This result in the incorrect reading of some templates, including
vector<void*> and vector<void**> on Windows.
This patches adds support for nested templates in G__read_specializationarg.
2004-10-05 22:27 brun
* treeplayer/src/TFormLeafInfo.cxx:
From Philippe:
%p is not a portable printf format. TFormLeafInfo need to use 0x%x instead.
2004-10-05 19:41 brun
* hist/src/TLimit.cxx:
From Christophe Delaere
I changed the indexing so that (NbinsX+2) bins are used for each histogram.
When I loop on histograms, I then go from 0 to and including (NbinsX+1).
I also removed the unused nbins variable.
The old version was only partially wrong: the overflow bin was not used,
but the memory corruption problem arrised only in some rare cases were
maxbins was wrongly computed because of a missing "+1" at line 127.
2004-10-05 19:36 brun
* guibuilder/src/TGuiBldQuickHandler.cxx:
From Valeriy Onuchin:
- fix memory leak in TGuiBldQuickHandler
That caused segv.after changing textin an editable textbutton.
2004-10-05 17:41 rdm
* cont/src/TClassTable.cxx:
fix indentation.
2004-10-05 17:40 rdm
* x11/src/TGX11.cxx:
From Ilka:
remove warning message in case color with specific id is not defined.
If I understand well the code the warning message is for
nothing because the corresponding color is created by the GetColor
method. This message only stress users, so I propose to remove it in two
places. In the created diffs I put comments on these lines, I did not
remove them.
2004-10-05 17:38 rdm
* ged/src/TPadEditor.cxx:
From Ilka:
the radio buttons of the Border Mode button group
should be set explicitly as exclusive to show only one selected at time.
It was the default case before if I remember well. No idea what of last
GUI changes requires that.
2004-10-05 17:03 brun
* base/Module.mk:
From Philippe:
This patch insures that the manual dictionary is loaded after G__Base1 in
the case of windows. This is needed to really expose Tdirectory::GetObject
to CINT.
2004-10-05 15:54 brun
* winnt/src/TWinNTSystem.cxx:
From Philippe:
This patch fix the previous modification to insure that the temporary string
is properly deleted.
2004-10-05 15:27 brun
* geom/src/TGeoCache.cxx:
Fix a portability problem in a printf format in TGeoNodeCache::BuildIdArray
2004-10-05 15:21 brun
* treeplayer/: inc/TTreeFormula.h, src/TTreeFormula.cxx:
From Philippe:
This patch insures that the branches refered to in indices and aliases are
properly loaded even when a boolean expression skipped their loading during
the first pass of TTreeFormula::EvalInstance.
2004-10-05 14:40 brun
* gl/src/TGLEditor.cxx:
Fix a portability problem with an enum having an extra comma
2004-10-05 12:37 brun
* README/CREDITS:
Add Ernst-Jan Buis for his contribution to the contour drawing options:
"AITOFF","MERCATOR","SINUSOIDAL","PARABOLIC"
2004-10-05 12:34 brun
* tutorials/: earth.C, earth.dat:
Add a new tutorial illustrating the new contour draw options
// "AITOFF" : Draw a contour via an AITOFF projection
// "MERCATOR" : Draw a contour via an Mercator projection
// "SINUSOIDAL" : Draw a contour via an Sinusoidal projection
// "PARABOLIC" : Draw a contour via an Parabolic projection
// from an original macro sent by Ernst-Jan Buis
2004-10-05 12:28 brun
* histpainter/: inc/Hoption.h, inc/THistPainter.h,
src/THistPainter.cxx, src/TPainter3dAlgorithms.cxx:
An algorithm sent by Ernst-Jan Buis for plotting contours using
the special projections for viewing skymaps or exposure maps has been
introduced in THistPainter and associated classes.
In Hoption.h a new member HOption.Proj has been introduced
int Proj; // = 1 to get an Aitoff projection, usefull for skymaps or exposure maps..
// = 2 to get a Mercator ptojection
// = 3 to get a Sinusoidal ptojection
// = 4 to get a Parabolic ptojection
in THistpainter::Paint, the following options are supported:
// "AITOFF" : Draw a contour via an AITOFF projection
// "MERCATOR" : Draw a contour via an Mercator projection
// "SINUSOIDAL" : Draw a contour via an Sinusoidal projection
// "PARABOLIC" : Draw a contour via an Parabolic projection
The function THistPainter::RecalculateRange has been modified to take into account these new options
as well as the class TPainter3dAlgorithms.
The picture produced by the new tutorial earth.C is visible at
http://root.cern.ch/root/htmldoc/THistPainter.html#THistPainter:PaintContour
2004-10-05 12:20 rdm
* configure:
From Axel:
with Elias' help I got ruby working on cygwin. It needs the attached
patch to configure. It's a bit ugly: I had to ensure that configure does
_not_ look for libruby-static, instead it needs to find libruby.dll.a.
2004-10-05 09:04 brun
* cont/src/TClassTable.cxx:
Fix a compiler warning in latest Federico's patch.
2004-10-05 09:02 brun
* build/unix/makelib.sh, config/Makefile.macosxxlc,
cont/src/TClassTable.cxx, main/Module.mk,
treeplayer/src/TSelectorDraw.cxx:
From Federico Carminati
I have attached few mods necessary to have root working with the IBM
compiler on the Mac. It now works through all the benchmarks, so you can
recompile on G5 with optimisation and quote a performance finally. The
remaining changes I had to make were:
- Make DYLD_LIBRARY_PATH point to the right place (SHAME!)
- Avoid dynamic casting of null pointers. This is a phylosophical point
which can be debated. I see pro and cons to have a compiler that does not
like them, however I had to protect the code in a couple of places.
- Remove the invalid trap from main programs. I consider this almost a bug
of the compiler.
- Remove -flat-namespace from linking libraries. Again I think the
behaviour is highly debatable, but I know the linker should get better in
Tiger
- Add -DR__BROKEN_FUNCTION_TEMPLATES to the compilation
Please check the mods and put them in the head asap so they do not get out
of synch. Let me know about the performance on the G5, I am curious to see
whether we have gained anything!!!
2004-10-05 01:48 rdm
* clib/inc/LinkDef.h:
export Gl_histadd() to CINT, so users can add in macros commands to the
command history file.
2004-10-04 19:00 brun
* hist/src/THStack.cxx:
Add the following note in THStack::GetHistogram, GetXaxis, GetYaxis
// IMPORTANT NOTE
// You must call Draw before calling this function. The returned histogram
// depends on the selected Draw options.
2004-10-04 18:04 brun
* minuit/src/TFitter.cxx:
In TFitter::Clear, reset the internal TMinuit random number generator mnrn15
to its initial value. mnrn15 may be used when TMinuit "Improve" is called.
Resetting the random number generator gives identical results between consecutive
identical fits.
2004-10-04 17:38 brun
* winnt/src/TWinNTSystem.cxx:
From Philippe:
The platform dependent routine to search for a file expect a windows style
path. So we need to tranforms the input which is usually in unix style.
2004-10-04 10:23 rdm
* base/src/TStopwatch.cxx:
the first Start() after the ctor did not properly reset the counters,
i.e. the real and cpu time reported on the first Stop() were from the ctor
and not from the first Start().
2004-10-04 10:11 brun
* gl/src/TViewerOpenGL.cxx:
Fix a compiler bug under Windows
2004-10-04 09:43 brun
* gl/src/TGLSceneObject.cxx:
Fix a compiler warning
2004-10-04 09:38 brun
* gl/: inc/LinkDef.h, inc/TGLEditor.h, inc/TGLRender.h,
inc/TGLSceneObject.h, inc/TViewerOpenGL.h, src/TGLEditor.cxx,
src/TGLRender.cxx, src/TGLSceneObject.cxx, src/TViewerOpenGL.cxx:
From Timur Pocheptsov
Several small improvements
2004-10-01 18:30 brun
* graf/src/TGraph.cxx, hist/src/TH1.cxx:
Document option "b" in TH1::Fit and TGraph::Fit
2004-10-01 12:00 rdm
* pyroot/Module.mk:
fix makelib.sh statement.
2004-10-01 11:18 brun
* treeplayer/src/TTreePlayer.cxx:
From Philippe:
The correct printf format for Long64_t on unix in %lld while on vc7 it is
%I64d.
To avoid the problem, we can use std::cout instead of printf.
2004-10-01 08:28 brun
* histpainter/src/THistPainter.cxx:
From Olivier:
- In MakeChopt the number of spaces used in strncpy to clean the variable
"chopt" was wrong in two places (for TRI and COLZ). This prevented to
put any extra option after COLZ (like TEXT for instance).
2004-09-30 18:48 rdm
* pyroot/: Module.mk, ROOT.py:
From Wim:
closer to solution, as this is already a lot cleaner:
o) force undefined symbols and explicit linking to load dictionaries
o) removed explicit loading of dictionaries from ROOT.py
2004-09-30 14:37 rdm
* configure:
From Axel Naumann:
with the attached patch, configure prints the results of its checks,
telling the user which package supports are enabled in the build.
It looks like this:
...
Writing build/misc/root-help.el ... done
Writing config.status ... done
Enabled support for asimage, cern, chirp, exceptions, explicitlink, krb5, mysql, opengl, pgsql, python, ruby, shared, soversion, ssl, thread, venus, xml, xrootd.
To build ROOT type:
make
2004-09-30 14:09 brun
* histpainter/src/TPainter3dAlgorithms.cxx:
From Olivier
- Protections added in lego and surface drawing in case of log scales.
Without these protections the following example crashes:
{
TFile f("hsimple.root");
TNtuple* tup = (TNtuple*) f1.Get("ntuple");
tup->Draw("px:py","pz>0","surf");
c1->SetLogy();
}
2004-09-30 13:58 brun
* pyroot/: ROOT.py, src/RootWrapper.cxx:
From Wim Lavrijsen:
o) removed explicit dlopen for unices in RootWrapper.cxx
o) added explicit shlib loading with gInterpreter in ROOT.py
2004-09-30 12:14 rdm
* base/: inc/TZIPFile.h, src/TZIPFile.cxx:
cosmetics.
2004-09-30 12:13 rdm
* mlp/src/TMLPAnalyzer.cxx:
ResetBranchAddresses() statement was missing for the "result" tree
causing crashes in the subsequent Draw() method.
Some cleanup of comments.
2004-09-30 09:56 brun
* histpainter/src/THistPainter.cxx:
From Olivier
- Log scales management along X and Y axis was wrong in Paint2DErrors.
2004-09-29 12:56 rdm
* tree/src/TBranchElement.cxx:
remove <TAB> char.
2004-09-29 12:55 rdm
* mlp/: inc/TMLPAnalyzer.h, inc/TMultiLayerPerceptron.h,
inc/TNeuron.h, inc/TSynapse.h, src/TMLPAnalyzer.cxx,
src/TNeuron.cxx, src/TSynapse.cxx:
add copyright statements (to be revised once some legal issues are resolved).
2004-09-29 12:50 rdm
* mlp/src/TMultiLayerPerceptron.cxx:
fix illegal memory access as reported by valgrind. Basically don't do:
a[i] = xx + a[i++];
since evaluation of i++ is done before array derefencing.
2004-09-29 12:43 rdm
* meta/inc/TStreamerInfo.h:
add case for MacOS X xlc compiler. By Fed.
2004-09-29 12:42 rdm
* gui/src/TGFrame.cxx:
cosmetics.
2004-09-29 12:41 rdm
* geom/src/TGeoCache.cxx:
fix warning in printf, use %ul for unsigned long and not %d.
2004-09-29 11:46 brun
* cont/src/TClonesArray.cxx:
From Philippe (and Gordon Watts)
Fix a memory leak in the TClonesArray destructor
2004-09-29 09:19 brun
* histpainter/src/TPainter3dAlgorithms.cxx:
From Olivier
- Protection added in LegoFunction: A bar offset greater than 0.7 made a
"segmentation violation" for 1D histograms painted as lego plots. With
this mod the plots looks nicer than before.
2004-09-29 08:55 brun
* base/inc/TVirtualGL.h, gl/inc/TGLEditor.h, gl/inc/TGLKernel.h,
gl/inc/TGLSceneObject.h, gl/inc/TViewerOpenGL.h,
gl/src/TArcBall.cxx, gl/src/TGLEditor.cxx, gl/src/TGLKernel.cxx,
gl/src/TGLRender.cxx, gl/src/TGLSceneObject.cxx,
gl/src/TViewerOpenGL.cxx, win32gdk/inc/TGWin32VirtualGLProxy.h,
win32gdk/src/TGWin32VirtualGLProxy.cxx:
From Timur Pocheptsov
Picking fixed. Moving in persp. fixed. Additional gl-material properties added - ambient, specular and
emission parts of light and shininess. Lights added as scene objects - it's possible to move them, change
ambient, diffuse, specular parts of light. Selection box color fixed. Viewer GUI modified.
With new color fetures it's possible to get more interesting materials -
something like metal surface etc (but it's non-trivial to get really
good mixture of colors:) ).
2004-09-28 08:39 brun
* hist/src/TH2.cxx:
Several protections added in the TH2 Projection functions to avoid
calling strcmp(name,.. ) when name=0 (thanks Gero Flucke)
2004-09-27 17:25 rdm
* cint/: inc/Class.h, inc/G__ci.h, inc/common.h, inc/fproto.h,
include/stddef.h, include/stdio.h, include/stdlib.h,
include/time.h, include/typeinfo.h, lib/dll_stl/makestr,
lib/dll_stl/makevec, lib/pthread/Makefile, src/Class.cxx,
src/func.c, src/ifunc.c, src/inherit.c, src/pcode.c, src/shl.c,
src/sizeof.c, src/struct.c, src/var.c:
import of CINT 5.15.153.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2004-09-27 14:18 brun
* base/inc/RVersion.h:
move to 4.01/03
2004-09-27 14:09 brun
* build/version_number:
Increment development version to 4.01/03
2004-09-27 14:08 brun
* hist/src/TSpectrum.cxx:
fix an unitialized array (thanks to Carter Hall)
2004-09-24 22:24 brun
* proof/src/TSlave.cxx:
From Maarten
- Force order of slaves in list to be deterministic (sort on performance
*and* ordinal) parallel startup could lead to random order which
complicates the use of Parallel()
2004-09-24 21:44 brun
* tree/inc/TLeafObject.h:
From Philippe:
During CopyAddress, the default address of a TLeafObject was not
properly copied due to the missing implementation of TLeafObject::GetValuePointer:
2004-09-24 20:22 brun
* tree/: inc/TFriendElement.h, src/TFriendElement.cxx:
From Philippe:
TFriendElement is never really the owner of the
TTree is points (in the common case, the TFile objects owns it).
In case where the TTree and its friend are in the same file, this
leads to a double deletion of the friend tree.
The solution is to just remove the deletion of the TTree from
the TFriendElement destructor.
The only downside is that in the case (should be rare!) where
the TFriendElement does not own the TFile and the TFriendElement
is deleted then the TTree will be kept in memory until the file
is deleted.
2004-09-24 20:22 brun
* tree/src/TBranchObject.cxx:
Add a protection in TBranchObject::SetAddress
2004-09-24 20:18 brun
* base/inc/TMath.h:
Fix a small problem in TMath::Abs(x) when x=0
2004-09-24 20:14 brun
* base/src/TMath.cxx:
Modify TMath::MedianImp when computing the medium of an array
with n elements where n>1000 and is an odd number.
The new algorithm gives exactly the same result as other known algorithms, but
it is slower in case n>1000 and even.
2004-09-24 17:55 brun
* gui/src/TGTextEntry.cxx:
From Valeriy Onuchin:
- fix in TGTextEntry::SetFont to draw text entry with correct width
2004-09-24 10:21 brun
* g3d/src/TMarker3DBox.cxx:
Add CVS id lines
2004-09-23 15:03 brun
* hist/src/TH3.cxx:
Add a note in TH3::Project3D
// NOTE: The generated histogram is named th3name + option
// eg if the TH3* h histogram is named "myhist", then
// h->Project3D("xy"); produces a TH2D histogram named "myhist_xy"
// if a histogram of the same type already exists, it is overwritten.
// The following sequence
// h->Project3D("xy");
// h->Project3D("xy2");
// will generate two TH2D histograms named "myhist_xy" and "myhist_xy2"
2004-09-23 12:08 brun
* postscript/src/TPDF.cxx:
From Olivier:
Fix a text alignment problem in pdf files
2004-09-23 12:02 brun
* gui/src/TRootBrowser.cxx:
From Valeriy Onuchin
Fix a bug that generated exit from ROOT when closing the browser
2004-09-23 10:56 brun
* README/: README.AUTH, README.GLOBUS:
From Gerri:
Update README files
2004-09-23 09:18 brun
* base/inc/RVersion.h, build/version_number:
Stamp development release 4.01/02
2004-09-23 09:18 brun
* tree/src/TBranchElement.cxx:
In TBranchElement::GetEntry set the current TRefTable in case of a TBranchRef
2004-09-23 08:37 brun
* guibuilder/src/TGuiBuilder.cxx:
Add documentation (from Valeriy's notes)
2004-09-23 08:23 brun
* ged/src/TH2Editor.cxx:
Fix some format inconsistenties
2004-09-23 08:17 brun
* README/CREDITS:
Add Carsten to the list
2004-09-23 07:30 brun
* ged/: inc/TH2Editor.h, src/TH2Editor.cxx:
From Carsten:
commented version of TH2Editor with pictures
2004-09-22 23:10 rdm
* tree/src/TBranchElement.cxx:
Backport of patch fixing problem of reading of the TObject data member
fBits within a split TClonesArray when the TTree is in MakeClass mode.
2004-09-22 20:05 brun
* guibuilder/src/: TGuiBldDragManager.cxx, TGuiBuilder.cxx:
From Valeriy Onuchin:
- ROOT GuiBuilder screenshot addedto TGuiBuilder HTML description
2004-09-22 20:00 brun
* ged/src/TH1Editor.cxx:
minor format changes (removing blank lines) such that the class description
includes the pictures correctly.
2004-09-22 19:27 brun
* ged/: inc/TH1Editor.h, src/TH1Editor.cxx:
From Carsten
with documentation in the class header and the pictures.
2004-09-22 18:34 brun
* postscript/src/TPDF.cxx:
From Olivier:
- The CropBox is now defined. It defines the region containing the
picture. This is used by external programs such as LaTeX to include
precisely PDF files in documents.
2004-09-22 18:29 brun
* net/: inc/TAuthenticate.h, src/TAuthenticate.cxx:
From Gerri:
"Add optiom to reset RSA keys in TAuthenticate::SetRSAInit"
2004-09-22 16:52 brun
* test/ProofBench/README:
From Maarten Ballintijn
- Update readme for new make_tdset.C
2004-09-22 16:33 brun
* rpdutils/src/rpdutils.cxx:
From Gerri
In RpdGetRSAKeys: fix a problem with parsing of the input
string, randomly creating rare failures.
2004-09-22 14:40 brun
* gui/src/TGButton.cxx:
Forgot to check in this file
2004-09-22 14:34 brun
* gui/inc/TGButton.h, gui/src/TGButtonGroup.cxx,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBldEditor.cxx, guibuilder/src/TGuiBuilder.cxx:
From Valeriy Onuchin:
- add emit parameter to TGButton methods - SetDown, SetOn, Toggle.
If emit kTRUE - signal emitted.
- fix gui builder after latest TGButton, TGButtonGroup changes
2004-09-22 14:27 brun
* gui/inc/TGFrame.h:
Fix a compiler warning (new cxx on alpha)
2004-09-22 13:13 brun
* gui/src/TGButton.cxx:
From Valeriy Onuchin:
- fix TGButtonGroup class. TGButtonGroup::SetDown did not generate signal.
Thanks Carsten Hof for reporting it.
2004-09-22 12:29 brun
* guibuilder/src/TGuiBldDragManager.cxx:
From Valeriy Onuchin:
- small improvements when highlighting composite frame
2004-09-22 12:27 brun
* ged/: inc/TH1Editor.h, inc/TH2Editor.h, src/TH1Editor.cxx,
src/TH2Editor.cxx:
General code cleanup by Carsten
2004-09-22 12:26 brun
* mysql/src/TMySQLServer.cxx:
It appears that the test on the MySQL version in TMySQLServer::Shutdown()
must be
#if MYSQL_VERSION_ID < 50001
and not
#if MYSQL_VERSION_ID < 40003
2004-09-22 12:13 brun
* guibuilder/src/: TGuiBldDragManager.cxx, TGuiBuilder.cxx:
From Valeriy Onuchin:
- more improvements:
o add more action displayed in gui builder status bar.
o "highlight" composite frame which is under cursor and display its name
in status bar.
2004-09-22 11:28 brun
* gui/src/TGSplitter.cxx, guibuilder/inc/TGuiBuilder.h,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBuilder.cxx:
From valeriy Onuchin:
- disable editing for TGSplitters
- fix problem with gui builder quick edit action activated by double click
- add more help messages to gui builder status bar
2004-09-22 10:24 brun
* ged/: inc/TH1Editor.h, inc/TH2Editor.h, src/TH1Editor.cxx,
src/TH2Editor.cxx:
New version of the editors (Carsten)
2004-09-22 10:12 rdm
* freetype/Module.mk:
From Fed:
fix in case building with IBM's xlC on MacOS X.
2004-09-22 09:19 brun
* tree/src/TTree.cxx:
Modify TTree::CloneTree to allow cloning when the original Tree is empty.
2004-09-22 08:58 brun
* ged/src/TH1Editor.cxx:
New version with several problems fixed when having histograms
in different pads.
2004-09-22 07:01 brun
* guibuilder/inc/TGuiBuilder.h,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBuilder.cxx, icons/bld_hpaned.xpm,
icons/bld_vpaned.xpm:
From Valeriy Onuchin:
add vertical and horizonthal separation lines to the gui builder
2004-09-21 21:23 brun
* test/ProofBench/make_tdset.C:
From Maarten Ballintijn
- Simplify use of_tdset.C
2004-09-21 20:46 brun
* mysql/src/TMySQLServer.cxx:
From Robert Hatcher:
TMySQLServer::ShutDown appears to need a modification to adapt to API changes in MySQL.
2004-09-21 19:53 brun
* ged/src/TGedEditor.cxx, guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBuilder.cxx:
From Valeriy Onuchin:
-there is no need to call fStyle->SetEditable(1); TGedEditor ctor.
- fix Crop action in gui builder
2004-09-21 18:23 brun
* gui/src/TGMdiMainFrame.cxx,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBuilder.cxx:
From Valeriy Onuchin:
- Fix appearance of X11 error message when editable MdiFrame is closed.
2004-09-21 17:41 brun
* base/src/TFile.cxx:
Change the test fNbytesname > 1000 to > 2000 to cope with some
situations where the file name is more than 1000 characters.
2004-09-21 16:19 brun
* guibuilder/src/TGuiBuilder.cxx:
From Valeriy Onuchin:
- correct key handling in gui builder
2004-09-21 16:17 brun
* ged/: inc/TH1Editor.h, src/TGedEditor.cxx, src/TGedFrame.cxx,
src/TH1Editor.cxx, src/TH2Editor.cxx:
From Carsten & Ilka
New version of the TH1 editor
2004-09-21 15:31 brun
* guibuilder/src/TGuiBldDragManager.cxx:
From valeriy Onuchin:
- do not delete property editor when it's part (embedded) of gui builder.
In general property editor can be created independently of guibuilder.
2004-09-21 13:29 brun
* gui/src/TGMdiDecorFrame.cxx, guibuilder/src/TGuiBuilder.cxx:
From Valeriy Onuchin:
- TGMdiTitleBar::HandleButton, TGMdiWinResizer::HandleButton do not call
main_frame->Layout when button pressed. I'll try to find a better fix later.
- TGuiBuilder::FindEditableMdiFrame bug fixed
- TGuiBuilder::SaveProject allows to save project when frame is not editable
2004-09-21 13:18 brun
* gui/inc/TRootEmbeddedCanvas.h, gui/src/TRootBrowser.cxx,
gui/src/TRootEmbeddedCanvas.cxx, guibuilder/src/TGuiBuilder.cxx,
icons/bld_embedcanvas.xpm, icons/bld_hprogressbar.xpm,
icons/bld_statusbar.xpm:
From Valeriy Onuchin:
- small corrections in default constructor of TRootEmbeddedCanvas
- TGStatusBar, TGHProgressBar added to guibuiler
2004-09-21 12:09 brun
* guibuilder/: inc/TGuiBldHintsButton.h, inc/TGuiBldHintsEditor.h,
inc/TGuiBuilder.h, src/TGuiBldDragManager.cxx, src/TGuiBuilder.cxx:
From valeriy Onuchin:
- add key grabbings to guibuilder
- minor mods
2004-09-21 07:22 brun
* geom/src/TGeoManager.cxx:
fix a typo in a comment (thanks Eddy)
2004-09-21 07:20 brun
* ged/: inc/TGraphEditor.h, src/TGraphEditor.cxx:
From Carsten Hof
- added lots of comments to the TGraphEditor
- shortened the source code
- attached a picture for the online documentation
2004-09-21 07:16 brun
* guibuilder/src/TGuiBuilder.cxx:
From Valeriy Onuchin:
- small corrections to remove compilation warnings
2004-09-20 23:00 brun
* guibuilder/: inc/TGuiBldDragManager.h, inc/TGuiBuilder.h,
src/TGuiBldDragManager.cxx, src/TGuiBuilder.cxx:
From Valeriy Onuchin:
- few bug fixes (pressing Ctrl keyswitched off editable mode under windows)
2004-09-20 21:55 brun
* test/ProofBench/: EventTree_NoProc.C, EventTree_NoProc.h,
EventTree_Proc.C, EventTree_Proc.h, EventTree_ProcOpt.C,
EventTree_ProcOpt.h:
From Maarten Ballintijn
- Fix Int_t -> Long64_t
- small assorted fixes
2004-09-20 21:34 brun
* base/src/: TNamed.cxx, TObject.cxx:
Optimisation proposed by K.Ardashev
Use memberwise initialisation instead of a direct assignement
(as recommended in C++ (effc++ flag in gcc)
2004-09-20 21:11 rdm
* gui/: inc/TGSplitter.h, src/TGTab.cxx, src/TGToolTip.cxx:
TGSplitte: add IsLeft() and IsAbove() (in addition to GetLeft() and
GetAbove() which are not a correct names for a boolean getters).
2004-09-20 21:07 brun
* gui/inc/TGToolTip.h, gui/src/TGTab.cxx, gui/src/TGToolTip.cxx,
guibuilder/inc/TGuiBuilder.h, guibuilder/src/TGuiBuilder.cxx:
From Valeriy Onuchin
- add new signals to TGToolTip class
Show(Int_t x, Int_t y), Hide(), Reset()
- disable editting of TGTabElement
- show help in GUI builder's status bar
2004-09-20 19:23 brun
* ged/src/: TH1Editor.cxx, TH2Editor.cxx:
From Carsten Hof
some inconsistency fixes.
2004-09-20 18:44 brun
* tree/src/TBranchElement.cxx:
From Philippe
fix the reading of the TObject data member fBits
within a split TClonesArray when the TTree is in MakeClass mode.
2004-09-20 18:00 brun
* geom/src/: TGeoBoolNode.cxx, TGeoHalfSpace.cxx:
From Andrei Gheata
- protection in TGeoHalfSpace for rays parallel to the plane
- fixes in TGeoUnion, TGeoSubtraction, TGeoIntersection in DistToIn/Out
2004-09-20 17:33 brun
* guibuilder/inc/TGuiBldDragManager.h,
guibuilder/inc/TGuiBldEditor.h, guibuilder/inc/TGuiBuilder.h,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBldEditor.cxx, guibuilder/src/TGuiBuilder.cxx,
icons/bld_AlignBtm.xpm, icons/bld_AlignBtm_d.xpm,
icons/bld_AlignLeft.xpm, icons/bld_AlignLeft_d.xpm,
icons/bld_AlignRight.xpm, icons/bld_AlignRight_d.xpm,
icons/bld_AlignTop.xpm, icons/bld_AlignTop_d.xpm, icons/bld_bg.xpm,
icons/bld_bgd.xpm, icons/bld_break.xpm, icons/bld_break_d.xpm,
icons/bld_copy.xpm, icons/bld_copy_d.xpm, icons/bld_crop.xpm,
icons/bld_crop_d.xpm, icons/bld_cut.xpm, icons/bld_cut_d.xpm,
icons/bld_delete.xpm, icons/bld_delete_d.xpm, icons/bld_grab.xpm,
icons/bld_grab_d.xpm, icons/bld_grid.xpm, icons/bld_grid_d.xpm,
icons/bld_hbox_d.xpm, icons/bld_layout.xpm, icons/bld_layout_d.xpm,
icons/bld_new.xpm, icons/bld_open.xpm, icons/bld_paste.xpm,
icons/bld_paste_d.xpm, icons/bld_pointer.xpm, icons/bld_redo.xpm,
icons/bld_redo_d.xpm, icons/bld_replace.xpm,
icons/bld_replace_d.xpm, icons/bld_rgb.xpm, icons/bld_save.xpm,
icons/bld_save_d.xpm, icons/bld_undo.xpm, icons/bld_undo_d.xpm,
icons/bld_vbox_d.xpm:
From Valeriy Onuchin
New version of the guibuilder with its new user interface
2004-09-20 16:32 brun
* geom/src/TGeoManager.cxx:
Change color for Aluminium
2004-09-20 16:28 brun
* gui/src/: TGFrame.cxx, TGMdiDecorFrame.cxx, TGMdiMainFrame.cxx:
From Valeriy Onuchin:
- remove AddInput(kButtonPressMask); from TGMainFrame constructor.
- do not call ((TGMainFrame *)((TGMdiMainFrame *)fMdiWin)->GetMainFrame())->Layout();
when button pressed in TGMdiTitleFrame. That generates segv.
while running GuiBuilder. This is quick fix. I'll try to find solution later.
- TGMdiMainFrame::RemoveMdiFrame(TGMdiFrame *frame) use ID
of removed frame in SendMessage and FrameClosed signal
2004-09-20 16:09 rdm
* config/root-config.in:
on MacOS X add -lfreetype to the library list of --libs and --glibs.
When the ROOT binary directory is relocated the freetype lib linked to
libGraf is not found during linking, so we need to explicitely add it again.
2004-09-20 16:05 rdm
* Makefile:
on MacOS X when doing distclean explicitely remove lib/*.so (the *.dylibs
are implicitly removed via the Modules.mk).
2004-09-20 15:44 brun
* geom/src/: TGeoCone.cxx, TGeoPgon.cxx, TGeoTube.cxx:
I forgot to set buff->fColor in these 3 shapes
2004-09-20 13:30 brun
* ged/src/TH2Editor.cxx:
From Olivier:
- The variable "i" was declared twice (VC++ 6 only)
2004-09-20 12:50 rdm
* test/RootShower/RootShower.cxx:
From Bertrand:
Save geometry and event tree in the same file.
2004-09-20 11:04 rdm
* test/RootShower/Makefile:
due to an unfortunate icc v8.1 compiler bug MyEvent.cxx can only
be compiled with -O0. Bug has been reported to Intel.
2004-09-20 11:02 rdm
* gui/src/TGButton.cxx:
remove Sleep() from DoRedraw().
2004-09-19 15:15 rdm
* cint/Module.mk, config/Makefile.linuxia64ecc,
config/Makefile.linuxicc, config/Makefile.linuxx8664icc,
test/Makefile.arch, xrootd/src/xrootd-20040907-0403.src.tgz:
add support for Intel icc v8.1, depricate support for v6 and v7.
2004-09-19 09:28 rdm
* cint/: inc/Apiif.h, inc/G__ci.h, inc/common.h, inc/fproto.h,
lib/posix/posix.h, src/Apiif.cxx, src/debug.c, src/disp.c,
src/fread.c, src/ifunc.c, src/input.c, src/pause.c, src/pcode.c,
tool/ifdef/ifdef.cxx:
import of CINT 5.15.152.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2004-09-18 01:30 rdm
* cint/: inc/Class.h, src/Class.cxx:
From Philippe:
patch to avoid access to a global variable across libraries.
2004-09-17 22:41 brun
* win32gdk/gdk/src/gdk/win32/gdkevents-win32.c:
From Bertrand Bellenot
Fix for button 4 and 5 type events.
2004-09-17 21:33 brun
* gl/: inc/TArcBall.h, inc/TViewerOpenGL.h, src/TArcBall.cxx,
src/TViewerOpenGL.cxx:
From Timur
Several improvements
2004-09-17 19:48 rdm
* cint/: inc/Class.h, inc/G__ci.h, inc/Type.h, inc/common.h,
inc/fproto.h, inc/global.h, include/makefile, include/stddef.h,
include/stdio.h, include/stdlib.h, include/time.h,
lib/dll_stl/makestr, lib/dll_stl/makevec, lib/gl/TOP.h,
lib/gl/cintGL.h, lib/gl/setup.bat, lib/ipc/ipcif.h,
lib/posix/posix.h, lib/pthread/Makefile, src/Api.cxx,
src/Method.cxx, src/Type.cxx, src/auxu.c, src/decl.c, src/error.c,
src/expr.c, src/func.c, src/global1.c, src/global2.c, src/ifunc.c,
src/init.c, src/newlink.c, src/opr.c, src/parse.c, src/pcode.c,
src/shl.c, src/tmplt.c, src/value.c, src/var.c:
import of CINT 5.15.151.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2004-09-17 13:47 rdm
* gl/src/TGLEditor.cxx:
ask in TLMatView for exposure and structure notify events to be reported.
This allows for proper redrawing of the sphere after having been obscured
by a menu.
2004-09-17 13:12 rdm
* netx/src/TXNetConn.cxx:
change "const Int_t" to "Int_t" in Connect(), "const" makes no sense
for arguments passed by value. Header was already correct.
2004-09-17 12:29 brun
* test/guitest.cxx:
Remove unused variables ax, ay (thanks Eddy)
2004-09-17 12:25 rdm
* rpdutils/src/rpdutils.cxx:
From Gerri:
add some extra info and error messages in case RSA key generation fails.
2004-09-17 11:37 brun
* ged/: inc/TH1Editor.h, inc/TH2Editor.h, src/TH1Editor.cxx,
src/TH2Editor.cxx:
From Carsten Hof
New version of the THxEditors with several tiny improvements
2004-09-17 10:46 brun
* gui/src/TGComboBox.cxx:
From Carsten Hof
when seleting the already selected item in a combo box,
(For example: calling SetModel of an editor just resets the old value in most of the time)
2004-09-17 10:33 rdm
* gl/src/TViewerOpenGL.cxx:
support zooming via the mouse scroll wheel.
2004-09-17 07:35 brun
* pyroot/src/MethodHolder.cxx:
From Wim Lavrijsen:
fix for TString passed by value
2004-09-16 23:22 brun
* gui/src/TGFrame.cxx:
From Valeriy Onuchin:
- few correctionsfor case when editting is disabled
2004-09-16 22:51 rdm
* test/RootShower/MyEvent.cxx:
use TMath::IsNaN() instead of isnan().
2004-09-16 22:51 rdm
* build/unix/makestatic.sh:
excluded chirp and gl directories.
2004-09-16 22:50 rdm
* netx/src/TXError.cxx:
remove definition of gErrorIgnoreLevel and gErrorAbortLevel they
are already defined in TError.cxx.
2004-09-16 22:18 rdm
* rpdutils/src/rpdutils.cxx:
From Gerri:
- in RpdCheckOffset:
- correct a typo in a variable name;
- return kFALSE if getpwnam fails; this got lost in the previous patch
2004-09-16 22:18 rdm
* net/src/TAuthenticate.cxx:
From Gerri:
- add protection and dummy scope to avoid compiler complains
in case R__SSL is not defined.
2004-09-16 20:59 brun
* base/src/TSystem.cxx:
From Philippe:
a fix that insure that ACLiC uses the .dylib and not
the .so when linking (This is done by adding a MACOS specific
section in TSystem::GetLibraries).
2004-09-16 20:50 brun
* gui/src/TGDockableFrame.cxx:
From Valeriy Onuchin:
- use fClient->GetDefaultRoot()->GetId() instead of fClient->GetRoot()->GetId()
- disable editting when frame is undocked
2004-09-16 18:53 brun
* geom/src/TGeoManager.cxx:
Reimplement the function TGeoManager::DefaultColors such that the result
appears OK when viewing with the TViewerOpenGL.
The color index is now based on the A of the material.
2004-09-16 17:58 brun
* test/RootShower/: MyDetector.cxx, MyEvent.cxx, MyEvent.h,
RootShower.cxx:
New version of RootShower from Bertrand using directly a TPolyLine3D
instead of a TGeoTrack. This makes possible the display of the shower
in OpenGL.
I modified Bertrand's code to
-set volumes semi transparent
-change the color scheme to avoid using blue on black
2004-09-16 11:44 brun
* gui/src/TGSlider.cxx:
From Valeriy Onuchin:
- grab pointer before emitting signals
to fix a problem reported by Carsten Hof
2004-09-15 22:47 brun
* gpad/inc/TPad.h:
I forgot to increment ClassDef to 8
2004-09-15 22:40 brun
* gpad/inc/TPad.h:
Make members fBuffer3D and fViewer3D transient
2004-09-15 21:24 brun
* base/src/TMath.cxx:
From Anna Kreshuk
Fix a bug in TMath::MedianImp
2004-09-15 21:21 brun
* gui/: inc/TGToolBar.h, src/TGToolBar.cxx:
From Valeriy Onuchin:
-Add TGToolBar::GetButton(Int_t id), TGToolBar::GetId(TGButton *button) methods
2004-09-15 19:37 brun
* gui/: inc/TGButton.h, inc/TGButtonGroup.h, inc/TGToolBar.h,
src/TGButton.cxx, src/TGButtonGroup.cxx, src/TGToolBar.cxx:
From Valeriy Onuchin
- add TGPictureButton::SetDisabledPicture which set a picture displayed
whne button disabled
- TGButtonGroup: correction constructor (parent window should "const TGWindow"),
most methods made"virtual".
- TGToolBar: add signals Pressed(Int_t id), Released(Int_t id), Clicked(Int_t id) similar
to what we in TGButtonGroup
TGButtonGroup:AddButton returns a pointer to newly created button.
2004-09-15 19:09 rdm
* base/src/TFile.cxx, config/rootrc.in, netx/src/TXNetConn.cxx:
From Gerri:
This patch allows file access via xrootd when the host in TFile::Open()
is localhost. Previously TXNetFile refused to open a file on the
localhost via xrootd.
The new env to skip the check is called TFile.ForceRemote and it has
to be set to 1 to be active (i.e. to skip the check in TFile::Open()).
With this patch, the following command:
TFile::Open("root://<FQDN>/<somelocaldir>/<somefile>);
will go via the daemon (rootd or xrootd) only if the host is really
remote, while the sequence:
gEnv->SetValue("TFile.ForceRemote",1)
TFile::Open("root://<FQDN>/<somelocaldir>/<somefile>);
will always open the file via the daemon, exactly as this
TFile::Open("root://localhost/<somelocaldir>/<somefile>);
2004-09-15 17:00 brun
* ged/: inc/LinkDef.h, inc/TGedDrawPanel.h, src/TGedDrawPanel.cxx:
The old TGedDrawPanel (from Marek Biskup) is removed.
2004-09-15 16:56 brun
* ged/inc/TGedFrame.h, ged/src/TGedFrame.cxx,
gpad/src/TUtilPad.cxx, gui/src/TRootCanvas.cxx:
From Ilka and Carsten:
ged/*/TGedFrame.h,cxx
- a pointer to the parent tab fTab added as a new data member
- deactivate/activate additional tab in the method TGedFrame::SetActive()
gpad/src/TUtilPad.cxx
- in TUtilPad::DrawPanel invoke the new editor with GUI interface by
Carsten when fgPanelVersion > 0
gui/src/TRootCanvas.cxx
- reintroduced lines in CreateEditor() method for showing the old editor
2004-09-15 16:39 rdm
* thread/src/TThread.cxx:
remove the & to take the address of a static function. It is redundant
and caused a compile error on Solaris 8.
2004-09-15 16:37 rdm
* xrootd/src/xrootd-20040907-0403.src.tgz:
same version except that the CVS directories have been removed.
Since they referenced an /afs repository as source this caused a lot
of cvs errors on my non-afs machine and also we want to avoid that
a cvs update in ROOT also updates xrootd.
2004-09-15 16:26 brun
* gl/: inc/TGLSceneObject.h, inc/TViewerOpenGL.h,
src/TGLRender.cxx, src/TGLSceneObject.cxx, src/TViewerOpenGL.cxx:
Several fixes from Timur to pick polylines and polymarkers.
2004-09-15 15:50 rdm
* netx/src/TXUrl.cxx:
use <netdb.h> and hstrerror() when not on Win32.
2004-09-15 12:37 brun
* hist/inc/TH2.h:
Fix a typo in argument name "nxgroup" of Rebin2
2004-09-15 12:26 brun
* gui/src/: TGMdiDecorFrame.cxx, TGMdiMainFrame.cxx:
From Valeriy Onuchin
Replace fClient->GetRoot by GetDefaultRoot
2004-09-15 12:08 brun
* gui/inc/TGSlider.h:
From Carsten Hof
Added two new member functions;
virtual Int_t GetMinPosition() const { return fVmin; }
virtual Int_t GetMaxPosition() const { return fVmax; }
2004-09-15 12:05 brun
* hist/: inc/TH2.h, src/TH1.cxx, src/TH2.cxx:
From Carsten Hof;
New Rebin methods for 2-d histograms
- TH2 *TH2::RebinX(Int_t ngroup, const char *newname): Rebins only along x
axis
- TH2 *TH2::RebinY(Int_t ngroup, const char *newname): Rebins only along y
axis
- TH2 *TH2::Rebin2D(Int_t nxgroup, Int_t nygroup, const char *newname):
Rebin nxgroup along the xaxis and nygroups along the yaxis
- I also changed the explanation of the TH1::Rebin(..) after the header of
the Rebin method in TH1.cxx (I deleted: Note1: this function is currently
only implemented for one dimensional histograms ...)
2004-09-15 10:32 rdm
* gui/src/TGMenu.cxx:
fix typo (spurious r).
2004-09-15 10:32 rdm
* dcache/src/TDCacheFile.cxx:
backport fix by Robert Hatcher.
2004-09-15 10:31 rdm
* cint/include/.cvsignore:
added file that got lost long the way.
2004-09-14 19:08 brun
* gl/src/TViewerOpenGL.cxx:
In TViewerOpenGL::UpdateScene, temporarily set the line color to 42
if the color is <=1
2004-09-14 17:57 brun
* geom/src/TGeoBBox.cxx:
I forgot TGeoBBox in the previous patch
2004-09-14 17:56 brun
* g3d/src/TBRIK.cxx, g3d/src/TMarker3DBox.cxx, g3d/src/TPCON.cxx,
g3d/src/TPolyLine3D.cxx, g3d/src/TPolyMarker3D.cxx,
g3d/src/TSPHE.cxx, g3d/src/TTUBE.cxx, g3d/src/TTUBS.cxx,
g3d/src/TXTRU.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoParaboloid.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoSphere.cxx, geom/src/TGeoTorus.cxx,
geom/src/TGeoTube.cxx, geom/src/TGeoXtru.cxx:
Minor change in the color algorithm such that the previous behaviour of X3D
is not affected.
2004-09-14 17:38 rdm
* gui/src/TGFrame.cxx:
correct indentation.
2004-09-14 17:37 rdm
* gl/: inc/TArcBall.h, inc/TGLCamera.h, inc/TGLRender.h,
inc/TGLRenderArea.h, inc/TGLSceneObject.h, inc/TViewerOpenGL.h,
src/TGLCamera.cxx, src/TGLEditor.cxx, src/TGLKernel.cxx,
src/TGLRender.cxx, src/TGLRenderArea.cxx, src/TGLSceneObject.cxx,
src/TViewerOpenGL.cxx:
added cvs id lines and copyright notices. ROOT includes are included with
"" and not <>. In the header files added #ifndef's around includes to
avoid unecessary header file reading. In TViewerOpenGL fix the window closing
crash under X11.
2004-09-14 17:32 rdm
* gl/inc/TGLEditor.h:
fRGBA[3] -> fRGBA[4]. Also added proper cvs id tag and copyright notice.
2004-09-14 17:15 brun
* base/inc/TBuffer3D.h, base/src/TBuffer3D.cxx, g3d/src/TBRIK.cxx,
g3d/src/TMarker3DBox.cxx, g3d/src/TPCON.cxx,
g3d/src/TPolyLine3D.cxx, g3d/src/TPolyMarker3D.cxx,
g3d/src/TSPHE.cxx, g3d/src/TTUBE.cxx, g3d/src/TTUBS.cxx,
g3d/src/TXTRU.cxx, geom/src/TGeoBBox.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoParaboloid.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoSphere.cxx, geom/src/TGeoTorus.cxx,
geom/src/TGeoTube.cxx, geom/src/TGeoXtru.cxx,
gl/src/TViewerOpenGL.cxx:
Modify all the 3-d primitives to set the true color in the new data member
of TBuffer3D:;fColor. This color is now used directly by the GL viewer.
2004-09-14 15:41 brun
* base/src/TVirtualViewer3D.cxx:
In the TVirtualViewer3D constructor set the pointer to the viewer in the pad given as argument.
This is necessary when the viewer is created by the user (not via TPad::x3d)
2004-09-14 13:54 brun
* gl/src/TGLEditor.cxx:
Remove a compiler warning about unused argument
2004-09-14 13:52 brun
* gui/src/TGFrame.cxx:
In TGTransientFrame::CenterOnParent set x=0 and y=0 to remove a compiler warning
2004-09-14 12:51 rdm
* test/guitest.cxx, tutorials/guitest.C:
use CenterOnParent() with position parameter (kRight for Editor dialog).
2004-09-14 12:50 rdm
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
add extra argument to TGTransientFrame::CenterOnParent() to specify
the centering position (center, left, right, top, bottom, topleft, etc.).
2004-09-14 11:57 brun
* guibuilder/src/TGuiBldEditor.cxx,
guibuilder/src/TGuiBldHintsEditor.cxx, winnt/src/TWinNTSystem.cxx:
From valeriy Onuchin:
- small correction in TWinNTSystem::BaseName
- background/foregrond editors are not yet ready. Do not activate them in property editor.
2004-09-14 11:23 rdm
* test/guitest.cxx, tutorials/guitest.C:
check TGFontDialog return values.
2004-09-14 11:23 rdm
* gui/inc/TGColorDialog.h:
make two public methods protected (no need to expose them, like in
TGFontDialog).
2004-09-14 11:22 rdm
* gui/: inc/TGFontDialog.h, src/TGFontDialog.cxx:
properly implement CloseWindow() and document return values in ctor.
2004-09-14 10:55 rdm
* gui/src/TGFontDialog.cxx:
add protection in case default font is not found, use "fixed" in that case.
2004-09-14 09:45 rdm
* guibuilder/src/TGuiBldDragManager.cxx:
From Valeriy:
- fix double deletion of property editor when it's closed with WM close button.
2004-09-14 09:33 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::Paint add a reference to the new tutorial transpad.C
2004-09-14 09:33 brun
* tutorials/transpad.C:
Add a new tutorial showing two histograms with different scales.
The second histogram is drawn in a transparent pad.
2004-09-14 08:38 brun
* graf/: inc/TGraph.h, inc/TGraphAsymmErrors.h,
inc/TGraphBentErrors.h, inc/TGraphErrors.h,
src/TGraphBentErrors.cxx:
Fix in all the TGraph classes. CtorAllocate should NOT be made virtual.
This is misleading since the 'virtual' part can not be used from within a constructor.
Minor fix in the example given in TGraphBentErrors (thanks Maxim Nikulin)
2004-09-14 00:49 rdm
* proof/src/TProofServ.cxx, proofd/src/proofd.cxx,
rootd/src/rootd.cxx, rpdutils/inc/rpdp.h,
rpdutils/src/rpdutils.cxx:
From Gerri:
Reason: fix security problem with authentication tab and key
files; adopt new naming scheme for auth tab and public
key files, with unique association to the user starting
the daemon.
o proof/src/TProofServ.cxx
- get root of key files from new env ROOTKEYFILE defined
in proofd
o proofd/src/proofd.cxx
- communicate root of key files using new env ROOTKEYFILE
- drop option '-E' to force exclusive tokens (not needed
anymore)
o rootd/src/rootd.cxx
- drop option '-E' to force exclusive tokens (not needed
anymore)
o rpdutils/inc/rpdp.h
- add new method RpdGetKeyRoot() returning the root of public
key files for use in proofd.
- drop mask related to option '-E'
o rpdutils/src/rpdutils.cxx
- add uid of the running process in auth tab and public key
file names (<TmpDir>/rpdauthtab.<uid>,<TmpDir>/rpk.<uid>_<offset>).
- insure <TmpDir>/rpdauthtab.<uid> permission be 0600 .
- eliminate redundant use of 'access()'
- improve check of ownership of the public key file when
checking the token
- drop code related to option '-E'
- few aesthaetic changes (variable naming).
2004-09-14 00:43 rdm
* base/src/TSystem.cxx:
slightly compacted code of GetPathInfo().
2004-09-14 00:42 rdm
* gui/src/TGMenu.cxx:
fix typo in comment.
2004-09-14 00:36 rdm
* tree/src/TBasket.cxx:
backport fix in case of files > 2GB from head (TKey was still correct
in 4.00/08).
2004-09-14 00:35 rdm
* gui/src/TGMenu.cxx:
backport fix in BindKeys() causing problems with Sawfish WM from head.
2004-09-14 00:34 rdm
* base/src/TSystem.cxx:
backport fix in GetPathInfo() from head.
2004-09-13 21:23 brun
* gui/src/TGFrame.cxx, winnt/src/TWinNTSystem.cxx:
From Valeriy Onuchin:
- correct TGMainFrame::SaveSource. Now it works when directory name contains dots '.'
- add StrDup to TWinNTSystem::BaseName
2004-09-13 19:10 brun
* gui/src/TGFrame.cxx:
From Valeriy Onuchin:
- correct SavePrimitive for hidden frame.
2004-09-13 18:39 brun
* base/inc/TColor.h, base/src/TAttAxis.cxx, base/src/TAttFill.cxx,
base/src/TAttLine.cxx, base/src/TAttMarker.cxx,
base/src/TAttText.cxx, base/src/TColor.cxx, gpad/src/TCanvas.cxx,
gpad/src/TPad.cxx, graf/src/TGaxis.cxx, graf/src/TPaveText.cxx,
hist/src/TF1.cxx, hist/src/TF2.cxx:
From Ilka:
code for saving any user
specified color via color widgets in a macro. Any color different from
the standard root colors is saved via hex rgb string. Up to now colors
were save via the index and if this index > 228 the running macro causes
SegV.
A new static method SaveColor() is added in TColor class.
2004-09-13 18:37 brun
* tutorials/geodemo.C:
Replace the "VOID" material by Aluminium.
The VOID material was not visible anymore following the new algorithm on transparency
based on the material density.
2004-09-13 18:22 brun
* guibuilder/src/TGuiBldDragManager.cxx:
From Valeriy Onuchin:
- correct creation of property editor under windows
2004-09-13 18:16 brun
* geom/src/TGeoShape.cxx:
Protect TGeoShape::TransformPoints in case a TGeoVolume has a null pointer to its TGeoMedoim
2004-09-13 18:13 brun
* guibuilder/src/TGuiBldDragManager.cxx:
From valeriy Onuchin:
- fix problem running Gui builder under windows
2004-09-13 17:18 brun
* graf/src/TGraph.cxx:
One protection introduced in version 1.139 was lost in 1.40
(Thanks Gero Flucke for noticing the problem)
2004-09-13 16:34 rdm
* guibuilder/src/TGuiBuilder.cxx, icons/bld_groupframe.xpm:
From Valeriy:
add groupframe icon.
2004-09-13 16:21 rdm
* test/guitest.cxx, tutorials/guitest.C:
use CenterOnParent() instead of a manually translating coordinates, etc.
2004-09-13 15:53 rdm
* config/: mimes.unix.in, mimes.win32.in:
From Valeriy:
change bld_textentry.xpm to bld_entry.xpm.
2004-09-13 15:05 rdm
* gui/src/TGWindow.cxx:
set default frame names only when in debug mode (gDebug > 0) to avoid
many X11 calls that are not normally needed.
2004-09-13 14:55 rdm
* config/Makefile.depend:
use -lGui and not lib/libGui.lib on Unix.
2004-09-13 14:50 rdm
* gl/Module.mk:
cosmetics.
2004-09-13 14:49 rdm
* gui/src/TGFrame.cxx:
From Valeriy:
if layout broken don't call Layout().
2004-09-13 14:48 rdm
* gui/src/TGButton.cxx:
protection against 0 string.
2004-09-13 14:47 rdm
* Makefile, guibuilder/Module.mk, guibuilder/inc/LinkDef.h,
guibuilder/inc/TGuiBldDragManager.h,
guibuilder/inc/TGuiBldEditor.h,
guibuilder/inc/TGuiBldHintsButton.h,
guibuilder/inc/TGuiBldHintsEditor.h,
guibuilder/inc/TGuiBldQuickHandler.h, guibuilder/inc/TGuiBuilder.h,
guibuilder/src/TGuiBldDragManager.cxx,
guibuilder/src/TGuiBldEditor.cxx,
guibuilder/src/TGuiBldHintsButton.cxx,
guibuilder/src/TGuiBldHintsEditor.cxx,
guibuilder/src/TGuiBldQuickHandler.cxx,
guibuilder/src/TGuiBuilder.cxx, config/Makefile.depend,
config/mimes.unix.in, config/mimes.win32.in, config/rootrc.in,
gui/inc/TVirtualGuiBld.h, gui/src/TRootBrowser.cxx,
gui/src/TRootCanvas.cxx, gui/src/TVirtualGuiBld.cxx:
From Valeriy:
new guibuilder module.
2004-09-13 14:43 rdm
* icons/: bld_checkbutton.xpm, bld_entry.xpm, bld_hbox.xpm,
bld_hseparator.xpm, bld_label.xpm, bld_mainframe.xpm,
bld_numberentry.xpm, bld_radiobutton.xpm, bld_textbutton.xpm,
bld_vbox.xpm, bld_vseparator.xpm:
new icons for the guibuilder.
2004-09-13 14:35 brun
* README/CREDITS:
Add Maxim Nikulin for his contribution to the TGraph suite.
2004-09-13 14:27 brun
* graf/: inc/TGraph.h, inc/TGraphAsymmErrors.h,
inc/TGraphBentErrors.h, inc/TGraphErrors.h, src/TGraph.cxx,
src/TGraphAsymmErrors.cxx, src/TGraphBentErrors.cxx,
src/TGraphErrors.cxx:
From Maxim Nikulin:
Improvement of the general TGraph suite memory management functions
2004-09-13 12:12 brun
* geom/src/TGeoShape.cxx:
Make all light materials (gas) 80 per cent transparent by default
2004-09-13 12:09 brun
* tutorials/shapes.C:
Select the OpenGL viewer by default
2004-09-13 12:03 brun
* hist/inc/TH1.h, hist/inc/TH2.h, hist/inc/TH3.h,
hist/inc/TProfile.h, hist/inc/TProfile2D.h, hist/src/TH1.cxx,
hist/src/TH2.cxx, hist/src/TH3.cxx, hist/src/TProfile.cxx,
hist/src/TProfile2D.cxx, histpainter/src/THistPainter.cxx:
Upgrade the histogram buffer algorithm such that it can be used in a
coming version of the rebinner of the TH1,2 editors.
When the histogram buffer is active (TH1::SetBuffer has been called),
the buffer is kept alive as long as the number of entries can
be accomodated by the buffer.
When calling the Draw/Paint functions, the histogram is reset and
refilled from the buffer.
The buffer is also preserved by the I/O operations.
The calling sequence of TH1::BufferEmpty has been modified to support
3 cases instead of 2.
Int_t TH1::BufferEmpty(Int_t action)
// action = -1 histogram is reset and refilled from the buffer (called by THistPainter::Paint)
// action = 0 histogram is filled from the buffer
// action = 1 histogram is filled and buffer is deleted
// The buffer is automatically deleted when the number of entries
// in the buffer is greater than the number of entries in the histogram
2004-09-13 11:56 brun
* base/inc/TVirtualGL.h, gl/Module.mk, gl/inc/LinkDef.h,
gl/inc/TGLEditor.h, gl/inc/TGLKernel.h, gl/inc/TGLRenderArea.h,
gl/inc/TGLSceneObject.h, gl/inc/TViewerOpenGL.h,
gl/src/TGLEditor.cxx, gl/src/TGLKernel.cxx, gl/src/TGLRender.cxx,
gl/src/TGLSceneObject.cxx, gl/src/TViewerOpenGL.cxx,
win32gdk/inc/TGWin32VirtualGLProxy.h,
win32gdk/src/TGWin32VirtualGLProxy.cxx:
From Timur Pocheptsov
Context menu and "Material" menu were removed. Now you simply select
object by right click in "Navigation" mode and left click in "Picking"
mode, and modify object's color and opacity using "Material Editor" at the
left side of viewer (look for example jpgs :) )
You can make object transparent. After that you can select objects behind
it etc. You can select the first object again only ifthere are no
non-transparent objects under mouse cursor.
2004-09-13 11:29 rdm
* gui/: inc/TGMsgBox.h, src/TGMsgBox.cxx:
remove unused argument "main" from PMsgBox().
2004-09-13 11:12 rdm
* gui/src/TGWindow.cxx:
smal optimization in SetWindowName().
2004-09-13 11:12 rdm
* gui/src/TGToolTip.cxx:
use TGClient::GetDisplayWidth() and Height() instead of GetWindowSize()
(saves X11 server round trip).
2004-09-13 11:10 rdm
* gui/src/: TGColorDialog.cxx, TGFileDialog.cxx, TGFontDialog.cxx,
TGMsgBox.cxx, TGTextEditDialogs.cxx, TRootDialog.cxx,
TRootHelpDialog.cxx:
use the new TGTransientFrame::CenterOnParent() method.
2004-09-13 11:10 rdm
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
new method:
TGTransientFrame::CenterOnParent()
for easy centerng of dialogs on the parent or root window. Allows for
some code cleanup in many dialog widgets.
2004-09-13 11:03 rdm
* gui/src/TGClient.cxx:
new methods GetDisplayWidth() and GetDisplayHeight().
2004-09-13 11:02 rdm
* gui/inc/TGClient.h:
add two new methods:
GetDisplayWidth()
GetDisplayHeight()
they are more efficient then calling GetWindowSize() of the root window.
2004-09-13 11:01 rdm
* gui/inc/LinkDef3.h:
add EGuiBldAction enum.
2004-09-13 07:37 brun
* pythia6/inc/TPythia6.h:
Implement a suggestion from Suyong Choi <alesis1001@yahoo.com>.
In GetKFIN and SetKFIN replace statements like
fPysubs->KFIN[j-1][i-1] = kfin;
by
fPysubs->KFIN[j+40][i-1] = kfin;
Following the Pythia manual, SetKFIN may be called with negative
values of j.
2004-09-12 18:58 brun
* base/src/TSystem.cxx:
Fix a bug in TSystem::GetPathInfo (Long_t variant).
The variable size was never filled.
2004-09-12 13:00 brun
* qt/src/: TQtTimer.cxx, TQtWidget.cxx:
From Valeri Fine:
avoid the 100% CPU consumption for Qt embedded TCanvas widget.
2004-09-12 12:55 brun
* gui/: inc/TGClient.h, inc/TVirtualGuiBld.h, src/TGButton.cxx,
src/TGClient.cxx, src/TGFrame.cxx, src/TGWindow.cxx,
src/TRootBrowser.cxx, src/TVirtualGuiBld.cxx:
From Valeriy Onuchin:
- TGWindow::fEditDisabled value now is inherited from parent window. Setting
fEditDisabled = kTRUE in parent constructor disables guibulding/editting in all subframes.
- Disable editting/guibuilding for TBrowser.
- SetEditDisabled, IsEditDisabled() added to TGClient which allow to disable/enable
editting/guibuilding globally.
- Add TVirtualGuiBld::Instance() method which loads plugin and creates gGuiBuilder object.
- Correct TGButton::HandleButton when fStayDown is kTRUE. Previously after call
TGButton::AllowStayDown(kTRUE) button remains pressed "forever". After this fix
button is released after next button pressing. TGButton::AllowStayDown(kTRUE) provides
"push button behaviour"
2004-09-12 12:43 brun
* gui/: inc/TGButton.h, inc/TGLabel.h, inc/TGTextEntry.h,
src/TGButton.cxx:
From Valeriy Onuchin:
- overload TObject's GetTitle method in classes which display text label.
SetTitle/GetTitle methods used in "quick edit action" in guibuilder
2004-09-11 21:29 brun
* gui/: inc/LinkDef3.h, inc/TVirtualGuiBld.h, src/TGFrame.cxx,
src/TVirtualGuiBld.cxx:
From Valeriy Onuchin:
- add new class TGuiBldAction which defines guibuilder action.
- mods in TVirtualGuiBld class
2004-09-11 18:27 brun
* gui/: inc/TGButton.h, inc/TGLabel.h, inc/TGTextEntry.h,
src/TGFrame.cxx, src/TGLabel.cxx, src/TGTextEntry.cxx,
src/TGWindow.cxx:
From Valeriy Onuchin:
- overload TObject's SetTitle method in classes which display text label
- TGWindow::fEditDisabled was not initiated
- set text in default constructors for windows containing text labels
2004-09-10 23:34 brun
* dcache/src/TDCacheFile.cxx:
Thanks to Robert Hatcher for reporting/fixing an uninitialized variable fStatCached
in the normal constructor.
2004-09-10 21:57 brun
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
The function TGFrame::GetForeGround cannot be inline(on Windows).
It returns a static global member.
2004-09-10 21:36 brun
* treeplayer/src/TTreePlayer.cxx:
In TTreePlayer::UnbinnedFit do not compute the sum of weights
and in the TreeUnbinnedLikelihood function do not divide by sum.
(thanks again to Hajime Nanjyo)
2004-09-10 21:11 brun
* ged/: inc/TGraphEditor.h, src/TGraphEditor.cxx:
From Carsten Hof
Several changes, in particular the Axis on/off checkbox is removed
2004-09-10 21:05 brun
* gui/inc/TGFrame.h:
Remove a compiler warning due to an unused argument in SetForeground
2004-09-10 21:02 brun
* gui/inc/: TGButton.h, TGFrame.h, TGLabel.h, TGTextEntry.h:
From Valeriy Onuchin:
- new methods SetForegroundColor, GetForeground introduced
2004-09-10 19:00 brun
* physics/inc/TRolke.h, physics/src/TRolke.cxx, tutorials/Rolke.C:
Remove CRTL/M characters
2004-09-10 18:44 brun
* treeplayer/src/TTreePlayer.cxx:
Thanks to Hajime Nanjyo <nanjyo@icepp.s.u-tokyo.ac.jp> for fixing a problem
in TTree::UnbinnedFit.
In the function TreeUnbinnedFitLikelihood, event weights were treated as
follows.
prob = fitfunc->EvalPar(x,par) * weight[i]/sum;
it should be
prob = TMath::Power(fitfunc->EvalPar(x,par),weight[i]/sum).
So the original code,
prob = fitfunc->EvalPar(x,par) * weight[i]/sum;
if(prob > 0) logL += TMath::Log(prob);
else logL += logEpsilon;
is changed to
prob = fitfunc->EvalPar(x,par);
if(prob > 0) logL += TMath::Log(prob) * weight[i]/sum;
else logL += logEpsilon * weight[i]/sum;
2004-09-10 18:25 brun
* gui/: inc/TGTextEntry.h, src/TGTextEntry.cxx:
From Valeriy Onuchin:
- new methods added to allow to set color and font in TGTextEntry
2004-09-10 18:06 brun
* gui/src/TGMdiMainFrame.cxx:
From Ilka:
Minor fix in TGMdiMainFrame::SavePrimitive
2004-09-10 16:00 brun
* gui/: inc/TGMdiFrame.h, inc/TGMdiMainFrame.h, inc/TGMdiMenu.h,
src/TGMdiFrame.cxx, src/TGMdiMainFrame.cxx, src/TGMdiMenu.cxx:
From Ilka:
Implementation of SavePrimitive for all MDI classes.
In addition:
- setting of new x,y coordinates in TGMdiFrame::Move method;
- fMdiHints was not initialized in the TGMdiFrame ctor
- new data member TGMdiMainFrame::fArrangementMode for saving the
selected arrangement mode
- included a getter: GetMenuBar() in TGMdiMenuBar
2004-09-10 15:34 brun
* gui/: inc/TGShutter.h, src/TGShutter.cxx:
From valeriy Onuchin:
- new method added
TGShutterItem *TGShutter::GetItem(const char *name)
Returns a shutter item by name (name is hot string assotiated with shutter item)
2004-09-10 14:16 brun
* tree/: inc/LinkDef.h, inc/TEventList.h, src/TEventList.cxx:
Implement
virtual void Intersect(const TEventList *list);
TEventList operator*(const TEventList &list1, const TEventList &list2)
2004-09-10 12:17 brun
* gui/src/TGFrame.cxx:
From Valeriy Onuchin:
- do not call AddInput(kButtonPressMask) at TGFrame ctor.
Put AddInput(kButtonPressMask) to TGMainFrame ctor.
to catch "Ctrl-DbleClick" (start guibuilding).
2004-09-10 11:40 brun
* base/src/TKey.cxx, tree/src/TBasket.cxx:
In the TBasket constructor always set fVersion > 1000.
This solves a nasty problem happening when having TBasket created
long before the file reaches 2 GBytes and written long after
the file has been above 2 GBytes.
This creates a small overhead in file size (about 1 per mille
for the Event example).
With this change some cleanup can be made in TKey::Streamer
2004-09-10 09:47 brun
* graf/src/TGraph.cxx:
Add a protection suggested by J.Adamczewski@gsi.de in TGraph::ExecuteEvent
to protect a case that may happen in case of a TCutG when clicking
on the edges
2004-09-10 09:34 brun
* graf/: inc/TGraph.h, inc/TGraphErrors.h, src/TGraph.cxx,
src/TGraphErrors.cxx:
From Maxim Nikulin:
Several improvements in the TGraph, TGraphErrors memory management
functions.
Added test (2 == sscanf(...)) in the TGraph::TGraph(const
char *filename, const char *format) constructor. It allows to skip empty
lines and comments like '# comment '. Similar TGraphErrors constructor
uses inaccurate field counting algorithm. It doesn't allow skipping
numbers using "*" modifier.
2004-09-10 08:32 brun
* configure:
From Marek Szuba <Marek.Szuba@cern.ch>
About two months ago the patent Unisys held on LZW compression in GIF
images expired worldwide, which means it is now legal to use the full
giflib instead of its stripped counterpart, libungif. Having learned, in
the process of eliminating all libungif dependancies from my system,
that ROOT's configure script doesn't offer the aforementioned
possibility, I have decided to update it and send the result to you for
possible inclusion.
This patch lets ASImage be built
with either of the two libraries, giving priority to giflib should both
be present.
2004-09-09 13:02 brun
* gui/src/TGLayout.cxx:
From valeriy Onuchin
Remove code that was generating a seg fault under windows
2004-09-09 02:25 rdm
* test/guitest.cxx, tutorials/guitest.C:
add menu item "Font Dialog..." in the "Test" menu to allow access to
the TGFontDialog widget.
2004-09-09 02:24 rdm
* gui/inc/TGFontDialog.h:
change ULong_t by Pixel_t where appropriate.
2004-09-09 01:15 rdm
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
fMustCleanup was not initialized causing a lot of problems!
2004-09-08 19:34 rdm
* gui/: inc/TVirtualDragManager.h, inc/TVirtualGuiBld.h,
src/TVirtualDragManager.cxx, src/TVirtualGuiBld.cxx:
this is original code, no need to reference to xclass. Extend copyright
to 2004.
2004-09-08 19:33 rdm
* config/Makefile.depend:
cosmetics.
2004-09-08 19:32 rdm
* configure:
correction in handling xrootd flag for solaris and unsupported platforms.
2004-09-08 19:32 rdm
* xrootd/Module.mk:
remove unused XRDARCHDIR.
2004-09-08 19:16 brun
* gui/src/: TVirtualDragManager.cxx, TVirtualGuiBld.cxx:
Forgot to check in these two files
2004-09-08 18:04 brun
* configure:
From Gerri Ganis;
xrootd/netx need thread support which is not switched on
by default on solaris ... I have added a check on this
in configure.
2004-09-08 18:03 brun
* gui/: Module.mk, inc/LinkDef3.h, inc/TGFrame.h, inc/TGMdi.h,
inc/TGMdiDecorFrame.h, inc/TGMdiFrame.h, inc/TGMdiMainFrame.h,
inc/TGMdiMenu.h, inc/TGWindow.h, inc/TVirtualDragManager.h,
inc/TVirtualGuiBld.h, src/TGFrame.cxx, src/TGMdiDecorFrame.cxx,
src/TGMdiFrame.cxx, src/TGMdiMainFrame.cxx, src/TGMdiMenu.cxx:
From Valeriy Onuchin:
- two classes introduced TVirtualDragManager, TVirtualGuiBld
- TGWindow
o move some TGFrame methods to here
o fEditDisabled data member and setter/getter methods introduced
That allows to disable switch to edit mode
- TGFrame, TGCompositeFrame
o new data members introduced and correspondent setter/getters
UInt_t fMinWidth; // minimal frame width
UInt_t fMinHeight; // minimal frame height
UInt_t fMaxWidth; // maximal frame width
UInt_t fMaxHeight; // maximal frame height
Correction to layout under development.
o fCleanup data member is renamed to fMustCleanup (to avoid name clashes)
o methods required for handling drag and drop as weel for guibuilding added, i.e.
HandleDragEnter, HandleDragLeave, HandleDragMotion, HandleDragDrop etc.
2004-09-08 12:28 brun
* gui/src/TGFrame.cxx:
Fix a compilation problem in MapSubWidows
2004-09-08 12:24 brun
* gui/src/TGFrame.cxx:
From Valeriy Onuchin:
- calling MapSubwindows sets kIsVisible state
(allows to participte in layouting) for subwindows.
2004-09-08 12:21 brun
* configure, netx/Module.mk, netx/inc/TXSocket.h,
netx/src/TXNetConn.cxx, netx/src/TXSocket.cxx,
proof/src/TSlave.cxx, xrootd/Module.mk,
xrootd/src/xrootd-20040804-2326.tar.gz,
xrootd/src/xrootd-20040907-0403.src.tgz:
From Gerri Ganis:
configure:
- enable Linux and Solaris
xrootd/Module.mk
- update version number
- changed source extension to .src.tgz to fit Pete's choice
- improved checks for xrootd configure options:
> add case switch to check architecture/release/chip
> add transmission of Kerberos flags
- force '-j1' to 'make' (due to static lib dependencies
xrootd cannot be build with -j2)
netx/Module.mk
- Drop Xrd sec libs from linking list
netx/src/TXNetConn.cxx
- add dynamic load of security shared libs in DoAuthentication
- add additional more printout when aborting in the attempt
to re-direct to non-allowed domains
netx/src/TXSocket.cxx
- drop unused extern "C" void *SocketConnecterThread()
netx/inc/TXSocket.h
- drop defs of unused extern "C" void *SocketConnecterThread()
2004-09-08 11:54 brun
* geom/src/TGeoShape.cxx, gl/inc/TGLSceneObject.h,
gl/src/TGLCamera.cxx, gl/src/TGLRender.cxx,
gl/src/TGLSceneObject.cxx, gl/src/TViewerOpenGL.cxx:
From, Andrei and Timur
- Improvements for transparency
- Fixes in TGLFaceSet::TGLFaceSet (Xtru bug)
- Reflexion is handled correctly
2004-09-08 11:33 brun
* gui/src/TGFrame.cxx:
From Valeriy Onuchin:
- remove dangerous code remained from my development version
2004-09-08 11:03 brun
* gui/inc/: TGScrollBar.h, TGSplitter.h, TGStatusBar.h:
From Valeriy Onuchin:
- correct default width/height for some widgets.
Thanks to Ilka reporting side effect.
2004-09-08 10:51 brun
* gui/inc/TG3DLine.h:
From Valeriy Onuchin:
- set default width/height for 3Dlines to "before last patch" values
2004-09-08 10:41 brun
* hist/src/TAxis.cxx:
From Ilka:
The option rotate axis title was not saved in the generated code -
minor fix in TAxis::SaveAttributes method.
2004-09-08 10:13 brun
* gui/: inc/TG3DLine.h, inc/TGButton.h, inc/TGButtonGroup.h,
inc/TGCanvas.h, inc/TGColorDialog.h, inc/TGColorSelect.h,
inc/TGComboBox.h, inc/TGDockableFrame.h, inc/TGDoubleSlider.h,
inc/TGFSComboBox.h, inc/TGFSContainer.h, inc/TGFileDialog.h,
inc/TGFontDialog.h, inc/TGFrame.h, inc/TGIcon.h, inc/TGImageMap.h,
inc/TGLabel.h, inc/TGListBox.h, inc/TGListTree.h, inc/TGListView.h,
inc/TGMenu.h, inc/TGMsgBox.h, inc/TGNumberEntry.h,
inc/TGProgressBar.h, inc/TGScrollBar.h, inc/TGShutter.h,
inc/TGSlider.h, inc/TGSplitter.h, inc/TGStatusBar.h, inc/TGTab.h,
inc/TGTextEdit.h, inc/TGTextEditDialogs.h, inc/TGTextEntry.h,
inc/TGTextView.h, inc/TGToolBar.h, inc/TGToolTip.h, inc/TGView.h,
inc/TGWindow.h, inc/TRootBrowser.h, inc/TRootCanvas.h,
inc/TRootContextMenu.h, inc/TRootControlBar.h, inc/TRootDialog.h,
inc/TRootEmbeddedCanvas.h, inc/TRootHelpDialog.h, src/TGButton.cxx,
src/TGButtonGroup.cxx, src/TGWindow.cxx:
From Valeriy Onuchin:
- provide default constructors for most TGxxx classes.
The goal:
1. required for guibuilder
2. providing ROOT I/O for GUI classes.
In all default constructors parent window is NULL,
that means that parent window is currently editted window.
2004-09-08 09:15 brun
* gui/src/TGLayout.cxx:
From valeriy Onuchin:
- remove code remained from my development version
2004-09-08 00:02 brun
* matrix/: inc/TMatrixDBase.h, inc/TMatrixFBase.h,
src/TMatrixDBase.cxx, src/TMatrixFBase.cxx:
From Eddy Offermann:
Cleaned up one more circular dependence in the matrix header file.
2004-09-07 22:17 brun
* hist/inc/TF1.h:
In the TF1::Integral functions, change the default relative precision from 1e-6 to 1e-12
2004-09-07 21:36 brun
* matrix/src/: TMatrixD.cxx, TMatrixDSym.cxx, TMatrixF.cxx,
TMatrixFSym.cxx:
From Eddy Offermann:
const TMatrixD TMatrixD::EigenVectors(TVectorD &eigenValues) const
const TMatrixD TMatrixDSym::EigenVectors(TVectorD &eigenValues) const
did not set the size of the eigen value vector as in root 3.10
2004-09-07 20:45 brun
* ged/: inc/TH2Editor.h, src/TH2Editor.cxx:
From Carsten Hof
Implementation of rebinning from a Tree
2004-09-07 19:26 brun
* ged/src/TH1Editor.cxx:
From Carsten Hof
Forgot the implementation of the DoBinlabel method
2004-09-07 19:21 brun
* config/Makefile.depend:
ged depends now on libTreePlayer (for TH1 rebinning)
2004-09-07 19:02 brun
* cont/src/TEmulatedVectorProxy.cxx:
Thanks to Markus Frank for reporting a bug in case of streaming a Long64_t
or ULong64_t (Emulated class only)
2004-09-07 19:00 brun
* ged/: inc/TH1Editor.h, src/TH1Editor.cxx:
New version of TH1Editor from Carsten Hof.
This new version includes a TAB "Binning" with two major options
-simple rebinning for a binned histogram
-sliders reprojecting from the TTreePlayer vectors
2004-09-07 11:31 brun
* gui/: inc/TGLayout.h, src/TGLayout.cxx:
From Valeriy Onuchin:
- TGLayoutHints now derived also from TRefCnt
- pointer to frame element containing this layout_hints added
- setter methods added to TGLayoutHints (used in guibuilding)
- Print methods added to TGLayoutHints and TGFrameElement classes.
Usefull for debugging, e.g. "compositeFrame->GetList()->Print()"
2004-09-07 10:22 brun
* table/src/: TVolume.cxx, TVolumeView.cxx:
From Valeri Fine:
two corrections for "table" package, those take in account
a new way to calculate "view range"
2004-09-07 10:15 brun
* geom/: inc/TGeoMaterial.h, inc/TGeoVolume.h, src/TGeoShape.cxx:
From Andrei Gheata:
Transparency is now filled into TBuffer3D. One can change interactively
transparency at the level of TGeoVolume (context menu). Default value is 0.
2004-09-07 10:13 brun
* gui/: inc/TGFont.h, src/TGFont.cxx:
From Valeriy Onuchin:
- new method TGFont *TGFontPool::GetFont(FontStruct_t fs) added
2004-09-06 20:56 brun
* gui/src/TGLabel.cxx:
From Valeriy Onuchin:
- always call TGFrame::DoRedraw() in TGLabel::DoRedraw method.
That fixes weird appearence when label is resized "during guibuilding"
2004-09-06 19:57 brun
* gui/: inc/TGButton.h, src/TGButton.cxx:
From Valeriy Onuchin:
- derive TGRadioButton, TGCheckButton from TGTextButton that allows
to reuse SetText, SetFont methods.
- TGButton:,TGRadioButton, TGCheckButton.
New parameter ( Bool_t emit ) added to SetState method
If it is kTRUE a signal emitted when button's state changed.
- Under X11 "Pressed" signal was not generated when button was pressed several times.
The problem was in HandleCrossing method.
2004-09-06 19:01 brun
* geom/src/TGeoMatrix.cxx:
Remove a printf in TGeoRotation::CheckMatrix
2004-09-06 18:42 brun
* geom/inc/TGeoManager.h, geom/inc/TGeoMaterial.h,
geom/inc/TGeoMatrix.h, geom/src/TGeoBBox.cxx,
geom/src/TGeoCone.cxx, geom/src/TGeoManager.cxx,
geom/src/TGeoParaboloid.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoShape.cxx,
geom/src/TGeoSphere.cxx, geom/src/TGeoTorus.cxx,
geom/src/TGeoTube.cxx, geom/src/TGeoXtru.cxx,
geompainter/src/TGeoPainter.cxx, tutorials/rootgeom.C:
From Andrei
-SetBit(kIsReflection) in TGeoShape::paint when the object has a reflection matrix.
-Exploded view works again.
-Set TGeoVolume instead of TGeoShape when filling TBuffer3D
-Modify rootgeom.C ("R" problem). TGeoArb8 allowing definition of vertices in any order.
2004-09-06 18:39 brun
* geom/src/TGeoMatrix.cxx:
Mods proposed by Ivana.
2004-09-06 18:38 brun
* base/inc/TBuffer3D.h:
Change kIsReflexion to kIsReflection
2004-09-06 18:05 brun
* gui/: inc/TGClient.h, src/TGClient.cxx:
From Valeriy Onuchin:
- TGClient::GetWindowByName method added (needed for guibuilding).
2004-09-06 16:36 brun
* gui/: inc/TGClient.h, src/TGClient.cxx:
From valeriy Onuchin:
- force option added to TGClient::NeedRedraw method.
If force is kTRUE - TGWindow::DoRedraw method is called immediatly
(needed for guibuilder)
2004-09-06 16:19 brun
* base/: inc/TBuffer3D.h, src/TBuffer3D.cxx:
Add new member
char fTransparency; /percentage of transparency [0,100]
by default ftransparency is set to 0 in TBuffer3D constructor
Add new enum kIsReflexion
When the TBuffer3D fBits bit kIsRefelexion is set, the object has been
generated by a volume having a reflexion matrix.
2004-09-06 16:16 brun
* gui/src/TGFrame.cxx:
From Valeriy Onuchin:
- if option is "quiet" - do not print message at TGMainFrame::SaveSource
2004-09-06 16:12 brun
* ged/src/TGedPatternSelect.cxx, gui/src/TGGC.cxx,
gui/src/TGListBox.cxx:
From valeriy Onuchin:
- final fix for TGGCPool::FreeGC(const TGGC *gct).
o The statement in ged/src/TGedPatternSelect.cxx
"delete fDrawGC;" replaced by "fClient->FreeGC(fDrawGC);"
The rule is :
any TGGC allocated via TGClient::GetGC
must deallocated via TGClient::FreeGC (not by delete)
o correction in TGLineLBEntry::Update method
2004-09-06 15:42 brun
* gui/src/TGFrame.cxx:
From Ilka:
Fix in TGCompositeFrame::SavePrimitiveSubframes method.
It is not necessary to generate a line about SetLayoutBroken(0); only if
SetLayoutBroken(1).
2004-09-06 15:12 brun
* test/RootShower/RootShower.cxx:
From Bertrand Bellenot;
Small patch solving access violation error when calling x3d().
2004-09-06 15:03 brun
* gl/src/TViewerOpenGL.cxx:
Add a missing break statement
2004-09-06 13:58 brun
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
From valeriy Onuchin:
- TGFrameElemnt:fFE new data member and correspondent
setter/getter methods added. This data member is set at TGCompositeFrame::AddFrame
and unset (set to zerro) at TGCompositeFrame::RemoveFrame methods.
- MapWindow() , MapRaised(), UnmapWindow() overloaded to
set/unset frame's TGFrameElement::fSate value.
So, unmapped windows will not "participate" in layouting.
- SetX, SetY methods added (they needed for guibuilding)
- SavePrimitive for unmapped/hidden windows is implemented
2004-09-06 12:29 brun
* gl/src/TViewerOpenGL.cxx, win32gdk/src/TGWin32GL.cxx:
From Timur Pocheptsov
I've updated root from CVS, there is a resource leak in TGWin32GL.cxx. It
was fixed in my friday's files, but it is not fixed in CVS.
It's fixed in my new diff file.
And now we can make objects transparent by simply pressing 't' or 'T' key
- in material mode we can rotate scene with left button and make an object
transparent by right click.
2004-09-06 12:26 brun
* gui/src/TGGC.cxx:
From Valeriy Onuchin:
temporary rollback of TGGCPool::FreeGC(const TGGC *gct)
2004-09-06 12:23 brun
* geom/: inc/TGeoMatrix.h, src/TGeoMatrix.cxx:
From Andrei Gheata
Fix a problem with TGeorotation.
2004-09-06 11:17 brun
* gui/: inc/TGFrame.h, src/TGFrame.cxx:
From valeriy Onuchin:
- implement SavePrimitive for frames with broken layout
- add axilary method TGCompositeFrame::SavePrimitiveSubframes
to avoid dublication of the code
2004-09-06 10:39 brun
* gui/src/TGFrame.cxx:
From Valeriy Onuchin:
- small fix in TGMainFrame::SaveSource. Function name should be
truncated to filename, i.e. without directory name.
2004-09-06 10:21 brun
* gui/inc/TGFrame.h:
From valeriy Onuchin:
- overload ReparentWindow method in TGFrame
just to set new frame coordinates.
2004-09-06 10:19 brun
* gui/: inc/TGGC.h, src/TGGC.cxx:
From valeriy Onuchin;
- fix typo bug in TGGCPool::FreeGC(const TGGC *gct) method
- add new method TGGC *TGGCPool::GetGC(GContext_t gct)
2004-09-06 10:18 brun
* gui/src/TGNumberEntry.cxx:
From valeriy Onuchin
- generate ValueSet signal when Return/Enter key pressed in number entry
- add MapSubwindows to constructor. That is required when number entry is created
on already mapped parent, e.g. during "guibuilding"
2004-09-06 08:54 brun
* graf/: inc/TGraph.h, src/TGraph.cxx:
Set the 2nd and trd argument of TGraph::Drawgraph optional
void DrawGraph(Int_t n, const Double_t *x=0, const Double_t *y=0, Option_t *option="");
if x or/anf y are null pointers, the fX or fY arrays are used, such that
calling mygraph.Draw(n) draws only the first n points of the graph.
2004-09-04 19:51 brun
* graf/inc/TLegend.h:
Suggested by Ed Oltman: replace
TLegend::SetDefaults() { fEntrySeparation = 0.1; fMargin = 0.25; }
with
TLegend::SetDefaults() { fEntrySeparation = 0.1f; fMargin = 0.25f; }
This removes a warning with VC++6
2004-09-04 13:03 brun
* tree/src/TTree.cxx:
In TTree::ChangeFile take into account a possible TBranchRef
2004-09-03 19:14 brun
* hist/src/TF1.cxx:
Minor correction in previous fix
2004-09-03 19:08 brun
* hist/src/TF1.cxx:
Remove code from TF1::IntegralMultiple (same algorithm as in new version of
CERNLIB routine RADMUL)
2004-09-03 18:19 rdm
* gui/: inc/TGMdiDecorFrame.h, inc/TGMdiFrame.h,
inc/TGMdiMainFrame.h, src/TGMdiDecorFrame.cxx, src/TGMdiFrame.cxx,
src/TGMdiMainFrame.cxx:
change color arguments from ULong_t to Pixel_t.
2004-09-03 18:08 brun
* geom/: inc/TGeoMatrix.h, src/TGeoMatrix.cxx:
From Ivana Hrivnacova
Add missing op = for TGeoMatrix class
2004-09-03 17:52 brun
* gui/src/TGMdiDecorFrame.cxx:
Remove warning about unused argument "back"
2004-09-03 17:44 rdm
* gui/src/TGMdiDecorFrame.cxx:
remove unused code.
2004-09-03 17:30 brun
* geom/src/TGeoMatrix.cxx:
From Andrei Gheata:
The operator == currently ignores the name;
normally one should be able to compare the matrices values even for
different names.
2004-09-03 16:46 brun
* gpad/src/TPad.cxx:
From Olivier:
- in TPad::x3d: delete fViewer3D, if it exists, before creating a new 3D
2004-09-03 16:35 brun
* gl/inc/: TGLCamera.h, TGLKernel.h, TGLRender.h, TGLRenderArea.h,
TGLSceneObject.h:
Remove CRTL/M characters (preventing to compile under Solaris)
2004-09-03 16:06 brun
* hist/src/TH1.cxx:
Remove unused statements
2004-09-03 15:57 brun
* gui/inc/TGMdiDecorFrame.h:
Remove an extra "," in an enum preventing to compile on several systems
2004-09-03 15:55 brun
* geom/src/TGeoMatrix.cxx:
From Ivana Hrivnacova
The assignement operator for the base class was missing in
TGeoCombiTrans &TGeoCombiTrans::operator=(const TGeoMatrix &matrix)
2004-09-03 15:41 brun
* matrix/inc/TDecompBase.h, matrix/inc/TMatrixD.h,
matrix/inc/TMatrixDBase.h, matrix/inc/TMatrixDEigen.h,
matrix/inc/TMatrixDSparse.h, matrix/inc/TMatrixDSym.h,
matrix/inc/TMatrixDSymEigen.h, matrix/inc/TMatrixF.h,
matrix/inc/TMatrixFBase.h, matrix/inc/TMatrixFSym.h,
matrix/src/TDecompLU.cxx, matrix/src/TMatrixD.cxx,
matrix/src/TMatrixDBase.cxx, matrix/src/TMatrixDLazy.cxx,
matrix/src/TMatrixDSparse.cxx, matrix/src/TMatrixDSym.cxx,
matrix/src/TMatrixDUtils.cxx, matrix/src/TMatrixF.cxx,
matrix/src/TMatrixFBase.cxx, matrix/src/TMatrixFLazy.cxx,
matrix/src/TMatrixFSym.cxx, matrix/src/TMatrixFUtils.cxx,
matrix/src/TVectorD.cxx, matrix/src/TVectorF.cxx,
quadp/inc/TQpDataDens.h, quadp/inc/TQpVar.h,
test/QpRandomDriver.cxx, test/stressLinear.cxx, test/vlazy.cxx,
test/vmatrix.cxx, tutorials/invertMatrix.C, tutorials/portfolio.C:
From Eddy Offermann
The matrix includes contained circular dependencies (which were of
course
stopped by the #ifdef's) . Situation has been cleaned up by inserting
several forward declarations in the header files and moving some
includes
to the source files . A change in a header file now causes less
compilation
in other directories like hist.
This cleanup made adding an include file in quadp/src/TQpVar necessary
and some additional include files in the tutorials and test files
2004-09-03 15:40 rdm
* gl/Module.mk:
cosmetics.
2004-09-03 15:39 rdm
* gui/src/TGMdiMainFrame.cxx:
From Ilka:
added missing protection.
2004-09-03 15:21 brun
* gl/src/TGLCamera.cxx:
Fix a compilation problem on Windows
2004-09-03 15:04 brun
* gl/: inc/TGLRenderArea.h, src/TGLRenderArea.cxx:
Forgot these two classes
2004-09-03 14:52 brun
* base/inc/TVirtualGL.h, gl/Module.mk, gl/inc/LinkDef.h,
gl/inc/TArcBall.h, gl/inc/TGLCamera.h, gl/inc/TGLKernel.h,
gl/inc/TGLRender.h, gl/inc/TGLSceneObject.h,
gl/inc/TViewerOpenGL.h, gl/src/TArcBall.cxx, gl/src/TGLCamera.cxx,
gl/src/TGLKernel.cxx, gl/src/TGLRender.cxx,
gl/src/TGLSceneObject.cxx, gl/src/TViewerOpenGL.cxx,
win32gdk/inc/TGWin32VirtualGLProxy.h,
win32gdk/src/TGWin32VirtualGLProxy.cxx:
From Timur Pocheptsov
What's added:
1. Several modes :
"Navigation" - our standard rotation (context menu added(*))
"Picking" - user can select object and move it (**)
"Material editor" - not implemented, now it simply allows to
make objects transparent.
2. Several views :
Perspective view and three orthogonal projections
2004-09-03 14:28 brun
* geom/: inc/TGeoMatrix.h, src/TGeoMatrix.cxx:
From Andrei Gheata;
- assignment operators and ctors(const TGeoMatrix&) for all
transformation types; any type can be assigned to another
ex: TGeoRotation r("name", 10,20,30);
TGeoHMatrix h = r; (h(r) also works)
TGeoCombiTrans c = h; (c(h) also)
- strict checking of IsTranslation() and IsRotation() used to optimize
TGeoHMatrix::LocalToMaster/MasterToLocal which is heavily used by
navigation (was not really the case before)
- operator == at the level of TGeoMatrix class. Some limitations due to:
rot * rot.Inverse() != identity due to arithmetic errors (1E-14)-
the IsRotation() flag for the result remains set. Could be fixed by a
checking procedure but this would be too much time consuming. Therefore
== is guaranteed to work only after assignment/copy operations.
2004-09-03 13:11 rdm
* gpad/src/TCanvas.cxx:
From Ilka:
first attempt to avoid the 'invert' canvas view when the crosshair is set
to the canvas and the user pops up a menu and after moves the mouse in
the menu bar from one to another menu title.
2004-09-03 12:51 brun
* hist/inc/TVirtualHistPainter.h, hist/src/TH2.cxx,
histpainter/src/THistPainter.cxx:
From Olivier:
- TH2::ProjectionX, TH2::ProjectionY, TH2::ProfileX and TH2::ProfileY can
now be performed according to graphical cuts.
Using a TCutG object, it is possible to select a sub-range of a 2-D histogram.
One must create a graphical cut (mouse or C++) and specify the name
of the cut between [] in the option.
For example, with a TCutG named "cutg", one can call:
myhist->ProjectionX(" ",firstybin,lastybin,"[cutg]");
To invert the cut, it is enough to put a "-" in front of its name:
myhist->ProjectionX(" ",firstybin,lastybin,"[-cutg]");
It is possible to apply several cuts:
myhist->ProjectionX(" ",firstybin,lastybin,[cutg1,cutg2]");
Example:
{
TCanvas *c = new TCanvas("c","example",0,0,700,600);
c->Divide(1,2);
TCutG *gcut = new TCutG("gcut",8);
gcut->SetPoint(0,-0.646552,0.932203);
gcut->SetPoint(1,-1.26437,0.105932);
gcut->SetPoint(2,-0.574713,-1.10169);
gcut->SetPoint(3,0.948276,-0.338983);
gcut->SetPoint(4,1.07759,0.720339);
gcut->SetPoint(5,-0.316092,-0.0847458);
gcut->SetPoint(6,-0.45977,0.402542);
gcut->SetPoint(7,-0.646552,0.932203);
TFile f("hsimple.root")
TH2F *hpxpy = (TH2F*)f.Get("hpxpy");
TH1D *hppx = hpxpy->ProjectionX("",1,40,"[gcut]");
c->cd(1);
hpxpy->SetFillColor(kBlue);
hpxpy->DrawCopy("box");
hpxpy->SetFillColor(kRed);
hpxpy->Draw("same box [gcut]");
c->cd(2);
hppx->Draw();
}
2004-09-03 12:43 rdm
* cont/src/TClonesArray.cxx:
Fix a bug in TClonesArray::Streamer. When in read mode, fLast must always
be reset. In the previous version fLast was not set in case the number of
objects read was 0. Backported from the head.
2004-09-03 10:17 brun
* gui/src/TGMdiMainFrame.cxx:
Remove unused variables
2004-09-03 10:15 brun
* gui/src/TGMdiMainFrame.cxx:
From Bertrand Bellenot
Patch calling correct gVirtualX->Warp() version.
2004-09-03 09:52 brun
* cont/src/TClonesArray.cxx:
Fix a bug in TClonesArray::Streamer. When in read mode, fLast must always be rest.
In the previous version fLast was not set in case the number of objects read was 0.
2004-09-03 08:08 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::PaintInit and THistPainter::TableInit do not print the error message
log scale is requested but maximum is less or equal 0
when the option "same" is specified
2004-09-03 02:25 rdm
* gui/inc/LinkDef3.h, gui/inc/TGMdi.h, gui/inc/TGMdiDecorFrame.h,
gui/inc/TGMdiFrame.h, gui/inc/TGMdiMainFrame.h,
gui/inc/TGMdiMenu.h, gui/src/TGMdiDecorFrame.cxx,
gui/src/TGMdiFrame.cxx, gui/src/TGMdiMainFrame.cxx,
gui/src/TGMdiMenu.cxx, icons/mdi_close.xpm, icons/mdi_default.xpm,
icons/mdi_help.xpm, icons/mdi_maximize.xpm, icons/mdi_minimize.xpm,
icons/mdi_restore.xpm, gui/Module.mk, tutorials/guitest.C,
tutorials/mditest.C, tutorials/mditestbg.xpm:
new MDI (Multiple Document Interface) GUI classes. Ported from xclass 95
by Bertrand Bellenot and me. To see how this works and for example code
see $ROOTSYS/tutorials/mditest.C.
2004-09-02 16:22 brun
* graf/src/: TGraphAsymmErrors.cxx, TGraphBentErrors.cxx,
TGraphErrors.cxx:
In the SetPoint and SetPointError functions, implement the same reallocation
algorithm as in TGraph, using the new TGraph member fMaxSize.
2004-09-02 15:57 brun
* graf/: inc/TGraph.h, src/TGraph.cxx:
Add a new transient data member
Int_t fMaxSize;
Modify the function TGraph::SetPoint to double the size of the current
buffers when setting a point number >= fMaxSize.
In TGraph::Streamer (read mode) fMaxSize is set to fNpoints
2004-09-02 15:08 brun
* histpainter/src/THistPainter.cxx:
From Olivier:
- Help update in THistPainter::Paint (graphical cuts)
2004-09-02 14:40 brun
* histpainter/src/THistPainter.cxx:
Fix a problem in THistPainter::DistancetoPrimitive when looping
on the list of functions. A side-effect of the previous change in this function
was to exclude the TPaveStats from DistancetoPrimitive.
2004-09-02 14:21 brun
* hist/src/TAxis.cxx:
In TAxis::SetRangeUser call SetMinimum/SetMaximum in case
of a yaxis and 1-d histogram
of a zaxis and 2-d histogram
2004-09-01 19:44 brun
* hist/src/THStack.cxx:
Protect THStack::BuildStack and THStack::Paint in case of 0 histograms in the stack
2004-09-01 19:18 rdm
* gui/inc/TGDimension.h:
no need to derive TGRectangle from TObject.
2004-09-01 17:08 rdm
* gui/inc/TGDimension.h:
remove warning in TGRectangle copy ctor.
2004-09-01 16:35 rdm
* gui/: inc/LinkDef1.h, inc/TGFrame.h, inc/WidgetMessageTypes.h,
src/TGButton.cxx, src/TGTextView.cxx:
small changes in preparation for the MDI widget.
2004-09-01 16:34 rdm
* gui/: inc/TGDimension.h, src/TGDimension.cxx:
new class TGRectangle, used by the MDI widget.
2004-09-01 14:56 brun
* gui/: inc/TGTextView.h, src/TGTextView.cxx:
Add new functions suggested by Maxim Nikulin
"I use TGTextView widgets in my monitor program. Several thousands calls
of the AddLine() method make the program extremely slow. Using the
callgrind program I found that the AddLine() is most expensive in my
case because of Layout() invocations.
I suggest add methods AddLineFast() and Update(). Together they do the
same work to AddLine(), but it becomes possible to invoke AddLineFast()
many times and call the slow Update() method only once.
2004-09-01 13:09 brun
* physics/src/TGenPhaseSpace.cxx:
Add references to the GENBOD routine from CERNLIB
2004-09-01 12:29 brun
* hist/src/TF1.cxx:
In TF1::SavePrimitive use TFormula::GetExpFormula instead of GetTitle.
With this change, functions referencing other functions are supported.
2004-09-01 12:24 brun
* base/src/TMath.cxx:
In TMath::GanSer, TMath::BetaCf and TMath::GamCf change teh relative precision
from 3e-7 to 3e-14
2004-09-01 12:20 brun
* hist/src/TFormula.cxx:
In TFormula::GetExpFormula add support for more complex expresseions
2004-09-01 09:48 brun
* geom/src/: TGeoManager.cxx, TGeoMaterial.cxx:
From Andrei Gheata
some modifications fixing material/mixture automatic indexing
and some printing.
2004-09-01 09:30 rdm
* meta/: inc/TStreamerInfo.h, src/TStreamerInfoReadBuffer.cxx,
src/TStreamerInfoWriteBuffer.cxx:
fix compilation problem on MacOS X 10.3 (gcc 3.3) concerning function
templates. Same problem as for VC6 and Alpha.
2004-09-01 09:07 brun
* meta/src/TStreamerInfo.cxx:
In TStreamerInfo::GenerateHeaderFile generate a line with #include "Riostream.h"
when encountering an STL member.
2004-08-31 16:59 brun
* base/src/TFile.cxx:
Fix a bug in TFile::Open when reading files > 2GBytes.
The variable nk should not be incremented by 12.
2004-08-31 11:36 rdm
* base/: inc/TTimeStamp.h, src/TTimeStamp.cxx:
add also GetMonth() on popular demand.
2004-08-31 09:23 brun
* tutorials/Rolke.C:
From Jan Conrad
- example for bounded unbounded case added to Rolke.C tutorial
2004-08-31 09:22 brun
* physics/: inc/TRolke.h, src/TRolke.cxx:
From Jan Conrad
- added treatement of cases when maximum likelihood estimate (MLE) lies
outside the physical region
- updated documentation
- example for bounded unbounded case added to Rolke.C tutorial
2004-08-30 09:04 brun
* geom/: inc/TGeoXtru.h, src/TGeoTube.cxx, src/TGeoVolume.cxx,
src/TGeoXtru.cxx:
From Andrei Gheata & B.Nilsen
New set of getters in TGeoXtru.
Improved error messages in the other classes.
2004-08-28 09:05 brun
* hist/src/TH1.cxx:
From Olivier:
TH1::Rebin produced an histogram with the wrong number of entries when the
rebinning result was not stored in the original histogram. The number of
entries was increased by a value equal to the number of bins.
2004-08-27 17:56 rdm
* tree/src/TTree.cxx:
From Philippe:
fix bug in Show() when printing TLeafC's.
2004-08-27 17:47 rdm
* base/: inc/TTimeStamp.h, src/TTimeStamp.cxx:
add the new methods:
Int_t GetDayOfYear(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
Int_t GetDayOfWeek(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
Int_t GetWeek(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
Bool_t IsLeapYear(Bool_t inUTC = kTRUE, Int_t secOffset = 0) const;
and the new static utility functions:
static Int_t GetDayOfYear(Int_t day, Int_t month, Int_t year);
static Int_t GetDayOfWeek(Int_t day, Int_t month, Int_t year);
static Int_t GetWeek(Int_t day, Int_t month, Int_t year);
(IsLeapYear(Int_t year) already existed).
2004-08-27 13:23 rdm
* tree/src/TChain.cxx:
From Philippe:
this patch corrects the calculation of the TreeOffset when
adding a chain to a chain. The previous implementation
ended up adding kBigNumber together, resulting in incorrect
values for fEntryOffset (and thus for fEntries).
2004-08-27 13:21 rdm
* test/Tetris.cxx:
From Valeriy:
fix for Tetris keyhandling (don't use kAnyModifier for the arrow keys).
Was conflicting with the Sawfish window manager.
2004-08-26 19:05 rdm
* win32gdk/src/TGWin32.cxx:
From Bertrand:
one more memory leak detected, with Memory Validator.
2004-08-26 19:03 rdm
* gui/src/TGTab.cxx:
From Ilka:
The tab element was not redrawn when it is enabled/disabled.
2004-08-26 18:59 rdm
* cont/inc/TEmulatedVectorProxy.h:
From Philippe:
this patch enables the recursivity of the TEmulatedVectorProxy streamer.
2004-08-26 14:48 rdm
* win32gdk/gdk/src/gdk/win32/: gdkevents-win32.c,
gdkwindow-win32.c:
From Bertrand:
fix some more memory leaks.
2004-08-26 14:39 rdm
* unix/src/TUnixSystem.cxx:
add protection in GetUserInfo() in case GetGroupInfo() returns 0.
2004-08-25 17:37 rdm
* treeplayer/src/TFriendProxyDescriptor.cxx:
From Philippe:
fix typo.
2004-08-25 17:34 rdm
* gpad/src/TCanvas.cxx, gui/src/TRootCanvas.cxx:
fix segv in case "Canvas.ShowEditor: true" is set in rootrc file.
2004-08-25 16:41 rdm
* gpad/src/TPad.cxx:
tidy up some comments.
2004-08-25 15:31 rdm
* gui/inc/TGDoubleSlider.h:
fix in indentation.
2004-08-24 17:46 brun
* tree/: inc/TVirtualTreePlayer.h, src/TVirtualTreePlayer.cxx:
Implement a new function
TVirtualTreePlayer *TVirtualTreePlayer::GetCurrentPlayer()
that returns a pointer to the current TTreePlayer.
This function is required for the THXEditor classes (rebinning TAB)
2004-08-24 16:04 brun
* geom/src/TGeoHalfSpace.cxx:
Fix space problems in argument comments
2004-08-24 16:02 brun
* geom/inc/TGeoHalfSpace.h:
Fix space problems in argument comments
2004-08-24 14:59 brun
* hist/: inc/TAxis.h, src/TAxis.cxx:
Introduce a new function TAxis::SetDefaults called by the various TAxis::Set functions.
2004-08-24 14:31 rdm
* build/unix/makecintdlls.sh:
filter out the explicit-link option (back port from head).
2004-08-24 14:06 brun
* win32gdk/: gdk/src/gdk/win32/gdkevents-win32.c,
gdk/src/gdk/win32/gdkwindow-win32.c, src/TGWin32.cxx:
From Valeriy Onuchin
Fix for memory leaks
2004-08-24 13:56 brun
* win32gdk/gdk/src/gdk/win32/gdkwindow-win32.c:
From Bertrand Bellenot:
Patch solving GDI leaks
2004-08-24 12:42 rdm
* gui/: inc/TGLabel.h, src/TGLabel.cxx:
From Ilka:
- label is redrawn any time it is Enabled() or Disabled()
- the disabled option is saved in GUI macro code
2004-08-24 12:41 brun
* base/inc/TFile.h, base/src/TFile.cxx, base/src/TObject.cxx,
base/src/TRef.cxx, cont/inc/TRefTable.h, cont/src/TRefTable.cxx,
meta/src/TStreamerInfoWriteBuffer.cxx, tree/inc/TBranchRef.h,
tree/src/TBranchElement.cxx, tree/src/TBranchRef.cxx:
Improve the functionality of the TRefTable.
The new algorithm
-does not require a pointer to the TRefTable in TFile.
-can automatically load the branch of a Tree when calling TRef::GetObject
-works when writing/reading multiple Trees in parallel
2004-08-24 11:46 rdm
* gui/src/TGPicture.cxx:
ExpandPathName() returns a char* and not a const char*.
2004-08-24 11:32 brun
* ged/: inc/TH1Editor.h, inc/TH2Editor.h, src/TH1Editor.cxx,
src/TH2Editor.cxx:
From Carsten Hof
new features in TH2Editor:
- Enable/Disable the "Cont"-Label
- Changing the Frame Fill Color and the Frame Fill Style
- in 3D-Plot + Cartesian Coordinates you can see the new axis range as a box
when you push the "Delayed drawing" Checkbutton (it works =) :))))
Problem(s):
- the Frame Fill Color/Style is still kept when switching to a 2D-Plot
2004-08-24 10:55 brun
* geom/src/TGeoPcon.cxx:
From Andrei & Ivana
This patch with fixes to TGeoPcon;
it corrects two bugs in the initialization
of constructors:
- in TGeoPcon::TGeoPcon()
missing :TGeoBBox(0, 0, 0) caused that
the TGeoPgon created via TGeoPgon(Double_t *param)
was never added to the list of shapes
- in TGeoPcon::TGeoPcon(Double_t *param)
not initializing fRmin, etc.
caused break as the arrays were not created
in SetDimensions() function
2004-08-23 21:27 brun
* treeplayer/src/: TBranchProxy.cxx, TTreeProxyGenerator.cxx:
From Philippe:
The attached patch fixes a problem with counting the number
of branch used. Some branches were counted twice as being
used and hence some branches where skipped.
This patch also fix a problem with the address calculation
for some (complex) object hierachy.
2004-08-23 18:42 brun
* meta/src/TStreamerInfoReadBuffer.cxx:
From Philippe
Fix some compiler warnings about unused variables
2004-08-23 18:05 brun
* cont/inc/TEmulatedVectorProxy.h, cont/inc/TVectorProxy.h,
meta/inc/TStreamerInfo.h, meta/src/TStreamerInfoReadBuffer.cxx,
meta/src/TStreamerInfoWriteBuffer.cxx:
From Philippe:
This patch work around the fact that some compiler (MS6 and alpha) does
not properly handle templated member function. This result in non optimal
run-time performance on those platforms. Also work around the difficulty
with stl container for void* with CINT on MS7)
2004-08-23 18:01 brun
* hist/src/TMultiDimFit.cxx:
In TMultiDimFit::MakeCorrelation, the correlation matrix was not correctly computed.
(Inversion of rows/columns)
2004-08-23 17:09 brun
* graf/src/TGaxis.cxx:
Fix a misplaced statement in previous correction.
2004-08-23 17:01 brun
* graf/src/TGaxis.cxx:
In TGaxis::Paint do not set/reset the option "G" when toggling lin/log scales
2004-08-23 11:28 brun
* graf/src/: TGraph.cxx, TGraphAsymmErrors.cxx,
TGraphBentErrors.cxx, TGraphErrors.cxx:
From Olivier:
New option "2" in TGraphErrors::Paint, TGraphAsymmErrors::Paint and in
TGraphBentErrors::Paint to draw error rectangles.
2004-08-22 03:51 rdm
* tree/src/TBranchRef.cxx:
add protection in dtor against GetFile() returning 0.
2004-08-22 03:50 rdm
* tree/src/TBranch.cxx:
updated description of GetFile() and corrected test for remote branch files,
was "://", now ":/" since, e.g. rfio:/path/file.root is a legal url.
2004-08-22 03:47 rdm
* tutorials/guitest.C:
use 0 instead of gClient->GetRoot() to specify TGMainFrame parent.
This because gClient is 0 in batch mode.
2004-08-22 03:45 rdm
* gui/src/TGWindow.cxx:
create gClient when it does not exist, this can happen when libGui was
loaded at program startup but not initialized because application is
in batch mode.
2004-08-22 03:43 rdm
* gui/src/TGClient.cxx:
add protection against gROOT being 0 causing segv when libGui is loaded
at program startup.
2004-08-21 11:33 rdm
* rint/src/TTabCom.cxx:
fix memory leak in Complete().
2004-08-21 11:32 rdm
* gui/: inc/TGPicture.h, src/TGPicture.cxx:
fix memory leak in GetPicture().
2004-08-21 09:09 brun
* gpad/src/TCanvas.cxx:
Fix a small memory leak in the default TCanvas constructor
2004-08-21 09:06 brun
* gl/src/TViewerOpenGL.cxx:
From Valeriy Onuchin
Reset the TPad fViewer3D when closing the TViewerOpenGL
2004-08-21 09:05 brun
* gui/src/: TGButton.cxx, TGLabel.cxx:
From Valeriy Onuchin:
- delete local GC in TGLabel and TGTextButton destructor
2004-08-21 01:26 rdm
* netx/: inc/TXConnectionMgr.h, inc/TXPhyConnection.h, inc/TXUrl.h,
src/TXConnectionMgr.cxx, src/TXError.cxx, src/TXLogConnection.cxx,
src/TXMessage.cxx, src/TXNetConn.cxx, src/TXNetFile.cxx,
src/TXPhyConnection.cxx, src/TXProtocol.cxx, src/TXSocket.cxx,
src/TXUrl.cxx:
remove large number of Unix specific system includes that are not needed
anymore since machine independent versions of ROOT are now used (TSystem,
TSocket, TThread, etc.).
2004-08-21 01:23 rdm
* netx/src/: TXInbutBuffer.cxx, TXInputBuffer.cxx:
correct typo in file name: inbut -> input.
2004-08-21 00:16 rdm
* netx/: inc/LinkDef.h, inc/TXAbsNetCommon.h,
inc/TXConnectionMgr.h, inc/TXDebug.h, inc/TXError.h,
inc/TXInputBuffer.h, inc/TXLogConnection.h, inc/TXMessage.h,
inc/TXMutexLocker.h, inc/TXNetConn.h, inc/TXNetFile.h,
inc/TXPhyConnection.h, inc/TXProtocol.h, inc/TXSocket.h,
inc/TXUnsolicitedMsg.h, inc/TXUrl.h, src/TXAbsNetCommon.cxx,
src/TXConnectionMgr.cxx, src/TXDebug.cxx, src/TXError.cxx,
src/TXInbutBuffer.cxx, src/TXLogConnection.cxx, src/TXMessage.cxx,
src/TXNetConn.cxx, src/TXNetFile.cxx, src/TXPhyConnection.cxx,
src/TXProtocol.cxx, src/TXSocket.cxx, src/TXUrl.cxx:
add cvs identification strings and fix some include statements (change
from <> to "" for ROOT includes).
2004-08-21 00:15 rdm
* gui/: inc/TGLabel.h, src/TGLabel.cxx:
From Ilka:
new methods to enable and disable the label widget. When a label is
disabled the label text is greyed-out. This is not so much interesting for
labels as well as for other widgets which contain labels.
2004-08-20 23:25 brun
* tree/src/TTree.cxx:
Delete fBranchRef in the TTree destructor.
2004-08-20 23:24 brun
* tree/src/TBranchRef.cxx:
Use the new TRefTable constructor.
In the destructor, reset fRefTable in the corresponding file.
2004-08-20 23:23 brun
* cont/: inc/TRefTable.h, src/TRefTable.cxx:
Implement a default constructor for TRefTable.
Implement the destructor.
2004-08-20 23:02 brun
* cont/inc/TEmulatedVectorProxy.h, cont/inc/TVectorProxy.h,
cont/inc/TVirtualCollectionProxy.h,
cont/src/TEmulatedVectorProxy.cxx, meta/inc/TStreamerInfo.h,
meta/src/TClass.cxx, meta/src/TStreamerInfo.cxx,
meta/src/TStreamerInfoReadBuffer.cxx,
meta/src/TStreamerInfoWriteBuffer.cxx, tree/src/TBranchElement.cxx,
treeplayer/src/TTreePlayer.cxx:
From Philippe:
This patch is an important step toward the implementation of the member-wise
saving of stl containers.
Mainly, the code does not require anymore the collection proxy to be able
to provide a C-style array of pointer to its content. This avoid the
problems of having to iterate twice through some collection and/or to have to
keep in memory a version of this array. Concretely this also mean that the
I/O routine will now be able to recurse through stl containers.
Technically, this is done by templating TStreamerInfo::ReadBuffer and
TStreamerInfo::WriteBufferAux (as well as the ReadBufferSkip And
ReadBufferConv) so that you can use it directly with a char** or
with a TVirtualCollection (to which we added an operator [] and
removed the method GetPtrArray).
In addition, we added 2 new method to TVirtualCollectionProxy:
PushProxy and PopProxy that will allow to keep some state on
where we are in the iteration for a collection when we recurse.
(This is required for a reasonable implementation of the
TVirtualCollection for std::list).
Also (in an unrelated fix) we update TTreePlayer::Scan to
properly display the columns when they are more expressions
in the request than leaves in the tree.
2004-08-20 16:59 brun
* tree/: inc/TTree.h, src/TBranchElement.cxx, src/TTree.cxx:
Add a new data member
TBranchRef *fBranchRef
and the corresponding function:
TBranch *TTree::BranchRef()
// Build the optional branch supporting the TRefTable
// This branch will keep all the information to find the branches
// containing referenced objects
//
// at each Tree::Fill, the branch numbers containing the
// referenced objects are saved to the TBranchRef basket
// When the Tree header is saved (via TTree::Write), the branch
// is saved keeping the information with the pointers to the branches
// having referenced objects.
TTree::Fill is modified to:
-call fBranchRef->Clear before filling the branches
-call fBranchRef->Fill once all the branches have been filled.
TTree::Print is modified to also call
fBranchRef->Print
TBranchElement::Fill is modified to call fBranchRef->SetParent
when the parent Tree has a TBranchRef.
eVS: ----------------------------------------------------------------------
2004-08-20 16:54 brun
* tree/: inc/LinkDef.h, inc/TBranchRef.h, src/TBranchRef.cxx:
New class TBranchRef deriving from TBranch.
This is a special branch keeping the information about the
branch numbers having referenced objects.
The TBranchRef object is created by the new function
TTree::BranchRef
2004-08-20 16:52 brun
* base/src/TObject.cxx, meta/src/TStreamerInfoWriteBuffer.cxx:
Modify TObject::Streamer and TStreamerInfo::WriteBuffer
to support the new TRefTable.
When a TRefTable is defined in the current file, the parent number
of the object supporting the referenced object is added to the TRefTable.
2004-08-20 16:48 brun
* base/: inc/TFile.h, src/TFile.cxx:
Add a new member to TFile
TRefTable *fRefTable
and a new member function
void TFile::SetRefTable(TRefTable *table)
// Set the current TRefTable
// When writing referenced objects, a table of parents of these
// referenced objects is kept in the TRefTable
// eg, when writing a Tree, the parent object is the TBranch
// with the referenced object. In this case the TRefTable is activated
// when filling the Tree. The information about the parents is kept
// in a separate Tree branch, such that when dereferencing a TRef
// the parent branch containing the referenced object can be loaded
// automatically.
2004-08-20 16:46 brun
* cont/: inc/LinkDef.h, inc/TRefTable.h, src/TRefTable.cxx:
Add a new class
// TRefTable
//
// A TRefTable maintains the association between a referenced object
// and the parent object supporting this referenced object.
// The parent object is typically a branch of a TTree.
2004-08-20 12:35 brun
* hist/src/: TF1.cxx, TFormula.cxx:
Implement the normalized landau function "landaun"
in the same way that the normalized gaussian "gausn"
was implemented.
2004-08-20 12:00 brun
* base/inc/TMath.h:
In TMath::Landau change the name of the argument "mean" to "mpv" (most probable value).
2004-08-20 11:57 brun
* base/: inc/TMath.h, src/TMath.cxx:
Add an optional argument Bool_t norm=kFALSE to TMath::Landau
When norm is kTRUE, TMath::Landau returns a normalized (divided by sigma) result.
2004-08-20 11:10 brun
* hist/src/TFormula.cxx:
Fix a typo in the description of the new function "gausn" (thanks Thomas Ruf)
2004-08-20 10:13 brun
* histpainter/src/THistPainter.cxx:
In THistPainter::DistancetoPrimitive when looping on list of associated functions
TF1::DistancetoPrimitive is called with -px instead of px to instruct
TF1::DistancetoPrimitive to not look in the histogram axis.
In case of a histogram with a negative minimum, do not select
the histogram when crossing the 0 line.
2004-08-20 10:07 brun
* graf/src/TGraph.cxx:
In TGraph::DistancetoPrimitive when looping on list of associated functions
TF1::DistancetoPrimitive is called with -px instead of px to instruct
TF1::DistancetoPrimitive to not look in the histogram axis.
2004-08-20 10:05 brun
* hist/src/TF1.cxx:
In TF1::DistancetoPrimitive do not call fHistogram->DistancetoPrimitive
when the function is a list of functions of a TH1 or TGraph.
In this case TF1::DistancetoPrimitive is called with a negative value for px.
2004-08-19 22:00 brun
* eg/inc/TDatabasePDG.h:
Add a protection in TDatabasePDG::GetParticleClass when the pdg table is not yet read in.
2004-08-19 18:17 brun
* ged/: inc/TH2Editor.h, src/TH2Editor.cxx:
From Carsten Hof
New version of TH2Editor with several improvements in the GUI and in functionality
2004-08-19 14:36 brun
* gl/: inc/TGLKernel.h, src/TGLKernel.cxx:
#include "Windows4root.h" must be in TGLKernel.h instead of TGLKernel.cxx
2004-08-19 14:06 brun
* base/inc/TVirtualGL.h, gl/inc/TGLKernel.h,
gl/inc/TViewerOpenGL.h, gl/src/TGLKernel.cxx,
gl/src/TViewerOpenGL.cxx, win32gdk/inc/TGWin32VirtualGLProxy.h,
win32gdk/src/TGWin32VirtualGLProxy.cxx:
From Timur Pocheptsov
1. OpenGL selection now implemented by display list
2. Drawing code for face sets removed from TGLKernel to make it faster under Win32
3. GLUNewTess and GLUxxx functions were removed from TVirtualGL and
corresponding classes.
2004-08-19 13:25 rdm
* config/Makefile.depend:
no need for the QTSYSTEMLIB veriable and no need to add it to GQTLIBEXTRA
since this was already done in qt/Module.mk.
2004-08-19 13:11 rdm
* gui/inc/TGDoubleSlider.h:
From Ilka:
change argument "scale" to "type" to avoid confusion and be in line with
the implementation file. Remove the unused data member fDragging.
2004-08-19 12:17 brun
* base/src/TKey.cxx:
Fix in TKey::Streamer when a TKey/TBasket has been created before the file reaches 2GBytes
and written after the file has reached 2 GBytes. (thanks to Brandon Kohn)
2004-08-19 08:47 brun
* histpainter/src/THistPainter.cxx:
Modify a comment in THistPainter::Paint.
The option "CONT5" is only for TGraph2D
2004-08-19 08:39 brun
* config/Makefile.depend:
Add new dependency variables for QT (from Valeri Fine)
Unix:
-----
QTSYSTEMLIB = $(QTLIBDIR) $(QTLIB)
GQTLIBDEP = $(GPADLIB) $(RINTLIB)
GQTLIBEXTRA = -Llib -lGpad -lRint $(QTSYSTEMLIB)
Windows:
---------
QTSYSTEMLIB = $(QTLIB)
GQTLIBDEP = $(GPADLIB) $(RINTLIB)
GQTLIBEXTRA = $(QTSYSTEMLIB) lib/libGpad.lib lib/libRint.lib
2004-08-18 17:27 rdm
* base/: inc/TMD5.h, src/TMD5.cxx:
fix in byteswapping part of code. Now TMD5 reports the same digest as
the standard md5sum program and other md5 implementations.
2004-08-18 14:29 brun
* hist/src/TFractionFitter.cxx:
From Frank filthaut
Fix a bug in TFractionFitter::FindPrediction
2004-08-18 12:55 brun
* graf/src/TPave.cxx:
Add protection in TPave::PaintPave when drawing TPave objects with a bordersize
overflowing the pad.
2004-08-18 11:12 brun
* ged/: inc/LinkDef.h, inc/TH1Editor.h, inc/TH2Editor.h,
src/TH1Editor.cxx, src/TH2Editor.cxx:
From Carsten Hof:
Add new classes TH1Editor and TH2Editor
2004-08-18 10:50 brun
* tutorials/FittingDemo.C:
Use new option "e" when calling TLegend::AddEntry
2004-08-18 10:47 brun
* graf/src/TLegend.cxx:
Add a new option "E" to TLegend::AddEntry
// Options are:
// L draw line associated w/ TAttLine if obj inherits from TAttLine
// P draw polymarker assoc. w/ TAttMarker if obj inherits from TAttMarker
// F draw a box with fill associated w/ TAttFill if obj inherits TAttFill
// E draw vertical error bar if option "P" is also specified
2004-08-18 10:40 brun
* minuit/src/TFitter.cxx:
Remove unused variables
2004-08-18 09:16 brun
* minuit/src/TFitter.cxx:
Fix a problem in TF1 function GraphFitChisquare when fitting TGraphErrors with errors in x defined.
The inner loop was calling TF1::Derivative that redefines (via TF1::InitArgs) the
address of the argument x. The solution was to move the call to InitArgs
inside the loop.
2004-08-17 19:09 brun
* pyroot/ROOT.py:
From Wim Lavrijsen
o) provide access to gPad
I wasn't aware that gPad is a C++ macro, rather than a global and that
gROOT->GetGlobal( "gPad" ) thus doesn't work. Now it is ok.
2004-08-17 17:06 rdm
* gui/: inc/TGClient.h, src/TGClient.cxx, src/TGFrame.cxx:
in case of batch mode create via a static object a default TGClient object.
This will allow the creation of GUI widgets in batch mode and avoids to
have to test all gClient and fClient pointers from being 0.
2004-08-17 16:57 rdm
* gui/: inc/TRootApplication.h, src/TRootApplication.cxx:
use delete[] to delete fDisplay and fix some typos in comments.
2004-08-17 15:34 brun
* graf/src/TGaxis.cxx:
In TGaxis::PaintAxis modify the algorithm painting the grid
in case of a log scale.
The grid lines are only drawn for the primary tick marks if there are
no secondary or tertiary divisions.
2004-08-17 13:06 rdm
* g3d/src/TPARA.cxx:
remove unused variable "rep".
2004-08-17 12:57 brun
* hist/src/TFractionFitter.cxx:
Add a protection in TFractionFitter::FindPrediction against the case nMax=0.
2004-08-17 10:31 brun
* hist/src/TH1.cxx:
Improve the calculation of errors in TH1::Divide with the binomial option.
In the previous algorithm, when the bin contents of the two histograms
were equal, the resulting error was null.
In the new algorithm, the method used in TGraphAsymmErrors::BayesDivide
is used to make a better error estimation.
2004-08-16 17:07 brun
* ged/src/TGraphEditor.cxx:
Replace statements like
fGraph->GetDrawOption
or
fGraph->SetDrawOption(opt)
by
GetDrawOption()
SetDrawOption(opt)
The Get/setDrawOption are the new functions in TGedFrame overloading
the TObject functions.
2004-08-16 17:05 brun
* ged/: inc/TGedFrame.h, src/TGedFrame.cxx:
Overload the TObject functions GetDrawOption and SetDrawOption.
Instead of getting/setting the option in the current pad gPad, the
new functions get/set the options in the selected pad fPad.
2004-08-16 16:28 rdm
* net/src/TAuthenticate.cxx, rpdutils/inc/rpdp.h,
rpdutils/src/rpdutils.cxx:
From Gerri:
Public key files should always be unlinked at the end of use
by rootd/proofd, but it is true that when for some reason
the unlinking was unsuccessful, the next daemon may have run
in the problems you observed.
I have re-written RpdSavePubKey in such a way that it returns
an error code, runs fchown before writing and checks any
possible failures.
Within RpdUpdateAuthTab, for RpdSavePubKey failures due
to already existing files which cannot be overwritten,
a dummy entry is entered in rpdauthtab so that a new offset
(so a new file name) is used.
I have also found a place in TAuthenticate where the value
of the returned offset was not checked for non-negativity,
which was probably the reason of the crash.
2004-08-16 15:49 brun
* test/RootShower/RootShower.cxx:
Set the default viewer to be with x3d("ogl")
2004-08-16 12:13 brun
* gl/src/TGLKernel.cxx:
Fix a compilation error on alpha/cxx in TGLKernel::PaintPolyMarker
Because the GLU constants are defined as integer, one must cast them
to GLenum, eg
gluQuadricOrientation(fQuad, (GLenum)GLU_OUTSIDE);
gluQuadricDrawStyle(fQuad, (GLenum)GLU_FILL);
gluQuadricNormals(fQuad, (GLenum)GLU_FLAT);
2004-08-16 12:00 brun
* base/inc/GLConstants.h, base/inc/TVirtualGL.h,
gl/inc/TGLKernel.h, gl/inc/TViewerOpenGL.h, gl/inc/TX11GL.h,
gl/src/TGLKernel.cxx, gl/src/TViewerOpenGL.cxx, gl/src/TX11GL.cxx,
win32gdk/inc/TGWin32GL.h, win32gdk/inc/TGWin32VirtualGLProxy.h,
win32gdk/src/TGWin32GL.cxx, win32gdk/src/TGWin32VirtualGLProxy.cxx:
From Timur Pocheptsov;
Three more light sources were added (this is good for box, for example,
but not very good for tube - it's too bright now)
I added drawing for markers: spheres, cubes, pyramids, points, crosses and
"stars" == *. Drawing with spheres may be slow.
I added primary selection facility - I just draw wireframe box around
shape (today I hope to add context menu to picking action)
2004-08-16 11:31 brun
* hist/: inc/TF1.h, src/TF1.cxx, src/TF2.cxx, src/TF3.cxx:
Modify TF1::IntegraMultiple to add all the functionality from the original
CERNLIB routine radmul. To be back compatible, two prototypes
for TF1::IntegralMultiple are defined. The old interface call the new one
Double_t TF1::IntegralMultiple(Int_t n, const Double_t *a, const Double_t *b, Int_t minpts, Int_t maxpts, Double_t eps, Double_t &relerr,Int_t &nfnevl, Int_t &ifail)
// input parameters
// ================
// n : Number of dimensions [2,15]
// a,b : One-dimensional arrays of length >= N . On entry A[i], and B[i],
// contain the lower and upper limits of integration, respectively.
// minpts: Minimum number of function evaluations requested. Must not exceed maxpts.
// if minpts < 1 minpts is set to 2^n +2*n*(n+1) +1
// maxpts: Maximum number of function evaluations to be allowed.
// maxpts >= 2^n +2*n*(n+1) +1
// if maxpts<minpts, maxpts is set to 10*minpts
// eps : Specified relative accuracy.
//
// output parameter
// ================
// relerr : Contains, on exit, an estimation of the relative accuracy of the result.
// nfnevl : number of function evaluations performed.
// ifail :
// 0 Normal exit. . At least minpts and at most maxpts calls to the function were performed.
// 1 maxpts is too small for the specified accuracy eps.
// The result and relerr contain the values obtainable for the
// specified value of maxpts.
// 3 n<2 or n>15
2004-08-15 17:16 rdm
* configure:
modification in xrootd detection and enabling.
2004-08-13 19:03 rdm
* gui/inc/TGClient.h, gui/src/TGFrame.cxx, qt/inc/TQtTimer.h,
qt/src/TQtTimer.cxx:
small changes in comments and white spaces.
2004-08-13 19:02 rdm
* base/src/TSystem.cxx:
add in Load() code to load dependent libraries. For example it is now
possible to do:
gSystem->Load("libEGPythia6")
while before this failed and one had to do:
gSystem->Load("libEG")
gSystem->Load("libEGPythia6")
2004-08-13 19:00 rdm
* meta/inc/TCint.h, meta/inc/TInterpreter.h, meta/src/TCint.cxx,
win32gdk/inc/TGWin32InterpreterProxy.h,
win32gdk/src/TGWin32InterpreterProxy.cxx:
new method GetSharedLibDeps(const char *lib) which returns a string
containing the libraries on which lib depends.
2004-08-13 18:41 brun
* base/src/TMath.cxx, utils/src/rootcint.cxx:
From Philippe:
This patch re-enables the generation of the Html documentation
for TMath (and any other namespace) on sgi kcc.
NamespaceImp is still not useable on alpha and solaris.
On solaris this is due to a bug/problen in the compiler/linker
in the handling of inline function (there are __always__ local
symbol (instead of weak symbols)).
2004-08-13 17:12 rdm
* gui/src/TGColorDialog.cxx:
From Ilka an me:
fix problem with access of deleted TGColorDialog object in the WaitFor()
method called at the end of the TGColorDialog ctor. Instead of WaitFor()
use now WaitForUnmap(), in CloseWindow() call now UnmapWindow() instead
of DeleteWindow() and after WaitForUnmap() call now DeleteWindow().
Removed a number of memory leaks by using SetCleanup() for all
composite frames.
2004-08-13 11:44 brun
* treeplayer/: inc/TTreePlayer.h, src/TTreePlayer.cxx:
Add a new function;
Long64_t TTreePlayer::GetEntriesToProcess(Long64_t firstentry, Long64_t nentries) const
// return the number of entries to be processed
// this function checks that nentries is not bigger than the number
// of entries in the Tree or in the associated TEventlist
This new function is called in:
TTreePlayer::CopyTree
TTreePlayer::Principal
TTreePlayer::Process
TTreePlayer::Scan
TTreePlayer::Query
2004-08-13 10:05 brun
* pyroot/src/: MethodHolder.cxx, ObjectHolder.cxx:
From Wim Lavrijsen
Fix portability problems under Windows (replacing long long by Long64_t)
2004-08-13 09:38 brun
* geom/Module.mk, geom/inc/LinkDef1.h, geom/inc/TGeoHalfSpace.h,
geom/inc/TGeoShape.h, geom/src/TGeoBoolNode.cxx,
geom/src/TGeoCompositeShape.cxx, geom/src/TGeoHalfSpace.cxx,
geompainter/src/TGeoPainter.cxx:
From Andrei Gheata:
- TGeoHalfSpace - we needed half-spaces for FLUKA example from Alfredo,
so Mihaela implemented this shape. It can be used only as component of a
composite shape, in combination with a finite shape. Defined by:
- a point lying on the plane
- normal to the plane at this point, pointing outwards the half-space
2004-08-13 09:34 brun
* pyroot/src/ObjectHolder.cxx:
Replace
#include "TUnixSystem.h"
by
#include "TSystem.h"
2004-08-13 08:21 brun
* qt/: inc/TQtTimer.h, src/TGQt.cxx, src/TQtTimer.cxx:
Add new class TQtTimer.
Remove function Warp from TGQt and some cleanup to follow ROOT coding style.
2004-08-13 08:05 brun
* qt/: inc/TQtWidget.cw, src/GQtGUI.cxx, src/TQtClientWidget.cxx,
src/TQtThread.cxx, src/TQtWidget.cxx:
From Valeri Fine:
1. Fix the keyboard accelerator handling
2. Reduce the size of the Qt designer "Custom Widget"
descriptor by choosing the smaller icon.
3.1. Add the TRint object instantiation to allow
user to plug-in the TCanvas in to Qt application
with no changing of his/her Qt "main"
3.2. Introduce the new class TQtTimer to handle
the ROOT event loop in case the user starts from the "pure" Qt "main"
4. Fix typo in TQtThread::HasTTFonts causing an infinite loop on Windows.
5. Add Warp method implementation.
2004-08-13 08:02 brun
* pyroot/src/: MethodHolder.cxx, PropertyHolder.cxx,
PyBufferFactory.cxx, PyBufferFactory.h, Pythonize.cxx:
From Wim Lavrijsen:
fix for pythonization of TTree and some urgent fixes:
o) fixes for Long64_t
o) use buffers instead of copy in pyfunction interface call
o) allow browsing a tree as if it has leaves as data members
o) added error checking on index for PyBuffer if length known
2004-08-12 22:55 brun
* pyroot/: ROOT.py, src/MethodHolder.cxx, src/ObjectHolder.cxx,
src/ObjectHolder.h, src/RootWrapper.cxx, src/RootWrapper.h,
src/Utility.cxx, src/Utility.h:
From Wim Lavrijsen:
o) added ULong and UInt for return types
o) allow transparant import of globals
o) added AddressHolder for TGlobal casting
This way, gDirectory on the python side acts as a pointer, not as a
reference. Ie., if C++ sets gDirectory to another value, this change
will be reflected on the python side.
2004-08-12 22:11 brun
* hist/: inc/TF1.h, src/TF1.cxx:
Add an optional argument Int_t maxpts=0 in TF1::IntegralMultiple.
If specified this paramerter can be used to increase the default number of iterations.
2004-08-12 18:12 rdm
* configure:
compile xrootd for the time being only on linux.
2004-08-12 16:23 brun
* html/src/THtml.cxx:
The inheritance Trees are now generated on pdf files instead of ps.
This looks much better for Windows users.
2004-08-12 16:22 brun
* gpad/src/TPad.cxx:
Some improvements in TPad::DrawClassObject in case of classes
with many levels of inheritance.
2004-08-12 13:54 rdm
* README/CREDITS:
add xrootd team Andy, Alvise and Fabrizio.
2004-08-12 13:54 rdm
* xrootd/src/xrootd-20040804-2326.tar.gz:
add version of tar file not containing the CVS control directories.
2004-08-12 13:41 rdm
* base/src/TMath.cxx:
reformatting of Anna's new code (indentation 3 instead of 2).
2004-08-12 13:40 rdm
* Makefile, configure, config/Makefile.depend, config/Makefile.in,
config/rootrc.in:
mods in the build procedure to build xrood and its client libNetx.
Provided by Gerri and me.
2004-08-12 13:39 rdm
* xrootd/: Module.mk, src/.cvsignore,
src/xrootd-20040804-2326.tar.gz:
xrootd, eXtended ROOT daemon. coded by Andy Hanushevsky of SLAC working
for the BaBar collaboration. The xrootd will in the neat future replace
the current rootd. xrootd has been written with very large scale in mind
(many users, many files, redundancy, fail-safe, fall-over, load balancing,
etc., etc.).
2004-08-12 13:35 rdm
* netx/: Module.mk, inc/LinkDef.h, inc/TXAbsNetCommon.h,
inc/TXConnectionMgr.h, inc/TXDebug.h, inc/TXError.h,
inc/TXInputBuffer.h, inc/TXLogConnection.h, inc/TXMessage.h,
inc/TXMutexLocker.h, inc/TXNetConn.h, inc/TXNetFile.h,
inc/TXPhyConnection.h, inc/TXProtocol.h, inc/TXSocket.h,
inc/TXUnsolicitedMsg.h, inc/TXUrl.h, src/TXAbsNetCommon.cxx,
src/TXConnectionMgr.cxx, src/TXDebug.cxx, src/TXError.cxx,
src/TXInbutBuffer.cxx, src/TXLogConnection.cxx, src/TXMessage.cxx,
src/TXNetConn.cxx, src/TXNetFile.cxx, src/TXPhyConnection.cxx,
src/TXProtocol.cxx, src/TXSocket.cxx, src/TXUrl.cxx:
client code to access the xrootd, eXtended ROOT daemon. Code
provided by Alvise Dorigo, Fabrizio Furano from INFN Padova working
for the BaBar collaboration.
2004-08-12 12:58 rdm
* gui/src/TGStatusBar.cxx:
From Ilka:
fix in TGStatusBar::DrawBorder() method - when Draw3DCorner(kFALSE) is set
some part of the text was eaten where otherwise the 3D-corner would be.
2004-08-12 12:52 brun
* treeplayer/src/TSelectorDraw.cxx:
One more optimisation in TSelectorDraw::TakeAction.
Always recompute the histogram limits in scatter-mode to support
the case of x or y values growing with entry number.
2004-08-12 12:47 brun
* gpad/src/TPad.cxx:
From Ilka:
fix of the bug #PR2402 reported
by Volker Adler in TPad::SaveAs() method.
2004-08-12 12:44 brun
* x11/src/TGX11.cxx:
Small change in the algorithm supporting a large number of points
in TGX11::DrawPolyMarker
2004-08-12 11:55 brun
* x11/src/TGX11.cxx:
Fix a problem in TGX11::DrawPolyMarker.
The X11 function XDrawPoints crashes when more than 1000000 points are given.
2004-08-12 10:40 brun
* treeplayer/src/TSelectorDraw.cxx:
Fix a problem in TSelectorDraw::TakeAction. Both the binned histogram and the TGraph
objects were drawn in scatter-plot mode
2004-08-12 06:33 brun
* treeplayer/: inc/TTreeFormula.h, src/TFormLeafInfo.cxx,
src/TTreeFormula.cxx, src/TTreeFormulaManager.cxx,
src/TTreePlayer.cxx:
From Philippe:
This enhance the support in TTreeFormula for (conceptual) array
with 2 varying dimensions in the case the 2nd dimensions has
some zero length and a fixed index is used.
This patch also add the ability to format the output of
TTree::Scan. The option parameter can now contains the following
customization:
// colsize=ss
// Where 'ss' will be used as the default size for all the column
// If this options is not specified, the default column size is 9
// precision=pp
// Where 'pp' will be used as the default 'precision' for the
// printing format.
// col=xxx
// Where 'xxx' is colon (:) delimited list of printing format for
// each column if no format is specified for a column, the default is
// used.
// For example:
// tree->Scan("a:b:c","","colsize=30 precision=3 col=::20.10");
// Will print 3 columns, the first 2 columns will be 30 characters long,
// the third columns will be 20 characters long. The
// for the columns (assuming they are numbers) will be respectively:
// %30.3g %30.3g %20.10g
2004-08-11 22:12 brun
* pyroot/src/: MethodHolder.cxx, PyROOT.h, Pythonize.cxx,
TPyClassGenerator.cxx, Utility.cxx:
From Wim Lavrijsen:
Fix several compiler warnings
"I didn't see those warnings because pyconfig.h in 2.2 doesn't define
_POSIX_C_SOURCE, whereas 2.3 does. And switching to "standard" order (ie.
having Python.h before Api.h) gives me pbs with sizeof(fpos_t)."
2004-08-11 15:08 brun
* hist/: inc/TH1.h, src/TH1.cxx:
Add two optional arguments to TH1::Smooth to smooth in a restricted area only
void TH1::Smooth(Int_t ntimes, Int_t firstbin, Int_t lastbin)
// Smooth bin contents of this histogram between firstbin and lastbin.
// (if firstbin=-1 and lastbin=-1 (default) all bins are smoothed.
// bin contents are replaced by their smooth values.
// Errors (if any) are not modified.
// algorithm can only be applied to 1-d histograms
2004-08-11 12:30 brun
* gl/src/TViewerOpenGL.cxx:
Fix portability problem in TViewerOpenGL::UpdateScene
2004-08-11 11:57 brun
* vmc/inc/TVirtualMC.h:
Add new function
virtual Bool_t SecondariesAreOrdered() const = 0;
This function is also implemented in TGeant3.h and it is required for TFluka.
2004-08-11 11:41 brun
* tutorials/mathGammaNormal.C:
New tutorial illustrating the use of TMath::GammaDist and TMath::LogNormal
2004-08-11 11:39 brun
* base/: inc/TMath.h, src/TMath.cxx:
New functions in TMath: Original code by Anna Kreshuk
Double_t TMath::CauchyDist(Double_t x, Double_t t, Double_t s)
//computes the density of Cauchy distribution at point x
//by default, standard Cauchy distribution is used (t=0, s=1)
//t is the location parameter
//s is the scale parameter
//The Cauchy distribution, also called Lorentzian distribution,
//is a continuous distribution describing resonance behavior
//The mean and standard deviation of the Cauchy distribution are undefined.
//The practical meaning of this is that collecting 1,000 data points gives
//no more accurate an estimate of the mean and standard deviation than does a single point.
//the formula was taken from "Engineering Statistics Handbook" on site
//http://www.itl.nist.gov/div898/handbook/eda/section3/eda3663.htm
Double_t TMath::GammaDist(Double_t x, Double_t gamma, Double_t mu, Double_t beta)
//computes the density function of Gamma distribution at point x
//gamma - shape parameter
//mu - location parameter
//beta - scale parameter
//the formula was taken from "Engineering Statistics Handbook" on site
//http://www.itl.nist.gov/div898/handbook/eda/section3/eda366b.htm
// --implementation by Anna Kreshuk
Double_t TMath::LogNormal(Double_t x, Double_t sigma, Double_t theta, Double_t m)
//computes the density of LogNormal distribution at point x
//variable X has lognormal distribution if Y=Ln(X) has normal distribution
//sigma is the shape parameter
//theta is the location parameter
//m is the scale parameter
//the formula was taken from "Engineering Statistics Handbook" on site
//http://www.itl.nist.gov/div898/handbook/eda/section3/eda3669.htm
Examples of these functions are shown in the new tutorial mathGammaNormal.C
2004-08-11 09:59 brun
* hist/: inc/TFormula.h, src/TF1.cxx, src/TFormula.cxx:
Add the normalized gaussian "gausn" to the list of standard functions.
the expression "gaus" is a substitute for
[0]*exp(-0.5*((x-[1])/[2])**2)
to obtain a standard normalized gaussian, use "gausn" instead of "gaus"
the expression "gausn" is a substitute for
[0]*exp(-0.5*((x-[1])/[2])**2)/sqrt(2*pi*[2])
The "gaus" and "gausn" functions use now TMath::Gaus.
Fix typos replacing the enum kgaux by kgaus
2004-08-11 06:49 brun
* pyroot/src/Pythonize.cxx:
Fix compilation errors
2004-08-11 06:42 brun
* pyroot/: inc/LinkDef.h, src/MethodDispatcher.cxx,
src/MethodDispatcher.h, src/MethodHolder.cxx, src/MethodHolder.h,
src/PyCallable.h, src/Pythonize.cxx, src/TPyClassGenerator.cxx,
src/Utility.cxx:
From Wim Lavrijsen:
o) new interface file: src/PyCallable.h
o) MethodHolder.cxx: catch and print exceptions from C++ execution
o) moved all CINT headers to top of files to prevent fpos_t redefinition
o) have all function/method holders derive from PyCallable as an interface
o) let MethodDispatcher work with PyCallable* instead of MethodHolder*
o) allow instantiation of TF1 with python function
2004-08-10 23:55 rdm
* gpad/src/TPad.cxx:
in TPad::x3d() in case option is "" set it to "x3d" to bring back
previous behaviour and make shapes.C work as before (and suppress
warning message that plugin "" is not found).
2004-08-10 23:53 rdm
* base/: inc/TVirtualViewer3D.h, src/TVirtualViewer3D.cxx:
small corrections in comments and use Info() instead of printf().
2004-08-10 22:25 brun
* base/inc/TVirtualGL.h, gl/inc/TGLKernel.h, gl/src/TGLKernel.cxx,
gl/src/TViewerOpenGL.cxx, win32gdk/inc/TGWin32VirtualGLProxy.h,
win32gdk/src/TGWin32VirtualGLProxy.cxx:
Previous version of PaintPolyLine from Timur was not fully implemented under Windows.
The function PaintPolyLine must also be defined in class TGWin32VirtualGLProxy.
Also added a third optional argument to be symmetric with PaintPolyLine with Float_t*
2004-08-10 21:22 brun
* base/inc/TVirtualGL.h, gl/inc/TGLKernel.h,
gl/inc/TViewerOpenGL.h, gl/src/TGLKernel.cxx,
gl/src/TViewerOpenGL.cxx:
From Timur:
Add new function to the TVirtualGL interface:
virtual void PaintPolyLine(Int_t n, Double_t *p)
Add Help menu to TViewerOpenGL.
2004-08-10 18:45 brun
* ged/src/TGraphEditor.cxx:
iFrom Carsten Hof
Fix a problem (multiple initialisation of a widget)
2004-08-10 16:11 brun
* gl/: inc/TArcBall.h, inc/TViewerOpenGL.h, src/TArcBall.cxx,
src/TViewerOpenGL.cxx:
From Timur,
Implementation of the ZOOM functions (via the keys (+,- or j,k)
2004-08-10 12:34 rdm
* build/rmkdepend/cppsetup.c:
remove compile warning.
2004-08-10 12:34 rdm
* config/Makefile.linuxx8664icc, test/Makefile.arch,
utils/Module.mk:
with icc 8.1 use icpc as linker, this linker driver assumes C++ object
files and will then correctly link the C++ run-time.
2004-08-10 11:39 brun
* ged/src/TAxisEditor.cxx:
From Ilka:
- all number entry widgets are connected to the
ReturnPressed() signal. This allows users to change a number entry value
using the keyboard and this value is accepted by the editor after
Return/Enter is pressed.
Some layout hints are changed for better look of the axis editor.
2004-08-10 11:02 brun
* gl/src/TX11GL.cxx:
From Timur:
Fix portability problems on Solaris/CC
2004-08-10 10:54 brun
* gl/src/TViewerOpenGL.cxx:
Move the inline implementation of TGLFaceSet::Eq to the class definition
2004-08-10 10:45 brun
* base/inc/LinkDef1.h:
Remove the two lines
#pragma link C++ global gVirtualGL;
#pragma link C++ global gVirtualGLImp;
2004-08-10 09:56 brun
* gl/src/TGLKernel.cxx:
With some old GL versions, one has to cast GLUtesselator * t_obj
to (GLUtriangulatorObj*)t_obj
2004-08-10 09:41 brun
* gl/src/TGLKernel.cxx:
Fix portability problems on Solaris and alpha.
2004-08-10 01:50 rdm
* cint/src/auxu.c:
from Philippe:
There is a missing protection in G__what_type.
2004-08-10 01:45 rdm
* gl/: inc/TViewerOpenGL.h, src/TViewerOpenGL.cxx:
remove tabs and Timur's private TPGL namespace.
2004-08-10 01:44 rdm
* gl/: inc/TArcBall.h, src/TArcBall.cxx:
add cvs tag lines.
2004-08-10 00:11 rdm
* base/inc/LinkDef1.h, base/inc/TVirtualGL.h,
base/src/TVirtualGL.cxx, gl/inc/TGLKernel.h,
gl/inc/TViewerOpenGL.h, gl/src/TGLKernel.cxx,
gl/src/TViewerOpenGL.cxx, win32gdk/inc/TGWin32GL.h,
win32gdk/src/TGWin32GL.cxx:
change name of TVirtualGLimp to TVirtualGLImp to be consistent with
existing naming conventions.
2004-08-10 00:09 rdm
* gl/inc/LinkDef.h, gl/inc/TX11GL.h, x11/inc/LinkDef.h,
x11/inc/TX11GL.h, x11/src/TX11GL.cxx, gl/Module.mk,
gl/src/TX11GL.cxx:
move TX11GL to gl directory to avoid libGX11 to depend on OpenGL.
TX11GL will only be compiled when on X11 capable platforms. The TWin32GL
remains in the win32gdk directory since Win32 always has OpenGL available.
We still need a TQtGL version.
2004-08-09 19:44 rdm
* config/Makefile.depend, gl/Module.mk:
remove cases for not longer supported win32old version (files for this
version were already removed from gl directory).
2004-08-09 19:43 rdm
* alien/inc/TAlienFile.h, alien/src/TAlienFile.cxx,
base/inc/TFile.h, base/src/TFile.cxx, chirp/inc/TChirpFile.h,
chirp/src/TChirpFile.cxx, dcache/inc/TDCacheFile.h,
dcache/src/TDCacheFile.cxx, net/inc/TNetFile.h,
net/src/TNetFile.cxx, rfio/inc/TRFIOFile.h, rfio/src/TRFIOFile.cxx:
fix problem of reading ZIP archives when a TCache cache is active.
2004-08-09 18:38 brun
* geom/src/TGeoXtru.cxx:
Fix compilation problem in TGeoXtru::Paint with VC++6
2004-08-09 18:35 brun
* tree/src/TBasket.cxx:
From Philippe:
patch implementing the update of fEntryOffset, fDisplacement
and fBuffer->Length() in MoveEntries.
2004-08-09 17:56 brun
* gl/src/TArcBall.cxx:
New file for openGL
2004-08-09 17:46 brun
* win32gdk/inc/TGWin32GL.h, win32gdk/inc/TGWin32VirtualGLProxy.h,
win32gdk/src/TGWin32GL.cxx, win32gdk/src/TGWin32VirtualGLProxy.cxx,
x11/inc/TX11GL.h, x11/src/TX11GL.cxx:
New files for openGL
2004-08-09 17:35 brun
* base/inc/LinkDef1.h, base/inc/TVirtualGL.h, base/inc/TVirtualX.h,
base/src/TROOT.cxx, base/src/TVirtualGL.cxx,
base/src/TVirtualX.cxx, gl/Module.mk, gl/inc/TArcBall.h,
gl/inc/TGLKernel.h, gl/inc/TRootGLKernel.h, gl/inc/TRootGLViewer.h,
gl/inc/TRootWGL.h, gl/inc/TViewerOpenGL.h, gl/inc/TWin32GLKernel.h,
gl/inc/TWin32GLViewerImp.h, gl/src/TGLKernel.cxx,
gl/src/TGdkGLKernel.cxx, gl/src/TRootGLKernel.cxx,
gl/src/TRootGLViewer.cxx, gl/src/TViewerOpenGL.cxx,
gl/src/TWin32GLKernel.cxx, gl/src/TWin32GLViewerImp.cxx,
win32gdk/Module.mk, win32gdk/inc/LinkDef.h, win32gdk/inc/TGWin32.h,
win32gdk/inc/TGWin32VirtualXProxy.h, win32gdk/src/TGWin32.cxx,
win32gdk/src/TGWin32VirtualXProxy.cxx, x11/inc/LinkDef.h,
x11/inc/TGX11.h, x11/src/GX11Gui.cxx:
From Valeriy Onuchin and Timur Pocheptsov
New OpenGL interface should be now operational on Linux and Windows
2004-08-09 17:23 brun
* geom/src/: TGeoParaboloid.cxx, TGeoPcon.cxx, TGeoPgon.cxx,
TGeoSphere.cxx, TGeoTorus.cxx, TGeoXtru.cxx:
From Timur Pocheptsov
Changes to work with the new 3-D viewers
2004-08-09 17:22 brun
* g3d/src/: TGTRA.cxx, TPARA.cxx, TPCON.cxx, TPadOpenGLView.cxx,
TSPHE.cxx, TTRAP.cxx, TTRD1.cxx, TTRD2.cxx, TTUBE.cxx:
From Timur Pocheptsov
Modified some old geometry classes to run with the new 3-D viewers
2004-08-09 16:25 brun
* cint/src/Type.cxx:
From Philippe:
Fix a typo in the CINT patch numbering system.
The patch that was needed was marked as being part of
a different patch (which is disable because it belong to
cint 6).
2004-08-08 01:49 rdm
* rint/src/TRint.cxx:
remove patch errorneously applied twice.
2004-08-07 20:19 rdm
* proof/src/TProofServ.cxx, rint/src/TRint.cxx:
From Philippe:
This patch avoids the interpretation of Rtypes.h, TError.h and
TGenericClassInfo.h (since those headers do not contains any class
with a dictionary, they are not marked as 'compiled' header).
In particular this avoid the messages:
Warning: Re-initialization ignored const kMaxUShort
FILE:/home/pcanal/root_working/code/root/include/Rtypes.h LINE:106
etc..
2004-08-07 18:40 rdm
* cint/: inc/G__ci.h, inc/fproto.h, src/Method.cxx, src/Type.cxx,
src/error.c, src/new.c, src/newlink.c, stl/_map:
import of CINT 5.15.146.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2004-08-06 07:46 brun
* rint/src/TRint.cxx:
From Philippe:
This patch avoids the interpretation of Rtypes.h, TError.h and
TGenericClassInfo.h (since those headers do not contains any class
with a dictionary, they are not marked as 'compiled' header).
In particular this avoid the messages:
Warning: Re-initialization ignored const kMaxUShort
2004-08-06 01:51 rdm
* base/inc/Bytes.h:
From Philippe:
fixed frombuf() (for Float_t and Double_t) to protect it from the strict
aliasing optimization.
2004-08-05 19:20 brun
* hist/src/: TH1.cxx, TH2.cxx, TH3.cxx:
Implement a suggestion from Gerro Flucke when computing sumw[1]
in the TH1,2,3::GetStats functions. When an axis range is specified,
teh statistics are recomputed from the bin contents. In case of sumw[1],
we use now GetBinError instead of GetBinContent
2004-08-05 12:06 rdm
* base/src/TApplication.cxx:
remove some <TAB>s.
2004-08-05 12:06 rdm
* gui/src/TGFrame.cxx:
From Ilka:
fix in TGGroupFrame::DrawBorder() for backward compatibility when the group
frame has a horizontal layout manager. Reported problem by Ed Oltman.
2004-08-05 10:01 brun
* hist/src/THStack.cxx:
In THStack::Paint fix a problem when option "same" is specified.
2004-08-04 23:02 brun
* pyroot/src/PyBufferFactory.cxx:
From Wim Lavrijsen
Fix for a compilation error under Windows
2004-08-04 22:55 brun
* base/src/TROOT.cxx:
Temporarily disable fInterpreter in the list of Cleanups.
This had a huge effect on performance.
2004-08-04 22:46 brun
* pyroot/src/: MethodDispatcher.cxx, MethodHolder.cxx,
ObjectHolder.h, PyBufferFactory.cxx, RootWrapper.cxx:
From Wim Lavrijsen
o) removed (temporary) fix to work around auto-loading pbs
o) cleaned up error messages
o) fix for array passing (always report length as 1 if unknown)
2004-08-04 22:23 brun
* base/src/TROOT.cxx, meta/inc/TCint.h, meta/src/TCint.cxx:
From Philippe:
This patch adds the TInterpreter object to the list of cleanups.
This allows for the removal of global variable created in the CINT
global environment which are deleted by a Canvas. (See For
example test/Hello.cxx).
2004-08-04 16:47 brun
* base/src/TROOT.cxx:
From Philippe
Fix a problem affection the python interface.
When we fixed a problem to avoid an infinite recursion when a .rootmap
file was pointing to an entity without a TClass, we actually also
disable the regular case :(
2004-08-04 15:45 brun
* gpad/src/TPad.cxx:
In TPad::RedrawAxis add support for the case where teh first object in the pad
is a TGraph or a TMultiGraph.
2004-08-04 14:58 brun
* hist/src/TH1.cxx:
Fix typos and a wrong comment in TH1::Fit
2004-08-04 08:15 brun
* tree/src/TTree.cxx:
Workaround for a bug in gcc3.3.1 that does not accept initialisation
of a longlong with 100000000000.
2004-08-04 06:45 brun
* pyroot/src/: ClassMethodHolder.cxx, ClassMethodHolder.h,
ConstructorDispatcher.cxx, MethodDispatcher.cxx,
MethodDispatcher.h, MethodHolder.cxx, MethodHolder.h,
ObjectHolder.h, PropertyHolder.cxx, RootWrapper.cxx:
From Wim Lavrijsen
o) added support for class static methods
o) (temporary) fix to work around auto-loading pbs
o) added support for public data members of array type
2004-08-04 06:34 brun
* test/: Hello.cxx, Hello.h:
From Philippe:
in the code on Hello.cxx where somebody wrote:
tmp = (char*)GetTitle(); // where title was initialized to the empty string
tmp[0] = ch;
The problem is that GetTitle does
return fTitle.Data();
and via some more or complex code this ends up doing the equivalent of
return gNullStringRef->Data();
2004-08-03 22:51 brun
* base/src/TApplication.cxx:
From Philippe:
With this patch, the user can finally exit ROOT even if the
system is crashing within the CINT clean-up routines.
Namely, we now support:
.qqqqq (or .QQQQQ) calls gSystem->Exit
.qqqqqqq (or .QQQQQQQ) calls gSystem->Abort
This matches the corresponding CINT options:
qqqqq : exit process immediately
qqqqqqq : abort process
2004-08-03 21:45 brun
* gui/src/TGDockableFrame.cxx:
From Valeriy Onuchin:
- fix wrong initialization of TGDockButton.
2004-08-03 20:07 rdm
* configure, cint/Module.mk, cint/iosenum/iosenum.linuxx8664icc,
cint/src/Api.cxx, cint/src/init.c, config/ARCHS,
config/Makefile.linuxicc, config/Makefile.linuxx8664gcc,
config/Makefile.linuxx8664icc, config/root-config.in,
test/Makefile.arch, utils/Module.mk:
port to icc v8.1 with EM64T (AMD64) support. To compile with this new
compiler use the platform: linuxx8664icc.
2004-08-03 19:54 rdm
* gl/Module.mk:
small correction for cleanup.
2004-08-03 18:04 brun
* base/: inc/TBuffer3D.h, src/TBuffer3D.cxx:
fix typos/comments
2004-08-03 18:01 brun
* base/inc/LinkDef1.h, base/inc/TBuffer3D.h, base/inc/TVirtualGL.h,
base/inc/TVirtualPad.h, base/inc/TVirtualViewer3D.h,
base/inc/TVirtualX.h, base/src/TBuffer3D.cxx,
base/src/TPadView3D.cxx, base/src/TVirtualViewer3D.cxx,
config/rootrc.in, g3d/inc/TAxis3D.h, g3d/inc/TBRIK.h,
g3d/inc/TCONE.h, g3d/inc/TCONS.h, g3d/inc/TCTUB.h, g3d/inc/TGTRA.h,
g3d/inc/THelix.h, g3d/inc/TMarker3DBox.h, g3d/inc/TPARA.h,
g3d/inc/TPCON.h, g3d/inc/TPolyLine3D.h, g3d/inc/TPolyMarker3D.h,
g3d/inc/TSPHE.h, g3d/inc/TShape.h, g3d/inc/TTRAP.h,
g3d/inc/TTRD1.h, g3d/inc/TTRD2.h, g3d/inc/TTUBE.h, g3d/inc/TTUBS.h,
g3d/inc/TXTRU.h, g3d/src/TBRIK.cxx, g3d/src/TCONE.cxx,
g3d/src/TCONS.cxx, g3d/src/TCTUB.cxx, g3d/src/TGTRA.cxx,
g3d/src/THYPE.cxx, g3d/src/THelix.cxx, g3d/src/TMarker3DBox.cxx,
g3d/src/TNode.cxx, g3d/src/TPARA.cxx, g3d/src/TPCON.cxx,
g3d/src/TPolyLine3D.cxx, g3d/src/TPolyMarker3D.cxx,
g3d/src/TSPHE.cxx, g3d/src/TShape.cxx, g3d/src/TTRAP.cxx,
g3d/src/TTRD1.cxx, g3d/src/TTRD2.cxx, g3d/src/TTUBE.cxx,
g3d/src/TTUBS.cxx, g3d/src/TXTRU.cxx, geom/inc/TGeoShape.h,
geom/src/TGeoBBox.cxx, geom/src/TGeoCone.cxx,
geom/src/TGeoParaboloid.cxx, geom/src/TGeoPcon.cxx,
geom/src/TGeoPgon.cxx, geom/src/TGeoShape.cxx,
geom/src/TGeoSphere.cxx, geom/src/TGeoTorus.cxx,
geom/src/TGeoTube.cxx, geom/src/TGeoXtru.cxx,
geompainter/src/TGeoPainter.cxx, gl/Module.mk, gl/inc/LinkDef.h,
gl/inc/TGLKernel.h, gl/inc/TViewerOpenGL.h, gl/src/TGLKernel.cxx,
gl/src/TViewerOpenGL.cxx, gpad/inc/TPad.h, gpad/src/TPad.cxx,
gui/src/TRootCanvas.cxx, hist/inc/TH3.h, hist/src/TH3.cxx,
win32gdk/inc/TGWin32VirtualXProxy.h, win32gdk/src/TGWin32.cxx,
x3d/inc/TViewerX3D.h, x3d/src/TViewerX3D.cxx:
From Olivier, Timur Pocheptsov , Andrei Gheata and Rene
Mega patch to introduce the new 3-d interface (to be described later).
The new interface has been tested with both X3D and OpenGL under Linux.
Being tested under Windows.
Note that several changes are expected in these classes (OpenGL in particular)
in the coming days.
2004-08-03 17:56 brun
* ged/: inc/LinkDef.h, inc/TGraphEditor.h, src/TGraphEditor.cxx:
From Carsten Hof:
First attempt to implement the TGraph editor
2004-08-03 16:50 brun
* tree/: inc/TBasket.h, inc/TBranch.h, inc/TTree.h,
src/TBasket.cxx, src/TBranch.cxx, src/TTree.cxx:
Implement a first version of circular buffers for memory resident Trees.
New data member
Long64_t fMaxEntries; // Maximum number of entries for the circular buffers
and corresponding function:
void TTree::SetCircular(Long64_t maxEntries)
where maxEntries is the maximum number of entries to be kept in the buffers.
When the number of entries exceeds this value, the first entries in the Tree
are deleted and the buffers used again.
The implementation minimizes memory operations by swapping basket pointers
and only shifting the data in the new first buffer.
When TTree::Fill reaches fMaxEntries, it calls the new TBranch function:
virtual void KeepCircular(Long64_t maxEntries);
In case a branch buffer needs to be recomputed, this function calls
the new function in TBasket
virtual void MoveEntries(Int_t dentries);
An example of a script using a circular buffer is shown below
void circular() {
gROOT->cd(); //make sure that the Tree is memory resident
TTree *T = new TTree("T","test circular buffers");
TRandom r;
Float_t px,py,pz;
Double_t random;
UShort_t i;
T->Branch("px",&px,"px/F");
T->Branch("py",&py,"px/F");
T->Branch("pz",&pz,"px/F");
T->Branch("random",&random,"random/D");
T->Branch("i",&i,"i/s");
T->SetCircular(20000);
for (i = 0; i < 65000; i++) {
r.Rannor(px,py);
pz = px*px + py*py;
random = r.Rndm();
T->Fill();
}
T->Print();
}
2004-08-03 16:31 brun
* gui/src/TGMenu.cxx:
From valeriy Onuchin:
- do not ungrab keys in destructor. These key grabbings are to be
canceled anyway as soon as the lower level X11/Qt/gdk widget is
destroyed. Thanks to Valeri Fine.
2004-08-03 07:25 brun
* meta/inc/TStreamerInfo.h, meta/src/TStreamerInfo.cxx,
treeplayer/src/TFormLeafInfo.cxx, treeplayer/src/TTreeFormula.cxx,
treeplayer/src/TTreePlayer.cxx:
From Philippe:
This patch add to TTreeFormula (and to TStreamerInfo::GetValue)
the ability to read the content of a data member defined as
Int_t *arr[3]; //[n]
The data was properly wrote and read back from disk. However
TTreeFormula (and StreamerInfo::GetValue) where ignoring the
size of the array of pointers.
+ a fix to the printout of TTree::Scan (for Long64_t)
2004-08-02 23:00 brun
* pyroot/src/: MethodHolder.cxx, ObjectHolder.cxx, ObjectHolder.h,
Pythonize.cxx, Utility.cxx, Utility.h:
From Wim Lavrijsen:
o) fix for tutorials/shapes.py to delete nodes as in tutorials/shapes.C
o) handle Long64_t
o) apply heuristic memory management: python takes initial object ownership,
but gives it up if objects are passed as parameters
2004-08-02 22:59 brun
* tutorials/: Rolke.C, binomial.C, demo.py, demo.rb, demoshelp.py,
fildir.py, file.py, fillrandom.py, first.py, fit1.py, formula1.py,
framework.py, gerrors.py, graph.py, graph2derrorsfit.C,
graph2dfit.C, h1draw.py, hsimple.py, hsimple.rb, hsum.py,
logscales.C, markerwarning.C, mathStudent.C, mrt.py, multifit.py,
ntuple1.py, shapes.py, surfaces.py, tornado.py, tree.py,
triangles.C:
Cleanup several tutorials containing CRTL/M characters
2004-08-02 20:51 brun
* cint/src/tmplt.c:
From Philippe:
This patch implements
template <class X> friend class xyz;
2004-08-02 16:46 brun
* geom/src/TGeoManager.cxx:
From Andrei Gheata:
Fix a bug in TGeoManager::IsSameLocation
2004-08-02 15:17 brun
* hist/src/TF1.cxx:
add refrence to Richardson's paper for the Derivative functions
2004-08-02 13:43 rdm
* base/src/TApplication.cxx:
small typo in comment.
2004-08-02 13:43 rdm
* gui/: Module.mk, inc/LinkDef1.h, inc/TGClient.h,
inc/TGIdleHandler.h, inc/TGObject.h, inc/TGWindow.h,
src/TGClient.cxx, src/TGIdleHandler.cxx:
add idle event handler which will be called when there are no GUI events
anymore and all scheduled redraws have been performed. Needed for the
TGHtml widget.
2004-08-02 13:22 brun
* hist/: inc/TF1.h, src/TF1.cxx:
New algorithm for TF1::Derivative with better precision.
New functions TF1::Derivative2 and TF1::Derivative3 computing the second
and third derivative (from original code by Anna Kreshuk)
2004-08-02 13:20 brun
* base/: inc/TMath.h, src/TMath.cxx:
Reintroduce functions with Long_t signatures for LocMin, LocMax, Mean, BinarySearch and Sort
2004-08-02 10:52 rdm
* base/inc/RConfig.h, base/inc/Riosfwd.h, base/inc/TMath.h,
base/inc/TString.h, base/src/TMath.cxx, base/src/TROOT.cxx,
base/src/TStopwatch.cxx, base/src/TString.cxx, clib/inc/mmconfig.h,
clib/src/Getline.c, cont/inc/TBtree.h:
remove code related to MacOS 9 this was never really supported and has
been obsoleted by full MacOS X support.
2004-08-02 10:14 rdm
* qt/: inc/TQtThread.h, inc/TQtWidget.h, src/GQtGUIThread.cxx,
src/TQtApplication.cxx, src/TQtThread.cxx, src/TQtWidget.cxx:
fix headers and copyright statement.
2004-08-01 09:20 brun
* qt/inc/TQtWidget.cw:
New file added to the inc directory (valeri)
2004-08-01 09:16 brun
* qt/: inc/TQtThread.h, inc/TQtWidget.h, src/GQtGUIThread.cxx,
src/TQtApplication.cxx, src/TQtThread.cxx, src/TQtWidget.cxx:
New version from Valeri Fine
2004-07-31 18:26 brun
* base/src/TMath.cxx:
Like for ALPHA, do not define the Namespaceimp for SOLARIS and SGI.
This prevents the generation of the html code for this class on these platforms.
2004-07-31 08:13 brun
* utils/src/rootcint.cxx:
Fix two fprintf errors with one extra argument
2004-07-31 01:46 rdm
* base/inc/Rtypes.h, base/src/TMath.cxx, utils/src/rootcint.cxx:
From Philippe:
This patch should work around the problem on alpha by
disabling the external call to TMath::ROOT::GenerateInitInstance
but this disable the ability to generate the doc on Alpha (for
TMath).
This patch also resolves several problem with nesting of
namespace and classes.
Note: To register an implementation file for a namespace do
NamespaceImp(namespaceName)
To do so for nested namespace, do not use a fully qualified
name but use the proper nesting:
namespace reallyout { namespace outer { NamespaceImp(inner) } }
In rootcint, this patch also prevent the (re)definition of the
compilers specific macros (like __GNUC) when we are using the
compiler's preprocessor.
2004-07-30 22:41 brun
* utils/src/rootcint.cxx:
From Philippe:
Fix a namespace problem on alpha/cxx
2004-07-30 22:34 brun
* cont/src/TClassTable.cxx:
From Philippe:
This patch should remove a Warning in TClassTable
2004-07-30 22:31 brun
* utils/src/rootcint.cxx:
Fix a typo in previous correction.
2004-07-30 22:25 brun
* utils/src/rootcint.cxx:
Fix a format problem in a fprintf statement
2004-07-30 21:42 brun
* base/src/TSystem.cxx:
From Philippe.
Fix a problem with ACLIC (bad parsing of a filename starting with >>!).
2004-07-30 21:15 brun
* cint/src/Type.cxx:
From Philippe:
Fix a problem reported by valgrind reporting an unitiliazed value.
The problem was seen, eg, when calling the TDataType constructor.
2004-07-30 21:12 brun
* cint/src/newlink.c:
From Philippe:
The patch avoid the spurrious declaration (in the dictionary)
of a destruction for a namespace.
2004-07-30 21:09 brun
* base/inc/Rtypes.h, base/inc/TMath.h, base/src/TMath.cxx,
html/src/THtml.cxx, meta/inc/TDataType.h,
meta/inc/TGenericClassInfo.h, meta/src/TGenericClassInfo.cxx,
utils/src/rootcint.cxx:
From Philippe:
This patch change TMath from a class to a namespace.
This patch also updates rootcint to that it force the
creation of a TClass for namepaces. The TClass for
namespace is needed to allow THtml and the command
completion mechanism to properly work.
This patch also add the new macro
NamespaceImp(namespacename)
which register an implementation file for the namespace.
This patch also update THtml to clean up the output for namespaces.
2004-07-30 18:41 brun
* gui/src/TGMenu.cxx:
From Valeriy Onuchin:
- use NULL modifier mask (previously was kAnyModifier)
for binding arrow keys in menu bar and hot keys in popup menus.
Thanks to Valeri Fine for pointing on it. Tested under win32gdk, linux(Gnome2)
2004-07-30 17:42 brun
* gui/: inc/TGDockableFrame.h, src/TGDockableFrame.cxx:
From Ilka:
implementation of TGDockableFrame::SavePrimitive.
2004-07-30 16:19 brun
* base/src/TROOT.cxx:
From Axel Naumann:
Fixes a recursivity problem in TROOT::LoadClass.
i.e. explicitely deny GetClass to re-try loading the class - we are
already in LoadClass, and if loading the class failed now it's not going
to work the next time.
2004-07-30 13:09 rdm
* matrix/src/TMatrixD.cxx, matrix/src/TMatrixF.cxx,
matrix/src/TVectorD.cxx, matrix/src/TVectorF.cxx,
net/inc/LinkDef.h, net/src/TInetAddress.cxx, net/src/TUrl.cxx:
fixes for fatally broken classes in the v4-00-08 release.
2004-07-30 12:53 brun
* gpad/src/TCanvas.cxx:
From Ilka:
- the code introduced in canvas ctor on 27-Sep-2003 is removed;
- fixes are made in TCanvas::SaveSource() to give the possibilities for
saving an embedded canvas in a macro via the context menu/SaveAs
2004-07-30 12:50 brun
* mlp/src/TMultiLayerPerceptron.cxx:
IN TMultiLayerPerceptron::Train simplify the logic to create the TMultiGraph.
Set a better error margin for the canvas to avoid an overlap of the title and labels along Y.
2004-07-30 11:55 brun
* README/CREDITS:
Add Miroslav Morhac for his contribution to TSpectrum
2004-07-30 11:01 brun
* html/src/THtml.cxx:
The previous change (adding kFALSE to gROOT->GetClass) had side-effects.
The option kFALSE is only given for pathological cases like strings
containing the word "TClassEdit" that generates an infinite recursion problem.
2004-07-30 10:28 brun
* hist/src/TH1.cxx:
In TH1::Eval implement the functionality already documented of option "R"
2004-07-30 09:44 brun
* treeplayer/src/TTreePlayer.cxx:
In TTreePlayer::MakeClass generate code with the functions declared virtual.
In case of MakeSelector this is a redundant declaration because TSelector
has already declared all these functions virtual.
2004-07-30 09:23 brun
* html/src/THtml.cxx:
In THtml::ExpandKeywords, specify the optional argument "load" to always
be kFALSE to avoid recusrvity problems.
2004-07-30 08:45 brun
* qt/: inc/TQtWidget.h, src/TQtWidget.cxx:
A forward declaration of TVirtualPad was missing in the header file.
TQtWidget::cd() did not compile: missing return.
2004-07-30 08:31 brun
* pyroot/src/: ConstructorDispatcher.cxx, MemoryRegulator.cxx,
MemoryRegulator.h, ObjectHolder.cxx, ObjectHolder.h, Pythonize.cxx,
RootWrapper.cxx:
From Wim Lavrijsen:
a set of pyroot improvements:
o) ref counting fixes in Pythonize.cxx
o) some structural changes and fixes for memory management
NOTE: PyROOT can't know when pointers are being kept by ROOT objects,
thus it will never delete any ROOT objects, not even ones that
it has created. If you want to remove a ROOT object from memory
because you know for certain that it is no longer referenced from
any other ROOT objects in C++, do:
>>> obj.IsA().Destructor( obj )
The memory cleanup actually makes hsimple.py run a fraction faster. :)
2004-07-30 03:16 rdm
* meta/: inc/TDataType.h, src/TDataType.cxx:
From Philippe:
Some TDataType objects hold a pointer to a G__TypedefInfo object.
This object holds a tagnum and typenum. The TDataType objects are
intentionally never deleted.
In some circunstance involving loading and unloading scripts and
library, CINT might renumber the class and the typedefs. The
net effect is that the G__TypedefInfo held by the TDataType are
then invalid. (Potentially leading to core dumps).
This patch fixes the problem by verifying the validity of
the G__TypedefInfo object before using it.
2004-07-30 03:13 rdm
* base/inc/TVirtualPad.h, gpad/inc/TCanvas.h, gpad/inc/TPad.h,
gpad/src/TCanvas.cxx, gpad/src/TPad.cxx, qt/inc/TQtWidget.h,
qt/src/TQtWidget.cxx:
From Philippe:
his patch updates TVirtualPad::cd() (and all the implementations)
so that they return the new current pad if any.
So that the following now works:
currendPad = c1->cd(3);
if (currentPad==0) Error("we have a problem");
2004-07-30 03:12 rdm
* base/inc/TBuffer.h, base/inc/TDirectory.h, base/inc/TFile.h,
base/inc/TObject.h, base/src/TDirectory.cxx, base/src/TFile.cxx,
base/src/TObject.cxx, cont/inc/TCollection.h,
cont/src/TCollection.cxx, table/inc/TDataSet.h,
table/src/TDataSet.cxx, xml/inc/TXMLFile.h:
From Philippe:
This patch implements a const Write and keeps the existing non-const
Write. If somebody derived from TObject and overload Write(), they
will be reminded to implement the const version with a warning
similar to:
include/TCollection.h(45): warning #654: overloaded virtual function "TObject::Write" is only partially overridden in class "TCollection"
class TCollection : public TObject {
The implementation of the non-const Write is simple: call the const Write().
Exceptions are TFile and TDirectory which actually can only implement
non const Write (and hence const Write outputs an error message).
2004-07-29 21:11 brun
* tree/src/: TLeafD.cxx, TLeafF.cxx, TLeafI.cxx, TLeafL.cxx,
TLeafS.cxx:
From Philippe:
This patch fixes a crash when trying to merge 2 tree which
already have a clone relationship.
More generally it protect cases where the new address being
set is already the existing address.
2004-07-29 20:09 brun
* treeplayer/: inc/TBranchProxy.h, inc/TBranchProxyDirector.h,
src/TTreeProxyGenerator.cxx:
From Philippe
Changes (Int_t to Long64_t) to be consistent with the other changes in TBranch, TTree
2004-07-29 13:16 rdm
* net/: inc/TSocket.h, src/TSocket.cxx:
use ULong64_t instead of UInt_t for total bytes sent and received counters.
2004-07-29 12:54 brun
* hbook/inc/THbookBranch.h, hbook/inc/THbookTree.h,
hbook/src/THbookBranch.cxx, hbook/src/THbookTree.cxx,
proof/inc/TProofDraw.h, proof/inc/TProofPlayer.h,
proof/src/TProofDraw.cxx, proof/src/TProofPlayer.cxx,
tree/inc/TBranch.h, tree/inc/TBranchClones.h,
tree/inc/TBranchElement.h, tree/inc/TBranchObject.h,
tree/inc/TChain.h, tree/inc/TSelector.h, tree/inc/TSelectorCint.h,
tree/inc/TTree.h, tree/inc/TVirtualTreePlayer.h,
tree/src/TBranch.cxx, tree/src/TBranchClones.cxx,
tree/src/TBranchElement.cxx, tree/src/TBranchObject.cxx,
tree/src/TChain.cxx, tree/src/TSelector.cxx,
tree/src/TSelectorCint.cxx, tree/src/TTree.cxx,
treeplayer/inc/TSelectorDraw.h, treeplayer/inc/TTreeFormula.h,
treeplayer/inc/TTreePlayer.h, treeplayer/src/TSelectorDraw.cxx,
treeplayer/src/TTreeFormula.cxx, treeplayer/src/TTreePlayer.cxx,
treeviewer/inc/TTreeViewer.h, treeviewer/src/TTreeViewer.cxx:
*****************WARNING*****************
With this mega patch, we introduce support for TTree/TChain with more than
2 billion entries. Several class data members have been changed from
Int_t (or Stat_t) to Long64_t.
==>Trees written with this new version cannot be read with older versions
******************************************
TBranch:
========
- replace the members with type Int_t or Stat_t by Long64_t
Long64_t fEntryNumber; // Current entry number (last one filled in this branch)
Long64_t fReadEntry; //! Current entry number when reading
Long64_t fEntries; // Number of entries
Long64_t fTotBytes; // Total number of bytes in all leaves before compression
Long64_t fZipBytes; // Total number of bytes in all leaves after compression
Long64_t *fBasketEntry; //[fMaxBaskets] Table of first entry in eack basket
- corresponding changes in the member functions
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall = 0);
virtual Int_t GetEntryExport(Long64_t entry, Int_t getall, TClonesArray *list, Int_t n);
Int_t GetEvent(Long64_t entry=0) {return GetEntry(entry);}
Long64_t *GetBasketEntry() const {return fBasketEntry;}
Long64_t GetReadEntry() const {return fReadEntry;}
Long64_t GetTotalSize() const;
Long64_t GetTotBytes() const {return fTotBytes;}
Long64_t GetZipBytes() const {return fZipBytes;}
Long64_t GetEntryNumber() const {return fEntryNumber;}
Long64_t GetEntries() const {return fEntries;}
TBranch::Streamer has been modified to read old files and automatically translate
the old types to the new types.
The new version of Streamer uses the TClass::ReadBuffer/WriteBuffer.
TBranch::Print has been modified to take into account the new data types.
ClassDef version increased to 10.
TBranchClones:
==============
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall = 0);
TBranchElement:
===============
Int_t GetEntry(Long64_t entry=0, Int_t getall = 0);
TBranchObject:
==============
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall = 0);
TChain:
=======
Long64_t *fTreeOffset; //[fTreeOffsetLen]Array of variables
virtual Int_t Add(const char *name, Long64_t nentries=kBigNumber);
virtual Int_t AddFile(const char *name, Long64_t nentries=kBigNumber);
virtual Long64_t Draw(const char *varexp, const TCut &selection, Option_t *option=""
,Long64_t nentries=kBigNumber, Long64_t firstentry=0);
virtual Long64_t Draw(const char *varexp, const char *selection, Option_t *option=""
,Long64_t nentries=kBigNumber, Long64_t firstentry=0); // *MENU*
virtual Long64_t GetChainEntryNumber(Long64_t entry) const;
virtual Long64_t GetEntries() const;
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0);
Long64_t LoadTree(Long64_t entry);
virtual void Loop(Option_t *option="",Long64_t nentries=kBigNumber, Long64_t firstentry=0); // *MENU*
virtual Long64_t Merge(const char *name);
virtual Long64_t Merge(TCollection *list);
virtual Long64_t Merge(TFile *file, Int_t basketsize, Option_t *option="");
virtual Long64_t Process(const char *filename,Option_t *option="", Long64_t nentries=kBigNumber, Long64_t firstentry=0); // *MENU*
virtual Long64_t Process(TSelector *selector,Option_t *option="", Long64_t nentries=kBigNumber, Long64_t firstentry=0);
ClassDef version changed from 4 to 5
TSelector
=========
virtual Bool_t ProcessCut(Long64_t /*entry*/) { return kTRUE; }
virtual void ProcessFill(Long64_t /*entry*/) { }
virtual Bool_t Process(Long64_t /*entry*/) { return kFALSE; }
TSelectorCint
=============
virtual Bool_t ProcessCut(Long64_t entry);
virtual void ProcessFill(Long64_t entry);
virtual Bool_t Process(Long64_t entry);
TSelectorDraw
=============
Long64_t fDraw; //! Last entry loop number when object was drawn
Long64_t fSelectedRows; // Number of selected entries
Long64_t fOldEstimate; // value of Tree fEstimate when selector is called
Double_t *fV1; //![fSelectedRows]Local buffer for variable 1
Double_t *fV2; //![fSelectedRows]Local buffer for variable 2
Double_t *fV3; //![fSelectedRows]Local buffer for variable 3
Double_t *fV4; //![fSelectedRows]Local buffer for variable 4
Double_t *fW; //![fSelectedRows]Local buffer for weights
virtual Long64_t GetSelectedRows() const {return fSelectedRows;}
virtual Bool_t Process(Long64_t /*entry*/) { return kFALSE; }
virtual void ProcessFill(Long64_t entry);
virtual void ProcessFillMultiple(Long64_t entry);
virtual void ProcessFillObject(Long64_t entry);
virtual void SetEstimate(Long64_t n);
TTree
=====
Modified data types
Long64_t fEntries; // Number of entries
Long64_t fTotBytes; // Total number of bytes in all branches before compression
Long64_t fZipBytes; // Total number of bytes in all branches after compression
Long64_t fSavedBytes; // Number of autosaved bytes
Long64_t fMaxEntryLoop; // Maximum number of entries to process
Long64_t fMaxVirtualSize; // Maximum total size of buffers kept in memory
Long64_t fAutoSave; // Autosave tree when fAutoSave bytes produced
Long64_t fEstimate; // Number of entries to estimate histogram limits
Long64_t fChainOffset; //! Offset of 1st entry of this Tree in a TChain
Long64_t fReadEntry; //! Number of the entry being processed
Long64_t fTotalBuffers; //! Total number of bytes in branch buffers
Long64_t fDebugMin; //! First entry number to debug
Long64_t fDebugMax; //! Last entry number to debug
New function signatures
virtual Long64_t AutoSave(Option_t *option="");
virtual TTree *CloneTree(Long64_t nentries=-1, Option_t *option="");
virtual Long64_t CopyEntries(TTree *tree, Long64_t nentries=-1);
virtual TTree *CopyTree(const char *selection, Option_t *option=""
,Long64_t nentries=1000000000, Long64_t firstentry=0);
virtual Long64_t Draw(const char *varexp, const TCut &selection, Option_t *option=""
,Long64_t nentries=1000000000, Long64_t firstentry=0);
virtual Long64_t Draw(const char *varexp, const char *selection, Option_t *option=""
,Long64_t nentries=1000000000, Long64_t firstentry=0); // *MENU*
virtual Long64_t Fit(const char *funcname ,const char *varexp, const char *selection="",Option_t *option="" ,Option_t *goption=""
,Long64_t nentries=1000000000, Long64_t firstentry=0); // *MENU*
virtual Long64_t GetChainEntryNumber(Long64_t entry) const {return entry;}
virtual Long64_t GetChainOffset() const { return fChainOffset; }
Long64_t GetDebugMax() const {return fDebugMax;}
Long64_t GetDebugMin() const {return fDebugMin;}
virtual Long64_t GetEntries() const {return fEntries;}
virtual Long64_t GetEntriesFast() const {return fEntries;}
virtual Long64_t GetEntriesFriend() const;
virtual Long64_t GetEstimate() const { return fEstimate; }
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0);
Int_t GetEvent(Long64_t entry=0, Int_t getall=0) {return GetEntry(entry,getall);}
virtual Long64_t GetEntryNumberWithBestIndex(Int_t major, Int_t minor=0) const;
virtual Long64_t GetEntryNumberWithIndex(Int_t major, Int_t minor=0) const;
virtual Long64_t GetEntryNumber(Long64_t entry) const;
virtual Long64_t GetMaxEntryLoop() const {return fMaxEntryLoop;}
static Long64_t GetMaxTreeSize();
virtual Long64_t GetMaxVirtualSize() const {return fMaxVirtualSize;}
virtual Long64_t GetReadEntry() const {return fReadEntry;}
virtual Long64_t GetReadEvent() const {return fReadEntry;}
virtual Long64_t GetSelectedRows() {return GetPlayer()->GetSelectedRows();}
virtual Long64_t GetTotBytes() const {return fTotBytes;}
virtual Long64_t GetZipBytes() const {return fZipBytes;}
virtual Long64_t LoadTree(Long64_t entry);
virtual Long64_t LoadTreeFriend(Long64_t entry, TTree *T);
virtual Long64_t Merge(TCollection *list);
TPrincipal *Principal(const char *varexp="", const char *selection="", Option_t *option="np"
,Long64_t nentries=1000000000, Long64_t firstentry=0);
virtual Long64_t Process(const char *filename,Option_t *option="", Long64_t nentries=1000000000, Long64_t firstentry=0); // *MENU*
virtual Long64_t Process(TSelector *selector, Option_t *option="", Long64_t nentries=1000000000, Long64_t firstentry=0);
virtual Long64_t Project(const char *hname, const char *varexp, const char *selection="", Option_t *option=""
,Long64_t nentries=1000000000, Long64_t firstentry=0);
virtual TSQLResult *Query(const char *varexp="", const char *selection="", Option_t *option=""
,Long64_t nentries=1000000000, Long64_t firstentry=0);
virtual Long64_t Scan(const char *varexp="", const char *selection="", Option_t *option=""
,Long64_t nentries=1000000000, Long64_t firstentry=0); // *MENU*
virtual void SetDebug(Int_t level=1, Long64_t min=0, Long64_t max=9999999); // *MENU*
virtual void SetEntries(Long64_t n);
virtual void SetEstimate(Long64_t nentries=10000);
virtual void SetMaxEntryLoop(Long64_t maxev=1000000000) {fMaxEntryLoop = maxev;} // *MENU*
static void SetMaxTreeSize(Long64_t maxsize=1900000000);
virtual void SetMaxVirtualSize(Long64_t size=0) {fMaxVirtualSize = size;} // *MENU*
virtual void Show(Long64_t entry=-1, Int_t lenmax=20);
virtual Long64_t UnbinnedFit(const char *funcname ,const char *varexp, const char *selection="",Option_t *option=""
,Long64_t nentries=1000000000, Long64_t firstentry=0);
TTree::Streamer has been modified to real old files.
TTree::Print has been modified to take into account the new data types.
ClassDef version number incremented to 13.
TVirtualTreePlayer
==================
virtual TTree *CopyTree(const char *selection, Option_t *option=""
,Long64_t nentries=1000000000, Long64_t firstentry=0) = 0;
virtual Long64_t DrawScript(const char* wrapperPrefix,
const char *macrofilename, const char *cutfilename,
Option_t *option, Long64_t nentries, Long64_t firstentry) = 0;
virtual Long64_t DrawSelect(const char *varexp, const char *selection, Option_t *option
,Long64_t nentries, Long64_t firstentry) = 0;
virtual Long64_t Fit(const char *formula ,const char *varexp, const char *selection,Option_t *option ,Option_t *goption
,Long64_t nentries, Long64_t firstentry) = 0;
virtual Long64_t GetSelectedRows() const = 0;
virtual TPrincipal *Principal(const char *varexp="", const char *selection="", Option_t *option="np"
,Long64_t nentries=1000000000, Long64_t firstentry=0) = 0;
virtual Long64_t Process(const char *filename,Option_t *option="", Long64_t nentries=1000000000, Long64_t firstentry=0) = 0;
virtual Long64_t Process(TSelector *selector,Option_t *option="", Long64_t nentries=1000000000, Long64_t firstentry=0) = 0;
virtual Long64_t Scan(const char *varexp, const char *selection, Option_t *option
,Long64_t nentries, Long64_t firstentry) = 0;
virtual TSQLResult *Query(const char *varexp, const char *selection, Option_t *option
,Long64_t nentries, Long64_t firstentry) = 0;
virtual void SetEstimate(Long64_t n) = 0;
virtual Long64_t UnbinnedFit(const char *formula ,const char *varexp, const char *selection,Option_t *option
,Long64_t nentries, Long64_t firstentry) = 0;
TTreeFormula
============
TLeaf* GetLeafWithDatamember(const char* topchoice, const char* nextchice, Long64_t readentry) const;
Bool_t BranchHasMethod(TLeaf* leaf, TBranch* branch,
const char* method,const char* params,
Long64_t readentry) const;
TTreePlayer
===========
Long64_t fSelectedRows; // Number of selected entries
virtual TTree *CopyTree(const char *selection, Option_t *option
,Long64_t nentries, Long64_t firstentry);
virtual Long64_t DrawScript(const char* wrapperPrefix,
const char *macrofilename, const char *cutfilename,
Option_t *option, Long64_t nentries, Long64_t firstentry);
virtual Long64_t DrawSelect(const char *varexp, const char *selection, Option_t *option
,Long64_t nentries, Long64_t firstentry);
virtual Long64_t Fit(const char *formula ,const char *varexp, const char *selection,Option_t *option ,
Option_t *goption ,Long64_t nentries, Long64_t firstentry);
virtual Long64_t GetSelectedRows() const {return fSelectedRows;}
TPrincipal *Principal(const char *varexp, const char *selection, Option_t *option
,Long64_t nentries, Long64_t firstentry);
virtual Long64_t Process(const char *filename,Option_t *option, Long64_t nentries, Long64_t firstentry);
virtual Long64_t Process(TSelector *selector,Option_t *option, Long64_t nentries, Long64_t firstentry);
virtual Long64_t Scan(const char *varexp, const char *selection, Option_t *option
,Long64_t nentries, Long64_t firstentry);
virtual TSQLResult *Query(const char *varexp, const char *selection, Option_t *option
,Long64_t nentries, Long64_t firstentry);
virtual void SetEstimate(Long64_t n);
virtual Long64_t UnbinnedFit(const char *formula ,const char *varexp, const char *selection,Option_t *option
,Long64_t nentries, Long64_t firstentry);
The generated code by TTreePlayer::MakeCode, MakeClass, MakeProxy
uses Long64_t instead of Int_t
TTreeViewer
===========
Long64_t Process(const char* filename, Option_t *option="", Long64_t nentries=1000000000, Long64_t firstentry=0); // *MENU*
void SetCurrentRecord(Long64_t entry);
THbookBranch
============
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0);
virtual void SetEntries(Long64_t n) {fEntries=n;}
THbookTree
==========
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0);
virtual void InitBranches(Long64_t entry);
virtual void SetEntries(Long64_t n);
TProofDraw
==========
virtual Bool_t Process(Long64_t /*entry*/);
TProofPlayer
============
virtual Long64_t Process(TDSet *set,
virtual Long64_t DrawSelect(TDSet *set, const char *varexp,
Long64_t Process(TDSet *set, const char *selector,
Long64_t DrawSelect(TDSet *set, const char *varexp,
2004-07-29 10:06 brun
* histpainter/src/TPainter3dAlgorithms.cxx:
From Olivier:
Multiply the color levels positions by the normalization factor (options
surf1, surf3, and lego2).
2004-07-29 06:41 brun
* pyroot/src/: MethodHolder.cxx, MethodHolder.h, Utility.cxx,
Utility.h:
From Wim Lavrijsen
o) rewrote offset calculation of objects
o) fixed TGlobal return conversion
o) patched reference to built-in type returns
2004-07-28 22:15 brun
* graf/src/TBox.cxx:
In the TBox constructor swap automatically the coordinates such that
fX1<fX2 and fY1<fY2
2004-07-28 11:42 rdm
* build/unix/makelib.sh:
make sure DYLD_LIBRARY_PATH is set to contain the build lib directory so
linking with libfreetype does not fail.
2004-07-28 11:41 brun
* histpainter/src/: THistPainter.cxx, TPainter3dAlgorithms.cxx:
Take into account the normalization factor when painting with options "lego", "surf"
2004-07-28 10:03 brun
* hist/src/TH1.cxx:
Add more comments in TH1::Fit to illustrate the various ways to access
the covariance matrix.
2004-07-28 10:02 brun
* base/inc/TVirtualFitter.h, fumili/inc/TFumili.h,
fumili/src/TFumili.cxx, minuit/inc/TFitter.h,
minuit/src/TFitter.cxx:
In TVirtualFitter make the following functions const
Double_t Chisquare(Int_t npar, Double_t *params) const = 0;
Double_t *GetCovarianceMatrix() const = 0;
Int_t GetErrors(Int_t ipar,Double_t &eplus, Double_t &eminus, Double_t &eparab, Double_t &globcc) const = 0;
Int_t GetParameter(Int_t ipar,char *name,Double_t &value,Double_t &verr,Double_t &vlow, Double_t &vhigh) const = 0;
Int_t GetStats(Double_t &amin, Double_t &edm, Double_t &errdef, Int_t &nvpar, Int_t &nparx) const = 0;
Add a new function
Double_t GetCovarianceMatrixElement(Int_t i, Int_t j) const;
Similar changes in TFitter and TFumili.
2004-07-28 09:08 brun
* hist/src/TH1.cxx:
In TH1::fit documentation replace
// gMinuit->mnemat(matrix.GetElements(),npar);
by
// gMinuit->mnemat(matrix.GetMatrixArray(),npar);
2004-07-28 06:56 brun
* utils/src/rootcint.cxx:
From Philippe:
This is addition to the change made in rootcint.cxx versions 1.168
and 1.169
This disabled the backward compatibility code inside the streamer
for an STL container of pointers to objects of a class that has
a ClassDef but did not inherit from TObject when the type of
the pointer is abstract (aka. new XYZ can not be called and thus
no file with the older layout could possibly exist (the dictionary
would not have compiled).
2004-07-28 02:16 rdm
* pyroot/Module.mk:
don't add non libXXXXX.so files to ALLLIBS.
2004-07-28 02:12 rdm
* qt/: inc/LinkDef.h, inc/TGQt.h, inc/TObjectExecute.h,
inc/TQMimeTypes.h, inc/TQUserEvent.h, inc/TQtApplication.h,
inc/TQtBrush.h, inc/TQtClientFilter.h, inc/TQtClientGuard.h,
inc/TQtClientWidget.h, inc/TQtEvent.h, inc/TQtEventQueue.h,
inc/TQtMarker.h, inc/TQtRConfig.h, inc/TQtRootApplication.h,
inc/TQtRootThread.h, inc/TQtThread.h, inc/TQtThreadStub.h,
inc/TQtUtil.h, inc/TQtWidget.h, inc/TRootMainThread.h,
inc/TVirtualX.interface.h, inc/TWaitCondition.h, src/GQtGUI.cxx,
src/GQtGUIThread.cxx, src/TGQt.cxx, src/TGQtDummy.cxx,
src/TQMimeTypes.cxx, src/TQtApplication.cxx,
src/TQtApplicationThread.cxx, src/TQtBrush.cxx,
src/TQtClientFilter.cxx, src/TQtClientGuard.cxx,
src/TQtClientWidget.cxx, src/TQtEvent.cxx, src/TQtEventQueue.cxx,
src/TQtMarker.cxx, src/TQtRootApplication.cxx,
src/TQtRootThread.cxx, src/TQtThread.cxx, src/TQtWidget.cxx:
update:
- use standard ROOT cvs tag line
- standard ROOT copyright notice + Valery Fine
- fixed several multiple inclusion ifdef's to use standard ROOT format
- added new Window_t argument to Warp() method. This method still
needs to be implemented for Window_t != 0
2004-07-28 01:02 rdm
* base/inc/TVirtualX.h, base/src/TVirtualX.cxx,
win32gdk/inc/TGWin32.h, win32gdk/inc/TGWin32VirtualXProxy.h,
win32gdk/src/TGWin32.cxx, win32gdk/src/TGWin32VirtualXProxy.cxx,
x11/inc/TGX11.h, x11/src/TGX11.cxx:
add additional Window_t argument to Warp(), this is used by the
coming MDI widget.
2004-07-27 18:30 brun
* pythia6/src/TPythia6.cxx:
TPythia6 is currently interfaced to Pythia6.2 and not 6.1 (fix in comments only)
2004-07-27 14:27 brun
* pyroot/: Module.mk, ROOT.py, src/MethodHolder.cxx,
src/MethodHolder.h, src/Pythonize.cxx, src/Pythonize.h,
src/RootWrapper.cxx, src/Utility.cxx, src/Utility.h:
From Wim Lavrijsen:
o) modified Module.mk to compile .py files
o) improved info variables in ROOT.py
o) moved addToClass from RootWrapper to Utility for general use
o) minor optimization in MethodHolder::_calcOffset for loops
o) fix for TString and TIter offset calculation in MethodHolder.cxx
o) added pythonization files, specialized behaviour for:
TObject, TString, TObjString, TIter
TCollection, TSeqCollection
o) moved IsZero and IsNotZero from MethodHolder.cxx to Pythonize.cxx
2004-07-27 14:21 brun
* treeplayer/: inc/TBranchProxyClassDescriptor.h,
inc/TBranchProxyDescriptor.h, src/TBranchProxyClassDescriptor.cxx,
src/TBranchProxyDescriptor.cxx, src/TTreeProxyGenerator.cxx:
From Philippe:
This patch implements supports for multiple level of
inheritance in the generated TTreeProxy selector.
This patch also remove some class duplication in the
generated code and implement proper support for templated
classes.
2004-07-27 01:32 rdm
* meta/src/TCint.cxx:
From Philippe:
This fix avoids a conflict between CINT loading dictionary and
TStorage::Alloc (which is called indirectly when CINT calls
TCint::AutoLoadCallBack). In some cases G__globalvarpointer can be
different from G__PVOID but this should however be ignored.
This problems can lead to a crash when doing:
.x script.C+
and script.C references some other library but the compilation fails.
2004-07-27 01:28 rdm
* cint/: inc/Class.h, inc/G__ci.h, inc/Method.h, inc/Property.h,
inc/Type.h, inc/common.h, inc/fproto.h, inc/global.h,
include/makeit.bat, include/mkincld.c, lib/dll_stl/makestr,
lib/dll_stl/makevec, lib/pthread/Makefile, lib/qt/README.txt,
src/Class.cxx, src/Method.cxx, src/debug.c, src/expr.c, src/func.c,
src/global2.c, src/ifunc.c, src/init.c, src/input.c,
src/loadfile.c, src/new.c, src/newlink.c, src/pause.c, src/pcode.c,
src/scrupto.c, src/struct.c, src/tmplt.c, src/typedef.c,
src/val2a.c, src/var.c, tool/ifdef/get.c:
import of CINT 5.15.145.
For what else is new see http://root.cern.ch/root/Cint.phtml?relnote.
2004-07-27 00:59 rdm
* winnt/: inc/TWinNTSystem.h, src/TWinNTSystem.cxx:
add method Chmod() to set file access permissions. On windows only the
setting of user read and write access is supported, group and world
permissions are ignored.
2004-07-27 00:57 rdm
* base/inc/TSystem.h, base/src/TSystem.cxx, unix/inc/TUnixSystem.h,
unix/src/TUnixSystem.cxx:
add method Chmod() to allow the setting of file access permissions.
2004-07-26 21:13 brun
* cint/stl/_map:
From Philippe:
The fact that _map.h is not included by _map, leads to the fact that
CINT does not properly completely load the fact that map is a template
(in particular def_fp is not initialized).
This result in the failing of
map<Int_t,Int_t> mm;
while
map<int,int> mm;
works.
To solve the problem I added a forward declaration of map in _map
(this is all that is needed).
2004-07-26 21:10 brun
* qt/src/TGQt.cxx:
From Valeri Fine
to fix the bug that caused the "Seg Fault" with Qt 3.1.
2004-07-26 08:34 brun
* mlp/src/TMultiLayerPerceptron.cxx:
Fix an upper case/lower case problem
2004-07-25 18:20 rdm
* utils/src/rootcint.cxx:
fix some typos in comment of --lib-list-prefix and explain where used.
2004-07-25 18:19 rdm
* base/src/TMath.cxx:
fixes in code layout.
2004-07-25 18:19 rdm
* build/package/common/libroot.shlibs:
From Alexander Buerger:
in build/package/common/libroot.shlibs there are no entries for
libGed(Old), so the debian packages are without editor.
2004-07-25 18:18 rdm
* clib/src/Getline.c:
increase size of command history stack from 100 to 500 and cmd length
from 256 to BUFSIZ (this was an inconsistency since commands were already
BUFSIZ but in the history file truncated to 256).
2004-07-25 09:34 brun
* mlp/src/TMultiLayerPerceptron.cxx:
Make argument "language" case insensitive.
2004-07-25 09:26 brun
* qt/: inc/TGQt.h, inc/TQtThreadStub.h, src/GQtGUIThread.cxx,
src/TGQt.cxx, src/TQtThread.cxx, src/TQtWidget.cxx:
From Valeri Fine:
1. To provide the backward compatibility with Qt 3.1
by in introducing one extra static method TGQt::PostQtEvent
2. Add the full path to the root.exe needed by Qt
on Mac with the MAC native interface at run-time
2004-07-25 09:21 brun
* gui/src/TGString.cxx:
From Valeriy Onuchin:
- sorry, the last patch was not complete, some data members
of TGHString were uninitialized.
2004-07-24 18:26 rdm
* ged/src/TGedEditor.cxx:
in case no object has been selected use canvas itself, this fixes:
root [0] TCanvas *s = new TCanvas
root [1] s->ToggleEditor()
2004-07-23 18:52 brun
* table/: inc/TTable.h, inc/Ttypes.h, src/TTable.cxx:
From Valeri Fine:
1. Fix a redundant memory reallocation. (TTable::AddAt)
2. Fix "update table" from the external plain array bug.
The number of the "used" arrow was accidentally assign
to the number of the allocated ones. (TTable::ReAllocate())
3. A new method TTable::AppendRows to expand the table by several
rows
and add ones at the end at the same time.
4. New macro to facilitate the design and implementation of the
the custom table proxy classes. ( #define ClassDefineChair )
2004-07-23 18:51 brun
* gui/src/TGString.cxx:
From Valeriy Onuchin:
- add sanity check to hot string constructor
2004-07-23 18:17 brun
* postscript/src/TPDF.cxx:
From Olivier:
In some cases the R, G, B components of a color may be very small. In that
case WriteReal() produces a number in exponent notation which is not
accepted by the setcolor PDF operator. Now, if the one of the color's
component is less than 0.000001, it is set to 0.
2004-07-23 16:29 brun
* base/: inc/TMath.h, src/TMath.cxx:
New version of TMath with several emhancements and new functions.
Most functions accept now a Long64_t instead of Int_t for the
length of the arrays.
The Median functions have been improved in speed (thanks Anna Kreshuk).
The following functions are either new or have a new prototype
that should be back compatible.
// Min, Max of an array
static Short_t MinElement(Long64_t n, const Short_t *a);
static Int_t MinElement(Long64_t n, const Int_t *a);
static Float_t MinElement(Long64_t n, const Float_t *a);
static Double_t MinElement(Long64_t n, const Double_t *a);
static Long64_t MinElement(Long64_t n, const Long64_t *a);
static Short_t MaxElement(Long64_t n, const Short_t *a);
static Int_t MaxElement(Long64_t n, const Int_t *a);
static Float_t MaxElement(Long64_t n, const Float_t *a);
static Double_t MaxElement(Long64_t n, const Double_t *a);
static Long64_t MaxElement(Long64_t n, const Long64_t *a);
// Locate Min, Max element number in an array
static Long64_t LocMin(Long64_t n, const Short_t *a);
static Long64_t LocMin(Long64_t n, const Int_t *a);
static Long64_t LocMin(Long64_t n, const Float_t *a);
static Long64_t LocMin(Long64_t n, const Double_t *a);
static Long64_t LocMin(Long64_t n, const Long64_t *a);
static Long64_t LocMax(Long64_t n, const Short_t *a);
static Long64_t LocMax(Long64_t n, const Int_t *a);
static Long64_t LocMax(Long64_t n, const Float_t *a);
static Long64_t LocMax(Long64_t n, const Double_t *a);
static Long64_t LocMax(Long64_t n, const Long64_t *a);
//Mean, Geometric Mean, Median, RMS
static Double_t Mean(Long64_t n, const Short_t *a, const Double_t *w=0);
static Double_t Mean(Long64_t n, const Int_t *a, const Double_t *w=0);
static Double_t Mean(Long64_t n, const Float_t *a, const Double_t *w=0);
static Double_t Mean(Long64_t n, const Double_t *a,const Double_t *w=0);
static Double_t Mean(Long64_t n, const Long64_t *a,const Double_t *w=0);
static Double_t GeomMean(Long64_t n, const Short_t *a);
static Double_t GeomMean(Long64_t n, const Int_t *a);
static Double_t GeomMean(Long64_t n, const Float_t *a);
static Double_t GeomMean(Long64_t n, const Double_t *a);
static Double_t GeomMean(Long64_t n, const Long64_t *a);
static Double_t RMS(Long64_t n, const Short_t *a);
static Double_t RMS(Long64_t n, const Int_t *a);
static Double_t RMS(Long64_t n, const Float_t *a);
static Double_t RMS(Long64_t n, const Double_t *a);
static Double_t RMS(Long64_t n, const Long64_t *a);
static Double_t Median(Long64_t n, const Short_t *a, const Double_t *w=0, Long64_t *work=0);
static Double_t Median(Long64_t n, const Int_t *a, const Double_t *w=0, Long64_t *work=0);
static Double_t Median(Long64_t n, const Float_t *a, const Double_t *w=0, Long64_t *work=0);
static Double_t Median(Long64_t n, const Double_t *a, const Double_t *w=0, Long64_t *work=0);
static Double_t Median(Long64_t n, const Long64_t *a, const Double_t *w=0, Long64_t *work=0);
static Short_t KOrdStat(Long64_t n, const Short_t *a, Long64_t k, Long64_t *work=0);
static Int_t KOrdStat(Long64_t n, const Int_t *a, Long64_t k, Long64_t *work=0);
static Float_t KOrdStat(Long64_t n, const Float_t *a, Long64_t k, Long64_t *work=0);
static Double_t KOrdStat(Long64_t n, const Double_t *a, Long64_t k, Long64_t *work=0);
static Long64_t KOrdStat(Long64_t n, const Long64_t *a, Long64_t k, Long64_t *work=0);
// Binary search
static Long64_t BinarySearch(Long64_t n, const Short_t *array, Short_t value);
static Long64_t BinarySearch(Long64_t n, const Short_t **array, Short_t value);
static Long64_t BinarySearch(Long64_t n, const Int_t *array, Int_t value);
static Long64_t BinarySearch(Long64_t n, const Int_t **array, Int_t value);
static Long64_t BinarySearch(Long64_t n, const Float_t *array, Float_t value);
static Long64_t BinarySearch(Long64_t n, const Float_t **array, Float_t value);
static Long64_t BinarySearch(Long64_t n, const Double_t *array, Double_t value);
static Long64_t BinarySearch(Long64_t n, const Double_t **array, Double_t value);
static Long64_t BinarySearch(Long64_t n, const Long64_t *array, Long64_t value);
static Long64_t BinarySearch(Long64_t n, const Long64_t **array, Long64_t value);
// Sorting
static void Sort(Int_t n, const Short_t *a, Int_t *index, Bool_t down=kTRUE);
static void Sort(Int_t n, const Int_t *a, Int_t *index, Bool_t down=kTRUE);
static void Sort(Int_t n, const Float_t *a, Int_t *index, Bool_t down=kTRUE);
static void Sort(Int_t n, const Double_t *a, Int_t *index, Bool_t down=kTRUE);
static void Sort(Int_t n, const Long64_t *a, Int_t *index, Bool_t down=kTRUE);
static void Sort(Long64_t n, const Short_t *a, Long64_t *index, Bool_t down=kTRUE);
static void Sort(Long64_t n, const Int_t *a, Long64_t *index, Bool_t down=kTRUE);
static void Sort(Long64_t n, const Float_t *a, Long64_t *index, Bool_t down=kTRUE);
static void Sort(Long64_t n, const Double_t *a, Long64_t *index, Bool_t down=kTRUE);
static void Sort(Long64_t n, const Long64_t *a, Long64_t *index, Bool_t down=kTRUE);
2004-07-23 16:06 brun
* hist/src/TH1.cxx:
Replace all calls to TMath::MedianSorted by TMath::Median.
Thanks to Anna Kreshup, the new version of TMath::Median is at least
10 times faster than the old version, making obsolete MedianSorted.
2004-07-23 16:04 brun
* hist/src/TF1.cxx:
In a statement using TMath::Max(xxx,0), introduce an explicit cast
TMath::Max(xxx,(Long64_t)0) in view of the new TMath class supporting
Long64_t
2004-07-23 15:51 brun
* README/CREDITS:
Add Nerses Gevorgyan <nerses@crdlx5.yerphi.am>
for adding support for exporting Neural Nets into Fortran code.
2004-07-23 15:48 brun
* mlp/src/TMultiLayerPerceptron.cxx:
From Nerses Gevorgyan <nerses@crdlx5.yerphi.am>
I have added support for exporting Neural Nets into Fortran code. Also
language names for TMultiLayerPerceptron::Export() I made case
insensitive. It will be nice to have these features in the root's main
tree.
2004-07-23 15:30 brun
* win32gdk/src/TGWin32.cxx:
From valeriy Onuchin:
- locking added to GUI events processing methods.
That should improve robustness of the system.
2004-07-23 11:36 brun
* graf/src/TGaxis.cxx:
From Olivier:
In TGaxis::Paint the member tm_isdst of the tm C struct is set to 0.
Before it was -1. -1 meant "daylight saving time is not available". 0
means "daylight saving time is not in effect". See the man pages of mktime
for more details. Before this fix the following macro produced an X axis
shifted by one hour for the months between April and October (the month
is now fixed to July).
{
TCanvas* c = new TCanvas("c","Data",600,500);
TDatime da(2004,07,09,00,00,00);
Int_t t0 = da.Convert();
Int_t dt = 5.*60.*60.;
TH2F* hiscom = new TH2F("hiscom","",1000,0.,dt,10,0.,1.);
hiscom->GetXaxis()->SetTimeOffset(t0);
hiscom->GetXaxis()->SetTimeDisplay(1);
hiscom->GetXaxis()->SetTimeFormat("%d-%H:%Mh");
hiscom->GetXaxis()->SetLabelSize(0.021);
hiscom->GetXaxis()->SetLabelOffset(0.02);
hiscom->GetXaxis()->SetNdivisions(210);
hiscom->Draw("");
}
2004-07-22 22:37 brun
* base/src/TSystem.cxx, utils/src/rootcint.cxx:
From Philippe,
The previous patch to rootcint broke rootcint completly. This fixes the problem.
2004-07-22 19:07 brun
* matrix/inc/TDecompBase.h:
Fix typo in comment in ClassDef
2004-07-22 15:24 brun
* tutorials/hadd.C:
Add optimisation like in hadd.cxx
2004-07-22 10:08 brun
* main/src/hadd.cxx:
Considerable speedup of hadd in case of files with many thousand histograms.
The algorithm behaves like n*log(n) instead of n*n
2004-07-22 09:32 brun
* main/: Module.mk, src/hadd.cxx:
Add ROOTULIBS when linking hadd. This is mandatory under Windows.
2004-07-22 09:17 brun
* net/: inc/LinkDef.h, src/TInetAddress.cxx:
Implement a custom Streamer for TInetAddress to read old versions of the class.
2004-07-22 08:49 brun
* utils/src/rootcint.cxx, base/src/TSystem.cxx,
build/unix/compiledata.sh:
From Philippe:
This patch implements autoloading for ACLiC. Essentially this means
that a script that can be interpreted thanks to the fact that ROOT
automatically loads dependent library, can now also be loaded via
ACLiC (without the user explicitly loading the dependent library).
We added a new option to rootcint --lib-list-prefi=xxx.
When used, it tells rootcint to read a list of rootmap files
in xxx.in and output in xxx.out a list of libraries where the
symbols in the header files can be found.
Also to keep track of the dependencies, the library produced by
ACLiC are now explictly linked to all the libraries loaded in
ROOT at the time (which now included the result of autoloading).
This allow the resulting library to be also loaded in a new
session (with the user loading any other library).
2004-07-22 08:28 brun
* base/inc/TUUID.h:
Use forward declarations for TInetAddress and TDatime.
This will avoid recompilation of the complete system when one of these
two classes will be modified.
2004-07-21 15:53 brun
* gui/: inc/TGTab.h, src/TGTab.cxx:
From Valeriy Onuchin:
- in response to http://root.cern.ch/phpBB2/viewtopic.php?t=944
new methods added TGTabElement::SetEnabled, TGTabElement::IsEnabled,
TGTab::SetEnabled, TGTab::IsEnabled.
2004-07-21 08:56 brun
* hist/src/THStack.cxx:
From Axel Naumann:
a small patch for THStack's c'tor taking a TH2 or TH3 and
building a stack of projections. If one creates several THStacks this
way the previous projections are overwritten by the new ones. This patch
makes sure the projections' names are unique (i.e. they are built from
the histo's name, the projection direction, and the bin number).
2004-07-21 01:12 rdm
* utils/src/rootcint.cxx:
From Philippe:
added -l flag to prepend dictionary source directory to dictionary header
include statement. Allow compilation with the -I- flag.
2004-07-20 22:55 rdm
* gpad/inc/TUtilPad.h:
Revert to previous version, change was made in response to a false alarm.
2004-07-20 22:53 rdm
* proof/src/TProof.cxx:
From Maarten:
Small patch correcting the logging in TProof and make format
consistent with the reast of PROOF.
2004-07-20 18:41 brun
* gpad/inc/TUtilPad.h:
Add a missing forward declaration.
2004-07-20 17:59 brun
* matrix/src/: TMatrixD.cxx, TMatrixF.cxx, TVectorD.cxx,
TVectorF.cxx:
From Eddy Offermann:
A bit more fine tuning .
Added patch to make sure that if fNelems or fNrows < 0, the
matrix/vector is made invalid
2004-07-20 17:27 rdm
* build/unix/makecintdlls.sh:
Don't explicitely link -lCore and -lCint when building cintdlls when
explicit link flag is on.
2004-07-20 17:09 rdm
* tutorials/TestAuth.C:
small typo in comment.
2004-07-20 14:30 brun
* matrix/src/: TMatrixD.cxx, TMatrixF.cxx, TVectorD.cxx,
TVectorF.cxx:
Add protections against fNrows < 0 or fNelems < 0 in the Streamer functions.
The case may happen when reading old files.
2004-07-20 11:40 brun
* tree/inc/TTree.h, tree/inc/TVirtualTreePlayer.h,
tree/src/TTree.cxx, treeplayer/inc/LinkDef.h,
treeplayer/inc/TBranchProxyDirector.h,
treeplayer/inc/TFriendProxy.h,
treeplayer/inc/TFriendProxyDescriptor.h,
treeplayer/inc/TTreePlayer.h, treeplayer/inc/TTreeProxyGenerator.h,
treeplayer/src/TBranchProxyDirector.cxx,
treeplayer/src/TFriendProxy.cxx,
treeplayer/src/TFriendProxyDescriptor.cxx,
treeplayer/src/TTreePlayer.cxx,
treeplayer/src/TTreeProxyGenerator.cxx:
From Philippe:
This patch implements support for TTree Friend in the new TTree Proxy
mechanism (See releases notes of ROOT 4.00/08).
For example with the result of tutorials/treefriend.C and the macro print.C:
void print() {
cout << "Entry #" << fChain->GetReadEntry()
<< " and #" << TF.GetReadEntry() << " \t"
<< x << " "; // from the main tree
if (TF.GetReadEntry()>=0) cout << TF.x; // from the friend tree
else cout << "N/A";
cout << endl;
}
You can simply create a Proxy based TSelector with
T->MakeProxy("withfriend","print.C","","nohist");
Then use the resulting file (withfriend.h) as anyother
TSelector script. For example:
T->Process("withfriend.h+","",20);
Or you can generate a simple histogram 2 files fill.C and fillCut.C
root [5] .! cat fill.C
double fill() {
return x - TF.x;
}
root [6] .! cat fillCut.C
Bool_t fillCut() {
return TF.GetReadEntry()>=0;
}
and you can just do:
T->Draw("fill.C+","fillCut.C");
2004-07-20 11:36 brun
* tutorials/treefriend.C:
With the new implementation in TTree::Draw by Philippe,
one can replace
T->Draw("x:TF.x","z<10");
by
T->Draw("x:TF.x");
2004-07-20 11:26 brun
* gpad/: inc/TPad.h, src/TPad.cxx:
From Olivier:
- New method PaintDate() in TPad to paint the current date and time if
the option date is on. This new method is used in PaintModified and Paint
methods. Previously the date painting was done in PaintModified only
which prevented to get the date in the PostScript output. Calling
PaintDate from Paint allows to also get the date in the PostScript
output.
2004-07-20 09:23 brun
* base/inc/TVirtualUtilPad.h, gpad/inc/TDrawPanelHist.h,
gpad/inc/TFitPanel.h, gpad/inc/TFitPanelGraph.h,
gpad/inc/TUtilPad.h, gpad/src/TDrawPanelHist.cxx,
gpad/src/TFitPanel.cxx, gpad/src/TFitPanelGraph.cxx,
gpad/src/TUtilPad.cxx, graf/src/TGraph.cxx, hist/src/TF1.cxx,
histpainter/src/THistPainter.cxx:
The selected pad and selected object are now passed as arguments
when creating the DrawPanel and Fitpanel, instead of using
the global pointers obtained via gROOt->GetSelectedPad.
This may fix some problems seen with the Qt version.
2004-07-20 09:02 rdm
* config/Makefile.linuxx8664gcc:
add -fPIC also for F77FLAGS.
2004-07-19 21:48 brun
* treeplayer/src/: TTreeFormula.cxx, TTreeFormulaManager.cxx,
TTreeIndex.cxx:
From Philippe:
With the attached patch, TTree::Draw now treat a Tree Friend with
an index the same way it treats an variable size array. In particular,
if not elements can be found, the formula is invalid.
2004-07-19 16:21 brun
* base/src/TSystem.cxx:
in TSystem::CompileMacro, remove unused statement
Ssiz_t posObjFiles=kNPOS;
2004-07-19 15:32 brun
* base/src/TFile.cxx:
From Philippe:
fix a problem in TFile::MakeFree.
if the 'last' key in the file is deleted,
the merging of the Free chunks does not induce (as it should) the
'truncating' of the file. More specifically, in TFile::MakeFree,
the line:
if (nlast == fEND-1) fEND = nfirst;
does not get activated ... because nlast is set to 2000000000
(because of the merging) ... while 'last' is equal to fEND-1.
Simply using
if (last == fEND-1) fEND = nfirst;
fixes the problem
2004-07-19 14:56 rdm
* zip/inc/Bits.h:
put out_offset printf also behind a verbose flag.
2004-07-19 14:36 brun
* histpainter/src/THistPainter.cxx:
From Olivier:
Log scales are taken into account with option TEXT.
2004-07-19 14:10 rdm
* base/src/TFile.cxx:
in Close() add protection agains cursav being 0 before trying to dereference it.
2004-07-19 11:43 rdm
* net/src/TUrl.cxx:
handle correctly anchors (i.e. text after #) in file (rfio, dcache, etc.)
url so that archive files also work for the protocols.
2004-07-19 11:42 rdm
* base/src/TZIPFile.cxx:
small typo in method description.
2004-07-19 11:40 rdm
* base/src/TArchiveFile.cxx:
improve error message.
2004-07-18 01:21 rdm
* net/inc/: LinkDef.h, TInetAddress.h:
use automatic I/O.
2004-07-18 01:18 rdm
* cont/src/TCollection.cxx:
correct description of TCollection::Write() where all objects are
recursively written individually if the kSingleKey option is not specfied.
2004-07-18 01:16 rdm
* cint/src/tmplt.c, utils/src/rootcint.cxx:
From Philippe:
problem when executing something like
G__Calc("TParameter<long long>::Class_Version()").
It is solved with the attached patch.
2004-07-17 13:36 rdm
* win32gdk/: inc/TGWin32InterpreterProxy.h,
src/TGWin32InterpreterProxy.cxx:
From Bertrand:
Added missing function AutoLoad() in TGWin32InterpreterProxy.
2004-07-17 08:32 brun
* pyroot/: inc/TPyReturn.h, inc/TPython.h, src/MethodHolder.cxx,
src/TPyReturn.cxx, src/TPython.cxx:
From Wim Lavrijsen:
still trying to get a handle on better interaction with CINT, but in the
mean time a few housekeeping changes (see attach):
o) TPython, TPyReturn: added comments in line w/ ROOT autodoc conventions
o) MethodHolder: assert -> ReferenceError when accessing NULL object
o) MethodHolder: fix for PyObject parameter passing
2004-07-17 01:23 rdm
* base/src/TSystem.cxx:
From Axel:
here's an little improvement for ACLiC. Philippe agreed that it would be
nice to have. If rootcint fails to create the dictionary, the user's
macro is compiled to test it for valid c++ and to get "proper" error
messages.
2004-07-17 01:06 rdm
* base/src/TROOT.cxx, cint/inc/G__ci.h, cint/src/struct.c,
meta/inc/TCint.h, meta/inc/TInterpreter.h, meta/src/TCint.cxx:
From Philippe:
The autoloading induced by gROOT->GetClass("TLorentzVector")
was happening too late.
In order to properly implement it I needed to add to CINT
a new function G__set_class_autoloading() to enable and disable
the autoloading.
I also update TROOT.cxx and TCint.cxx to do the load at
the proper time.
2004-07-17 00:29 rdm
* proof/src/TProofServ.cxx, rint/src/TRint.cxx:
re-add the default loading of TMinuit, because people expected it to be
still available. Better use the fitter via the abstract interface.
2004-07-16 02:08 rdm
* thread/inc/TThread.h:
xlc needs forward declaration of friend class.
2004-07-16 02:07 rdm
* cint/src/init.c:
since the IBM xlc compiler for MacOS X is compatible with gcc define
also G__GNUC and G__GNUC_MINOR for this compilers. This allows it to compile
gcc3strm.cxx.
2004-07-16 02:01 rdm
* Makefile, config/root-config.in:
use portable way to specify -u option to linker, i.e. -Wl,-u,xxxx.
2004-07-16 02:00 rdm
* utils/src/rlibmap.cxx:
in case of MacOS X fix case where variable i is redefined in same scope.
2004-07-16 01:57 rdm
* proof/src/TProofServ.cxx:
don't load libraries that were already specified at link time.
2004-07-16 01:56 rdm
* rint/src/TRint.cxx:
default loading of libPostscript was accidentally removed.
2004-07-16 01:46 rdm
* gui/: inc/TGMenu.h, src/TGMenu.cxx:
From Valeriy:
- handling popup menu hot keys implemented.
2004-07-16 01:08 rdm
* metautils/inc/TClassEdit.h, utils/src/RStl.cxx,
utils/src/rootcint.cxx:
From Philippe:
This patch allows the user code to be compiled with the -pedantic flag.
2004-07-16 00:51 rdm
* cint/src/typedef.c:
From Philippe:
The CINT modification number 1890 disable the ability to
use typedef defines in std using their fully qualified named.
For example:
namespace std { typedef int time_t; }
std::time_t x;
currently fails.
2004-07-16 00:48 rdm
* cint/src/typedef.c:
From Philippe:
The core of the problem was a bug in the parsing of
typedef void ** const * const_iterator;
(which is required on some compiler when instantiating vector<void**>).
2004-07-16 00:46 rdm
* README/README.PROOF, proof/src/TProofDraw.cxx,
test/ProofBench/.cvsignore, test/ProofBench/README,
test/ProofBench/make_event_trees.C:
From Maarten:
- Improved documentation, error handling, and script generation
in ProofBench.
- Fixed error handling bug in TProofDraw.
2004-07-16 00:44 rdm
* utils/src/rootcint.cxx:
From Maarten:
Valgrind complains about rootcint:
==11102== Source and destination overlap in strcpy(0x4FFFE230, 0x4FFFE239)
==11102== at 0x3C01DC60: strcpy (mac_replace_strmem.c:103)
==11102== by 0x806FD97: main (rootcint.cxx:3791)
the strcpy() should indeed be a memmove().
2004-07-15 01:46 rdm
* gui/src/TGMenu.cxx:
From Valeriy:
- bind arrow, return, esc keys at TGMenuBar constructor.
That cures freezing ROOT under Gnome.
2004-07-14 13:46 rdm
* gui/inc/: LinkDef1.h, TGDimension.h:
add operator==(), operator+() and operator-() to TGDimension and TGPosition.
Add a new class TGInsets that defines an inset (i.e. left, right, top, bottom)
rectangle.
2004-07-14 13:45 rdm
* base/src/TROOT.cxx:
in TROOT::Idle() allow now a 0 or empty command string since in addition
to a command one can now connect slots to the idle handler signal.
2004-07-14 13:43 rdm
* base/: inc/TApplication.h, src/TApplication.cxx:
HandleIdleTimer() now emits a signal, so it easy to connect any number of
slots to the idle timer.
2004-07-14 02:38 rdm
* build/: unix/makedist.sh, win/makedist.sh:
export the test/RootShower .rc and .ico files needed on Win32, also export
the new ProofBench directory.
2004-07-14 02:31 rdm
* test/ProofBench/: .cvsignore, EventTree_NoProc.C,
EventTree_NoProc.h, EventTree_Proc.C, EventTree_Proc.h,
EventTree_ProcOpt.C, EventTree_ProcOpt.h, README,
make_event_par.sh, make_event_trees.C, make_tdset.C:
From Maarten:
PROOF benchmarking environment which makes it extremely
easy to have a PROOF demo up and running in a minute or two.
2004-07-14 02:28 rdm
* test/make_event_par.sh:
move to ProofBench directory.
2004-07-14 02:19 rdm
* treeplayer/src/TTreePlayer.cxx:
From Philippe:
fix of errorneous, harmless error message.
2004-07-13 18:48 rdm
* net/: inc/TInetAddress.h, src/TInetAddress.cxx:
address vector contains all addresses, also the default address. Member
fAddress suppressed, now fAddresses[0].
2004-07-13 18:16 rdm
* base/inc/TTask.h:
make Add() virtual.
2004-07-13 17:38 rdm
* net/Module.mk:
small mod to have compile line echoed as a single line.
2004-07-13 17:36 rdm
* test/Makefile.arch:
disable annoying icc warning #1476: field uses tail padding of a base class.
2004-07-13 14:46 rdm
* gui/src/TRootBrowser.cxx, gui/src/TRootCanvas.cxx,
treeviewer/src/TTreeViewer.cxx:
forgot to include config.h so ROOTBINDIR was never set when configured
for absolute path names. This caused the splash screen not to show up.
2004-07-13 14:20 rdm
* gui/inc/TGString.h:
fix compilation problem with gcc 2.96.
2004-07-13 13:33 rdm
* dcache/: inc/TDCacheFile.h, src/TDCacheFile.cxx:
From Tigran Mkrtchyan:
finally, we have implemented dc_opendir/dc_readdir and dc_closedir
functions. The new patch allow to use regular expressions in file names
with url:
TChain hat("HAT");
hat.Add("dcap://d2cachedoor.desy.de:24125/pnfs/desy.de/h1/data/oo-2.6/04/hat.2.6.3.10dst1.c04013*.root");
hat.Draw("LPol");
The patch created against ROOT cvs head at 29.06.2004. User need a
dcap library version 1.2.30 to get it running.
2004-07-13 07:50 brun
* qt/: inc/TQtWidget.h, src/TGQt.cxx, src/TQtWidget.cxx:
From Valeri Fine:
to replace the plain numbers with the enumerated values for the sake of
better documentation/ Some clean up
2004-07-13 07:46 brun
* meta/src/TDataMember.cxx:
From Philippe
This patches insures that TDataMember::G/SetterMethod properly respect the
OPTION given in the header file.
2004-07-12 22:06 brun
* graf/src/: TGraph.cxx, TGraphAsymmErrors.cxx,
TGraphBentErrors.cxx, TGraphErrors.cxx:
From Olivier:
New options in TGraphErrors::Paint, TGraphAsymmErrors::Paint and in
TGraphBentErrors::Paint :
if option "3" is specified a filled area is drawn through the end
points of the vertical error bars.
if option "4" is specified a smoothed filled area is drawn through
the end points of the vertical error bars.
Example:
{
gROOT->Reset();
c1 = new TCanvas("c1","A Simple GraphErrors Example",200,10,700,500);
const Int_t n = 20;
Double_t x[n], y[n], ex[n], ey[n];
for (Int_t i=0;i<n;i++) {
x[i] = i*0.1;
y[i] = 10*sin(x[i]+0.2);
ex[i] = 0.08;
ey[i] = 0.1*i;
}
gr = new TGraphErrors(n,x,y,ex,ey);
gr->Draw("A3");
}
2004-07-12 22:04 brun
* gui/: inc/TGString.h, src/TGString.cxx:
From Valeriy Onuchin:
- derive TGString directly from TString. That gives more functionality,
backward compatible.
2004-07-12 22:00 brun
* matrix/: inc/TDecompBase.h, inc/TDecompLU.h,
inc/TMatrixDCramerInv.h, inc/TMatrixFCramerInv.h,
src/TDecompBase.cxx, src/TDecompChol.cxx, src/TDecompLU.cxx,
src/TDecompQRH.cxx, src/TDecompSVD.cxx, src/TDecompSparse.cxx,
src/TMatrixD.cxx, src/TMatrixDCramerInv.cxx, src/TMatrixF.cxx,
src/TMatrixFCramerInv.cxx:
From Eddy Offermann:
Some code re-organization:
- made TDecompLU::DecomposeLUCrout and TDecompLU::DecomposeLUGauss
protected.
As a consequence changed TDecompLU::InvertLU so that it now calls
the decomposition step .
This change prohibits the user of calling InvertLU without applying
first
the decomposition step
- Routines in TMatrixD/FCramerInv return now a Bool_t instead of Int_t
.
More important, these routines check that the matrix is indeed of the
appropriate shape, since the user could call them directly instead
of going through TMatrixD/F::InvertFast
- Removed the redundant TDecompBase::MultiSolve(TMatrixDSym &B), it did
exactly what TDecompBase::MultiSolve(TMatrixD &B) did .
- void (Trans)Solve(TVectorD &b,Int_t ok) and
void (Trans)Solve(TMatrixDColumn &cb, Int_t ok) routines in TDecomp*
now make vector b or matrix b in case of an error (when ok was set to
false)
2004-07-12 21:53 brun
* base/inc/RVersion.h, build/version_number:
Start development cycle of version 4.01/01
2004-07-11 06:14 brun
* qt/src/TGQt.cxx:
From Valeri Fine:
Remove the erroneous default code page "ISO8859-5"
This fixes the wrong representation of some LaTeX symbols
with the Cyrillic :-) letters.
The Default codepage is to be defined by "Gui.DefaultFont" from ROOT
resource file.
2004-07-10 22:18 rdm
* configure:
important fix for MacOS X pointed out by Christian Stratowa, Fink directories
were not checked for third party libraries.
2004-07-10 07:23 brun
* cont/src/TEmulatedVectorProxy.cxx:
From Philippe:
This patches fixes the reading and writing of vector<TString*>
2004-07-10 07:10 brun
* geom/src/TGeoParaboloid.cxx:
Fix a missing blank in
TGeoParaboloid::Safety(Double_t */*point*/, Bool_t /*in*/) const
ROOT page - Class index - Class Hierarchy - 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.