2007-08-27 Paolo Bacchilega * NEWS: updated for version 2.10.6 2007-08-27 Paolo Bacchilega * src/dlg-file-utils.c: * src/gth-browser.c (gth_browser_notify_directory_rename): use path_in_path instead of strncmp. 2007-08-27 Paolo Bacchilega * src/gth-browser.c (window_update_location): go to the home dir if the history is null. 2007-08-26 Paolo Bacchilega * src/gth-browser.c (gth_browser_go_to_catalog): check whether the catalog exist before changing to the catalog view. 2007-08-23 Paolo Bacchilega * src/gth-browser.c (set_cursor_busy): use LEFT_PTR_WATCH as busy cursor instead of GDK_WATCH because we can still use the ui while loading an image or the file list. 2007-08-22 Paolo Bacchilega * src/gth-browser.c (file_list_done_cb): always call window_make_current_image_visible with reset_if_not_found set to FALSE Fixes #469273 – delete photo in viewer mode does not advance to next image 2007-08-22 Paolo Bacchilega * src/gth-window-actions-entries.h: added an undo icon to the Wallpaper_Restore command. * src/gth-window-actions-callbacks.c: allow to set a remote image as desktop wallpaper. 2007-08-22 Paolo Bacchilega * src/gth-browser.c (dir_list_done_cb): add the image to the file list only if the image folder is the same of the file list. 2007-08-22 Paolo Bacchilega * src/gth-browser.c (dir_list_done_cb): add the priv->image to the file list if gth_dir_list returns a NULL list. This fixes the problem described in the previuos changlog entry in a more consistent way. 2007-08-21 Paolo Bacchilega * src/gth-browser.c: * src/gth-fullscreen.c: allow to view an image in fullscreen mode even if the current file list is void. This happens when viewing an image from the web browser, which renames the filename with a .tmp extension * src/gth-browser.c (gth_browser_load_image_from_uri): always use slow mime-type detection when loading an image from a uri. * src/gth-browser.c (launch_selected_videos_or_audio): * src/gth-batch-op.c (load_current_image): no need to calculate the mime-type again, just use the value available in the FileData structure. 2007-08-20 Michael J. Chudobiak * libgthumb/file-utils.c: (get_path_relative_to_uri): * libgthumb/file-utils.h: * src/catalog-png-exporter.c: (paint_frame): * src/catalog-web-exporter.c: (gth_parsed_doc_print): Fixed relative URI handling when the two URIs have different schemes. Bug 468541. Patch by Christophe Bisière. 2007-08-20 Paolo Bacchilega * configure.in: lowered required bonobo version to 2.6.0 2007-08-20 Paolo Bacchilega * src/gth-fullscreen.c: filter out non-images. * src/gth-browser.c: do not allow to go fullscreen if there are no images in the list. * src/gthumb-preloader.c: * libgthumb/gth-image-list.h: * libgthumb/gth-image-list.c: * libgthumb/gth-file-view-thumbs.c: * libgthumb/gth-file-view-list.c: * libgthumb/gth-file-view.h: * libgthumb/gth-file-view.c: removed gth_file_view_only_one_is_selected and gth_file_view_selection_not_null, added gth_file_view_get_n_selected 2007-08-20 Paolo Bacchilega * libgthumb/file-utils.c (gth_pixbuf_new_from_video): resolve all symlinks when loading the video preview for the image loader. No need to resolve the symlinks for the thumb loader because the thumb-loader already resolve the symlinks before calling the image loader. 2007-08-20 Michael J. Chudobiak * src/Makefile.am: Remove trailing whitespace. 2007-08-20 Paolo Bacchilega * libgthumb/image-viewer.c: use GTH_TYPE_FIT as enum type for the set_fit_mode signal, to avoid warnings in newer versions of gtk+ * libgthumb/image-viewer.h: create an gobject type for GthFit 2007-08-19 Paolo Bacchilega * src/gth-browser.c (get_image_to_preload): use get_cache_filename_from_uri instead of get_local_path_from_uri. 2007-08-19 Michael J. Chudobiak * libgthumb/file-utils.c: (get_pixbuf_using_external_converter): Use cached copy of remote file. Fixes bug 468030. 2007-08-19 Paolo Bacchilega * src/gth-location.c: always add the basic elements in the drives section even if no drive is available. * src/gth-browser.c: go to the base catalog dir when file:/// is specified. 2007-08-19 Paolo Bacchilega * libgthumb/gthumb-stock.h: * libgthumb/gthumb-stock.c: * libgthumb/icons/zoom-width-16.png: * libgthumb/icons/zoom-width-24.png: Use the same icons used by evince for the zoom-width command. 2007-08-19 Paolo Bacchilega * libgthumb/print-callbacks.c: do not hide the main print dialog after selecting print. 2007-08-19 Paolo Bacchilega * src/gth-browser.c: do not reload the file list if the show_hidden_files flags has not changed. This fixes a problem that caused the window to reload after a new window was created. 2007-08-19 Paolo Bacchilega * src/gth-browser.c (gth_browser_notify_files_created): Update the file-data info for new files, this way the new files are added respecting the sort order. 2007-08-18 Paolo Bacchilega * src/gth-browser.c (load_timeout_cb): update the mtime to force a reload if the image has changed. * libgthumb/file-utils.c: do not resolve symlinks for remote uris. (copy_file_async): always overwrite the target file. 2007-08-18 Michael J. Chudobiak * libgthumb/file-utils.c: (add_scheme_if_absent): Fix null-string check, bug 467906. Patch by Christophe Bisière. 2007-08-18 Paolo Bacchilega * configure.in: * src/Makefile.am: * src/main.c: * src/gth-window.c: * src/gth-application.h: * src/gth-application.c: * src/GNOME_GThumb.idl: * data/Makefile.am: * data/GNOME_GThumb.server: Use again bonobo to provide the single instance application feature. Removed the gtk-unique dependecy as it's not well maintained, api unstable, poorly available, not enough powerfull. 2007-08-18 Paolo Bacchilega * src/gth-browser-actions-callbacks.c: * src/dlg-write-to-cd.c: * src/dlg-web-exporter.c: * src/dlg-file-utils.c: use build_uri instead of g_build_path when building uris. * libgthumb/file-utils.h: * libgthumb/file-utils.c: make build_uri available outside. 2007-08-18 Paolo Bacchilega * src/gth-browser.c: check whether the uri is an image on start up. * src/gth-batch-op.c: * src/dlg-convert.c: Fixed scale and convert tools for remote images. 2007-08-18 Paolo Bacchilega * src/gth-image-selector.c: * src/dlg-preferences.c: * src/dlg-image-prop.c: * src/dlg-file-utils.c: * src/dlg-duplicates.c: * src/dlg-comment.c: * src/dlg-catalog.c: * src/albumtheme.c: * libgthumb/print-callbacks.c: * libgthumb/preferences.c: * libgthumb/pixbuf-utils.c: * libgthumb/image-viewer.c: * libgthumb/file-data.c: * libgthumb/file-utils.c: * libgthumb/cursors.c: * libgthumb/async-pixbuf-ops.c: removed special char used in the emacs days. * src/rotation-utils.c: * src/gth-window-actions-callbacks.c: * src/dlg-png-exporter.c: * src/catalog-png-exporter.h: * src/catalog-png-exporter.c: Fixed pixbuf saving to remote locations. 2007-08-17 Michael J. Chudobiak * libgthumb/file-utils.c: (uri_has_scheme): Return false if null. * libgthumb/pixbuf-utils.c: (_gdk_pixbuf_savev), (_gdk_pixbuf_save): Add assertion to make sure file is local. 2007-08-16 Paolo Bacchilega * libgthumb/image-viewer.c: * libgthumb/image-viewer.h: Added a shift-w keybinding to force a fit width action. 2007-08-16 Paolo Bacchilega * src/main.c: * src/gth-browser.c: * libgthumb/gth-file-list.c: Do not check whether the uri is a file if it's not necessary, change location in an idle callback to avoid a lock if the authentication dialog is required. Go to the previous location if an error occurs while loading the current location. 2007-08-15 Michael J. Chudobiak * libgthumb/dlg-save-image.c: (dlg_save_image_as): * src/dlg-convert.c: (dlg_convert): * src/dlg-duplicates.c: (dlg_duplicates): * src/dlg-png-exporter.c: (dlg_exporter): * src/dlg-preferences.c: (set_to_current_cb), (dlg_preferences): * src/dlg-scale-series.c: (dlg_scale_series): * src/dlg-search.c: (dlg_search_ui): * src/dlg-web-exporter.c: (dlg_web_exporter): Use gtk_file_chooser_set_current_folder_uri instead of gtk_file_chooser_set_uri when initializing most file chooser dialogs. Fixes bug 467036. 2007-08-15 Paolo Bacchilega * src/gth-browser-actions-callbacks.c: Fixed freeze after opening a new window while viewing a catalog. * libgthumb/file-utils.c (remove_host_from_uri): return NULL if uri is NULL. 2007-08-15 Paolo Bacchilega * src/dlg-rename-series.c: add the image date values into a cache to avoid an excessive amount of file reads each time the template changes. Use fdata->size instead of reading the file size each time. * libgthumb/catalog.c (catalog_get_file_data_list): Filter the list to remove the deleted files. Fixes bug #466967 - crash in gThumb Image Viewer: Clicked on an image in catalog browser mode... 2007-08-15 Paolo Bacchilega * src/gth-window.h: * src/gth-window.c: * src/gthumb-preloader.h: * src/gthumb-preloader.c: * src/gth-fullscreen.c: * src/gth-browser.c: pass the preloader pixbufs to/from the fullscreen window, to avoid unnecessary image loading when entering/exiting the fullscreen mode. 2007-08-15 Michael J. Chudobiak * libgthumb/file-utils.c: (mime_type_is_image), (mime_type_is_video), (mime_type_is_audio): Warn, rather than crash, when mime_type is null. The underlying problem still needs to be fixed. 2007-08-14 Paolo Bacchilega * src/gth-browser.c: * src/dlg-search.c: * libgthumb/gth-file-list.h: * libgthumb/gth-file-list.c: Do not create thumbnails for non-visible images on remote uris. 2007-08-13 Paolo Bacchilega * libgthumb/file-utils.c (remove_host_from_uri): check if idx is at the end of the string instead of checking whether it's NULL, as suggested in #464023 by Christophe. 2007-08-13 Paolo Bacchilega * src/rotation-utils.h: * src/rotation-utils.c: * src/dlg-photo-importer.c: * src/dlg-jpegtran.c: * src/catalog-web-exporter.c: * libgthumb/jpegutils/jpegtran.h: * libgthumb/jpegutils/jpegtran.c: * libgthumb/file-utils.c: Fixed ui freeze caused by the trim dialog. Always trim images in the web-exported, never trim images in the photo importer, ask what to do when using the rotation utils. 2007-08-11 Paolo Bacchilega * libgthumb/thumb-loader.c: do not save thumbnails from the user's thumbnail directory. Use the "large" subdirectory when using big thumbnails. * libgthumb/file-utils.c (remove_host_from_uri): return "/" if the uri is "file://" 2007-08-11 Paolo Bacchilega * libgthumb/file-utils.h: * libgthumb/file-utils.c: added function add_filename_to_uri * src/dlg-write-to-cd.c: * src/dlg-file-utils.c: use add_filename_to_uri here * libgthumb/comments.c (comments_get_comment_filename): do not return NULL for non-local uris. 2007-08-11 Paolo Bacchilega * src/gth-browser.c (_set_fullscreen_or_slideshow): do not reverse the file list. 2007-08-11 Paolo Bacchilega * src/gth-browser.c (gth_browser_load_image_from_uri): update the mime-type here. (load_timeout_cb): no need to update the file info here. 2007-08-11 Paolo Bacchilega * libgthumb/gth-file-list.c (load_new_list): Fixed bug #465414 – change comment and image shown twice in browser 2007-08-11 Paolo Bacchilega * src/gth-window-actions-entries.h: * src/gth-window-actions-callbacks.h: * src/gth-window-actions-callbacks.c: * libgthumb/image-viewer.c: Added shift+x keybinding to always perform zoom to fit. Fixes bug #464446 – Zoom to Fit feature vanished from UI 2007-08-11 Paolo Bacchilega * src/dlg-rename-series.c (dlg_rename_series): no need to unescape the template. Fixes bug #464348 – Rename tool breaks if template = "%f1%e" 2007-08-11 Paolo Bacchilega * src/gth-browser.c: use a private variable to store the fast_file_type preference, to avoid a lot of gconf key reads. * src/gth-viewer.c: * src/gthumb-preloader.c: * src/gth-browser.c: * libgthumb/gth-file-list.c: do not update the mime-type when we just need to update the mtime. * libgthumb/file-data.h: * libgthumb/file-data.c: added file_data_update_info to update the file info without updating the mime type. 2007-08-11 Paolo Bacchilega * src/gth-browser-actions-callbacks.c: * src/gth-browser.c: * src/dlg-file-utils.c: * src/dlg-catalog.c: Fixed catalog renaming and moving. 2007-08-10 Michael J. Chudobiak * src/gth-browser.c: (window_update_image_info): Fixed indentation. 2007-08-10 Paolo Bacchilega * src/gth-dir-list.c: * src/catalog-list.c: * libgthumb/file-utils.c: Updated all the calls to path_list_new, which returns a FileData list for files. 2007-08-10 Paolo Bacchilega * configure.in: bumped version number to 2.10.6 to differentiate current development version from the latest released version. 2007-08-10 Paolo Bacchilega * src/rotation-utils.c: * src/gth-window-actions-callbacks.c: * src/dlg-photo-importer.c: * libgthumb/file-utils.h: * libgthumb/file-utils.c: * libgthumb/comments.c: Create a temp dir where there is the bigger free space. Fixed escaping of the temp dir. Use gnome-vfs to clear the local cache when it's too big. 2007-08-09 Paolo Bacchilega * libgthumb/gth-exif-utils.c (exif_string_to_time_t ): added some checks on input string. (get_exif_time): allocate 64 bytes instead of 21, just in case. 2007-08-09 Paolo Bacchilega * src/rotation-utils.c: * src/gth-image-selector.c: * src/gth-browser.c: * src/dlg-web-exporter.c: * libgthumb/image-viewer.c: * libgthumb/image-loader.c: * libgthumb/gth-image-list.c: * libgthumb/file-utils.c: * libgthumb/async-pixbuf-ops.c: Some variables were used before initialization. Initialize the false positives too, in order to shut up compiler. 2007-08-09 Michael J. Chudobiak * libgthumb/file-utils.c: (get_pixbuf_using_external_converter), (gth_pixbuf_new_from_file): get_pixbuf_using_external_converter was broken, because "g_spawn_command_line_sync" does not accept pipes ("|") in the command line. Reverted to "system" for converting HDR files. The RAW dcraw convert command is simple enough that g_spawn_command_line_sync is OK. For tiff files, I backported changes from trunk to just use the standard gdk_pixbuf loader for thumbnails, even though it is a memory hog. This removes one instance of system/g_spawn_command_line_sync. (trunk used this method because tifftopnm -byrow loses the tiff orientation tag.) Still getting uricmp crashes (bug 464777). 2007-08-09 Paolo Bacchilega * src/gth-dir-list.c: use the file_filter function to filter files. * src/gth-browser.c: filter the changed files list, before adding them to the list. * src/gth-viewer.c: * src/gthumb-preloader.c: * src/gth-fullscreen.c: * src/dlg-photo-importer.c: * libgthumb/thumb-loader.c: * libgthumb/image-viewer.c: * libgthumb/image-loader.c: * libgthumb/gth-image-list.c: * libgthumb/gth-file-list.c: * libgthumb/file-utils.h: * libgthumb/file-utils.c: * libgthumb/file-data.h: * libgthumb/file-data.c: * libgthumb/catalog.c: Added file_data_update_mime_type to update the mime-type when needed. Fixed some file_data ref/unref bugs. * src/dlg-png-exporter.c: * src/catalog-png-exporter.c: use a file_data list instead of a path list. 2007-08-08 Paolo Bacchilega * libgthumb/gth-image-list.h: * libgthumb/gth-image-list.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.c: ref/unref file_data values in the file views (maybe fixes #464777). * libgthumb/file-data.h: * libgthumb/file-data.c: added a boxed type. * libgthumb/comments.c: check file existence before trying to load the xml file, to avoid a libxml warning. 2007-08-08 Paolo Bacchilega * src/dlg-file-utils.c: * src/dlg-duplicates.c: * libgthumb/image-loader.c: added some comments to FIXMEs * src/dlg-photo-importer.c: removed info argument, update the file_data structure before using it. 2007-08-08 Paolo Bacchilega * src/rotation-utils.c (apply_transformation_jpeg): always restore the file permissions here. * src/dlg-photo-importer.c: no need to restore file permissions here. 2007-08-08 Paolo Bacchilega * src/gth-viewer.c (monitor_file_renamed_cb): fixed memory leak. * src/dlg-photo-importer.c: use get_uri_from_local_path instead of get_uri_from_path * src/main.c: * src/gth-location.c: * src/gth-browser-actions-callbacks.c: * src/gth-browser.c: * libgthumb/file-utils.h: * libgthumb/file-utils.c: * libgthumb/file-data.c: rename get_uri_from_path as add_scheme_if_absent, do avoid confusion with get_uri_from_local_path. 2007-08-08 Paolo Bacchilega * src/gth-browser.c: Set progress bar height to 10. * libgthumb/file-utils.c: * data/gthumb.schemas.in: hide filenames and image preview by default. 2007-08-08 Michael J. Chudobiak * libgthumb/comments.c: (delete_comment_iptc): filename <-> uri typo, which prevented building. 2007-08-08 Paolo Bacchilega * src/rotation-utils.c: * src/gth-browser.c: * src/dlg-web-exporter.c: * src/dlg-photo-importer.c: * src/catalog-web-exporter.h: * src/catalog-web-exporter.c: * libgthumb/jpegutils/jpegtran.h: * libgthumb/jpegutils/jpegtran.c: * libgthumb/jpegutils/jpeg-data.c: * libgthumb/image-loader.c: * libgthumb/gth-exif-utils.c: * libgthumb/file-utils.c: * libgthumb/comments.h: * libgthumb/comments.c: Do not load/save comments for remote images because these operations cannot be async without big changes to the code. Get the mime-type for remote files from the filename only. Use a file_data list for the web exporter to minimize file access operations, fixed uri/local_path convertions. 2007-08-08 Paolo Bacchilega * data/albumthemes/Wiki/image.gthtml: * data/albumthemes/Flicker/image.gthtml: * data/albumthemes/NeatRound/image.gthtml: removed max_size attribute for the comment in the image page. 2007-08-08 Michael J. Chudobiak * AUTHORS: use svn.gnome.org addresses, rather than cvs.gnome.org * MAINTAINERS: update formatting as per desktop-devel-list@gnome.org 2007-08-07 Paolo Bacchilega * libgthumb/comments.h: * libgthumb/comments.c: 2007-08-07 Paolo Bacchilega * src/main.c (folder_is_film): return false for remote folders. 2007-08-06 Paolo Bacchilega * src/gth-window-actions-callbacks.c: * src/gth-window.h: * src/gth-window.c: * src/gth-viewer.c: * src/gthumb-preloader.c: * src/gth-browser-actions-callbacks.c: * src/gth-browser.c: * src/dlg-reset-exif.c: * src/dlg-redeye-removal.c: * src/dlg-photo-importer.c: * src/dlg-jpegtran.c: * src/dlg-file-utils.c: * src/dlg-crop.c: * libgthumb/image-loader.c: * libgthumb/gth-exif-utils.c: * libgthumb/file-utils.h: * libgthumb/file-utils.c: * libgthumb/dlg-save-image.h: * libgthumb/dlg-save-image.c: Make saving of remote images async. Duplicate the file_data in the preloader in order to reload the image if changed. 2007-08-06 Paolo Bacchilega * src/gth-window-actions-callbacks.c: * src/dlg-reset-exif.h: * src/dlg-reset-exif.c: * src/dlg-jpegtran.c: make reset_exif async for remote files. * data/glade/gthumb_tools.glade: added a info icon in the reset exif dialog. 2007-08-06 Paolo Bacchilega * src/rotation-utils.h: * src/rotation-utils.c: * src/gth-window-actions-callbacks.c: * src/gth-viewer.c: * src/gth-exif-data-viewer.c: * src/gth-browser.c: * src/dlg-web-exporter.c: * src/dlg-photo-importer.c: * src/dlg-jpegtran.h: * src/dlg-jpegtran.c: * src/catalog-web-exporter.c: * libgthumb/jpegutils/jpegtran.c: * libgthumb/thumb-loader.c: * libgthumb/print-callbacks.c: * libgthumb/pixbuf-utils.h: * libgthumb/pixbuf-utils.c: * libgthumb/image-loader.c: * libgthumb/gtk-utils.c: * libgthumb/gth-exif-utils.c: * libgthumb/file-utils.h: * libgthumb/file-utils.c: * libgthumb/file-data.h: * libgthumb/file-data.c: Other batch of changes to make loading/saving of remote files async. Some functionality can be broken at this point. 2007-08-06 Paolo Bacchilega * libgthumb/thumb-loader.c: * libgthumb/gth-file-list.c: move the resolve_links op in the thumb_loader. Resolve only local files. 2007-08-06 Paolo Bacchilega * src/gth-browser.c: added the prograssbar to a vbox to make the size_request work correctly. 2007-08-06 Paolo Bacchilega * src/gth-viewer.c: * libgthumb/image-loader.c: fix ref/unref of file_data values. 2007-08-06 Paolo Bacchilega * libgthumb/image-loader.c: * libgthumb/thumb-loader.c: reverted last change. 2007-08-05 Paolo Bacchilega * libgthumb/thumb-loader.c (thumb_loader): use the image_loader thumb_factory. * libgthumb/image-loader.h: * libgthumb/image-loader.c: added a file_mutex for handling the file field. 2007-08-05 Paolo Bacchilega * src/main.c: * src/gth-window.h: * src/gth-window.c: * src/gth-viewer-actions-callbacks.c: * src/gth-viewer.h: * src/gth-viewer.c: * src/gthumb-preloader.h: * src/gthumb-preloader.c: * src/gth-fullscreen.h: * src/gth-fullscreen.c: * src/gth-exif-data-viewer.h: * src/gth-exif-data-viewer.c: * src/gth-browser-actions-callbacks.c: * src/gth-browser.h: * src/gth-browser.c: * src/gth-batch-op.c: * src/dlg-image-prop.c: * src/dlg-file-utils.c: * src/dlg-convert.c: * libgthumb/thumb-loader.c: * libgthumb/image-viewer.h: * libgthumb/image-viewer.c: * libgthumb/image-loader.h: * libgthumb/image-loader.c: * libgthumb/gth-exif-utils.c: * libgthumb/file-utils.h: * libgthumb/file-utils.c: * libgthumb/file-data.h: * libgthumb/file-data.c: * libgthumb/catalog.h: * libgthumb/catalog.c: Use a file_data instead of a simple uri to minimize accesses to files. Started work to make loading of remote files async. 2007-08-04 Paolo Bacchilega * libgthumb/thumb-loader.h: * libgthumb/thumb-loader.c: use a file_data structure to store all the info about the file to load. This minimize the number of accesses to the file, which is important for remote files. * src/dlg-duplicates.c: * libgthumb/file-utils.h: * libgthumb/file-utils.c: pass an optional filter function argument to path_list_async_new * libgthumb/thumb-cache.c: * src/gth-dir-list.h: * src/gth-dir-list.c: make the filtering here instead of gth-file-list.c * libgthumb/gth-file-list.h: * libgthumb/gth-file-list.c: removed the file filtering from here. This reduces the number of accesses to files. * libgthumb/image-loader.h: * libgthumb/image-loader.c: removed the path argument from the image loader costructor. * src/gthumb-preloader.c: * src/gth-batch-op.c: * src/dlg-search.c: * src/dlg-photo-importer.c: * src/dlg-jpegtran.c: * src/dlg-convert.c: * src/catalog-web-exporter.c: * src/catalog-png-exporter.c: * libgthumb/print-callbacks.c: * libgthumb/image-viewer.c: changed all the calls to image_loader_new, thumb_loader_new and other minor changes. * libgthumb/glib-utils.h: * libgthumb/glib-utils.c: added get_static_string * libgthumb/file-data.h: * libgthumb/file-data.c: minor api changes. * libgthumb/gthumb-init.c: moved prune_cache outside ensure_directories_exist 2007-07-31 Paolo Bacchilega * src/gth-browser.c: call window_make_current_image_visible with reset_if_not_found set to FALSE if load_image_folder_after_image is TRUE. 2007-07-30 Paolo Bacchilega * libgthumb/gth-exif-utils.h: * libgthumb/gth-exif-utils.c: Applied patch #92687 in bug #461538 to read the exif value even when the standard is not followed correctly. Patch by Joakim. 2007-07-30 Paolo Bacchilega * libgthumb/gth-exif-utils.c (gth_minimal_exif_tag_action): Fixes crash described in bug #461538. Patch by Joakim. 2007-07-30 Paolo Bacchilega * src/gth-browser.c: use gnome_vfs_mime_application_equal to compare apps. 2007-07-29 Paolo Bacchilega * libgthumb/file-utils.c (uricmp): return 0 only if both uris are NULL 2007-07-29 Paolo Bacchilega * libgthumb/gth-exif-utils.c (gth_minimal_exif_tag_action): return PATCH_EXIF_NO_TAGS instead of continuing when we are not able to read the value (see bug #461538). 2007-07-29 Paolo Bacchilega * libgthumb/gth-file-list.c (gth_file_list_op_new): specify missing argument type for gth_file_list_op_new 2007-07-29 Paolo Bacchilega * libgthumb/gth-file-list.c: * libgthumb/gth-image-list.h: * libgthumb/gth-image-list.c: * libgthumb/gth-file-view-thumbs.c: relayout without calling a timeout callback after thawing the list, this is because make_image_visible, in gth-browser.c, needs an already layouted list in order to work correctly. 2007-07-29 Paolo Bacchilega * src/gth-browser.c (activate_catalog_done): (file_list_done_cb): Fixed bug #439043 calling window_make_current_image_visible with reset_if_not_found set to TRUE. 2007-07-29 Paolo Bacchilega * src/gth-browser.c: call gth_file_list_set_show_hidden_files when the PREF_SHOW_HIDDEN_FILES value changes. * libgthumb/gth-file-list.h: * libgthumb/gth-file-list.c: added a gth_file_list_set_show_hidden_files function. Read the PREF_SHOW_HIDDEN_FILES value only after a gconf notification. * libgthumb/gth-exif-utils.c: removed the get_mplayer_time function because new features do not belong to stable branches. 2007-07-20 Michael J. Chudobiak * src/gth-browser.c: (monitor_update_files_cb): * src/gth-monitor.c: (add_monitor_event): Removed debugging ifdefs that were overlooked before. Run-time debug message control is used now. 2007-07-20 Michael J. Chudobiak * README: mention optional use of midentify. 2007-07-20 Michael J. Chudobiak * libgthumb/file-data.c: (file_data_load_exif_data): * libgthumb/gth-exif-utils.c: (get_mplayer_time), (get_metadata_time), (have_exif_time): * libgthumb/gth-exif-utils.h: * src/catalog-png-exporter.c: (image_loader_done): * src/catalog-web-exporter.c: (gth_parsed_doc_print), (image_loader_done): * src/dlg-change-date.c: (exif_time_available), (ok_clicked): * src/dlg-comment.c: (get_requested_time), (date_optionmenu_changed_cb): * src/dlg-rename-series.c: (get_image_date): * src/gth-browser.c: (window_update_statusbar_image_info): * src/gth-fullscreen.c: (get_file_info): * src/gth-viewer.c: (viewer_update_statusbar_image_info): Replace get_exif_time and get_mplayer_time with a more genereal get_metadata_time function. Minor corrections. 2007-07-20 Michael J. Chudobiak * libgthumb/gth-exif-utils.c: (get_mplayer_time): Use unescaped filenames. 2007-07-20 Michael J. Chudobiak * libgthumb/gth-exif-utils.c: (get_mplayer_time): Delete tmp dirs properly. 2007-07-20 Michael J. Chudobiak * NEWS: * libgthumb/file-data.c: (file_data_load_exif_data): * libgthumb/gth-exif-utils.c: (get_mplayer_time): * libgthumb/gth-exif-utils.h: Added code to extract video DateTime tags using mplayer's midentify tool, if present. 2007-07-19 Michael J. Chudobiak * NEWS: * src/dlg-photo-importer.c: (delete_images__init), (delete_images__step), (adjust_orientation__done), (adjust_orientation__step): * src/rotation-utils.c: (apply_transformation_jpeg), (apply_transformation_generic): * src/rotation-utils.h: Fixed bug #446792, gThumb deletes pictures on failed import, by stopping deletes if the rotation functions fail. 2007-07-19 Michael J. Chudobiak * NEWS: * src/rotation-utils.c: (apply_transformation_jpeg): Part of the rotation code needs to use escaped file names. Fixes bug #457936. Patch by Manuel Braga. 2007-07-19 Michael J. Chudobiak * libgthumb/file-utils.c: (uricmp): Add some NULL checks to try to fix vexatious bug #443006. * libgthumb/comments.c: (comment_data_equal): * libgthumb/file-utils.c: (get_file_mime_type), (mime_type_is), (image_is_type), (uricmp): * libgthumb/glib-utils.c: (strcmp_null_tolerant): * libgthumb/glib-utils.h: * libgthumb/thumb-loader.c: (thumb_loader_save_to_cache): * src/dlg-comment.c: (text_field_cmp), (dlg_comment_update): * src/gth-batch-op.c: (load_current_image): Spelling: tollerant -> tolerant 2007-07-18 Michael J. Chudobiak * NEWS: * src/gth-browser.c: (catalog_activate), (gth_browser_go_to_directory): Fixed bug #439043 - Preview area always shows last selected image. Set image viewer to void when switching folders or catalogs. 2007-07-18 Michael J. Chudobiak * src/gth-browser.c: (window_update_go_sensitivity), (window_progress), (window_make_current_image_visible), (gth_file_list_cursor_changed_cb), (window_enable_thumbs), (image_clicked_cb), (mouse_wheel_scrolled_cb), (file_list_done_cb), (dir_list_done_cb), (gth_browser_construct), (close__step2), (gth_browser_close), (stop__step5), (stop__step4), (stop__step2), (gth_browser_go_to_catalog), (gth_browser_show_next_image), (gth_browser_show_prev_image): Deleted some unused (i.e., never set to TRUE) boolean variables. 2007-07-18 Michael J. Chudobiak * NEWS: * src/gth-browser.c: (set_cursor_busy), (set_cursor_not_busy), (catalog_activate), (image_requested_error_cb), (image_requested_done_cb), (file_list_done_cb), (create_new_file_list), (gth_browser_construct), (close__step6), (gth_browser_go_to_directory), (load_timeout_cb): Add/fix a busy cursor when loading folders and preloading the selected image. 2007-07-17 Michael J. Chudobiak * NEWS: * libgthumb/gth-file-list.c: (gth_file_list_init), (load_new_list): Fixed Ctrl+H (show/hide hidden files) function. It updated the gconf preference, but not the active file lists. 2007-07-17 Michael J. Chudobiak * NEWS: * data/gthumb.schemas.in: Show filenames by default. Bug #452831. 2007-07-17 Michael J. Chudobiak * NEWS: * data/gthumb.schemas.in: Show preview pane by default. Bug #452833. 2007-07-17 Michael J. Chudobiak * NEWS: * libgthumb/gth-file-view-list.c: (gfv_sorted), (gth_file_view_list_new): Fixed bug #457685 - sort by Exif DateTime broken in list mode. 2007-07-17 Michael J. Chudobiak * libgthumb/gth-file-list.c: (gth_file_list_update_next_thumb): Try loading more thumbnails into memory for faster navigation (load visible images, plus 200 before and 200 after visible range). 2007-07-17 Michael J. Chudobiak * libgthumb/gth-exif-utils.c: (get_exif_time): Return DateTimeOriginal or DateTimeDigitized if DateTime is not present. 2007-07-17 Michael J. Chudobiak * libgthumb/gth-exif-utils.c: (get_exif_time): Add support for remote files, and return 0 for invalid times, instead of -1. 2007-07-12 Michael J. Chudobiak * NEWS: * libgthumb/file-data.c: (file_data_load_exif_data): * libgthumb/gth-exif-utils.c: (exif_string_to_time_t), (get_exif_time), (gth_minimal_exif_tag_action), (gth_minimal_exif_tag_read), (gth_minimal_exif_tag_write), (read_orientation_field): * libgthumb/gth-exif-utils.h: Backports from trunk and metadata-ideas to permit faster folder loading in sort-by-Exif-DateTime mode. Adds internal exif tag decoder to bypass libexif. 2007-07-12 Michael J. Chudobiak * libgthumb/gth-exif-utils.c: (gth_minimal_exif_tag_write), (write_orientation_field): * libgthumb/gth-exif-utils.h: Removed unused parameter (ifds). 2007-07-11 Paolo Bacchilega * libgthumb/file-utils.c (get_uri_host): always return a non-NULL value Fixes bug #455911 – Symlink/vfs problem 2007-07-11 Michael J. Chudobiak * NEWS: * libgthumb/file-utils.c: (xdg_user_dir_lookup): Ensure the XDG "PICTURES" folder exists before using it. * src/dlg-photo-importer.c: (dlg_photo_importer): Set the import folder properly (use gtk_file_chooser_set_current_folder_uri, not gtk_file_chooser_set_uri. Required to make XDG default folder work. 2007-07-09 Michael J. Chudobiak * src/dlg-web-exporter.c: (dlg_web_exporter), (show_album_theme_cb): Make dialogs modal. 2007-07-09 Michael J. Chudobiak * NEWS: * data/albumthemes/Classic/thumbnail.gthtml: * data/albumthemes/ClassicClips/thumbnail.gthtml: * data/albumthemes/Flicker/thumbnail.gthtml: * data/albumthemes/NeatRound/thumbnail.gthtml: * data/albumthemes/Wiki/thumbnail.gthtml: * src/albumtheme.c: * src/lex.albumtheme.c: Fixed bug #454489. Theme uses the wrong captions in the thumbnails. Patched by Jef Driesen. 2007-07-05 Michael J. Chudobiak * NEWS: * libgthumb/print-callbacks.c: (catalog_set_standard_page_size): Use gtk_paper_size_free instead of g_free. Bug #454037. Patch by Pascal Terjan. 2007-07-05 Michael J. Chudobiak * NEWS: * libgthumb/comments.c: (save_comment): Check for invalid unicode in embedded comments. Bug #453986. 2007-06-26 Michael J. Chudobiak * NEWS: * libgthumb/file-utils.c: (delete_thumbnail): * libgthumb/file-utils.h: New function, to delete cached thumbnails corresponding to a given image. * src/dlg-file-utils.c: (xfer_file), (dlg_files_delete): Use the new function to delete thumbnails when deleting images. Only works at the file level - doesn't do anything when folders are deleted. Bug #450675.