2008-06-16 Paolo Bacchilega * NEWS: updated 2008-06-13 Paolo Bacchilega * src/fr-process.c: * src/fr-process.h: Use g_io_channel to read the command output. Moved private properties to a priv structure. Cleaned up the code. * src/fr-window.c: * src/fr-command-zip.c: * src/fr-command-rar.c: Updated names of the process properties. 2008-06-11 Paolo Bacchilega * src/main.c: Added application/x-tarz and application/x-compress * src/fr-command-tar.c: Added application/x-tarz to the supported formats. * src/fr-command-cfile.c (fr_command_cfile_add): do not use '*' as we don't use the shell anymore, instead compute the compressed filename and use it. Added mime-type application/x-compress to the supported formats. * src/fr-window.h: * src/fr-window.c: * src/actions.c: when an archive type is not supported destroy the (hidden) main window after the error dialog has been closed. 2008-06-11 Paolo Bacchilega * src/open-file.c (open_file_new): return null if the files doesn't exists. * src/fr-window.c (monitor_extracted_files): don't add the file if it's NULL. * src/fr-command-cpio.c (fr_command_cpio_list, fr_command_cpio_extract): insert the pipe in a single argument. * src/fr-command-cfile.c: fixed misc errors. * src/file-utils.h: * src/file-utils.c: added function get_file_size_for_path() 2008-06-11 Paolo Bacchilega * src/fr-command-rpm.c (fr_command_rpm_list, fr_command_rpm_extract): insert the pipe in a single argument. 2008-06-11 Paolo Bacchilega * src/fr-command-iso.c: Do not add the -c switch to sh and don't escape the filename. Removed the pipe command from here, since it's been moved to isoinfo.sh * src/sh/isoinfo.sh: Added an additional argument to specify the output filename when extracting. 2008-06-11 Paolo Bacchilega * src/fr-process.c (fr_process_add_arg_concat): add the first arg as well. * src/fr-command-rar.c (fr_command_rar_handle_error): always check for the "password incorrect" string. 2008-06-11 Paolo Bacchilega * src/glib-utils.h: * src/glib-utils.c: * src/fr-window.c: * src/fr-command-tar.c: * src/fr-archive.c: uri_escape the file list before passing it to fr_archive_add. 2008-06-10 Paolo Bacchilega * src/main.c: * src/glib-utils.h: * src/glib-utils.c: * src/fr-window.h: * src/fr-window.c: * src/fr-process.h: * src/fr-process.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.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-ace.c: * src/fr-command-7z.c: * src/fr-command.h: * src/fr-command.c: * src/fr-archive.h: * src/fr-archive.c: * src/dlg-prop.c: * src/dlg-ask-password.c: * src/dlg-add-folder.c: Do not use the sh command to exec the process, use the utility command directly to allow to stop the process properly (see #520844). Do not escape the filenames because the shell is not used anymore. 2008-06-10 Paolo Bacchilega * src/fr-process.c (_fr_process_stop): * src/main.c (initialize_data): reverted last commit, because it doesn't fix the problem the right way. 2008-06-10 Paolo Bacchilega * src/main.c (initialize_data): (initialize_data): * src/fr-process.c (_fr_process_stop): stop the process calling 'kill' on all the processes in the group, and capture the SIGTERM signal to not terminate the main process. 2008-06-06 Paolo Bacchilega * TODO: updated * configure.in: bumped version number to differentiate current development version from the latest released version. * src/fr-window.c (open_progress_dialog): Return as soon as possible if the dialog is already shown. Don't show the progress bar if open_now is true. 2008-06-06 Paolo Bacchilega * src/fr-window.c: added a ask_to_open_destination_after_extraction flag to open the progress dialog only when appropriate. * src/fr-process.c: check whether current_comm is >= 0 before accessing the comm array. * src/fr-command-cfile.c: set the propAddCanUpdate and propAddCanReplace properties to TRUE. * src/fr-command-unstuff.c: * src/fr-command-tar.c: * src/fr-command-rpm.c: * src/fr-command-iso.c: * src/fr-command-cpio.c: * src/fr-command-ar.c: * src/fr-command-ace.c: * src/fr-command.h: * src/fr-command.c: get rid of the propCanModify property as it's been obsoleted by the fr_command_is_capable_of() function. * src/fr-archive.h: * src/fr-archive.c: add a have_permissions flag to differentiate when is not possible to write an archive because the archive command doesn't support this feature or because we don't have the file write permission. * src/dlg-open-with.c (open_with__destroy_cb): do not unref the AppInfo objects. * src/fr-stock.h: * src/fr-stock.c: * data/icons/24x24/actions/Makefile.am: * data/icons/24x24/actions/preview-file.png: Removed the preview-file stock item, use gtk_stock_open instead. 2008-06-05 Paolo Bacchilega * src/main.h: * src/main.c: * src/actions.c: Differentiate between types that can be created and types that can be saved. The difference is that a type can be created only if it can be loaded and saved. At the moment only tar.7z can be saved but not created. 2008-06-05 Paolo Bacchilega * src/fr-archive.c (fr_archive_extract_to_local): we need the file list when extracting all the files and not all the options are supported by the command. * src/fr-command-tar.c (fr_command_tar_init): set propExtractCanAvoidOverwrite to FALSE for tar archives because the tar command returns a fatal error when a file already exists. 2008-06-05 Paolo Bacchilega * src/main.c: do not view the folder after the extraction when in batch mode. * src/fr-window.c: Display the progress dialog if the operation lasts more than 5 seconds. Display the progress dialog without delay if extracting or converting an archive. After the extraction add to the progress dialog the button to open the destination folder and after the conversion add the button to open the newly created archive. * src/fr-archive.c: Compute the number of files even when extracting all the files and the archive command supports the operation natively. * src/preferences.h: * src/fr-window.h: * src/dlg-extract.c: * data/file-roller.schemas: Removed the 'view folder after extraction' option from the extraction dialog. * src/fr-command-ace.h: * src/fr-command-ace.c: Added support for the ace-nonfree output format. 2008-06-03 Paolo Bacchilega * src/main.c: * src/fr-window.c: * src/fr-command-tar.h: * src/fr-command-tar.c: * src/fr-archive.c: Added partial support for tar archives compressed with 7zip.