[root] / trunk / core / rint / inc / TRint.h Repository:
ViewVC logotype

Log of /trunk/core/rint/inc/TRint.h

Parent Directory Parent Directory


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

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 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/rint/inc/TRint.h
File length: 2638 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/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 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/rint/inc/TRint.h
File length: 2567 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/rint/inc/TRint.h
File length: 2612 byte(s)
Diff to previous 18726
remove :$ from tag line

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/rint/inc/TRint.h
File length: 2622 byte(s)
Diff to previous 16146
remove dependency of libCore on libRint.

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 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/rint/inc/TRint.h
File length: 2419 byte(s)
Diff to previous 8837
White spaces and comments update

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/rint/inc/TRint.h
File length: 2419 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/rint/inc/TRint.h
File length: 2420 byte(s)
Diff to previous 7480
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 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.

Revision 2824 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 20 17:07:23 2001 UTC (13 years, 4 months ago) by rdm
Original Path: trunk/rint/inc/TRint.h
File length: 2273 byte(s)
Diff to previous 1828
change by Valery Fine to fix 100% CPU usage in terminal input loop on Windows.

Revision 1828 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 14:25:56 2001 UTC (13 years, 10 months ago) by brun
Original Path: trunk/rint/inc/TRint.h
File length: 2272 byte(s)
Diff to previous 1667
include TString.h was missing. This generated compilation errors
when TRint.h was included in user classes (eg, TG4RunManager).
Thanks to Ivana  Hrivnacova for reporting this problem.

Revision 1667 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 22 13:32:00 2001 UTC (13 years, 11 months ago) by rdm
Original Path: trunk/rint/inc/TRint.h
File length: 2194 byte(s)
Diff to previous 3
make fDefaultPrompt a TString to simplify string manipulation.

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/rint/inc/TRint.h
File length: 2143 byte(s)
Copied from: branches/rdm/rint/inc/TRint.h 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/rint/inc/TRint.h
File length: 2143 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