1. 05 Feb, 2008 3 commits
    • Michael J. Chudobiak's avatar
      Updated some tagsets that will be needed for comments. · c555961a
      Michael J. Chudobiak authored
      2008-02-05  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exif-utils.c:
              * libgthumb/gth-exif-utils.h:
              Updated some tagsets that will be needed for comments.
      
              * src/gth-browser.c: (update_image_comment),
              (save_pixbuf__image_saved_cb), (gth_browser_finalize):
              * src/gth-viewer.c: (gth_viewer_finalize), (update_image_comment),
              (save_pixbuf__image_saved_cb):
              Removed the ifdef'd libiptcdata code, which has been obsoleted
              by exiv2 support.
      
      
      svn path=/trunk/; revision=2255
      c555961a
    • Michael J. Chudobiak's avatar
      Fixed improper check for empty iptc dataset. · c4b62b64
      Michael J. Chudobiak authored
      2008-02-05  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exiv2-utils.cpp:
              Fixed improper check for empty iptc dataset.
      
      
      svn path=/trunk/; revision=2254
      c4b62b64
    • Michael J. Chudobiak's avatar
      Renamed get_metadata_string_from_fd to get_metadata_tagset_string. Added · 50f5a378
      Michael J. Chudobiak authored
      2008-02-05  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/comments.h:
              * libgthumb/gth-exif-utils.c: (get_metadata_time_from_fd),
              (get_orientation_from_fd), (get_metadata_string),
              (get_metadata_tagset_string):
              * libgthumb/gth-exif-utils.h:
              * src/catalog-web-exporter.c: (gth_parsed_doc_print):
              * src/gth-fullscreen.c: (get_file_info):
              Renamed get_metadata_string_from_fd to get_metadata_tagset_string.
              Added get_metadata_string function, which is a simplified version of
              get_metadata_tagset_string accepting just one tag name, for
              convenience.
      
      
      svn path=/trunk/; revision=2253
      50f5a378
  2. 04 Feb, 2008 7 commits
    • Michael J. Chudobiak's avatar
      Added Scripts menu to viewer mode. Fixed console warnings relating to · dabb9fc1
      Michael J. Chudobiak authored
      2008-02-04  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * src/dlg-scripts.c: (generate_script_menu):
              * src/gth-viewer-actions-callbacks.c:
              (gth_viewer_activate_action_scripts):
              * src/gth-viewer-actions-callbacks.h:
              * src/gth-viewer-actions-entries.h:
              * src/gth-viewer.c: (viewer_update_sensitivity),
              (gth_viewer_construct), (gth_viewer_update_script_menu):
              * src/gth-viewer.h:
              Added Scripts menu to viewer mode. Fixed console warnings relating to
              script initialization. Fixed warnings related to ImageTransformMenu
              and ImageAutoMenu. Enhanced version of patch by Manuel Braga
              <mul.braga@gmail.com>.
      
      
      svn path=/trunk/; revision=2252
      dabb9fc1
    • Michael J. Chudobiak's avatar
      Revert earlier change - compiler reported browser->priv and viewer->priv · a89284ff
      Michael J. Chudobiak authored
      2008-02-04  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * src/gth-browser.c: (save_jpeg_data):
              * src/gth-viewer.c: (save_jpeg_data):
              Revert earlier change - compiler reported browser->priv and
              viewer->priv as unused variables, but they are used under
              some #ifdef conditions.
      
      
      svn path=/trunk/; revision=2251
      a89284ff
    • Michael J. Chudobiak's avatar
      Another missing ifdef. · b844a852
      Michael J. Chudobiak authored
      2008-02-04  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exiv2-utils.cpp:
              Another missing ifdef.
      
      
      svn path=/trunk/; revision=2250
      b844a852
    • Michael J. Chudobiak's avatar
      XMP-related code must be inside an ifdef. · 63a17039
      Michael J. Chudobiak authored
      2008-02-04  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exiv2-utils.cpp:
              XMP-related code must be inside an ifdef.
      
      
      svn path=/trunk/; revision=2249
      63a17039
    • Michael J. Chudobiak's avatar
      Fixed crash upon File>Open due to malformed UI specification. Bug 514288. · 4ee01b6c
      Michael J. Chudobiak authored
      2008-02-04  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * src/gth-viewer-ui.h: 
              Fixed crash upon File>Open due to malformed UI specification.
              Bug 514288. Patch by Manuel Braga <mul.braga@gmail.com>.
      
      
      svn path=/trunk/; revision=2248
      4ee01b6c
    • Michael J. Chudobiak's avatar
      Purged libexif from gth-browser, gth-viewer. Save and Save As now use · 907c3a01
      Michael J. Chudobiak authored
      2008-02-04  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/dlg-save-image.c: (save_image), (dlg_save_image_as),
              (dlg_save_image):
              * libgthumb/dlg-save-image.h:
              * src/gth-browser.c: (window_update_image_info), (save_jpeg_data),
              (gth_browser_save_pixbuf), (ask_whether_to_save__response_cb),
              (gth_browser_finalize):
              * src/gth-viewer.c: (gth_viewer_finalize),
              (viewer_update_image_info), (save_jpeg_data),
              (ask_whether_to_save__response_cb), (gth_viewer_save_pixbuf):
              Purged libexif from gth-browser, gth-viewer. Save and Save As now
              use exiv2-based routines to copy metadata.
      
      
      svn path=/trunk/; revision=2247
      907c3a01
    • Yannig MARCHEGAY's avatar
      Updated Occitan translation · c54eebe1
      Yannig MARCHEGAY authored
      svn path=/trunk/; revision=2246
      c54eebe1
  3. 03 Feb, 2008 1 commit
    • Michael J. Chudobiak's avatar
      Add support for metadata handling into the _gdk_pixbuf_save / · e5e5d8c7
      Michael J. Chudobiak authored
      2008-02-03  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/dlg-save-image.c: (save_image):
              * libgthumb/pixbuf-utils.c: (_gdk_pixbuf_savev),
              (_gdk_pixbuf_save):
              * libgthumb/pixbuf-utils.h:
              * src/catalog-png-exporter.c: (end_page):
              * src/catalog-web-exporter.c: (save_thumbnail_cb),
              (save_image_preview_cb), (save_resized_image_cb):
              * src/dlg-convert.c: (save_image_and_remove_original):
              * src/gth-batch-op.c: (pixbuf_op_done_cb):
              * src/gth-window-actions-callbacks.c:
              (gth_window_activate_action_file_print),
              (set_wallpaper_from_window):
              * src/rotation-utils.c: (apply_transformation_generic):
              Add support for metadata handling into the _gdk_pixbuf_save /
              _gdk_pixbuf_savev functions. Not fully exploited yet.
      
      
      svn path=/trunk/; revision=2245
      e5e5d8c7
  4. 02 Feb, 2008 2 commits
    • Michael J. Chudobiak's avatar
      Changed code to permit the updating of more than one metadata tags at a · 98d1e0d0
      Michael J. Chudobiak authored
      2008-02-02  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/file-data.c: (fd_free_metadata), (file_data_new),
              (file_data_unref), (file_data_update), (file_data_update_info):
              * libgthumb/gth-exif-utils.c: (free_metadata_entry),
              (free_metadata), (simple_add_metadata),
              (update_and_save_metadatum), (update_and_save_metadata),
              (write_orientation_field):
              * libgthumb/gth-exif-utils.h:
              * libgthumb/gth-exiv2-utils.cpp:
              * libgthumb/gth-exiv2-utils.hpp:
              * src/catalog-web-exporter.c:
              (copy_exif_from_orig_and_reset_orientation):
              * src/dlg-change-date.c: (ok_clicked):
              Changed code to permit the updating of more than one metadata tags
              at a time (i.e., one file write operation).
      
              * libgthumb/gth-gstreamer-utils.c: (tag_iterate):
              Fixed compiler warning.
      
      
      svn path=/trunk/; revision=2244
      98d1e0d0
    • Michael J. Chudobiak's avatar
      Improved remote vfs support for metadata reading / writing. · b2b1672c
      Michael J. Chudobiak authored
      2008-02-02  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exif-utils.c: (update_and_save_metadata),
              (update_metadata):
              * libgthumb/gth-exiv2-utils.cpp:
              * src/dlg-change-date.c: (ok_clicked):
              Improved remote vfs support for metadata reading / writing.
      
      
      svn path=/trunk/; revision=2243
      b2b1672c
  5. 01 Feb, 2008 1 commit
  6. 31 Jan, 2008 5 commits
    • Michael J. Chudobiak's avatar
      Learned how to pass "CFLAGS=-Wall" to autogen, and fixed the many small · d84b9b8a
      Michael J. Chudobiak authored
      2008-01-31  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exif-utils.c:
              * libgthumb/gth-exif-utils.h:
              * libgthumb/gth-filter.c:
              * libgthumb/gth-gstreamer-utils.c: (extract_metadata),
              (gth_read_gstreamer):
              * src/dlg-change-date.c: (ok_clicked):
              * src/dlg-photo-importer.c: (save_image):
              * src/dlg-scripts.c: (get_prompt), (image_loader_done):
              * src/dlg-scripts.h:
              * src/dlg-web-exporter.c: (export):
              * src/gth-browser-actions-callbacks.c:
              * src/gth-browser.c: (window_sync_menu_with_preferences):
              * src/gth-exif-data-viewer.c:
              * src/gth-viewer-actions-callbacks.c:
              * src/gth-viewer.c: (sync_menu_with_preferences):
              Learned how to pass "CFLAGS=-Wall" to autogen, and fixed the many
              small warnings that were reported. Mostly unused functions and
              missing includes.
      
      
      svn path=/trunk/; revision=2241
      d84b9b8a
    • Michael J. Chudobiak's avatar
      Removed all remaining libexif references in gth-exif-utils.* Still present · 98bdffc5
      Michael J. Chudobiak authored
      2008-01-31  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exif-utils.c:
              * libgthumb/gth-exif-utils.h:
              Removed all remaining libexif references in gth-exif-utils.*
              Still present in other files, however.
      
      
      svn path=/trunk/; revision=2240
      98bdffc5
    • Michael J. Chudobiak's avatar
      Purged gth_minimal_exif_tag_write, gth_minimal_exif_tag_action. Use · 2e58b7f0
      Michael J. Chudobiak authored
      2008-01-31  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exif-utils.c:
              * libgthumb/gth-exif-utils.h:
              Purged gth_minimal_exif_tag_write, gth_minimal_exif_tag_action.
              Use exiv2-based routines now.
      
              * data/glade/gthumb_tools.glade:
              * src/dlg-change-date.c: (ok_clicked), (update_sensitivity),
              (dlg_change_date):
              Added the ability to change DateTimeOriginal and DateTimeDigitized,
              in addition to the existing DateTime-changing function.
      
      
      svn path=/trunk/; revision=2239
      2e58b7f0
    • Michael J. Chudobiak's avatar
      Updated write_orientation_field to use the new exiv2-based · 93fdf03a
      Michael J. Chudobiak authored
      2008-01-31  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exif-utils.c: (write_orientation_field):
              Updated write_orientation_field to use the new exiv2-based
              update_and_save_metadata function.
      
      
      svn path=/trunk/; revision=2238
      93fdf03a
    • Michael J. Chudobiak's avatar
      Added a new exiv2-based function, update_and_save_metadata, which lets you · a30a31f5
      Michael J. Chudobiak authored
      2008-01-31  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exif-utils.c: (update_and_save_metadata):
              * libgthumb/gth-exif-utils.h:
              * libgthumb/gth-exiv2-utils.cpp:
              * libgthumb/gth-exiv2-utils.hpp:
              * src/catalog-web-exporter.c:
              (copy_exif_from_orig_and_reset_orientation):
              Added a new exiv2-based function, update_and_save_metadata, which
              lets you copy metadata from one file to another, while updating
              zero or one tags.
      
      
      svn path=/trunk/; revision=2237
      a30a31f5
  7. 30 Jan, 2008 2 commits
    • Michael J. Chudobiak's avatar
      Store "raw" metadata along with the formatted metadata, so that we can · 6b671256
      Michael J. Chudobiak authored
      2008-01-30  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/file-data.c: (free_metadata_entry):
              * libgthumb/gth-exif-utils.c: (get_metadata_string_from_fd):
              * libgthumb/gth-exif-utils.h:
              * libgthumb/gth-exiv2-utils.cpp:
              * libgthumb/gth-gstreamer-utils.c: (add_metadata):
              * src/gth-exif-data-viewer.c: (gth_exif_data_viewer_construct),
              (add_to_exif_display_list), (add_to_display), (update_file_info):
              Store "raw" metadata along with the formatted metadata, so that
              we can (eventually) use the raw data to write metadata into a file.
      
      
      svn path=/trunk/; revision=2236
      6b671256
    • Jorge Gonzalez Gonzalez's avatar
      Updated Spanish translation by Daniel Mustieles · bd89dc99
      Jorge Gonzalez Gonzalez authored
      svn path=/trunk/; revision=2235
      bd89dc99
  8. 29 Jan, 2008 6 commits
    • Michael J. Chudobiak's avatar
      Delete the "improve" function, because exiv2 upstream is pretty responsive · 0285d613
      Michael J. Chudobiak authored
      2008-01-29  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exiv2-utils.cpp:
              Delete the "improve" function, because exiv2 upstream is pretty
              responsive to formatting improvements.
      
      
      svn path=/trunk/; revision=2234
      0285d613
    • Michael J. Chudobiak's avatar
      Replaced read_orientation_field with exiv2-based get_orientation_from_fd. · b641a921
      Michael J. Chudobiak authored
      2008-01-29  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/file-utils.c: (gth_pixbuf_new_from_file):
              * libgthumb/gth-exif-utils.c: (get_orientation_from_fd),
              (update_metadata):
              * libgthumb/gth-exif-utils.h:
              * src/catalog-web-exporter.c: (export__copy_image):
              * src/dlg-jpegtran.c: (apply_transformation__trim_response),
              (apply_transformation__step2):
              * src/dlg-photo-importer.c: (adjust_orientation__step):
              Replaced read_orientation_field with exiv2-based
              get_orientation_from_fd. Delete gth_minimal_exif_tag_read.
              All metadata reads are through exiv2, now. Next stop: writes.
      
      
      svn path=/trunk/; revision=2233
      b641a921
    • Jonh Wendell's avatar
      Brazilian Portuguese translation updated by Igor Pires. · 5d4475a5
      Jonh Wendell authored
      2008-01-29  Jonh Wendell  <jwendell@gnome.org>
      
      	* pt_BR.po: Brazilian Portuguese translation updated by Igor Pires.
      
      svn path=/trunk/; revision=2232
      5d4475a5
    • Inaki Larranaga Murgoitio's avatar
      Updated Basque translation. · caaadb0f
      Inaki Larranaga Murgoitio authored
      2008-01-29  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>
      
      	* eu.po: Updated Basque translation.
      
      
      svn path=/trunk/; revision=2231
      caaadb0f
    • Michael J. Chudobiak's avatar
      Further tweaks to the way fractions are displayed. · de4fe34d
      Michael J. Chudobiak authored
      2008-01-29  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/gth-exiv2-utils.cpp:
              Further tweaks to the way fractions are displayed.
      
      
      svn path=/trunk/; revision=2230
      de4fe34d
    • Michael J. Chudobiak's avatar
      Hid the metadata caching from most functions. Eliminated the · 61d5488f
      Michael J. Chudobiak authored
      2008-01-29  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/file-data.c: (file_data_dup):
              * libgthumb/file-data.h:
              * libgthumb/gth-exif-utils.c: (get_exif_time),
              (get_exif_time_or_mtime), (get_metadata_string_from_fd),
              (update_metadata):
              * libgthumb/gth-exif-utils.h:
              * libgthumb/gth-filter.c: (gth_test_match):
              * libgthumb/gth-sort-utils.c: (gth_sort_by_exiftime_then_name):
              * src/catalog-png-exporter.c: (image_loader_done):
              * src/catalog-web-exporter.c: (gth_parsed_doc_print):
              * src/dlg-change-date.c: (exif_time_available), (ok_clicked):
              * src/dlg-comment.c: (get_requested_time),
              (date_optionmenu_changed_cb), (dlg_comment_update):
              * src/dlg-photo-importer.c: (save_image):
              * src/dlg-rename-series.c: (get_image_date):
              * src/dlg-scripts.c: (get_date_strings):
              * src/gth-browser.c: (window_update_statusbar_image_info):
              * src/gth-exif-data-viewer.c: (gth_exif_data_viewer_update):
              * src/gth-fullscreen.c: (get_file_info):
              * src/gth-viewer.c: (viewer_update_statusbar_image_info):
      
              Hid the metadata caching from most functions. Eliminated the 
              file_data_insert_metadata function, which explicity loaded
              metadata. This is now done automatically by
              get_metadata_string_from_fd. Added two convenience functions,
              get_exif_time (fd) and get_exif_time_or_mtime (fd), which
              also auto-load the metadata cache.
      
      
      svn path=/trunk/; revision=2229
      61d5488f
  9. 28 Jan, 2008 1 commit
  10. 26 Jan, 2008 4 commits
  11. 25 Jan, 2008 6 commits
  12. 23 Jan, 2008 1 commit
    • Michael J. Chudobiak's avatar
      Added get_utf8_display_name_from_uri as an enhanced wrapper for · b7775263
      Michael J. Chudobiak authored
      2008-01-23  Michael J. Chudobiak  <mjc@svn.gnome.org>
      
              * libgthumb/file-utils.h:
              * libgthumb/file-utils.c: Added get_utf8_display_name_from_uri
              as an enhanced wrapper for gnome_vfs_unescape_string_for_display,
              to partly fix bug 489922, and to simplify the eventual migration
              from gnome-vfs to gvfs/gio/Gfile.
      
              * libgthumb/bookmarks.c: (get_menu_item_tip):
              * libgthumb/file-data.c: (file_data_new), (file_data_update),
              (file_data_update_info):
              * libgthumb/file-utils.c: (get_utf8_display_name_from_uri),
              (get_uri_display_name), (basename_for_display),
              (delete_catalog_dir):
              * libgthumb/file-utils.h:
              * libgthumb/gtk-utils.c: (_gtk_entry_set_filename_text),
              (_gtk_label_set_filename_text):
              * src/catalog-list.c: (catalog_list_refresh):
              * src/catalog-png-exporter.c: (set_item_caption), (begin_page):
              * src/dlg-duplicates.c: (images_selection_changed_cb):
              * src/dlg-file-utils.c: (dlg_check_folder), (set_filename_labels),
              (dlg_overwrite__response_cb), (dlg_overwrite_run):
              * src/dlg-photo-importer.c: (ok_clicked_cb):
              * src/dlg-rename-series.c: (update_list), (dlg_rename_series):
              * src/dlg-scripts.c: (exec_shell_script):
              * src/dlg-web-exporter.c: (add_theme_dir):
              * src/gth-browser-actions-callbacks.c: (duplicate_file),
              (catalog_rename),
              (gth_browser_activate_action_edit_current_catalog_new),
              (create_new_folder_or_library), (folder_rename),
              (folder_copy__response_cb):
              * src/gth-browser.c: (window_update_infobar),
              (window_update_title), (dir_list_done_cb):
              * src/gth-dir-list.c: (gth_dir_list_update_view),
              (gth_dir_list_add_directory):
              * src/gth-exif-data-viewer.c: (update_file_info):
              * src/gth-fullscreen.c: (escape_filename):
              * src/gth-location.c: (update_uri):
      
              Replaced gnome_vfs_unescape_string_for_display with
              get_utf8_display_name_from_uri.
      
      
      svn path=/trunk/; revision=2215
      b7775263
  13. 22 Jan, 2008 1 commit