beagle r3569 - in branches/beagle-0.2.16: Filters Util



Author: joeshaw
Date: 2007-03-15 20:08:03 +0000 (Thu, 15 Mar 2007)
New Revision: 3569
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3569&view=rev

Modified:
   branches/beagle-0.2.16/Filters/FilterArchive.cs
   branches/beagle-0.2.16/Util/FileSystem.cs
Log:
Merge in a lot of archive filter fixes.

r3496 | joeshaw | 2007-02-23 13:43:41 -0500 (Fri, 23 Feb 2007) | 6 lines
Uri.ToString() doesn't print out escaped versions of the URI, so don't
pass in the "escaped" flag to the Uri constructor in the archive filter.
This fixes serialization exceptions for non-ASCII files in archives.

r3498 | joeshaw | 2007-02-23 16:11:40 -0500 (Fri, 23 Feb 2007) | 5 lines
Cut-and-paste Path.GetTempFileName() from System.IO but have it take an
extension argument so that we can do extension-based MIME sniffing on
our temporary files correctly.  (Mainly needed for things like Word
documents inside archives.)

r3502 | dbera | 2007-02-24 15:31:21 -0500 (Sat, 24 Feb 2007) | 3 lines
FilterArchive.cs: Add a comment explaining a potential problem in
constructing correct Uri for embedded files.

r3529 | dbera | 2007-03-04 13:11:48 -0500 (Sun, 04 Mar 2007) | 2 lines
Fix a crash when a bz2 or gzip archive contains a large file.

r3539 | dbera | 2007-03-07 10:29:02 -0500 (Wed, 07 Mar 2007) | 3 lines
* FilterArchive.cs: Check if the included file was actually extracted
before determining its mimetype.

r3540 | dbera | 2007-03-07 10:36:01 -0500 (Wed, 07 Mar 2007) | 2 lines
Addendum to r3539.

r3543 | dbera | 2007-03-09 21:31:06 -0500 (Fri, 09 Mar 2007) | 2 lines
* FilterArchive.cs: Catch GetNextEntry*() exceptions. Fixes #415056.
Most SharpZLib methods are broken and can throw exceptions even for
valid files. Anyone listening ???

r3555 | joeshaw | 2007-03-12 16:29:59 -0400 (Mon, 12 Mar 2007) | 6 lines
When writing out temp files with an extension, add special cases for
.tar.gz and .tar.bz2 so that we don't add an extra layer of processing
(first the compression, then the tar file) and instead handle both at
the same time.

r3557 | joeshaw | 2007-03-12 16:52:28 -0400 (Mon, 12 Mar 2007) | 4 lines
Remove anonymous delegates and move exception handling into a single
method; log errors we hit when trying to extract files.







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]