[root] / trunk / gui / sessionviewer / src / TSessionViewer.cxx Repository:
ViewVC logotype

Log of /trunk/gui/sessionviewer/src/TSessionViewer.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 28 15:26:26 2013 UTC (21 months, 3 weeks ago) by rdm
File length: 226980 byte(s)
Diff to previous 44685
From Lifeng Sun:
The attached patchset fixes a bunch of typo in the source:
0001-succes-success.patch
0002-preceed-preced.patch
0003-informations-information.patch
0004-childs-children.patch
0005-avaliable-available.patch
0006-writeable-writable.patch
0007-comand-command.patch
0008-unkown-unknown.patch
0009-wierd-weird.patch
0010-wheter-whether.patch
0011-unecessary-unnecessary.patch
0012-splitted-split.patch
0013-registerd-registered.patch
0014-recieve-receive.patch
0015-processsing-processing.patch
0016-ouput-output.patch
0017-mutiple-multiple.patch
0018-lenght-length.patch
0019-interupted-interrupted.patch
0020-independant-independent.patch
0021-inconsistant-inconsistent.patch
0022-expresion-expression.patch
0023-explicitely-explicitly.patch
0024-enviroment-environment.patch
0025-deafult-default.patch
0026-continous-continuous.patch
0027-completly-completely.patch
0028-commited-committed.patch
0029-choosen-chosen.patch
0030-backgroud-background.patch
0031-auxilliary-auxiliary.patch
0032-authentification-authentication.patch
0033-appropiate-appropriate.patch
0034-an-other-another.patch
0035-environement-environment.patch
0036-targetting-targeting.patch
0037-suppported-supported.patch
0038-paramater-parameter.patch

Revision 44685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 14 09:46:37 2012 UTC (2 years, 7 months ago) by bellenot
File length: 226992 byte(s)
Diff to previous 43431
Fix coverity #42674: Dereference null return (stat)

Revision 43431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 21 13:46:57 2012 UTC (2 years, 10 months ago) by bellenot
File length: 226946 byte(s)
Diff to previous 42671
Allow to properly use PROOF-lite from the GUI

Revision 42671 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 17 14:30:47 2012 UTC (3 years ago) by bellenot
File length: 226754 byte(s)
Diff to previous 41268
Fix several Uninitialized pointer field (coverity)

Revision 41268 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 7 10:50:04 2011 UTC (3 years, 3 months ago) by bellenot
File length: 225543 byte(s)
Diff to previous 41147
Fix coverity reports (dereference null return values)

Revision 41147 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 13:34:56 2011 UTC (3 years, 3 months ago) by bellenot
File length: 225150 byte(s)
Diff to previous 40088
Fix coverity reports (dereference null value)

Revision 40088 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 30 15:10:06 2011 UTC (3 years, 6 months ago) by bellenot
File length: 224406 byte(s)
Diff to previous 38455
Add connection to the new version of the Proof::Progress() signal

Revision 38455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 16 14:30:08 2011 UTC (3 years, 10 months ago) by bellenot
File length: 223760 byte(s)
Diff to previous 38442
Ignore "Uninitialized pointer field" and unreachable code coverity reports

Revision 38442 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 16 11:04:04 2011 UTC (3 years, 10 months ago) by bellenot
File length: 223595 byte(s)
Diff to previous 35627
Ignore "improper use of negative value" coverity reports

Revision 35627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 23 08:33:09 2010 UTC (4 years, 4 months ago) by bellenot
File length: 223515 byte(s)
Diff to previous 35455
Replace sprintf by snprintf (coverity)

Revision 35455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 13:16:41 2010 UTC (4 years, 4 months ago) by bellenot
File length: 223507 byte(s)
Diff to previous 35453
Correct indentation

Revision 35453 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 13:09:11 2010 UTC (4 years, 4 months ago) by bellenot
File length: 223508 byte(s)
Diff to previous 35451
Suppress gcc4 warnings: suggest parentheses around '&&' within '||'

Revision 35451 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 12:55:45 2010 UTC (4 years, 4 months ago) by bellenot
File length: 223503 byte(s)
Diff to previous 35159
Fix wrong pairs of parenthesis

Revision 35159 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 09:59:28 2010 UTC (4 years, 4 months ago) by bellenot
File length: 223507 byte(s)
Diff to previous 34557
Fix potential crash when cancelling the file dialog while opening or saving configuration

Revision 34557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 22 15:12:01 2010 UTC (4 years, 6 months ago) by rdm
File length: 223491 byte(s)
Diff to previous 34286
fix cases in ROOT code where we would truncate the TTime (to avoid the
new error messages in TTime operator long on 32-bit platforms).

Revision 34286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 20:38:57 2010 UTC (4 years, 6 months ago) by rdm
File length: 223457 byte(s)
Diff to previous 33885
fix format errors related to TString::Form(), TString::Format(), Form()
and Printf().

Revision 33885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 14 15:30:25 2010 UTC (4 years, 7 months ago) by bellenot
File length: 223462 byte(s)
Diff to previous 32590
Remove duplicated code

Revision 32590 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 12 15:22:41 2010 UTC (4 years, 10 months ago) by bellenot
File length: 223496 byte(s)
Diff to previous 31813
Fix several potential buffer overflow (coverity)

Revision 31813 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 10 15:50:14 2009 UTC (5 years, 1 month ago) by bellenot
File length: 223650 byte(s)
Diff to previous 30848
- Members initializations (coverity)
- Protections against NULL pointers (coverity)

Revision 30848 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 23 13:13:01 2009 UTC (5 years, 3 months ago) by bellenot
File length: 223430 byte(s)
Diff to previous 30790
At Session Viewer startup, if the machine has more than one CPU, add one PROOF lite session (not supported on Windows yet)

Revision 30790 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 19 06:55:48 2009 UTC (5 years, 3 months ago) by bellenot
File length: 222111 byte(s)
Diff to previous 29826
Add support for ProofLite in the Session Viewer

Revision 29826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 20 08:44:10 2009 UTC (5 years, 5 months ago) by bellenot
File length: 221328 byte(s)
Diff to previous 27478
Remove a leftover extra "%s" argument

Revision 27478 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 10:12:10 2009 UTC (5 years, 11 months ago) by bellenot
File length: 221330 byte(s)
Diff to previous 23499
Replace Form() by TString::Format()

Revision 23499 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 24 10:59:22 2008 UTC (6 years, 9 months ago) by brun
File length: 220483 byte(s)
Diff to previous 23454
From Bertrand:
Following user request [ROOT bugs #35918] 
(http://savannah.cern.ch/bugs/?35918)
- Make the estimated remaining time human readable 
  (X h XX min XX sec instead of X.X sec)

Revision 23454 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 12:42:58 2008 UTC (6 years, 9 months ago) by brun
File length: 219072 byte(s)
Diff to previous 23115
Fix shadowed variables

Revision 23115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 13:35:37 2008 UTC (6 years, 9 months ago) by rdm
File length: 219060 byte(s)
Diff to previous 23075
moved to directory "gui" the following directories:

fitpanel, ged, gui, guibuilder, guihtml, qtgsi, qtroot, sessionviewer

Revision 23075 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 9 09:10:25 2008 UTC (6 years, 9 months ago) by ganis
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 219060 byte(s)
Diff to previous 22488

   From Jan-Fiete Grosse-Oetringhaus (ALICE) and me.
   Patch introducing the improved dataset manager developed by ALICE.
   The client side interface is basically unchanged, the biggest change is the renaming
   of TProof::CreateDataSet to TProof::RegisterDataSet.
   On the server side the relevant code has ben extracted from TProofServ and hidden
   behind an inteface class TProofDataSetManager describing the functionality needed by
   TProofServ, and an implementation class TProofDataSetManagerFile handling dataset
   meta data saved into ROOT files. TProofDataSetManagerFile is instantiated via the
   plugin manager and by default it handles the <sand_box>/datasets area.
   This separation is needed to allow loading implementation based on different backends;
   for example, ATLAS foresees to use a MySQL-based backend.
   A TWiki page with information and examples in on preparation.

Revision 22488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 6 16:04:47 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218949 byte(s)
Diff to previous 22419
remove first batch of warning reported by gcc 4.3:
- warning: suggest parentheses around && within ||
- warning: suggest explicit braces to avoid ambiguous if else

Revision 22419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 3 00:25:01 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218947 byte(s)
Diff to previous 21219
From Andrew Savchenko:
ROOT can not be compiled with gcc-4.3.
Some ROOT source files doesn't contain required #include directives,
for example, they use strlen(), but #include <string.h> is missed or
malloc() is used and #include <stdlib.h> is missed. 

Earlier versions of gcc allowed some headers to be included implicitly,
but issued a warning (-Wimplicit-function-declaration). Newer one,
gcc-4.3 denies such silly behaviour: all required headers must be explicitly
included. 

Attached patch fixes this. Also it fixes another issue, which disallows
ROOT to compile under gcc-4.3: C functions don't belong to namespace std,
so expressions like std::memcpy() are no longer valid and plain memcpy()
should be used instead.

Revision 21219 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 6 08:42:29 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218927 byte(s)
Diff to previous 20882
From Bertrand:
- Properly update list tree when a session status change

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218198 byte(s)
Diff to previous 20633
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 20633 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 3 17:15:12 2007 UTC (7 years, 2 months ago) by brun
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218198 byte(s)
Diff to previous 19826
From Bertrand:
- Fix uninitialized variables reported by valgrind
- Fix a crash on Windows at cleanup time

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218129 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218185 byte(s)
Diff to previous 19755
remove :$ from tag line

Revision 19755 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 4 16:30:13 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218195 byte(s)
Diff to previous 19536
From Bertrand:
Replaced fClient->GetRoot() by fClient->GetDefaultRoot()
in TGPopupMenu constructors to be able to properly embed
(reparent) TSessionViewer.

Revision 19536 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 2 16:10:23 2007 UTC (7 years, 5 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218142 byte(s)
Diff to previous 19112
From Bertrand:
Change default parent parameter in TSessionViewer ctor,
to be able to embed it.

Revision 19112 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 21 15:42:50 2007 UTC (7 years, 7 months ago) by pcanal
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218105 byte(s)
Diff to previous 18319
Modify TChain::GetReadEntry to now returns the current entry of the chain
instead of the underlying tree. (To get the previous value do
mychain->GetTree()->GetReadEntry()).  Thus Entry$ nows returns/draws/scans
the value of the entry number in the chain.

Revision 18319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 17 18:02:24 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218167 byte(s)
Diff to previous 18064
correct cvs tag line.

Revision 18064 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 22 16:45:48 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218159 byte(s)
Diff to previous 17652
From Bertrand:
- Removal of gClient->GetRoot() in several TGMainFrame ctor.
- Initialize graphics libs at TImage creation time.

Revision 17652 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 3 08:46:27 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218191 byte(s)
Diff to previous 17624
From Bertrand:
- Reset modified flag in query frame. Should solve the point 1) reported at: http://savannah.cern.ch/bugs/?16887

Revision 17624 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 1 16:55:52 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 218145 byte(s)
Diff to previous 17612
From Bertrand:
- Implement this feature request: https://savannah.cern.ch/bugs/?16887
- Fix the bug reported at: https://savannah.cern.ch/bugs/?20644

Revision 17612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 1 14:58:44 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 215654 byte(s)
Diff to previous 17600
Use a forward declaration of TList instead of including TList.h

Revision 17600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 31 16:46:10 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 215632 byte(s)
Diff to previous 17579
From Bertrand:
Make *.C* and *.c* the default file types in new query dialog.
Should solve the problem reported at https://savannah.cern.ch/bugs/?22559.

Revision 17579 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 30 11:24:32 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 215626 byte(s)
Diff to previous 17562
-Replace calls to gROOT->GetClass by TClass::GetClass
-Remove unused references to TROOT.h

Revision 17562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 29 15:11:11 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 215607 byte(s)
Diff to previous 17035
Frrom Gerri:
There is a new classes TProofServLogHandler allowing to redirect
the output to the client in real-time. It has two main constructors,
one taking an external command (like BUILD.sh) and opening a pipe,
the other taking a pointer to a open file. TProofServ uses the class
via the guard class TProofServLogHandlerGuard to better localize the
usage. This redirection is not always activated. For the time being it
is active for Process and Cache actions,and it can be deactivated via

TProof::SetRealTimeLog(kFALSE)

(for BUILD.sh - executed externally - is always ON).
In particular, with the patch applied, the outputs from BUILD.shi
will scroll down on the screen, and clicking on "Show logs" in the
dialog box during process shows the messages and allows to see what
the session is doing: this is quite nice, because getting
an empty window from "Show Logs" is frustrating, in my opinion.

So, all this fixes the bug/request #16845.

The patch also fixes bug #22555 (hanging while enabling a package
without BUILD.sh) and several other small bugs (a couple of unitialized
variables) or typos.
It also cleanups the API a bit (we had  SetQueryType and SetQueryMode
doing exactly the same thing ...).

Revision 17035 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 3 23:34:04 2006 UTC (8 years, 1 month ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 215607 byte(s)
Diff to previous 16969
From Gerri:
0. Introduction of the static:
      TProof::Mgr(const char *url)
   to get the manager to the cluster; this gives access to all the manager
   functionality, included Reset(). TProof::Reset() is removed.

1. Two new classes: TProofLog and TProofLogElem.
   TProofLog contains a list of TProofLogElem, one per node. TProofLogElem
   basically contains a TMacro plus methods to play  with it.

2. The TProofLog object can be retrieved via the manager:

      TProofLog *pl = TProof::Mgr("cluster")->GetSessionLogs()

   by default the last session is retrieved: the signature for GetSessionLogs is

      TProofLog *TProofMgr::GetSessionLogs(Int_t ridx, const char *stag)

   the first argument is a reversed relative index (-1 gets the next to last
   session), the second is the session unique tag; if the second is
   specified the first is ignored.

3. TProofMgr has a new method ReadBuffer to quickly read a buffer from
   a file via XrdProofd: this allows to avoid the second xrootd on the
   redirector and in general is useful when a quick reading is needed.
   Also, the buffer is always retrieved via the master, so we should not
   have firewall problems in accessing directly the xrootd of the workers.

4. In the sandbox I have kept the .sessions file with the active sessions
   and I have added .terminated in each session working dir which have
   been terminated. On the master, each session working dir has the file
   .workers with the relevant information about the workers.

5. The max number of old session workdirs is set to 10 by default
   (configurable in xpd.cf): the sandbox is trimmed when closing a session.

6. Some unrelated changes/fixes contained in the patch:
   - in XrdProofdProtocol:
      - use of /proc (linux, solaris) or sysctl (mac) to verify/search
        for running of a process. For other platforms I have left the
        parsing of the output of 'ps'.
      - I have introduced a 'cron'  thread: it runs every minute and for
        the moment it just cleans a vector; this is the place where to do
        client independent actions, like checking if the config files have
        changed, for example.
      - I have added the possibility to control which user can access
        the cluster; requested by Jan Fiete.

7. The patch contains also several fixes here and there I have found by
   testing.

Revision 16969 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 28 12:10:52 2006 UTC (8 years, 1 month ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 215643 byte(s)
Diff to previous 16955
From Gerri:
This patch eliminates TVirtualProof, TVirtualProofMgr and TVirtualProofDesc.
The first is integrated in TProof, the second in TProofMgr and the third
becomes TProofDesc defined in TProofMgr.h.

Revision 16955 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 27 14:14:24 2006 UTC (8 years, 1 month ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 215818 byte(s)
Diff to previous 16804
From Gerri:
This is the patch to move TDSet and TChainProof in 'proof' and remove
any dependence on PROOF in 'tree'. I have renamed TChainProof as TProofChain,
for consistency. TProofChain is now deriving from TChain and overrides only
the required methods. It is loaded via PluginManager by TChain in SetProof.
TQueryResult stores now all the input-related objects in fInputList. There
is a new method
   TObject *TQueryResult::GetInputObject(const char *classname)
to retrieve the first  instance of a class from the input list, so for the
TDSet:
   TQueryResult *qr;
   TDSet *dset = (TDSet *) qr->GetInputObject("TDSet")
The changes in TSessionViewer are needed to adapt to this new way of
accessing TDSets.

Revision 16804 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Nov 17 15:50:17 2006 UTC (8 years, 2 months ago) by rdm
Original Path: trunk/sessionviewer/src/TSessionViewer.cxx
File length: 215762 byte(s)
From Bertrand:
move SessionViewer into the ProofGui lib. First step to get rid of the many
TVirtualProofXXX interfaces.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9