Log of /trunk/core/rint/inc/TRint.h
Parent Directory
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: 2721 byte(s)
Diff to
previous 39402
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
39402 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu May 26 12:56:31 2011 UTC (3 years, 8 months ago) by
axel
File length: 2716 byte(s)
Diff to
previous 22961
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
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: 2638 byte(s)
Diff to
previous 20882
move the directories:
base clib cont meta metautils newdelete pcre rint thread unix utils
winnt zip
under the new core meta directory.
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/rint/inc/TRint.h
File length: 2638 byte(s)
Diff to
previous 20151
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
20151 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 1 13:34:51 2007 UTC (7 years, 3 months ago) by
rdm
Original Path:
trunk/rint/inc/TRint.h
File length: 2587 byte(s)
Diff to
previous 19826
add new methods:
TROOT::GetSvnRevision() -- returns svn current revision number
TROOT::GetSvnBranch() -- returns svn current branch name
TROOT::GetSvnDate() -- returns date time of built
the methods are used in TRint to print in the ROOT welcome message.
Revision
16146 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 28 14:43:47 2006 UTC (8 years, 4 months ago) by
rdm
Original Path:
trunk/rint/inc/TRint.h
File length: 2557 byte(s)
Diff to
previous 15849
Support now, like with the rootrc file, a hierarchy of rootlogon.C macros.
At startup of TRint, three levels of logon macros will be executed: the system
logon $ROOTSYS/etc/system.rootlogon.C, the global user logon ~/.rootlogon.C
and the local ./.rootlogon.C. For backward compatibility also the logon macro
as specified by the Rint.Logon rootrc environment setting, by default
./rootlogon.C, will be executed. No logon macros will be executed when
the system is started with the -n option.
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/rint/inc/TRint.h
File length: 2544 byte(s)
Diff to
previous 15134
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
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/rint/inc/TRint.h
File length: 2493 byte(s)
Diff to
previous 13258
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
7480 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 28 14:09:48 2003 UTC (11 years, 2 months ago) by
rdm
Original Path:
trunk/rint/inc/TRint.h
File length: 2369 byte(s)
Diff to
previous 2824
fix long standing problem of re-submission of commands when a PROOF command
is active. Turns out that TRint::HandleTermInput was called recursively
while PROOF was waiting for socket activity in TMonitor, where monitoring of
socket 0 (stdin) was not turned off, now it is.
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.