2005-12-07 Larry Ewing * src/f-spot.glade: hide some used widgets for release. 2005-12-06 Larry Ewing * src/Tiff.cs: Match what the encoder does. * src/Exif.cs: fix the logic when setting values. * src/JpegFile.cs: fix the coputed length of the comment. * src/Db.cs: move comment. * src/TagStore.cs: remove the old signals. * src/TagSelectionWidget.cs: use the db store signals not the higher level ones. 2005-12-05 Larry Ewing * src/PhotoQuery.cs: * src/IBrowsableItem.cs: * src/IconView.cs: * src/MainWindow.cs: * src/PhotoArray.cs: * src/PhotoImageView.cs: * src/PhotoQuery.cs: * src/DirectoryCollection.cs: Change the parameters of the ItemsChanged event in the BrowsableCollection so that it passes the arguments in and Args object that contains an array. The goal is to use this to pass a reason along in the args eventually. * configure.in: drop the mono required version. * src/Makefile.am: add the cairo files to the build. * src/Cairo/: add the Cairo binding from mono-1.1.10 to the build so we don't need to require that version. * src/MainWindow.cs: remove extra calls to UpdateTagEntryFromSelection. * src/TagSelectionWidget.cs: use Window instead of GtkWindow. * src/main.cs: change the dbus error message to a non error sounding report. * src/MainWindow.cs: expose the Selection to the public. Do a little more house keeping. * src/IconView.cs: don't do anything if the changed item isn't in the selection. * src/MainWindow.cs: use the selection object in a couple more places. * src/MainWindow.cs: Unify the selection interface. Clean up some of the change notification. Avoid calculating some things if they are hidden. * src/PhotoStore.cs: add IBrowsableItem wrapper for versions. * src/SingleView.cs: fixup Direction name. * src/MainWindow.cs: fixup Direction name. * configure.in: bump mono required version to 1.1.10 to pick up cairo. * src/Makefile.am: add the mail commands and the Loupe to the build. * src/RotateCommand.cs: refactor to split out the rotations into operations. * src/PhotoStore.cs: fix typo. * src/Operation.cs: add new file. 2005-12-04 Gabriel Burt * src/MainWindow.cs: Add handler for finding untagged photos. * src/PhotoQuery.cs: Add gettable Untagged property that initiates a search for untagged photos. * src/PhotoStore.cs: Add method to search for untagged photos. * src/f-spot.glade: Add menu item to find untagged photos. * src/TagSelectionWidget.cs: Prevent strange crasher when returning empty Tag array. * f-spot.desktop.in.in: Change title and tooltip to be more informative. * src/QueryDisplay.cs: Add label for when finding untagged photos * src/PhotoQuery.cs: Make finding untagged mutually exclusive of setting a range or tag selection. * src/MainWindow.cs: Modify tag context menu to appear even if activated not over a tag. * src/TagPopup.cs: Create context menu aware that might not be over a tag, so disable some options as needed. * src/Util.cs: Check if the callback arg is null before using it. 2005-12-03 Gabriel Burt * src/PhotoImageView.cs: Added more keybindings for going to the next and previous photos, including left/right/up/down keys, and KP_ keys. 2005-12-03 Larry Ewing * src/main.cs: change the message to sound more possitive. * src/Db.cs: add some emit overloads. * src/PhotoStore.cs: emit change notifications when a photo is modified. * src/Db.cs: add basic notification signals to DbStore. * src/TagStore.cs: refactor the event to piggyback on the DbStore events (for now). 2005-12-02 Aaron Bockover * src/PhotoStore.cs (Create): Accept a new/destination path and an orignal/source path; create the file based on the original path and perform all other actions based on the new path; this forces metadata parsing to be done on the original path, meaning mtime will be used from the orginal and not the copy as date/time in case the photo lacks EXIF date/time information * src/FileImportBackend.cs (Step): if photo is to be copied and imported, pass both the original and the new path to PhotoStore.Create * src/ImportCommand.cs: Added two overloaded ImportFromPaths methods that will preserve existing calls but also allow a 'copy' boolean to be passed; for preserved calls, the default copy value is false * src/MainWindow.cs: Added a 'copy' parameter to ImportUriList; set copy option to true if DnD drag action contains the DragAction.Copy flag * src/ImportCommand.cs (DoImport): guard against a NullReferenceException before setting progress_bar.Text; if the import was invoked from DnD, progress_bar won't exist 2005-12-02 Larry Ewing * src/MailDialog.cs: start new dialog to use the smtp transport logic. * configure.in: update the version checks bump the package version. * src/ColorDialog.cs: fix the default brightness value. * src/Loupe.cs: make it build with mono 1.1.10 class libraries. * src/Mail/*: import then modify the mono SmtpMail and support classes allow AUTH LOGIN and use ssl. 2005-11-30 Gabriel Burt * src/f-spot.glade and many others: Change 'image' to 'photo', apply HIG guidelines for capitalization, reword some labels. Many changes based on patch from Alexandre Prokoudine, alexandre.prokoudine@gmail.com * src/ImportCommand.cs: Change progress bar text to "Loading x of N" and to "Done Loading" when done. Fix off-by-one error. * src/f-spot.glade: Change "Finish Importing" to "Import" and make it translatable. 2005-12-01 Larry Ewing * src/ColorDialog.cs: clean up adjusment values slightly * src/Cms.cs: make brightness do something sane. 2005-11-30 Gabriel Burt * src/TagSelectionWidget.cs: don't crash if there are zero tags. 2005-11-30 Daniel Svensson * src/MainWindow.cs: Don't show tag context menu unless over a tag, prevents crasher, fixes bug #322290. 2005-11-30 Gabriel Burt * src/TagCommands.cs: added ability to create tags and categories with toplevel as the parent. Fixes bug #165035. * src/TagSelectionWidget.cs: changes for same fix. * src/TagStore.cs: make root tag name translatable. * po/POTFILES.in: add TagStore.cs * src/MainWindow.cs: new tags in the type-to-find bar are created as Category not Tag objects so they can have children. 2005-11-30 Larry Ewing * src/MainWindow.cs: show the prefernce dialog. * src/f-spot.glade: hook up more signals. * src/PreferenceDialog.cs: handle close and show with a little more sanity. * src/f-spot.glade: add the start of the new dialog. * src/PreferenceDialog.cs: get and set the metadata preference. * src/Preferences.cs: add metadata option. * src/Makefile.am: add PreferenceDialog.cs. 2005-11-30 Gabriel Burt * src/MainWindow.cs: When in browse or edit mode, clicking the toggle icon again should not unselect the toggle. Based on patch by John Russell, jjrussell@gmail.com 2005-11-30 Larry Ewing * src/MainWindow.cs: set the write metadata flag based on a gconf key. * src/Preferences.cs: add metadata preference. * src/PixbufUtils.cs: update the adjustment dialog calls. * src/f-spot.glade: rework the adjustment dialog. Add reset functions. * src/ColorDialog.cs: change the sliders and color correction functions. * src/Cms.cs: add new color types. Change the abstract profile logic. * libfspot/f-screen-utils.c (f_cmsCreateBCHSWabstractProfile): adjust the equations for the exposure correction. 2005-11-29 Larry Ewing * src/Histogram.cs: small cleanups. 2005-11-29 Gabriel Burt * src/f-spot.glade: Allow closing F-Spot with ctrl-q. * src/MainWindow.cs: change references to categories to tags because user's never need to make tags that can't have children and having tags and categories is a very confusing thing. * src/TagCommands.cs: change references to Category to Tag * src/TagPopup.cs: Allow only creation of new 'tags' which are what used to be called categories. * src/f-spot.glade: Remove menu items referring to categories * src/TagSelectionWidget.cs: Save and restore which tags are expanded. * src/MainWindow.cs: Call the TagSelectionWidget save command on exit. * src/Preferences.cs: Added key string for expanded tags preference. * src/MainWindow.cs: listen for F2 to start editing a tag's name. * src/TagCommands.cs: do case-insenstive matching to prevent duplicate tags. * src/TagSelectionWidget.cs: Make tag names editable inline 2005-11-24 Miguel de Icaza * src/MainWindow.cs: Do not crash if there is an error deleting the file, report a cute error to the user. 2005-11-21 Larry Ewing * src/Histogram.cs: speed up the analysis and drawing slightly. * libfspot/f-screen-utils.cs: remove unused param. * src/Cms.cs: remove unused param. * src/ColorDialog.cs: fix up the destination profile so that is actually something. clean up the changed logic slightly. * src/f-spot.glade: set the limits to more appropriate values. * src/Cms.cs: use the new abstrct profile creation function. * libfspot/f-screen-utils.c (f_cmsCreateBCHSWabstractProfile): new abstract profile creation function. 2005-11-18 Larry Ewing * src/Exif.cs: remove unsed stubs. * src/ColorDialog.cs: calculate the change state rather than storing it. * src/ExifUtil.cs: remove file. * src/Makefile.am (F_SPOT_CSDISTFILES): rmove ExifUtils from the build it is no longer used. * src/PngFile.cs: increase the number of entries in the gamma table. * src/IconView.cs: optimize the change notification slightly. 2005-11-11 Gabriel Burt * src/IconView.cs: Better image selection with shift and ctrl keys. 2005-11-17 Larry Ewing * src/Loupe.cs: clean up calculation functions start cleaning up rotation and movement. * src/Cms.cs: add more profile introspection functions. Add ColorCIEZYZ and add wrapper for gray profile creation. 2005-11-15 Nat Friedman * src/MainWindow.cs: Update the tag entry when the user drags tags onto the photo view. With tag typing, correct for capitalization differences in the retrieved tag and what the user typed. 2005-11-14 Larry Ewing * src/Cms.cs: expose the colorant retrieval bits of lcms. * src/MainWindow.cs: remove unused variable. * src/MrwFile.cs: use DirectoryEntry not ascii entry. * src/ColorDialog.cs: reset the transform when the dialog is closed. * src/Tiff.cs: read the Gamma value from the exif info (where is this tag actually defined?). Remove AsciiEntry as a type. * src/Cms.cs: add a profile for adobe rgb. 2005-11-13 Larry Ewing * src/Cms.cs: clean up the handle array creation code. * src/PhotoView.cs: remove unused variable. * src/MainWindow.cs: hook to the ZoomChanged event and update the zoom scale from it. 2005-11-11 Larry Ewing * src/ImageView.cs: wrap the zoom-changed signal. * src/SingleView.cs: hook up the zoom slider. * src/MainWindow.cs: small optimizations. Start converting the selection to a collection. * src/Loupe.cs: move some of the internal settings to properties. * src/f-spot.glade: add copy option. * src/ImportCommand.cs: add copy option to the import dialog. 2005-11-10 Larry Ewing * src/PhotoView.cs: remove unused variable. 2005-11-10 Nat Friedman * src/MainWindow.cs: Added support for creating and applying tags by typing them into a tagbar entry. Added support for merging tags. Support for multiselection operations in the tag sidebar. Handle photo deleting in the icon and photo views by catching the keypress in the icon and photo view widgets, not as a menu accelerator. Pressing delete in the tag treeview will now delete the selected tags. Fixed several bugs. * src/TagPopup.cs: Added support for merging tags. Added support for multiselection tag actions. * src/TagSelectionWidget.cs: Handle top-level tag creation. * src/Db.cs: Made the item_cache protected so the TagStore subclass can access it. * src/TagStore.cs: Added GetTagByName and GetTagByNameStart, both of which are case-insensitive. * src/f-spot.glade: Remove the Delete accelerator for deleting photos. Add the tag typing bar. 2005-11-08 Larry Ewing * src/Loupe.cs: queue a resize iff the dimensions have changed so that the mask gets updated. * src/Loupe.cs: do something sane in the shape extension case. * src/Loupe.cs: draw the loupe normally when the there is no overlay. * src/Loupe.cs: fix the sharpener so that it works with the new Loupe. 2005-11-07 Larry Ewing * src/Loupe.cs: tweak the motion handler. Use a different method of finding the position. 2005-11-07 Nat Friedman * src/f-spot.glade: Add [ and ] accelerators for rotating images. Make the rotation actions in the menus behave the same as the toolbar buttons -- e.g. rotate left is now rotate 270, not 90. Zoom in and zoom out are now C-= and C--. 2005-11-07 Larry Ewing * src/Loupe.cs: fix the hotspot, update only on motion. 2005-11-06 Larry Ewing * src/Loupe.cs: update the centering logic. handle changes a little more cleanly. * src/Loupe.cs: change the logic slightly. 2005-11-02 Larry Ewing * src/GroupSelector.cs: disable the timer for now. * src/Loupe.cs: set the ranges more appropriately, limit the viewing area to the pixbuf bounds. * src/Loupe.cs: add save logic. Fix button press stuff. * src/PhotoView.cs: use SaveVersion. * src/PhotoStore.cs: add WriteMetadataToImage and SaveVersion methods. * src/MainWindow.cs: use photo.SaveVersion in the sharpen call. Call WriteMetadataToImage when applying tags for now (disabled for tagging at the moment). * src/ColorDialog.cs: use photo.SaveVersion. 2005-11-01 Larry Ewing * src/TagSelectionWidget.cs: add patch from Gabriel to fix my half baked row expansion patch. * src/Loupe.cs: add Sharpen dialog. * src/Loupe.cs: new file. * src/ImageFile.cs: use write time if it is older than ctime. * src/Tiff.cs: add some code to simplify the string value of the rational. * src/InfoBox.cs: generated rdf metadata for the info box so that we pick up metadata from all image types. * src/ImageView.cs: wrap f_image_view_window_coords_to_image as WindowCoordsToImage. * libfspot/f-image-view.c: expose f_image_view_window_coords_to_image. 2005-10-29 Larry Ewing * src/MainWindow.cs: commit a slightly modified patch from Bengt Thuree to switch out of photo view mode when zooming out. Add some people to the credits dialog (If you are reading this and feel you should be listed too, remind me please). * src/MetadataStore.cs: fix names. * src/JpegFile.cs: look for DataTime original and DateTime. * src/Tiff.cs: simplify rationals when convering them to strings when possible. Don't add invalid dates to the statement store. * src/JpegHeader.cs: make the jpeg header code handle truncated files. 2005-10-28 Gabriel Burt * src/MainWindow.cs: add support for dropping tags onto other tags to reparent them. * src/TagStore.cs: add IsAncestorOf function to prevent tags from becoming a child of one's children. * src/TagCommands.cs: Hide one's children as potential Categories When editing a tag's icon, allow the user to select an entire image by clicking on it instead of having to select a box. Fixes #319908. 2005-10-27 Larry Ewing * src/TagSelectionWidget.cs: fix incorrect change when removing warnings, expand parent when adding a tag to a category. * src/TagSelectionWidget.cs: fix pasteo. * src/MainWindow.cs: remove the reference to copy. * f-spot.glade: remove copy command, replace with copy location. Patch from Gabriel. * src/MainWindow.cs: sensitize the copy location item correctly. * src/f-spot.glade: apply patch from Gabriel to center the text on the bottom. 2005-10-26 Larry Ewing * src/JpegFile.cs: add SetXmp method. * src/JpegHeader.cs: fix the Replace method so that it actually replaces things. * src/PhotoView.cs: sync the tags to the file as xmp (still disabled for now). * src/JpegFile.cs: use SetExif. * src/JpegHeader.cs: add xmp write support to the jpeg stream. * src/TimeAdaptor.cs: tryout putting the count int the tip. * src/MainWindow.cs: fix grammar slightly. 2005-10-19 Gabriel Burt * src/MainWindow.cs: added loading and storing of prefs via GConf. Includes window size, position, maximized state, icon_view scroll position, show toolbar, sidebar, timeline, tags, dates. * src/Preferences.cs: New file. Defines the prefs used by F-Spot and provides helper methods for getting, setting, and listening to them. * src/IconView.cs: changed ScrollTo to optionally valign top or center. * src/FlickrExport.cs: save export preferences, fixes #310615. * src/GalleryExport.cs: save export preferences, fixes #305733 * src/f-spot.glade: changed some MenuItem names, added display_toolbar. * src/MakeFile.am: added Preferences.cs to the build. 2005-10-25 Larry Ewing * src/FlickrRemote.cs: Integrate patch from Adam Israel it quote tag names with spaces in them. 2005-10-20 Gabriel Burt * src/TagSelectionWidget.cs: modified Model to allow for interactive searching by tag name. Fixes #316051. 2005-10-25 Larry Ewing * libfspot/f-jpeg-utils.c: include patch from Luca Ferretti to fix libexif header inclusion. * src/PixelBuffer.cs: more fixes. * src/PixelBuffer.cs: make the casts explicit. * src/Ciff.cs: use ToSingle; * src/BitConverter.cs: add ToSingle method. * src/Makefile.am (F_SPOT_CSDISTFILES): ignore obsolete wanring on Mono.Posix.GetString. * src/Cms.cs: remove the size specifier. * src/GroupSelector.cs: use TipWindow. * src/Makefile.am: add TipWindow.cs. * src/TipWindow.cs: simple class to get closer to tooltip appearance. * src/TimeAdaptor.cs: use the fullname of the month in the tip. * src/GroupSelector.cs: rework some of the scrolling logic. * src/Cms.cs: add ctor for linearization devicelink profile. * src/Cms.cs: set the error action to only display the error message for now. * src/Tiff.cs: add logic to find the right subfile in NefFile. Fix broken CFA parsing logic. 2005-10-24 Larry Ewing * src/Tiff.cs: * src/TimeAdaptor.cs: Reverse the time sorting. * src/DirectoryAdaptor.cs: remove GetInitialPosition. * src/GroupAdaptor.cs: removed unused initial position call. * src/GroupSelector.cs: use Inflate. * src/IconView.cs: use the Inflate method on Gdk.Rectangle now that it exists. * libfspot/f-pixbuf-utils.h: remove the old rotate90 and mirror functions. * libfspot/f-pixbuf-utils.c: remove the old rotate90 and mirror functions. * src/PixbufUtils.cs: remove the old copy and mirror functions. 2005-10-22 Larry Ewing * src/DirectoryCollection.cs: add File collection. * src/TagSelectionWidget.cs: fixup, colors to work with themes, use new gtk# functions for treeiters cleanup formatting. * src/PnmFile.cs: rework the 16bit conversion code, add new methods, add Xmp generation. * src/MrwFile.cs: change the dump string. * TODO: clean up slightly. * src/Tiff.cs: remove unused variable. * src/RafFile.cs: cleanup unused warning. * src/TagPopup.cs: get rid of warning. * src/SlideView.cs: clean up obsolete warnings. * src/PngFile.cs: get rid of warning. * src/RotateCommand.cs: get rid of warning. 2005-10-21 Larry Ewing * src/PixbufUtils.cs: make the adjustment profile deeper. * src/Cms.cs: clean up screen profile, return cached srgb profile. * src/ImageFile.cs: add srf files using the nef type. * src/f-spot.glade: misc updates. * src/Tiff.cs: fix up dump output. * src/MrwFile.cs: call dump with the right parameters. * src/ColorDialog.cs: use the screen profile. * libfspot/f-screen-utils.c (f_screen_get_profile): expose the function, duh. * src/ColorDialog.cs: turn off adjustments for images with alpha for now, since adjustment profiles break badly with alpha. * src/Cms.cs: expose the model and name and description. 2005-10-20 Larry Ewing * src/PixelBuffer.cs: use the new method name. * src/PhotoPopup.cs: use the nondeprecated method. * src/ColorDialog.cs: use the image profile when creating the transform. * src/PngFile.cs: create a profile from the embedded image data. * src/ImageFile.cs: add get profile virtual method. 2005-10-19 Larry Ewing * src/JpegFile.cs: expose the profile to the world. * src/MainWindow.cs: make escape return to the icon view (from Gabriel Burt). * src/Cms.cs: add a new byte ctor that allows an offset. * src/JpegHeader.cs: add profile extraction. * src/Cms.cs: add more gamma table and profile creation methods. * src/Tiff.cs: add profile extraction to ImageDirectory. * src/JpegHeader.cs: fix the byte order of the length data when writting on a big endian arch. * src/FolderExport.cs: move to IBrowsable*. * src/PhotoQuery.cs: move to IBrowsable*. * src/PhotoArray.cs: move to IBrowsable*. * src/Makefile.am (F_SPOT_CSDISTFILES): remove IPhotoCollection from the build. * src/IPhotoCollection.cs: remove file, this was an empty interface. * src/GalleryExport.cs: switch to IBrowsable*. * src/FlickrRemote.cs: switch to IBrowsable*. * src/FlickrExport.cs: swtich to IBrowsable*. * src/CDExport.cs: switch to IBrowsable*. 2005-10-18 Larry Ewing * src/JpegHeader.cs: write out Rst and Tem markers. * src/RotateCommand.cs: * src/Util.cs: fixe typos, add string param. * src/Util.cs: add some members to Timer. * HACKING: add new file with style guides. 2005-10-16 Larry Ewing * src/MainWindow.cs: use the remove array overloads. 2005-10-13 Larry Ewing * src/PnmFile.cs: use the pixelbuffer code for loading deep pnm files. * src/PixelBuffer.cs: fix the pixbuf ctor. * src/BitConverter.cs: add a static swap method. 2005-10-11 Larry Ewing * src/ColorDialog.cs: add a little bit of smarts to the ok case to not create a version if the values haven't changed or have been reset. 2005-10-10 Larry Ewing * src/Cms.cs: add some more data types. 2005-10-09 Larry Ewing * src/PixelBuffer.cs: fix the loading interface. 2005-10-07 Larry Ewing * src/Db.cs: add add a Cache empty property. * src/ImportCommand.cs: handle exceptions while creating vfs sources. (ugh burn:/// ugh) * src/IconView.cs: remove region.Destroy calls. * src/Cms.cs: add more types. 2005-10-06 Larry Ewing * src/PixelBuffer.cs: implment 16bit loading. * src/PnmFile.cs: implement 16 bit loading. * src/PixelBuffer.cs: add some more logic. * src/Tiff.cs: handle errors when loading image subdirectories. 2005-10-03 Larry Ewing * src/Cms.cs: add Lab profile creation functions. * src/f-spot.glade: add revert button. * src/ColorDialog.cs: add reset method to the dialog. * src/MetadataStore.cs: fix typo. * src/MetadataStore.cs: add CustomRendered. * src/Tiff.cs: add custom rendered. 2005-10-02 Larry Ewing * src/IptcFile.cs: fix typo in iptc parsing. * src/XmpFile.cs: add the requisit processing instructions and xmpmeta element. * src/InfoDisplay.cs: add a disabled debugging dump of the xmp to a file. * semweb/XmlWriter.cs: don't close the writers when we close the rdf writer, we may want to add more info. * src/XmpFile.cs: basic writing. * src/PixelBuffer.cs: start new class for deep image data. * src/FolderExport.cs: copy exif data to the lq file in the Original export so that the exif data will show up in the the display. Change the thubmnail size limits. * src/Tiff.cs: add OECF parser. * src/IptcFile.cs: remove unused code. * src/MainWindow.cs: remove unuaed variable. * src/InfoDisplay.cs: remove unused variable. * src/Unix.cs: remove warnings. * src/Tiff.cs: clean up some warnings. 2005-10-01 Larry Ewing * src/Cms.cs: fix typo. * libfspot/Makefile.am (INCLUDES): add the new file for the glue function. * src/Cms.cs: wrap the profile glue function. * libfspot/f-screen-utils.c (f_screen_get_profile): add a simple glue function to get the profile from the display. * src/Cms.cs: bind CreateRGBProfile. * src/Cms.cs: wrap the gamma table creation functions.