[root] / trunk / core / base / src / TApplication.cxx Repository:
ViewVC logotype

Log of /trunk/core/base/src/TApplication.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: 44352 byte(s)
Diff to previous 48237
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 48237 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 8 20:14:37 2013 UTC (2 years ago) by pcanal
File length: 44353 byte(s)
Diff to previous 48236
Add missing header

Revision 48236 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 8 20:07:47 2013 UTC (2 years ago) by pcanal
File length: 44332 byte(s)
Diff to previous 48219
Also call TROOT::CloseFiles as a atexit function.  This reduces the risk of problem when ::exit is called explicitly.  However this solution still requires at least one TApplication to be created and since atexit (on linux/macos) are in order, this is still technically too late.  The library that are loaded dynamically (gSystem->Load, dlopen) will be unloaded before the atexit installed by TApplication (at the start of the main).  What we really need is to call exactly after the end of the main and before the first library (with a dictionary) is unloaded [which we could do if (and only if) we know how to cheaply know that the library is being unloaded after main

Revision 48219 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 7 22:19:51 2013 UTC (2 years ago) by pcanal
File length: 44091 byte(s)
Diff to previous 47782
Reduce the risk of the files or sockets being closed after the end of 'main' (or more exactly before the library start being unloaded) by calling CloseFiles and ResetGlobals in the destructor of the TApplication (which is in most cases on the stack of the main function)

Revision 47782 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 2 21:17:26 2012 UTC (2 years, 1 month ago) by pcanal
File length: 43734 byte(s)
Diff to previous 47620
Add support for the command line option : -e expression: request execution of the given C++ expression.

Revision 47620 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 26 08:59:28 2012 UTC (2 years, 1 month ago) by rdm
File length: 43137 byte(s)
Diff to previous 44507
fix error:
root/core/base/src/TApplication.cxx:948:12: error: no
      viable conversion from 'std::__1::basic_istream<char>' to 'bool'

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 43131 byte(s)
Diff to previous 43719
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 43719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 12 23:00:08 2012 UTC (2 years, 9 months ago) by rdm
File length: 43116 byte(s)
Diff to previous 41541
From Timur:
MacOS X native Cocoa/Quartz based backend. To build this version do:
   ./configure --enable-cocoa
Code is still rough but will be refined quickly for the May release.

Revision 41541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 24 13:31:15 2011 UTC (3 years, 3 months ago) by rdm
File length: 43006 byte(s)
Diff to previous 40834
From Timur:
changes for iOS graphics support.

Revision 40834 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 8 12:51:00 2011 UTC (3 years, 4 months ago) by rdm
File length: 42744 byte(s)
Diff to previous 39647
use initializer lists in the ctors. Fixes issue 86507.

Revision 39647 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 9 18:02:59 2011 UTC (3 years, 7 months ago) by rdm
File length: 43068 byte(s)
Diff to previous 39402
move slightly forward initialization of dictionaries to avoid tons of warning
when running with statically linked module on OSX.

Revision 39402 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 26 12:56:31 2011 UTC (3 years, 7 months ago) by axel
File length: 43068 byte(s)
Diff to previous 38769
Replace legacy clib/getline and editline by a new library, textinput,
located at core/textinput/src/textinput. That new library is written
in C++, standalone (no external dependencies), cross platform
including Windows, and contains only what we need - unlike
e.g. editline. It implements almost all bash-like editing commands,
color highlighting, history etc. It allows for multiple input objects
and multiple display objects, e.g. GUI and terminal in parallel. It
can be used as a stand-alone library, too, and will become part of
cling - which explains the different license and file names (.cpp).

core/textinputs/src/Getline* contains the adapters to ROOT; the
previous core/editline/enhance.cxx is transformed to
Getline_color.cxx. This new adapter interfaces with TTabCom directly,
without going via an extern "C" function pointer, to allow for an
ostream being passed that will contain all completion options, one per
line. TApplication now defines a virtual function to be called for tab
completion; TRint implements it using TTabCom.

One major change is that the user input string is accessible as const
char* instead of being a char* - the buffer length is unknown
anyway. This caused changes in callers of Getline(); the history and
the getline function types needed to change for CINT.

--enable-editline has been deprecated and is inoperable.

Revision 38769 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 7 17:23:58 2011 UTC (3 years, 9 months ago) by pcanal
File length: 42762 byte(s)
Diff to previous 38548
Migrate the call to ResetGlobals from TRint/TApplication::Terminate
to T*System::Exit (and remove the calls to CloseFiles since they are
already in ::Exit) so that:
  - CloseFiles is called only once (rather than 3 times)
  - ResetGlobal is called before unloading libraries in all cases
  - CloseFiles/ResetGlobal are not called if fReturnFromRun is true
(Also do not delete the MemStat if fReturnFromRun is true)

Revision 38548 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 21 19:21:04 2011 UTC (3 years, 10 months ago) by pcanal
File length: 42847 byte(s)
Diff to previous 38288
In order to properly order the call to logoff.C, CloseFiles and ResetGlobals, rather than doing the last 2 explicitly _only_ when handling '.q', we now call them explicitly whenever TApplication::Terminate is called

Revision 38288 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 17:03:03 2011 UTC (3 years, 10 months ago) by pcanal
File length: 42852 byte(s)
Diff to previous 37639
Introduce new function TROOT::CloseFiles to be used to insure that any 
files or socket is closed and deleted before any library is unloaded and/or 
CINT's shutdown is started.   Use this function in the few places already
using the explicit alternative and add to TApplication handling of the .q
command (to avoid the order of deletion problem that was present there)

Revision 37639 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 18 05:56:13 2010 UTC (4 years, 1 month ago) by pcanal
File length: 42773 byte(s)
Diff to previous 36381
Improve debugging by not using function static variable

Revision 36381 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 20 12:24:14 2010 UTC (4 years, 3 months ago) by brun
File length: 42787 byte(s)
Diff to previous 36118
Changes to reflect the new argument when calling the TMemStat constructor

Revision 36118 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 6 14:08:35 2010 UTC (4 years, 3 months ago) by rdm
File length: 42699 byte(s)
Diff to previous 36063
from Gerri:
fix coverity 11478.

Revision 36063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 4 16:26:42 2010 UTC (4 years, 3 months ago) by rdm
File length: 42838 byte(s)
Diff to previous 36013
more correction use of GetOptions().

Revision 36013 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 1 13:46:45 2010 UTC (4 years, 3 months ago) by rdm
File length: 42644 byte(s)
Diff to previous 35721
improve documentation of GetOptions().

Revision 35721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 24 19:47:24 2010 UTC (4 years, 4 months ago) by rdm
File length: 42474 byte(s)
Diff to previous 35701
Add new TApplication option "-memstat" to run with TMemStat enabled.

Revision 35701 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 24 08:56:08 2010 UTC (4 years, 4 months ago) by brun
File length: 42145 byte(s)
Diff to previous 35661
Also close TMemStat in the TApplication destructor

Revision 35661 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 23 14:03:19 2010 UTC (4 years, 4 months ago) by brun
File length: 41996 byte(s)
Diff to previous 35173
TApplication can now automatically start TMemStat (via CINT) in the constructor
and close the TMemStat file in TApplication::Terminate.

Revision 35173 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 14:47:56 2010 UTC (4 years, 4 months ago) by rdm
File length: 41522 byte(s)
Diff to previous 34848
coverity issues.

Revision 34848 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 23:09:47 2010 UTC (4 years, 5 months ago) by rdm
File length: 41451 byte(s)
Diff to previous 34563
In TApplication add:
- new method ExitOnException() which allows to set the behaviour of
  TApplication in case of an exception (sigsegv, sigbus, sigill, sigfpe).
  The default is to trap the signal and continue with the event loop,
  using this method one can specify to exit with the signal number to the
  shell, or to abort() which in addition generates a core dump.
- new command line argument -x which forces ROOT to exit on an exception.

Revision 34563 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 22 17:28:00 2010 UTC (4 years, 6 months ago) by rdm
File length: 40447 byte(s)
Diff to previous 34100
if plugin manager fails to load libGX11 (e.g. because it does not exist) switch
to batch mode.

Revision 34100 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 24 12:06:57 2010 UTC (4 years, 7 months ago) by brun
File length: 40361 byte(s)
Diff to previous 31670
From Axel:
Ignore .x in comments. Fixes Savannah #69152.

Revision 31670 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 15:22:08 2009 UTC (5 years, 1 month ago) by rdm
File length: 40347 byte(s)
Diff to previous 31100
From Coverity:
- remove one unsed class member
- check return type

Revision 31100 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 11 21:14:36 2009 UTC (5 years, 2 months ago) by pcanal
File length: 40320 byte(s)
Diff to previous 30908
Properly handle scripts with line longer than 1024 characters

Revision 30908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 28 17:59:30 2009 UTC (5 years, 2 months ago) by pcanal
File length: 40021 byte(s)
Diff to previous 29778
In GetOptions properly handle ACLiC options (for example a.C+g).  This was non functional since r27949

Revision 29778 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 13 16:03:21 2009 UTC (5 years, 5 months ago) by rdm
File length: 39943 byte(s)
Diff to previous 29776
extent file argument handling to remote file urls.

Revision 29776 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 13 15:31:47 2009 UTC (5 years, 5 months ago) by rdm
File length: 39466 byte(s)
Diff to previous 27949
change test on file argument from using "flags" to using "size". Most remote
protocols don't set the flags correctly. This allows root.exe arguments to
be root:, rfio:, dcache:, etc arguments. Fixes partly issue #54176.

Revision 27949 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 26 16:32:02 2009 UTC (5 years, 9 months ago) by rdm
File length: 39482 byte(s)
Diff to previous 27160
in GetOptions() fix parsing of script names with + somewhere in path.

Revision 27160 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 15 16:24:27 2009 UTC (6 years ago) by pcanal
File length: 39456 byte(s)
Diff to previous 26263
From Axel:
Enable .Lk, .xk for ROOT; see r27158.

Revision 26263 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 18 12:00:21 2008 UTC (6 years, 2 months ago) by rdm
File length: 39250 byte(s)
Diff to previous 25382
allow an explicit TApplication to override a default TApplication created
via CreateApplication(). This fixes issue 42687.

Revision 25382 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 10 15:52:10 2008 UTC (6 years, 4 months ago) by rdm
File length: 38891 byte(s)
Diff to previous 24889
From Bertrand:
add LineProcessed() signal needed for event recorder.

Revision 24889 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 18 13:45:31 2008 UTC (6 years, 6 months ago) by pcanal
File length: 38658 byte(s)
Diff to previous 24111
Reduce unwanted side effects of infrastructure code (use TString::Form instead of ::Form).  This fixes https://savannah.cern.ch/bugs/?39007

Revision 24111 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 09:04:33 2008 UTC (6 years, 7 months ago) by rdm
File length: 38648 byte(s)
Diff to previous 22961
add protection in Argv(int idx) for idx being larger than argc-1.

Revision 22961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by rdm
File length: 38288 byte(s)
Diff to previous 21389
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 21389 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 16 10:53:43 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 38288 byte(s)
Diff to previous 21330
Fix coding conventions

Revision 21330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 10:15:51 2007 UTC (7 years, 1 month ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 38305 byte(s)
Diff to previous 21265
Add extensive help to the .R command. Type .R -? or -h or --help to get
a detailed description of the options. Also support for sourced scripts
is added, as well as the old behaviour to execute a custom roots script,
to for example start in a special mode or special binary. To source a
script before starting roots do:

.R lxplus <go

to execute your own roots like script do:

.R lxplus myroots

Revision 21265 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 7 11:17:44 2007 UTC (7 years, 1 month ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 37389 byte(s)
Diff to previous 21046
Following changes:
- use TSystem::NotifyApplicationCreated()
- fix problem with TApplication changing directory during argument parsing.
  Directory is changed only in TRint when it processes the directory argument.
- Add warning if argument file.root does not exists, before not existing
  file was ignored. 
- Improve documentation of TApplication::GetOptions().

Revision 21046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 26 15:52:12 2007 UTC (7 years, 1 month ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 36855 byte(s)
Diff to previous 20935
print warning in case a macro.C or data.root file specified as argument
does not exist. Fixes issue 30632.

Revision 20935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 17:39:33 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 36517 byte(s)
Diff to previous 20877
Remove gcc 4.2 compiler warnings.

Revision 20877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:17:07 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 36469 byte(s)
Diff to previous 20680
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 20680 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 6 15:28:09 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 36469 byte(s)
Diff to previous 20411
From Gerri and me:
Add TApplication::HandleException() method, which gets called by
TSystem::DispatchSignals() in case of an exception (sigbus, sigsegv, sigill
or sigfpe). In derived TApplication's one might now want to not throw
or do something else to reset the environment.

Revision 20411 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 19 12:37:58 2007 UTC (7 years, 3 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 35904 byte(s)
Diff to previous 19826
remove conditional around include of RConfigure.h:

#ifdef R__HAVE_CONFIG
#include "RConfigure.h"
#endif 

Having this conditional caused RConfigure.h to be missing from the .d
files and hence these files would not be recompiled after re-configuring
using --prefix.

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/base/src/TApplication.cxx
File length: 35934 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/base/src/TApplication.cxx
File length: 35988 byte(s)
Diff to previous 19347
remove :$ from tag line

Revision 19347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 16 10:09:19 2007 UTC (7 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 35998 byte(s)
Diff to previous 19343
Add new static method ExecuteFile() which allows macros to be executed
before gApplication is set. The existing ProcessFile() now calls this
method.

Revision 19343 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 16 07:54:10 2007 UTC (7 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 35651 byte(s)
Diff to previous 19210
protect IsCmdThread() from fAppImp being 0.

Revision 19210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 1 16:02:53 2007 UTC (7 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 35629 byte(s)
Diff to previous 19068
fix compiler warnings reported by George Irwin.

Revision 19068 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 19 12:55:18 2007 UTC (7 years, 7 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 35627 byte(s)
Diff to previous 18868
From Bertrand:
New class TRemoteObject to enable browsing of remote system files or ROOT files.

Revision 18868 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 23 15:42:45 2007 UTC (7 years, 8 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 34914 byte(s)
Diff to previous 18803
describe new option file: to specify files with non-standard .root extension.

Revision 18803 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 16 11:14:35 2007 UTC (7 years, 8 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 34895 byte(s)
Diff to previous 18770
From Gerri:
  TApplication.h
   - Define BIT(15) as kProcessRemotely to control remote execution.
     The definition is public so that it can be set by any application that
     wants something to be processed on the current remote session, e.g.

            gApplication->SetBit(TApplication::kProcessRemotely);
            gROOT->ProcessLine(...).

     The new bit replaces both bit kTerminalInput and the boolean fProcessingLine.

 TApplication.cxx, TRint.cxx, TApplicationRemote.cxx
   - Cope with the change in TApplication.h

Revision 18770 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 14 13:26:46 2007 UTC (7 years, 8 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 34987 byte(s)
Diff to previous 18732
From Gerri:
   - In remote mode, redirect remotely only process-line requests entered via command line

Revision 18732 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 10 18:20:33 2007 UTC (7 years, 8 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 34864 byte(s)
Diff to previous 18726
remove some dead code.

Revision 18726 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 10 17:08:28 2007 UTC (7 years, 8 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 35389 byte(s)
Diff to previous 18723
remove dependency of libCore on libRint.

Revision 18723 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 10 16:02:15 2007 UTC (7 years, 8 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 35707 byte(s)
Diff to previous 18663
From Gerri:
    - mods to existing files to support remote execution.

Revision 18663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 4 16:53:25 2007 UTC (7 years, 8 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 27888 byte(s)
Diff to previous 18421
From Gerri,
Remove an extra argument in a Warning statement in TApplication::ProcessLine.

Revision 18421 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 28 15:43:26 2007 UTC (7 years, 9 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27910 byte(s)
Diff to previous 18415
also check if graphics libs need to be loaded after doing .L.

Revision 18415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 28 14:29:12 2007 UTC (7 years, 9 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27881 byte(s)
Diff to previous 18140
add static method NeedGrahicsLibs(). This method should be called from static
library initializers of libraries that need the low level graphics libs
(this is currently called from libGpad and libGui). This is more generic
than looking for the Gpad and Gui names in TSystem::Load() and also works
if these libs are indirectly loaded like via an ACLiC generated library.
Also explicitly initialize TGX11TTF if this library was indirectly loaded
as part of an ACLiC library (we call via ProcessLine() the new static
TGX11TTF::Activate() method).

Revision 18140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 2 14:05:46 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27273 byte(s)
Diff to previous 18138
From Bertrand:
move TColor initialization from TApplication to TColor and call the
initialization at the appropriate places. Fixes a number of issues with
colors not being correctly set.

Revision 18138 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 2 13:34:50 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 31436 byte(s)
Diff to previous 18119
remove redundant check.

Revision 18119 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 08:57:19 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 31452 byte(s)
Diff to previous 18118
fix typo in argv compression.

Revision 18118 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 08:21:11 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 31453 byte(s)
Diff to previous 18110
remove used argv's, stress -b 30 should work again.

Revision 18110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 01:07:14 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 31442 byte(s)
Diff to previous 18090
make sure TGX11TTF is created before TGClient so we can use TTF fonts in
the GUI.

Revision 18090 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 26 17:24:30 2007 UTC (7 years, 10 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 31441 byte(s)
Diff to previous 18039
From Axel:
protect argv manipulation from missing macos kernel protection.

Revision 18039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 21 09:52:14 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 31432 byte(s)
Diff to previous 17949
From Axel and Bertrand:
Fix autoloads problem on Windows.

Revision 17949 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 13 21:23:10 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 31268 byte(s)
Diff to previous 17932
implement delayed loading of graphics libraries. The libraries
(TGuiFactory, TVirtualX, TColor's, etc) will be loaded and initialized
only when libGpad is loaded.

Revision 17932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 13 14:23:15 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30728 byte(s)
Diff to previous 16796
move gInterpreter->EnableAutoLoading() before LoadGraphicsLibs() so that
the plugin manager can use the rootmap info to load all dependent libs.

Revision 16796 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 16 17:18:32 2006 UTC (8 years, 2 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30725 byte(s)
Diff to previous 15849
Changes to get rid of the config.h and HAVE_CONFIG define. These were way
too trivial (just do a locate config.h to see how many there are):
- replace occurances of config.h by RConfigure.h
- add #warning in config.h that is should not be used
- change HAVE_CONFIG to R__HAVE_CONFIG

Revision 15849 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 13:36:44 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30719 byte(s)
Diff to previous 15742
Instead of providing default implementations for copy ctor's and assignment
operators we better make them private (and not implemented) to avoid people
from accidentally using them. Especially the collections classes and the
TQObject derived classes. In these classes the default implementations would
cause havoc due to multiple deletions of the same objects and other
potential memory corruptions.

Revision 15742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 05:27:55 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 31832 byte(s)
Diff to previous 15176
From Eddy:
Fix many typos in comments

Revision 15176 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 26 09:27:12 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 31827 byte(s)
Diff to previous 15134
Fix coding conventions violations

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 31749 byte(s)
Diff to previous 14182
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

Revision 14182 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 6 14:30:00 2006 UTC (8 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30718 byte(s)
Diff to previous 14125
white space.

Revision 14125 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 28 16:48:17 2006 UTC (8 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30721 byte(s)
Diff to previous 13356
From Christian Holm:
allow for a second set of free TTF fonts in case the MSFT fonts we
distribute are not available (might be the case on Debian systems where
the MSFT fonts cannot be freely distributed due to license issues).

Revision 13356 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 24 23:30:06 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30587 byte(s)
Diff to previous 13258
Remove code of obsolete win32old version. Cleanup source from the many
GDK_WIN32 ifdef's. Fixes also Gordon's problem of TInterpreter which
depended on GDK_WIN32.

Revision 13258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 16 20:11:59 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/base/src/TApplication.cxx
File length: 30764 byte(s)
Diff to previous 13026
White spaces and comments update

Revision 13026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 27 10:00:41 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30741 byte(s)
Diff to previous 12546
some white space fixes according to new coding checker warnings.

Revision 12546 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 29 08:24:08 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 30746 byte(s)
Diff to previous 12371
Fix coding conventions in the base directory

Revision 12371 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 22 16:52:03 2005 UTC (9 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30747 byte(s)
Diff to previous 11087
make .qqqqq check case insensitive.

Revision 11087 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 10 07:32:27 2005 UTC (9 years, 11 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 30841 byte(s)
Diff to previous 11040
From Axel Naumann:
with this patch, TApplication issues a warning if its name is "Rint" (to allow applications to implement their own params) and the macro-argument cannot be found.

Revision 11040 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 5 01:33:07 2005 UTC (9 years, 11 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30614 byte(s)
Diff to previous 10856
in ProcessFile() fix the comment (/* */) parsing so we can handle
cases like: /* */ /*. Bug was reported by Pedro Miguel Esteves Ramalhete.

Revision 10856 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 1 11:29:21 2005 UTC (10 years ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30206 byte(s)
Diff to previous 9683
protect ProcessLine() and ProcessFile() against 0 line and file arguments.

Revision 9683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 5 10:06:26 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 30247 byte(s)
Diff to previous 9670
remove some <TAB>s.

Revision 9670 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 3 20:51:47 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 30265 byte(s)
Diff to previous 9655
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

Revision 9655 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 2 11:43:32 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 29920 byte(s)
Diff to previous 9519
small typo in comment.

Revision 9519 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 14 11:43:50 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 29916 byte(s)
Diff to previous 9438
HandleIdleTimer() now emits a signal, so it easy to connect any number of
slots to the idle timer.

Revision 9438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 8 11:50:08 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 29900 byte(s)
Diff to previous 8945
add new method IsRunning() which returns true when TApplication::Run()
has been called. It is sometime important to know is e.g. synchronous
timers will run and they will not run when IsRunning() is false.

Revision 8945 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 17 12:15:17 2004 UTC (10 years, 8 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 29794 byte(s)
Diff to previous 8837
enable auto loading of shared libraries only after TROOT has been fully
created and all linked libraries have been initialized.

Revision 8837 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 10 08:14:10 2004 UTC (10 years, 8 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 29731 byte(s)
Diff to previous 8835
rename SetNoechoMode() to SetEchoMode(), kFALSE=off, kTRUE=on.

Revision 8835 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 10 08:05:33 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 29718 byte(s)
Diff to previous 8510
From Valeriy Onuchin:
 - add TApplication::SetNoechoMode method.
    It could be used for
      o handling passwords
      o cases described at  http://root.cern.ch/phpBB2/viewtopic.php?t=575

Revision 8510 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 26 17:35:38 2004 UTC (10 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 29484 byte(s)
Diff to previous 8197
also support option --help in addition to -h and -? to get help.
The --help is widely used in GNU applications.

Revision 8197 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 13 16:34:41 2004 UTC (10 years, 11 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 29354 byte(s)
Diff to previous 8161
add new option "root -config" which prints the environment variables and
options used by ./configure. This allows us to see which non-defaults were
used when configuring ROOT.

Revision 8161 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 9 09:50:17 2004 UTC (10 years, 11 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28856 byte(s)
Diff to previous 8131
chane int to Int_t in the method signatures.

Revision 8131 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 5 10:05:06 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 28845 byte(s)
Diff to previous 7964
From Valeriy Onuchin:
there was request (and few related requests in the past)
for console keys  polling
http://root.cern.ch/phpBB2/viewtopic.php?t=393
To make it possible I added signals to TApplication class:

virtual void    Terminate(int status = 0);   //*SIGNAL*
virtual void    KeyPressed(int key);         //*SIGNAL*
virtual void    ReturnPressed(char *text );  //*SIGNAL*

Revision 7964 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 21 22:22:36 2004 UTC (11 years ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 28376 byte(s)
Diff to previous 7810
From Philippe:

This patch implements having -q terminating the processs using the return value of the command.

Revision 7810 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 30 13:16:51 2003 UTC (11 years ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 28136 byte(s)
Diff to previous 7641
Mega patch to add support for large files (bigger than 2 GBytes)
----------------------------------------------------------------

  ==========>NEW VERSION 4.00/00 <===========

Because this new version has a considerable number of changes,
and new important additions by Philippe are scheduled for the coming days
we are starting a new major version 4.
  -Support for large files
  -Automatic schema evolution for foreign classes
  -New data type Double32_t

Large files are currently tested only under Linux with gcc3.2.
Support for other systems will be gradually added in the coming days.
By default under Linux, files are created with the option LARGEFILE.
Note that when creating a Tree, the default maximum size for a Tree
is set to 1.9 GBytes. You can change this default value by calling
  TTree::SetMaxTreeSize(Long64_t maxsize)

The implementation of this new feature has required changes in many places.
The files produced by this new version can still be read by old ROOT versions
if their size if smaller than 2 GBytes. And obviously, the new version
can digest old ROOT files.

WARNING: note the following backward incompatibility:
 -TSystem::GetPathInfo has a new signature: (also TUnixSystem, TWinNTSystem, etc)
  old: GetPathInfo(const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
  new: GetPathInfo(const char *path, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);

 -TFile::SysSeek and TFile::SysStat have a new signature (also TNetFile, TWebFile, etc)
  old:  Int_t    SysSeek(Int_t fd, Long_t offset, Int_t whence);
        Int_t    SysStat(Int_t fd, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
  new:  Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence);
        Int_t    SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);

 -TTree::SetMaxTreeSize has a new signature:
  old:  void TTree::SetMaxTreeSize(Int_t maxsize)
  new:  void TTree::SetMaxTreeSize(Long64_t maxsize)

  All references to Seek_t have been replaced by Long64_t.

Revision 7641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 24 19:54:54 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 28117 byte(s)
Diff to previous 7454
From Philippe:
This patch fix the behavior of ROOT in case of leading 'tab' in an unamed macro.

Revision 7454 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 22 17:20:50 2003 UTC (11 years, 3 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28100 byte(s)
Diff to previous 6859
implement automatic switching to batch mode when no connection to an X server
can be established, instead of exiting the program.

Revision 6859 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 8 15:42:25 2003 UTC (11 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27842 byte(s)
Diff to previous 6841
mods needed by Valeri to support his TGQt class.

Revision 6841 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 7 14:51:45 2003 UTC (11 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27693 byte(s)
Diff to previous 6284
only load the libX11TTF plugin when X11 is the current graphics driver.
This avoids loading X11TTF driver in case of Qt driver.

Revision 6284 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 10 14:57:11 2003 UTC (11 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27643 byte(s)
Diff to previous 5959
remove reference and loading of libwin32ttf.

Revision 5959 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 22 11:23:05 2003 UTC (12 years ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27688 byte(s)
Diff to previous 5797
big patch adding full freetype 2 TTF support to the ROOT core and X11
and Win32gdk displaying modules. TTF support provided by Olivier Couet
and Bertrand Bellenot (for Win32), build system updated by me.
Also fixes the RH8.0 installation problems of rootd and proofd.

Revision 5797 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 11 15:16:33 2002 UTC (12 years, 1 month ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 27557 byte(s)
Diff to previous 5793
From Philippe:
This fix (re)allows the usage of ROOT's macropath is the search path when
loading a macro.

Revision 5793 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 10 19:51:47 2002 UTC (12 years, 1 month ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 27574 byte(s)
Diff to previous 5792
From Philippe:
This patch renables the usage of I/O indirection in TApplication::ProcessLine.
Removes a core dumps and add warnings when parameters are passed when loading a macro (as opposed to executing it).

Revision 5792 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 10 17:26:48 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27503 byte(s)
Diff to previous 5493
generalization by Philippe of ACliC argument parsing. New method
TSystem::SplitAclicMode(). Change by me in GetLibraries() to also
allow for non regexp search (solves problem with pathnames containing
regexp characters, like ++).

Revision 5493 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 25 12:30:30 2002 UTC (12 years, 3 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 29328 byte(s)
Diff to previous 5488
remove compiler warning due to mode not being const char*.

Revision 5488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 25 10:40:16 2002 UTC (12 years, 3 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 29260 byte(s)
Diff to previous 5439
call gInterpreter->UpdateListOfTypes() after the dictionaries have been
initialized. This fixes the problem as seen on Solaris when running
vvector in batch mode where the basic typedef UInt_t et al are not known.

Revision 5439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 20 16:08:49 2002 UTC (12 years, 3 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 29180 byte(s)
Diff to previous 5438
Patch from Philippe:
"Following Masa's smart comment, I renamed the ACLiC option into 'g' and
'O' to be more inline with all other compiler.

Revision 5438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 18 17:14:21 2002 UTC (12 years, 3 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 29179 byte(s)
Diff to previous 5437
aclic options, fix a couple of bugs

Revision 5437 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 18 17:01:59 2002 UTC (12 years, 3 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 29169 byte(s)
Diff to previous 5333
add option to aclic to select debug or optimized mode

Revision 5333 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 19 13:54:08 2002 UTC (12 years, 4 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28882 byte(s)
Diff to previous 5297
CreateApplication() now does not force anymore the loading of the graphics
libs since the default application is created in batch mode.

Revision 5297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 14 20:25:04 2002 UTC (12 years, 4 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28697 byte(s)
Diff to previous 5036
use plugin manager to load libGpad and libX11TTF in TApplication. Also
update TGApplication accordingly (was only used by Guy).

Revision 5036 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 1 15:36:25 2002 UTC (12 years, 5 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28502 byte(s)
Diff to previous 4963
deallocate fArgv[i]'s via delete[].

Revision 4963 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 17 14:59:57 2002 UTC (12 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28490 byte(s)
Diff to previous 4258
use plugin manager in LoadGraphics(). At the same time introduced a suggestion
of Christian Holm to define in the rootrc a Gui.Backend resource. By
default this is set to "native" which translates to X11 on Unix and Win32
on Windows (or Win32gdk when compiled with GDK option). But setting it
to, e.g., "qt" will (once the full Qt implementation is available)
automatically load the libGQt plugin.

Revision 4258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 28 01:47:04 2002 UTC (12 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28369 byte(s)
Diff to previous 4252
handle CINT exit code on all platforms (merge of patches by Phil and me).

Revision 4252 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 27 17:51:32 2002 UTC (12 years, 10 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 28574 byte(s)
Diff to previous 4237
From Philippe,
This patch makes the treatement of .L and .U symetrical.

Revision 4237 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 25 20:13:40 2002 UTC (12 years, 10 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 28506 byte(s)
Diff to previous 4229
Fix several typos in previous Philippe's patch.

Revision 4229 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 23 06:38:37 2002 UTC (12 years, 10 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 28509 byte(s)
Diff to previous 4136
Patch from Philippe that could fix a problem reported by Valery on Windows2000

Revision 4136 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 5 10:47:48 2002 UTC (12 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28490 byte(s)
Diff to previous 4077
new method GetExitCode() in TInterpreter and TCint which returns argument
passed to exit() in interpreter. Used in TApplication::ProcessLine().

Revision 4077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 23 16:04:54 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28464 byte(s)
Diff to previous 3748
exit() called from CINT scripts now also exits ROOT sessions, like an exit()
called from compiled code. The exit argument is not yet passed via Terminate()
to calling shell since CINT does not yet provide this info. As soon as it
does we'll pass it along.

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28297 byte(s)
Diff to previous 3742
rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change
is necessary because on Windows which is case insensitive IOStream.h
hides the real iostream.h.

Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 17:52:52 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28296 byte(s)
Diff to previous 3521
use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant
and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and
<iomanip[.h]>.

Revision 3521 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 21 12:19:50 2001 UTC (13 years, 1 month ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 28297 byte(s)
Diff to previous 3498
in GetOptions() strip off possible argument string from macro file name before
calling ExpandPathName() on this file name. Prevents interference from
regexp chars in argument string.

Revision 3498 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 19 07:15:19 2001 UTC (13 years, 1 month ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 28159 byte(s)
Diff to previous 3315
This patch from Philippe gives the user access to the cint error code after an
attempt to 'interpret'.


In particular the following methods have one more optional
parameter:

TApplication::ProcessLine
TApplication::ProcessFile
TObject::Execute
TROOT::ProcessLine
TROOT::ProcessLineFast
TROOT::ProcessLineSync
TROOT::LoadMacro
TROOT::Macro
and
TInterpreter::Execute
TInterpreter::LoadMacro
TInterpreter::ProcessLine
TInterpreter::ProcessLineAsync
TInterpreter::ProcessLineSync
TInterpreter::ExecuteMacro
TInterpreter::Calc
and the corresponding method in TCint.

The extra parameter is a pointer to an int (or a TInterpreter::EErrorCode
when available).  If this pointer is not zero, it will be used to pass
back information on the CINT error status.  The result are defined
in the enum TInterpreter::EErrorCode.

This is the best method of passing the information, because some
of the methods are already returning a result and using a global
variable (i.e. TInterpreter::GetLastErrorStatus) would lead to
indescriptible confusion (remember that there can be several
nested call to ProcessLine including one 'implied' call resulting
from the command line interpretation).

In the asynchronous case, the error status is set to kProcessing until
completion.  The windows part, which consist of reseting the error status
to the proper value upon completion will be implemented in a future patch.

Also LoadMacro and Macro were updated to be able to use ACLiC and
to be able to run named macro.

Revision 3315 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 28 15:58:13 2001 UTC (13 years, 1 month ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27766 byte(s)
Diff to previous 3175
added ifdef's for win32gdk case.

Revision 3175 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 6 11:43:03 2001 UTC (13 years, 2 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27449 byte(s)
Diff to previous 2939
add some more comments concerning skipping the options processing.

Revision 2939 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 2 09:08:30 2001 UTC (13 years, 3 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27333 byte(s)
Diff to previous 2584
in case numOptions<0 don't call GetOptions().

Revision 2584 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 17 09:07:43 2001 UTC (13 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27187 byte(s)
Diff to previous 2545
changes due to TColor::HLStoRGB() and TColor::TGBtoHLS() now being static.

Revision 2545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 9 13:48:31 2001 UTC (13 years, 6 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27166 byte(s)
Diff to previous 2521
put message telling default application has been created behind gDebug.

Revision 2521 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 4 11:19:06 2001 UTC (13 years, 6 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 27137 byte(s)
Diff to previous 2457
fNoLog, fNoLogo and fQuit were not initialized. The initialisation must be done
before invoking GetOptions.

Revision 2457 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 25 16:28:39 2001 UTC (13 years, 7 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 27025 byte(s)
Diff to previous 2418
fix for two issues:
  1) option -l does not print ROOT info message in addition to not showing
     the splash screen.
  2) script files which have the execute bit set are now also again accepted
     as command line arguments (reported by Yves Schutz).

Revision 2418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 17 23:08:45 2001 UTC (13 years, 7 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 26984 byte(s)
Diff to previous 2353
Implement the following mods proposed by Valery:
TApplication::TApplication:
   LoadGraphicsLibs() needs gProgFile pointer. That was not assigned.
   The statement "gSystem->SetProgname(fArgv[0])"
   is called too late, namely after LoadGraphicsLibs is called.

   One has to change the order, namely first issue
     if (fArgv) gSystem->SetProgname(fArgv[0]);
   then
     LoadGraphicsLibs()

TROOT::LoadClass
   Did assume "lib" prefix is to be added to the name
   of the Dynamic library name by the OS .This is not case under
   Windows. As result the name of the Windows DLL is not completed
   and DLL file can not be found

TSystem::CompileMacro
   Applied wrong ExpandFileName method rather ExpandPathName
   As result the file name is not generated properly if it contains
   the Windows special symbols.

TSystem::ExapandFileName
   did treat "blank" as a "file separator". As result the file
   name  that with the "blank inside" is not generated properly.

Revision 2353 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 1 16:18:44 2001 UTC (13 years, 7 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 26985 byte(s)
Diff to previous 2253
initialize all members in default ctor.

Revision 2253 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 21 11:16:49 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 26553 byte(s)
Diff to previous 2155
correctly retrieve file name in case string arguments contains a '('. This now
works fine: .x $(HOME)/dt.C("aap", "noot(a)").

Revision 2155 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 9 17:50:52 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 26435 byte(s)
Diff to previous 2149
fix also the handling of command line arguments like hsimple.C++.

Revision 2149 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 9 13:08:23 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 26360 byte(s)
Diff to previous 2124
check if command line argument exists in MacroPath (old behviour, while
retaining the other fixes).

Revision 2124 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 7 00:09:52 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 26007 byte(s)
Diff to previous 2047
correct problem with handling directory and file arguments. Also the option
-display host:0 works without warning now.

Revision 2047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 23 08:04:48 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/base/src/TApplication.cxx
File length: 25849 byte(s)
Diff to previous 2043
Remove global gRootName (gROOT->GetName() may be used instead).

Revision 2043 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 22 16:00:56 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 25929 byte(s)
Diff to previous 2039
set gRootName and the TROOT name in TApplication equal to the appClassName
argument passed to TApplication. The ROOT name is used by the TEnv system
to lookup specific settings for specific classes of applications. Before
this name was set in the TROOT ctor, but now, with the automatic TROOT object
this is not possible.

Revision 2039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 21 17:20:23 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 25816 byte(s)
Diff to previous 2034
some more fixes for TROOT creation and destruction.

Revision 2034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 21 02:57:43 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 25927 byte(s)
Diff to previous 1754
move loading of RQ_OBJECT.h file from TROOT to TApplication. The loading
in TROOT could cause problems since at that point not all needed classes
are known to CINT.

Revision 1754 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 6 12:15:46 2001 UTC (13 years, 10 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 25777 byte(s)
Diff to previous 509
on .q tell CINT to delete non-heap global objects before terminating.

Revision 509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 20 14:42:43 2000 UTC (14 years, 5 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 25741 byte(s)
Diff to previous 110
fixed very small memory leak

Revision 110 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 12 15:44:09 2000 UTC (14 years, 7 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 25720 byte(s)
Diff to previous 3
link now explicitely libGX11TTF with FreeType's libttf.a. Now there is
no need anymore to distribute FreeType includes and library. The only thing
the user needs to do to use TTF fonts is to get the set of font files.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/base/src/TApplication.cxx
File length: 26417 byte(s)
Copied from: branches/rdm/base/src/TApplication.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/base/src/TApplication.cxx
File length: 26417 byte(s)
Initial import of ROOT into CVS

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