After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 343419 - New module: zip method
New module: zip method
Status: RESOLVED INCOMPLETE
Product: gnome-vfs
Classification: Deprecated
Component: Module: (compression/archiving)
2.15.x
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-30 17:32 UTC by Christian Neumair
Modified: 2010-05-13 17:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Proposed (unfinished) implementation (69.20 KB, patch)
2006-05-30 17:33 UTC, Christian Neumair
reviewed Details | Review
small bug fix to the original patch (1.26 KB, patch)
2006-06-01 08:48 UTC, Ken Ishii
none Details | Review

Description Christian Neumair 2006-05-30 17:32:58 UTC
I announced some weeks ago that I was working on a ZIP method, but I don't have time to finish it ATM so I'm attaching it as a work basis for others. Some more advanced features like Zip64 are not implemented, and the zip file information is not removed from the hash table as the file properties change, and the cache is never auto-freed before module shutdown.
Comment 1 Christian Neumair 2006-05-30 17:33:42 UTC
Created attachment 66483 [details] [review]
Proposed (unfinished) implementation
Comment 2 Jody Goldberg 2006-05-31 15:51:03 UTC
There is code to handle zips in libgsf which could be used here.
It may be easier to just do a libgsf wrapper for gnome-vfs so that OLE2 files could also be supported.
Comment 3 Ken Ishii 2006-06-01 08:48:12 UTC
Created attachment 66586 [details] [review]
small bug fix to the original patch

Since there seems to be no other appropriate place, I'm posting some bugs I noticed along with a patch to fix them:

1. In do_open_directory(): zip_file_ref() is redundant; refcount is already at 2 upon successful completion of lookup_or_create_file().

2. In zip_file_entry_nodes_traverse_free(): g_free'ing the GNode in here leads to a memory error. Instead, call g_node_destroy() after g_node_traverse() in zip_file_unref().
Comment 4 André Klapper 2010-03-27 17:04:49 UTC
gnome-vfs is not actively developed anymore and has been replaced by gvfs.

Is this still valid in a recent GNOME version (2.28 or 2.30) which uses gvfs?

If this is still an issue for gvfs please file a new bug report against gvfs with good steps to reproduce, or move this existing report to the product gvfs.
If this is not an issue anymore in a recent GNOME version, please close this report as RESOLVED OBSOLETE.
Comment 5 Tobias Mueller 2010-05-13 17:52:25 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!