1. 19 Oct, 2006 1 commit
    • Paolo Bacchilega's avatar
      Fixes zoom keybinding (bug #345339). · 546a1676
      Paolo Bacchilega authored
      2006-10-19  Paolo Bacchilega  <paobac@cvs.gnome.org>
      
      	* src/gth-browser.c (key_press_cb): Fixes zoom keybinding (bug #345339).
      
      	* src/rotation-utils.c (write_orientation_field):
      	* src/rotation-utils.h:
      	* src/dlg-reset-exif.c (apply_transformation):
      	* src/dlg-jpegtran.c (apply_transformation): Fixes tag updating when
      	multiple IFDs have orientation tag.
      
      	* libgthumb/jpegutils/jpegtran.h:
      	* libgthumb/jpegutils/jpegtran.c (jpegtran): Adds support for the trim mode.
      
      	* libgthumb/typedefs.h: Adds comments to the GthTransform typedef, to
      	explain its purpose.
      
      	* README: Updates the README file to reflect new intltool minimum
      	requirement.
      
      	Patch by Jef Driesen, Michael Chudobiak.
      546a1676
  2. 12 Oct, 2006 2 commits
    • Paolo Bacchilega's avatar
      Merged RotatonData, GthExifOrientation and GthOrientation into · 05abd885
      Paolo Bacchilega authored
      2006-10-12  Paolo Bacchilega  <paobac@cvs.gnome.org>
      
              * src/rotation-utils.h (update_orientation_field):
              * src/rotation-utils.c:
              * src/gth-window-actions-callbacks.c (adjust_orientation__step):
              * src/dlg-photo-importer.c:
              * src/dlg-jpegtran.h:
              * src/dlg-jpegtran.c:
              * libgthumb/typedefs.h:
              * libgthumb/pixbuf-utils.h (pixmap_from_xpm):
              * libgthumb/pixbuf-utils.c:
              * libgthumb/image-loader.c (image_loader_set_pixbuf):
              * libgthumb/gth-exif-utils.h:
      
              Merged RotatonData, GthExifOrientation and GthOrientation into
              GthTransform. The new enum contains all 8 possible
      transformations and
              is compatible with the exif orientation values.
              Moved _gdk_pixbuf_transform_exif_orientation from image-loader.h
      to
              pixbuf-utils.h and renamed it to _gdk_pixbuf_transform.
              Moved the implementation of the button callbacks in
      dlg-jpegtran.c to a
              common function.
              Combined the two parameters rot_type and tran_type of the
      function
              dlg_apply_jpegtran into only one parameter.
              Renamed the function update_rotation_from_exif_data in
      rotation-utils.h
              to read_orientation_field.
              Rewrote the lossless jpeg transform to perform all types of
              transformations in one pass.
              Rewrote the generic transform to use the _gdk_pixbuf_transform
      function.
              Replaced the get_next_value_* functions with one new function
              (get_next_transformation) that supports all 8 transformations.
      Added two
              functions to find the rotation and mirror/flip part of a
      transformation.
      
              Patch by Jef Driesen.  Bug #361701
      05abd885
    • Paolo Bacchilega's avatar
      move ResetExif under RotateImages, add a searator. · 60ff454a
      Paolo Bacchilega authored
      2006-10-12  Paolo Bacchilega  <paobac@cvs.gnome.org>
      
      	* src/gth-browser-ui.h: move ResetExif under RotateImages, add a
      	searator.
      
      	* src/gth-window-actions-entries.h: changed "Reset Exif
      orientation" to
      	"Reset Exif Orientation".
      
      	* doc/C/gthumb.xml:
      	* data/glade/gthumb_camera.glade:
      	* src/dlg-photo-importer.c (dlg_photo_importer): added a help
      button.
      
      	* src/dlg-reset-exif.c (apply_transformation): removed unused
      variables
      	* src/rotation-utils.h: added reset_orientation_field
      
      	* NEWS:
      	* README:
      	* data/glade/gthumb_tools.glade:
      	* doc/C/gthumb.xml:
      	* libgthumb/print-callbacks.c:
      	* src/Makefile.am:
      	* src/gth-browser-ui.h:
      	* src/gth-browser.c:
      	* src/gth-viewer-ui.h:
      	* src/gth-window-actions-callbacks.c:
      	* src/gth-window-actions-callbacks.h:
      	* src/gth-window-actions-entries.h:
      	* src/main.c:
      	* src/dlg-reset-exif.h:
      	* src/dlg-reset-exif.c:
      
      	1. Adds a Tool > Reset Exif orientation function, for fixing
      images
      	incorrectly imported and auto-rotated by previous versions of
      gthumb.
      
      	2. Updates the README file, indicating the correct library
      requirements.
      
      	3. Updates the NEWS file, to reflect the exif improvements.
      
      	4. Makes the short command line options work (trivial patch from
      bug
      	349747)
      
      	5. Makes print scaling work (trivial patch from bug 353681).
      
      	Patch by Michael Chudobiak
      60ff454a
  3. 08 Oct, 2006 1 commit
    • Paolo Bacchilega's avatar
      remove remove unnecessary #ifdefs · 9cf7d2fa
      Paolo Bacchilega authored
      2006-10-08  Paolo Bacchilega  <paobac@cvs.gnome.org>
      
          * many files: remove remove unnecessary #ifdefs
      
          Patch by Rennie deGraaf
      
          * configure.in: Patch to make libexif and libjpeg mandatory (v2)
      
          Patch by Rennie deGraaf
      
      	* many files:
      
      	Applied patch by Michael Chudobiak from bug #343867 comment #130
      
      	Merged branch exif-testing:
      
      2006-10-06  Bill Skaggs  <weskaggs@primate.ucdavis.edu>
      
      	* libgthumb/gth-exif-utils.c
      	* libgthumb/gth-exif-utils.h
      	* libgthumb/jpegutils/.cvsignore
      	* libgthumb/jpegutils/Makefile.am
      	* libgthumb/jpegutils/README
      	* libgthumb/jpegutils/jpeg-data.c
      	* libgthumb/jpegutils/jpeg-data.h
      	* libgthumb/jpegutils/jpeg-marker.c
      	* libgthumb/jpegutils/jpeg-marker.h
      	* libgthumb/jpegutils/jpegtran.c
      	* libgthumb/jpegutils/jpegtran.h
      	* libgthumb/jpegutils/transupp.c
      	* libgthumb/jpegutils/transupp.h: new files
      
      	* configure.in
      	* components/catalog-view/Makefile.am
      	* components/image-viewer/Makefile.am
      	* data/gthumb.schemas.in
      	* data/glade/gthumb_preferences.glade
      	* data/glade/gthumb_tools.glade
      	* doc/C/gthumb.xml
      	* libgthumb/Makefile.am
      	* libgthumb/gthumb-module.c
      	* libgthumb/image-loader.c
      	* libgthumb/preferences.h
      	* src/Makefile.am
      	* src/dlg-jpegtran.c
      	* src/dlg-jpegtran.h
      	* src/dlg-photo-importer.c
      	* src/dlg-preferences.c
      	* src/gth-browser-ui.h
      	* src/gth-window-actions-callbacks.c
      	* src/gth-window-actions-callbacks.h
      	* src/gth-window-actions-entries.h
      	* src/rotation-utils.c
      	* src/rotation-utils.h: modified files.
      
      	Committed patches listed in comment #106 of bug #343867,
      	as follows:
      
      	patch -p0 < gthumb-exif-v3.patch
      	patch -p0 < gthumb_reset_exif_orientation_v2.patch
      	patch -p0 < importer.patch
      	patch -p0 < gthumb_rotate_v3.patch
      	patch -p1 < gthumb-20061006-exif-rotate.patch
      	patch -p1 < delete-checkbox-v2.patch
      
      	This is development aimed at improving gthumb's handling
      	of exif metadata.
      
      2006-10-06  Bill Skaggs  <weskaggs@primate.ucdavis.edu>
      
      	Initiating "exif-testing" branch.  Testing to make sure commit
      	goes to the right branch, and not to HEAD.
      9cf7d2fa
  4. 24 Dec, 2005 1 commit
    • Paolo Bacchilega's avatar
      update keyboard shortcuts · 7f0dd7f6
      Paolo Bacchilega authored
      2005-12-24  Paolo Bacchilega  <paobac@cvs.gnome.org>
      
              * 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.
      7f0dd7f6
  5. 18 Nov, 2005 1 commit
    • Paolo Bacchilega's avatar
      new files · b2cd97b9
      Paolo Bacchilega authored
      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.
      b2cd97b9