2004-08-29 Larry Ewing * Release f-spot-0.0.2 -- Ice Machine 2004-08-29 Larry Ewing * autogen.sh: bump required automake version, this is needed for the glib-gettextize I have. It is possible other might not need it but I'm playing it safe. * src/makefile.am: remove GtkDnd.cs. * src/GtkDnd.cs: remove unused file. * src/TimelineSelectorWidget.cs: this is the GroupSelector.cs. 2004-08-26 Larry Ewing * src/GroupSelector.cs: add the glass label while dragging. * src/GroupAdaptor.cs: return the Path for the glass lable; 2004-08-25 Larry Ewing * src/SlideView.cs: since we might for some reason get a size allocate before we have transitioned from the background image, scale the current image if current_idx < 0; * src/PixbufUtils.cs: use the screen size not the root window size, if the resolution has changed the rootwindow size may be wrong. * src/DirectoryAdaptor: return Directory as GlassLabel. * src/TimeAdaptor.cs: return Year as TickLable, month as GlassLabel. * src/GroupAdaptor.cs: add TickLabel and GlassLable remove Label. * src/GroupSelector.cs: add tick label drawing, using adaptor.TickLabel. 2004-08-24 Larry Ewing * src/main.cs: set the default icon, yes we need a new one I was just tired of looking at the blank doc. * src/IconView.cs: Remove unused delegate that I missed before. Remove GetCell size stuff, use CellBounds instead. * src/MainWindow.cs: translate drag event x,y to window space before looking up the cell. Always use FocusCell when switching pages. * src/IconView.cs: expose CellIsSelected and FocusCell for the changes in mainwindow.cs * src/MainWindow.cs: make page switching use the focused cell not the start of the selection and rework dnd to attach to the dropped on cell unless the dropped on cell is selected then use the selection. * src/ThumbnailCache.cs: only dispose once we've actually removed the thumnail from the cache. * src/MainWindow.cs: revert the quickpreview thumbnail dispose change, something isn't working. * src/PhotoLoader.cs: use the public ThumbnailFactory. * src/PhotoStore.cs: make the thumbnail factory public. * src/MainWindow.cs: Dispose the return values of GetThumbnailForPath whenever we can. * src/ThumbnailCache.cs: use a subpixbuf hack to make the return value of the pixbuf disposable. Dispose the thumbnail whenever we remove it from the cache. Since the callers have subpixbufs they hold their own refs and don't have to worry about our explicit dispose. * src/IconView.cs: always dispose the result of GetThumbnailForPath. * src/PhotoLoader.cs: always dispose the result of GetThumbnailForPath. 2004-08-23 Larry Ewing * src/IconView.cs: add a IntPtr ctor, bump the ThumbnailCache icon size to 256. * src/PhotoView.cs: use the PhotoLoader. * src/SlideView.cs: use the new Loader stuff. * src/makefile.am: add PhotoLoader.cs. * src/PixbufUtils.cs: add SetOption method. * src/PhotoLoader.cs: add new Loader class. 2004-08-22 Federico Mena Quintero * src/CompatFileChooser.cs (CompatFileChooserDialog): Compare the result of Gtk.Global.CheckVersion() to "" rather than to null. 2004-08-22 Larry Ewing * src/MainWindow.cs: make the previow a popup. * src/IconView.cs: make get cell center public, remove motion event. From Trow. * src/MainWindow.cs: cleanup preview code ans use cache. From trow. * src/PixbufUtils.cs: add a new aspect loader. From trow 2004-08-21 Larry Ewing * src/MainWindow.cs: add handlers for zoom items. * src/PhotoView.cs: clean up the exception bounds and the variable names. * src/IconView.cs: throb selected cells too. * src/MainWindow.cs: set the fg and bg color on the preview. * src/MainWindow.cs: add Nat and Trow's preview hack, load fullsize version if smaller version doesn't * src/IconView.cs: add Nat and Trow's preview hack, remove dnd cruft. 2004-08-20 Larry Ewing * src/TimeAdaptor.cs: update now that glass set has moved. * src/MainWindow.cs: fix the glass calling methods. * src/DirectoryAdaptor.cs: implement SetGlass. * src/GroupAdaptor.cs: add the GlassSet event to the abstract class. * src/DirectoryAdaptor.cs: add a directory adaptor that builds the histogram based on path to the directory. * src/TimeAdaptor.cs: iterate over all the photos instead of doing a lot of queries. * src/GroupSelector.cs: use GroupAdaptor not TimeAdaptor. Set the Limits when we set the adaptor. * src/MainWindow.cs: slight reworking. * src/makefile.am: add GroupAdaptor.cs. * src/TimeAdaptor.cs: derive from GroupAdaptor. Fix Limit end calculation. * src/GroupAdaptor.cs: new abstract class for the adaptors. * src/TimeAdaptor.cs: load the whole range, this still needs work. Improve the end date calculation. Fix it so it builds. * src/MainWindow.cs: call the new time adaptor constructor. * src/PhotoStore.cs: fix stupid typo. * src/f-spot.glade: remove the icons from the rotate buttons. * src/ExifData.cs: add exif date parsing code from Ewen Cheslack-Postava . * src/PhotoStore.cs: read the time from the exif info if it exists, otherwise use the file creation time. * src/FileImportBackend.cs: don't pass the time to create, let it generate it from the file. 2004-08-19 Larry Ewing * src/ExifUtils.cs: parse the date to a DateTime. 2004-08-18 Larry Ewing * src/IconView.cs: Patch from trow to smooth out the throb. * src/MainWindow.cs: set current photo if they move the interest point while in PhotoView mode. * src/MainWindow.cs: call ScrollTo then Throb: on the selected cell. * src/IconView.cs: add the throb interface. * src/MainWindow.cs: check the source not the sender for dnd. Arg. * src/CompatFileChooser.cs: destroy the chooser too. * src/IconView.cs: change the selection drawing. This may not actually be better but it is a start. More selection drawing changes. * src/PhotoStore.cs: Make several of the methods private to clean up the public interface. * src/IconView.cs: clean up some of the debug output and bounds setting. * src/MainWindow.cs: attach to the adaptor glass set delegate and hndle it by calling icon_view.ScrollTo. * src/GroupSelector.cs: fire the adaptor glass set method when the glass changes. * src/TimeAdaptor.cs: add a delegate for the glass set event. 2004-08-17 Joe Shaw * src/TagStore.cs (TagStore.CreateDefaultTags): Set this.hidden to the hidden_tag. 2004-08-17 Larry Ewing * src/PhotoStore.cs: remove useless block. 2004-08-17 Dave Camp * src/PhotoStore.cs: Fixed the build. 2004-08-17 Larry Ewing * autogen.sh (PKG_NAME): remove some cruft. * src/PhotoStore.cs: reformat some of the code. * src/TagCommands.cs: use FromPixbuf not Pixbuf to set for now since it should be null_ok. * src/PhotoStore.cs: remove some old debug output. * src/TimeAdaptor.cs: rebuild the query when the limits change. * src/GroupSelector.cs: set the adaptor limits when the limit position changes. * src/makefile.am: add TimeAdaptor.cs. * src/MainWindow.cs: connect the GroupSeletor using an adaptor. * src/TimeAdaptor.cs: add a simplist adaptor between the GroupSelector and TimeAdaptor.cs. * src/MainWindow.cs: move the group selector into the class. * src/GroupSelector.cs: add a raw ctor. 2004-08-16 Larry Ewing * makefile.am: add GroupSelector.cs remove TimelineSelector.cs. * src/f-spot.glade: add an hbox for packing the Selector into. * src/GroupSelector.cs: clean up offset fixes. * src/MainWindow.cs: add a GroupSelector with bogus values to start tying in the Selector for testing. * src/GroupSelector.cs: event and drawing boinds if the widget isn't located at 0x0. * src/GroupSelector.cs: fix box drawing limit color. * src/GroupSelector.cs: draw limits as boxes, invalidate Union instead of just the two areas because we may have changed the background state. * src/GroupSelector.cs: don't iterate over all the groups just the visible ones. When releasing Hit test the middle of the manipulator not the point we grabbed. * src/GroupSelector.cs: make the drag hit testing use just the X bounds. * src/GroupSelector.cs: add dragging support. 2004-08-15 Larry Ewing * src/GroupSelector.cs: refactor Glass and Limit into Manipulator (lame name) superclass. Move hit testing into Manipulator. 004-08-15 Larry Ewing * src/GroupSelector.cs: refactor bounds checking add button press handler for click to move glass. * src/GroupSelector.cs: Add prelighting to the glass, hook up event_window. 2004-08-14 Larry Ewing * src/GroupSelector.csi: don't attach the style in the realize handler. Draw innactive boxes using the prelight color (it isn't perfect but it is prettier than the inset frame. Add a detail string to the PaintHandle call because pixbuf themes seem to crash without it. 2004-08-14 Larry Ewing * src/GroupSelector.cs: Add handle drawing to the glass. * src/GroupSelector.cs: add the start of the limit boxes. Add scrolling support. Change drawing colors. Add tick support. Add selection drawing. polish other drawing.. 2004-08-13 Larry Ewing * src/GroupSelector.cs: more drawing fixes. * src/GroupSelector.cs: add start of glass drawing; * src/GroupSelector.cs: add start of the basic timeline display code. 2004-08-12 Larry Ewing * src/MainWindow.cs: set tag icon to first image if no icon is set. * src/TagStore.cs: use the pixdata Serialize/Deserialize now that they actually work. * src/PixbufUtils.cs: make the tag icon 52x52 to avoid the Pixdata.Serialize crash. 2004-08-11 Larry Ewing * src/MainWindow.cs: really fix attachment syntax. *sigh* * src/PixbufUtils.cs: add TagIconFromPixbuf helper function that simply does some croping and scaling. This might belong somewhere else. * src/MainWindow.cs: Rework the call the Edit. * src/f-spot.glade: add edit icon dialog. * src/TagCommands.cs: Add EditIcon command. Make clicking on the tag Icon spawn the editor. Refactor ::Edit slightly. * src/f-spot.glade: add edit command menu item and dialog. * src/MainWindow.cs: add edit command handler. * src/TagCommands.cs: Add Edit command. 2004-08-10 Larry Ewing * src/MainWindow.cs: add handlers for Find->Date commands. * src/f-spot.glade: add new date range dialog (this needs love). * src/PhotoQuery.cs: add a new Range property. * src/PhotoStore.cs: expose the DateRange as public, make the start and end time readonly properties. * src/DateCommands.cs: new dialog command that lets you define the date range for the query. 2004-08-06 Larry Ewing * src/MainWindow.cs: fix attachment url syntax. * src/PhotoQuery.cs: remove the sorting it is being handled in the query for now. 2004-08-05 Larry Ewing * src/MainWindow.cs: Fix the array copying bounds. * src/SlideView.cs: Don't change the transition_interval even on the first fade. * src/MainWindow.cs: Make the photo range function smarter so that there is no need to select a range of photos. 2004-08-04 Larry Ewing * src/SlideView.cs: wrap to the begining cleanly. * src/MainWindow.cs: move slide show start too an idle loop to allow the menu item to redraw. * src/SlideView.cs: move the intervals to variables, add a fade mode flag. Add background pixbuf param to ctor for fading from a background and initialize variables differently if background is valid. * src/MainWindow.cs: make slideshow full screen, do a screen capture to fake a fadeout. Add a button press handler for the fullscreen mode. * src/PixbufUtils.cs: add LoadFromScreen util function to get a screen capture. * libeog/image-view.c (image_view_set_pixbuf): always unref the old pixbuf since we always replace it. 2004-08-03 Larry Ewing * src/PhotoStore.cs: rework the query again, use two nested queries instead of one, and remove the join completely. * src/PhotoStore.cs: Try a query based hidden tag again, remove the external cruft. I think it is finally correct. * src/PhotoStore.cs: Go back to manual inspection for the hidden tag, the query based one is not correct yet. * src/TagsStore.cs: Expose the whole hidden tag not just the Id so that we can test for the tag more simply. * src/PhotoStore.cs: fix accidentally reversed logic in the reworked query. * src/PhotoStore.cs: remove the horrible hidden hack from earlier and move the hidden logic into the query. Rework the query logic to stop using OR and instead use IN. * src/TagStore.cs: add a new HiddenId property so that the logic for which tag is the hidden tag is kept in the store. 2004-08-02 Federico Mena Quintero * src/IconView.cs (UpdateLayout): Set the step increment of the Vadjustment once we compute the cell_height so that the scrollbar's arrows will work. 2004-08-02 Larry Ewing * src/PhotoStore.cs: Add a horrible hack to make the hidden tag work for now, will fix shortly. Clean up debug output. * libeog/accessible-image-view.c: remove bonobo.h include, it isn't needed. 2004-08-01 Larry Ewing * src/PhotoStore.cs: reorder the tables in the join, this speeds up the query drastically. 2004-07-31 Larry Ewing * src/PhotoStore.cs: more cleanups, combine query logic a little, remove outdated code. * src/PhotoStore.cs: add some cleanups, remove the hack to demand load the photo data since it is no longer used. * src/PhotoStore.cs: Add big changes to the query to speed up the loading, still needs lots of cleanup but I want to keep the revision history. * src/PixbufLoader.cs: move existing requests to the front of the queue. 2004-07-21 Larry Ewing * src/Db.cs: commit a patch from trow to make sure the DateTimes we return are converted to/trom localtime. 2004-07-30 Larry Ewing * src/makefile.am: add PhotoPopup.cs, remove IconViewPopup.cs. * src/IconView.cs: use PhotoPopup instead of IconViewPopup remove GetFullFilename. * src/MainWindow.cs: Add HandleCopyLocation and make SelectedIds public for PhotoPopup. * src/PhotoView.cs: use PhotoPopup on right click. * src/PhotoPopup.cs: add new file, reworked version of IconViewPopup that doesn't reference anything but the mainwindow. * src/IconViewPopup.cs: remove unused file. * src/PhotoView.cs: Add TagView and try out a new layout for the PhotoView. * src/makefile.am: Add TagView.cs * src/TagView.cs: add a very basic tag display. 2004-07-09 Larry Ewing * src/f-spot.glade: remove the old handlers from the glade file. * src/MainWindow.cs: remove the activate code for the TagMenu handlers. * src/TagMenu.cs: remove the single argument constuctor. * src/MainWindow.cs: fix the TagMenu constuctor to use the new format since the old one breaks. * src/MainWindow.cs: Set the cursor to busy when building a new query. 2004-07-09 Matt Jones * src/TagStore.cs (CreateDefaultTags): fix some cut-n-paste typos regarding default image names 2004-07-03 Larry Ewing * src/GalleryRemote.cs: actually use the auto rotate flag and set it to false. 2004-06-29 Federico Mena Quintero * src/PhotoView.cs (CurrentPhoto.set): Don't do anything if we are trying to set the same photo as the one we have. (UpdateStarted): New event. (UpdateFinished): New event. (Update): Emit the UpdateStarted and UpdateFinished notifications. * src/MainWindow.cs (MainWindow): Add event handlers to the photo_view UpdateStarted and UpdateFinished. (HandlePhotoViewUpdateStarted): New event handler; set the cursor to a watch. (HandlePhotoViewUpdateFinished): New event handler; unset the cursor. 2004-06-29 Larry Ewing * src/PixbufLoader.cs: make the queue act in as last in first out to speed up the icon view scrolling. 2004-06-28 Larry Ewing * src/f-spot.glade: rename delete menu item. * src/MainWindow.cs: use SelectedIds in a couple of places it was needed. Rename the delete menu item. 2004-06-23 Larry Ewing * src/TagMenu.cs: store the parent_item and handle populating the menu internally. * src/makefile.am (F_SPOT_CSFILES): fix the last broken commit. * src/IconViewPopup.cs: hook up the TagMenus in the popup. * src/MainWindow.cs: Make the TagMenu handlers public. 2004-06-23 Larry Ewing * src/MainWindow.cs: Track the IconView changes. Make some of the event handlers public for the IconView popup, add a static member to hold the singleton instance. Scroll IconView when switching modes so that that last PhotoView image is visible on screen. * src/IconView.cs: rename some of the selection interface popup the IconViewPopup on right click. * src/IconViewPopup.cs: Initial commit based on a patch from Miguel. * src/makefile.am: add IconViewPopup.cs. * src/PhotoTagMenu.cs: make sure we check our inputs. 2004-06-17 Larry Ewing * src/MainWindow.cs: hook up the Remove tag item to the PhotoTagMenu. * src/f-spot.glade: hook up the Remove Tag item. * src/PhotoTagMenu.cs: new object to handle tags on selections of photos. Needs to use the selection interface once I write it. 2004-06-16 Larry Ewing * src/TagMenu.cs: Rebuild the menu each time populate is called. * src/MainWindow.cs: Add Find by tag handler and generic Activate handler for tag Menu that populates that menu. * src/f-spot.glade: add a Find menu update the Attach Tag items activate handler, * src/TagSelectionWidget.cs: call update if the Tags are set. We really need to just update the display instead instead of rebuilding the entire tree. * src/ExifData.cs: marshall all the strings types, I doubt this code is really correct but it stops the free spewage which is good enough for me right now. * configure.in: bump the Gtk# requires. * src/TagSelectionWidget.cs: fix GetPathAtPos call for Gtk# treeview api changes. * src/MainWindow.cs: update for Gtk# api changes, TypeName is now protected and GetPathAtPos has a better overload. 2004-06-15 Larry Ewing * src/MainWindow.cs: add a handler to the attach TagMenu so that it actually works. * src/TagMenu.cs: Fix the activation logic and add the category to its own submenu to allow people to select it. 2004-06-14 Larry Ewing * src/MainWindow.cs: add a new source type application/x-fspot-photos make the tag selection widget drop handler default to using that. * src/MainWindow.cs: Make the IconView accept text/uri-list drops and import them. This should really popup an import dialog bug that isn't done yet. * src/Util.cs: fix a few bugs in the UriList class, add a SelectionData constructor. 2004-06-13 Larry Ewing * src/MainWindow.cs: fix the IconView drag handler for now. * src/PhotoStore.cs: Add a Query overload with a start and end DateTime. * src/PhotoStore.cs: remove the ToUriList bits the UriList class replaces them. * src/PhotoView.cs: fix more issues with empty queries and invalid current photo seetings by introducing CurrentPhotoValid method. This isn't super clean but it preserves most of the behavior I want. 2004-06-13 MOREAU Vincent * src/PhotoView.cs: Make the PhotoView handle empty queries more gracefully. Patch from bug #144210. 2004-06-13 Larry Ewing * src/PhotoView.cs: Make the PhotoView handle empty queries more gracefully. Fixes bug #144210. * src/MainWindow.cs: Add drop handlers for the TagSelection widget, modified from the dnd patch by Lee. * src/PhotoStore.cs: Add GetByPath method based on patch from Lee Willis . * src/TagSelectionWidget.cs: TagAtPosition helper method, based on a dnd patch from Lee Willis . * src/IconView.cs: Integrate Icon view selection patch from Lee Willis and MOREAU Vincent . 2004-06-11 Larry Ewing * src/MainWindow.cs: Add new SelectedIds method make dealing with the different modes more similar. Make the selection logic behave so that in PhotoView mode operations only apply to the CurrentPhoto but in PhotoView mode it applies to all the selected photos. Clean up the various operations so that they use this new logic. * src/makefile.am (F_SPOT_CSFILES): add Util.cs * src/ExportCommand.cs: use thread progress dialog, this needs lots of work but it might as well go in. * src/Util.cs: remove the strange win32 define, change the scheme check. * src/MainWindow.cs: make sure we add the Update the query after removing. Use the new UriList api for the dnd sources. * src/ImportCommand.cs: add a Scroll property to control the scrolling behavior as new photos are added. Based on a patch from Miguel . 2004-06-10 Larry Ewing * src/Util.cs: add ToLocalPaths method. 2004-06-10 Larry Ewing * src/Util.cs: add new util file. Mostly code from Miguel for the popup items. * src/PhotoView.cs: fix off by one in entry sensitivity. * src/SlideView.cs: use the new LoadAtMaxSize function. * src/makefile.am (F_SPOT_CSFILES): add TagMenu.cs. * src/MainWindow.cs: Add delete command. Stub in fullscreen, rename window1 everywhere. Attach tag menu. Add send mail command. * src/f-spot.glade: add menu items, reorder view menu, add some spacing. Rename window1 to main_window. * src/TagMenu.cs: generate a menu based on the tag tree. 2004-06-09 Larry Ewing * src/PixbufUtils.cs: add AspectLoader and LoadAtMaxSize. * src/PhotoStore.cs: add a method to remove all versions, Make generate thumbnail use the ThumnailFactory.Save now that it exists. 2004-06-03 Larry Ewing * src/ThreadProgressDialog.cs: new progress dialog for the gallery uploading. * src/makefile.am (F_SPOT_CSFILES): add ThreadProgressDialog.cs. Update rules a bit. 2004-05-25 Larry Ewing * src/f-spot.glade: rename and reorder the rotation buttons. * src/GalleryRemote.cs: pass the description along as the caption. * src/PhotoView.cs: add a description entry in the photo view. The ui needs work but I want the description field funtioning. 2003-12-28 Miguel de Icaza * src/FileImportBackend.cs: Skip over thumbnail directories. 2004-05-14 Larry Ewing * src/ExportCommand.cs: commit a quick hack to upload photos in a thread. This is by no means ready for prime time. 2004-05-14 Todd Berman * src/makefile.am: fix makefile for mono from cvs. 2004-05-14 Todd Berman * src/ExportCommand.cs: * src/PhotoVersionCommands.cs: * src/TagCommands.cs: update to gtk-sharp from cvs. 2004-05-14 Larry Ewing * src/ImageView.cs: add a namespace so that we don't clash with the libeogfspot ImageView for now. * src/PhotoView.cs: add a button press handler and use the namespaced ImageView. 2004-05-14 Peter Johanson * src/f-spot.exe.config: add config file for the assemblies we are loading. * src/makefile.am: install f-spot.exe.config 2004-05-02 Larry Ewing * configure.in: bump required gtk-sharp verison. 2004-04-29 Larry Ewing * src/f-spot.glade: Rename properties handler. * src/MainWindow.cs: Add tag drag handlers, add a lame properties handler for the time being. Use the fixed Print.Pixbuf handler. * src/TagSelectionWidget.cs: Fix GValue as a value type, thanks to a patch from Peter Johanson . 2004-04-09 Larry Ewing * src/ImageView.cs: fixup constructor. 2004-04-03 Larry Ewing * src/SlideView.cs: Switch to Nearest mode on the tween images they don't matter and be a little more carefull about calling dispose. * src/MainWindow.cs: always listen to page switches and try to do something smart. 2004-04-02 Larry Ewing * src/MainWindow.cs: add more set the drag icon, it probably shouldn't stay here but I want to get things working. * src/IconView.cs: remove old dnd stuff, call dispose on all resized thumbnails. * src/PhotoStore.cs: add a static ToUriList Method. * src/MainWindow.cs: add dnd to the icon view. Work around broken Gtk# SelectionData wrappers for the time being. 2004-03-27 Larry Ewing * src/PixbufLoader.cs: process most recently added requests first. 2004-03-17 Larry Ewing * src/SlideView.cs: use the nearest blend mode for now. The loss of quality doesn't have much impact in the time the tween frame is shown.