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

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

Parent Directory Parent Directory


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

Revision 48058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 15 14:47:41 2012 UTC (2 years, 1 month ago) by rdm
File length: 19594 byte(s)
Diff to previous 41327
From Dario:
preparation for the introduction of the new TDataSetManagerAliEn. Also fixes
TUrl issues 99374.

Revision 41327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 11 10:40:18 2011 UTC (3 years, 3 months ago) by rdm
File length: 19552 byte(s)
Diff to previous 41312
From Alejandro Alvarez Ayllon:
I asked some time ago about HTTPS support in ROOT, and there is none.
So after finding some time, I have written a TSSLSocket class that is
used by TWebFile to access files through HTTPS.

We want this feature to be available as we are developing - actually it 
is in a quite advanced state already - a WebDAV endpoint for DPM servers.
And proxy/user certificates are needed to authenticate the client.

Revision 41312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 10 15:29:32 2011 UTC (3 years, 3 months ago) by rdm
File length: 19422 byte(s)
Diff to previous 41240
fix other small issue with @.

Revision 41240 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 16:59:07 2011 UTC (3 years, 3 months ago) by rdm
File length: 19416 byte(s)
Diff to previous 40141
fix issue with @ being used in the options part of the url.

Revision 40141 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 6 13:01:40 2011 UTC (3 years, 6 months ago) by rdm
File length: 19379 byte(s)
Diff to previous 37531
allow url of form: "proto://".

Revision 37531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 10 20:38:06 2010 UTC (4 years, 1 month ago) by pcanal
File length: 19454 byte(s)
Diff to previous 34384
Fix several memory leaks (TSchemaRuleSet, TClass, TFolder, stress, TStreamerInfo, TFile, TFree)

Introduce a new preprocessor symbol (R__COMPLETE_MEM_TERMINATION) that allows for
better tracking of memory leak.   When ROOT is compiled with this symbols is defined,
globally held objects will be deleted at the time of the process termination.

With this symbol defined, some tests (root.exe -b -l -q ; test/stress ;) run under
'valgrind --leak-check=yes' with no memory leak reports (but still a few still
reacheable blocks).   However, this does not yet support (i.e. segfault at termination) 
the case where TFunctions are created on the 'CINT' stack (and thus fails roottest) and
some uses of CINT functions for fitting ...  and probably also fails on Windows.

Revision 34384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 12 16:15:48 2010 UTC (4 years, 6 months ago) by rdm
File length: 18800 byte(s)
Diff to previous 33098
make TUrl multi-thread safe. Fixes issue 68325.

Revision 33098 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 19 22:54:51 2010 UTC (4 years, 9 months ago) by rdm
File length: 18533 byte(s)
Diff to previous 31538
in GetUrl() regenrate cached url depending if default port should be part or
url or not.

Revision 31538 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 3 16:50:10 2009 UTC (5 years, 1 month ago) by rdm
File length: 18241 byte(s)
Diff to previous 31531
correct location of fOptionsMap initialization.

Revision 31531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 3 15:50:33 2009 UTC (5 years, 1 month ago) by rdm
File length: 18153 byte(s)
Diff to previous 24778
From Andreas and me:
- added a new function, which is never called inside TUrl to remove '..'
  from paths. This cannot have a side effect. User must call it to remove
  ..'s from paths.
- new functionality to TUrl, which is a very simple way to get options from
  the URL. It simplifies life a lot. You can do:
    TUrl url("root://.....?file.readaheadsize=10");
    const char *val = url.GetValueFromOptions("file.readaheadsize");
    Int_t readahead = url.GetIntValueFromOptions("file.readaheadsize");

Revision 24778 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 10 22:59:38 2008 UTC (6 years, 6 months ago) by rdm
File length: 15609 byte(s)
Diff to previous 22961
remove tests on "UnNamedHost" which are not needed anymore.

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

Revision 22301 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 24 15:04:36 2008 UTC (6 years, 11 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 15698 byte(s)
Diff to previous 20877
From Gerri:
as obtaining a FQDN is an expensive operation (requires a call to a DNS) we
cache the result in a THashList.

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/TUrl.cxx
File length: 15214 byte(s)
Diff to previous 19826
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 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/TUrl.cxx
File length: 15214 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/TUrl.cxx
File length: 15260 byte(s)
Diff to previous 18159
remove :$ from tag line

Revision 18159 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 14:28:43 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 15270 byte(s)
Diff to previous 17900
From Gerri:
use GetEntryFast() i.s.o. GetEntry() in the loops over the special protocols
in TUrl. This reduces by about a factor 4 the time spent in these loops ...

Revision 17900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 12 14:56:12 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 15254 byte(s)
Diff to previous 17481
correct cvs tag line to reflect package change of these files.

Revision 17481 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 24 00:54:23 2007 UTC (8 years ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 15253 byte(s)
Diff to previous 15504
make malformed url error message more explicit.

Revision 15504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 13:09:26 2006 UTC (8 years, 7 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 15246 byte(s)
Diff to previous 15356
don't strip multiple slashes from file names in case of "special" url's like:
"gfal:srm://host/file.root" where "srm://host/file.root" is returned as
file and the // should not be removed.

Revision 15356 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 7 09:10:53 2006 UTC (8 years, 7 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 15151 byte(s)
Diff to previous 15161
From Andreas:
The convention says, if no host is present, you remove one of the slashes.

We were using:		alien:///alice/cern.ch/...
		or	/alien/alice/cern.ch

While the new URL class recognizes only
			alien:////alice/cern.ch/...

The patch produces one slash less, if no host:port is present and removes
all // in the file paths.

Revision 15161 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 24 12:21:52 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 15027 byte(s)
Diff to previous 15083
introduce new method SetUrl() which allow redefinition of a url object.

Revision 15083 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 17 17:11:49 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 14083 byte(s)
Diff to previous 15002
Fix check for Win32 file containing drive letter.

Revision 15002 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 11 16:14:31 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 14135 byte(s)
Diff to previous 14883
- In case a URL starts with a / consider it to be a file URL (independent
  of the defaultIsFile flag).
- Fix http URL in case only host is specified, GetFile() was returning /.

Revision 14883 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 1 20:11:19 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 14286 byte(s)
Diff to previous 14880
GetHostFQDN() returns GetHost() in case address resolution failed.

Revision 14880 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 1 16:34:00 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 14248 byte(s)
Diff to previous 14374
GetFile() does not return leading '/' which is not part of filename but
separator between host and path.
The option and anchors can be empty, i.e. ?#.
The anchor should come as last as per URI specs.
New method GetHostFQDN() that returns the fully qualified name of the host.

Revision 14374 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 22 15:03:09 2006 UTC (8 years, 10 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 13298 byte(s)
Diff to previous 14353
From Gerri:
add option to set default port number when setting protocol via SetProtocol().

Revision 14353 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 21 14:53:33 2006 UTC (8 years, 10 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 13189 byte(s)
Diff to previous 13588
From Jan:
Changing SetProtocol() to change also the port.
Making TUrl sortable.

Revision 13588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 15:12:19 2005 UTC (9 years, 1 month ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 12615 byte(s)
Diff to previous 12629
From Gerri:
some small mods that prepare the ground for the new PROOF patch:
- TMessage.h, TMonitor.h: add friendship to new socket classes
- TSemaphose: support relative timeout in Wait()
- TUrl: in GetUrl() add option to also get default port numbers as part
        of the url.

Revision 12629 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 4 15:16:12 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/base/src/TUrl.cxx
File length: 12474 byte(s)
Diff to previous 11915
Fix coding conventions violations.

Revision 11915 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 31 13:28:00 2005 UTC (9 years, 7 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 12466 byte(s)
Diff to previous 11833
GetUrl() returns correct syntax in case of special protocols like file:.
Before it was: file:/user/rdm/file.root, now file:///user/rdm/file.root.
Note, both forms were and are allowed as valid URL input strings.

Revision 11833 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 20 10:02:45 2005 UTC (9 years, 8 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 12364 byte(s)
Diff to previous 11777
generalized support for file namespaces like /castor/... and /alien/...,
where some need the namespace prefix stripped off to get the real
filesname (alien) and some not (castor), this can be specified in the
.rootrc file (see example there).

Revision 11777 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 12 12:40:53 2005 UTC (9 years, 8 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 11393 byte(s)
Diff to previous 9545
From Andreas:
added support for file namespaces, like: /alien/user/rdm/bla.root, which
will be split in protocol=alien, file=/user/rdm/bla.root. Special
namespaces like /alien/ are added via [system].rootrc. This also allows us to
directly support filenames like /castor/cern.ch/... instead of
castor:/castor/cern.ch/...

Revision 9545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 19 09:43:58 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 10672 byte(s)
Diff to previous 8319
handle correctly anchors (i.e. text after #) in file (rfio, dcache, etc.)
url so that archive files also work for the protocols.

Revision 8319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 2 13:03:31 2004 UTC (10 years, 10 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 10370 byte(s)
Diff to previous 8214
from Maarten:
forgot to copy fUser and fPasswd in copy ctor and assignment operator.

Revision 8214 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 16 22:49:19 2004 UTC (10 years, 11 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 10256 byte(s)
Diff to previous 7697
remove magic special protocol strings from TUrl.cxx and put them in
system.rootrc under the key: Url.Special. This allows for easy extension
of the TUrl parser to handle other URLs that have only a protocol and a file
part, like: aap:/path/file.root, for which the rootrc extension would be:
+Url.Special:  aap:

Revision 7697 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 5 01:52:05 2003 UTC (11 years, 1 month ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 9787 byte(s)
Diff to previous 7591
add special cases for dcache and dcap protocols.

Revision 7591 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 13 17:55:21 2003 UTC (11 years, 2 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 9306 byte(s)
Diff to previous 7582
for the special protocols: file, rfio, hpss and castor also support the
valid notation: file:///user/file.

Revision 7582 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 13 15:15:11 2003 UTC (11 years, 2 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 9010 byte(s)
Diff to previous 7310
From Andreas Peters:
updated TGrid and related classes, and updated TAlien plugin for the AliEN grid.
To build the TAlien plugin one needs to install the AliEn client API lib.
How the basic TGrid class works with AliEn is described in the file
README/README.ALIEN.
Also provided is a Grid/AliEn controlled distribtution and startup system
for PROOF. This uses the TGridProof/TAlienProof classes and the LFN/PFN
information in the TDSet to find the AliEn sites where the data resides.
On these sites PROOF daemons (proofd) are started by AliEn (using an
interactive submission queue). Once the proofd's are running standard
PROOF is started which then connects to these proofd's. After that the
user performs his analysis, like on a local PROOF cluster.

Revision 7310 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 21 21:38:31 2003 UTC (11 years, 4 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 8922 byte(s)
Diff to previous 6823
New TCastorFile: a TCastorFile is like a normal TNetFile except that it
obtains the remote node (disk server) via the CASTOR API, once the
disk server and the local file path are determined, the file will be
accessed via the rootd daemon. File names have to be specified like:
    castor:/castor/cern.ch/user/r/rdm/bla.root
The patch level of libshift should be at least 1.5.x (which is the one
installed on all CERN machines in /usr/local).
The CASTOR HSM interface code is provided by Jean-Damien Durand of the
CASTOR team.

Revision 6823 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 4 13:26:34 2003 UTC (11 years, 6 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 8721 byte(s)
Diff to previous 6182
in GetUrl() also add port number in case of non-predefined protocols and
port is not 0.

Revision 6182 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 25 17:21:42 2003 UTC (11 years, 11 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 8695 byte(s)
Diff to previous 5483
add special case for windows in case defaultIsFile is true. Windows file
names can have a :/ in the path, like c:/data/file.root.

Revision 5483 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 25 06:04:53 2002 UTC (12 years, 3 months ago) by brun
Original Path: trunk/base/src/TUrl.cxx
File length: 8590 byte(s)
Diff to previous 5477
Fix fatal compilation errors

Revision 5477 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 25 00:19:59 2002 UTC (12 years, 3 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 8596 byte(s)
Diff to previous 4565
add support for username and passwd embedded in url according to W3C specs.

Revision 4565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 18 08:43:30 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/base/src/TUrl.cxx
File length: 7127 byte(s)
Diff to previous 4210
Add explicit calls to the base classes copy constructors in the copy constructors.
This is required by gcc on MacOS X

Revision 4210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 20 18:54:57 2002 UTC (12 years, 10 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 7113 byte(s)
Diff to previous 1205
add cases for Kerberos5 authentication. In particular the default authentication
method for rootd and proofd can now be set in system.rootrc. The default is
clear text passwd, but SRP and Krb5 can be specified. The default is used when
"root:" or "proof:" appears in the url. The default can be overridden by
specifying explicitely "roots:" or "rootk:", idem for proof.

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/TUrl.cxx
File length: 7179 byte(s)
Diff to previous 1106
      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 1106 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 2 15:51:07 2000 UTC (14 years, 1 month ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 7158 byte(s)
Diff to previous 409
added proof and proofs as special protocols, including the proof port number.

Revision 409 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 29 11:04:37 2000 UTC (14 years, 5 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 6669 byte(s)
Diff to previous 103
to use secure password authentication you now have to specify "roots" as
protocol. Using "root" will use the standard method. Also updated the
web page http://root.cern.ch/root/NetFile.html to clearly describe the
different authentication methods.

Revision 103 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 11 12:08:30 2000 UTC (14 years, 7 months ago) by rdm
Original Path: trunk/base/src/TUrl.cxx
File length: 6576 byte(s)
Diff to previous 3
use for rootd now the official port number 1094

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/TUrl.cxx
File length: 6451 byte(s)
Copied from: branches/unlabeled-1.1.1/base/src/TUrl.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/unlabeled-1.1.1/base/src/TUrl.cxx
File length: 6451 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