2005-11-01 Lucas Rocha <lucasr@cvs.gnome.org>
* libeog/eog-full-screen.c: make F9 key only cancel slide
show and F11 only cancel fullscreen mode.
* shell/eog-window.c (verb_FullScreen_cb): string comparison
with g_ascii_strcasecmp().
2005-11-01 Lucas Rocha <lucasr@cvs.gnome.org>
* libeog/eog-scroll-view.c, shell/eog-window.c: on single
image view, default focus on scroll-view. On collection view,
default focus on wrap-list (Fixes bug #169836).
2005-10-29 Lucas Rocha <lucasr@cvs.gnome.org>
* eog.glade, eog.schemas.in, libeog/eog-config-keys.h,
libeog/eog-full-screen.c, libeog/eog-full-screen.h,
shell/eog-preferences.c, shell/eog-window.c: implement
a more consistent fullscreen/slide show behavior. Checkbox
that activate/deactivate the automatic image switching removed
from preferences (and from gconf schema) because slide show
always do that. After starting a slide show (F9), the only keys
the user can use are those that stop the show. Fullscreen (F11)
can be activated in a single image or collections. On fullscreen
mode, the user can use keys to switch to next, previous, first
and last images and exiting fullscreen (Fixes bug #317392).
2005-10-27 Lucas Rocha <lucasr@cvs.gnome.org>
* libeog/eog-info-view.c: fix width of the information
pane that was too small (Fixes bug #313674). Patch
from Ed Catmur <ed@catmur.co.uk>.
2005-10-24 Lucas Rocha <lucasr@cvs.gnome.org>
* libeog/eog-thumbnail.c: fix crash when adding new
non-image files to a directory eog watches (Fixes bug
#311925) and when trying to view a PNG image with a
JPEG extension (Fixes bug #316808). Patch from
Callum McKenzie <callum@physics.otago.ac.nz>
2005-10-22 Lucas Rocha <lucasr@cvs.gnome.org>
* libeog/eog-image-jpeg.c: fix RGBA->RGB conversion when saving
PNG images to JPEG (Fixes bug #314742). Patch from Felix Riemann
<felix@hsgheli.de>.
2005-10-12 Lucas Rocha <lucasr@cvs.gnome.org>
* libeog/eog-image.c, libeog/eog-wrap-list.c, shell/eog-window.c:
Update window title when saving in another location (Fixes bug #318318).
Asks to overwrite target file instead of source when 'Saving
as' (Fixes bug #162627). Don't crash when removing images from a
collection (Fixes bug #313003).
* shell/eog-file-chooser.c: no "Open in new window" option on
save action. Fixes bug #318734.
* configure.in, NEWS: Update for 2.12.1
* libeog/eog-image.c, libeog/eog-thumbnail.c: Fix
a couple of crashing bugs. Fixes bugs #313892 and
#313397. Patches from lucasr.at.mundo@gmail.com.
* shell/eog-window.c: Update the statusbar correctly.
Fixes bug #317757, patch from lucasr.at.mundo@gmail.com.
<ross@burtonini.com> which stops creating joinable threads
when the threads are never joined. This saves 8M from the
virtual address space for every thread created, and never
returned.
2005-07-14 Philip Van Hoof <pvanhoof@gnome.org>
* configure.in, libeog/eog-image.c, libeog/eog-image.h,
shell/eog-gtk-ui.xml, shell/eog-window.c: Printing support
* libeog/eog-image.c: Bugfix for Bug #310351
* shell/eog-gtk-ui.xml, shell/eog-window.c: Apply patch from
Jaap A. Haitsma <jaap@haitsma.org> to use Ctrl-= to zoom in and Ctrl-0
to go to "Normal Size". Closes bug #109412.
* configure.in, eog-info-view-exif.c: remove support for very old
libexif version 0.5.12.
* Apply patch from Paolo Borelli <pborelli@katamail.com> to rework
the statusbar to new Gtk API. Closes bug #309118.
* Update NEWS for 2.11.0
* eog.glade, shell/eog-preferences.c, shell/eog-preferences.h:
Apply patch from Paolo Borelli <pborelli@katamail.com> to
make preferences and help dialog launch in the center of the
parent window. Closes bug #144631.
* shell/eog-window.c: Patch from Paolo Borelli to fix miscalculated
zoom amount. Closes bug #308910.
* libeog/eog-scroll-view.c, libeog/eog-scroll-view.h,
shell/eog-window.c: Another patch from Paolo Borelli to
desensitize zoom in/out buttons at max/min zoom levels.
2005-06-23 Tim Gerla <tim@gerla.net>
* libeog/*.c, shell/*.c:
Apply patch from Kjartan Maraas <kmaraas@gnome.org>:
config.h has to be the first file included in a .c file and
it must not be included more than once else you get undefined
behaviour and broken translations etc. This patch fixes this up,
along with a couple of other minor memory-management bugs.
CVl: ----------------------------------------------------------------------
2005-06-18 Tor Lillqvist <tml@novell.com>
* shell/main.c (get_installation_subdir, eog_get_datadir,
eog_get_icondir, eog_get_localedir): [Win32] New functions, used
to implement run-time lookup of DATADIR, ICONDIR and LOCALEDIR,
instead of using configure-time paths. Use them by redefining the
macros.
* shell/util.h: [Win32] Declare eog_get_datadir() and
eog_get_icondir().
* shell/eog-preferences.c
* shell/eog-window.c: Use them here, too.
* shell/Makefile.am (INCLUDES): Pass also $prefix to the
compilation.
* libeog/Makefile.am (INCLUDES): Remove unused GNOMELOCALEDIR and
EOG_DATADIR definitions.
2005-06-17 Tor Lillqvist <tml@novell.com>
* configure.in: Don't check for sigsetjmp, it's a macro on
Linux, and AC_CHECK_FUNCS won't find it.
* libeog/eog-image-jpeg.c: So instead, conditionalize its use
directly on G_OS_WIN32.
2005-06-17 Tor Lillqvist <tml@novell.com>
Port to Windows, not because there wouldn't be enough good image
viewers on Windows already, but mostly to have a relatively simple
testbed for the libraries that eog uses.
* configure.in: Don't do the X11 checks unless GTK target is
X11. Check for fsync() and sigsetjmp().
* Makefile.am (install-data-local): Workaround MSYS feature.
* shell/Makefile.am
* libeog/Makefile.am
* shell/main.c: Rename DATADIR to EOG_DATADIR as the
mindbogglingly wildly namespace-stomping Windows headers that
gnome-vfs-address.h drags in clash with DATADIR.
* */Makefile.am: Link with LIBJPEG.
* libeog/eog-full-screen.c
* shell/eog-window.c: Conditionalize use of X11 and Unix API. No
attempt to do the corresponding things on Win32 yet, so the
behaviour might not be similar.
* libeog/eog-image-jpeg.c: Unless HAVE_SIGSETJMP, use plain setjmp
and longjmp.
* libeog/test-eog-job.c: Use g_usleep() instead of sleep().
* shell/main.c: Don't call gnome_authentication_manager_init() on
Windows, hasn't been ported yet, if ever.
* shell/recent-files/egg-recent-model.c: Bypass use of lockf() on
Windows.
* shell/recent-files/egg-recent-util.c: Use GetComputerName()
instead of gethostname() on Windows. (There is a gethostname() in
WinSock, but it seems unnecessary to drag in WinSock just for
that.)
2005-05-10 Jens Finke <jens@triq.net>
* libeog/eog-image.c (eog_image_real_load): Check gdk_pixbuf_writer_close
for errors. Part of the fix for #155553.
2005-04-11 Jens Finke <jens@triq.net>
* eog.glade: Added checkbox to disable auto switching of images in slideshow.
* eog.schemas.in: New key full_screen/auto_advance
* shell/eog-preferences.c (check_auto_advance_toggle_cb): Disable spin button
when unchecked, otherwise enable it.
* libeog/eog-fullscreen.c (eog_full_screen_new): Auto advance of images depend
on auto_advance gconf key, not whether seconds are greater zero.
2005-04-05 Jens Finke <jens@triq.net>
* libeog/eog-collection-item.c (get_item_image_caption): Escape caption before
setting as markup string in text item. Fixes#164163.
2004-12-04 Jens Finke <jens@triq.net>
* libeog/eog-file-selection.c: (eog_file_selection_toggle_button_cb),
(eog_file_selection_add_open_new_window): New functions.
Add check box to let user decide to open an URI in the same window
or open a new one.
2004-11-15 James Henstridge <james@jamesh.id.au>
* libeog/eog-collection-item.c (eog_collection_item_construct):
fix a bug setting the fill colour for the item's caption that was
causing a crash on startup. Fixes bug #155241.
2004-09-26 Jens Finke <jens@triq.net>
* libeog/eog-full-screen.c (show_nth_image): New function.
(prepare_data): Set first_iter always to the first iter of the
image list.
(eog_full_screen_key_press): Enable Pos1 and End keys to switch
to start/end of the slideshow. Enable PageDown and PageUp keys
for browsing to next/previous image.
2004-07-26 Jens Finke <jens@triq.net>
* shell/eog-window.c (save_as_file_selection_dialog): New function.
(save_as_single_image): Assert that we can always determine
the image format - #148190.
* libeog/eog-pixbuf-util.[ch] (eog_pixbuf_get_format_by_vfs_uri),
(eog_pixbuf_get_format_by_uri): New functions.
2004-07-24 Grzegorz Golawski <grzegol@pld-linux.org>
* configure.in: Check for libexif = 0.5.12 and newer versions.
* libeog/eog-info-view-exif.c: Consider API changes with new libexif.
2004-05-25 Jens Finke <jens@triq.net>
This is a fairly large patch, which makes fundamental changes. It
is a work in progress and is not fully functional yet again. Use
the BEFORE_GTK_UI_MANAGER_SWITCH tag to checkout the latest
working version.
* libeog/Makefile.am: Moved eog-wrap-list.[ch],
eog-canvas-pixbuf.[ch], eog-collection-item.[ch] here.
* collection/Makefile.am: Removed above files from here. Killed
eog-collection-marshal.list.
* shell/Makefile.am: Link with jpegutils.
* shell/eog-window.c: Made this a GtkWindow, using GtkUIManager
and related stuff.
* shell/gtk-shell-ui.xml: New file.
2004-05-07 Jens Finke <jens@triq.net>
* libeog/eog-metdata-reader.[ch]: New files.
* libeog/Makefile.am (SOURCES): Added new files.
* libeog/eog-image-private.h: Added attributes for exif/iptc raw data.
* libeog/eog-image.c (real_image_load): Use EogMetadataReader object for
obtaining image metadata.
(check_for_metadata_img_format): New function.
(load_emit_signal_info_done): Removed InfoDone signal emission.
(eog_image_load): Always use EOG_IMAGE_LOAD_COMPLETE method
(significantly faster).
(image_changed_cb): Do explicit ExifData* cast.
(eog_image_free_mem_private): Free exif raw data if used.
* collection/eog-collection-view.c (create_user_interface):
Create always info view.
2004-04-25 Jens Finke <jens@triq.net>
* libeog/eog-info-view.c: Reworked this completely. Derived from
GtkNotebook now with separate pages for file and exif data.
* libeog/eog-ifo-view-detail.[ch],
libeog/eog-info-view-file.[ch],
libeog/eog-info-view-exif.[ch]:
EogInfoViewDetail is the base class derived from a
GtkTreeView. EogInfoViewFile and EogInfoViewExif implement the
code for viewing file properties resp. EXIF tag information.
* collection/eog-collection-view.c (create_user_interface): Don't add
notebook with viewport.
2004-03-19 Seth Nickell <seth@gnome.org>
* libeog/eog-file-selection.c: (eog_file_selection_new):
If using VFS, allow the file chooser to return non-local
URIs. Fixes a regression caused by GTK+ API change.
2004-03-05 Jens Finke <jens@triq.net>
* libeog/eog-file-selection.c (eog_folder_selection_new): Removed
this function, incorporated the functionality into eog_file_selection_new.
2004-03-05 Jonathan Blandford <jrb@gnome.org>
* libeog/eog-file-selection.c: There are now 4 actions. - Fixes#135816
2004-02-19 Jens Finke <jens@triq.net>
Fix AIX compilation problems - #134866.
* libeog/eog-image.h
* shell/eog-window.h: No trailing comma after last enum constant.
* libeog/eog-scroll-view.c: No C++ comments in C source files.
2004-02-15 Jens Finke <jens@triq.net>
Don't lost exif data scroll position when switching to a new image
in collection view. Fixes#123463.
* libeog/eog-info-view.c (clear_single_row), (clear_values): New
functions.
(set_row_data): New function. Set data for a given treeview path
or appends a new row if it doesn't exist.
(append_row): Removed.
(add_image_size_attribute): Use set_row_data.
(exif_entry_cb): Use hashtable to determine the row for a given
exif attribute.
(eog_info_view_set_image),
(image_changed_cb): Clear list, but don't use new model.
2004-01-27 Balamurali Viswanathan <balamurali.viswanathan@wipro.com>
* libeog/eog-file-selection.c (response_cb): Check for the
existence of the file only if "Save" button is clicked on the
save image dialog. Solves bug #131654
2004-01-03 Jens Finke <jens@triq.net>
Allow loading of multiple single images into a collection
view. [Got broken when switching to EogImageList.]
* collection/Makefile.am (SOURCES): Added
eog-collection-view-iface.[ch].
* collection/eog-collection-view-iface.[ch]: New files.
* idl/Eog.idl: Removed old cruft. New GNOME::EOG::CollectionView
interface.
* collection/eog-collection-view.c (get_collection_model): New func.
(load_uri_cb): Reworked
(load_uri_list_cb): New func.
(eog_collection_view_construct): Add EOG::CollectionView interface.
* collection/GNOME_EOG_Collection.server.in.in: Added
IDL:GNOME/EOG/CollectionView:1.0 to list of repo_ids.
* libeog/eog-image-list.c (real_file_loading),
(eog_image_list_add_files): New func.
(eog_image_list_add_directory): Clean up.
* shell/eog-window.c (add_control_to_ui): New func.
(eog_window_open_list),
(eog_window_open): Reworked functions. *_open_list uses the
CollectionView::loadURIList interface, while *_open uses
BonobPersistFile::load.
2003-12-21 Jens Finke <jens@triq.net>
* libeog/eog-image-list.c (compare_quarks),
(get_supported_mime_types), (is_supported_mime_type): New
functions.
(directory_visit_cb): Put only images into the list, which are
actually supported by GdkPixbuf.
2003-12-21 Jens Finke <jens@triq.net>
* collection/eog-collection-view.c (save_image_loading_finished):
Adapted to new eog_image_save signature.
* libeog/eog-file-selection.[ch] (eog_file_selection_add_filter):
Attach GdkPixbufFormat to filter for further reference.
(eog_file_selection_get_format): New function.
* libeog/eog-image-jpeg.[ch] (get_tmp_filepath),
(move_file_to_uri): New functions.
(eog_image_jpeg_save),
(eog_image_jpeg_save_lossless): Dump data to temporary file first
and move it to final destination afterwards.
* libeog/eog-image.[ch] (real_image_load): Set image status to failed
if we read 0 bytes.
(eog_image_save): Added GdkPixbufFormat parameter, better
retrieving of target filetype.
* viewer/eog-image-view.c (verb_SaveAs_cb): Get image format from
file chooser.
(save_uri): New function, which takes an additional
GdkPixbufFormat parameter.