[root] / trunk / core / rint / src / TTabCom.cxx Repository:
ViewVC logotype

Log of /trunk/core/rint/src/TTabCom.cxx

Parent Directory Parent Directory


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

Revision 48043 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 14 12:20:32 2012 UTC (2 years, 1 month ago) by rdm
File length: 90869 byte(s)
Diff to previous 44507
change gCint -> gCling (and not the generic gInterpreter as we'll stay for a
while with cling ;-) ).

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: 90849 byte(s)
Diff to previous 43709
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 43709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 12 11:04:01 2012 UTC (2 years, 9 months ago) by rdm
File length: 90044 byte(s)
Diff to previous 43269
remove any references to VMS.

Revision 43269 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 6 22:42:10 2012 UTC (2 years, 10 months ago) by pcanal
File length: 90044 byte(s)
Diff to previous 43268
Fix cov 32749 (deref null return value)

Revision 43268 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 6 22:29:04 2012 UTC (2 years, 10 months ago) by pcanal
File length: 89949 byte(s)
Diff to previous 43214
Fix cov 32748 (deref null return value)

Revision 43214 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 2 05:12:18 2012 UTC (2 years, 10 months ago) by pcanal
File length: 89915 byte(s)
Diff to previous 41852
Fix cov 30999 (unchecked return value)

Revision 41852 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 9 20:56:05 2011 UTC (3 years, 2 months ago) by pcanal
File length: 89877 byte(s)
Diff to previous 41697
Fix potential use of unitialized variable

Revision 41697 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 1 21:03:41 2011 UTC (3 years, 2 months ago) by pcanal
File length: 89872 byte(s)
Diff to previous 41318
Fix medium impact coverity reports

Revision 41318 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 11 08:48:03 2011 UTC (3 years, 3 months ago) by pcanal
File length: 89862 byte(s)
Diff to previous 41244
Fix Coverity issues:

TTreePlayer.cxx: another instance of 34037 Dereference null return value
TBranchElement.cxx: 2nd attempt for 34040,34042 Dereference null return (stat) 
TTabCom.cxx: another instance of 34168 Explicit null dereferenced

Revision 41244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 19:42:35 2011 UTC (3 years, 3 months ago) by pcanal
File length: 89750 byte(s)
Diff to previous 39402
Fix Coverity issues:

TBranchSTL: cov 34339 Resource leak (false positive)
TTableDescriptor.cxx: cov 34219,34220 explicit null dereference
TSQLStructure.cxx: cov 34204,34205,34206 Explicit null dereferenced 
TTabCom.cxx: cov 34168 Explicit null dereferenced 
TClassRef.cxx: cove 34165 Explicit null dereferenced (false positive but still confusing coding).
TBufferXML.cxx: 34070 Explicit null dereferenced
TFriendProxyDescriptor.cxx: cov 34066 Uninitialized scalar field
TTreeCloner.cxx: cov 34034057 Dereference null return (stat) 63 Uninitialized scalar field 
TParallelCoordEditor.cxx: 34051,34059,34060,34061 Dereference null return value
TParallelCoord.cxx: 34050,34056, 34057 Dereference null return (stat) 
TBranchProxy.h: 34048 Dereference null return value 
TBranchProxy.cxx: 34043,34044,34045 Dereference null return value
TTree.cxx: 34039 Dereference null return value
TTreePlayer.cxx: 34037 Dereference null return value 
TLeafC.cxx: 34036 Dereference null return value

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: 89732 byte(s)
Diff to previous 35775
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 35775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 27 08:23:54 2010 UTC (4 years, 3 months ago) by rdm
File length: 89785 byte(s)
Diff to previous 34976
fix coverity 11739.

Revision 34976 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 25 04:11:07 2010 UTC (4 years, 5 months ago) by pcanal
File length: 89760 byte(s)
Diff to previous 34885
Add missing initialization

Revision 34885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 20 13:33:08 2010 UTC (4 years, 5 months ago) by pcanal
File length: 89733 byte(s)
Diff to previous 30893
Fix uninitialized var

Revision 30893 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 27 20:27:07 2009 UTC (5 years, 2 months ago) by pcanal
File length: 89715 byte(s)
Diff to previous 30749
Search the current directory for file when using tab completion
within a string.

Revision 30749 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 15 16:33:04 2009 UTC (5 years, 3 months ago) by brun
File length: 89713 byte(s)
Diff to previous 30215
From Matthew Strait:
This patch fixes the spelling of "function" in the root source code
and documentation, which is misspelled (sometimes as part of larger
"function"-based words) at least 152 times:

* "funciton" 48 times
* "funcion" 36 times
* "funtion" 23 times
* "fucntion" 17 times
* "functionn" 6 times
* "fuction" 6 times
* "fuunction" 4 times
* "functioin" 3 times
* "fonction" 3 times
* "funstion" twice
* "fnuction" once
* "functiom" once
* "functio" once
* "funcition" once

Revision 30215 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 17 10:25:41 2009 UTC (5 years, 4 months ago) by rdm
File length: 89713 byte(s)
Diff to previous 29501
From Mary-Louise Gill: fix capitalization of user input during tab completion.

Revision 29501 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 16 19:38:24 2009 UTC (5 years, 6 months ago) by pcanal
File length: 88121 byte(s)
Diff to previous 29400
Fix TFile f("./data_files/[tab]
(Savannah report #50310)

Revision 29400 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 8 22:01:32 2009 UTC (5 years, 6 months ago) by pcanal
File length: 88487 byte(s)
Diff to previous 29270
Fix:

When pressing Tab it convert my arrow to dot.

My listing:
root [0] TLine l
root [1] l.IsA()-> // here I press Tab
"l" is not of pointer type. Use this operator: .
...
root [1] l.IsA().

Revision 29270 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 30 14:50:13 2009 UTC (5 years, 6 months ago) by pcanal
File length: 88170 byte(s)
Diff to previous 29261
additinal cleanup and coding convention fix in TTabCom::DeterminePath

Revision 29261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 30 09:16:04 2009 UTC (5 years, 6 months ago) by brun
File length: 88151 byte(s)
Diff to previous 29257
Remove a useless statement

Revision 29257 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 30 05:57:49 2009 UTC (5 years, 6 months ago) by brun
File length: 88198 byte(s)
Diff to previous 28501
From Philippe:
tab completion was 'broken' for the case
   root [0] .x tutorials/ [TAB]

Revision 28501 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 8 15:19:47 2009 UTC (5 years, 8 months ago) by rdm
File length: 88001 byte(s)
Diff to previous 27629
fix remaining gcc 4.4.0 warnings.

Revision 27629 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 26 18:46:36 2009 UTC (5 years, 10 months ago) by pcanal
File length: 88011 byte(s)
Diff to previous 27627
add missing escape character

Revision 27627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 26 17:45:31 2009 UTC (5 years, 10 months ago) by pcanal
File length: 87991 byte(s)
Diff to previous 26979
Fix the completion of .x /top/bottom/ to list the content of bottom rather than top

Revision 26979 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 17 05:35:30 2008 UTC (6 years, 1 month ago) by pcanal
File length: 87911 byte(s)
Diff to previous 26490
From Matevz:

I've been after this for a long time ... tab completion was not working in alice event display.

I traced it down today to occurence of '::' in my macro-path.
I add a string:
  ":$ALICE_ROOT/EVE/alice-macros"
to the macro path - but the existing/default macro-path already ends with an ':' as it is defined in etc/system.rootrc:
  Unix.*.Root.MacroPath:      .:$(ROOTSYS)/macros:
The same is true for all paths in rootrc - maybe they should be changed after the release?

While I can avoid it now that i know of it, it is likely that it will or does bite someone else, too.

This patch properly parseis ::s - the problem was in NewListOfFilesInPath() which abandoned processing after receiving an empty string for a match, which occurs when one has '::'. I remodelled the logic to be the same as in ExtendPath().

Revision 26490 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 26 17:23:44 2008 UTC (6 years, 1 month ago) by pcanal
File length: 87917 byte(s)
Diff to previous 26489
Insure that when completing 'scopename::', we use the result of a potential autoloading of the libraries

Revision 26489 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 26 17:13:19 2008 UTC (6 years, 1 month ago) by pcanal
File length: 87792 byte(s)
Diff to previous 24077
Repair nested class lookup broken by incomplete fix in r23431

Revision 24077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 31 19:39:09 2008 UTC (6 years, 7 months ago) by brun
File length: 87790 byte(s)
Diff to previous 23432
Extend the TInterpreter class to support the CINT API used so far by ROOT.
The concrete implementation of the class is in TCint.
The new functions are essentially interfaces to the existing CINT C++ classes
like G__ClassInfo, G__CallFunc, G__DataMemberInfo, G__MethodInfo, G__TypeInfo
and G__TypedefInfo. Most of these functions will call the Reflex interface
once the CINT/Reflex interface will be available later this year.
All direct calls to CINT are replaced by calls like gCint->ClassInfo_xxx where gCint
points to the TCint implementation.
The existing calls to TCint via gInterpreter are kept because on Windows
gInterpreter does not call directly TCint, but instead call TWin32InterpreterProxy
that in turns call TCint.
On Linux and Mac, gInterpreter and gCint are equivalent.

Once the transformation using gCint will be completed, it will be possible
to specify at startup time which version of CINT (CINT or CINT7) by loading
dynamically TCint or TCint7.--This line, and those below, will be ignored--

M    core/meta/src/TStreamerElement.cxx
M    core/meta/src/TCint.cxx
M    core/meta/src/TGlobal.cxx
M    core/meta/src/TBaseClass.cxx
M    core/meta/src/TDataMember.cxx
M    core/meta/src/TInterpreter.cxx
M    core/meta/src/TClass.cxx
M    core/meta/src/TMethodArg.cxx
M    core/meta/src/TDataType.cxx
M    core/meta/src/TMethodCall.cxx
M    core/meta/src/TIsAProxy.cxx
M    core/meta/src/TMethod.cxx
M    core/meta/src/TFunction.cxx
M    core/meta/inc/TClass.h
M    core/meta/inc/TDictionary.h
M    core/meta/inc/TMethodArg.h
M    core/meta/inc/TDataType.h
M    core/meta/inc/TMethodCall.h
M    core/meta/inc/TMethod.h
M    core/meta/inc/TFunction.h
M    core/meta/inc/TCint.h
M    core/meta/inc/TGlobal.h
M    core/meta/inc/TBaseClass.h
M    core/meta/inc/TDataMember.h
M    core/meta/inc/TInterpreter.h
M    core/thread/src/TThread.cxx
M    core/base/src/TVirtualFitter.cxx
M    core/base/src/TStorage.cxx
M    core/base/src/TQConnection.cxx
M    core/base/src/TROOT.cxx
M    core/base/src/TSystem.cxx
M    core/base/src/TQObject.cxx
M    core/rint/src/TRint.cxx
M    core/rint/src/TTabCom.cxx
M    math/foam/src/TFoam.cxx
M    math/minuit2/src/TFitterMinuit.cxx
M    math/mathcore/src/FunctorCint.cxx
M    math/minuit/src/TMinuit.cxx
M    tree/tree/src/TTree.cxx
M    tree/tree/src/TSelectorCint.cxx
M    tree/tree/src/TSelector.cxx
M    tree/tree/inc/TSelectorCint.h
M    roofit/roofitcore/src/RooGenCategory.cxx
M    roofit/roofitcore/src/RooWorkspace.cxx
M    hist/hist/src/TF1.cxx
M    gui/guibuilder/src/TGuiBldDragManager.cxx
M    net/alien/inc/TAlienSystem.h

Revision 23432 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 09:59:23 2008 UTC (6 years, 9 months ago) by brun
File length: 87407 byte(s)
Diff to previous 22961
Fix shadowed variable.

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: 87401 byte(s)
Diff to previous 22433
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 22433 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 4 10:51:55 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 87401 byte(s)
Diff to previous 20935
use TSystem::Which() to find the correct "env" program (/usr/bin/env on
Mac, /bin/env Linux, etc.). Fixes issue 33944.

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/rint/src/TTabCom.cxx
File length: 87192 byte(s)
Diff to previous 20882
Remove gcc 4.2 compiler warnings.

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/src/TTabCom.cxx
File length: 87182 byte(s)
Diff to previous 20411
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 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/rint/src/TTabCom.cxx
File length: 87182 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/rint/src/TTabCom.cxx
File length: 87212 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/src/TTabCom.cxx
File length: 87264 byte(s)
Diff to previous 19337
remove :$ from tag line

Revision 19337 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 13 19:12:17 2007 UTC (7 years, 6 months ago) by pcanal
Original Path: trunk/rint/src/TTabCom.cxx
File length: 87274 byte(s)
Diff to previous 18300
Hide operator= and implement destructor

Revision 18300 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 16 16:02:23 2007 UTC (7 years, 10 months ago) by pcanal
Original Path: trunk/rint/src/TTabCom.cxx
File length: 87117 byte(s)
Diff to previous 16926
Use data member instead of hiding it with a local var

Revision 16926 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 14:24:54 2006 UTC (8 years, 2 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 87124 byte(s)
Diff to previous 16796
patch handling namespace CINT of CINT 5-16-16.

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/rint/src/TTabCom.cxx
File length: 87144 byte(s)
Diff to previous 16356
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 16356 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 27 13:11:27 2006 UTC (8 years, 3 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 87138 byte(s)
Diff to previous 15114
From Axel:
fixes TTabCom's handling of dirs and executables.

Revision 15114 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 19 07:40:18 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/rint/src/TTabCom.cxx
File length: 87157 byte(s)
Diff to previous 15108
Fix some coding conventions violations

Revision 15108 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 21:23:27 2006 UTC (8 years, 8 months ago) by pcanal
Original Path: trunk/rint/src/TTabCom.cxx
File length: 86987 byte(s)
Diff to previous 15089
From Axel:
Append '/' to dirname (where dir is flags & 1), allow
.x dir/macro.C("file[TAB]
to be expanded properly (file is in ./, not in dir).

Revision 15089 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 05:00:42 2006 UTC (8 years, 8 months ago) by pcanal
Original Path: trunk/rint/src/TTabCom.cxx
File length: 87123 byte(s)
Diff to previous 14451
Slight parsing improvement to insure that the class registered with the autoloader are listed by the command line auto-completion

Revision 14451 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 28 16:35:00 2006 UTC (8 years, 9 months ago) by brun
Original Path: trunk/rint/src/TTabCom.cxx
File length: 86931 byte(s)
Diff to previous 14188
From Axel:
this is the patch for the beep suppression. With that, all beeps I found
are re-routed to TSystem::Beep, which checks whether it should really
beep, and then invokes virtual TSystem::DoBeep. TSystem checks what gEnv
says - if Root.System.BeepDuration for Root.System.BeepFreq is <0 it'll
silence all beeps. Otherwise these settings do what one would expect -
on windows (until someone implements TUnixSystem::DoBeep).

Revision 14188 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 6 21:59:30 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/rint/src/TTabCom.cxx
File length: 86949 byte(s)
Diff to previous 13987
avoid spurrious message in case of failure to lookup the class name

Revision 13987 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 3 21:55:39 2006 UTC (8 years, 11 months ago) by pcanal
Original Path: trunk/rint/src/TTabCom.cxx
File length: 86958 byte(s)
Diff to previous 13258
Update of spacing and documentation to match the coding rule

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/src/TTabCom.cxx
File length: 86960 byte(s)
Diff to previous 12869
White spaces and comments update

Revision 12869 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 29 09:15:53 2005 UTC (9 years, 3 months ago) by pcanal
Original Path: trunk/rint/src/TTabCom.cxx
File length: 86144 byte(s)
Diff to previous 12866
update comment

Revision 12866 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 29 08:27:58 2005 UTC (9 years, 3 months ago) by pcanal
Original Path: trunk/rint/src/TTabCom.cxx
File length: 86145 byte(s)
Diff to previous 12756
Repair: h->SetXTitle(a->GetTi<TAB>
Repair: h->SetXTitle(<TAB>
Add support for:  new ROOT::Math::Ax<TAB>
Add support for:  new ROOT::Math::AxisAngle<TAB>
Add support for:  h->GetXaxis()->SetTitle(<TAB>

In case of function with all parameters with default value,
do not close the paranthesis:
  gROOT->SetTit<TAB>
now gives
  gROOT->SetTitle(
and
  gROOT->SetTitle(<TAB>
gives:
  void SetTitle(const char* title = "")   // *MENU*

Revision 12756 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 18 23:09:35 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 85774 byte(s)
Diff to previous 12602
fix so that obj.Get<TAB> works again (after the changes of Frodo the . was
not recognized anymore, only ->).

Revision 12602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 3 02:26:31 2005 UTC (9 years, 4 months ago) by pcanal
Original Path: trunk/rint/src/TTabCom.cxx
File length: 85921 byte(s)
Diff to previous 12569
Fix to follow coding conventions

Revision 12569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 30 12:10:37 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/rint/src/TTabCom.cxx
File length: 85671 byte(s)
Diff to previous 12530
Changes to make the rulechecker happy in directory rint.

Revision 12530 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 24 21:04:29 2005 UTC (9 years, 5 months ago) by pcanal
Original Path: trunk/rint/src/TTabCom.cxx
File length: 85666 byte(s)
Diff to previous 12528
Add the lookup of the base class' method and data member in the new
recursive tab completion.
Re-enable the tab completion in case like: x = hpx->GetX<tab>

Revision 12528 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 24 12:52:09 2005 UTC (9 years, 5 months ago) by brun
Original Path: trunk/rint/src/TTabCom.cxx
File length: 85107 byte(s)
Diff to previous 12203
From Pedro Ramalhete:
Even though I use Eclipse most of the time to write my code because it has infinite recursiveness for members/prototypes/whatever, sometimes I feel the need for the tab completion in the root shell of things like:
class_a_ptr->GetVariable1ptr()->GetVar2Ptr()->[tab]
(this is specially nice in aliroot and na60root) so I decided to implement it in TTabCom!

Now, this is more a "proof of concept" than an actual feature addition, but hopefully it will help you guys to add the feature to the next root release ;)
All the things that I added/changed are marked with a comment starting with "// frodo" so they are easy to find.

Revision 12203 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 27 14:49:40 2005 UTC (9 years, 6 months ago) by brun
Original Path: trunk/rint/src/TTabCom.cxx
File length: 79737 byte(s)
Diff to previous 10460
From Bertrand Bellenot
Fix for a problem reported by Gordon Watts when running under Windows:
Apparently, tmpnam returns a temp name in the root directory,
instead of value of the TMP environment variable...(M$ bug ?)

Revision 10460 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 3 11:04:25 2004 UTC (10 years, 2 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 79690 byte(s)
Diff to previous 9815
allow tab expansion of functions in a namespace. TMath::<TAB> was not
working, now it is.

Revision 9815 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 21 09:33:40 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 79731 byte(s)
Diff to previous 9410
fix memory leak in Complete().

Revision 9410 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 16:34:31 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 75772 byte(s)
Diff to previous 9405
From Bertrand:
cleaner fix without ifdef for Win32.

Revision 9405 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 6 13:53:48 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 75919 byte(s)
Diff to previous 8107
From Bertrand:
fix for loop in file name expansion on Win32.

Revision 8107 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 2 17:14:35 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/rint/src/TTabCom.cxx
File length: 75806 byte(s)
Diff to previous 8105
Replace the non portable
 if (!file1.is_open())
by
if (!file1)

Revision 8105 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 2 15:32:57 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/rint/src/TTabCom.cxx
File length: 75845 byte(s)
Diff to previous 8061
From valeriy Onuchin:
console corruption is solved:
 - the problem was in cint/pause.c
   For stdout/stderr redirection "freopen" is used. At "freopen" the current
   stdout/stderr is closed. That causes console curruption.
   I replaced "freopen" with "fopen". The problem dissapeared.
- I replaced in TTabCom the calls like
   gROOT->ProcessLine(".class > somefile") with direct
   calls of CINT API, e.g.  G__display_class(fout,"",0,0)

long time at exit:
-  fixed according LIFO(last in first out) principle for releasing resources

Revision 8061 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 28 02:41:42 2004 UTC (10 years, 11 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 75737 byte(s)
Diff to previous 6692
add GetPathInfo() with Long_t size for backward compatability. This call
will print an Error in case the file is larger than 2 GB and the machine
has a long of 4 bytes.

Revision 6692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 09:09:42 2003 UTC (11 years, 7 months ago) by brun
Original Path: trunk/rint/src/TTabCom.cxx
File length: 75727 byte(s)
Diff to previous 6688
C compilation problem in function Hook on HP-UX/aCC with a double definition
of a loop index Int_t i
VS: ----------------------------------------------------------------------

Revision 6688 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 5 14:22:51 2003 UTC (11 years, 7 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 75718 byte(s)
Diff to previous 6302
added support for namespace expansion. By Artur Szostak.

Revision 6302 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 14 11:33:30 2003 UTC (11 years, 10 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 65827 byte(s)
Diff to previous 6129
mod by Bertrand to support file name exapnasion on the command line in Win32.

Revision 6129 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 14 19:05:45 2003 UTC (11 years, 11 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 65681 byte(s)
Diff to previous 5766
since AddAll() accepts now const TCollection* some casts are not needed
anymore.

Revision 5766 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 8 16:58:06 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 65918 byte(s)
Diff to previous 5021
small code layout correction.

Revision 5021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 29 09:20:26 2002 UTC (12 years, 5 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 65917 byte(s)
Diff to previous 4989
simplify strstream use in TTabCom and support new sstream standard C++
include (as found in gcc 3.1). Fix by Jiri Masik.

Revision 4989 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 19 08:29:00 2002 UTC (12 years, 6 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 65812 byte(s)
Diff to previous 4309
replace <strstream> by "Rstrstream.h".

Revision 4309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 4 10:11:13 2002 UTC (12 years, 9 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 65941 byte(s)
Diff to previous 3748
several changes to allow static linking of ROOT, Phat (the Phobos framework)
and Geant. Make some getline symbols unique, e.g. gl_tab_hook to Gl_tab_hook
and make some methods static. By Maarten.

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/rint/src/TTabCom.cxx
File length: 65941 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/rint/src/TTabCom.cxx
File length: 65939 byte(s)
Diff to previous 2894
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 2894 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 29 13:00:59 2001 UTC (13 years, 3 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 65926 byte(s)
Diff to previous 2439
some formatting cleanup (according to house style).

Revision 2439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 22 16:10:23 2001 UTC (13 years, 7 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 70911 byte(s)
Diff to previous 2409
make code more const char* correct (i.e. "strings" must be const char*) and
declare several functions extern "C". Mods by Dave Morrison.

Revision 2409 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 14 16:36:18 2001 UTC (13 years, 7 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 70902 byte(s)
Diff to previous 1521
fix regular experession for .x and .X to allow more then one space between
.x and file name.

Revision 1521 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 3 15:39:14 2001 UTC (13 years, 11 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 70900 byte(s)
Diff to previous 1266
also do file expansion for the CINT command .X and .E.

Revision 1266 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 20 17:36:52 2000 UTC (14 years, 1 month ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 70747 byte(s)
Diff to previous 1261
use special TClass ctor to be able to again do <TAB> expansion also for
interpreted classes.

Revision 1261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 19 19:27:14 2000 UTC (14 years, 1 month ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 70697 byte(s)
Diff to previous 856
use gROOT->GetClass() instead of creating and deleting a private TClass object.
This fixes the problem reported by Philippe.

Revision 856 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 31 12:23:57 2000 UTC (14 years, 2 months ago) by brun
Original Path: trunk/rint/src/TTabCom.cxx
File length: 70757 byte(s)
Diff to previous 370
Add a modification proposed by Jiri Masik to support the following type:
TH1F h("hh","",10,0.,1.)
hh->[TAB]

Revision 370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 18:51:05 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/rint/src/TTabCom.cxx
File length: 70707 byte(s)
Diff to previous 3
handle new CINT format when reporting class of object. Was "(myclass*)"
now "(myclass*const)". This confused the <TAB> expansion mechanism.
Reported by Jiri Masik.

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/src/TTabCom.cxx
File length: 70470 byte(s)
Copied from: branches/rdm/rint/src/TTabCom.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/rint/src/TTabCom.cxx
File length: 70470 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