2006-01-04  Paolo Bacchilega  <paobac@cvs.gnome.org>

	[ gthumb 2.7.2 released ]

2006-01-01  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* data/albumthemes: removed BlueStripes, added Flicker theme.
	
	* src/gth-exif-utils.h: 
	* src/gth-exif-utils.c: 
	* src/gth-exif-data-viewer.c (update_exif_data): convert the uri to
	a local path before loading the file.

	* src/catalog-web-exporter.c (gth_parsed_doc_print): use &nbsp; instead
	of a space.

	* libgthumb/gnome-print-font-picker.c (gnome_print_font_picker_get_font_name): 
	* libgthumb/gnome-print-font-dialog.c (gfsd_modify_preview_phrase): 
	fix compiler warnings.

	* data/albumthemes/Makefile.am (SUBDIRS): 
	* configure.in: 

	* libgthumb/file-utils.c (get_temp_dir_name): 
	* src/dlg-catalog.c (new_dir_cb): 
	* src/dlg-web-exporter.c (ensure_local_theme_dir_exists): 
	* src/gth-browser-actions-callbacks.c (create_new_folder_or_library): 

	s/mkdir/dir_make/g

2005-12-31  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* libgthumb/gth-image-list.c (get_drop_target_at): 
	add the vertical and horizontal adjustment when
	calculating the target position.

	* libgthumb/catalog.c (catalog_load_from_disk__common): 
	* libgthumb/bookmarks.c (bookmarks_load_from_disk): 
	* libgthumb/file-utils.h: 
	* libgthumb/file-utils.c (_gnome_vfs_read_line): 

	keep reading the file until a new line character is found.
	use the third argument to define the buffer size.

	* NEWS: updated for 2.7.2

	* src/gth-location.c (update_drives): 
	* src/gth-browser.c (window_update_title): 
	* src/bookmark-list.c: 
	* libgthumb/typedefs.h: 
	* libgthumb/file-utils.h: 
	* libgthumb/file-utils.c: 
	* libgthumb/catalog.h: 
	* libgthumb/catalog.c: 
	* libgthumb/bookmarks.c:

	moved some functions to	file-utils.c.  Make the window title 
	consistent with the bookmark list.

2005-12-30  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* libgthumb/bookmarks.c (bookmarks_write_to_disk)
	(bookmarks_load_from_disk): 
	* libgthumb/file-utils.c (checksum_simple): implemeted using gnome_vfs.

	* src/gth-browser.c (make_url_list): 
	* libgthumb/file-utils.c:
	* libgthumb/catalog.h: 
	* libgthumb/catalog.c: save catalogs using gnome_vfs

	* data/albumthemes/text.h: added Previous, Next, Index.

	* data/albumthemes/Wiki/image.gthtml: 
	* data/albumthemes/Wiki/index.gthtml: 
	* data/albumthemes/Wiki/style.css: 
	* data/albumthemes/Wiki/layout.css: 
	* data/albumthemes/Wiki/Makefile.am (theme_DATA): removed images and 
	javascript code.

	* src/gth-fullscreen.c (preloader_requested_error_cb): fire 
	image_loaded signal after an error.

	* src/gth-window-actions-callbacks.c (set_wallpaper): set wallpaper as 
	local path.

	* src/dlg-open-with.c (open_cb): use 
	gnome_vfs_mime_application_get_exec.
	
	* src/dir-list.c (dir_list_refresh_continue): 

	* src/main.c: 
	* src/gth-browser.c: 
	* src/Makefile.am (gthumb_SOURCES): removed auto-completion.[ch]

	* libgthumb/file-utils.h: 
	* libgthumb/file-utils.c: rearranged the code.

	* libgthumb/comments.c (load_comment_from_iptc)
	(remove_comments_done): removed unused functions.  deal with iptc only 
	supporting local files.

	* src/gth-browser-actions-callbacks.c (catalog_rename): 
	* src/dlg-file-utils.c (dlg_file_rename_series): use gnome_vfs_move 
	instead of rename

	* configure.in: set version to 2.7.2

	* libgthumb/print-callbacks.c: use UCHAR macro.

	* libgthumb/catalog.c: use gnome_vfs to read catalogs.

	* src/gth-location.c (gth_location_set_catalog_uri): 
	* src/gth-browser.c (go_to_uri): 
	* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_bookmarks_add): 
	* libgthumb/file-utils.c (remove_special_dirs_from_path): 
	* libgthumb/bookmarks.c (bookmarks_utils__get_menu_item_name): handle 
	file:// uri correctly.

2005-12-29  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/gth-location.c: added drives to the list.

	* src/rotation-utils.c (update_rotation_from_exif_data): 	
	* src/main.c (save_session): 	
	* src/gth-folder-selection-dialog.c (list_view_button_press_cb): 
	* src/gth-browser.c (go_to_uri): 
	* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_file_new_window): 
	* src/dlg-preferences.c (dlg_preferences): use the new functions.

	* src/gth-monitor.c (directory_changed): 
	* libgthumb/preferences.h: 
	* libgthumb/preferences.c: remove obsolete functions.

	* libgthumb/jpeg-utils.c (do_load_internal): 

	* libgthumb/gth-file-list.c (add_list__get_file_info_done_cb): do not hide
	the toplevel method.

	* libgthumb/glib-utils.h: 
	* libgthumb/glib-utils.c (str_ends_with): new function

	* libgthumb/file-utils.h: 
	* libgthumb/file-utils.c (get_file_path_from_uri)
	(get_search_path_from_uri, remove_scheme_from_uri, uri_scheme_is_file)
	(uri_scheme_is_catalog, uri_scheme_is_search, get_uri_from_path)
	(get_uri_display_name): new functions.

	* src/gth-viewer.c (save_jpeg_data): 
	* src/dlg-open-with.c (dlg_open_with): 
	* libgthumb/print-callbacks.c: 
	* libgthumb/comments.c: fixed compiler warnings.

	* libgthumb/bookmarks.c (bookmarks_utils__get_menu_item_name): 
	use Home as display name for the user home folder, and 'File System' for /

2005-12-27  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/gth-fullscreen.c (fade_faded_cb): reset use_fade only after
	the fade in.

	* doc/C/gthumb.xml: updated.

	* src/gth-fullscreen.c (viewer_key_press_cb): use p to pause/resume a
	slideshow.

	* src/gth-browser.c (key_press_cb): remove p as prev image shortcut.

	* src/gs-fade.c: 
	* src/gs-fade.h: new files.
	* configure.in: 
	* src/gth-fullscreen.c: 

	Fixed bug #312116 – crossfading in slideshow mode.
	
2005-12-25  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/gth-location.c (gth_location_set_bookmarks): remove the separator
	when there is no bookmark.

	* libgthumb/bookmarks.c (bookmarks_remove): free the data before freeing
	the list it belongs to.

	* libgthumb/dlg-save-image.c (file_save_ok_cb): 
	(dlg_save_image): use gnome_vfs_get_file_mime_type to get the mime type.

2005-12-24  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/catalog-web-exporter.c (get_image_filename): 

	Fixed bug #301726 – "Create Web Album" does not use relative 
	paths for images.

	* src/gth-fullscreen.c (viewer_key_press_cb): 

	Fixed bug #310649 – Next/prev keyboard shortcuts in slides mode 
	shouldn't block

	* doc/C/gthumb.xml: update keyboard shortcuts

	* src/rotation-utils.h: 
	* src/rotation-utils.c: 
	* src/dlg-photo-importer.c (adjust_orientation__step): 
	* src/gth-fullscreen.c (monitor_update_files_cb): 

	allow to rotate images in fullscreen mode.

2005-12-23  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/gth-browser.c (key_press_cb): 
	* src/gth-fullscreen.c (viewer_key_press_cb): 
	* src/gth-viewer.c (viewer_key_press_cb): use [ ] to do lossless 
	rotation. r e to rotate the image without saving.
	
	Fixes bug #319467 – Add keyboard shortcut to Lossless JPEG rotation.

	* src/gth-browser.c (gth_browser_notify_files_created): check
	parent_dir before using it.

	* src/gth-batch-op.c: 
	* data/glade/gthumb_tools.glade: 
	* data/gthumb.schemas.in: 
	* libgthumb/preferences.h (PREF_SCALE_SERIES_WIDTH): 
	* src/dlg-scale-series.c (dlg_scale_series): 

	save/restore width and height.  Added ability to select the image type.

	* src/dlg-photo-importer.c (main_dialog_set_sensitive)
	(dlg_photo_importer): 

	Fixed bug #323872 – Import button should be greyed out while importing

	* src/gth-browser.c (key_press_cb): added page_down as next image 
	shortcut.

	* src/gth-fullscreen.c (viewer_key_press_cb): added rotate/flip/mirror
	commands.

	Fixes bug #324812 – rotating images not working in gthumb fullscreen 
	mode.

2005-12-11  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_go_location):
	added file chooser title.
	
	* src/gth-location.c:
	* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_go_location): 
	implemented.

	* src/bookmark-list.h: 
	* src/bookmark-list.c (bookmark_list_set): 
	* src/dlg-bookmarks.c (dlg_edit_bookmarks): 
	* src/gth-folder-selection-dialog.c (gth_folder_selection_construct): 

	Use the menu icons in the bookmarks dialog only, use the mime icons 
	otherwise.
	
2005-12-10  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/gth-location.c (gth_location_set_catalog_uri): 
	* src/gth-browser.c (go_to_uri): fix catalog handling.

	* src/dlg-open-with.c (open_cb): use gnome_vfs_mime_application_get_exec
	instead of app->command.

	* src/main.h (get_icon_for_uri): 
	* src/main.c (get_fs_icon, get_stock_id_for_uri): new functions.
	* src/gth-location.c (update_uri): 
	* src/gth-browser.c (add_bookmark_menu_item): 
	* src/bookmark-list.c (bookmark_list_set): use get_stock_id_for_uri.

	* libgthumb/gtk-utils.c (create_pixbuf): check icon_theme value.

2005-12-09  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* libgthumb/bookmarks.c (bookmarks_utils__get_menu_item_name): 
	show the home folder as USER instead of /home/USER

	* src/gth-location.c: 
	* src/gth-location.c: new files
	* src/gth-browser.c: 
	* src/gth-browser-ui.c: 
	* src/main.c (get_stock_id_for_uri): 
	* src/main.h (get_stock_id_for_uri): new function.

	Removed the location entry.  Use gth_location, which is a specialized 
	combobox with the parent folders list and bookmarks.
	
2005-12-05  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/rotation-utils.c (apply_transformation_jpeg): 

	Fixed bug #318828: Exif Orientation Tag Incorrectly Updated.
	Patch by Pat Suwalski.

	* libgthumb/gthumb-stock.h (GTHUMB_STOCK_SHOW_IMAGE): 
	* libgthumb/gthumb-stock.c: 
	* src/gth-fullscreen-actions-entries.h (G_N_ELEMENTS): 
	* src/gth-browser-actions-entries.h: 

	Removed custom stock icon when a gtk stock icon is suitable.
	
	* src/gth-browser.c (reorder_current_catalog): 

	Fixed catalog reordering when the viewed list is not equal to the 
	catalog	list.

	* src/main.h: 
	* src/main.c (all_windows_notify_catalog_reordered): new function

	notify the catalog reordering and update the view if the window is 
	showing	that catalog.

2005-12-04  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/gth-browser.c (viewer_drag_data_received): init gerror to NULL

2005-11-29  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* libgthumb/file-utils.c (image_is_gif__accurate): 
	* libgthumb/image-loader.c (load_image_thread): use a more accurate
	method to check whether an image is a gif animation.

2005-11-25  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* data/gthumb.desktop.in (_GenericName): added generic name.

	Fixed bug #322158: please add a generic name to the desktop file

2005-11-21  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/gth-viewer-actions-entries.h: 

	Fixed bug #321924: "Sigle Window" is a typo

2005-11-19  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* libgthumb/icons/film-16.png: new icon.
	
	* libgthumb/cursors/void-mask.xbm (void_mask_bits): 
	* libgthumb/cursors/void-data.xbm (void_data_bits): 

	use char[] inseted of unsigned char[] to avoid a warning.

	* libgthumb/nav-window.c (nav_window_new): draw the thumbnail
	during the expose event of the preview.

	* src/dlg-jpegtran.c (apply_transformation_to_all): 
	call dialog_data_free only when the main dialog is not
	used.
	
2005-11-18  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/rotation-utils.c: 
	* src/rotation-utils.h: new files

	* src/dlg-photo-importer.c: 
	* src/dlg-jpegtran.c: 
	* src/Makefile.am: 
	* libgthumb/preferences.h: 
	* data/glade/gthumb_camera.glade: 
	* data/gthumb.schemas.in: 

	Adjust photo orientation on import.  Patch by Andriy Kulchytskyy.
	
2005-11-15  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/gth-browser.c (save_jpeg_data): check whether the image is jpeg
	before saving the jpeg data.

	* components/image-viewer/Makefile.am (GNOME_GThumb_Viewer.xml): 
	* components/catalog-view/Makefile.am (GNOME_GThumb_CatalogView.server.in)
	(GNOME_GThumb_CatalogView.xml): 

	Fixed bug #321500: Makefile.am in components/catalog-view is broken

2005-11-13  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* src/gth-browser.c (load_timeout_cb): no need to fire a warning
	when pos == -1.
	(window_set_sidebar): simplified.

	* data/glade/gthumb_edit.glade:
	* data/glade/gthumb_tools.glade:
	* src/dlg-scale-image.c (ok_cb): 
	* libgthumb/async-pixbuf-ops.c (scale_step): 

	Do not allow to scale images to 1x1, to avoid bug in 
	gdk_pixbuf_scale_simple.
	Fixes bug #305165: gthumb crash resize.
	
	* src/dlg-preferences.c (view_as_cb): change view after a delay to
	avoid crashes when the user changes the view type too quickly (#305097).

	* configure.in: 
	* data/Makefile.am: 

	Removed custom --disable-schemas-install option.
	Fixes bug #321124: Confusing handling of --disable-schemas-install
	
	* data/albumthemes/BlueStripes/thumbnail.gthtml: 
	* data/albumthemes/BlueStripes/image.gthtml: 
	* data/albumthemes/Classic/thumbnail.gthtml: 
	* data/albumthemes/Classic/image.gthtml: 
	* data/albumthemes/ClassicClips/thumbnail.gthtml: 
	* data/albumthemes/ClassicClips/image.gthtml: 
	* data/albumthemes/NeatRound/thumbnail.gthtml: 
	* data/albumthemes/NeatRound/image.gthtml: 
	* data/albumthemes/Wiki/thumbnail.gthtml: 
	* data/albumthemes/Wiki/image.gthtml: 

	Convert the filename to utf8.
	Fixes bug #320947: Create Web Album Tool doesn't generate HTML pages 
	with International characters.

	* libgthumb/print-callbacks.c (_log2): rename log2 as _log2

	Fixes bug #321274: Incorrect log2 definition/detection.