2007-02-19 Paolo Bacchilega [ gthumb 2.9.2 released ] * configure.in: changed version to 2.9.2 2007-02-18 Paolo Bacchilega * libgthumb/gth-filter.c: small changes. * src/gth-filter-bar.c: small changes. * src/gth-browser.c: unref the filter after using it. * libgthumb/gth-file-list.c: do not ref/unref NULL pointers. 2007-02-18 Paolo Bacchilega * src/gth-filter-bar.c: * libgthumb/gth-filter.h: * libgthumb/gth-filter.c: implemented filter on date. * libgthumb/file-data.h: * libgthumb/file-data.c: added file_data_load_exif_data * libgthumb/gth-file-list.c (gth_file_list_update_next_thumb): continue creating thumbnails from after the last visible image and then restart from the beginning (#142735). 2007-02-18 Paolo Bacchilega * libgthumb/gth-file-list.c: * libgthumb/file-data.h: * libgthumb/file-data.c: Create the thumbnails of all the images in the file list, however load only the thumbnails of the visible images, this way we save a lot of memory when a directory contains thousands of images (#142735). 2007-02-16 Michael J. Chudobiak * libgthumb/gth-file-list.c: (gth_file_list_update_next_thumb): Prepare thumbnails for all images, not just the visible ones. Bug 142735. 2007-02-16 Michael J. Chudobiak * src/dlg-reset-exif.c: (apply_transformation): Added missing VFS support (using local cache). 2007-02-15 Michael J. Chudobiak * src/gth-browser.c: (fullscreen_destroy_cb): Fix crash if you exit slideshow while it is paused. Bug 408323. 2007-02-14 Paolo Bacchilega * src/gth-browser.c: * src/gth-window-utils.c: * src/gth-fullscreen.c: update the file list in fullscreen mode when an images is removed from the catalog. 2007-02-13 Michael J. Chudobiak * libgthumb/file-data.c: (file_data_new): Fixed crash on photo import. The code was checking info->mime-type even when info was NULL. Bug 407589. 2007-02-13 Michael J. Chudobiak * libgthumb/file-utils.c: (gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri): * libgthumb/file-utils.h: * libgthumb/gtk-utils.c: (create_pixbuf): * libgthumb/print-callbacks.c: (draw_page): * src/dlg-photo-importer.c: (load_images_preview__step), (dlg_photo_importer): * src/dlg-web-exporter.c: (theme_dialog__sel_changed_cb): * src/rotation-utils.c: (apply_transformation_generic): Fixed RAW/HDR print issue, bug 407112, by adding RAW/HDR support in the pixbuf loader, rather than the animation loader. 2007-02-13 Michael J. Chudobiak * NEWS: Updated with new features and bug fixes. 2007-02-13 Michael J. Chudobiak * data/glade/gthumb_preferences.glade: * doc/C/gthumb.xml: Added hot key documentation, and explained the default scripts. 2007-02-13 Michael J. Chudobiak * data/glade/gthumb_preferences.glade: * libgthumb/gtk-utils.c: (exec_shell_script): * src/dlg-preferences.c: (dlg_preferences): Allow one script to process all selected files, instead of requiring one script instance per file. 2007-02-13 Paolo Bacchilega * libgthumb/print-callbacks.c: fixed compiler warnings. 2007-02-12 Paolo Bacchilega * data/glade/gthumb_print.glade: * libgthumb/print-callback.c: fixed esthetic glitches. 2007-02-12 Paolo Bacchilega * data/glade/gthumb_preferences.glade: use less technical terms in the hot key tab. 2007-02-12 Michael J. Chudobiak * data/glade/gthumb_print.glade: * data/gthumb.schemas.in: * libgthumb/preferences.c: * libgthumb/preferences.h: * libgthumb/print-callbacks.c: (convert_to_points), (convert_from_points), (image_info_rotate), (add_catalog_preview), (catalog_update_page), (catalog_update_image_size), (catalog_get_image_width), (catalog_get_image_height), (catalog_get_image_unit), (catalog_update_page_size_from_config), (catalog_update_image_size_from_config), (catalog_set_standard_page_size), (catalog_update_margins), (draw_page), (catalog_get_current_image_resolution), (catalog_get_current_image_sizing), (catalog_image_width_changed_cb), (catalog_image_height_changed_cb), (catalog_portrait_toggled_cb), (catalog_landscape_toggled_cb), (catalog_image_unit_changed_cb), (catalog_image_resolution_changed_cb), (catalog_auto_size_toggled_cb), (catalog_manual_size_toggled_cb), (print_catalog_cb), (images_per_page_value_changed_cb), (print_catalog_dlg_full): * libgthumb/typedefs.h: Allow print sizes to be "auto-sized" or manually specified, so that photos can be printed at common frame sizes (4x6", 5x7", etc). Bug 385449. 2007-02-12 Michael J. Chudobiak * data/glade/gthumb_tools.glade: * libgthumb/gtk-utils.c: (exec_shell_script): * libgthumb/gtk-utils.h: * src/dlg-preferences.c: (dlg_preferences): * src/gth-browser.c: (key_press_cb): Added a progress dialog for hotkey functions. It could be nicer... 2007-02-12 Michael J. Chudobiak * libgthumb/gtk-utils.c: (exec_shell_script): Use system instead of g_spawn_command_line_async. 2007-02-12 Michael J. Chudobiak * data/glade/gthumb_preferences.glade: * libgthumb/gtk-utils.c: (exec_shell_script): * src/dlg-preferences.c: (dlg_preferences): Added more hotkey format codes. 2007-02-12 Paolo Bacchilega * data/glade/gthumb_preferences.glade: removed gtk_event as container of the slideshow label. 2007-02-12 Michael J. Chudobiak * libgthumb/gtk-utils.c: (exec_shell_script): * libgthumb/gtk-utils.h: Added hotkey shell-script launcher. (To be expanded with additional format codes.) * src/gth-browser.c: (key_press_cb): Added hotkey detection. 2007-02-12 Paolo Bacchilega * AUTHORS: Added Michael :) 2007-02-11 Michael J. Chudobiak * data/glade/gthumb_preferences.glade: * data/gthumb.schemas.in: * libgthumb/gconf-utils.c: (eel_gconf_get_string): * libgthumb/preferences.h: * src/dlg-preferences.c: (apply_cb), (dlg_preferences): Added initial support for shell-script hotkeys. Added prefs. The hotkeys don't function yet, though. 2007-02-11 Paolo Bacchilega * src/rotation-utils.c: * libgthumb/jpegutils/jpegtran.h: * libgthumb/jpegutils/jpegtran.c: Added ability to hide the jpeg mcu warning message. Include the name of the image in the dialog. Changed a bit the jpeg mcu message. Perform a trim if the user decided to hide the warning (?). * libgthumb/gtk-utils.h: * libgthumb/gtk-utils.c: added function _gtk_message_dialog_with_checkbutton_new * libgthumb/preferences.h: * data/gthumb.schemas.in: added key '/schemas/apps/gthumb/dialogs/messages/jpeg_mcu_warning' 2007-02-11 Michael J. Chudobiak * README: Updated library requirements. Use svn rather than cvs. 2007-02-11 Paolo Bacchilega * src/rotation-utils.c: free the 'tmp' variable when it's not used anymore. * libgthumb/file-utils.c (remove_temp_file_and_dir): do not free the input argument. 2007-02-11 Paolo Bacchilega * src/gth-folder-selection-dialog.c: Use "Recent folders" and "Go to the destination folder". * libgthumb/bookmarks.c: * libgthumb/file-utils.c (get_uri_display_name): escape uris under the home folders as well. * src/main.c (open_browser_window): removed debug code. 2007-02-11 Paolo Bacchilega * src/gth-folder-selection-dialog.h: * src/gth-folder-selection-dialog.c: use a gth_location instead of a text entry. * src/gth-location.h: * src/gth-location.c: * src/gth-browser.c: removed the open_location signal from the gth_location widget. * src/gth-browser-actions-callbacks.c: * src/dlg-file-utils.c: gth_folder_selection_get_folder returns a const string now. * src/bookmark-list.c: fixed double escape issue. * libgthumb/gtk-utils.c (_gtk_entry_get_filename_text): use escape_uri instead of gnome_vfs_escape_string. * data/glade/gthumb.glade: use 'Bookmarks:' instead of 'Select a bookmark:' 2007-02-10 Paolo Bacchilega * many files: store uris in escaped mode, and unescape when need to display an uri or part of it. 2007-02-10 Michael J. Chudobiak * configure.in: * src/dlg-rename-series.c: (get_image_date): Removed HAVE_LIBEXIF cruft. This library was made mandatory some time ago. 2007-02-10 Michael J. Chudobiak * README: * libgthumb/file-utils.c: (get_pixbuf_using_external_converter), (gth_pixbuf_animation_new_from_uri): Read RAW photos using dcraw only (without pfstools). * src/gth-exif-data-viewer.c: (update_file_info): Show mime type, including for hdr and raw images. 2007-02-09 Paolo Bacchilega * src/gth-browser.c (_set_fullscreen_or_slideshow): do not use the current pixbuf if the image is not loaded yet. Fixes bug #406092 – old image is displayed 2007-02-09 Paolo Bacchilega * src/gth-browser.c: do not load the last viewed image in the fullscreen, if it's same image loaded in the browser. This avoids the ask whether to save the image after viewing a modified image in fullscreen mode. 2007-02-09 Michael J. Chudobiak * README: Added note about RAW and HDR viewing requirements. * libgthumb/file-utils.c: (get_file_mime_type): Improved detection of HDR file types, when conventional mimetype detection fails or detects binary data. 2007-02-08 Paolo Bacchilega * libgthumb/gth-image-list.c: use pos instead of selection_pending_pos * src/gth-location.c: * libgthumb/file-utils.c: use the hostname for remote uris, and 'File System' only for local uris. 2007-02-08 Paolo Bacchilega * src/gth-location.c: make the parent list work with remote uris too. 2007-02-08 Paolo Bacchilega * libgthumb/gth-image-list.c: Fixed bug #363643 – Shift+arrow expands selection, Shift+mouse doesn't * libgthumb/file-utils.h: * libgthumb/file-utils.c: added get_base_uri, make remove_level_from_path work with remote uris. 2007-02-08 Michael J. Chudobiak * libgthumb/file-utils.c: (get_file_mime_type), (mime_type_is_hdr), (convert_exotic_format_to_tiff), (gth_pixbuf_animation_new_from_uri): Initial support for RAW and HDR images, if pfstools, pfstmo, and dcraw are installed. 2007-02-08 Paolo Bacchilega * libgthumb/file-utils.c (get_file_mime_type): remove the file:// scheme to make magic mime work. 2007-02-08 Paolo Bacchilega * src/gth-browser-ui.h: * src/gth-browser-actions-entries.h: * src/gth-browser-actions-callbacks.h: * src/gth-browser-actions-callbacks.c: * src/gth-browser.c: * src/dlg-search.c: * libgthumb/file-utils.h: * libgthumb/file-utils.c: Fixed bug #354482 – Show "hidden" images. Fixed bug #145334 – Folder list should respect .hidden files 2007-02-08 Paolo Bacchilega * libgthumb/file-utils.h: * libgthumb/file-utils.c (gth_pixbuf_animation_new_from_uri): the fast_file_type argument is not used anymore, removed from the signature. * libgthumb/thumb-loader.c (thumb_loader): * libgthumb/image-loader.c (load_image_thread): removed the fast_file_type argument from the gth_pixbuf_animation_new_from_uri calls. 2007-02-07 Paolo Bacchilega * libgthumb/gth-file-list.c (load_new_list): check whether the mime_type is NULL. 2007-02-07 Paolo Bacchilega * libgthumb/gth-file-list.c (load_new_list): * libgthumb/file-data.c (file_data_update): * libgthumb/file-utils.c (get_file_mime_type): Fixed compiler warnings. 2007-02-07 Paolo Bacchilega * src/gth-viewer.c (gth_viewer_exec_pixbuf_op): * src/gth-browser.c (gth_browser_exec_pixbuf_op): Ignore a new gth_pixbuf_op when there already one running. Fixes bug #392632 – crash in gThumb Image Viewer: repeatedly pressing Ctrl... Patch by manuel 2007-02-07 Paolo Bacchilega * src/gth-browser-ui.h: * src/gth-viewer-ui.h: * src/gth-viewer-actions-entries.h: * src/gth-browser-actions-entries.h: * src/gth-viewer.c: * src/gth-browser.c: removed the info_bar in the viewer window and in the browser window when the file list is hidden. Added a 'properties' button on the toolbar. Added a 'zoot to fit width' button in the viewer toolbar. * libgthumb/gthumb-stock.h: * libgthumb/gthumb-stock.c: added GTHUMB_STOCK_METADATA * src/gth-window.c: indentation fix. * libgthumb/gth-file-list.c: get the mime type only once and only here, this is used to speed up list loading when slow mime detection is used, and is also used to avoid to get the image mime type in the image-loader thread (which is dangerous). * libgthumb/file-data.c: * libgthumb/file-data.h: added a mime_type field. * libgthumb/thumb-loader.c: no need to use the accurate mime detection system and no need to load a gif image as an animation in the thumbnail loader. * libgthumb/image-loader.c: removed an identation level. * libgthumb/image-loader.h: * libgthumb/thumb-loader.h: added a mime_type argument to the [thumb|image]_loader_set_path functions * src/gthumb-preloader.c: * src/gth-batch-op.c: * src/dlg-jpegtran.c: * src/dlg-duplicates.c: * src/catalog-web-exporter.c: * src/dlg-convert.c: * src/catalog-png-exporter.c: * libgthumb/print-callbacks.c: updated calls to image_loader_set_path adding the new mime_type argument (setting the mime_type to NULL for now). * libgthumb/file-utils.h: * libgthumb/file-utils.c: function image_is_type is now public added function can_load_mime_type, removed image_is_gif__accurate. 2007-02-06 Michael J. Chudobiak * libgthumb/file-utils.c: (gth_pixbuf_animation_new_from_uri): Don't use f_load_scaled_jpeg on remote VFS files. It is MUCH faster to use a cached copy, for typical file sizes. * src/gth-browser.c: (dir_list_started_cb): Changed "Wait Please..." string to "Getting directory listing...", for clarity. 2007-02-06 Michael J. Chudobiak * libgthumb/file-utils.c: (obtain_local_file): Do not prune the cache every time the remote cache is added to - just at startup. 2007-02-03 Michael J. Chudobiak * data/glade/gthumb_camera.glade: * data/glade/gthumb_convert.glade: * data/glade/gthumb_png_exporter.glade: * data/glade/gthumb_preferences.glade: * data/glade/gthumb_search.glade: * data/glade/gthumb_tools.glade: Set local_only to false, to fix bug 403932. 2007-02-03 Michael J. Chudobiak * libgthumb/comments.c: (save_comment_iptc): Removed unused variable. * src/catalog-web-exporter.c: (copy_exif_from_orig_and_reset_orientation): Enabled VFS support. * src/gth-exif-data-viewer.c: (update_file_info): Show full path in file info sidebar. 2007-02-03 Michael J. Chudobiak * libgthumb/comments.c: (save_comment): Fixed XML comment editing of remote files. * libgthumb/file-utils.c: (prune_cache): Prune cached comment files too. 2007-02-02 Michael J. Chudobiak * libgthumb/comments.c: (save_comment_iptc), (save_comment), (comments_load_comment): * libgthumb/dlg-save-image.c: (save_image): * libgthumb/file-utils.c: (copy_cache_file_to_remote_uri): * libgthumb/file-utils.h: * libgthumb/gth-exif-utils.c: (save_exif_data_to_uri), (copy_exif_data): * libgthumb/gth-exif-utils.h: * libgthumb/pixbuf-utils.c: (_gdk_pixbuf_savev): * src/dlg-jpegtran.c: (apply_transformation): * src/dlg-reset-exif.c: (apply_transformation): * src/gth-browser.c: (window_update_image_info), (save_jpeg_data): * src/gth-viewer.c: (viewer_update_image_info), (save_jpeg_data): Enabled editing / saving of remote VFS files. Enabled IPTC comment editing/saving on remote VFS files. Still minor issues with XML comment handling. 2007-02-02 Michael J. Chudobiak * NEWS: News from vfs-testing branch * libgthumb/file-utils.c: (gth_pixbuf_new_from_video), (gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri): * libgthumb/file-utils.h: * libgthumb/image-loader.c: (load_image_thread): * libgthumb/thumb-loader.c: (thumb_loader): Moved remaining pixbuf/animation loading routines out of image-loader.c and thumb-loader.c into file-utils.c, to reduce duplication. 2007-02-01 Michael J. Chudobiak * libgthumb/file-utils.c: (get_uri_display_name) Fixed display of remote URIs. (obtain_local_file), (gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri): Stripped out "file://" from cache file names. * libgthumb/gth-exif-utils.c: (get_exif_tag), (get_exif_tag_short), (get_exif_time), (get_exif_aperture_value): * libgthumb/print-callbacks.c: (image_info_new): * src/rotation-utils.c: (read_orientation_field), (write_orientation_field), (apply_transformation_jpeg), (apply_transformation_generic): Removed extraneous remove_scheme_from_uri calls. 2007-02-01 Paolo Bacchilega * src/gth-browser.c: removed commented code. * libgthumb/gth-file-list.c: stop loading the thumbnails if the queue is not void. * src/gth-dir-list.c (gth_dir_list_change_to): always call path_list_async_new, instead of waiting for the file list to be interrupted. 2007-02-01 Michael J. Chudobiak * libgthumb/file-utils.c: (prune_cache), (obtain_local_file): * libgthumb/file-utils.h: * libgthumb/gthumb-init.c: (ensure_directories_exist): Added prune_cache function separately. Call it at start-up also. 2007-02-01 Michael J. Chudobiak * libgthumb/file-utils.c: (obtain_local_file): Added cache pruning. This should be a workable cache for remote VFS URIs now. 2007-02-01 Michael J. Chudobiak * libgthumb/file-utils.c: (obtain_local_file): Added mtime checking for remote file caching. Need to add mechanism to prune cache next. 2007-02-01 Michael J. Chudobiak * libgthumb/comments.c: (load_comment_from_iptc), (load_comment_from_xml): * libgthumb/file-utils.c: (get_cache_full_path), (obtain_local_file), (gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri): * libgthumb/file-utils.h: * libgthumb/gth-exif-utils.c: (gth_exif_data_new_from_uri): * libgthumb/gthumb-init.c: (ensure_directories_exist): * libgthumb/typedefs.h: * src/dlg-jpegtran.c: (apply_transformation): Further simplification of local-copy-of-VFS-files creation routines. Added basic semi-permanent remote file caching. Need to added mtime checks and purging of old / excess files. 2007-02-01 Michael J. Chudobiak * libgthumb/comments.c: (load_comment_from_iptc), (load_comment_from_xml): * libgthumb/file-utils.c: (remove_temp_file_and_dir), (make_cache_copy_of_remote_file), (gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri): * libgthumb/file-utils.h: * libgthumb/gth-exif-utils.c: (gth_exif_data_new_from_uri): * src/dlg-jpegtran.c: (apply_transformation): * src/rotation-utils.c: (apply_transformation_jpeg): Simplified the local-copy-of-VFS-files creation routines. Added initial framework to cache VFS files over longer term. Removed gnome_gdk_pixbuf_new_from_uri (will be deprecated). Known issue: "local_file" variables not always g_free'd properly. This will be fixed when caching is added. 2007-01-30 Michael J. Chudobiak * libgthumb/gth-exif-utils.c: (gth_exif_data_new_from_uri), (get_exif_tag), (get_exif_tag_short), (get_exif_time), (get_exif_aperture_value), (copy_exif_data): * src/gth-exif-data-viewer.c: (update_exif_data): * libgthumb/gth-exif-utils.h: Added remote VFS support for reading EXIF tags. Writing tags isn't supported, yet. 2007-01-30 Michael J. Chudobiak * libgthumb/comments.c: (load_comment_from_iptc): Added remote VFS support for reading IPTC comments. Writing comments isn't supported, yet. 2007-01-30 Michael J. Chudobiak * libgthumb/comments.c: (load_comment_from_xml): Added remote VFS support for reading comments. Writing comments isn't supported, yet. 2007-01-29 Michael J. Chudobiak * src/dlg-jpegtran.c: (apply_transformation): Better error messages. * src/rotation-utils.c: (apply_transformation_jpeg): Better error reporting, and make better use of convenience functions like file_move, remove_temp_file, remove_temp_dir. 2007-01-29 Michael J. Chudobiak * libgthumb/file-utils.c: (check_permissions): Deleted debugging printfs, and fixed a memory leak (was missing gnome_vfs_file_info_unref) * src/dlg-jpegtran.c: (apply_transformation): Enabled rotation of remote VFS files, and fixed a memory leak (was missing gnome_vfs_file_info_unref) 2007-01-28 Michael J. Chudobiak * libgthumb/file-utils.c: (check_permissions) Added printfs to debug remote permissions problems. Delete these later. * libgthumb/file-utils.c: (is_local_file), (make_remote_copy_of_local_file), (gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri): * libgthumb/file-utils.h: New convenience function (is_local_file), and a new function to copy local files to a remote VFS URI. 2007-01-28 Michael J. Chudobiak * libgthumb/file-utils.c: (remove_temp_file), (remove_temp_dir), (gth_pixbuf_animation_new_from_uri): * libgthumb/file-utils.h: Added temporary file/directory removal convenience functions. 2007-01-28 Paolo Bacchilega * data/glade/gthumb_crop.glade: * src/dlg-crop.c: Added option to invert the aspect ratio even for non-custom ratios. Fixes bug #389870 – Missing option in Image Crop Aspect Ratio 2007-01-28 Paolo Bacchilega * src/gth-fullscreen.c (viewer_key_press_cb): * src/gth-browser.c (key_press_cb): * src/gth-viewer.c (viewer_key_press_cb): * libgthumb/jpegutils/jpegtran.c (jtransform_perfect_transform): Fixed compiler warnings. 2007-01-28 Paolo Bacchilega * src/gth-fullscreen.c: * src/gth-browser.c: * src/gth-browser.c: * src/gth-viewer.c: * libgthumb/image-viewer.c: * libgthumb/image-viewer.h: Add more signals to ImageViewer so that it can handle more keypresses autonomically (#401544). Patch by Björn Lindqvist. 2007-01-27 Michael J. Chudobiak * libgthumb/file-utils.c: (image_is_raw): Added more complete list of raw image mime types. 2007-01-27 Michael J. Chudobiak * libgthumb/file-utils.c: (gth_pixbuf_animation_new_from_uri): Added missing config.h include to fix raw thumbnailing. Deleted debugging printfs. 2007-01-27 Michael J. Chudobiak * libgthumb/file-utils.c: (image_is_raw), (make_local_copy_of_remote_file), (gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri): * libgthumb/file-utils.h: * libgthumb/image-loader.c: (load_image_thread): * libgthumb/thumb-loader.c: (thumb_loader): Added initial VFS support for raw thumbnailing. Something doesn't quite work yet though... 2007-01-26 Hubert Figuiere * libgthumb/file-utils.[ch] (image_is_raw): detect raw files. * libgthumb/thumb-loader.c (thumb_loader): load thumbnails for RAW user libopenraw. Partially fix bug #145564. * configure.in: detect libopenraw. 2007-01-26 Michael J. Chudobiak * libgthumb/jpegutils/jpegtran.c: (update_exif_thumbnail), (jtransform_perfect_transform), (jpegtran_internal), (jpegtran_thumbnail), (jpegtran): * libgthumb/jpegutils/jpegtran.h: * src/catalog-web-exporter.c: (export__copy_image): * src/dlg-jpegtran.c: (apply_transformation): * src/dlg-photo-importer.c: (adjust_orientation__step): * src/rotation-utils.c: (jpeg_mcu_dialog), (apply_transformation_jpeg): * src/rotation-utils.h: Applied Jef Driesen's callback-based jpegtran scheme, for greater efficiency during lossless rotates, etc. Bug 361913. 2007-01-26 Michael J. Chudobiak * src/gth-browser.c: (key_press_cb): Return to browser mode after showing a video in viewer mode. 2007-01-25 Michael J. Chudobiak * libgthumb/file-utils.c: (gth_pixbuf_animation_new_from_uri): Animated remote gifs work now, using gnome_vfs_xfer_uri. 2007-01-25 Michael J. Chudobiak * libgthumb/dlg-save-image.c: (dlg_save_image_as): * src/dlg-web-exporter.c: (theme_dialog__install_theme_clicked): Set gtk_file_chooser_set_local_only to FALSE, for VFS browsing. * libgthumb/file-utils.c: (remove_special_dirs_from_path): * src/main.c: (initialize_data): Minor corrections to URI/path handling. 2007-01-25 Michael J. Chudobiak * libgthumb/file-utils.c: (remove_special_dirs_from_path): Further tweaks to remove_special_dirs_from_path, to work properly with file:/// URIs. Fixes catalog browsing. 2007-01-24 Michael J. Chudobiak * data/gthumb.desktop.in: Change "Exec=gthumb %F" to "Exec=gthumb %U" to allow launching of VFS URIs from Nautilus. 2007-01-24 Michael J. Chudobiak * libgthumb/file-utils.c: (file_is_image_or_video), (remove_special_dirs_from_path), (gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri): * libgthumb/file-utils.h: * libgthumb/gth-file-list.c: (load_new_list): * libgthumb/image-loader.c: (load_image_thread): * libgthumb/thumb-loader.c: (thumb_loader): * src/dlg-duplicates.c: (directory_load_cb): * src/dlg-photo-importer.c: (adjust_orientation__step): * src/dlg-search.c: (file_respects_search_criteria): * src/gth-browser.c: (launch_videos_in_list): * src/gth-monitor.c: (add_monitor_event): * src/main.c: (initialize_data): Fixed remove_special_dirs_from_path to work properly with URIs. Made file_is_image_or_video more efficient - fewer file accesses. Allow single VFS files and directories to be launched from the command line. Command-line-catalog (multiple files) still does not work yet. 2007-01-23 Michael J. Chudobiak * libgthumb/image-loader.c: (load_image_thread): Cache the "large" video thumbnails made in image viewer mode. 2007-01-23 Michael J. Chudobiak * libgthumb/image-loader.c: (image_loader_finalize), (image_loader_init), (image_loader_new), (load_image_thread): * src/gth-browser.c: (launch_videos_in_list), (key_press_cb), (gth_browser_hide_sidebar): Show a video thumbnail in image viewer mode. Launch external viewer (in browser or viewer mode) by pressing "enter". 2007-01-22 Michael J. Chudobiak * libgthumb/file-utils.c: (file_is_mimetype), (file_is_image), (file_is_video), (gth_pixbuf_new_from_uri): * libgthumb/file-utils.h: * libgthumb/gth-file-list.c: (load_new_list): * libgthumb/image-loader.c: (load_image_thread): * libgthumb/thumb-loader.c: (thumb_loader): * src/dlg-duplicates.c: (directory_load_cb): * src/dlg-search.c: (file_respects_search_criteria): * src/gth-browser.c: (launch_videos_in_list), (gth_browser_hide_sidebar): * src/gth-monitor.c: (add_monitor_event): Preliminary attempt to add video thumbnailing and viewing. Bug 134366. Still a work in progress. 2007-01-22 Michael J. Chudobiak * src/main.c: (main): Added gnome_authentication_manager_init to provide VFS authentication callbacks. 2007-01-22 Paolo Bacchilega * src/gth-viewer.c: * src/main.c: fixed compilation when gtkunique is disabled. 2007-01-22 Paolo Bacchilega * src/gth-window.c: * src/main.c: * src/main.h: * src/Makefile.am: * configure.in: the gtkunique dependency is now optional. 2007-01-22 Paolo Bacchilega * data/GNOME_GThumb.server.in.in: removed * src/GNOME_GThumb.idl: removed * src/gth-application.c: removed * src/gth-application.h: removed * data/Makefile.am: * libgthumb/Makefile.am: * libgthumb/jpegutils/Makefile.am: * po/POTFILES.in: * src/gth-viewer.c: * src/gth-window.c: * src/main.c: * src/main.h: * src/Makefile.am: * configure.in: * README: Use GtkUnique to provide a single instance application. Removed the bonobo dependency (#389197). 2007-01-21 Michael J. Chudobiak * src/gth-browser-actions-callbacks.c: (gth_browser_activate_action_go_location): * src/gth-folder-selection-dialog.c: (browse_button_clicked_cb): Set gtk_file_chooser_set_local_only to FALSE to permit browsing of VFS URIs. 2007-01-21 Michael J. Chudobiak * libgthumb/file-utils.c: (resolve_all_symlinks), (gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri): * libgthumb/file-utils.h: * libgthumb/gtk-utils.c: (create_pixbuf): * libgthumb/image-loader.c: (load_image_thread), (image_loader_get_path): * libgthumb/jpeg-utils.c: (do_load_internal): * libgthumb/print-callbacks.c: (draw_page): * libgthumb/thumb-loader.c: (thumb_loader), (thumb_loader_set_path), (thumb_loader_get_path), (thumb_loader_start__step2), (thumb_loader_error_cb): * src/dlg-photo-importer.c: (load_images_preview__step), (dlg_photo_importer): * src/dlg-web-exporter.c: (theme_dialog__sel_changed_cb): * src/rotation-utils.c: (apply_transformation_generic): Initial attempt to implement Gnome VFS support. Folders and images can now be opened using the "Other..." folder function (but not through the command line. Bug 143197. Tested with ssh:// URIs. 2007-01-21 Paolo Bacchilega * src/gth-browser.c: use pack_end to add the filterbar, this way the filterbar will remain at the bottom when changing between list and thumb view. * libgthumb/gth-file-view-list.c: added filter support to the list view. * libgthumb/image-loader.c (image_loader_init): make threads bound to system threads. * src/gth-filter-bar.c (gth_filter_bar_construct): removed the "Personalize" command. It will be implemented in 2.12 2007-01-16 Michael J. Chudobiak * libgthumb/image-loader.c: (image_loader_init): Reduce stack size for new image_loader threads from the default (10MB on FC6) to 32k, to reduce reported memory consumption. See if anything breaks! Bug 310749. 2007-01-14 Michael J. Chudobiak * libgthumb/gth-file-view-list.c: (create_unknown_pixbuf), (gth_file_view_list_finalize), (gth_file_view_list_new): * libgthumb/gth-file-view-thumbs.c: (create_unknown_pixbuf), (gth_file_view_thumbs_finalize), (gth_file_view_thumbs_new): * src/dlg-photo-importer.c: (get_icon_from_mime_type): * src/gth-viewer.c: (monitor_update_files_cb): * src/main.c: (theme_changed_cb), (initialize_data), (release_data), (get_fs_icon): Committed GnomeIconTheme -> GtkIconTheme change, this time removing the g_object_unref calls for icon_theme. Bugs 171593 and 396474. 2007-01-14 Michael J. Chudobiak * libgthumb/gth-file-view-list.c: (create_unknown_pixbuf), (gth_file_view_list_new): * libgthumb/gth-file-view-thumbs.c: (create_unknown_pixbuf), (gth_file_view_thumbs_new): * src/dlg-photo-importer.c: (get_icon_from_mime_type): * src/gth-viewer.c: (monitor_update_files_cb): * src/main.c: (theme_changed_cb), (initialize_data), (get_fs_icon): Reverted GnomeIconTheme -> GtkIconTheme change, because something broke in the photo importer. Bug 171593. 2007-01-13 Michael J. Chudobiak * libgthumb/gth-file-view-list.c: Restored accidentally-deleted function type declaration. Fixes compiler warning. Bug 395899. 2007-01-12 Michael J. Chudobiak * libgthumb/gth-file-view-list.c: * src/dlg-photo-importer.c: Removed #include references 2007-01-12 Michael J. Chudobiak * libgthumb/gth-file-view-list.c: (create_unknown_pixbuf), (gth_file_view_list_new): * libgthumb/gth-file-view-thumbs.c: (create_unknown_pixbuf), (gth_file_view_thumbs_new): * src/dlg-photo-importer.c: (get_icon_from_mime_type): * src/main.c: (theme_changed_cb), (initialize_data), (get_fs_icon): Removed deprecated GnomeIconTheme functions - bug 171593. Seems to reduce memory usage as well - bug 310749. Modified version of patch by Jan de Groot. 2007-01-11 Michael J. Chudobiak * libgthumb/gth-file-view-list.c: (get_compfunc_from_method): * libgthumb/gth-file-view-thumbs.c: (get_compfunc_from_method): * libgthumb/gth-sort-utils.c: (gth_sort_none): * libgthumb/gth-sort-utils.h: * src/catalog-png-exporter.c: (get_sortfunc): * src/catalog-web-exporter.c: (get_sortfunc): * src/dlg-rename-series.c: (get_sortfunc): Consolidated no-sort functions into gth-sort-utils.c. * src/main.c: (initialize_data): Set manual sort mode when handling list of filenames from the command line. Bug 326621. 2007-01-10 Michael J. Chudobiak * libgthumb/gth-sort-utils.c: (gth_sort_by_filename_but_ignore_path): Fixed bug 313562 - changed name sorting to use g_utf8_collate_key_for_filename, for better handling of numeric file names (similar to Nautilus). 2007-01-09 Paolo Bacchilega * src/gth-browser.c: Set the is_important property on some actions; don't unref actions got with gtk_action_group_get_action. Really fixes bug #385605 2007-01-07 Paolo Bacchilega * src/gth-browser.c (window_make_current_image_visible): do not reset the viewer if the image file exists. * src/gth-browser.c (set_mode_specific_ui_info): call ensure_update before setting actions as important * src/gth-browser.c: set actions as important after adding them to the ui. Fixes bug #385605 – toolbar style: "text beside icons" doesn't work 2007-01-07 Paolo Bacchilega * src/gth-fullscreen.c: * src/dlg-preferences.c: * libgthumb/preferences.h: * data/glade/gthumb_preferences.glade: * data/gthumb.schemas.in: removed /schemas/apps/gthumb/slideshow/delay added /apps/gthumb/slideshow/change_delay as float. allow to turn off the fading effect in the slideshow. Allow to specify a delay of 0.5 seconds. 2007-01-07 Paolo Bacchilega * src/gth-filter-bar.c: * src/gth-filter-bar.h: implemented other features. * src/Makefile.am: * src/gth-category-selection-dialog.c: * src/gth-category-selection-dialog.h: new files. * libgthumb/gth-image-list.c: pass item->data to image_list_filter_match instead of item * libgthumb/preferences.h: * data/gthumb.schemas.in: added "/apps/gthumb/ui/filterbar_visible" key * src/gth-browser-ui.h: * src/gth-browser-actions-entries.h: * src/gth-browser-actions-callbacks.h: * src/gth-browser-actions-callbacks.c: * src/gth-browser.h: * src/gth-browser.c: * libgthumb/gth-filter.c: * libgthumb/gth-file-list.c: allow to hide/show the filter bar. * src/dlg-search.c: removed a non-printable character. 2007-01-07 Paolo Bacchilega * libgthumb/icons/filter-24.png: * libgthumb/icons/Makefile.am: * libgthumb/gthumb-stock.h: * libgthumb/gthumb-stock.c: added the GTHUMB_STOCK_FILTER stock icon. * data/glade/gthumb_search.glade: * data/glade/gthumb_tools.glade: use "Search" instead of Find (#335390). 2007-01-03 Paolo Bacchilega * src/dlg-crop.c (dlg_crop): * src/dlg-redeye-removal.c (dlg_redeye_removal): set the size of the window instead of the size of the image selector. * src/gth-browser.c (window_make_current_image_visible): Fixed bug #389590 – update image after delete is broken. * src/gth-dir-list.c: * src/dlg-photo-importer.c: * src/catalog-list.c: * libgthumb/jpegutils/jpegtran.c: * libgthumb/pixbuf-utils.c: * libgthumb/gth-sort-utils.c: * libgthumb/file-utils.c: * libgthumb/dlg-save-image.c: * libgthumb/comments.c: #include when using strcasecmp * libgthumb/gth-file-list.c: implement gth_file_list_delete as a special case of gth_file_list_delete_list 2007-01-02 Paolo Bacchilega * libgthumb/gth-filter.c: * src/gth-filter-bar.c: implemented starts_with, ends_with, contains operations. Make filter case insensitive. * src/dlg-redeye-removal.c (image_selector_clicked_cb): removed call to g_print 2007-01-02 Michael J. Chudobiak * libgthumb/gth-file-list.c: (gth_file_list_op_free), (gth_file_list_queue_op_with_uri), (gth_file_list_queue_op_with_list), (gth_file_list_queue_op_with_int), (gth_file_list_exec_next_op): * libgthumb/jpegutils/jpegtran.c: (update_exif_thumbnail): * src/dlg-jpegtran.c: (apply_transformation): Minor code tweaks for gcc 2.95 compatibility. Patch by Jens Granseuer. Bug 391928. 2007-01-02 Michael J. Chudobiak * README: Removed mention of Bonobo components. Bug 389197. * data/glade/gthumb_redeye.glade: Added tooltips. * doc/C/gthumb.xml: Mention mousewheel-zooming in redeye removal tool. * src/dlg-redeye-removal.c: (dlg_redeye_removal): Larger preview area, based on gdk_screen_get_width/height. Bug 389587. 2007-01-02 Paolo Bacchilega * src/dlg-crop.c: added help button. * src/gth-window-actions-entries.h: * src/gth-viewer.c: * src/gth-browser.c: use the key_press callback for single-key shortcuts to avoid conflict with the filter text entry. * src/gth-filter-bar.h: * src/gth-filter-bar.c: * src/gth-browser.c: * libgthumb/typedefs.h: * libgthumb/Makefile.am: * libgthumb/gth-image-list.h: * libgthumb/gth-image-list.c: * libgthumb/gth-filter.h: * libgthumb/gth-filter.c: * libgthumb/gth-file-view-thumbs.c: * libgthumb/gth-file-view-list.c: * libgthumb/gth-file-view.h: * libgthumb/gth-file-view.c: * libgthumb/gth-file-list.h: * libgthumb/gth-file-list.c: * libgthumb/file-data.h: * libgthumb/file-data.c: second part of the filter implementation: implemented the filter for the gth-image-list widget. Created a simple filter on the filename. 2006-12-28 Paolo Bacchilega * src/dlg-redeye-removal.c (dlg_redeye_removal): (image_selector_motion_notify_cb): (help_cb): readded the help button.