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

Log of /trunk/core/base/src/TEnv.cxx

Parent Directory Parent Directory


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

Revision 48034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 14 09:53:28 2012 UTC (2 years, 1 month ago) by couet
File length: 24122 byte(s)
Diff to previous 37323
doc update

Revision 37323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 6 11:02:44 2010 UTC (4 years, 1 month ago) by rdm
File length: 23897 byte(s)
Diff to previous 36240
on iOS etc does not exist and system<name> resides in $ROOTSYS.

Revision 36240 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 10 09:17:13 2010 UTC (4 years, 3 months ago) by brun
File length: 23724 byte(s)
Diff to previous 35179
use strlcat

Revision 35179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 7 08:27:19 2010 UTC (4 years, 4 months ago) by rdm
File length: 23691 byte(s)
Diff to previous 29398
coverity.

Revision 29398 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 8 12:52:29 2009 UTC (5 years, 6 months ago) by rdm
File length: 23684 byte(s)
Diff to previous 27132
Add support for skipping the reading of the $HOME/<name> resource file.
To do this set the shell variable ROOTENV_NO_HOME=1. This might be useful
in case the home directory resides on an automounted remote file
system and one wants to avoid this file system from being mounted.
Fixes issue #52551.

Revision 27132 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 13 16:08:47 2009 UTC (6 years ago) by rdm
File length: 22911 byte(s)
Diff to previous 22961
From Philippe:
use TString::Clear() to reuse some strings without resizing them.

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

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/TEnv.cxx
File length: 22904 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/base/src/TEnv.cxx
File length: 22904 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/TEnv.cxx
File length: 22933 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/TEnv.cxx
File length: 22979 byte(s)
Diff to previous 19344
remove :$ from tag line

Revision 19344 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 16 07:56:53 2007 UTC (7 years, 6 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22989 byte(s)
Diff to previous 19169
comment.

Revision 19169 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 25 15:34:00 2007 UTC (7 years, 7 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22951 byte(s)
Diff to previous 18153
Add new method IgnoreDuplicates(Bool_t ignore). When set any duplicate
entries will be silently ignored, instead of producing a warning message.
This is used when loading rootmap files from the LD_LIBRARY_PATH.

Revision 18153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 10:42:24 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 23097 byte(s)
Diff to previous 17363
don't issue a warning in case of duplicate resources where the resource
and value are exactly the same. Fixes bug 24157.

Revision 17363 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 14:41:49 2007 UTC (8 years ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 23068 byte(s)
Diff to previous 16796
avoid reading ./.rootrc twice in case the workingdirectory is ~.

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/TEnv.cxx
File length: 22981 byte(s)
Diff to previous 14566
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 14566 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 6 13:47:57 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22974 byte(s)
Diff to previous 14424
From Axel:
This patch reduces "root.exe -l -b -q example.C" from 9G instructions
to 2.7G instructions.

Modifications:
TROOT: classes, types, globals, global funcs, funcs, class generators
       are now TCollections, not TSeqCollections. fClasses, fGlobals,
       fGlobalFunctions, fTypes are now THashTables, not THashLists. Remove now
       happens instantaneously.
TEnv: pre-alloc string for parsing

Revision 14424 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 27 09:53:44 2006 UTC (8 years, 10 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22934 byte(s)
Diff to previous 14159
From Bertrand:
close the file at the end of TEnv::WriteFile().

Revision 14159 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 3 09:48:19 2006 UTC (8 years, 10 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22915 byte(s)
Diff to previous 14129
- ReadFile() and WriteFile() now return an int (0 = success, -1 = failure).
- Added protections in case the fTable is 0 (when default ctor is used).

Revision 14129 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 1 12:07:24 2006 UTC (8 years, 10 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22279 byte(s)
Diff to previous 13957
Allow TEnv to be created without specifying a file name. When adding
resources (SetValue()) the resource record table will be automatically created.
This mode can be used to write the resources using WriteFile(filename).

Revision 13957 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 31 11:21:54 2006 UTC (8 years, 11 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22045 byte(s)
Diff to previous 13900
New method WriteFile() to write the env records to the specifed file.
Some general cleanup (removed several fixed length char arrays).

Revision 13900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 23 21:50:26 2006 UTC (9 years ago) by brun
Original Path: trunk/base/src/TEnv.cxx
File length: 21357 byte(s)
Diff to previous 13192
Implement some suggestions from Thomas Bretz
- TEnv::SetValue crashes if TEnv was created with default constructor
- Implement TEnv::GetRcName
- Set TEnv streamable (Class version set to 1 instead of 0)
- Set TEnvRec streamable (Class version set to 1) no ClassDef before
- Add a public default constructor to TEncRec
- Fix typo in TEnv::GetValue

Revision 13192 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 11 09:24:24 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 21333 byte(s)
Diff to previous 12680
From Otto Schaile:
better preserve floating point env variable precision.

Revision 12680 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 7 15:57:36 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 21334 byte(s)
Diff to previous 12617
check on 0 filename ptr.

Revision 12617 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 4 09:26:56 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/base/src/TEnv.cxx
File length: 21328 byte(s)
Diff to previous 12017
Fix coding conventions violation.

Revision 12017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 10 22:28:51 2005 UTC (9 years, 7 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 21326 byte(s)
Diff to previous 11523
use THashList instead of TOrdCollection. This removes the large contribution
of TEnv::GetValue() from the ROOT startup.

Revision 11523 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 7 14:43:35 2005 UTC (9 years, 9 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 21276 byte(s)
Diff to previous 10656
Fix many warnings generated by the latest gcc 4.0 about classes with
virtual functions (all classes having a ClassDef) that did not have a
virtual dtor.

Revision 10656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 1 13:11:01 2004 UTC (10 years, 1 month ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 21247 byte(s)
Diff to previous 9090
From Thomas Bretz:
strip <CR> chars from a resource file. This can happen when the file
was edited with a Windows editor.

Revision 9090 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 2 14:06:42 2004 UTC (10 years, 7 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 21190 byte(s)
Diff to previous 9084
use TString in GetValue() instead of sprintf on fixed length buffer.
Malicious users could pass a very large name as argument and write outside
the fixed buffer.

Revision 9084 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 2 08:42:18 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/base/src/TEnv.cxx
File length: 21105 byte(s)
Diff to previous 8712
Reimplement TEnv::Getvalue without using Form.
TEnv::Getvalue is being called in many places and generates many recursive
calls to Form, spoiling the internal static buffer in TString.cxx.
This solves a problem reported by Gene Van Buren.

Revision 8712 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 27 13:13:23 2004 UTC (10 years, 8 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 20874 byte(s)
Diff to previous 6855
add some more getters to TEnvRec.

Revision 6855 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 8 09:47:25 2003 UTC (11 years, 6 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 20888 byte(s)
Diff to previous 5513
changed resources are saved to the level that is first called, e.g.:

gEnv->SetValue("Gui.ForegroundColor=grey")
gEnv->SaveLevel(kEnvUser)

saves this resource in the ~/.rootrc file. Saving to kEnvLocal would
write to the file ./.rootrc and to kEnvGlobal to $ROOTSYS/etc/system.rootrc
(when the user has the permission).

Revision 5513 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 30 16:12:58 2002 UTC (12 years, 2 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 20867 byte(s)
Diff to previous 5146
fix in Save() so new values created at run time can be correctly saved.
Patch by Nathaniel Tagg (Oxford, Minos).

Revision 5146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 18 17:43:48 2002 UTC (12 years, 5 months ago) by brun
Original Path: trunk/base/src/TEnv.cxx
File length: 20043 byte(s)
Diff to previous 4988
Protect TEnv::GetValue in case the DTORs of `TSystem' and `TUnixSystem' is called
before `__do_global_dtors_aux' (thanks Christian Holm Christensen)

Revision 4988 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 19 08:28:32 2002 UTC (12 years, 6 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 19966 byte(s)
Diff to previous 3788
remove <strstream>, not used anymore.

Revision 3788 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 27 13:41:33 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 20118 byte(s)
Diff to previous 3753
Large cleanup of TEnv, removal of some very old redundant code, update
of class description and new feature of optional + in front of the resource
name to allow the concatenation of resource values for the same resource.

Revision 3753 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 25 11:21:57 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22763 byte(s)
Diff to previous 2850
one more strstream[.h] fixup.

Revision 2850 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 25 16:16:21 2001 UTC (13 years, 4 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22815 byte(s)
Diff to previous 2775
added reference to MemCheck in comment.

Revision 2775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 31 17:47:12 2001 UTC (13 years, 4 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22740 byte(s)
Diff to previous 2049
protection against modifying constant string.

Revision 2049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 23 08:33:09 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22674 byte(s)
Diff to previous 2047
remove gSystemName, use instead gSystem->GetName().

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/TEnv.cxx
File length: 22652 byte(s)
Diff to previous 1777
Remove global gRootName (gROOT->GetName() may be used instead).

Revision 1777 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 8 20:17:28 2001 UTC (13 years, 10 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22620 byte(s)
Diff to previous 1205
system.rootrc in now in $ROOTSYS/etc and not anymore in $ROOTSYS (however,
for backward compatibility we still check $ROOTSYS if we don't find anything
in $ROOTSYS/etc).

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/base/src/TEnv.cxx
File length: 22210 byte(s)
Diff to previous 238
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

Revision 238 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 16 17:08:11 2000 UTC (14 years, 7 months ago) by rdm
Original Path: trunk/base/src/TEnv.cxx
File length: 22190 byte(s)
Diff to previous 3
provide also: double GetValue(const char*,double)

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/TEnv.cxx
File length: 21670 byte(s)
Copied from: branches/rdm/base/src/TEnv.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/TEnv.cxx
File length: 21670 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