[root] / trunk / io / io / src / TZIPFile.cxx Repository:
ViewVC logotype

Log of /trunk/io/io/src/TZIPFile.cxx

Parent Directory Parent Directory


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

Revision 39924 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 23 23:07:11 2011 UTC (3 years, 7 months ago) by rdm
File length: 24220 byte(s)
Diff to previous 39381
mention on zip64 support.

Revision 39381 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 25 20:36:50 2011 UTC (3 years, 8 months ago) by rdm
File length: 24070 byte(s)
Diff to previous 34257
add support for Zip64 ZIP files, which can contain files > 2GB.

Revision 34257 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 06:45:22 2010 UTC (4 years, 6 months ago) by brun
File length: 18833 byte(s)
Diff to previous 32857
Fix format

Revision 32857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 31 14:59:33 2010 UTC (4 years, 9 months ago) by rdm
File length: 18833 byte(s)
Diff to previous 26606
check for file sizes up to kMaxUInt, was kMaxInt, as ZIP supports up to 4GB
files. For larges we have to add support for ZIP64.

Revision 26606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 2 20:36:09 2008 UTC (6 years, 1 month ago) by pcanal
File length: 18831 byte(s)
Diff to previous 23122
Following Igor Smirnov analysis fix several memory leaks, add checks for null pointer dereference, fix or add copy constructor and assignment operator when applicable, make the copy constructor and assignment operator private when the objects are not intended to be copiable.

Revision 23122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 14:56:30 2008 UTC (6 years, 9 months ago) by rdm
File length: 18727 byte(s)
Copied from: trunk/io/src/TZIPFile.cxx revision 23121
Diff to previous 20882
move the following directories into "io":

castor, chrip, dcache, gfal, io, rfio, sql, xml

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/io/src/TZIPFile.cxx
File length: 18727 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/io/src/TZIPFile.cxx
File length: 18727 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/io/src/TZIPFile.cxx
File length: 18777 byte(s)
Diff to previous 17819
remove :$ from tag line

Revision 17819 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 9 10:16:07 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/io/src/TZIPFile.cxx
File length: 18787 byte(s)
Diff to previous 17306
correct cvs ident line (base/cont/meta -> io).

Revision 17306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 16:03:17 2007 UTC (8 years ago) by brun
Original Path: trunk/io/src/TZIPFile.cxx
File length: 18789 byte(s)
Diff to previous 17299
   TMath::Abs, TMath::Min, TMath::Max, TMath::Sign, TMath::Range
These functions are unfortunately not defined in a standard way in std::

This include is referenced by a new version of TMath.h.
As a result, TMath.h is back compatible with the previous version.

TMathBase.h is used in place of TMath.h in all the classes
that will go into the future miniCore library.
TMath.h and the TMath implementation will go into a new math sub-directory.

TString.h uses TMathBase.h instead of TMath.h.
As a result, it was necessary to include "TMath.h" in some classes
assuming that TMath was included via TString and using other functions
than the ones defined in TMathBase.h
 ----------------------------------------------------------------------

Revision 17299 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 10:20:08 2007 UTC (8 years ago) by brun
Original Path: trunk/io/src/TZIPFile.cxx
File length: 18782 byte(s)
Diff to previous 11804
Replace "TMath.h" by <cmath> and calls to
  TMath::Sqrt by sqrt
  TMath::Abs by std::abs
  TMath::Min by std::min
  TMath::Max by std::max

Revision 11804 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 16 21:40:30 2005 UTC (9 years, 8 months ago) by rdm
Original Path: trunk/io/src/TZIPFile.cxx
File length: 18807 byte(s)
Diff to previous 10187
fix in TZIPMember::Print(), print was wrong due to some issue with VC++,
now Win and Unix print exact same output.

Revision 10187 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 30 10:14:30 2004 UTC (10 years, 3 months ago) by rdm
Original Path: trunk/io/src/TZIPFile.cxx
File length: 18646 byte(s)
Diff to previous 9544
cosmetics.

Revision 9544 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 19 09:42:41 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/io/src/TZIPFile.cxx
File length: 18659 byte(s)
Diff to previous 9421
small typo in method description.

Revision 9421 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 8 00:19:59 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/io/src/TZIPFile.cxx
File length: 18659 byte(s)
Diff to previous 9420
used accidentally fArchiveName instead of fArchiveName.Data() in Info()
statements.

Revision 9420 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Jul 7 23:25:33 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/io/src/TZIPFile.cxx
File length: 18495 byte(s)
two new classes to read archive files. TArchiveFile is an abstract class
which uses the plugin manager to load a concrete archive reader. Currently
the TZIPFile class provides a ZIP archive reader. One can also imagine a
TTARFile to read tar files. We advice however to use ZIP archives since they
allow direct access to all its members via a directory structure which
is part of the file. The archive file access has been integrated into TFile
which also functions as byte reader to access the archive. This has the
enormous benefit that archives can be accessed using all the existing
remote file access classes, like TNetFile, TRFIOFile, TCastorFile, etc.

When creating ZIP files containing ROOT files make sure that the ROOT files
are not compressed since normally they are already ZIP compressed. on Linux
one can create a ZIP archive doing:

    zip -n root multi file1.root file2.root file3.root ...

which creates the archive multi.zip, with all files ending with .root
not compressed.

The ROOT files in an archive can be simply accessed like this:

    TFile *f = TFile::Open("multi.zip#file2.root")
or
    TFile *f = TFile::Open("root://pcsalo/multi.zip#2")

where the second form opens the 3rd ROOT file in the archive via rootd.

A TFile can also be used to just browse an archive file, like:

     TFile *f = TFile::Open("multi.zip")
     f->GetArchive->Print()

A TBrowser interface will follow shortly.

The core ZIP reading code has been kindly provided by Lassi Tuura.

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