2008-07-21 Paolo Bacchilega [ File Roller 2.23.4 released ] * NEWS: updated. 2008-07-21 Paolo Bacchilega * src/preferences.h: * src/dlg-batch-add.c: * data/file-roller.schemas: Save and restore the volume size. 2008-07-21 Paolo Bacchilega * src/fr-process.h: * src/fr-process.c: New function: fr_process_add_arg_printf * src/fr-command-tar.c: * src/fr-command-rar.c: * src/fr-command-7z.c: Fixed command line arguments for listfiles. * src/fr-command-7z.c: Read the entry attribute to detect directories. * src/typedefs.h: * src/fr-window.c: * src/fr-command.c: * src/fr-archive.h: * src/fr-archive.c: * src/dlg-batch-add.c: * data/glade/batch-add-files.glade: Added ability to create multi-volume archives. 2008-07-21 Paolo Bacchilega * TODO: updated * src/fr-window.c: disable progress log. * src/fr-command-*.c: * src/fr-command.h: * src/fr-command.c: * src/fr-archive.c: Added ability to specify the file list in a file, for the commands that support this option. This is usefull to avoid to execute a command multiple times when the file list is too long to pass it to the command line at once. 2008-07-20 Paolo Bacchilega * TODO: updated. * src/fr-command-7z.c: add a -- to signal the end of the switches. Implemented extact progress to add and extract. Part of the bug #153281 – Progress bar should be exact * src/fr-archive.c: do not add the backup files, that is files ending with ~, to the archive. 2008-07-20 Paolo Bacchilega * configure.ac: * src/typedefs.h: * src/Makefile.am: Register FrCompression enum in the gobject type system, because it's used as a property. * src/gtk-utils.c: removed unused function. * src/fr-window.h: * src/fr-window.c: * src/fr-command-zoo.c: * src/fr-command-zip.c: * src/fr-command-unstuff.c: * src/fr-command-tar.c: * src/fr-command-rpm.c: * src/fr-command-rar.h: * src/fr-command-rar.c: * src/fr-command-lha.c: * src/fr-command-jar.c: * src/fr-command-iso.c: * src/fr-command-cpio.c: * src/fr-command-cfile.c: * src/fr-command-arj.c: * src/fr-command-ar.c: * src/fr-command-alz.c: * src/fr-command-ace.c: * src/fr-command-7z.h: * src/fr-command-7z.c: * src/fr-command.h: * src/fr-command.c: * src/fr-archive.h: * src/fr-archive.c: * src/dlg-extract.c: * src/dlg-delete.c: Reduce the number of FRCommand functions arguments by using gobject properties. * src/fr-archive.c (action_performed): update the capabilities after listing the content, usefull for multivolume archives that are read-only. * src/dlg-batch-add.c (add_clicked_cb): always create a new archive, calling fr_window_archive_new. 2008-07-19 Paolo Bacchilega * src/fr-command-rar.c (process_line): ignore files that span more volumes. 2008-07-18 Paolo Bacchilega * TODO: updated * src/typedefs.h: * src/fr-command-rar.c: Added support for the progress dialog during add, extract and delete. Related to bug #153281 – Progress bar should be exact. Do not ask for password when a part of a multi-volume archive is missing. Fixes bug #504584 – Incorrect comportment when extracting multi part rar files. * src/fr-window.c: * src/fr-command.h: * src/fr-command.c: * src/fr-archive.h: * src/fr-archive.c: * src/dlg-prop.c: Compute the number of regular files in the archive, and use that value for the progress dialog and the property dialog. Allow to change the name of the current archive in the progress dialog, used when the archive is multi-volume. Don't use the fake load anymore, in order to allow an exact progress dialog when adding or extracting files in batch mode, see bug #153281. * src/dlg-add-folder.c (file_sel_response_cb): the destination directory is not a uri. * src/gtk-utils.c: use an expander instead of a button to show/hide the command line output. 2008-07-13 Paolo Bacchilega * src/gtk-utils.h: * src/gtk-utils.c: removed create_pixbuf() because unused. 2008-07-13 Paolo Bacchilega * src/typedefs.h: * src/actions.c: * src/dlg-batch-add.c: * src/fr-archive.c: * src/fr-command.c: * src/fr-command-7z.c: * src/fr-command-ace.c: * src/fr-command-alz.c: * src/fr-command-ar.c: * src/fr-command-arj.c: * src/fr-command-cfile.c: * src/fr-command-cpio.c: * src/fr-command-iso.c: * src/fr-command-jar.c: * src/fr-command-lha.c: * src/fr-command-rar.c: * src/fr-command-rpm.c: * src/fr-command-tar.c: * src/fr-command-unstuff.c: * src/fr-command-zip.c: * src/fr-command-zoo.c: Renamed the FrCommandCap values. * src/gtk-utils.c (get_icon_pixbuf): use 'text-x-generic' for unknown file types. * TODO: updated. 2008-07-12 Paolo Bacchilega * src/gtk-utils.c (get_icon_pixbuf): Fixed bug #542541 – icon lookup code is broken Patch by Matthias Clasen. 2008-07-10 Paolo Bacchilega * src/fr-window.c (fr_window_set_encrypt_header): do not return any value. * src/fr-archive.c: try to get the mime type from magic numbers if all other methods fail. 2008-07-07 Paolo Bacchilega * src/typedefs.h: * src/main.c: * src/fr-command-zoo.c: * src/fr-command-rar.c: * src/fr-command-jar.c: * src/fr-command-arj.c: * src/fr-command-7z.c: Changed the FrMimeTypeDescription structure in order to compute the mime type capabilities automatically in compute_supported_archive_types() * src/fr-window.c: * src/gtk-utils.h: * src/gtk-utils.c: added a show_uri function, used in show_help_dialog and fr-window.c:open_folder. * src/preferences.h: * src/fr-window.h: * src/fr-window.c: * src/fr-command-rar.c: * src/fr-command-7z.c: * src/fr-command.h: * src/fr-command.c: * src/fr-archive.h: * src/fr-archive.c: * src/dlg-password.c: * src/dlg-batch-add.c: * src/actions.c: * data/glade/password.glade: * data/glade/batch-add-files.glade: Added support for header encryption. Implemented header encryption for 7zip and rar archives. * data/file-roller.schemas: added the key /apps/file-roller/general/encrypt_header Fixes bug #506698 – 7z Filename (header) Encryption request 2008-06-29 Paolo Bacchilega * INSTALL: changed by autoconf * configure.ac: * configure.in: * autogen.sh: renamed to configure.ac, changed some commands. 2008-06-29 Paolo Bacchilega * src/fr-archive.c: removed useless comment. 2008-06-29 Paolo Bacchilega * src/fr-window.c (open_folder): * src/gtk-utils.c (show_help_dialog): * configure.in: Allow to compile with Gtk+ 2.12 as well. 2008-06-29 Paolo Bacchilega * data/file-roller.desktop.in.in: * src/main.c: use application/x-java-archive as mime type for .jar files. * src/fr-command-jar.c: register the jar mime type. * src/fr-command-7z.c (fr_command_7z_handle_error): added support for 7zip files with encrypted headers. 2008-06-24 Paolo Bacchilega * src/main.c: * src/fr-command-cfile.c: * nautilus/nautilus-fileroller.c: * data/file-roller.desktop.in.in: Fixed bug #503000 – Support for rzip * src/fr-archive.c (create_command_from_mime_type): allow to load a compressed file. 2008-06-24 Paolo Bacchilega * nautilus/nautilus-fileroller.c: do not add any menu entry when the files are in an unsupported location, such as 'trash' or 'computer'. Fixes bug #539629 – Create archive for Trash/Computer 2008-06-24 Paolo Bacchilega * TODO: updated. * src/fr-command-7z.c: set the encrypted flag on for files compressed with an AES method. 2008-06-22 Paolo Bacchilega * src/main.c (register_commands): added comment that explains how the priority is assigned. * src/fr-archive.c (create_command_from_mime_type): give priority to the commands that can read and write over commands that can only read a specific file format. 2008-06-21 Paolo Bacchilega * src/fr-command-7z.c (fr_command_7z_get_capabilities): can handle other formats only when 7z is available. * src/fr-process.c (child_setup, start_current_command): do not add debug functions in the child process. 2008-06-19 Paolo Bacchilega * src/fr-window.c (action_performed): do not reload the archive if an error occurs when adding files in batch mode. (fr_window_stop_activity_mode): do not allow the activity_ref counter to be negative. * src/file-utils.c (uri_is_filetype, dir_is_empty) (dir_contains_one_object, get_dir_content_if_unique): check for file existance before anything else. 2008-06-19 Paolo Bacchilega * src/fr-window.c (action_started): Show the progress dialog without any delay for any operation when in batch mode. * src/gio-utils.c: * src/fr-window.c: * src/fr-archive.c: * src/file-utils.c: * src/dlg-extract.c: * src/dlg-batch-add.c: GErrors must be initialized to NULL. 2008-06-19 Paolo Bacchilega * src/fr-window.h: * src/dlg-extract.c: * src/fr-window.c: Show the extract progress dialog without any delay when extracting in batch mode. Do not ask whether to open the destination folder if the extraction was done with drag&drop or with an extract_here operation because in these cases the user already views the destination. 2008-06-19 Paolo Bacchilega * src/main.c: register the alz command and mime type. * src/Makefile.am: * src/fr-command-alz.h: * src/fr-command-alz.c: new files * nautilus/nautilus-fileroller.c: * data/file-roller.desktop.in.in: added application/alz mime type. Added support for reading and extracting alz archives. Patch by Changwoo Ryu Fixed bug #521324 – ALZ archive support 2008-06-19 Paolo Bacchilega * configure.in: bumped version number to differentiate current development version from the latest released version. * src/fr-command-7z.h: * src/fr-command-7z.c (list__process_line, fr_command_7z_list): Use the technical list, because we need to know whether a file is encrypted or not. 2008-06-19 Paolo Bacchilega * src/main.c: * src/fr-command-7z.c: * src/fr-command-zip.c: * data/file-roller.desktop.in.in: renamed MS-DOS executable mime-type from application/x-ms-dos-executable to application/x-executable * src/fr-command-zip.c: added support for .cbz files * src/fr-command-rar.c: added support for .cbr files. * src/fr-command-cpio.c: Fixed list error when the file type is 'c'. * src/fr-command-7z.c: Added support for creating self-extracting zip archives. Added support for reading/writing zip, cbr, cbz archives. Added support for reading cabinet, arj, rar and iso archives. Fixes bug #343201 – Use p7zip for RAR archives? Fixes bug #529395 – file-roller will not open 256 AES zip files Fixes bug #515194 – PK 4.5 Zip files Fixes bug #519046 – add x-cbr and x-cbz support Fixes bug #336790 – file-roller can't open winzip-10 encrypted files (AES) 2008-06-19 Paolo Bacchilega * src/main.h: * src/main.c: Removed duplicated data. Simplified the way to register commands. Use the functions fr_command_get_mime_types and fr_command_get_capabilities to compute the supported mime_types and the relative capabilities. * src/fr-command-zoo.c: * src/fr-command-zip.c: * src/fr-command-unstuff.c: * src/fr-command-tar.c: * src/fr-command-rpm.c: * src/fr-command-rar.c: * src/fr-command-lha.c: * src/fr-command-iso.c: * src/fr-command-cpio.c: * src/fr-command-cfile.c: * src/fr-command-arj.c: * src/fr-command-ar.c: * src/fr-command-ace.c: * src/fr-command-7z.c: * src/fr-command.h: * src/fr-command.c: added two new virtual functions: get_mime_types, get_capabilities. * src/file-utils.c (is_mime_type): rename type to mime_type. * nautilus/nautilus-fileroller.c: updated the mime_type list. * data/file-roller.desktop.in.in: updated the MimeType field.