[root] / trunk / core / base / inc / TUrl.h Repository:
ViewVC logotype

Log of /trunk/core/base/inc/TUrl.h

Parent Directory Parent Directory


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

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: 4606 byte(s)
Diff to previous 31537
in GetUrl() regenrate cached url depending if default port should be part or
url or not.

Revision 31537 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 3 16:45:40 2009 UTC (5 years, 1 month ago) by rdm
File length: 4514 byte(s)
Diff to previous 31531
Forgot an essential 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: 4498 byte(s)
Diff to previous 22961
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 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: 4179 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/inc/TUrl.h
File length: 4179 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/inc/TUrl.h
File length: 4088 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/inc/TUrl.h
File length: 4088 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/inc/TUrl.h
File length: 4132 byte(s)
Diff to previous 18181
remove :$ from tag line

Revision 18181 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 7 15:12:37 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/base/inc/TUrl.h
File length: 4142 byte(s)
Diff to previous 17900
From Gerri:
fFileOA needs to be reset when {fFile,fOptions,fAnchor} are updated,
otherwise GetFileAndOptions may return a wrong value (in the case
it has already been called once).

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/inc/TUrl.h
File length: 4101 byte(s)
Diff to previous 15504
correct cvs tag line to reflect package change of these files.

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/inc/TUrl.h
File length: 4100 byte(s)
Diff to previous 15161
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 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/inc/TUrl.h
File length: 4068 byte(s)
Diff to previous 15134
introduce new method SetUrl() which allow redefinition of a url object.

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/base/inc/TUrl.h
File length: 3993 byte(s)
Diff to previous 14890
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 14890 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 2 13:03:34 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/base/inc/TUrl.h
File length: 3880 byte(s)
Diff to previous 14880
From Jan:
fix in comment.

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/inc/TUrl.h
File length: 3911 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/inc/TUrl.h
File length: 3806 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/inc/TUrl.h
File length: 3774 byte(s)
Diff to previous 13894
From Jan:
Changing SetProtocol() to change also the port.
Making TUrl sortable.

Revision 13894 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 23 18:06:33 2006 UTC (9 years ago) by rdm
Original Path: trunk/base/inc/TUrl.h
File length: 3673 byte(s)
Diff to previous 13588
make default ctor public for I/O.

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/inc/TUrl.h
File length: 3672 byte(s)
Diff to previous 12632
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 12632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 4 15:36:31 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/base/inc/TUrl.h
File length: 3647 byte(s)
Diff to previous 11833
small correction in member comments.

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/inc/TUrl.h
File length: 3625 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/inc/TUrl.h
File length: 3598 byte(s)
Diff to previous 11527
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 11527 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 8 13:42:38 2005 UTC (9 years, 9 months ago) by rdm
Original Path: trunk/base/inc/TUrl.h
File length: 3494 byte(s)
Diff to previous 10587
make GetSpecialProtocols() public.

Revision 10587 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 22 16:41:56 2004 UTC (10 years, 2 months ago) by rdm
Original Path: trunk/base/inc/TUrl.h
File length: 3494 byte(s)
Diff to previous 8214
From Maarten:
Inspired by the need to set the port on 10000 url's I extended
the TUrl class.
All the components can be set or replaced and GetUrl() will generate
the new URL.

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/inc/TUrl.h
File length: 2916 byte(s)
Diff to previous 5477
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 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/inc/TUrl.h
File length: 2799 byte(s)
Diff to previous 1205
add support for username and passwd embedded in url according to W3C specs.

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/inc/TUrl.h
File length: 2547 byte(s)
Diff to previous 3
      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 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/inc/TUrl.h
File length: 2491 byte(s)
Copied from: branches/unlabeled-1.1.1/base/inc/TUrl.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/unlabeled-1.1.1/base/inc/TUrl.h
File length: 2491 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