2008-06-05 Aaron Bockover * libbanshee/banshee-player-pipeline.c: Enable the plugin installer support * libbanshee/banshee-player-private.h: * libbanshee/banshee-player-missing-elements.c: Keep the missing element details list preserved throughout the instance and allow showing the installer for each different missing codec, but only once per codec 2008-06-05 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: Avoid NRE. 2008-06-05 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: Fix bug in migrating download preference for feeds. 2008-06-05 Gabriel Burt * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Fix bug with our cell_context.Drawable going missing b/c we weren't transferring it to the new cell_context within OnStyleSet. 2008-06-05 Gabriel Burt * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtJob.cs: Set DelayShow = true to avoid it popping up so briefly so often. 2008-06-05 Gabriel Burt * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Remove some verbose logging. * src/Extensions/Banshee.Podcasting/Resources/GlobalUI.xml: * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Add the Subscribe to Podcast menu item to the Media menu. 2008-06-05 Gabriel Burt * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: Only try 5 unplayable items instead of 20 before stopping playback. 2008-06-04 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPositiveInt.cs: Prevent NRE (BGO #536724). 2008-06-04 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Use Gtk.Rc.GetStyleByPaths to grab the GtkTreeView style directly and attach it to our ListView; this is the proper "fix" to bug (BGO #534731), though the bug in LP is again, still quite valid * src/Clients/Nereid/Nereid/PlayerInterface.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListViewBase.cs: Reverted the hacky version of my theme fix from earlier today 2008-06-04 Gabriel Burt * src/Libraries/Migo/Migo.Syndication/FeedManager.cs: Get rid of some racy wait handle usage that was causing shutdown to freeze sometimes. 2008-06-04 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: * src/Libraries/Migo/Migo.Syndication/RssParser.cs: Fix bug with earlier fix for guids that would cause some duplicates under some circumstances. 2008-06-04 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Fix bug with link we were generating for the Last.fm track page (BGO #536682). 2008-06-04 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Remove the icon from the Source Rename action (BGO #536559). 2008-06-04 Aaron Bockover * src/Clients/Nereid/Nereid/PlayerInterface.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_DragAndDrop.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListViewBase.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: A pretty disgusting hack that forces the style of our source view GtkTreeView into our custom ListView widget so at least the ListView will end up with the same color set as the GtkTreeView; this is a giant and ugly hack that works around a pretty serious bug in some of Ubuntu's themes where the selection background color is different for GtkTreeView widgets than for other widgets causing inconsistency and usability issues when reading text on the darker background (BGO #534731); https://bugs.launchpad.net/ubuntu/+source/human-theme/+bug/237261 The only reason I opted to work around this downstream bug was that some users reported it difficult to read text due to the contrast issue, so I view this as a usability problem more than a cosmetic one. 2008-06-04 Gabriel Burt * src/Core/Banshee.Services/Banshee.MediaProfiles/MediaProfileManager.cs: Avoid NRE, fixes BGO #536234. 2008-06-04 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: * src/Libraries/Migo/Migo.Syndication/FeedItem.cs: * src/Libraries/Migo/Migo.Syndication/Feed.cs: Fix bug with the guid we use for identifying podcast items. Some feeds don't give a guid for items, so we were using the , but that isn't unique. Instead, fall back to using a combination of the title and pubdate. Fixes BGO #536555. * src/Core/Banshee.ThickClient/Banshee.Gui/ViewActions.cs: * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Comment out the eq actions. 2008-06-04 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedSeekSlider.cs: When the widget is created and the engine is in the paused state, synthesize an engine iterate event so the correct state is reflected in the slider and label (BGO #536564) * src/Core/Banshee.Widgets/Banshee.Widgets/StreamPositionLabel.cs: Implement OnSizeRequested to properly do size requisitioning (BGO #536564) * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/TrackInfoPopup.cs: Updated to reflect small API change 2008-06-04 Aaron Bockover * src/Core/Banshee.Services/Banshee.Sources/ISource.cs: * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Disabled exporting of the source manager and its children over DBus since there are issues that need to be worked out in NDesk DBus itself before this can be useful and working (BGO #536526) * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedSeekSlider.cs: Expose the StreamPositionLabel * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/TrackInfoPopup.cs: Set FormatString on the slider's label to small, not bold; fix padding and spacing after dropping unnecessary alignment 2008-06-03 Gabriel Burt * src/Libraries/Migo/Migo.Syndication/RssParser.cs: If we fail to load a XML document b/c it's invalid, remove any non-linebreak control characters from it and try loading it again. 2008-06-03 Aaron Bockover * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Remove the Iterate event from the event mask * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: Do not update the popup since now all of its children do their own state/event handling * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/TrackInfoPopup.cs: Removed a bunch of crappy legacy code for showing the position/duration via the label and progress bar; replaced with our standard SeekSlider widget in horizontal mode (BGO #536396) 2008-06-03 Gabriel Burt * src/Libraries/Migo/Migo.Syndication/RssParser.cs: If a XML blob isn't valid XML, log the actual error so we have a hope of fixing or working around the problem. 2008-06-03 Gabriel Burt * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtJob.cs: Avoid issue with last_scan being MinValue and trying to subtract retry_every from it. Also, wrap the entire fetch loop in a try/catch to make sure we exit the user job and log any exception. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Don't stop the entire migration because one track fails. Log the exception, and keep going. 2008-06-03 Aaron Bockover * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: Fixed focus bug with metacity (BGO #531187) * src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapInfoBar.cs: Use only the normal background color and create a darker version of that to do the subtle gradient behind the bar (BGO #536052) 2008-06-03 Gabriel Burt * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtJob.cs: * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtService.cs: Remove verbose logging. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedSeekSlider.cs: Fix bug where stream position label didn't return to 'Idle' when playback was stopped. 2008-06-03 Aaron Bockover * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: Reconfigure the window when we're shown so we'll fullscreen to the proper monitor (whatever monitor the parent is on) (BGO #535982) 2008-06-03 Aaron Bockover * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: In Play (), always call OnPlayWhenIdleRequest if we are in the idle state, otherwise call Play on the base engine (BGO #534472) * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs: Also add mpga to the white list 2008-06-03 Aaron Bockover * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Remove the footer widget property after destroying the widget to avoid a property notification cycle * src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapInfoBar.cs: Wrap UpdateUsage in an exception catch/log * src/Backends/Banshee.Hal/Banshee.HalBackend/HardwareManager.cs: Catch any exceptions that HAL might through (particularly if the device no longer exists) when adding devices (BGO #528957) * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs: Added oga and ogv file extensions to the white list (BGO #532561) * src/Extensions/Banshee.BooScript/Resources/vorbis-oga-extension.boo: Added a sample script that will change the Vorbis profile to write files with a .oga extension instead of a .ogg (BGO #532561) 2008-06-03 Gabriel Burt * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Get rid of unnecessary Save call; DatabaseTrackInfo already calls save when you set the Rating. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Expose rating and some other members as protected so subclasses can set it without triggering the save (eg to load initial state). * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodTrackInfo.cs: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpTrackInfo.cs: Hacky fix for BGO #535898, use the protected rating member instead of the Rating property to initialize the rating, to avoid callign Save when we didn't mean to. 2008-06-03 Aaron Bockover * src/Clients/Nereid/Nereid/Client.cs: Use ?? 2008-06-03 Aaron Bockover * src/Clients/Halie/Halie/Client.cs: Translate a few query fields to be more familiar, allow setting volume and seeking, support window hiding * src/Clients/Nereid/Nereid/Client.cs: Added --help and --version displays * src/Core/Banshee.ThickClient/Banshee.Gui/IClientWindow.cs: Added Hide () * src/Libraries/Hyena/Hyena.Collections/CollectionExtensions.cs: Added some Join methods * src/Libraries/Hyena/Hyena.CommandLine/Layout.cs: Support displaying specific sets of groups * src/Libraries/Hyena/Hyena.CommandLine/CommandLineParser.cs: Added a ContainsStart method * src/Libraries/Hyena/Hyena.CommandLine/LayoutGroup.cs: Added index support 2008-06-03 Gabriel Burt * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtJob.cs: * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtService.cs: And recommit the patch, now that Aaron approves. :) 2008-06-03 Gabriel Burt * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtJob.cs: * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtService.cs: Revert last commit, apparently abock has some grand plans he didn't tell me about. 2008-06-03 Gabriel Burt * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtJob.cs: * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtService.cs: Add a CoverArtDownloads table to keep track of when we last tried to download cover art for an album and if we were successful. With this information, we can avoid trying to download artwork for an album more than once a week. Fixes BGO #535988. Should also fix issue with the cover art job saying it's at 100% while it keeps going for many more minutes. 2008-06-03 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellFileSize.cs: Avoid NRE, fix BGO #536148. 2008-06-03 Jordi Mas * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumListModel.cs: Add GetString to localizable strings * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistListModel.cs: Add GetString to localizable strings 2008-06-02 Gabriel Burt * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtJob.cs: Don't display cover art as we download, but do show the same Network icon as shown for the podcast download job. Fixes BGO #535989. 2008-06-02 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Widgets/RatingMenuItem.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/RatingEntry.cs: Only set the rating when the mouse is released; fix some small issues with leave notify on the menu item (BGO #535338) 2008-06-02 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Patch from Bertrand Lorentz fixing BGO #536306; stop listening for player engine events after we're disposed. 2008-06-02 Aaron Bockover * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: Added Boyd's panel icon sizing code from Tomboy so we display the best icon for a given panel size, only scaling if we're in SVG territory; this is so hot I think I'll make my panel like KDE now (BGO #526333) * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying.addin.xml: Make the Now Playing extension required for now * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/TrackInfoPopup.cs: Set the window hint to notification to prevent compiz from doing strange things with the windows when they are mapped/unmapped (BGO #526326) * src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinView.cs: Do not show addins where the category starts with 'required:' * src/Core/Banshee.Services/Banshee.ServiceStack/DBusServiceManager.cs: Avoid possible NRE (BGO #532215) 2008-06-02 Aaron Bockover * src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs: Switch to the FSQ source when items get added to it, set it as the next playback source if the --play-enqueued argument has been passed either locally or remotely 2008-06-02 Jordi Mas * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Add GetString to localizable strings 2008-06-02 Aaron Bockover * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDuplicator.cs: Bootstrapper for locating and running an IDiscDuplicator extension * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Implement disc duplication by calling into AudioCdDiscDuplicator if it is supported * src/Core/Banshee.Services/Banshee.Hardware/IDiscDuplicator.cs: Interface to expose disc duplication support * src/Core/Banshee.Services/Banshee.Services.addin.xml: Define a DiscDuplicator extension point * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/Brasero.cs: * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GnomeService.cs: Expose Brasero functionality internally * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/DiscDuplicator.cs: Implement an IDiscDuplicator that first tries to use Brasero and falls back to nautilus-cd-burner * src/Backends/Banshee.Gnome/Banshee.Gnome.addin.xml: Implement the DiscDuplicator extension point * data/banshee-1.desktop.in.in: Change the Name field to 'Banshee' to eliminate redundancy between Name and GenericNam 2008-06-02 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Avoid NRE, fixes BGO #535909. 2008-06-02 Gabriel Burt * src/Clients/Nereid/Nereid/ViewContainer.cs: Add the separator back between the filter options and the Help item. Attempt to fix the "GdkWindow unexpectedly destroyed" warnings (and related partial UI freezing) by hiding the old content, adding and showing the new content, and then removing the old content when switching source contents. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs: Remove WriteLine cruft. 2008-06-02 Aaron Bockover * src/Core/Banshee.Core/Banshee.Base/PlatformHacks.cs: Removed the gdk_set_program_class call since it's GUI code and not even really a platform hack * src/Core/Banshee.Core/Makefile.am: * src/Core/Banshee.Core/Banshee.Core.dll.config: Removed .config, not needed * src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs: Replaced the PlatformHacks.GdkSetProgramClass call with the proper Gdk.Global.ProgramClass property setter 2008-06-02 Sebastian Dröge * src/Core/Banshee.Core/Banshee.Core.dll.config: * src/Core/Banshee.Widgets/Banshee.Widgets.dll.config: Only add the required dllmaps. 2008-06-02 Jordi Mas * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Add GetString to localizable strings 2008-06-02 Sebastian Dröge * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: Rename local variable from db to scale as it holds a scale factor which was calculated from a db value and not the other way around. * src/Core/Banshee.Services/Banshee.Equalizer/EqualizerManager.cs: * src/Core/Banshee.Services/Banshee.Equalizer/EqualizerSetting.cs: 0dB is passthrough and should be used as default value. 1dB will make the sound a bit louder and can already lead to clipping in rare situations. * src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerView.cs: Make the preamp levels more consistent with the eq levels and don't always do (level / 10) * 10. 2008-06-02 Sebastian Dröge * src/Core/Banshee.Core/Banshee.Core.dll.config: * src/Core/Banshee.Core/Makefile.am: * src/Core/Banshee.Widgets/Banshee.Widgets.dll.config: * src/Core/Banshee.Widgets/Makefile.am: Add some missing dllmaps. 2008-05-30 Aaron Bockover Banshee 1.0 RC1 (0.99.3) Released 2008-05-30 Aaron Bockover * src/Extensions/Banshee.NotificationArea/Makefile.am: Build fix 2008-05-30 Aaron Bockover * configure.ac: Bump to RC1 * src/Extensions/Banshee.CoverArt/Banshee.CoverArt/CoverArtJob.cs: Remove redundant status message part 2008-05-30 Aaron Bockover * src/Clients/Nereid/Nereid/ViewContainer.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs: Make the filter menu work by inserting a query part when items are selected * libbanshee/banshee-player-pipeline.c: Disabled the equalizer yet again because the element is still too buggy in GStreamer causing static 2008-05-30 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs: Don't use Hyena.DateTimeUtil since it has a bug with timezone/daylight-savings that reports times an hour off in some cases. Should fix BGO #528195. 2008-05-30 Aaron Bockover * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Show the correct number of songs that are ripping in the status area * src/Clients/Nereid/Nereid/PlayerInterface.cs: * src/Clients/Nereid/Nereid/ViewContainer.cs: Removed disk usage stuff and added footer widget support * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodTrackInfo.cs: * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/DatabaseRebuilder.cs: * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/UnsupportedDatabaseView.cs: Ported the database rebuilder and the unsupported database UI from 0.13.x so now unsupported databases can be rebuilt and users will at least know their shitty iPod won't work in Banshee because they used it with shitty iTunes. Buy an MTP device. * src/Dap/Banshee.Dap.Ipod/ThemeIcons/scalable/devices/*.svg: Added the vector versions of the iPods * src/Dap/Banshee.Dap/Banshee.Dap/MediaGroupSource.cs: * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Support the new DapInfoBar in the footer of the source to show the stats on audio, video, and data usage for each DAP * src/Dap/Banshee.Dap/Makefile.am: * src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapInfoBar.cs: Sweet display for showing disk usage stats * src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapPropertiesDisplay.cs: Start of a GUI page for DAPs, not really used yet except for the iPod when the database can't be read * src/Core/Banshee.Widgets/Banshee.Widgets/MessagePane.cs: Cleaned up to derive directly from table, less window hackery * src/Libraries/Hyena/Hyena.Query/FileSizeQueryValue.cs: Added support for converting terabytes and petabytes (IT WILL HAPPEN ONE DAY - GOOGLE ALREADY PROCESSES 20PB/day - JUST WAIT) * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellRating.cs: Fix NRE * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/Theme.cs: * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Support setting a pattern as the background for the rounded frame background * src/Libraries/Hyena.Gui/Hyena.Widgets/SegmentedBar.cs: More fixes, support horizontal padding, greadly simplified the segment rendering by using two pattern passes instead of N pattern passes, fixes bugs where a segment was shorter than the radius causing strange shit to happen 2008-05-30 Gabriel Burt * src/Clients/Nereid/Nereid/ViewContainer.cs: Remove the fields listed in the menu that popped up when you clicked the icon next to the search entry, since they did nothing. Will probably be added back later, and made to prepend "artist" etc fields. 2008-05-30 Gabriel Burt * src/Libraries/Hyena/Hyena.Collections/Selection.cs: Don't clear the FocusedIndex when we clear the selection - they shouldn't be so tightly linked. Fixes bug with pressing enter not playing the focused song. Fixes BGO #535587. 2008-05-30 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: Respect copy-to-library when dragging FileSystemQueue items to the library. 2008-05-30 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Add property defining whether we support playlists or not. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastSource.cs: For now, at least, we don't support playlists. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Show the Add to Play Queue option if the source is a db source, not just if it's a library source. * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Hide playlist-related actions unless the primary source SupportsPlaylists. 2008-05-30 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Save and restore the expanded state of all primary sources. 2008-05-29 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinTile.cs: Make some text translatable. * src/Core/Banshee.Services/Banshee.Preferences/Page.cs: Change "Manage Extensions" tab to "Extensions". 2008-05-29 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Banshee.Services/Banshee.Collection/AlbumListModel.cs: * src/Core/Banshee.Services/Banshee.Collection/TrackListModel.cs: * src/Core/Banshee.Services/Banshee.Collection/BansheeListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: Remove a bunch of crufty code and replace a bunch of NIEXs with Log.Error. 2008-05-29 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: Don't pulse the podcasts source when feeds are changes, just when items are added. * src/Libraries/Migo/Migo.Syndication/FeedUpdateTask.cs: If the feed hasn't been updated since we last checked, pass notify=false to feed.Save. * src/Libraries/Migo/Migo.Syndication/Feed.cs: Don't raise FeedsChanged when DownloadStatus set, just in Save and Delete. Add override to Save that takes bool notify arg. 2008-05-29 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Don't throw an exception when CopyTo isn't implemented, but log a warning. 2008-05-29 Gabriel Burt * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Move the NeedsReload methods into DatabaseSource so they can be used by PrimarySource and others. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Only reload when track(s) change if needed, otherwise just invalidate the cache. Should help some with performance/CPU usage when changing songs. 2008-05-29 Gabriel Burt * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Fix crasher in save-selection by being properly defensive and not assuming the item pointed to by the selection focus is still in the model. 2008-05-29 Gabriel Burt * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Fix bug where if the play queue was empty but you double clicked on it, it would go recursive/eat all your RAM. Should fix BGO #535369. 2008-05-29 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Add a bool IsLocal property. If it's false and you drag tracks to a LibrarySource, it will ask the owning PrimarySource to copy the file to a given location by calling its CopyTrackTo method defined here (and implemented in each non-local subclass). * src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs: Reload the FSQ on start to make sure it shows itself if it had saved items. Also, set IsLocal = true so dragging files between the libraries and it doesn't do a file copy. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Fix bug with importing to the Library not just from the audio folders. Implement CopyTrackTo. * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: Add commented out CopyTrackTo skeleton. * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Implement CopyToTrack - the nicest implementation in a way, because we get granular progress updates. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: Add some NRE defense and debugging for a NRE I saw but don't understand. * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: Set IsLocal = true, and fix up AddTrack method so that if the file is from a IsLocal PrimarySource it just 'moves' it (eg changes the PrimarySourceId) but otherwise it asks the owning PrimarySource to copy the file to a location in the library folder. * src/Core/Banshee.Services/Banshee.MediaEngine/TranscoderService.cs: Set the updatd MimeType on the file after transcoding it. * src/Core/Banshee.Core/Banshee.Base/FileNamePattern.cs: Add a BuildFull convenience overload. 2008-05-29 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Widgets/SegmentedBar.cs: Add label support 2008-05-29 Gabriel Burt * src/Clients/Nereid/Nereid/PlayerInterface.cs: Fix crasher introduced by yesterday's keybinding fix. Thanks to wfarr for catching it. 2008-05-29 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerView.cs: Small rounding fix * src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerWindow.cs: Ported from glade, some fixes * src/Core/Banshee.ThickClient/Banshee.Gui/ViewActions.cs: Only allow one instance of the equalizer to be shown; present the open version if exists * src/Core/Banshee.ThickClient/Resources/banshee-dialogs.glade: Removed the equalizer * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs * libbanshee/banshee-player-equalizer.c: White space cleanup * libbanshee/banshee-player-pipeline.c: White space cleanup and removed a redundant element link 2008-05-29 Gabriel Burt * src/Clients/Halie/Halie/Client.cs: Don't turn strings that start with *:// into local file paths. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Add method for creating a station given a lastfm:// url. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Listen for command line file arguments starting in lastfm:// and try to create new stations for them. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: Handle feed:// command line files, subscribing to them. * src/Core/Banshee.Core/Banshee.Base/CoverArtSpec.cs: Add TODO 2008-05-29 Sebastian Dröge * libbanshee/banshee-player-equalizer.c: (bp_equalizer_set_gain), (bp_equalizer_get_bandrange), (bp_equalizer_get_nbands), (bp_equalizer_get_frequencies): * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: Get the number of frequency bands from the element and always take the complete gain range. Guard against some possible crashes and don't return an array that is allocated on the stack to the caller who provided us with a correctly allocated array already. * libbanshee/banshee-player-pipeline.c: (_bp_pipeline_construct): Some cleanup and only use the capsfilter hack with equalizer versions that had the clipping bug on integer samples. 2008-05-28 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPodcastStatusIndicator.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastItemView.cs: Change grey to mean the podcast item is old, and the blue indicator to mean the podcast item has been downloaded. Different than iTunes, but then so are we. (Plus we let you stream podcast items). * src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs: * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Fix up drag and droppability for sources and tracks. Fix bug with sources having a border drawn around them when a dnd is cancelled. Only allowed but not-yet-functional dnd is from DapSource subclass (eg Music) to a library. 2008-05-28 Aaron Bockover * src/Clients/Nereid/Nereid/Client.cs: Force the gtk-menu-popup-delay setting to be 225ms (the GTK+ default value) to avoid a nasty bug when it is possibly set to 0ms by some gtkrc files (BGO #524706) 2008-05-28 Aaron Bockover * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: Split audio CD preferences into a separate tab * src/Core/Banshee.Services/Banshee.Preferences/Collection.cs: * src/Core/Banshee.Services/Banshee.Preferences/Root.cs: Ensure sections and pages actually get inserted in the proper sort order * src/Libraries/Hyena/Hyena.Collections/CollectionExtensions.cs: * src/Libraries/Hyena/Hyena.Collections/Tests/RangeCollectionTests.cs: Moved SortedInsert into a new CollectionExtensions helper class 2008-05-28 Aaron Bockover * src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs: Load from the local instance argument queue at startup * src/Clients/Halie/Halie/Client.cs: Handle some crasher cases * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Work around a shitty managed DBus bug where sending an empty dictionary will crash - related to the other shitty null bug 2008-05-28 Gabriel Burt * src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs: Fix bug with removing all items and the ListView crashing. 2008-05-28 Aaron Bockover * src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs: The new file system queue, much like the old local queue - not finished but mostly working * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Fixed source order * src/Clients/Halie/Halie/Client.cs: Support presenting the main window * src/Clients/Nereid/Nereid/PlayerInterface.cs: * src/Clients/Nereid/Nereid/Client.cs: Call NotifyStartupComplete in case an instance was already running and the new process exits quickly; this prevents GTK/GDK/GNOME from spinning a cursor if the process was started through a GUI launcher * src/Core/Banshee.ThickClient/Banshee.Gui/IClientWindow.cs: New interface for client windows to expose remote functionality * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Added support for an AutoAddSource property - if it's set to false an extension source will not get added automatically to the source manager * src/Core/Banshee.Services/Banshee.ServiceStack/IDBusObjectName.cs: An interface that can be used to override the export name of a remote object * src/Core/Banshee.Services/Banshee.ServiceStack/DBusServiceManager.cs: Support IDBusObjectName interface naming 2008-05-28 Gabriel Burt * src/Clients/Nereid/Nereid/PlayerInterface.cs: Add the AccelGroup back as soon as the focus leaves the focused Gtk.Entry. Fixes bug where if you searched, then click to select a track, and hit a keybinding, it wouldn't work until the second press. Thanks to Jorge Castro for investigating. 2008-05-28 Aaron Bockover * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: Listen to the new DBusCommandService * src/Clients/Halie/Halie/Client.cs: Proxy files to the DBusCommandService * src/Core/Banshee.Services/Banshee.ServiceStack/DBusCommandService.cs: A light weight remote object that raises events for command line arguments and files that can be pushed into it * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Register the DBusCommandService * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Use InternalName 2008-05-28 Aaron Bockover * src/Clients/Halie/Halie/Client.cs: Added command line support for mostly fully controlling the engine and the playback controller 2008-05-28 Gabriel Burt * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Only set the AcceptableMimeTypes if they are null/haven't been set. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Parse the .is_audio_player output_formats key. The last fix required to close BGO #531769. 2008-05-28 Gabriel Burt * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Only load files from the audio_folders directories. 2008-05-28 Gabriel Burt * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Set the FileSize for just-ripped tracks. Fixes BGO #532077. 2008-05-28 Gabriel Burt * src/Libraries/Hyena/Hyena.Query/QueryField.cs: Fix bug with querying and smart playlists with "genre!:rock" would still match Rock. Fixes BGO #533143. 2008-05-28 Gabriel Burt * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenControls.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedSeekSlider.cs: Add method to disconnect the seek slider so it's not still listening for player engine events and trying to update itself after it's been destroyed. Fixes BGO #535213. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs: Be more defensive to avoid ArrayIndexOutOfBounds. Fixes BGO #535269; 2008-05-28 Aaron Bockover * src/Clients/Halie/Halie/Client.cs: A new Banshee client that runs only only the console and proxies command line arguments into DBus calls to communicate with and control an already running Banshee client * src/Core/Banshee.Services/Banshee.ServiceStack/DBusConnection.cs: Moved the connection logic out of the service since it needs to be used before any services start at the client level for single instance reasons * src/Core/Banshee.Services/Banshee.ServiceStack/DBusServiceManager.cs: Cleaned up, use DBusConnection * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: * src/Core/Banshee.Services/Banshee.PlaybackController/IPlaybackController.cs: * src/Core/Banshee.Services/Banshee.PlaybackController/IPlaybackControllerService.cs: Worked around stupid issues in NDesk dbus so the controller actually works as a remote object now * src/Libraries/Hyena/Hyena.CommandLine/CommandLineParser.cs: Added an Arguments property and added internal logic to keep sort order preserved on the arguments so they can be iterated over in proper order 2008-05-28 Gabriel Burt * src/Extensions/Banshee.CoverArt/CoverArtJob.cs: * src/Extensions/Banshee.CoverArt/Makefile.am: * src/Extensions/Banshee.CoverArt/CoverArtService.cs: Fix the build and put C# files in their proper namespace directory. 2008-05-28 James Willcox * src/Extensions/Extensions.mds: * src/Extensions/Banshee.CoverArt/CoverArtJob.cs: * src/Extensions/Banshee.CoverArt/Banshee.CoverArt.addin.xml: * src/Extensions/Banshee.CoverArt/Banshee.CoverArt.mdp: * src/Extensions/Banshee.CoverArt/CoverArtService.cs: * src/Extensions/Makefile.am: Add Banshee.CoverArt extension which allows user-initiated and automatic cover art fetching for the entire MusicLibrary. * src/Core/Banshee.Services/Banshee.Metadata.Rhapsody/RhapsodyQueryJob.cs: Close the response when we're done with it, fixes some timeout issues when fetching many things at a time. * src/Core/Banshee.Services/Banshee.Metadata.Embedded/EmbeddedQueryJob.cs: Don't assume Track.Uri is set * build/build.environment.mk: Add refs for Banshee.CoverArt extension * configure.ac: 2008-05-28 Alexander Hixon * src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerView.cs: Fix small bug where when loading presets from the EQ editor caused the manager to set the dB value for the preamp to 10 times what the value should have been. 2008-05-27 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellStatusIndicator.cs: Fix bug where pixbuf wasn't centered in the cell 2008-05-27 Aaron Bockover * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPodcastStatusIndicator.cs: Added support for the classic new item blue ball * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastItemView.cs: Implemented a cell data handler to set the opacity on text renderers * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastTrackInfo.cs: Implemented a StatusText cell and some helper properties * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastSource.cs: Added a Status column * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Added a virtual ColumnCellDataProvider method that is called as soon as a data item is bound to a cell so the view can configure the cell * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: Added an opacity property 2008-05-27 Gabriel Burt * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Change InternalName from banshee to banshee-1, so we actually set the process name correctly, register the right name with MMKeys, etc. 2008-05-27 Gabriel Burt * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/RatingMenuItem.cs: Fix bug with not saving the rating when set from either the context menu or the notification menu. 2008-05-27 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/XmlColumnController.cs: Support changing the renderer on columns * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellStatusIndicator.cs: Renamed to Status indicator instead of Playback indicator * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DefaultColumnController.cs: Updated to reflect rename of the indicator object * src/Libraries/Hyena.Gui/Hyena.Data.Gui/Column.cs: Support removing and clearing renderers * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPodcast.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Dialog/PodcastSubscribeDialog.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastSource.cs: Load the podcast icons from the theme, not as resources * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPodcastStatusIndicator.cs: A custom indicator renderer to show podcast item status 2008-05-27 Gabriel Burt * src/Libraries/Hyena.Gui/Hyena.Widgets/RatingMenuItem.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/RatingEntry.cs: Fix bug where preview-on-hover stars weren't cleared before showing the track context menu (or notification menu) so you'd see whatever hover stars had been there the last time you opened it (even if for another track). Fixes BGO #534460. 2008-05-27 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/IDatabaseTrackModelCache.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Fix two bugs, one I introduced in my last big podcast commit that made the play queue keep repeating the same song, and another more subtle one, in our implementation of IndexOf for findind the index of an item in playlists. Fixes BGO #534863. 2008-05-27 Aaron Bockover * src/Core/Banshee.Services/Banshee.Equalizer/EqualizerManager.cs: Handle when the equalizer XML file does not exist 2008-05-27 Michael Monreal * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs: Use gtk-add instead of gtk-new icon in the podcast source to match the Last.fm source. Fixes BGO #534817. 2008-05-27 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastTrackInfo.cs: Return the item's PubDate as the ReleaseDate. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: If the current track is a podcast item, display "from X published Y" instead of "by X from Z". 2008-05-25 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastUnheardFilterView.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs: Fix the build. 2008-05-25 Gabriel Burt This patch adds another filter to the podcast browser - the ability to filter on all/new/old items. The default is to only show New Items, in keeping with the most common use case of podcast users. Items are marked as old after being played. They can be marked old manually via the Edit menu and track context menu, or by selecting one or more items and pressing y. * *.mdp: MonoDevelop changed some attributes across all these. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: Add hack to be able to not handle FeedItem changes when doing bulk ops. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastQuery.cs: New class, commented out, will replace BansheeQuery when in podcasting. Zero work done on it so far. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastSourceContents.cs: Add another filter list view with three options: All Items, New Items, and Old Items. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs: Change the Mark as Old keybinding to y (ala gmail archive). Implement mark old/new. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs: Move go Banshee.Podcasting.Gui namespace directory. Add the all/new/old filter view. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Models/PodcastItemModel.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Models/PodcastFeedModel.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Views/PodcastFeedView.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Views/PodcastItemView.cs: Move to namespace directories. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellUnheard.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastUnheardFilterView.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastUnheardFilterModel.cs: New classes to implement the all/new/old filter. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastTrackInfo.cs: Override IncrementPlayCount and set the item as old (if not already set) when incremented. Catch exceptions in processing file w/ taglib#. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastSource.cs: Move PodcastListModel out of here. Create the all/new/old filter model and add it to the FilterModels. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastTrackListModel.cs: Moved out of PodcastSource into its own file. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumListModel.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastFeedModel.cs: DatabaseBrowsableListModel renamed to DatabaseFilterListModel, and ItemToFilterValue made protected. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.mdp: * src/Extensions/Banshee.Podcasting/Makefile.am: Reflect new files and moevs. * src/Extensions/Banshee.Podcasting/Resources/ActiveSourceUI.xml: Add track actions to the Edit menu (not just the track context menu). * src/Core/Banshee.ThickClient/Banshee.Gui/PersistentPaneController.cs: Use String.Format not +, properly handle setting a new Paned when one was already set (stop listening to old one's events), avoid saving when the value hasn't changed. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Give parent class a name for us (albumartist) for unique gconf position entries * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs: Take a name in the ctor so we can save positions in gconf per filtered-list type (eg podcast and albumartist, atm). Go back and implement packing the N filter views into Gtk.Paneds. Refactor LayoutLeft/Top code to be the same. * src/Core/Banshee.Services/Banshee.Collection/IFilterListModel.cs: New interface. * src/Core/Banshee.Services/Banshee.Collection/AlbumListModel.cs: Implement Clear. * src/Core/Banshee.Services/Banshee.Collection/BrowsableListModel.cs: * src/Core/Banshee.Services/Banshee.Collection/FilterListModel.cs: Rename, made to not require that the filter model itself be database backed (eg the all/new/old model is just an in-memory enum model). * src/Core/Banshee.Services/Banshee.Collection/BansheeListModel.cs: Comment out (should remove) virtual implementations that just threw NIE. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistInfo.cs: Move ICacheableItem up (to parent class of *TrackInfo). * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseBrowsableListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseFilterListModel.cs: Rename. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: Handle the provider.Where clause being empty, add spaces around AND'd sql filter fragments from our filtering models. * src/Core/Banshee.Services/Banshee.Services.mdp: * src/Core/Banshee.Services/Makefile.am: New/moved files. * src/Libraries/Migo/Migo.Syndication/MigoModelProvider.cs: * src/Libraries/Migo/Migo.Syndication/MigoItem.cs: * src/Core/Banshee.Services/Banshee.Database/BansheeModelCache.cs: Add using Hyena.Data because ICacheableItem moved there. * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Cosmetic changes, getting ready to refactor so sources can set/customize the fields they can be queried with. * src/Core/Banshee.Core/Banshee.Collection/AlbumInfo.cs: * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: * src/Core/Banshee.Core/Banshee.Collection/ArtistInfo.cs: Add empty ctor, inherit from CacheableItem. * src/Core/Banshee.Core/Makefile.am: * src/Core/Banshee.Core/Banshee.Core.mdp: * src/Core/Banshee.Core/Banshee.Collection/CacheableItem.cs: New class, just a simple implementation of ICacheableItem. * src/Core/Banshee.Core/Resources/translators.xml: Updated. * src/Core/Banshee.Core/Banshee.Base/CoverArtSpec.cs: Check that the escaped artist/album strings aren't empty either (not just null). * src/Libraries/Mtp/Mtp/MtpDevice.cs: Move LIBMTP_Init into static ctor, get rid of internal method that called it; wouldn't want to call it twice. * src/Libraries/Hyena/Hyena.Collections/Selection.cs: Add convenience properties for FirstIndex and LastIndex. * src/Libraries/Hyena/Hyena.mdp: * src/Libraries/Hyena/Makefile.am: * src/Libraries/Hyena/Hyena.Data.Sqlite/ICacheableItem.cs: * src/Libraries/Hyena/Hyena.Data/ICacheableItem.cs: Moved here from Hyena.Data.Sqlite. * src/Libraries/Hyena/Hyena.Data/ICacheableModel.cs: Inherit ISelctable. * src/Libraries/Hyena/Hyena.Data/ArrayModelCache.cs: * src/Libraries/Hyena/Hyena.Data/ModelCache.cs: * src/Libraries/Hyena/Hyena.Data/DictionaryModelCache.cs: Specify that T must be ICacheableItem. * src/Libraries/Hyena/Hyena.Data.Sqlite/ICacheableDatabaseModel.cs: Inheritance from ISelectable moved to parent interface. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: When restoring the selection across a reload, restore the focused index as well, if possible. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCell.cs: If the item to bind is null, set the bound object and parent object to null too. * src/Libraries/Hyena.Gui/Hyena.Widgets/AccordionPane.cs: New class, completely not done (or really started). Would be great to refactor the awesome column sizing code out of ListView so could be used by this. The idea is a new Paned-type widget with N children with min/max/relative widths etc all set, and resizing one will resize others to their min width, etc. * src/Libraries/Migo/Migo.Syndication/FeedItem.cs: Add an index to IsRead since we'll be filtering on it a lot. * data/mimetypes.txt: Add video/ogg and video/x-theora. 2008-05-25 Gabriel Burt * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Be more careful about NREs in the metadata migration. And, in case we do hit an unexpected exception, close the user-job so it doesn't stay up forever. 2008-05-23 Sebastian Dröge * libbanshee/banshee-player-pipeline.c: (_bp_pipeline_construct): Enable the equalizer again and workaround the clipping bug that will be fixed with gst-plugins-good 0.10.10. Also don't leak some elements if the equalizer plugin is not installed. 2008-05-22 Aaron Bockover Banshee 1.0 Beta 2 (0.99.2) Released 2008-05-22 Gabriel Burt * src/Libraries/Migo/Migo.Syndication/FeedItem.cs: Fix issue with feed item Guids being empty so we'd have duplicates of items. 2008-05-22 Gabriel Burt * src/Clients/Nereid/Nereid/PlayerInterface.cs: Don't set the PersistentColumnController within the composite_view check, move it to TrackListView so it's more general. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/PersistentColumnController.cs: Set loaded to false whenever reloading the source's settings. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: When setting the model, also set the source on the controller if it's a PersistentColumnController. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Fix bug with column cache not being invalidated, which caused checkboxes to try to show up in the music library after ejecting an audio cd, causing a crash. Also, don't do anything if we're already set to the controller in question. * src/Libraries/Hyena/Hyena.Data/ColumnDescription.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs: Comment out verbose logging. 2008-05-22 Aaron Bockover * configure.ac: Bumped to 1.0 Beta 2 (0.99.2) 2008-05-22 Gabriel Burt * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: Improve eject-when-done-importing label. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellFileSize.cs: Display nothing for file sizes == 0. * src/Core/Banshee.Core/Resources/contributors.xml: Add and alphabetize names. * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/Brasero.cs: Add ... at end of Write to CD label. * NEWS: Updated for forthcoming 0.99.2 release. 2008-05-22 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Added a SelectionChanged event * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Allow the placeholders in the edit menu above the add to playlist entry * src/Core/Banshee.Core/Banshee.Base/Paths.cs: Added FindProgramInPath * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/Brasero.cs: A quick hack to allow launching selected tracks in Brasero as an audio CD project * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GnomeService.cs: Load Brasero support if it's found on the system 2008-05-22 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Offset the cell damage areas by the view adjustment values 2008-05-22 Gabriel Burt There were some pretty big performance issues with podcasting if you had quite a few items in your library. The two issues were not having proper indices (to join CoreTracks.ExternalID = PodcastItems.ItemID for example) and hitting the database to get Migo.Feed/FeedItem/FeedEnclosure objects when we already had them cached in our MigoModelProviders' dictionaries. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: Schedule a delegate job to reload the feeds on startup. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add an index on CoreTracks for the ExternalID column. * src/Core/Banshee.Core/Makefile.am: * src/Core/Banshee.Core/Banshee.Core.mdp: * src/Core/Banshee.Core/Banshee.Kernel/DelegateJob.cs: New class for running parameterless methods/delegates as a Job. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Add a CreateIndex convenience method, and make FetchSingle virtual * src/Libraries/Migo/Migo.Syndication/FeedItem.cs: * src/Libraries/Migo/Migo.Syndication/FeedEnclosure.cs: * src/Libraries/Migo/Migo.Syndication/Feed.cs: Add indices, speeds up podcast queries a whole lot. * src/Libraries/Migo/Migo.Syndication/MigoModelProvider.cs: Override FetchSingle to pull directly from the dictionary and avoid the DB entirely if possible (happens very frequently). * src/Libraries/Migo/Migo.Syndication/FeedManager.cs: Only download 2 feeds at at time, not 4. 2008-05-22 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellCheckBox.cs: Save and reset the bound object on motion/pointer leave to a hover object variable and draw the checkbox as prelit if that's set 2008-05-22 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs: * src/Core/Banshee.ThickClient/Banshee.ThickClient.mdp: * src/Core/Banshee.ThickClient/Makefile.am: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ListBrowserSourceContents.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs: Rename ListBrowserSourceContents to FilteredListSourceContents. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs: Right align durations. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Avoid passing null string to gtk. 2008-05-22 James Willcox * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTiles.cs: Set tooltips on the status label since it frequently gets ellipsized 2008-05-21 Scott Peterson * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: * src/Libraries/Migo/Migo/Migo.Syndication/FeedManager.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Feed.cs: Add IsSubscribed to Feed and modified migration code to use true as the default. 2008-05-21 Scott Peterson * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Add null checks to avoid NRE. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Removed rendering canvases. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Removed rendering canvases and fixed some bugaboos with cell event proxying. 2008-05-21 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPodcast.cs: Replace the disc image for 'All Podcasts' with the podcast icon. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Dialog/PodcastSubscribeDialog.cs: If the user has some text on the clipboard that starts with http, automatically put that in the url entry. Make the dialog a big wider. 2008-05-21 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: When migrating old podcast data, call SyncWithFeedItem to get a bunch of good settings (Genre, MediaAttributes, etc). 2008-05-21 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Models/PodcastFeedModel.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseBrowsableListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistListModel.cs: Change BrowsableListModels to automatically filter on any 'upstream' filters (ones defined before them), so upshot is albums filters on artists again. 2008-05-21 Gabriel Burt * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: Migrate podcast feeds and items from 0.13.2 podcast plugin. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs: Allow sorting on download status and published date, make the default PubDate descending. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/XmlColumnController.cs: Allow defining the sort direction in addition to the default sort column. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Add an override for GetTrackForUri method. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: Expose SortQuery via protected property, and make GenerateSortQueryPart virtual. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Skip items with non-local URIs. * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Add FileSize sorting. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: Add QueryEnumerable methods. * src/Libraries/Migo/Migo/Migo.Syndication/FeedItem.cs: * src/Libraries/Migo/Migo/Migo.Syndication/FeedEnclosure.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Feed.cs: Create the model within the Init function. 2008-05-21 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: Fixed rendering problem with sort arrow if the first column was sorted. 2008-05-21 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Fixed first column being unsortable. 2008-05-21 Aaron Bockover * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs: Added an EnabledCount property * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Added a check box column to control the RipEnabled property on each CD track; when the EnabledCount on the model is zero, disable the rip action * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdTrackInfo.cs: When RipEnabled is set or unset, increment or decrement the EnabledCount on the model if the value actually changes * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: NRE protection * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: Do not layout text if it's null or empty 2008-05-21 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/IInteractiveCell.cs: Added a PointerLeaveEvent method * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Save last cell reference so it can be sent a pointer leave event when the pointer focuses on another cell or leaves the widget entirely; computer proper cell damage rectangles for when Scott fixes area redrawing * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellRating.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellCheckBox.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListViewTestModule.cs: Implemented PointerLeaveEvent 2008-05-21 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Headers.cs: Make sure that a columns max height is not less that its min height. This fixes some aweful bugs. 2008-05-21 Mike Urbanski * src/Libraries/Migo/Makefile.am: * src/Libraries/Migo/Migo.mdp: * src/Libraries/Migo/Migo/Migo.TaskCore/AsyncCommandQueue/CommandQueueManager.cs: Added CommandQueueManager. * src/Libraries/Migo/Migo/Migo.TaskCore/GroupStatusManager.cs: * src/Libraries/Migo/Migo/Migo.TaskCore/GroupProgressManager.cs: * src/Libraries/Migo/Migo/Migo.TaskCore/AsyncCommandQueue/AsyncCommandQueue.cs: * src/Libraries/Migo/Migo/Migo.TaskCore/Migo.TaskCore.Collections/TaskCollection.cs: * src/Libraries/Migo/Migo/Migo.TaskCore/TaskGroup.cs: * src/Libraries/Migo/Migo/Migo.TaskCore/Task.cs: * src/Libraries/Migo/Migo/Migo.DownloadCore/DownloadManager.cs: * src/Libraries/Migo/Migo/Migo.DownloadCore/DownloadGroupStatusManager.cs: * src/Libraries/Migo/Migo/Migo.DownloadCore/HttpFileDownloadTask.cs: * src/Libraries/Migo/Migo/Migo.Syndication/FeedsManager.cs: Transparent architectural changes to promote looser coupling between TaskCore components (i.e. removing hacketry.) 2008-05-21 Aaron Bockover * src/Core/Banshee.Services/Banshee.Metadata/MetadataServiceJob.cs: Return the full HttpWebResponse instead of the response stream * src/Core/Banshee.Services/Banshee.Metadata.MusicBrainz/MusicBrainzQueryJob.cs: Updated to reflect API change above * src/Core/Banshee.Services/Banshee.Metadata.Rhapsody/RhapsodyQueryJob.cs: Updated to reflect API change above and to check the content type on the response to ensure it's text/xml - Rhapsody now redirects to the best-match HTML page if there is no exact match - before they just gave a 404 response 2008-05-21 Gabriel Burt * src/Extensions/Banshee.Lastfm/Makefile.am: Reorder. * src/Extensions/Banshee.Podcasting/Resources/GlobalUI.xml: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs: Add Download All action to podcast context menu. * src/Libraries/Migo/Migo/Migo.Syndication/FeedEnclosure.cs: Avoid queueing the download if we're already download. 2008-05-20 Gabriel Burt With the amazing help of Scott Peterson, we have knocked out two subtle, but annoying Last.fm bugs. * src/Extensions/Banshee.NotificationArea/Resources/NotificationAreaMenu.xml: Add placeholder. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Implement IBasicPlaybackController, so that if we are selected as the new playback source and asked to play First or Next, we will as soon as we've loaded some songs (and we're still the playback source). * src/Extensions/Banshee.Lastfm/Makefile.am: * src/Extensions/Banshee.Lastfm/Resources/LastfmTrackActions.xml: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Load some TrackActions when we're the playback source (specifically, put Love/Hate in the notification menu). * src/Core/Banshee.Services/Banshee.Services.mdp: * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Collection/IHasTrackSelection.cs: Removed. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: TODO note. 2008-05-20 Gabriel Burt * src/Core/Banshee.Core/Banshee.Streaming/SaveTrackMetadataJob.cs: Disable writing metadata to file for video files for now, since TagLib# seems to run at 100% and consume lots of memory when we try. 2008-05-20 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellRating.cs: Tell the renderer what opacities we like * src/Libraries/Hyena.Gui/Hyena.Gui/RatingRenderer.cs: Take the color opacities from the argument stack instead of hard coding * src/Libraries/Hyena.Gui/Hyena.Widgets/RatingEntry.cs: Set desired opacities and added an AlwaysShowEmptyStars property; moved the motion event handler to an internal HandleMotionNotify method * src/Libraries/Hyena.Gui/Hyena.Widgets/RatingMenuItem.cs: Proxy the menu's motion notify event to the entry so we get the sweet preview; do not activate the menu when we set the rating so the menu stays visible and we can see the rating actually changed 2008-05-20 Gabriel Burt This commit fixes a major (though one-line) bug with threading that should fix "xcb" related crashes. It improves podcast support, including automatically switching to Now Playing for videos and supporting Media RSS feeds. * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: Also switch to Now Playing if the trackinfo is updated and it is a video. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: Delay refreshing the feeds, and don't try to download artwork if feed not fetched. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs: Implement deleting a podcast feed, feed context menu. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs: Show a message if the user creates a playlist under the Podcast source. Should be allowed, but doesn't work properly yet, so we don't allow it. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastTrackInfo.cs: Set the LicenseUri and MediaAttributes. * src/Extensions/Banshee.Podcasting/Resources/GlobalUI.xml: Add a context menu just for the All Podcasts item. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellFileSize.cs: Right align and always show one decimal point. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastImageFetchJob.cs: * src/Core/Banshee.Services/Banshee.Metadata/IMetadataLookupJob.cs: * src/Core/Banshee.Services/Banshee.Metadata/MetadataService.cs: * src/Core/Banshee.Services/Banshee.Metadata/MetadataSettings.cs: * src/Core/Banshee.Services/Banshee.Metadata/IMetadataProvider.cs: * src/Core/Banshee.Services/Banshee.Metadata/BaseMetadataProvider.cs: * src/Core/Banshee.Services/Banshee.Metadata/MetadataServiceJob.cs: * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Metadata.MusicBrainz/MusicBrainzMetadataProvider.cs: * src/Core/Banshee.Services/Banshee.Metadata.MusicBrainz/MusicBrainzQueryJob.cs: * src/Core/Banshee.Services/Banshee.Metadata.Rhapsody/RhapsodyMetadataProvider.cs: * src/Core/Banshee.Services/Banshee.Metadata.Rhapsody/RhapsodyQueryJob.cs: * src/Core/Banshee.Services/Banshee.Metadata.Embedded/EmbeddedMetadataProvider.cs: * src/Core/Banshee.Services/Banshee.Metadata.Embedded/EmbeddedQueryJob.cs: * src/Core/Banshee.Services/Banshee.Services.mdp: Get rid of MetadataSettings and use NetworkDetect. Don't lookup if podcast MediaAttribute set. Fix bug with calling GTK+ things from the metadata update thread; probably the cause of the xcb crashes. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Trim artist and album names when set. * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs: Don't ignore media engine tags if the current track is not a local file. This lets GStreamer tell us the streaming file is a video so Now Playing can switch to itself. * src/Core/Banshee.Core/Banshee.Collection/IBasicTrackInfo.cs: Add ArtworkId and MediaAttributes properties. * src/Core/Banshee.Core/Banshee.Collection/LicenseInfo.cs: New file, not in build. Idea is to parse and represent Creative Commons license info. * src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs: Handle the VideoCodec tag, setting the VideoStream attribute. * src/Libraries/Hyena/Hyena/StringUtil.cs: * src/Libraries/Hyena/Hyena.Query/FileSizeQueryValue.cs: Allow specifying that one decimal point should always been shown. By default, we hide the decimal point and tenths place if the number is within 0.05 of an int. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Make Delete methods virtual, add LIMIT 1 to FetchFirstMatching, and use DeleteCommand property instead of field. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: Add a protected Pango.Alignment property. * src/Libraries/Migo/Makefile.am: * src/Libraries/Migo/Migo.mdp: * src/Libraries/Migo/Migo/Migo.Syndication/XmlUtils.cs: Removed, code moved into RssParser. * src/Libraries/Migo/Migo/Migo.Syndication/FeedItem.cs: Add LicenseUri property, and fix loading of the enclosure. * src/Libraries/Migo/Migo/Migo.Syndication/FeedEnclosure.cs: Tweaks. * src/Libraries/Migo/Migo/Migo.Syndication/RssParser.cs: Merge the code from XmlUtils into here, add more namespaces so can pull out Creative Commons LicenseUri and can pull the highest bitrate if there is no tag - eg for The Onion News Network. Should probably allow setting global or per-podcast preference for preferred quality if there are ever options. * src/Libraries/Migo/Migo/Migo.Syndication/MigoModelProvider.cs: Make Delete methods override; as 'new' they weren't working. * src/Libraries/Migo/Migo/Migo.Syndication/Feed.cs: Get rid of TTL and Interval properties, replace with UpdatePeriodMinutes property. Fix Delete method. * configure.ac: Enable the podcast extension by default. 2008-05-19 Aaron Bockover * build/build.rules.mk: Set ENABLE_TESTS as a define variable; this will allow unit tests to be compiled in only if Nunit is available and we are not building a release * Tons of files: Surgery to move unit tests into the proper assemblies instead of one big test assembly hack job thing; some stuff is still broken and incomplete 2008-05-19 Aaron Bockover * tests/Hyena/RangeCollectionTests.cs: Use a SortedInsert method instead of Add*N + Sort for the reference collection so it's a little faster; reduce the iterations to 75k to appease Gabe 2008-05-19 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkRenderer.cs: Added native handle NULL checks when checking for null against a Gdk.Pixbuf; for some reason we sometimes get a managed GdkPixbuf object that wraps a NULL native GdkPixbuf pointer - possibly a bug in Gdk# - though it only seems to happen when image data comes from the Net, so it could just be a case of bad things happening with bad image data 2008-05-18 Gabriel Burt * tests/Makefile.am: Patch from Bertrand Lorentz that forces tests to be run in Italian with timezone = Chicago, apparently fixing failures for him. 2008-05-17 Gabriel Burt Massive commit that brings Podcasting back to the land of the living. Our internal classes for doing track filtering and showing the browsers have been made generic, so that Podcasting can use all of them to show its Browser (with a single Podcast filter). I still do NOT recommend users use this; it needs more work to migrate 0.13.2 podcasting data, and probably has bugs that will eat your children. * src/Core/Banshee.ThickClient/Banshee.Gui/ViewActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Update to use new BansheeActionGroup ctor and properties. * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Implement empty FilterModels property. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService_Interface.cs: Listen to the events offered up in Migo, grab podcast artwork, and move most of the action-related code into PodcastActions.cs. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastImageFetchJob.cs: New MetadataServiceJob subclass for fetching podcast artwork. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastCore_Interface.cs: Renamed to PodcastService. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPodcast.cs: Hot new renderer for podcasts, showing artwork, name, and when last updated. Duplicates a ton of code with ColumnCellAlbum, should be refactored. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/ColumnCellPublished.cs: Override for ColumnCellDateTime to just print the short date. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs: New class, a BansheeActionGroup subclass, for registering and handling podcast actions. Quite a few actions aren't implemented yet (like mark new/old and delete podcast). * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Dialog/PodcastFeedPropertiesDialog.cs: Get rid of bold titles, make casing consistent, don't put ""s around the description. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Dialog/PodcastSubscribeDialog.cs: Casing, grammer, get rid of expander. * src/Extensions/Banshee.Podcasting/Makefile.am: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastItem.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastTrackInfo.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Dialog/PodcastPropertiesDialog.cs: PodcastItem renamed to PodcastTrackInfo, pulls more data from FeedItem and the enclosure/file. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/ColumnCells/PixbufColumnCell.cs: Add new ctor required by new ColumnController business. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/ColumnCells/ItemActivityColumnCell.cs: Add new ctor, get rid of Video and New Item icons; just show download status * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs: Change to be a ListBrowserSourceContents subclass, which is what CompositeTrackListView inherit from too. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs: Change to inherit from LibrarySource, add a XML column controller property to add Published and Download Status columns. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Models/PodcastFeedModel.cs: Change to inherit from DatabaseBrowsableListModel, which goes against the db and knows how to filter the track model. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Views/PodcastFeedView.cs: Change to inherit from TrackFilterListView and to use the new Podcast renderer. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Views/PodcastItemView.cs: Fix up columns, names. * src/Extensions/Banshee.Podcasting/Resources/ActiveSourceUI.xml: Use the normal TrackContextMenu for podcast items, but add some things to it when podcast source is active. * src/Extensions/Banshee.Podcasting/Resources/GlobalUI.xml: Get rid of PodcastItemViewPopup, add several normal Library-source context menu items, remove some items from PodcastFeedPopup that didn't make sense. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.addin.xml: Update copyright info. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.mdp: Lots of new files, ref TagLib, System.Xml, gdk. * src/Clients/Nereid/Nereid/PlayerInterface.cs: Fix assumptions regarding composite_view, and get rid of IHasTrackSelection crap. * src/Core/Banshee.Services/Banshee.Metadata.Embedded/EmbeddedQueryJob.cs: * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: * src/Core/Banshee.Services/Banshee.Metadata.MusicBrainz/MusicBrainzQueryJob.cs: * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodTrackInfo.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Rename TrackInfo.ArtistAlbumId to ArtworkId. * src/Dap/Banshee.Dap/Banshee.Dap/MediaGroupSource.cs: Fix delete from drive action label, reload after intialized. * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Add the two media sources before loading, avoiding ThreadAssist nastiness. * src/nuke-gconf-keys: New scriptlet for clearing your banshee-1 gconf keys, for testing from a clean slate. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/XmlColumnController.cs: Add ability to set a default column-id. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs: Inherit from TrackFilterListView, getting rid of a lot of dupe code. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellFileSize.cs: New column cell renderer for file sizes. Should be changed to always spit out one decimal point and to right align, for scanability. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Move RowActivated handler here from Nereid.PlayerInterface, so that any TrackListView instance/subclass will start playing when you double click on a row. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackFilterListView.cs: New class, refactored Album and Artist code here. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs: Don't display anything if duration is zero. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DefaultColumnController.cs: Add FileSize column, make duration column a bit smaller by default. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDateTime.cs: Add DateTimeFormat to control what format of date/time string is used. * src/Core/Banshee.ThickClient/Banshee.ThickClient.mdp: Add new files. * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Add ShowContextMenu method, take the interface_action_service in the ctor and expose through Actions property. * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Get rid of awful TrackSelector crap. * src/Core/Banshee.ThickClient/Makefile.am: Updates. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ListBrowserSourceContents.cs: Refactored out of CompositeTrackSourceContents, made generic so can be used with any ITrackModelSource with its arbitrary FilterModels. Means we can have different types of browsers for different sources (Music Library vs Podcasts, for instance) and they share a lot of code, and the top/left preference. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Inherit from ListBrowserSourceContents. * src/Core/Banshee.Services/Banshee.Metadata/MetadataServiceJob.cs: Fix bug where files were used before they were fully downloaded by saving to a temp file and moving once finished writing. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.Sources/ITrackModelSource.cs: Get rid of AlbumModel and ArtistModel, replaced by generic FilterModels. * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Add the conditions intead of setting them, meaning we can play nicely with other conditions instead of racing. * src/Core/Banshee.Services/Banshee.Collection/BrowsableListModel.cs: New abstract subclass of BansheeListModel, that defines the Selection as a SelectAllSelection. * src/Core/Banshee.Services/Banshee.Collection/BansheeListModel.cs: Add FocusedItem getter, and make RaiseReloaded public. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistListModel.cs: Inherit from DatabaseBrowsableListModel * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseBrowsableListModel.cs: New abstract class for filter models. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Sort of lame, but put the actual Provider.Save/Refresh calls inside virtual methods so that PodcastTrackInfo can use its own provider. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: Get rid of ReloadTrigger enum, replaced by just passing in the actual IFilterModel that triggered the reload (if any). Reload algorithm made generic, uses the ITrackModelSource's list of FilterModels, so will work with 0 - N filter models (used by PodcastSource to filter just on Podcast, atm). Get rid of built-in album/artist assumptions. * src/Core/Banshee.Services/Banshee.Services.mdp: New files. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: New migration, drop any podcast tables created using the 1.0 series - 0.13.2 data shouldn't be affected - so we can start over. Add an ExternalId column to CoreTracks. * src/Core/Banshee.Services/Banshee.Database/BansheeModelCache.cs: Don't require BansheeModelProvider since SqliteModelProvider suffices fine. * src/Core/Banshee.Services/Makefile.am: New files. * src/Core/Banshee.Core/Resources/translators.xml: Updated. * src/Core/Banshee.Core/Banshee.Base/CoverArtSpec.cs: Make the actual escaping code public (so we can use it to make podcast artwork ids). Log a message stating where the album art directory is. * src/Libraries/Hyena/Hyena.Collections/Selection.cs: Add a FocusedIndex property, factored out of ListView, so that we can get to it so long as we can get to the Selection, instead of having to get to the ListView. * src/Libraries/Hyena/Hyena/Log.cs: Add WarningFormat. * src/Libraries/Hyena/Hyena.Query/RelativeTimeSpanQueryValue.cs: Added convenience factory method RelativeToNow. * src/Libraries/Hyena/Hyena.Query/TimeSpanQueryValue.cs: Determine the best factor after having our value set. * src/Libraries/Hyena/Hyena.Data/IFilterable.cs: Rename Filter to UserQuery. * src/Libraries/Hyena/Hyena.Data/IListModel.cs: Add non-generic IListModel interface. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Make Save, Load, and Delete methods virtual, change FetchFirstMatching to not duplicate FetchAllMatching code, change both to accept params, fix bug with Refresh, and add protected PrimaryKeyFor method. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/IListView.cs: Add non-generic interface. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCell.cs: Add useful debugging logging if a specified property doesn't exist. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Change to use Selection.FocusedIndex. * src/Libraries/Migo/Migo.mdp: * src/Libraries/Migo/Makefile.am: New files, only build if --enable-podcast set. * src/Libraries/Migo/Migo/Migo.Net/AsyncWebClient.cs: Add a public static UsreAgent property so we can set it to Banshee.Web.Browser.UserAgent. Get rid of many try {} catch {} statements to avoid swallowing exceptions. * src/Libraries/Migo/Migo/Migo.TaskCore/AsyncCommandQueue/AsyncCommandQueue.cs: * src/Libraries/Migo/Migo/Migo.DownloadCore/DownloadManager.cs: * src/Libraries/Migo/Migo/Migo.TaskCore/TaskGroup.cs: Fix formatting, logging. * src/Libraries/Migo/Migo/Migo.DownloadCore/HttpFileDownloadTask.cs: Don't set the UserAgent here. * src/Libraries/Migo/Migo/Migo.Syndication/FeedsManager.cs: Separated most of this code out into FeedManager and EnclosureManager. This class was trying to be too many things to too many users. * src/Libraries/Migo/Migo/Migo.Syndication/XmlUtils.cs: Add GetNamespaceManager method, and GetITunesDuration method. * src/Libraries/Migo/Migo/Migo.Syndication/FeedItem.cs: Default active to true, change provider to be a MigoModelProvider, add static Exists (guid) method, many of fixes. * src/Libraries/Migo/Migo/Migo.Syndication/FeedEnclosure.cs: Change provider and inherit from MigoItem, fix up SetFileImpl method, database properties, etc. * src/Libraries/Migo/Migo/Migo.Syndication/Feed.cs: Inherit from MigoItem, uset MigoModelProvider, fix up db properties, add method that starts automatically downloading any new items when appropriate. * src/Libraries/Migo/Migo/Migo.Syndication/Rfc822DateTime.cs: Fix so parses some dates it wasn't parsing before. * src/Libraries/Migo/Migo/Migo.Syndication/OpmlParser.cs: New class, not at all finished, for parsing OPML files. * src/Libraries/Migo/Migo/Migo.Syndication/RssParser.cs: Get the image url from itunes:image first, since it's probably higher quality. Get the keywords and category properties too. Get the duration for enclosures, if set. * src/Libraries/Migo/Migo/Migo.Syndication/MigoModelProvider.cs: A subclass of SqliteModelProvider with an interesting twist: every item that is retrieved is cached in a Dictionary indexed by DbId, which allows us to combine the power of Migo's downloading ability (which wouldn't work if there were multiple instances of a FeedItem, for example, that all represented the same actual item/db row, with the power of SqliteModelProvider for finding items. So you can do Feed.Provider.FetchAllMatch ("LastDownloadedAt < ?', some datetime) and be returned the already-instantiated objects. * src/Libraries/Migo/Migo/Migo.Syndication/FeedUpdateTask.cs: Fixed up. * src/Libraries/Migo/Migo/Migo.Syndication/EventArgs/FeedItemEventArgs.cs: Chagned, but I don't think this is used anymore. Should be culled. * src/Libraries/Migo/Migo/Migo.Syndication/FeedManager.cs: * src/Libraries/Migo/Migo/Migo.Syndication/EnclosureManager.cs: New classes taking over for things FeedsManager did before (namely, managing downloads and firing off events). * src/Libraries/Migo/Migo/Migo.Syndication/MigoItem.cs: Simple abstract class that implements ICacheableItem and has an abstract DbId property. * build/build.environment.mk: Tidy up MIGO deps. * tests/Makefile.am: Add Migo/XmlTests. * tests/Migo/XmlTests.cs: Add tests for itunes:duration parsing and Rfc822DateTime parsing. * tests/BansheeTests.cs: add TransformPair struct. 2008-05-17 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs: Added Genre list population back to the track editor (BGO #533530) 2008-05-17 Aaron Bockover * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Bind to a private rating field and call Save in the property setter * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DefaultColumnController.cs: Add the rating column with the new hot rating cell 2008-05-17 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/Column.cs: FIxed improper ctor chain; set Min/MaxWidth if a cell is ISizeRequestCell when packing by calling GetSize on the cell * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCell.cs: Allow setting BoundObject on a cell, added a BoundObjectParent that can be used to track which data item (instead of which data property on an item) is being bound * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellCheckBox.cs: Implemented a check box interactive cell renderer that binds to boolean properties * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellRating.cs: Implemented a rating cell renderer based on the new rating renderer * src/Libraries/Hyena.Gui/Hyena.Data.Gui/IInteractiveCell.cs: Interface for cells that would like to have keyboard/mouse events proxied to them * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ISizeRequestCell.cs: Interface for cells that actually care about their size and refuse to adapt to what the view can provide * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Implemented first pass at cell level interaction - namely through ProxyEventToCell which currently supports transforming and proxying Gdk.EventButton and Gdk.EventMotion events from the view to a cell; also fix a bunch of potential NRE when the model selection is null * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Fix a bunch of potential NRE when the model selection is null * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListViewTestModule.cs: Started a test module for stressing functionality of the ListView * src/Libraries/Hyena.Gui/Hyena.Gui/RatingRenderer.cs: A new renderer to do all drawing/logic for things that want to embed a rating * src/Libraries/Hyena.Gui/Hyena.Widgets/ComplexMenuItem.cs: Moved to Hyena.Widgets * src/Libraries/Hyena.Gui/Hyena.Widgets/RatingEntry.cs: Moved to Hyena.Widgets and largely rewritten to use the new RatingRenderer * src/Libraries/Hyena.Gui/Hyena.Widgets/RatingMenuItem.cs: Moved to Hyena.Widgets and do not call into the EventBox rendering hack since the RatingEntry no longer derives from EventBox * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs: * src/Core/Banshee.ThickClient/Banshee.Query.Gui/RatingQueryValueEntry.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/CustomActionProxy.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/RatingActionProxy.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Updated to reflect the move of Rating stuff to Hyena.Gui 2008-05-17 Aaron Bockover * src/Libraries/Hyena/Hyena.Collections/RangeCollection.cs: Made the indexer code more sexy so it doesn't look like I wrote it at 4:30 in the morning, ensure that negative indexes throw IOORE * tests/Hyena/RangeCollectionTests.cs: Added an indexer stress test and some extra specific tests for ensuring IndexOutOfRange is thrown when it should be 2008-05-17 Aaron Bockover * src/Libraries/Hyena/Hyena.Collections/RangeCollection.cs: Fixed the horribly broken indexer that looked like a late night copy and paste of the IndexOf logic but never worked - we don't use it, so it's never been a problem, but the unit test had always complained - yay tests * tests/Hyena/RangeCollectionTests.cs: Improved test for the indexer 2008-05-17 Aaron Bockover Patch from Bertrand Lorentz (BGO #533099) * src/Libraries/Hyena/Hyena.Collections/RangeCollection.cs: Fix a dyslexia bug in the NET_1_1 version of the array resize code * build/build.rules.mk: Define NET_2_0 on the build so we end up using the better version of RangeCollection - whoops * tests/Hyena/RangeCollectionTests.cs: Added test to check for the NET_1_1 array resize bug fixed above 2008-05-14 Aaron Bockover * src/Core/Banshee.Core/Banshee.Base/FileNamePattern.cs: Added %year% from stable 2008-05-14 Aaron Bockover * src/Core/Banshee.Services/Banshee.Library/VideoLibrarySource.cs: Defined a column controller for video sources * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPlaybackIndicator.cs: Added the proper ctor * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DefaultColumnController.cs: Made the default column properties instance properties since they can now be modified and should not be global * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: If a source has an XML column controller definition but not a column controller object, load the object from the XML and persist/use it * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/XmlColumnController.cs: A new column controller that extends the default controller and allows new columns to be fully defined, existing ones to be modified or removed * src/Libraries/Hyena.Gui/Hyena.Data.Gui/SortableColumn.cs: Allow SortKey to be set * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceComboBox.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Use a common cell layout data handler delegate 2008-05-13 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DefaultColumnController.cs: Implemented a proper default column controller with the columns as static properties so derived implementations don't have to redefine common columns * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Use the new DefaultColumnController; check the active source (walking up to the root parent) for a column controller to use instead of the default; if none found, use the default * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmColumnController.cs: Implement a custom column controller for Last.fm derived * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Set LastfmColumnController on the source * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: Make SetModel virtual * data/audio-profiles/wavpack.xml.in: Small fix to the pipeline * src/Core/Banshee.Core/Resources/contributors.xml: Added the Andy 2008-05-12 Gabriel Burt * src/Core/Banshee.Core/Banshee.Streaming/SaveTrackMetadataJob.cs: Patch from Nicholas Parker working around bug in TagLib# where setting the genre to string [] {null} would crash. * tests/Banshee.Core/TaglibReadWriteTests.cs: Unit test for above fix. 2008-05-09 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceComboBox.cs: Set ParentWidget on the renderer to self * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Fixed small selection rendering regression and fix the state calculation for when the widget is a combo box and is prelit but not showing the menu 2008-05-09 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceComboBox.cs: Moved from MiniMode; use the new SourceModel and use the SourceRowRenderer * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs: Pulled out model specific code from SourceView into a new TreeModel subclass that SourceView and SourceComboBox can use * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Implemented proper CellRendererState -> StateType mapping so the renderer works properly inside other widgets (i.e. GtkComboBox); add some default sizing for non TreeView widgets * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: Fixed up to use the new SourceModel * src/Extensions/Banshee.MiniMode/Banshee.MiniMode/MiniModeWindow.cs: Fixed up to use the new SourceComboBox 2008-05-09 Gabriel Burt This commit greatly improves performance when editing/saving track information and on each track transition by avoiding many unnecessary source reloads. * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Improve auto-rip label. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedSeekSlider.cs: Avoid changing to 'Idle' when transitioning between songs, and avoid jumpiness by not setting the duration until the first Iteration event. Makes things much smoother. * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs: Fix the horrible save performance by avoiding reloading until after having saved all the tracks, instead of after each one. Fix whitespace. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Change OnTracksChanged to take an array of QueryFields that were modified. Add protected InvalidateCaches method used to clear the managed cache for the track/artist/album model, but not reload it (eg the display data has changed, but sort order/contents have not). * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Change TracksChanged to QueryField array. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistListModel.cs: Remove ClearCache method, and add InvalidateCache method. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Specify which fields are updated in the IncrementPlay/SkipCount methods to allow sources to optimize whether they need to reload b/c of the change. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: Add InvalidateCache method, and expose the currently parsed QueryNode, if any. * src/Core/Banshee.Services/Banshee.Collection.Database/IDatabaseTrackModelCache.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Add ClearManagedCache method. * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: In TrackChanged handler, only Reload if we are actually affected by the change - so if the change was play count, and we're not sorted by it, querying on it, or if we're a smart playlist, defined by it, then just InvalidateCaches. * src/Libraries/Hyena/Hyena.Query/QueryOrder.cs: * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Associate a QueryField with QueryOrders. * src/Core/Banshee.Widgets/Banshee.Widgets/StreamPositionLabel.cs: Avoid updating twice as often as needed. Use String.Format instead of +. * src/Libraries/Hyena/Hyena.Query/QueryNode.cs: Add GetTerms and GetFields convenience methods. 2008-05-08 Gabriel Burt * src/Libraries/Hyena.Gui/Hyena.Widgets/SmoothScrolledWindow.cs: Increase both accel and decel, and fix bug where things would bounce back and forth, overshooting the target. 2008-05-08 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Fix issue with parent source not getting expanded when it should. MTP and iPod sources should autoexpand properly now. 2008-05-08 Gabriel Burt * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Fix bug with updating/removing the album when removing a track. 2008-05-08 Gabriel Burt * src/Libraries/Mtp/Mtp/MtpDevice.cs: Add mimetype for .m4a files. 2008-05-08 Sebastian Dröge * src/Libraries/Hyena.Gui/Makefile.am: Dist and install Hyena.Gui.dll.config. 2008-05-07 Gabriel Burt * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: Add AutoRip and EjectAfterRipped schemas and preferences. Fix the mnemonic for the profile chooser. * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: If AutoRip is true, start ripping when the CD is loaded (assuming it's not already in the library). When a CD is done importing, eject if EjectAfterRipped is true. * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Add a Finished event. * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/WidgetFactory.cs: * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/SectionBox.cs: * src/Core/Banshee.Services/Banshee.Preferences/Root.cs: Add a optional MnemonicWidget property. If not set, returns the DisplayWidget, otherwise can be used to override the mnemonic widget. * src/Core/Banshee.ThickClient/Banshee.MediaProfiles.Gui/ProfileComboBoxConfigurable.cs: Always SetDescription, so even if a user doesn't yet have a preference, the description shows the currently selected option. * build/m4/banshee/dap-mtp.m4: * build/m4/banshee/dap-ipod.m4: * configure.ac: Make iPod and MTP support the default, such that if you don't have ipod-sharp or libmtp, you will get a configure error unless you pass --disable-ipod/mtp. Should help clarify what we view a default Banshee install to include. 2008-05-06 Aaron Bockover Banshee 1.0 Beta 1 (0.99.1) Released 2008-05-06 Aaron Bockover * configure.ac: * src/Dap/Banshee.Dap.Ipod/Makefile.am: * src/Extensions/Banshee.BooScript/Makefile.am: * src/Extensions/Banshee.MiniMode/Makefile.am: Fixed last build issues 2008-05-06 Gabriel Burt * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Fix bug with play queue getting recreated each time. Ugh. 2008-05-06 Aaron Bockover * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastCore.cs: Build fixes 2008-05-06 Gabriel Burt * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: * src/Extensions/Banshee.NotificationArea/Resources/NotificationAreaMenu.xml: * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Put the Next action above the Previous action. 2008-05-06 Aaron Bockover * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: Make the progress notification for iPod syncing much better 2008-05-06 Gabriel Burt * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Parse the .is_audio_player file, except not setting the output formats yet. Install some dap properties. * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Add DapProperties property that the Dap dialog shows. * src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapPropertiesDialog.cs: Show the DapProperties. * src/Backends/Banshee.Hal/Banshee.HalBackend/Device.cs: Cache the uuid. * src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs: Catch property exception for volume that was suddenly removed. 2008-05-06 Gabriel Burt * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Fix a bug where we attempted to transcode video files. We don't support that yet. 2008-05-06 Gabriel Burt * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Fix bug just introduced with mass storage support via .is_a_p files. * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Get rid of silly non-DAP fallbacks for generic name and icons. 2008-05-06 Gabriel Burt * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Ignore iPods unless they have a .is_audio_player file. * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: Remove unnecessary override and OnTracksAdded call. 2008-05-06 Aaron Bockover * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Revert CanPlay to not be smart with playback errors; it's probably best if the engine just be allowed to try whenever a track is requested to play * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Consolidated Open and OpenPlay logic into a single method to eliminate duplication * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: Implemented track remove support 2008-05-06 Gabriel Burt * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Style. * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Fix bug that caused mass storage DAPs to be ignored. 2008-05-06 Gabriel Burt * src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs: Catch exceptions while trying to identify a HAL device as a volume. Should fix BGO #528481. 2008-05-06 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Make SetStatus and HideStatus methods public. * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Move loading of tracks into LoadFromDevice method. * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Override SetStatus and HideStatus methods to set it on the parent source and all of our children. 2008-05-06 Gabriel Burt * src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs: Don't delay add and delete user jobs, since removable devices are slow and we might as well show the progress bars asap. * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: Make sure the device mapping doesn't happen on the main thread. Aaron will love this. MTP's DeviceInitialize method can be very slow (10+ seconds) and we definitely shouldn't block the ui for it. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Make sure adding files to a primary source happens not on the main thread. Add protected properties for deciding whether to delay the add/delete jobs. 2008-05-06 Gabriel Burt * src/Libraries/Mtp/Mtp/Album.cs: Be more careful with native code. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Avoid NRE. 2008-05-05 Gabriel Burt * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/AlbumSet.cs: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpDap.cs: Removed old files. * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Add and remove album art as needed when adding/removing files. * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: Move DeleteSelectedTracks handler to Abstract class so is inherited by SmartPlaylistSource too. * src/Libraries/Mtp/Mtp/Album.cs: Add public GetById method. * src/Libraries/Mtp/Mtp/MtpDevice.cs: Add FileType to mimetype method. 2008-05-05 Aaron Bockover * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: Implement the new iPod syncing model - it's mostly done, but still some glitches that need to be addressed * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodTrackInfo.cs: Implemented full two way copy of database tracks to iPod tracks and back again - track media attributes are preserved in both directions, so this allows for video syncing - yes, I said video syncing. You can now use Banshee to manage videos on your iPod. Epic. Stop using iPods though, they suck. Buy an MTP device, save a seal, vote Obama. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: Removed the thread stuff which needs to be moved to DapSource (not done, so don't tell Gabe) 2008-05-05 Gabriel Burt * src/Core/Banshee.Services/Banshee.Library/VideoLibrarySource.cs: Move favorites before unwatched. * src/Core/Banshee.Services/Banshee.Library/MusicLibrarySource.cs: Moved Unhear to defaults, and Unrated to predefined. Added Recently Added. * NEWS: Some updates for the upcoming release. 2008-05-05 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPlaybackIndicator.cs: Be more defensive with checking for null/cast errors. 2008-05-05 Gabriel Burt * src/Core/Banshee.Services/Banshee.Library/VideoLibrarySource.cs: Heh, whoops, unwatched should be plays=0 not plays=4. 2008-05-05 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Query.Gui/PlaylistQueryValueEntry.cs: * src/Core/Banshee.ThickClient/Banshee.Query.Gui/SmartPlaylistQueryValueEntry.cs: Better handle there not being any playlists or smart playlists. * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs: Fix loading a predefined playlist into the editor. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: If the user has no smart playlists and we've never done this before, create the default smart playlists for a primary source. * src/Core/Banshee.Services/Banshee.Library/VideoLibrarySource.cs: Define some default smart playlists. * src/Core/Banshee.Services/Banshee.Library/MusicLibrarySource.cs: Tweak a default smart playlist. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs: Fix bug with not setting the value of the editor entry to the value of the saved smart playlist. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryTermsBox.cs: When setting the QueryNode condition tree, clear out any old conditions that may be in the editor already. 2008-05-05 Aaron Bockover * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Moved the smart playlist purging to a separate method * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Load the DbId when it is first requested 2008-05-05 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: 2008-05-05 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Fix up disposing. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Get rid of IDisposable in DatabaseSource, reflect changes in subclasses. * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: When the SourceManager is being disposed, recursively dispose any extension sources. Also dispose them when their extension goes away. Do not dispose other sources; leave that to whoever created them. * src/Core/Banshee.Core/Banshee.Streaming/SaveTrackMetadataJob.cs: Remove WriteLines. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: Add public static LogAll property that can be enabled/disabled at run time to turn on logging/timing for every single SQL command. * tests/ConsoleUi.cs: Modified to not use a separate test AppDomain, allowing us to fully load Banshee from within a unit test. * tests/Banshee.ThickClient/GuiTests.cs: Still commented out, some tweaks though. * tests/Makefile.am: Put the assemblies into DIR_BIN, and run from there; simplifies the MONO_PATH and mono.addins business when running tests. * tests/Banshee.Core/TaglibReadWriteTests.cs: Update paths. * tests/BansheeTests.cs: Tweaks to the StartBanshee stuff, not used yet. 2008-05-05 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Widgets/SegmentedBar.cs: Added a ShowReflection property to enable/disable the reflection 2008-05-05 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Widgets/SegmentedBar.cs: Minor fixes 2008-05-04 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Widgets/SegmentedBar.cs: Added a spin entry to change the height for testing; queue a resize when the bar height changes 2008-05-04 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTile.cs: Only update the progress if it hasn't changed and if we're already pulsing and at 0 * src/Core/Banshee.Services/Banshee.Collection/ImportManager.cs: Show the number of files walked while building the total count so it doesn't look like we might have frozen while walking a huge directory tree * src/Libraries/Hyena.Gui/Hyena.Gui/CairoExtensions.cs: Added some Rgb uint->cairo color utility functions, make ColorShade preserve alpha * src/Libraries/Hyena.Gui/Hyena.Widgets/SegmentedBar.cs: Started working on a hot disk usage bar for DAP; very incomplete - run 'make hg' to see 2008-05-04 Aaron Bockover * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: Added error handling so that no more than 20 attempts will be made to play from the active source if those attempts result in an error * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Bind to the PlaybackError property to the LastStreamError column so any errors (missing codec, resource not found, etc.) are persisted in the database * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Added a migration for adding the new LastStreamError column on CoreTracks * src/Core/Banshee.Services/Banshee.MediaEngine/NullPlayerEngine.cs: Updated to reflect API changes in the base class * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEvent.cs: Added the loading state * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs: Make Play/Pause abstract instead of virtual; do not set any event or state in Open and make the underlying engine responsible for these * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Changed the definition of IsPlaying to mean the engine is in one of playing, paused, or loaded states * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: made CanPlay return the set value and whether or not there is a playback error set * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: Set the engine states based on state transitions from GStreamer proper instead of synthesizing so many based on API * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPlaybackIndicator.cs: Indicate an error if one is set on the track * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Updated to act on proper engine state * libbanshee/banshee-player.c: * libbanshee/banshee-player-pipeline.c: * libbanshee/banshee-player-missing-elements.c: Add some playbin checks to prevent warning messages from being spewed when playbin is torn down in some cases, particularly when there is a pipeline error 2008-05-02 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Save the cached count after every reload. 2008-05-02 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Set the sensitive property on the cell context * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: Render insensitive rows by changing the normal text color's alpha * src/Libraries/Hyena.Gui/Hyena.Data.Gui/CellContext.cs: Added a Sensitive property since Gtk.StateType sucks and we care to preserve the selection state for insensitive rows 2008-05-02 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Set Love/Hate as Important so text shows up; accidentally removed. * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs: Get the list of predefined smart playlists from the PrimarySource. Show the SmartPlaylistDescription to make a prettier, more informative TreeView of predefined options. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Add Default/NonDefault/PredefinedSmartPlaylist properties. * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Remove unnecessary ConfigurationClient.Initialize (). * src/Core/Banshee.Services/Banshee.Library/MusicLibrarySource.cs: Override the SmartPlaylist properties. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistDefinition.cs: New struct that holds the definition of a smart playlist (and a description), and that has a method for producing a SmartPlaylistSource from itself. * src/Core/Banshee.Core/Banshee.Configuration/ConfigurationClient.cs: Do not require Initialization call, instead do it implicitly/lazily. * src/Core/Banshee.Core/Banshee.Base/Paths.cs: Use GetExecutingAsembly intead of GetEntryAssembly in attempt to get Nereid-within-unit-test working. * src/Libraries/Hyena/Hyena.CommandLine/CommandLineParser.cs: Allow programatically setting a command line option's value. * build/build.environment.mk: Add LINK/DEPS vars for Nereid so unit tests can link against it. * tests/Hyena/RangeCollectionTests.cs: * tests/Hyena/DbBoundType.cs: * tests/Hyena/SqliteModelProviderTests.cs: * tests/Hyena/CryptoUtilTests.cs: * tests/Hyena/SqliteCommandTests.cs: * tests/Hyena/StringUtilTests.cs: * tests/Banshee.Services/PlaylistFormatTests.cs: * tests/Banshee.Core/FileNamePatternTests.cs: * tests/Banshee.Core/KernelTests.cs: * tests/Hyena/SelectionTests.cs: Add copyright information. * tests/Hyena/QueryTests.cs: Subclass from BansheeTests, and move the AssertForEach to it. * tests/Hyena/BansheeTests.cs: New abstract class that provides AssertForEach method, and some new methods for progamatically starting Banshee (currently unused, not working). * tests/Banshee.ThickClient/GuiTests.cs: New class for testing starting banshee from unit test. Currently commented out. * tests/Banshee.Services/SmartPlaylistTests.cs: New tests to ensure all predefined smart playlists can be created successfully. Currently commented out. * tests/Makefile.am: Add new test classes. * tests/Banshee.Core/TaglibReadWriteTests.cs: Subclass from BansheeTests and move some static initialization there. 2008-05-02 Gabriel Burt * src/Libraries/Hyena/Hyena.Query/QueryField.cs: Fix bug with queries on fields that have a custom 'column' (eg maybe they search two different columns at once, like MimeTypeField does) not having necessary parenthesis around them. 2008-05-02 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: Explicitly destroy gradient patterns and tweak the selection gradient a bit 2008-05-02 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Use ColumnCellPositiveInt to show the year so 0 will show as empty 2008-05-02 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs: Do all layout rendering directly to Cairo, not through GTK 2008-05-02 Gabriel Burt * tests/Hyena/SqliteCommandTests.cs: Update to not use ApplyValues; fix the build. 2008-05-02 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Set SourceManager.Dispose property to true so that the SourceManager knows to Dispose us, even though we're an extension source. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Listen to the PlaybackController.SourceChanged event, and disable shuffle/repeat when switching to a StationSource, and restore when switching away and Disposing (so that the original state is not overwritten in gconf). Fixes BGO #526033. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Fix silly bug that caused the playback source to switch to the Music Library erroneously. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Load the tracks in the LoadFromDevice method, and turn threading off on the importer since LoadFromDevice is already called from a thread. * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: Comment out ImportPlaylist stuff that's not done. * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: Add Sensitive override that triggers the Changed event. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/RepeatActionButton.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs: Set the sensitivity of the button to the ActionGroup's sensitivity. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Fix bug where we had a SqliteModelProvider created for every DatabaseSource instead of sharing one. * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Dispose extension sources that have the property SourceManager.Dispose == true. * tests/Hyena/QueryTests.cs: * src/Libraries/Hyena/Hyena.Query/FileSizeQueryValue.cs: * src/Libraries/Hyena/Hyena.Query/TimeSpanQueryValue.cs: * src/Core/Banshee.Services/Banshee.Sources/DurationStatusFormatters.cs: * src/Libraries/Hyena/Hyena/StringUtil.cs: Renamed FormatDouble to DoubleToTenthsPrecision. Also changed it to use Math.Round and fixed bug where 14.96 would show up as 15.0 instead of 15. Also changed it to use the N string formatter, which causes separators to be shown, eg 1,000 * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Remove superflous assignment. * src/Core/Banshee.Services/Banshee.Collection/ImportManager.cs: Add a Threaded bool property, and if false don't use the ThreadPool. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Configuration/DatabaseConfigurationClient.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Do not explicitly call ApplyValues, but pass the values in the Query or Execute method calls. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs: Comment out use of transactions for now; were causing deadlock; * src/Core/Banshee.Services/Banshee.Playlist/PlaylistFileUtil.cs: Comment out unfinished playlist import code. * tests/Hyena/StringUtilTests.cs: Add tests for DoubleToTenthsPrecision and DoubleToPluralInt methods. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: Make ApplyValues an internal method, accessibly implicitly by passing params to the Query or Execute methods. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: Lock the command before calling ApplyValues. Comment out the transaction methods, since they can cause deadlock. * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Better logging. * src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs: Rename member, add protected Arrow and ToggleButton properties so that their sensitivity can be changed, etc. 2008-05-02 Aaron Bockover * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: New event system for raising handlers based on a desired event mask; handler masks can be modified, handlers can be removed, and handlers can be prepended or appended to the event handler list * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEvent.cs: New player event definitions and argument classes * src/Core/Banshee.Services/Banshee.MediaEngine/IPlayerEngineService.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs: * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/GtkNotificationAreaBox.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/INotificationAreaBox.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VideoDisplay.cs: * src/Extensions/Banshee.Bookmarks/Banshee.Bookmarks/BookmarksService.cs: * src/Extensions/Banshee.MiniMode/Banshee.MiniMode/MiniModeWindow.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: * src/Clients/Nereid/Nereid/PlayerInterface.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPlaybackIndicator.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/ViewActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedSeekSlider.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedVolumeButton.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: Updated to use the new player events API 2008-05-01 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs: * src/Extensions/Banshee.MiniMode/Banshee.MiniMode/SourceComboBox.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: * src/Clients/Nereid/Nereid/PlayerInterface.cs: Use NextSource instead of Source. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue.mdp: Updated. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Change to the play queue on the next transition after adding items to it. Fixes BGO #524637. * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Clean up method. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Override ToString = Name * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: Add NextSource property, which you can set to change the source on the next transition. * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Add IsPlaying () convenience method. 2008-05-01 Gabriel Burt * src/Libraries/Migo/*: Move some files up into their namespace folder. 2008-05-01 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs: Fancy rounding commented out since it's not consistent with what is done in libbanshee. Fixes BGO #520648. 2008-05-01 Gabriel Burt * build/m4/banshee/dap-mtp.m4: * configure.ac: Enable MTP support by default (if libmtp is available). 2008-05-01 Gabriel Burt * build/build.environment.mk: * configure.ac: * src/Extensions/Banshee.MiniMode/Banshee.MiniMode.addin.xml: * src/Extensions/Banshee.MiniMode/Banshee.MiniMode.mdp: * src/Extensions/Banshee.MiniMode/Banshee.MiniMode/MiniModeService.cs: * src/Extensions/Banshee.MiniMode/Banshee.MiniMode/MiniModeWindow.cs: * src/Extensions/Banshee.MiniMode/Banshee.MiniMode/SourceComboBox.cs: * src/Extensions/Banshee.MiniMode/Banshee.MiniMode/SourceModel.cs: * src/Extensions/Banshee.MiniMode/Makefile.am: * src/Extensions/Banshee.MiniMode/Resources/minimode.glade: * src/Extensions/Extensions.mds: * src/Extensions/Makefile.am: Patch from Bertrand Lorentz porting mini mode from stable, fixes BGO #527412. The extension is built by default, but must be enabled in the Preferences dialog. 2008-04-30 Aaron Bockover * build/m4/banshee/boo.m4: Require Boo 0.8.1 * src/Extensions/Banshee.BooScript/Makefile.am: Do not try to build if we don't actually have the Boo requirement met * src/Extensions/Banshee.BooScript/Resources/duration-status-formats.boo: Fixed header 2008-04-30 Aaron Bockover * build/build.environment.mk: * build/m4/banshee/boo.m4: * configure.ac: Build stuff for the BooScript extension * src/Core/Banshee.Core/Banshee.Base/Paths.cs: Added GetTempFileName * src/Core/Banshee.Services/Banshee.MediaEngine/TranscoderService.cs: Use the new Paths.GetTempFileName * src/Core/Banshee.Services/Banshee.Sources/DurationStatusFormatters.cs: Created a new collection that holds formatter handlers and add our default formatters; this allows scripts and extensions can add their own * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Move the default duration formatters into DurationStatusFormatters and create a static instance of that collection to use for sources * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodTrackInfo.cs: * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: Small progress on syncing, not much * src/Libraries/Hyena/Hyena.CommandLine/CommandLineParser.cs: Require arguments taking value to have the --arg=value form on the command line and treat all non -- starting arguments as 'files' * src/Extensions/Banshee.BooScript/Banshee.BooScript.addin.xml: * src/Extensions/Banshee.BooScript/Banshee.BooScript/BooScriptService.cs: Ported the Boo scripting support from old Banshee * src/Extensions/Banshee.BooScript/Resources/duration-status-formats.boo: * src/Extensions/Banshee.BooScript/Resources/filename-transform.boo: The first two Boo scripts that work on the new Banshee 2008-04-30 Gabriel Burt * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Reload the music and video child sources after creating them, since Reloads don't happen automatically any more. 2008-04-30 Gabriel Burt * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Don't begin/commit a transaction or run InnerMigrate if the version is current. Use Hyena.Log instead of WriteLines. * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Got rid of unnecessary if. * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Add better logging for when a required service fails to start. * src/Core/Banshee.Services/Banshee.SmartPlaylist/Migrator.cs: * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Dispose all non-extension sources and their children, but don't dispose extension sources. * src/Extensions/Banshee.PlayQueue/Makefile.am: * src/Extensions/Banshee.PlayQueue/Resources/Banshee.PlayQueue.addin.xml: Move addin.xml file up from Resources * src/Libraries/Hyena/Hyena/Log.cs: Make showUser default to false everywhere. * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Explicitly set showUser = true. 2008-04-30 Gabriel Burt * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Add a ClientStarted event, which is raised for clients that are already started and for new ones. * src/Core/Banshee.Services/Banshee.ServiceStack/Client.cs: Add a IsStarted property, and change the Started event to use a Action<> handler. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Use new Application.ClientStarted event, and handle in method, not anonymous delegate. 2008-04-29 Gabriel Burt * src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs: Comment style. * src/Core/Banshee.Services/Banshee.ServiceStack/Client.cs: * src/Clients/Nereid/Nereid/Client.cs: Use Log.InformationFormat instead of Log.Information (String.Format * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: Add a log statement. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Get rid of unnecessary thread, and move reload all from anonymous delegate to private method. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: Make OnUserNotifyUpdated protected and add public NotifyUser method. 2008-04-29 Gabriel Burt Prior to this commit, all sources (playlists, etc) were reloaded on startup, meaning startup got slower and slower the more playlists you had. This is no longer the case, playlists are reloaded the first time you activate (select) them. * src/Clients/Nereid/Nereid/Client.cs: Add information line at start of Main, useful to get more accurate startup timing. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add columns for SavedCount to CorePrimarySources etc. Trigger all the sources to reload when the client is started up, just one more time, to bootstrap the SavedCount. * src/Core/Banshee.Services/Banshee.ServiceStack/Client.cs: Log when the client has fully started up. * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: Save is now an override, and got rid of NotifyUpdated since not needed now that Source.OnUserNotifyUpdated is public. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Load and save SavedCount. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Add a SavedCount protected property, used to be able to show a count in the source list on startup without having to query every soure. Implement IDisposable, and Save the source when disposed. Also, implement default Activate method that checks if the source has been reloaded this session, and reloads it if not. * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Make sure all sources are Disposed (if : IDisposable) when removed, including child sources. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Make OnUserNotifyUpdated method public, and use it in SourceActions. * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: Call OnUserNotifyUpdated on new DapSources so they pulse in the source list. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Chain Dispose calls. 2008-04-29 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedImage.cs: Do not chain SizeAllocated if the allocation doesn't actuall change - not sure why GtkImage raises this when the image changes even if the dimensions are the same. Lame. 2008-04-29 Gabriel Burt * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Get media capabilities from the volume's parent (the block device). 2008-04-29 Gabriel Burt * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Add ClientAdded event. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.ServiceStack/IDelayedInitializeService.cs: New interface for services that shouldn't be started until there is at least one Client that has started. In practice, means DapService doesn't scan and load DAPs until after the GTK client is fully loaded. * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: When at least one client is started, call DelayedInitialize on IDelayedInitializeServices. * src/Core/Banshee.Services/Banshee.ServiceStack/Client.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs: Add Started event and call it when appropriate. * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: Implement IDelayedInitializeService. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedMessageBar.cs: Remove bandaid fix for AnimatedImage since abock has committed the real fix. * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Remove self from SourceManager within Dispose, so MTP source actually disappears when ejected. 2008-04-29 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedImage.cs: When hidden, preserve the active state and pause the stage to prevent iterations and restore the active state/resume the stage (if active); the more correct fix for the cause of BGO #523646. * src/Libraries/Hyena.Gui/Hyena.Widgets/MessageBar.cs: Explicitly show/hide the animated image when the bar show/hides 2008-04-29 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Be more careful with unregistering handlers to status message events. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedMessageBar.cs: Fix memory leak/cpu usage seen after selecting a Last.fm source, caused by AnimatedImage's stage continuing to play after the status message should have been hidden/removed. Its still strange that while the AnimatedImage is shown/animating it triggers so many ExposeEvents on the ListView, but at least they stop once the status message goes away. Fixes BGO #523646. * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Explicitly mark private members as private. 2008-04-29 Gabriel Burt * tests/Hyena/DbBoundType.cs: Fix build. 2008-04-28 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/InterfaceActionService.cs: Add RemoveActionGroup convenience override. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Make sure to dispose actions when the extension is disposed, fixing crasher when you tried to disable/reenable the extension. 2008-04-28 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationEditor.cs: * src/Extensions/Banshee.Lastfm/Resources/lastfm.glade: Remove name entry from Last.fm dialog. 2008-04-28 Gabriel Burt * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: * src/Libraries/Hyena/Hyena.Query/QueryOrder.cs: Implement smart playlists limited by file size and duration. Fixes BGO #522889. 2008-04-28 Gabriel Burt * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Fix bug with incrementing skip count instead of play count when a song ended and the next one began (behavior was correct if the song hadn't ended and the user manually pressed next.) Fixes BGO #527879. 2008-04-28 Gabriel Burt WARNING: This commit is a first pass at reworking some of the Podcast/Migo internals to use Hyena and be more consistent with Banshee's style. It severely breaks the podcast extension for the time being, so unless you are working with Mike and me to fix it, you should not build or run it. * build/build.environment.mk: Link Migo against Hyena. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistInfo.cs: * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Update to new Load method (w/o superflous int arg). * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Fix DatabaseColumn attributes to be on properties, not private members. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: Use new IDatabaseTrackModel[Provider|Cache] interfaces to allow this class to handle DatabaseTrackInfo subclasses (eg to handle PodcastInfo objects). * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: Override AfterInitialized method, moving quite a bit of track model property setting there. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Change static LoadAll method to take a primary source id, so that as primary sources are loaded, they fetch/load only their playlists. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Add virtual HasArtistAlbum property so sources can avoid instantiating the Artist/Album models at all if they don't use them. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Check the artist/album models aren't null before using them. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackModelCache.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackModelProvider.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/IDatabaseTrackModelCache.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/IDatabaseTrackModelProvider.cs: New interfaces/classes to enable DatabaseTrackInfo subclasses to be used/loaded by DatabaseTrackListModel and therefore any DatabaseSource subclass. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Override HasArtistAlbum to false. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastItem.cs: Migo's FeedItem class is backed by a database table (PodcastItems), so the idea is intead of having another table for Banshee specific podcast item information, push as much as possible into Migo, and have PodcastItem actually subclass from DatabaseTrackInfo, and pull in information from the Migo tables as necessary (using VirtualDatabaseColumn attributes). * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastFeed.cs: Deleted, since we just use the Migo table/Feed class now. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Dialog/PodcastFeedPropertiesDialog.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Dialog/PodcastPropertiesDialog.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Dialog/PodcastSubscribeDialog.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Dialog/SyncPreferenceComboBox.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/ColumnCells/FeedActivityColumnCell.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Models/PodcastFeedModel.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Views/PodcastFeedView.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Views/PodcastItemView.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastCore.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastCore_Interface.cs: Many HACKING fixes, quite a lot of work to do still. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/Models/PodcastItemModel.cs: Remove the custom model since we use a DatabaseTrackListModel now. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs: Change to subclass from PrimarySource. * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: Fix bug in exception logging. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Use Action instead of custom delegate type for AggregatesUpdated event. * src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Make not abstract, taking default properties and empty virtual methods from BansheeModelProvider. Remove unused int arg in Load method. Add FetchAllMatching, FetchFirstMatching, FetchSingle (id), and Delete methods. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteUtils.cs: Handle bools. * src/Libraries/Migo/Makefile.am: * src/Libraries/Migo/Migo.mdp: Several files removed, a few added. * src/Libraries/Migo/Migo/Migo.Syndication/EventArgs/FeedDownloadCompletedEventArgs.cs: * src/Libraries/Migo/Migo/Migo.Syndication/EventArgs/FeedDownloadCountChangedEventArgs.cs: * src/Libraries/Migo/Migo/Migo.Syndication/EventArgs/FeedEventArgs.cs: * src/Libraries/Migo/Migo/Migo.Syndication/EventArgs/FeedItemCountChangedEventArgs.cs: * src/Libraries/Migo/Migo/Migo.Syndication/EventArgs/FeedItemEventArgs.cs: Renamed to follow HACKING. * src/Libraries/Migo/Migo/Migo.Syndication/Feed.cs: * src/Libraries/Migo/Migo/Migo.Syndication/FeedEnclosure.cs: * src/Libraries/Migo/Migo/Migo.Syndication/FeedItem.cs: * src/Libraries/Migo/Migo/Migo.Syndication/FeedUpdateTask.cs: * src/Libraries/Migo/Migo/Migo.Syndication/FeedsManager.cs: Many updates, including HACKING fixes, trying to get rid of unnecessary dictionaries etc. There are some commented out pieces of code in this commit that have broken podcasts temporarily until they are 'ported'. For the database-backed classes (Feed, FeedItem, and FeedEnclosure) use Hyena.Data.Sqlite [DatabaseColumn] attributes to flag db-backed properties. * src/Libraries/Migo/Migo/Migo.Syndication/IFeed.cs: * src/Libraries/Migo/Migo/Migo.Syndication/IFeedEnclosure.cs: * src/Libraries/Migo/Migo/Migo.Syndication/IFeedItem.cs: * src/Libraries/Migo/Migo/Migo.Syndication/IFeedsManager.cs: Deleted. * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/TablesManagers/EnclosuresTableManager.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/TablesManagers/FeedsTableManager.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/TablesManagers/ItemsTableManager.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Utilities/DataUtility.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Utilities/DatabaseManager.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Utilities/DbDefines.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Utilities/QueuedDbCommand.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Utilities/SQLiteUtility.cs: Deleted; Migo uses Hyena.Data.Sqlite now for db related functionality. * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Wrappers/Db/DataWrapper.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Wrappers/Db/FeedDataWrapper.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Wrappers/Db/FeedEnclosureDataWrapper.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Wrappers/Db/FeedItemDataWrapper.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Wrappers/IFeedEnclosureWrapper.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Wrappers/IFeedItemWrapper.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Wrappers/IFeedWrapper.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Wrappers/Rss/RssFeedEnclosureWrapper.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Wrappers/Rss/RssFeedItemWrapper.cs: * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/Wrappers/Rss/RssFeedWrapper.cs: Deleted; Wrapper concept had a lot of redundancy in property definitions etc. The Db wrappers are unnecessary since Hyena.Data.Sqlite uses reflection to instantiate objects/set properties. * src/Libraries/Migo/Migo/Migo.Syndication/Migo.Syndication.Data/RssParser.cs: New class largley taken from the Rss*Wrapper classes. * tests/Hyena/SqliteCommandTests.cs: Test SQLification of bools. 2008-04-28 Aaron Bockover * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Make ConditionSql virtual and add a protected setter; make CanUnmap virtual * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Add Music and Video group sources; delete all smart playlists and entires associated with the primary source when starting and disposing * src/Dap/Banshee.Dap/Banshee.Dap/MediaGroupSource.cs: Base source for media groups, extends SmartPlaylistSource * src/Dap/Banshee.Dap/Banshee.Dap/MusicGroupSource.cs: * src/Dap/Banshee.Dap/Banshee.Dap/VideoGroupSource.cs: A source to show all music on the device and one for all video * src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs: Do not implement IDiskUsageReporter - MediaGroupSource does this now * src/Libraries/Hyena.Gui/Hyena.Gui/TestModuleAttribute.cs: Attribute for flagging UI test modules * src/Libraries/Hyena.Gui/Hyena.Gui/TestModuleRunner.cs: Show a list of UI test modules and run them when activated * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryDebugger.cs: A UI test module for playing with the query parser 2008-04-26 Aaron Bockover * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: Do not try to read the name from the iTunesDB until after we have finished loading that database 2008-04-26 Aaron Bockover * src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs: Support runtime loading/unloading of hardware provider extensions * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/PodSleuthDeviceProvider.cs: * src/Core/Banshee.Services/Banshee.Hardware/ICustomDeviceProvider.cs: Implement IDisposable * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Support runtime loading/unloading of extension sources * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod.addin.xml: Order the hardware provider for podsleuth first in the extension list just in case 2008-04-25 Aaron Bockover * src/Core/Banshee.Services/Banshee.ServiceStack/IExtensionService.cs: * src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs: Require all extension services to implement IDisposable * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Listen to the addin manager for when service extensions are enabled or disabled and enable/disable accordingly; this allows all service extensions to now be enabled or disabled at runtime * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Added an override for removing an action by name * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: Moved the UI actions from the source to the service since all of the UI here is global; fixes issue where there were UI conflicts with multiple CDs and also helps with the runtime enable/disable of the service * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Reflect said changes above * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: Many fixes for runtime enable/disable 2008-04-25 Aaron Bockover This commit hopefully addresses remaining hardware and threading issues with DAP support and fixes the Mono.Addins dependency issue that people have been complaining about for the last couple of days * src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs: Cache the uuid of the volume once it's been resolved so the device doesn't have to be queried for it again, which is problematic if the device is removed forcefully * src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs: Listen directly on the inner manager for device added/removed and raise those events from within the service scope, performing the cast to custom device in the device added event * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: Defer the loading of the database to the LoadFromDevice threaded call so startup is faster; implement eject * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/PodSleuthDeviceProvider.cs: Allow the provider to adapt the PodSleuthDevice to either the top level iPod storage device or the actual iPod data volume so iPod support works when an iPod is plugged in while Banshee was already running * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: Reworked the DapSource instantiation to deal with older Mono.Addins; fully dispose and unmap any devices bound to a DAP provider extension if that extension is removed at runtime; fully tear down the top level DAP service if it is disposed, so DAP support can be fully disabled at runtime as well * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Replaced the IDevice ctor with a virtual DeviceInitialized method to cope with older Mono.Addins - this should fix the problem people have been complaining about for 2 days; store the addin ID on the source as well for unmapping in the service * src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs: Removed bad threading decisions, race issues, and excessive dispose calls; it is up to the device implementation to call dispose as needed inside eject * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Updated to reflect minor DapSource API changes due to Mono.Addins * src/Libraries/Hyena/Hyena/Log.cs: Walk the exception chain to generate a full stack trace printout 2008-04-24 Aaron Bockover * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Added a PurgeTracks method that will nuke all entries in CoreTracks with a matching primary source ID * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: Read the track database from the iPod * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodTrackInfo.cs: Map the iPod tracks to Banshee database tracks * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: Call LoadDeviceContents after creating a DapSource * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Added LoadDeviceContents and a virtual LoadFromDevice method; LoadFromDevice should be implemented by DapSources and will run async - currently only used by IpodSource 2008-04-24 Aaron Bockover * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: Some more cleanup, organizing, and implemeneted icon name support * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Whitespace 2008-04-24 Aaron Bockover * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Updated to the new DapSource API * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: Uses the new enforced IDevice ctor that DapSources must have to create the device, if InvalidDeviceException is thrown, the source is discarded * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Lots of refactoring and cleaning; get rid of Resovle and Initialize (IDevice) and rolled all that into the ctor; better error messages, more result checking, easier to read code * src/Dap/Banshee.Dap/Banshee.Dap/InvalidDeviceException.cs: New exception that DapSource implementors must throw in the ctor if they can't support the device being passed to them * src/Libraries/Hyena/Hyena/Log.cs: Log exceptions through Log.Warning and added an override to provide a message with the exception 2008-04-24 Gabriel Burt * src/Dap/Banshee.Dap.Ipod/Makefile.am: Disable ipod build unless ENABLE_IPOD set. 2008-04-24 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Fix bug with seek and jump-to-playing not being sensitive when they should be. Fixes BGO #528198. 2008-04-24 Aaron Bockover * build/build.environment.mk: * build/build.rules.mk: * build/m4/banshee/dap-ipod.m4: * configure.ac: Build foo for iPod support * src/Backends/Banshee.Hal/Banshee.HalBackend/BlockDevice.cs: Do not check if info.category is storage since the capability query for block will validate the device, and info.category may not be storage for all storage devices (it could be portable_audio_player) * src/Core/Banshee.Services/Banshee.Hardware/IDevice.cs: * src/Backends/Banshee.Hal/Banshee.HalBackend/Device.cs: Added HAL method wrappers for properties that should only be used with extreme care; probably need to enforce how these are used. They're really just for proxying custom properties from custom IDevices; I'm not totally happy with this * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: * src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs: * src/Backends/Banshee.Hal/Banshee.HalBackend/HardwareManager.cs: Some cleanups, notes * src/Core/Banshee.Services/Banshee.Services.addin.xml: * src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs: Implemented the ICustomDeviceProvider extension, pass all IDevice queries through the custom device providers to allow them to transform/replace a device with some custom device * src/Core/Banshee.Services/Banshee.Hardware/ICustomDeviceProvider.cs: The new interface for custom device providers * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod.addin.xml: iPod extension def * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/IpodSource.cs: The beginning of the iPod DAP support; doesn't do anything yet * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/PodSleuthDevice.cs: A device that translates PodSleuth properties to the iPod device from ipod-sharp * src/Dap/Banshee.Dap.Ipod/Banshee.Dap.Ipod/PodSleuthDeviceProvider.cs: Custom device provider for taking an iPod storage device and transforming its iPod volume into a PodSleuthDevice 2008-04-23 Gabriel Burt * src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginDialog.cs: Fix bug with not saving the account info when the user clicked (vs pressing space or enter) the save button. 2008-04-23 Scott Peterson * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs: Use new StartPadding. * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs: Added StartPadding and EndPadding properties. 2008-04-23 Gabriel Burt * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Be more careful when Disposing. 2008-04-23 Gabriel Burt * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Handle the situation of the user not having any encoders and trying to transfer an unsupported file type. 2008-04-23 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinDetailsDialog.cs: * src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinTile.cs: * src/Core/Banshee.ThickClient/Banshee.Addins.Gui/AddinView.cs: Moved these widgets into their own proper namespace * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/DefaultPreferenceWidgets.cs: Changed to reflect said move 2008-04-23 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/BansheeDialog.cs: Allow setting the parent/transient for window * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/AddinDetailsDialog.cs: Added a simple details dialog for an addin * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/AddinView.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/AddinTile.cs: Better tile UI and added enable/disable and details buttons to the tile; actually enable/disable addins when the button is pressed - BE WARNED this has not been tested too much yet * src/Libraries/Hyena.Gui/Hyena.Widgets/WrapLabel.cs: Added a Wrap property that will allow text to be ellipsized to one line if unset * src/Core/Banshee.ThickClient/Banshee.MediaProfiles.Gui/ProfileComboBoxConfigurable.cs: * src/Core/Banshee.ThickClient/Banshee.MediaProfiles.Gui/ProfileConfigurationDialog.cs: * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/DefaultPreferenceWidgets.cs: Updated to use the new WrapLabel * src/Libraries/Hyena.Gui/Hyena.Widgets/TextViewLabel.cs: Removed now that we have a proper WrapLabel * src/Backends/Banshee.GStreamer/Banshee.GStreamer.addin.xml: * src/Backends/Banshee.Gnome/Banshee.Gnome.addin.xml: * src/Backends/Banshee.Hal/Banshee.Hal.addin.xml: * src/Backends/Banshee.Unix/Banshee.Unix.addin.xml: * src/Core/Banshee.Core/Banshee.Core.addin.xml: * src/Core/Banshee.Services/Banshee.Services.addin.xml: * src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml: * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage.addin.xml: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp.addin.xml: * src/Dap/Banshee.Dap/Banshee.Dap.addin.xml: * src/Extensions/Banshee.AudioCd/Banshee.AudioCd.addin.xml: * src/Extensions/Banshee.Bookmarks/Banshee.Bookmarks.addin.xml: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml: * src/Extensions/Banshee.MultimediaKeys/Resources/Banshee.MultimediaKeys.addin.xml: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying.addin.xml: * src/Extensions/Banshee.PlayQueue/Resources/Banshee.PlayQueue.addin.xml: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.addin.xml: Updated addin metadata 2008-04-23 Gabriel Burt * src/Libraries/Migo/*: Rename a few more enums. 2008-04-23 Gabriel Burt * src/Extensions/Banshee.Podcasting/*: * src/Libraries/Migo/*: Rename FEEDS_DOWNLOAD_STATUS enum to FeedDownloadStatus. (Props to MD for making this dead easy). 2008-04-23 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Fix typo in delete tracks user job message. * src/Extensions/Banshee.Podcasting/*: * src/Libraries/Migo/*: Fix assembly references in .mdp, and rename one enum and its values to FDG standards. 2008-04-23 Aaron Bockover This commit adds the initial work for the extension manager to allow you to enable and disable extensions; it does not yet work and there are still many interaction and rendering issues; no complaining * src/Core/Banshee.Services/Banshee.Preferences/Page.cs: Add the new extensions page to the preference set * src/Core/Banshee.Services/Banshee.Preferences/PreferenceBase.cs: * src/Core/Banshee.Services/Banshee.Preferences/Root.cs: Moved DisplayWidget to Root * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/DefaultPreferenceWidgets.cs: Adapt the new AddinView for our extensions to the extensions page * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/NotebookPage.cs: Support pages with their own DisplayWidgets * src/Libraries/Hyena.Gui/Hyena.Widgets/WrapLabel.cs: Added a new label that doesn't suck for proper wrapping; this label uses a width allocation from its parent to compute the layout and forces a height request to fit the wrapped layout; it is awesome; someone tell me if the standard GtkLabel can do this - I have in many years never been able to do this * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/AddinTile.cs: Hot new tile widget that displays information about an addin/extension and will allow you to enable/disable it; not completely done * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/AddinView.cs: A view that lays out the AddinTiles 2008-04-22 Gabriel Burt This commit adds transcoding support to DAPs. Transcoded files are stored in ~/.config/banshee-1/transcoder/, and that folder is deleted every Banshee session. One improvement over stable's transcoding is file transfers can happen at the same time as transcoding. * src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs: Make IsReadOnly public. * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Enable property dialogs for DapSources. Also, override AddTrack methods to first transcode if necessary. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Reflect updates in two parent classes. * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Lock use of the mtp device so only one operation happens at a time. Make adding track work with new transcoding support. Add fine-grained progress when adding tracks. * src/Dap/Banshee.Dap/Makefile.am: * src/Dap/Banshee.Dap/Banshee.Dap.Gui: * src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapPropertiesDialog.cs: Ported from stable. Advanced properties and owner entry commented out. * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: If the Source has a property named 'SourceProperties.GuiHandler' that is a OpenPropertiesDelegate, invoke it OnSourcePropertiesAction. * src/Core/Banshee.ThickClient/ThemeIcons/22x22/actions: * src/Core/Banshee.ThickClient/ThemeIcons/22x22/actions/encode.png: Copy icon from stable. * src/Core/Banshee.ThickClient/Banshee.MediaProfiles.Gui/ProfileConfigurationDialog.cs: * src/Core/Banshee.ThickClient/Banshee.MediaProfiles.Gui/ProfileComboBoxConfigurable.cs: * src/Core/Banshee.Services/Banshee.MediaProfiles/MediaProfileManager.cs: * src/Core/Banshee.Services/Banshee.MediaProfiles/PipelineVariable.cs: * src/Core/Banshee.Services/Banshee.MediaProfiles/Profile.cs: * src/Core/Banshee.Services/Banshee.MediaProfiles/Pipeline.cs: * src/Core/Banshee.Services/Banshee.MediaProfiles/ProfileConfiguration.cs: Renamed *ID properties to *Id. Also, use the ProfileConfiguration in several places we used to return just the Profile, since multiple ProfileConfigurations can share a Profile, we need to make sure this configurations variables are loaded when we use it. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Define OpenPropertiesDelegate. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Handle AddTracks not being synchronous (since there may be transcoding). * src/Core/Banshee.Services/Banshee.ServiceStack/BatchUserJob.cs: Add DetailedProgress that is the percent complete of the current sub-job. * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Load the TranscoderService. * src/Core/Banshee.Services/Banshee.Services.addin.xml: Define /Banshee/MediaEngine/Transcoder extension node. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Services.mdp: * src/Core/Banshee.Services/Banshee.MediaEngine/ITranscoder.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/TranscoderService.cs: New files that give us transcoding. Largely ported code from stable. * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfConfigurationClient.cs: Remove / characters from key names. * src/Backends/Banshee.GStreamer/Makefile.am: * src/Backends/Banshee.GStreamer/Banshee.GStreamer.addin.xml: * src/Backends/Banshee.GStreamer/Banshee.GStreamer/Transcoder.cs: Add GStreamer implementation of MediaEngine.ITranscoder, mostly ported from stable. * src/Backends/Banshee.GStreamer/Banshee.GStreamer/AudioCdRipper.cs: Tweak way Profiles are loaded to ensure they're configured. * src/Libraries/Mtp/Mtp/Track.cs: Remove WriteLine. * libbanshee/banshee-transcoder.c: Fix broken progress updates, and Gtk criticals. * build/build.environment.mk: Require Banshee.ThickClient in Banshee.Dap now b/c of properties dialog. * data/audio-profiles/*.xml.in: Add taglib/* mimetypes. * data/banshee-1.desktop.in.in: * data/mimetypes.txt: Update list of mimetypes with some ones from TagLib# we didn't have. 2008-04-22 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/PreferencesDialog.cs: * src/Core/Banshee.ThickClient/Resources/banshee-dialogs.glade: Nuke the old crappy hardcoded preferences dialog 2008-04-22 Aaron Bockover * src/Core/Banshee.Services/Banshee.Preferences/Page.cs: Cleaned up the default preferences * src/Core/Banshee.Services/Banshee.Preferences/PreferenceService.cs: Added an InstallWidgetAdapters event and a RequestWidgetAdapters method * src/Core/Banshee.Services/Banshee.Preferences/VoidPreference.cs: A wrapper to use for fake preferences that will basically be containers for advanced widgets bound to other preferences * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/DefaultPreferenceWidgets.cs: A little cleanup and use VoidPreference * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/PreferenceDialog.cs: Call RequestWidgetAdapters to notify listeners that they need to create and bind their widget adapters to preferences they own * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/SectionBox.cs: Set the MnemonicWidget if the preference gets a label * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: Last of the preference migration - adds the import profile combo 2008-04-22 Aaron Bockover * src/Core/Banshee.Services/Banshee.MediaEngine/IAudioCdRipper.cs: * src/Backends/Banshee.GStreamer/Banshee.GStreamer/AudioCdRipper.cs: Added a enableErrorCorrection argument to the Begin method * src/Core/Banshee.Core/Banshee.Configuration.Schema/ImportSchema.cs: Removed the error correction schema * src/Core/Banshee.Services/Banshee.Preferences/Collection.cs: Added remove * src/Core/Banshee.Services/Banshee.Preferences/Preference.cs: * src/Core/Banshee.Services/Banshee.Preferences/Root.cs: * src/Core/Banshee.Services/Banshee.Preferences/SchemaPreference.cs: Added Description property and ctor overrides * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/PreferencesDialog.cs: Removed crap * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/SectionBox.cs: Set tooltips * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Pass the schema value ot Begin * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: Add the first preference for audio CD support * src/Libraries/Hyena.Gui/Hyena.Gui/TooltipSetter.cs: A new awesome tooltip wrapper that will either use the old Gtk.Tooltips API or the new Gtk.Widget.TooltipText property, depending on what is available 2008-04-22 Aaron Bockover * src/Core/Banshee.Services/Banshee.Preferences/Page.cs: Set up default preferences for some more things * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/DefaultPreferenceWidgets.cs: Added widget adapters for the file/folder pattern preferences * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/SectionBox.cs: Layout preference widgets properly using a table so everything lines up and looks pretty * src/Core/Banshee.Services/Banshee.Preferences/Collection.cs: Added FindOrAdd method * src/Core/Banshee.Services/Banshee.Preferences/PreferenceBase.cs: Added a ShowLabel property * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/WidgetFactory.cs: Remove a console.writeline * src/Libraries/Hyena.Gui/Hyena.Widgets/TextViewLabel.cs: Moved from somewhere in Banshee proper * src/Core/Banshee.ThickClient/Banshee.MediaProfiles.Gui/ProfileComboBoxConfigurable.cs: * src/Core/Banshee.ThickClient/Banshee.MediaProfiles.Gui/ProfileConfigurationDialog.cs: Reflect the moving of TextViewLabel to Hyena.Widgets 2008-04-22 Aaron Bockover This commit adds very initial and incomplete support for better preference management that makes it easy for extensions to add new preferences * src/Core/Banshee.Services/Banshee.Preferences/Root.cs: A root object for all things preferency * src/Core/Banshee.Services/Banshee.Preferences/Collection.cs: A base preference object that represents a collection of preference things * src/Core/Banshee.Services/Banshee.Preferences/Page.cs: Non gui collection representing pages for the preference dialog * src/Core/Banshee.Services/Banshee.Preferences/Section.cs: A section is a group of preferences in a page * src/Core/Banshee.Services/Banshee.Preferences/Preference.cs: Generic preference object that maps to as single preference item * src/Core/Banshee.Services/Banshee.Preferences/PreferenceBase.cs: Base single item preference object (non-generic) * src/Core/Banshee.Services/Banshee.Preferences/PreferenceService.cs: The core preference service * src/Core/Banshee.Services/Banshee.Preferences/SchemaPreference.cs: A preference item object that binds to our lovely SchemaEntry configuration objects that makes exposing configuration as preferences really easy * src/Core/Banshee.Services/Banshee.Library/LibraryLocationPreference.cs: Preference object for setting the library location * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Load the preference service * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/BansheeDialog.cs: A new base dialog object that makes writing new dialogs very nice * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/PreferenceDialog.cs: The new preference dialog * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/NotebookPage.cs: A GUI wrapper for the preference Page object * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/SectionBox.cs: A GUI wrapper for the preference Section object * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/WidgetFactory.cs: A static class that builds and binds widgets to non-GUI preferences * src/Core/Banshee.ThickClient/Banshee.Preferences.Gui/DefaultPreferenceWidgets.cs: A set of default preference widget adaptors that represent more complex UI for interacting with preferences * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: Open the new preferences dialog 2008-04-19 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedVolumeButton.cs: Added a classic ctor override * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/RepeatActionButton.cs: Allow the button to have only the icon * src/Core/Banshee.Widgets/Banshee.Widgets/VolumeButton.cs: Added a classic mode that just pops up the slider above the widget, which is best for fullscreen * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenControls.cs: Ensure the controls don't go away if the volume button is active * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: Some fixes; increase the timeout to 5s * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/OverlayWindow.cs: Make the background slightly transparent if compositing is supported * src/Libraries/Hyena.Gui/Hyena.Gui/CompositeUtils.cs: Utilities for dealing with awesome stuff in composited environments that doesn't require the latest bleeding GTK; ported from F-Spot, thank you Larry * src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Fix the frame rendering 2008-04-19 Aaron Bockover * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenControls.cs: Add the default accel group and make it as wide as the screen (probably lame but gabaug was complaining) * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: Add the default accel group and some custom keybindings for seeking and showing/hiding the control bar * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/OverlayWindow.cs: Make gabaug happy and move the bar to the bottom of the screen 2008-04-19 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedSeekSlider.cs: Added new horizontal layout mode that is nice for fullscreen * src/Core/Banshee.Widgets/Banshee.Widgets/StreamPositionLabel.cs: Rebuild the layouts when the format string changes * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenControls.cs: Allow the seek slider to fill any remaining space in the window and make sure the window takes 85% of the screen width * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: Fixed the popup auto-hide when the mouse was over the controls * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/OverlayWindow.cs: Added better sizing to allow the window to adapt to the screen size * src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs: Implemented two empty method overrides to avoid GtkContainer's bitching 2008-04-19 Aaron Bockover * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenControls.cs: First pass at adding fullscreen controls - it's by no means complete, and yes I know there are some bugs and missing items * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: Show/hide the controls overlay window when necessary * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/OverlayWindow.cs: Started porting the overlay controls window from F-Spot * src/Core/Banshee.ThickClient/Banshee.Gui/ViewActions.cs: Use F instead of F11 as the fullscreen accel * src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs: Moved the widget construction to a protected function and added a default ctor * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs: Added a small wrapper for creating the next action button * src/Clients/Nereid/Nereid/PlayerInterface.cs: Use the new NextButton 2008-04-19 Aaron Bockover * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: Lots of window manager and parent window interaction stuff so that fullscreen behaves properly when a user does strange window management like alt-tab when in fullscreen * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingInterface.cs: Ensure that if for some reason the source is changed underneath the fullscreen, it's merged back into the source UI * src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Use the proper drawing call for non-standard border renders 2008-04-18 Aaron Bockover * libbanshee/banshee-player-video.c: (bp_video_find_xoverlay): Do not let the video sink handle X events 2008-04-18 Aaron Bockover * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: Hide the cursor if it hasn't moved in 2.5 seconds, allow 150px of movement before showing it again if it was hidden already 2008-04-18 Aaron Bockover This commit adds video rendering to the fullscreen window and fixes all of the GTK CRITICAL messages that could be seen when switching from the now playing source to something else * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingInterface.cs: Implemented a sweet widget reparenting hack to work around the windowing issues with GstXOverlay; when the video wiget is not to be displayed, it is reparented to the fullscreen window, which will be hidden; this also implements the rest of fullscreen support as far as video rendering is concerned (there are no fullscreen controls yet, but you can press escape to close the window) * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: Hide and unfullscreen self instead of destroying * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VideoDisplay.cs: Abstracted non GstXOverlay specific pieces of the video widget to make the code easier to maintain * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/XOverlayVideoDisplay.cs: Fixes with the internal windowing to better work with the reparenting hack outlined above 2008-04-18 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: We were instantiating a List on every render. Now we just use one list per instance and clear it on each render. 2008-04-17 Aaron Bockover * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingInterface.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: Moved the fullscreen UI logic from the source to the interface * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: Use Destroy explicitly 2008-04-17 Scott Peterson * tests/Hyena/SqliteModelProviderTests.cs: Added test for null strings. 2008-04-17 Scott Peterson * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Look for DB-bound members amoung the public fields. Don't know what we didn't do that before. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: Don't throw an exception if we can't retrieve a schema due to the table not existing. This is important because the Provider uses Scheme.Count == 0 to detect a non-existant table! * tests/Hyena/DbBoundType.cs: A type which can be used with an SqliteModelProvider for testing purposes. * tests/Hyena/SqliteModelProviderTests.cs: Logical tests for the SqliteModelProvider. 2008-04-16 Aaron Bockover * Makefile.am: Add a gdb target * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Added AddImportant override for ToggleActionEntry * src/Core/Banshee.ThickClient/Banshee.Gui/BaseClientWindow.cs: Moved the fullscreen code * src/Core/Banshee.hickClient/Banshee.Gui/ViewActions.cs: Implement the fullscreen action and allow the fullscreen logic to be overridden * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/FullscreenWindow.cs: The window that will house the fullscreen UI for video playback * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingInterface.cs: Add a property for getting the VideoDisplay widget * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: Added a custom fullscreen handler that will fullscreen the video window when fullscreen action is toggled and the now playing source is active * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VideoDisplay.cs: Inherit from GtkEventBox since it does what we needed and simplifies some things; still has that CRITICAL warning though * src/Extensions/Banshee.NowPlaying/Resources/ActiveSourceUI.xml: UI for merging the fullscreen action into the toolbar 2008-04-16 Alexander Hixon * build/build.environment.mk * src/Extensions/Banshee.Daap/Daap/ServiceLocator.cs: We don't like bandaids. 2008-04-16 Wouter Bolsterlee * src/Extensions/Banshee.Daap/Banshee.Daap/DaapLoginDialog.cs: * src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastCore_ Interface.cs: Added a few translator comments. 2008-04-16 Gabriel Burt * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Specify what folder to upload the track to - Music or Video. * src/Libraries/Mtp/Mtp/MtpDevice.cs: Set the parent_id on the track before uploading it. * src/Libraries/Mtp/Mtp/Track.cs: Improve the DetectFileType method. * src/Libraries/Hyena/Hyena.Query/FileSizeQueryValue.cs: * src/Libraries/Hyena/Hyena.Query/RelativeTimeSpanQueryValue.cs: * src/Libraries/Hyena/Hyena.Query/TimeSpanQueryValue.cs: Parse values as doubles instead of ints, allowing queryies and smart playlists to specy "size>2.2MB" for instance. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/FileSizeQueryValueEntry.cs: * src/Libraries/Hyena.Gui/Hyena.Query.Gui/TimeSpanQueryValueEntry.cs: Add a single decimal place to the spin button. * src/Libraries/Hyena/Hyena/StringUtil.cs: Improve FormatDouble method, now returns 1 if N < 1.1, etc. 2008-04-16 Gabriel Burt * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: When the CorePrimarySource table was modified a few commits back (after Alpha 3, I think) I forgot to make the change for new databases as well. Patch from Bertrand Lorentz, fixes BGO #528469. 2008-04-16 Gabriel Burt * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Fix bug introduced by Alex's last commit. Fix a couple style issues. 2008-04-16 Scott Peterson * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: Reverted IL injection changes. 2008-04-16 Alexander Hixon This commit basically changes the DAAP namespace to Daap, removes the server bits from daap-sharp, and puts in support for using avahi-sharp instead of Mono.Zeroconf when compiling the extension (note that the build stuff hasn't quite been hooked up yet). There's also a few changes to using generics in daap-sharp, and DaapPlaylistSource uses the database, rather than keeping stuff in memory. * src/Extensions/Banshee.Daap/Daap/ContentFetcher.cs: * src/Extensions/Banshee.Daap/Daap/Client.cs: * src/Extensions/Banshee.Daap/Daap/User.cs: * src/Extensions/Banshee.Daap/Daap/ServerInfo.cs: * src/Extensions/Banshee.Daap/Daap/BrokenMD5.cs: * src/Extensions/Banshee.Daap/Daap/ContentParser.cs: * src/Extensions/Banshee.Daap/Daap/LoginException.cs: * src/Extensions/Banshee.Daap/Daap/AuthenticationException.cs: * src/Extensions/Banshee.Daap/Daap/Playlist.cs: * src/Extensions/Banshee.Daap/Daap/Utility.cs: * src/Extensions/Banshee.Daap/Daap/Track.cs: * src/Extensions/Banshee.Daap/Daap/ContentWriter.cs * src/Extensions/Banshee.Daap/Daap/Hasher.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapLoginDialog.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapService.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapTrackInfo.cs: Simple namespace change from DAAP to Daap. * src/Extensions/Banshee.Daap/Daap/ContentCodeBag.cs: * src/Extensions/Banshee.Daap/Daap/Database.cs: Use Generics instead of regular Collection classes. Also update the namespaces from DAAP to Daap. * src/Extensions/Banshee.Daap/Daap/ServiceLocator.cs: Provide support for avahi-sharp as well as Mono.Zeroconf. Also use Hyena logging instead of spewing via Console.WriteLine. * src/Extensions/Banshee.Daap/Daap/sync-tree.sh: Remove this since it's practically useless now. * src/Extensions/Banshee.Daap/Daap/Server.cs: Remove this since we're not serving up DAAP shares from Banshee directly anymore. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapPlaylistSource.cs: Track the database IDs rather than the entire track information, and use the new namespace. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Add virtual AddTrack method that should be overriden by implementing classes before use. * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: New AddTrack methods for adding existing tracks from the database to a playlist without reassigning the ParentSource property. * build/build.environment.mk: Nasty hack to include the avahi-sharp bindings at compile time. This should really be optional, but my auto* foo is poor. Good thing we don't enable DAAP by default. :) 2008-04-16 Alexander Hixon * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Patch by Bertrand Lorentz that fixe an NRE when the player engine would be disposed before the TrackInfoDisplay. Fixes BGO #527888. 2008-04-16 Scott Peterson * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs: Use a BorderWidth of 8 for the AnimatedVBox. This adds 8 pixels on all sides. 2008-04-16 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Gui.Theatrics/Choreographer.cs: More accurate easing equations. 2008-04-16 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs: Added support for BorderWidth. Sexeh! * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedWidget.cs: Use QueueRedrawNoResize rather than QueueRedraw. This makes things smoother with Downstage blocking. * src/Libraries/Hyena.Gui/Hyena.Gui.Theatrics/SingleActorStage.cs: Add an overload for Reload which takes a new duration. 2008-04-15 Scott Peterson This patch does two things. First, it cleans up the AnimatedBox classes and improves the spacing logic. Spacing should now behave correctly under all situations. Second, we use Relfection.Emit to compile IL that gets and sets database-bound members to and from the database formats. We were previously using regular old relfection. This puts to rest any concerns about the performance of an attribute-based model design. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Changed to handle generic DatabaseColumn. * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: Made DatabaseColumn classes generic. Generate IL for saving/loading data to database-bound members. * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs: Previously there was a lot of code dup between AnimatedVBox and AnimatedHBox with the only differences being the height/width properties. All size negotiation is now done in the abstract AnimatedBox which has a "horizontal" bool in its protected constructor. * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs: Moved logic into base class. * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedWidget.cs: AnimatedWidgets now have thier own size computation logic. They also have a horizontal bool in the ctor. 2008-04-13 Christopher James Halse Rogers * src/Backends/Banshee.GStreamer/Banshee.GStreamer/AudioCdRipper.cs: Hook up the paranoia-mode logic to the error-correction preference. 2008-04-12 Gabriel Burt This commit adds usable MTP device support. Still no transcoding for any DAPs, but that's next. * src/Backends/Banshee.Hal/Banshee.HalBackend/Device.cs: If usb.serial property exists on the device, use it for the Uuid. Used for matching Mtp devices to the libmtp device list. * src/Clients/Nereid/Nereid/PlayerInterface.cs: * src/Clients/Nereid/Nereid/ViewContainer.cs: Add a disk usage label/progres bar and display it when the source implements IDiskUsageReporter. Also, show the source context menu when the source's title in the view container is right clicked. * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Set the default MediaAttributes to Default. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Add GetTrackIdForUri method, used by Mtp support to associate existing tracks when mtp device entries. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Change CorePrimarySource entries for Library/VideoLibrary to use UniqueId. * src/Backends/Banshee.Hal/Banshee.HalBackend/HardwareManager.cs: * src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs: * src/Core/Banshee.Services/Banshee.Hardware/IHardwareManager.cs: Add GetAllDevices call. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Use UniqueId to identify primary sources, not TypeUniqueId. Add user notify calls when deleting items. And every 10 items added or deleted, refresh. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Use String.Format instead of concat. * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Implement track loading, adding, and deleting. Implement disk usage, and eject, and renaming. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Sources/IDiskUsageReporter.cs: New interface for sources that want disk usage info displayed (eg DAPs). * src/Dap/Banshee.Dap.Mtp/Makefile.am: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpDapTrackInfo.cs: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpTrackInfo.cs: Fixes to property mapping, renamed, added to build. * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: Listen for DapSources being removed by the SourceManager and remove them from the map. Also, when unmapping them, call Dispose on them. * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Override AddChildSourc with warning about how they aren't saved to the device (yet). Add internal Device property. * src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs: Implement IDiskUsageReporter. * src/Libraries/Mtp/Mtp/Track.cs: Style fixes. * Makefile.am: * tests/Makefile.am: Change make test instead of make run-test * tests/Banshee.Core/TaglibReadWriteTests.cs: Add unit tests to make sure Banshee.IO.System and Banshee.IO.Unix read and write tags properly. * src/Backends/Banshee.Unix/Banshee.IO.Unix/DemuxVfs.cs: Fix major bug where writing metadata to file wasn't working in trunk if you were using Banshee.IO.Unix (which most/all people are). 2008-04-11 Aaron Bockover * src/Clients/Nereid/Nereid/PlayerInterface.cs: Do not automatically resize the source view (BGO #527340) 2008-04-11 Aaron Bockover * libbanshee/banshee-gst.c: * libbanshee/banshee-gst.h: Implemented our own logging functions that can call a handler function which is defined in managed code; this allows libbanshee to use the same logging facilities that are available to managed code * src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs: Implement the native logging function and proxy calls to the Hyena logger * libbanshee/banshee-player-private.h: Made the bp_debug macro expand to the new native logging function * src/Libraries/Hyena/Hyena/Log.cs: Made Commit method public * src/Clients/Nereid/Nereid/PlayerInterface.cs: Pack the status label in an EventBox; when the event box is clicked, call CycleStatusFormat on the active source; use the new MainMenu widget instead of fetching it directly from the UI manager * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Implemented CycleStatusFormat and some supporting properties; and two new status formatters for time; added a ConfigurationId property * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/PersistentColumnController.cs: Use the Source.ConfigurationId property * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/MainMenu.cs: Load the main menu from the UI manager and connect the new repeat and shuffle menus * src/Core/Banshee.ThickClient/Banshee.Gui/InterfaceActionService.cs: Split FindAction into a FindActionGroup method * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs: Implemented CreateSubmenu and AttachSubmenu methods * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Add some NRE defenses * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Removed the hardcoded menu entries for shuffle and repeat * src/Extensions/Banshee.NotificationArea/Resources/NotificationAreaMenu.xm: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Added shuffle and repeat menus back to the tray menu 2008-04-11 Gabriel Burt * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Fix IndexOutOfBounds exception. 2008-04-11 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Make sure we don't handle header-related interaction stuff if the header isn't shown. Fixes BGO #527510. 2008-04-11 Sebastian Dröge * build/m4/banshee/gtk-sharp.m4: gconf-sharp is part of gnome-sharp so check for it there and not a second time here. 2008-04-11 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs: Use bools instead of the None enums (previously instituted to eliminate some nullables. * src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs: Got rid of OnRealized OnUnrealized overrides - we don't really need them. * src/Libraries/Hyena.Gui/Hyena.Gui.Theatrics/Choreographer.cs: Got rid of Easing and Blocking.None 2008-04-10 Aaron Bockover Banshee 1.0 Alpha 3 (0.98.3) Released 2008-04-10 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedWidget.cs: Fixed stupid stupid crash. 2008-04-10 Aaron Bockover * NEWS: Updated * configure.ac: Turned off the DEVEL_BUILD flag for the release 2008-04-10 Aaron Bockover * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VideoDisplay.cs: Do /not/ call base.OnRealized because we don't like to crash 2008-04-10 Gabriel Burt * NEWS: Update for 0.98.3 2008-04-10 Scott Peterson * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: We now inherit from Widget and render to the parent GdkWindow and call base.OnRealize (). This fixes BGO #524429. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_DragAndDrop.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: Call base.OnRealize () and inherit from Widget. * src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedWidget.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VideoDisplay.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs: Call base.OnRealize (). 2008-04-10 Aaron Bockover * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdTrackInfo.cs: Added an override for TrackEqual that addresses audio CD track equality 2008-04-10 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs: Refresh when a track info updated event is raised by the player engine; this fixes BGO #524865 2008-04-10 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Fix capitalization of menu items, use 'Last.fm' instead of 'Audioscrobbler'. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Encode url bits. * src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginDialog.cs: Replace Close button with Cancel / Save and Log In buttons. Should fix BGO #525585. * src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginForm.cs: Make Save method public. 2008-04-10 Gabriel Burt * src/Clients/Nereid/Nereid/PlayerInterface.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs: Call Next () instead of First () when source/artist/album activated, so that random works. Fixes BGO #527218. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: Lock around Reload, GetRandom, and this[] to avoid refresh race. Fixes BGO #525031. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Fix bug with double clicking on an item not activating it every other time. 2008-04-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection/TrackListModel.cs: * src/Core/Banshee.Services/Banshee.Collection/MemoryTrackListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: Implement GetRandom method, using SQL for DatabaseTrackListModel. * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Move IncrementPlay/SkipCount logic into public IncrementLastPlayed method. * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: Cann IncrementLastPlayed before getting the next song since that affects the random query method. Fix repeat/restart in linear query. Change QueryTrackRandom to call GetRandom on TrackModel. * src/Core/Banshee.Services/Banshee.PlaybackController/IBasicPlaybackController.cs: * src/Core/Banshee.Services/Banshee.PlaybackController/ICanonicalPlaybackController.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Add restart arg to Previous. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Add GetSingle method that can be passed a condition/order by fragment and returns one item. 2008-04-10 Scott Peterson * src/Clients/Nereid/Nereid/PlayerInterface.cs: Use the fancy new PersistantPanController. FANCY! * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/PersistentColumnController.cs: Got rid of now-unnessisary volatile modifier. * src/Core/Banshee.ThickClient/Banshee.Gui/PersistentPaneController.cs: The PersistentPanController can be used to save/restore the position of a Gtk.Pane automatically. Passing a Gtk.Paned and some schema info to the static Control method will set it up and it will always do the right thing. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Use PeristentPaneController for browser panes. This fixes BGO #522470. * src/Core/Banshee.Core/Banshee.Configuration/SchemaEntry.cs: Since this is a public struct, we do the neighborly thing and impliment IEquatable. I thought I was going to use this but ended up not doing so. Still, it's the right thing to do. 2008-04-10 Scott Peterson * src/Core/Banshee.ThickClient/Banshee.Gui/InterfaceActionService.cs: Added a ViewActions property. * src/Core/Banshee.ThickClient/Banshee.Gui/BaseClientWindow.cs: Handle fullscreen toggling. This fixes BGO #526618. 2008-04-10 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPositiveInt.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: * src/Core/Banshee.ThickClient/Makefile.am: Add Disc column. Fixes BGO #385543. 2008-04-10 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Better vadjustment handling. This fixes BGO #526689. * src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs: Minor, perhaps unessiary, changes. * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedWidget.cs: Use a bool instead of a nullable type. 2008-04-09 Gabriel Burt * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Add information popup if user tries to add track(s) to a playlist from outside its primary source (since not yet implemented). * src/Core/Banshee.Services/Makefile.am: Reorder. * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSource.cs: Set CanAddTracks to false since it doesn't work. 2008-04-09 Gabriel Burt This commit makes adding and deleting from a PrimarySource async, and pops up UserJobs if those operations take very long. Very importantly, it also adds the ability to copy the track model selection so slow running jobs can process it w/o risking it changing on them. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: Handle having no artist or album model gracefully. * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Fixed up Add/Delete methods. * src/Core/Banshee.Services/Banshee.ServiceStack/UserJob.cs: Handle multiple Finish calls gracefully. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: New AddAllTracks method for use by MergeSource method. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Change slow operations to use a new CachedList object instead of iterating over the model's Selection, since it or the model might change underneath us. Add UserJobs for adding/deleting. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Don't raise UserNotifyUpdated if we're the active source. * src/Core/Banshee.Services/Makefile.am: New files * src/Core/Banshee.Services/Banshee.Collection.Database/CachedList.cs: New class that contains a SqliteModelCache, so it's backed by CoreCache and can be used to store info (eg the selected tracks from a source) so they can be operated on independent of the original selection/model. * src/Core/Banshee.Services/Banshee.ServiceStack/BatchUserJob.cs: UserJob convenience subclass. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: Do MergeSource operations in a thread. Should probably be done in PrimarySource. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Whitespace. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Get rid of OnUserNotifyUpdated, this is done in DatabaseSource now. * src/Libraries/Hyena/Hyena.Collections/RangeCollection.cs: Add Count property to Range to avoid doing End - Start + 1 everywhere. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Make work without a Selection. 2008-04-10 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Gui.Theatrics/Choreographer.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs: Avoid using nullable types for some stuffs 2008-04-09 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedWidget.cs: Fixed style attachtment problem which was gave spew when the theme was changed. 2008-04-09 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/StreamPositionLabel.cs: Fix DPI and size request issues * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Use the generic CreateLayout cairo method in CairoExtensions * src/Libraries/Hyena.Gui/Hyena.Gui/CairoExtensions.cs: Moved the CreateLayout method from the list view to this utils class * src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs: Added OnUnrealized 2008-04-09 Aaron Bockover * configure.ac: * build/build.rules.mk: Added a DEVEL_BUILD variable - if set, compiler warnings will be treated as errors. We'll always keep it on except for when we distcheck for a release * build/m4/banshee/gtk-sharp.m4: Require Gtk# 2.10 * data/icon-theme-hicolor/Makefile.am: Copy the app icons to the local uninstalled icon theme 2008-04-09 Aaron Bockover * build/build.rules.mk: * build/m4/banshee/daap.m4: * build/m4/banshee/libbanshee.m4: * build/m4/banshee/mono-zeroconf.m4: * build/m4/shamrock/gstreamer.m4: * configure.ac: Lots of build fixes, disable DAAP and Podcasting by default; only link against core gstreamer libraries and gdk-x11 * libbanshee/banshee-transcoder.c: Remove all GnomeVFS code 2008-04-09 Gabriel Burt * src/Clients/Nereid/Nereid/PlayerInterface.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection/IHasTrackSelection.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Services.mdp: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Rename *ListDatabaseModel to Database*ListModel. 2008-04-09 Aaron Bockover * build/build.environment.mk: * configure.ac: Set up the sample extension in the build * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Added a new TrackIntercept event that allows objects to stop the player engine from opening a trac * src/Extensions/Banshee.Sample/: Set up a quick sample extension to help new developers; it sort of breaks things right now, but I'll fix that soon 2008-04-09 Gabriel Burt * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Fix issue with reloading way too many things when adding tracks to a source. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: Fix issues with the 'New Playlist' that appears when you drag over the source list. It now will appear under any LibrarySource when you hover over it or its children. And it will only expand the LibrarySource when within it, and collapse it when out of it (if it was collapsed to start with). Fixes BGO #410121. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: When items are added to the play queue and the PlayerEngine is not already playing, set us as the playback source. 2008-04-09 Scott Peterson OK, I totally re-did the arrow button stuff. We still don't use the standard Gtk MenuToolButton because I am WAY to cool for it. It like _thought_ it was all cool enough to sit at my lunch table, but I was all like Ut-Uh! So we now use the sufficiently cool and totally custom MenuButton. This sucker is lean, mean, with an emphasis on correctness. No hacky-hacky here. Nosiree. I'd maybe entertain the idea that there's a better way to handle the RepeatActionButton, but I'm seriously fine with it as-is. * src/Clients/Nereid/Nereid/PlayerInterface.cs: Use the new stuff. * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs, * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: Added nice CreateMenu() method which does just what you think. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextArrowButton.cs: * src/Libraries/Hyena.Gui/Hyena.Gui/IRadioActionGroup.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/ArrowButton.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/ActionGroupButton.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/ActionButton.cs: Got rid of these god-aweful classes. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/RepeatActionButton.cs: Redone to use MenuButton. * src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs: This is the lovely new widget. Pass it a widget (like a Button or a MenuButton, for example) and it will menu-fy it! If showArrow is true, a way-pretty arrow will appear to the side of the widget you pass, providing access to the menu. If showArrow is false, the widget you pass will get packed inside the button and clicking anywhere will open the menu. 2008-04-09 Gabriel Burt * build/build.environment.mk: Banshee.Dap.Mtp depends on Mtp library. * src/Backends/Banshee.Hal/Makefile.am: * src/Backends/Banshee.Hal/Banshee.HalBackend/DeviceMediaCapabilities.cs: * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Hardware/IDeviceMediaCapabilities.cs: New files for exposing portable_audio_player properties. * src/Backends/Banshee.Hal/Banshee.HalBackend/Device.cs: * src/Core/Banshee.Services/Banshee.Hardware/IDevice.cs: Add Product, Vendor, and MediaCapabilities properties. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Add copy ctor. * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Add ShuttingDown bool property. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Add CanAddTracks and Merge-related overrides. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Add Dispose method, and override AddTrack/Merge methods. * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Get rid of WriteLine. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Add the ability to add tracks to DAPs. No transcoding yet, and doesn't respect FolderDepth yet. * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: Copy more initialization code over. Still far from usable. * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: Call DapSource.Resolve instead of Initialize. * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Add better defaults. * src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs: Move Dispose method up to PrimarySource. Get rid of Merge/AcceptsInput overrides. * src/Core/Banshee.Services/Banshee.Sources/ITrackModelSource.cs: * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapPlaylistSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Add CanAddTracks property. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: Call base.Dispose (). * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Use updated AddSelectedTracks method. * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: Add GetRawValue method for use in provider's Copy method. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Add Copy method for transferring all db fields (except pk) from one instance to another. 2008-04-09 Mike Urbanski * src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastFeed.cs: Fixes table name clashes on dbs migrated from banshee 0.x. drr... 2008-04-08 Aaron Bockover This commit adds the initial checkin of the new podcasting code by Mike Urbanski. It's rough in many areas around the extension, but it works for the most part. It's very much a WIP, but it's quite awesome. * build/build.environment.mk: * configure.ac: Integrate the Migo and Banshee.Podcasting assemblies into the build * src/Libraries/Migo: Migo is the new library that does all the feed reading and downloading, among other things; it's reusable and not Banshee specific, sort of like Hyena for feed related problems * src/Extensions/Banshee.Podcasting: Banshee.Podcasting is the extension that provides the actual podcast support in Banshee, and uses Migo to do the heavy lifting 2008-04-08 Scott Peterson * src/Extensions/Banshee.NotificationArea/Resources/NotificationAreaMenu.xml: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Got rid of references to old ShuffleAction. 2008-04-08 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Widgets/ActionButton.cs: Fixed stupid NRE error. 2008-04-08 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Widgets/ArrowButton.cs: Cosmetic change. * src/Libraries/Hyena.Gui/Hyena.Widgets/ActionButton.cs: Got rid of some useless checks. There are some cornercases I'm just not prepared to spend the energy to handle properly. 2008-04-08 Scott Peterson * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs: Ctor now takes a PlaybackActions object so that it always has a reference to the next action. * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Move instantiation of the repeat and shuffle actions to after the other actions so that the shuffle action can change the next action's icon. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextArrowButton.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/RepeatActionButton.cs: Set visual style in ctor. * src/Libraries/Hyena.Gui/Hyena.Widgets/ArrowButton.cs: Derives from ActionGroupButton and uses an ActionButton for the "main" button part. Also proxies things like style, relief, &c. to the main ActionButton. * src/Libraries/Hyena.Gui/Hyena.Widgets/ActionGroupButton.cs: Now derives from ActionButton. * src/Libraries/Hyena.Gui/Hyena.Widgets/ActionButton.cs: ActionButton is now the base of custom action-bound buttons. It doesn't do the cool Action.ConnectProxy shit that ToolButton does (because Gtk+ Suxorz Teh Big One!!1!11), but it's pretty close. It also integrates with the style of a Toolbar you pass it. 2008-04-08 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs: Properly calculate the row height based on actual pango layout calculations so that the row height will adapt to DPI changes * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Recalculate the header size when DPI changes 2008-04-07 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Gui/PangoCairoHelper.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Let Cairo know what DPI we're using so text is rendered at the right size, and recalculate the row height on style set in case the DPI changed; fixes BGO #522500, and is completely awesome - I recommend people change their DPI settings while Banshee is running a few times to really take in the awesomeness of this fix. Really. I also added a nicer way for row heights to be queried so renderers can provide their desired heights; it's a better solution than the previous hack, which was not nice. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellTrack.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: Provide row height calculating functions; ColumnCellText's version is static and is referenced by ListView as the default calculator * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TerseTrackListView.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs: Set the renderer row height computing functions to the view 2008-04-07 Gabriel Burt * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: Disable the case-sensitive LIKEs pragma as it was breaking queries. Fixes BGO #526371. 2008-04-07 Gabriel Burt * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: Patch from Michael Monreal adding a disconnect icon. Fixes BGO #526815. 2008-04-07 Gabriel Burt * ChangeLog: Forgot to thank Bertrand two commits ago. * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/AlbumSet.cs: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpDap.cs: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpDapTrackInfo.cs: Copied over from stable, not yet built. 2008-04-07 Gabriel Burt * src/Dap/Banshee.Dap.Mtp/Makefile.am: Don't build unless enabled. 2008-04-07 Gabriel Burt * build/build.environment.mk: Add Mtp and Banshee.Dap.Mtp deps. * build/build.rules.mk: Handle *.config files. * build/m4/banshee/mono-zeroconf.m4: * src/Extensions/Banshee.Daap/Makefile.am: Make Daap support optional, though on by default. Thanks to Bertrand Lorentz for the patch. Fixes BGO #526797. * build/m4/banshee/dap-mtp.m4: * configure.ac: Check for libmtp, and make MTP support optional (currently off by default, enable with --enable-mtp). * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp.addin.xml: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp.mdp: * src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs: * src/Dap/Banshee.Dap.Mtp/Makefile.am: * src/Dap/Dap.mds: * src/Dap/Makefile.am: New skeleton for Mtp device support. * src/Libraries/Libraries.mds: * src/Libraries/Makefile.am: * src/Libraries/Mtp/*: Move libmtp-sharp code over from latest in stable. Reorganize. 2008-04-07 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/ExtensionManagerDialog.cs: Nothing here yet, hopefully I can actually spare some time for it * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: * src/Libraries/Hyena.Gui/Hyena.Gui/ShadingTestWindow.cs: Removed rogue LayoutPath calls, replaced with ShowLayout * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: Did some profiling and switched the text renderer to Cairo since it's actually faster than GTK - this is fucking awesome: Cairo (pango_cairo_show_layout): 0.303 GTK (gtk_paint_layout): 0.369 Cairo (pango_cairo_layout_path): 0.980 This means text is now drawn directly to the cairo context and not to the GdkDrawable, which means we'll be able to cache the rendering to an image surface which supports an alpha channel (unlike GdkPixmap), which will lead to more performance improvements, specifically when dragging * src/Libraries/Hyena.Gui/Hyena.Gui/PangoCairoHelper.cs: Added a contract argument to LayoutPath that conveys it has crappy performance 2008-04-07 Scott Peterson * src/Clients/Nereid/Nereid/PlayerInterface.cs: Pack in the NextArrowButton. * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackShuffleActions.cs: Adds all of the shuffle action definitions. * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Use new shuffle actions. * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: Replaced if/elses with a cast of the action value to the enum type. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextArrowButton.cs: The next button now has a drop-down menu to select the shuffle setting. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/RepeatActionButton.cs: Moved all of the logic into Hyena.Widgets.ActionButton. * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Added new shuffle actions to the menu, replace the old next button with a placeholder for the fancy new one. * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackShuffleMode.cs: Added values for shuffling by song, artist, album. * src/Libraries/Hyena.Gui/Hyena.Gui/IRadioActionGroup.cs: An interface we seem to need until someone comes up with a more creative solution. * src/Libraries/Hyena.Gui/Hyena.Widgets/ArrowButton.cs: This widget visually works just the Firefox 2 forward/back buttons. There is a main button which is tied to the active action and an arrow to the right side. Clicking the arrow brings up a menu of the actions in the IRadioActionGroup. * src/Libraries/Hyena.Gui/Hyena.Widgets/ActionButton.cs: An ActionButton is a button which pops up a menu when you click on it. It is tied to an IRadioActionGroup. 2008-04-07 Gabriel Burt * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: Remove unnecessary Reload calls and method/property overrides. 2008-04-07 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Save the original IconName for an action within UpdateAction, like we do for labels, so we can restore it when we switch to a source that doesn't override it. * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Use IconName instead of the StockId so icons can be overridden. 2008-04-07 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs: Add force_copy protected bool that we pass to CopyToLibraryIfAppropriate. Used when importing DAPs to force copy to library. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Rename CopyToLibrary method, and add bool arg that forces it to copy the track, even if the user's preference is not to do so. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Fix up ImportSourceAction so it's now functional. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Avoid spawning unnecessary thread. Fix bug with accessing the BaseDirectory; cache the Hal.Device's mount point property. Implement IImportSource, so can now import MassStorageSources from the Media -> Import menu and via its context menu (dnd to come). * src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs: Implement most of IImportSource. 2008-04-07 Alexander Hixon * src/Extensions/Banshee.Daap/Banshee.Daap/DaapService.cs: Only show the DAAP container source if we actually have any shares available, otherwise don't spam the source list. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapPlaylistSource.cs: Make sure elements are actually in the list before we do any operations on them. 2008-04-07 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Fix love/ban icons. * src/Libraries/Lastfm/Lastfm/RadioConnection.cs: Remove unnecessary logging, log exceptions with Log.Exception (e). 2008-04-06 Aaron Bockover This commit functionally complete ripping. Ripped albums will now show up in the library with all the metadata properly stored and organized. There are now only a few things to polish regarding ripping. * libbanshee/banshee-ripper.c: Removed a bad unref call - the pipeline should only be unreffed when destroying it * src/Backends/Banshee.GStreamer/Banshee.GStreamer/TagList.cs: Merge release date, and musicbrainz ID properties into the tag list * src/Core/Banshee.Core/Banshee.Collection/AlbumInfo.cs: Added Release Date and MusicBrainzId properties * src/Core/Banshee.Core/Banshee.Collection/ArtistInfo.cs: * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Added MusicBrainzId properties * src/Core/Banshee.Core/Banshee.Streaming/CommonTags.cs: Added GStreamer tag names for MusicBrainz * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Bind MusicBrainzId properties to respective database columns so these are now stored/loaded properly * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs: Support saving a lot of extra information from MusicBrainz and properly create the album, artist, and album artist records * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Save the track, artist, and album artist records into the database when a track finishes ripping * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdTrackInfo.cs: Extend DatabaseTrackInfo and persist artist, album, and album artist objects on the track which can be saved to the database when ripped 2008-04-06 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistInfo.cs: Make sure to load all columns in FindOrCreate methods. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs: * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Change PrimarySourceIds to a int []. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Fix bug in ContainsUri method. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: Add support for Arrays as query values (for use in "IN (?)" conditions). * tests/Hyena/SqliteCommandTests.cs: Test array support. 2008-04-06 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistInfo.cs: Add UpdateOrCreate methods that will overwrite an artist/album if it already exists, otherwise will just save the new one. * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Change Edit Track Metadata to Edit Track Information in pursuit of user-friendliness. Thanks to Chris Lord for the suggestion. 2008-04-06 Gabriel Burt This patch extends the relative-Uri goodness we use for Library tracks to any PrimarySource's tracks, meaning if your DAP has one mount point one time, and another the next, we'll detect the songs that are already in the database since we now check against the relative Uri. Also, delete from MassStorage sources is working. * src/Core/Banshee.Core/Banshee.IO/IFile.cs: * src/Core/Banshee.Core/Banshee.IO/File.cs: * src/Core/Banshee.Core/Banshee.IO.SystemIO/File.cs: * src/Backends/Banshee.Unix/Banshee.IO.Unix/File.cs: Add Copy method. * src/Core/Banshee.Core/Banshee.Base/Paths.cs: Factory MakePathRelative out, not-library specific. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs: Add a couple virtual properties for making the relative-Uri stuff PrimarySource agnostic. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Make the process of making a Uri relative and reconstructing it from the relative path saved in the db generic so it can be used by other PrimarySources. Scope ContainsUri method to one or more primary sources, since it's fine if a track is on a DAP and in the library. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Add methods for making the Uri of a track relative (if possible). Add default DeleteTrackRange implementation pulled from LibrarySource, but make it call a virtual DeleteTrack method that each PrimarySource can implement. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: Override DeleteTrack method to delete files from disk. * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Don't show the context menu at all if it has no visible items. Fix crasher with the playlist menu b/c of recent icon changes. * tests/Makefile.am: * tests/Banshee.Core/TaglibReadWriteTests.cs: Test our read/write tags to file code. Commented out b/c abock doesn't want the 390KB of music files in svn. * tests/Hyena/QueryTests.cs: Changes to AssertForEach method. 2008-04-06 Aaron Bockover * libbanshee/banshee-gst.c: Added banshee_is_debugging and banshee_get_version_number functions; gstreamer_initialize now takes a debugging argument that banshee_is_debugging will return * libbanshee/banshee-ripper.c: Save the GstTagList that is passed to the rip function to the encoder element; fixed bug with setting the encoder version tag * libbanshee/banshee-tagger.c: Added bt_tag_list_add_date and bt_tag_list_dump, which will dump the entire contents of a GstTagList for debugging purposes * src/Backends/Banshee.GStreamer/Banshee.GStreamer/AudioCdRipper.cs: Delete a ripped file if the file was not finished * src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs: Pass the debug mode to libbanshee * src/Backends/Banshee.GStreamer/Banshee.GStreamer/TagList.cs: Added AddDate and AddYear functions, binding bt_tag_list_add_date * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs: Read the disc number and release date from musicbrainz and set it on the disc tracks so this information will be written to the output files 2008-04-06 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: Fixed column separator height 2008-04-06 Aaron Bockover * build/build.rules.mk: Fixed up the new private icon theme rules so the icons get 'installed' when building, installing, and uninstalling; this should fix the missing icon issues now when you run banshee installed * build/private-icon-theme-installer: A script for installing and uninstalling the private icon theme files * src/Extensions/Makefile.am: Enabled DAAP again, halex says it won't ruin the database now 2008-04-06 Aaron Bockover * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: Fixed the icon sizing issue hopefully once and for all - still the same proper result but without the invalid size warning 2008-04-06 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/RepeatActionButton.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: Fixed some more icon theme issues relating to switching a lot of stuff from stock icons to theme icons * src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerLevelsBox.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/DiscUsageDisplay.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs: Updated to use some of the drawing utilites that moved into Hyena.Gui * src/Core/Banshee.Widgets/Banshee.Widgets/ActionButton.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/CoverArtThumbnail.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/CoverArtView.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/DrawingUtilities.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/EllipsizeLabel.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/FadingAlignment.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/LinearProgress.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/MultiStateToggleButton.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/RadialProgress.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/ShadowContainer.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/SimpleNotebook.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/ToggleState.cs: Deleted these legacy widgets, hooray for bloat cut 2008-04-06 Aaron Bockover * libbanshee/banshee-ripper.c: More cleanup and refactoring, it's mostly working but tags are not yet saved since I changed the way we do tagging and I'm not done * libbanshee/banshee-tagger.c: Basically this API provides a 1:1 with the GstTagList API and exists to make managed interop easier * src/Backends/Banshee.GStreamer/Banshee.GStreamer/TagList.cs: A wrapper and utility class around GstTagList that converts TrackInfo objects into GstTagList objects that can be passed directly to a GStreamer element that supports tagging * src/Backends/Banshee.GStreamer/Banshee.GStreamer/AudioCdRipper.cs: Wrote most of the ripper stuff - it works, but there are quirks not yet solved - it's not completely done * src/Core/Banshee.Services/Banshee.MediaEngine/IAudioCdRipper.cs: * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Updated some interface members 2008-04-05 Scott Peterson * src/Libraries/MusicBrainz/*: Synced w/ MB# 2008-04-05 Scott Peterson * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs: Got rid of unnessisary null checks. 2008-04-05 Scott Peterson * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs: Got rid of now unnessiary work around and use new Query overload. * src/Libraries/MusicBrainz/MusicBrainz/MusicBrainzObject.cs: * src/Libraries/MusicBrainz/MusicBrainz/Relation.cs: * src/Libraries/MusicBrainz/MusicBrainz/Label.cs: * src/Libraries/MusicBrainz/MusicBrainz/Release.cs: * src/Libraries/MusicBrainz/MusicBrainz/Event.cs: * src/Libraries/MusicBrainz/MusicBrainz/Disc.cs: * src/Libraries/MusicBrainz/MusicBrainz/MusicBrainzEntity.cs: * src/Libraries/MusicBrainz/MusicBrainz/XmlRequestEventArgs.cs: * src/Libraries/MusicBrainz/MusicBrainz/LocalDisc.cs: * src/Libraries/MusicBrainz/MusicBrainz/Utils.cs: * src/Libraries/MusicBrainz/MusicBrainz/DiscLinux.cs: * src/Libraries/MusicBrainz/MusicBrainz/Track.cs: * src/Libraries/MusicBrainz/MusicBrainz/MusicBrainzItem.cs: * src/Libraries/MusicBrainz/MusicBrainz/Query.cs: * src/Libraries/MusicBrainz/MusicBrainz/MusicBrainzException.cs: src/Libraries/MusicBrainz/MusicBrainz/DiscWin32.cs: * src/Libraries/MusicBrainz/MusicBrainz/Artist.cs: * src/Libraries/MusicBrainz/MusicBrainz/MusicBrainzService.cs: Synced MusicBrainz# code. 2008-04-05 Scott Peterson * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Reverted last change - it apparently borks migration :( 2008-04-05 Scott Peterson * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Minor SQL improvement when getting the count of items in an unfiltered model. 2008-04-05 Alexander Hixon * src/Extensions/Banshee.Daap/Banshee.Daap/DaapPlaylistSource.cs: Small woops. 2008-04-05 Alexander Hixon * src/Extensions/Banshee.Daap/Daap/ServiceLocator.cs: Try to resolve all possible addresses for the first resolved hostname if it gives us an IPv6 address. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapPlaylistSource.cs: Child playlist source for DAAP sources. Uses DaapTrackInfo from parent source to populate trackmodel. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: Create playlist sources if the DAAP share provides any. Also hookup different icons for protected/unprotected shares. Now also handles the remote removing tracks from the share and updating our local view to reflect changes. 2008-04-04 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmTrackInfo.cs: Whoops, I had Alex only scrobble TrackInfos with the Music attribute, but I forgot Last.fm radio tracks didn't. Fixes BGO #525464. 2008-04-04 Aaron Bockover * libbanshee/banshee-ripper.c: Renamed and new API akin to what I did for the player engine; started cleaning up the code, but not finished * libbanshee/gst-cd-rip.h: * libbanshee/gst-misc.h: Removed, not needed * libbanshee/gst-transcode-0.10.c: Fixed bloated ctor and removed dead code 2008-04-03 Aaron Bockover * src/Backends/Banshee.GStreamer/Banshee.GStreamer/AudioCdRipper.cs: Get the cd importing profile and generate the pipeline for the encoder * src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs: Ported the GStreamer media profile process stuff, including the SExpEngine extensions/GStreamer binding, fully enabling GStreamer media profiles * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Cleaned up * src/Libraries/Hyena/Hyena.SExpEngine/EvaluatorBase.cs: Minor API fix 2008-04-03 Gabriel Burt * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Only load volumes that have a .is_audio_player file. For now. 2008-04-03 Gabriel Burt * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: When the Play Queue is initialized, if it has tracks and the PlayerEngine is not already playing, set it as the playback source. 2008-04-03 Aaron Bockover * build/build.rules.mk: * data/audio-profiles/Makefile.am: Changed the uninstall data directory layout inside of bin/; copy audio profiles as well so they'll work bundled or uninstalled * src/Core/Banshee.Core/Banshee.Base/ApplicationContext.cs: Minor fixes * src/Core/Banshee.Core/Banshee.Base/Paths.cs: Fixed up the code to detect what to use as 'datadir' - if there is a share directory in the directory that contains the entry assembly, we will use that directory as the installation prefix which means external datadir files will work when running uninstalled or if bundled, like we'll ship on Windows; otherwise the proper prefix is calculated (i.e. /usr) * src/Core/Banshee.Services/Banshee.MediaProfiles: * src/Core/Banshee.ThickClient/Banshee.MediaProfiles.Gui: Renamed from Banshee.AudioProfiles* since one day we'll support video profiles as well * src/Core/Banshee.Services/Banshee.MediaProfiles/MediaProfileManager.cs: Fix up the profile loading/path code so profiles actually load now * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/PreferencesDialog.cs: Reflect the API * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeIconFactory.cs: Use the new datadir detection path * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Stubbbbs 2008-04-03 Gabriel Burt This patch adds back the extension code from DapCore and completes the separation of the MassStorage support from the DapService. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: * src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs: * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Provide a way for Sources to be lazily initialized with a protected virtual Initialize method that each subclass overrides, calling base and then its own intialization. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Rename Initialize method so doesn't conflict with above. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage.addin.xml: Extend the DeviceClass node. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Lazily intialize, after its seen that the Initialize (IDevice) will succeed. * src/Dap/Banshee.Dap/Makefile.am: * src/Dap/Banshee.Dap.MassStorage/Makefile.am: Fix build. * src/Dap/Banshee.Dap/Banshee.Dap.addin.xml: Define DeviceClass extension point, from DapCore. * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: When new DAP DeviceClasses are loaded, check existing devices to see if they are now supported. * src/Makefile.am: Add Dap back to the build. 2008-04-03 Aaron Bockover * src/Core/Banshee.Services/Banshee.MediaEngine/IAudioCdRipper.cs: * src/Backends/Banshee.GStreamer/Banshee.GStreamer/AudioCdRipper.cs: Added error reporting * src/Backends/Banshee.Hal/Banshee.HalBackend/CdromDevice.cs: * src/Core/Banshee.Services/Banshee.Hardware/ICdromDevice.cs: * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs: Added drive door locking support * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Handle errors and dispose better; lock and unlock the drive door * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Better error handling and do not allow ejecting if the door is locked 2008-04-03 Gabriel Burt Almost done with move. Banshee.Dap* not in build yet. * build/build.environment.mk: * configure.ac: Add Banshee.Dap setup. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/DapService.cs: * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/DapSource.cs: * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/RemovableSource.cs: * src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs: * src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: * src/Dap/Banshee.Dap/Banshee.Dap/RemovableSource.cs: Moved. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage.mdp: * src/Dap/Banshee.Dap.MassStorage/Makefile.am: Removed the above files. * src/Dap/Banshee.Dap/Banshee.Dap.addin.xml: * src/Dap/Banshee.Dap/Banshee.Dap.mdp: * src/Dap/Banshee.Dap/Makefile.am: New files for Banshee.Dap. * src/Dap/Dap.mds: * src/Dap/Makefile.am: Add Banshee.Dap. * src/Extensions/Extensions.mds: * src/Extensions/Makefile.am: Remove the Dap.MassStorage extension entries. 2008-04-03 Gabriel Burt * src/Extensions/Banshee.Dap.MassStorage/*: * src/Dap/Banshee.Dap.MassStorage/*: Move from Extensions to Dap. 2008-04-03 Gabriel Burt * src/Dap/*: Remove obsolete code. 2008-04-03 Aaron Bockover * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Implemented all of the rip queue/interaction logic and user job stuff; very nice and pretty status reporting including speed calculations; this part of the ripper is mostly done, only need to do the GStreamer work now * src/Backends/Banshee.GStreamer/Banshee.GStreamer/AudioCdRipper.cs: Implemented a dummy ripper that pretends to be ripping but is really just some fancy clock work so I could have something to test the extension ripper code as I went without destroying my drive * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Added UnlockAllTracks * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdTrackInfo.cs: Added RipEnabled property that we'll connect to check boxes at some point * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: Force the icon size to 22px so it doesn't look funny - the image was choosing a 16px icon which looked like ass and didn't fit in 2008-04-03 Aaron Bockover * src/Core/Banshee.Services/Banshee.Collection/ImportManager.cs: * src/Core/Banshee.Services/Banshee.ServiceStack/UserJob.cs: * src/Core/Banshee.Services/Banshee.ServiceStack/TestUserJob.cs: * src/Core/Banshee.Services/Banshee.ServiceStack/InterfaceAction.cs: * src/Core/Banshee.Services/Banshee.ServiceStack/IUserJob.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTile.cs: Removed the Name property from UserJob as it's a bit redundant and annoying * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Set the IconName property instead of StockId * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeIconFactory.cs: Removed a ton of legacy code to load theme and resource icons into the icon theme and stock icon set; support loading of a custom proper icon theme from disk; no more resources - much easier to maintain and properly flexible * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationType.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Updated to use theme icons * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Stubbed the user job stuff * build/build.rules.mk: Copy theme icons into a proper private icon theme that will work when running uninstalled 2008-04-03 Gabriel Burt * src/Backends/Banshee.Hal/Banshee.HalBackend/Device.cs: Bring a function for getting the best name for a Hal.Device over from stable. * src/Extensions/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/RemovableSource.cs: Add BytesUsed, BytesCapacity, and StorageUsageFraction properties. * src/Extensions/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: Implement BytesUsed, BytesCapacity. 2008-04-03 Gabriel Burt * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Avoid NRE when loading dependents of smart playlist. 2008-04-03 Gabriel Burt * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Playlists and smart playlsits loaded by each PrimarySource now. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: When loaded, load our playlists and smart playlists. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: In AddChildSource check that we don't already have this child. * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Hide the Remove and Delete actions unless CanRemove/Delete true. Previously just set them insensitive. * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Add RemovableSource context menu. * src/Extensions/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/RemovableSource.cs: Set the context menu action path property. On dispose, clear children. And don't allow removing tracks (delete only). Add Merge* foo from PlaylistSource, but not really hooked up yet. * src/Extensions/Banshee.Dap.MassStorage/Makefile.am: MD sorted. 2008-04-03 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnHeaderCellText.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Explicitly set TextAsForeground as necessary when entering the header and row drawing methods since now we use a single cell context object; fixes regression where lists with headers had all cell text drawn using the foreground color, not the foreground color for the header and the text color for the rows 2008-04-03 Gabriel Burt This patch adds the first support for DAPs to trunk. It currently only support loading the songs/videos on a USB drive, but synching, adding, removing, transcoding etc are not implemented yet. * configure.ac: * build/build.environment.mk: * src/Extensions/Makefile.am: * src/Extensions/Extensions.mds: Add Banshee.Dap.MassStorage * src/Backends/Banshee.Hal/Banshee.HalBackend/Device.cs: Make Uuid virtual and HalDevice internal. * src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs: Do not treat unmounted volumes as existing - intead, wait for them to be mounted and then notify they've been added. * src/Backends/Banshee.Hal/Banshee.HalBackend/HardwareManager.cs: Make method internal so Volume can access them. * src/Core/Banshee.Services/Banshee.Collection/ImportManager.cs: Add property to keep the user job hidden, used by MassStorageSource when loading its tracks. * src/Backends/Banshee.Hal/Banshee.HalBackend/BlockDevice.cs: * src/Core/Banshee.Services/Banshee.Hardware/IBlockDevice.cs: Add IsRemovable property. * src/Core/Banshee.Services/Banshee.Hardware/IVolume.cs: Remove IsMounted property, rename IsMountedReadOnly to IsReadOnly, and add ShouldIgnore and FileSystem properites. * src/Core/Banshee.Services/Banshee.Library/MusicLibrarySource.cs: Authors. * src/Core/Banshee.Services/Banshee.PlayerMigration/AmarokPlayerImportSource.cs: Call renamed ImportTrack method. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Lazy initialize the ErrorSource. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Factor most everythign out into DatabaseImportManager so can be reused for all sorts of disk-based primary sources. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs: Take most methods from LibraryImportManager, allow setting the ErrorSource and the method that chooses what primary source to put a DatabaseTrackInfo into. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Add SetStatus that gives access to every detail of the StatusMessage. * src/Extensions/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage.addin.xml: * src/Extensions/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage.mdp: * src/Extensions/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/DapService.cs: * src/Extensions/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/DapSource.cs: * src/Extensions/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs: * src/Extensions/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/RemovableSource.cs: * src/Extensions/Banshee.Dap.MassStorage/Makefile.am: New extension, first pass at loading disk-based volumes. Currently only loads usb mass storage drives. Adding and deleting tracks on these drives is not yet tested. * src/Libraries/Hyena/Hyena.Data/PropertyStore.cs: Handle set value == null. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs: Add todo for artist/browser context menu. 2008-04-03 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Instantiate the CellContext on realization. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Use one CellContext all the time, just changing properties when we need to. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/CellContext.cs: Made all properties settable and got rid of fancy constructor. * src/Libraries/Hyena.Gui/Hyena.Widgets/SmoothScrolledWindow.cs: Made slightly better. 2008-04-02 Gabriel Burt * src/Libraries/Hyena/Hyena.Query/QueryField.cs: Fix issue with searching and NULL values, eg "a not like '%a%'" would not match NULL values. 2008-04-02 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Widgets/SmoothScrolledWindow.cs: More better. 2008-04-02 Scott Peterson You can now pass --debug-sql to get a full log of all SQL commands executed. * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: Listen to Executing event and log the command text if we're debugging the SQL. * src/Core/Banshee.Core/Banshee.Base/ApplicationContext.cs: We're also debugging if --debug-sql was passed. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: Raise HyenaSqliteConnection.Executing event. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: Added Executing event. 2008-04-02 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Widgets/SmoothScrolledWindow.cs: Removed max velocity limit. 2008-04-02 Aaron Bockover * libbanshee/banshee-player.c: Implement better null/pause state selection when handling a playback stop request; always go to NULL if the caller requests it, but override PAUSED requests with NULL if the playing resource is not CDDA * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Allow Close callers to force the NULL state (e.g. release all resources forcefully so ejecting media can happen cleanly, for instance) * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Stubbed some more stuff out, still not working (ripping); ejecting while playing works again 2008-04-02 Scott Peterson This adds experimental smooth scrolling. The behavior still needs to be tweaked, and comments/opinions are welcome. To enable smooth scrolling, run banshee with the command line argument --smooth-scroll. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedWidget.cs: * src/Libraries/Hyena.Gui/Hyena.Gui.Theatrics/Choreographer.cs: Fixed some namespace stuff. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Use smooth scrolling if --smooth-scroll command argument is passed. * src/Libraries/Hyena.Gui/Hyena.Widgets/SmoothScrolledWindow.cs: A first-pass smooth scrolling widget. 2008-04-02 Sebastian Dröge * src/Extensions/Makefile.am: Include the Daap extension here too. 2008-04-02 Sebastian Dröge * src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs: * src/Core/Banshee.Core/Banshee.Base/SafeUri.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/RadialProgress.cs: DllImport libglib-2.0.so.0 and libgdk-x11-2.0.so.0 instead of libglib-2.0.so and libgdk-x11-2.0.so as the latter are only in the development packages for many distributions. 2008-04-01 Aaron Bockover * src/Backends/Banshee.GStreamer/Banshee.GStreamer/AudioCdRipper.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/IAudioCdRipper.cs: More stubbing, no real glory yet 2008-04-01 Aaron Bockover * src/Backends/Banshee.GStreamer/Banshee.GStreamer.addin.xml: * src/Backends/Banshee.GStreamer/Banshee.GStreamer/AudioCdRipper.cs: Stub an implementation of IAudioCdRipper and expose it as an extension * src/Core/Banshee.Services/Banshee.MediaEngine/IAudioCdRipper.cs: Interface for implementing an audio CD ripping engine * src/Core/Banshee.Services/Banshee.Services.addin.xml: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Added the AudioCdRipper extension point, rename the PlayerEngine extenion point so that there is a common parent node in the path * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Log extension exceptions * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeIconFactory.cs: Make AddResourceToIconSet public * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdRipper.cs: Stubbed an implementation of the AudioCdRipper (engine agnostic) * src/Extensions/Banshee.AudioCd/Resources/ActiveSourceUI.xml: * src/Extensions/Banshee.AudioCd/Resources/GlobalUI.xml: * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Implement the UI actions for duplicating and ripping CDs 2008-04-01 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Disable actions that require a playing track when there is none. In restart song action, check that the track is not null. * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: * src/Extensions/Banshee.NotificationArea/Resources/NotificationAreaMenu.xml: Change the Music menu to the Media menu. 2008-04-01 Scott Peterson This fixes BGO #525453 * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Set the indicator column's min and max width to 30. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/Column.cs: Add constructor that takes min and max width (we need C# 3! Object initialization FTW). * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Added support for MaxWidth. Some scenearios are still not supported but I'll get the corner cases later. 2008-04-01 Gabriel Burt * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Fix bug where newly migrated databases kept refreshing metadata each time Banshee started. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Fix bug with assuming the column cache has > 0 items in it. Fixes BGO #525598. 2008-04-01 Alexander Hixon * src/Extensions/Banshee.Daap/Daap/ServiceLocator.cs: Use Generics instead of Hashtable. Use IPv4 addresses where available, but still provide fallbacks to whatever we first got if we didn't get any other alternatives. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapService.cs: Update from changes in ServiceLocator, since we get OnServiceAdded multiple times now. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: Spit out a warning dialog if we fail to connect. Hookup the TrackAdded callback, and stubbed out TrackRemoved. Implement IImportSource (doesn't do much yet). 2008-04-01 Alexander Hixon * src/Extensions/Banshee.Daap/Daap/ServiceLocator.cs: Slightly better workaround for IPv6 addresses (that is, only listen for IPv4 addresses). * src/Extensions/Banshee.Daap/Banshee.Daap/DaapContainerSource.cs: Remove commented Add/RemoveChildSource and Count overrides. 2008-04-01 Alexander Hixon * src/Extensions/Extensions.mds: * src/Extensions/Banshee.Daap/Banshee.Daap.mdp: Add the DAAP extension to the Extensions solution, and add new files. * src/Extensions/Banshee.Daap/Daap/ServiceLocator.cs: Workaround for bug in Mono where we can't correctly work with IPv6 addresses. * src/Extensions/Banshee.Daap/Makefile.am: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: Add Unmap support, remove hacky Client connecting code, remove tracks from DB once we're finished with them, cleaned up status messages, and use new classes. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapLoginDialog.cs: Port login dialog from stable. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapTrackInfo.cs: Move DAAP.Track to TrackInfo logic out into seperate class that inherits from DatabaseTrackInfo. * src/Core/Banshee.Core/Banshee.Base/Paths.cs: Check to see if the path passed was null or empty before performing path operations. * build/build.environment.mk: Depend on ThickClient, not just Services. 2008-03-31 Gabriel Burt * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Sources/ErrorSource.cs: * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapContainerSource.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: Change the default for CanSearch and CanRename to false, and add a virtual Count implementation that returns 0. Less cruft for many subclasses to implement. * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Don't show the menu unless it has > 0 visible items. 2008-03-31 Aaron Bockover * libbanshee/banshee-player-cdda.c: * libbanshee/banshee-player-cdda.h: * libbanshee/banshee-player-equalizer.c: * libbanshee/banshee-player-missing-elements.c: * libbanshee/banshee-player-missing-elements.h: * libbanshee/banshee-player-pipeline.c: * libbanshee/banshee-player-pipeline.h: * libbanshee/banshee-player-private.h: * libbanshee/banshee-player-video.h: * libbanshee/banshee-player.c: * libbanshee/banshee-player.h: Hopefully the last big round of changes to the player engine; moved the main pipeline and equalizer code into separate modules so banshee-player is basically just the p/invokable 'public' API and doesn't contain much logic at all * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: Updated to reflect API changes in libbanshee 2008-03-31 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Handle Title/Name being null in *Lowered getter. Fixes BGO #525448. 2008-03-31 Gabriel Burt * src/Libraries/Hyena/Hyena.Query/DateQueryValue.cs: * src/Libraries/Hyena/Hyena.Query/IntegerQueryValue.cs: * src/Libraries/Hyena/Hyena.Query/RelativeTimeSpanQueryValue.cs: * src/Libraries/Hyena/Hyena.Query/TimeSpanQueryValue.cs: Pass InvariantCulture in ToString calls, though probably not too necessary for ints and strings. * tests/Makefile.am: * tests/Hyena/QueryTests.cs: New tests for query parsing etc. Currently failing to round trip a couple user queries. 2008-03-31 Gabriel Burt * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: Make sure to create the SQL with culturally invariant string formatting. Fixes BGO #524871. * tests/Hyena/SqliteCommandTests.cs: Test HyenaSqliteCommand in many ways, including testing for the above bug. * tests/Makefile.am: Set to run in it_IT so we can check for cultural issues. 2008-03-31 Aaron Bockover * libbanshee/banshee-player.c: * libbanshee/banshee-player.h: * libbanshee/banshee-player-video.c: * libbanshee/banshee-player-video.h: Split out video related code into a separate module * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: Updated to reflect changes in libbanshee * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Make the engine service IDisposable and dispose of its child engines 2008-03-31 Aaron Bockover * libbanshee/banshee-player.c: * libbanshee/banshee-player.h: * libbanshee/banshee-player-missing-elements.c: * libbanshee/banshee-player-missing-elements.h: Moved code that handles missing plugins/plugin installation into a separate module 2008-03-31 Gabriel Burt * src/Core/Banshee.Core/Banshee.IO/Utilities.cs: Uncomment DeleteFileTrimmingParentDirectories method, fixes BGO #524914. 2008-03-31 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Before incrementing play/skip count, Refresh the track so we don't overwrite any changes that have been made since it started playing. Fixes BGO #525061. * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Remove debug WriteLine. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Add Refresh method that takes an object and reloads its data from the database. 2008-03-31 Gabriel Burt * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: Only pulse Now Playing if the new item is a video and we're not auto switching to Now Playing. 2008-03-31 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Move SetStatus and HideStatus methods here from StationSource since they are generally useful. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Use Source's SetStatus and HideStatus methods, and move the account button status code into a static method on LastfmSource. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Set the status when not connected. 2008-03-31 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/Source.cs: When one of our SourceMessages is updated, notify the message bar. Fixes bug where the message bar didn't update with new icon/text etc. * src/Core/Banshee.Services/Banshee.Sources/SourceMessage.cs: Get rid of unnecessary Interlocked calls. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Add check for whether personal station is for this user, and if so, don't load for non-subscribers. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationType.cs: Don't set the personal station type as subscriber-only - this was my misunderstanding; non-subscribers can have personal stations for any user but themselves. 2008-03-31 Sebastian Dröge * build/m4/banshee/daap.m4: Remove old, obsolete file. 2008-03-31 Gabriel Burt * src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: Fix up some style issues on the last.fm data screen. Still have white fonts on darkilouche when should be black. 2008-03-31 Aaron Bockover * build/build.environment.mk: * src/Extensions/Banshee.Daap/Makefile.am: * src/Extensions/Extensions.mds: * src/Extensions/Makefile.am: Enable the DAAP extension in the build 2008-03-31 Sebastian Dröge * build/m4/banshee/mono-zeroconf.m4: * configure.ac: * src/Extensions/Banshee.Daap/Makefile.am: Add autotools magic to build the Daap extension. It's still not built by default yet. 2008-03-31 Aaron Bockover * libbanshee/banshee-player-cdda.h: Split out all of the special code for handling CDDA nicely into a separate easy to maintain file; fixes some CDDA bugs and is documented so I don't forget why I wrote half this crap again * libbanshee/banshee-player.c: Renamed a lot of stuff to be less confusing with actual GStreamer API, uses bp_ function prefix and BansheePlayer prefix for structs and callbacks * libbanshee/banshee-player.h: Split out some stuff to a proper header file even though it should never be used outside of p/invoke from managed * libbanshee/gst-tagger.c: * libbanshee/gst-tagger.h: Nuked, this code has never actually been used since we use a fully managed tagging solution (TagLibg#) - it's just been library bloat for a couple of years - awesome * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: Updated to call into the new bp_ functions 2008-03-31 Scott Peterson * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/PersistentColumnController.cs: Queue saving of column widths. * src/Libraries/Hyena/Hyena.Data/ColumnDescription.cs: Added a WidthChanged event. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnHeaderCellText.cs: Better MinWidth math. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/Column.cs: Formatting fixes. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnController.cs: Seperate reaction to width changes from visibility changes. Get rid of QueueUpdate since it is no longer used. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_DragAndDrop.cs: Abstracted out the drag scroll stuff so that it can be used for both the hadjustment and vadjustment. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Call new column resize methods when nessisary. Moved canvas generation into its own method so that it can be done after column resizing. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Loads of fun stuff. Columns now never get smaller than their minimum size. All availible width is used, and when there is no more room, we have an hadjustment. Lots of math to make sure that columns maintain their reletive sizes for as long as possible. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Take the hadjustment into account when rendering. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Added horizontal adjustment. Abstracted some of the OnMotionNotifyEvent stuff so we can send synthetic motion events when the list is automatically scrolling horizontally, but the mouse is not moving. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: Use new UpdateAdjustments override. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: Use virtual property rather than private field for ellipsize mode. 2008-03-30 Aaron Bockover * build/m4/banshee/gstreamer.m4: Link against CDDA base library * libbanshee/: Starting to reorganize some things, added an MD project * src/Libraries/MusicBrainz/MusicBrainz/MusicBrainzItem.cs: * src/Libraries/MusicBrainz/MusicBrainz/Release.cs: * src/Libraries/MusicBrainz/MusicBrainz/Track.cs: Fix synced from main repository 2008-03-30 Gabriel Burt This commit adds Jump to Playing support, and hides the search box for sources that can't be search. * Makefile.am: Add make test target. * src/Clients/Nereid/Nereid/ViewContainer.cs: Keep the visibility of the search entry tied to whether its sensitive (eg hide if !source.CanSearch). * src/Clients/Nereid/Nereid/PlayerInterface.cs: When changing the active source is changed, if the view used implements the new ITrackModelSourceContents interface, set some properties on the source itself linking ith with the Track/Artist/Album views. * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Be even more defensive when setting the active source. * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Add Jump to Playing Song/Video action. * src/Core/Banshee.ThickClient/Makefile.am: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ITrackModelSourceContents.cs: New interface for source contents that have track, artist, and album IListViews. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Implement ITrackModelSourceContents. * src/Libraries/Hyena.Gui/Makefile.am: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/IListView.cs: New interface that ListView implements. Will allow us to implement alternative views for track/artist/albums but still have some sharing functionality (like jump to playing track). * src/Libraries/Hyena.Gui/Hyena.Data.Gui/Column.cs: Fix newlines. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView.cs: Implement IListView. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Change ScrollToRow to ScrollTo, and add CenterOn method (both implementing IListView). * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: Use CenterOn method instead of implementing it here too. 2008-03-30 Alexander Hixon * src/Extensions/Banshee.Daap/daap-sharp/Mono.Zeroconf: Nuke this since we now use the Mono.Zeroconf assembly instead of some random stuff we compile. 2008-03-30 Alexander Hixon * src/Extensions/Banshee.Daap/daap-sharp/Server.cs * src/Extensions/Banshee.Daap/daap-sharp/Database.cs: * src/Extensions/Banshee.Daap/daap-sharp/Client.cs: Fix some warnings so it is actually possible to build the thing. * src/Extensions/Banshee.Daap/daap-sharp/ContentCodeBag.cs: Only load the content-code resource, instead of everything. * src/Extensions/Banshee.Daap/daap-sharp/ServiceLocator.cs: * src/Extensions/Banshee.Daap/daap-sharp/Server.cs: Use Mono.Zeroconf instead of having #if statements all over the place to support both direct Avahi support and Mono.Zeroconf. * src/Extensions/Banshee.Daap/Makefile.am: Use the Mono.Zeroconf package directly. We should probably build this info the build/*.mk stuff. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: Try to connect to the source anyway, even if we fail - wrap it in a try as well. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapService.cs: Dispose any child sources that are connected to stuff when we dispose the service. * src/Extensions/Banshee.Daap/Banshee.Daap/DaapContainerSource.cs: Implement Count override. Woops. 2008-03-30 Alexander Hixon * src/Extensions/Banshee.Daap/daap-sharp: Copy across daap-sharp from old-code. * src/Extensions/Banshee.Daap/Banshee.Daap.mdp: * src/Extensions/Banshee.Daap/Makefile.am: * src/Extensions/Banshee.Daap/Banshee.Daap: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapSource.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapService.cs: * src/Extensions/Banshee.Daap/Banshee.Daap/DaapContainerSource.cs: * src/Extensions/Banshee.Daap/Resources/Banshee.Daap.addin.xml: Import Daap extension that I've completed so far. Isn't hooked up to the the Extensions Makefile yet, so this doesn't build. Also, if you did hook it up, my autotools foo isn't up to scratch so you'd probably have to modify something. :) 2008-03-30 Alexander Hixon * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Changed a few multiline comments to single line comments. Fixed some logging bits that would accidentally be displayed to the user instead of silently being sent to the console. Closes BGO #524954. 2008-03-30 Gabriel Burt * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfConfigurationClient.cs: Optimize CreateKey method. * src/Core/Banshee.Core/Banshee.Base/Paths.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Use the CachedLibraryLocation to save a lot of unnecessary work. LibraryLocation should probably just be cached itself. * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: If a service fails to start, log the exception. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Add a couple TODOs about reusing some object []. * tests/Hyena/StringUtilTests.cs: Add another test case. 2008-03-30 Alexander Hixon * src/Core/Banshee.Services/Banshee.PlaybackController/ICanonicalPlaybackController.cs: * src/Core/Banshee.Services/Banshee.PlaybackController/IBasicPlaybackController.cs: Update interfaces to provide for repeat support in playback controller. * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: Add repeat support to controller service, call updated PlaybackController methods provided by sources. 'Repeat Single' only activates at the end of a stream, not if you forcefully change tracks. * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: Don't disable the repeat actions, since they're now working. Also hook up changing the RadioAction to changing the current PlaybackRepeatMode. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Update to reflect changes in playback controller interfaces. 2008-03-29 Aaron Bockover * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdTrackInfo.cs: Prepare the CDDA URI properly (it needs the track number, not index) 2008-03-29 Aaron Bockover * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: Remove all AudioCdSources when disposing the service and clear the map * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: If the disc is playing, tell the player engine that track information was updated after the metadata is loaded from MB; disable all tracks when ejecting so they can't be played while the eject is in progress 2008-03-29 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Queue a timeout when the engine goes to idle; if when the timeout handler runs the engine is still idle, then fade the display out; the timeout is necessary to avoid a fade when we are really just transitioning tracks * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Set action.StockId if the IconName property is set * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Set the unmap icon to eject and do not allow renaming of the source * src/Clients/Nereid/Nereid/PlayerInterface.cs: Update the source title in the view container when the active source is updated 2008-03-29 Aaron Bockover * src/Core/Banshee.Widgets/Banshee.Widgets/HoverImageButton.cs: Removed unnecessary property override 2008-03-29 Aaron Bockover * src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs: Properly fix the style/color issue with the search entry (BGO #504633) by doing a style update when the entry style changes and when the entry state changes * src/Core/Banshee.Widgets/Banshee.Widgets/HoverImageButton.cs: Call the base expose event, which was preventing the style changes from being reflected (BGO #504633) 2008-03-29 Aaron Bockover * libbanshee/gst-playback-0.10.c: Actually set the pipeline to NULL, not PAUSED when stopping the pipeline so any resources locked by the pipeline are released * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Added ClearMessages * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs: Search for metadata using MusicBrainz * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Show status messages when searching for metadata and ejecting; if the playing track is located on the disc that is to be ejected, stop the playback before ejecting to release the device lock * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdTrackInfo.cs: Hold a reference to the model on each track in the model so it can be checked when ejecting 2008-03-29 Gabriel Burt Thanks to Allan Day for suggesting these changes. * src/Clients/Nereid/Nereid/PlayerInterface.cs: Change the title to be "title by artist" instead of "title (artist)". * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Change the skip button text to 'Skip this item' instead of 'Play next item'. 2008-03-29 Sebastian Dröge * libbanshee/gst-transcode-0.10.c: Remove 'const' keyword from the output_uri as we don't use it as const and this produces compiler warnings. 2008-03-29 Alexander Hixon * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: Simple fix that removes the mnemonic conflict between 'Repeat Single' and 'Next'. Closes BGO #501889. Based on patch from Alex Kloss. 2008-03-29 Alexander Hixon * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Remember the shuffle state over restarts. Fixes BGO #523681. * src/Core/Banshee.Widgets/Banshee.Widgets/HoverImageButton.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs: Make sure we set the background colour correctly depending on the Sensitive state. Closes BGO #504633. 2008-03-29 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: Remove all children when refreshing. And add playcount to top artist tiles. 2008-03-29 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection/MemoryTrackListModel.cs: Fully bounds check the index before accessing it. Fixes BGO #524805. 2008-03-29 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: Make much much prettier. Pack in a RoundedFrame, draw white bg, add Top Artists, make button presses pretty, make vertically scrollable. * src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs: Fix bug where wouldn't expand set a height request of more than 1, so unless packed in a vbox with fill/expand = true, it wasn't visible. * src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Fix bug with not having the child calculate its size request before trying to get it. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add improved metadata refreshing support - store a value in the CoreConfiguration when its successful, meaning it will keep retrying unti it is (so if you close it or it dies before its done, no big deal). * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: * src/Libraries/Lastfm/Lastfm/RadioConnection.cs: Clean up comments/debugging. * src/Core/Banshee.ThickClient/Banshee.Gui/IconThemeUtils.cs: Check name and return if null/empty. 2008-03-29 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Be more careful with types when iterating over action proxies. Should fix BGO #524706. Thanks to Matt Enright for the pointer. 2008-03-28 Aaron Bockover * src/Backends/Banshee.Hal/Banshee.HalBackend/BlockDevice.cs: * src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs: Actually return a real device node * src/Core/Banshee.Services/Banshee.Hardware/IVolume.cs: Added a DeviceNode property since volumes have 'em as well * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs: Read the audio CD tracks from the disc and push to the model * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Load the model * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdTrackInfo.cs: TrackInfo object specific to the audio cd 2008-03-28 Aaron Bockover * build/build.environment.mk: * build/pkg-config/banshee-1-core.pc.in: * build/pkg-config/banshee-1-musicbrainz.pc.in: * configure.ac: * src/Libraries/Libraries.mds: * src/Libraries/Makefile.am: * src/Libraries/MusicBrainz/: Added Scott's musicbrainz-sharp code locally to the project for now; in the future we will just depend on the library but for now we'll incubate it * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDiscModel.cs: Renamed from AudioCdDisc, inhereit MemoryTrackListModel * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Changes to reflect the model stuff 2008-03-28 Aaron Bockover * src/Core/Banshee.Services/Banshee.Hardware/IVolume.cs: Added Eject and Unmount properties/methods * src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs: Implemented the new Eject/Unmount members * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: Make UnmapDiscVolume internal so the source can call it when being unmapped by the user * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Implement the unmap method to eject the disc from the drive * src/Libraries/Hyena/Hyena/Log.cs: Added an Exception method to which all exceptions that are handled should be logged; currently it just prints the exception, but we should later save them to a log file 2008-03-28 Aaron Bockover * src/Backends/Banshee.Hal/Banshee.HalBackend/HardwareManager.cs: * src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs: * src/Core/Banshee.Services/Banshee.Hardware/IHardwareManager.cs: Added hardware add/remove events and properly resolve the devices in the HAL backend * src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs: Resolve a volume device manually if no parent is passed * src/Core/Banshee.Services/Banshee.Collection/MemoryTrackListModel.cs: Moved from Last.fm since it's useful for other sources; provides a track model that uses an in-memory generic List for storage * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Provide a property for easily accessing the HardwareManager * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdDisc.cs: Empty stub of the disc object we'll need soon * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: Implemented most of the service that manages disc sources from the HardwareManager; awesome * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs: Stubbed out most things we'll need in the audio CD source * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Use the MemoryTrackListModel object 2008-03-28 Aaron Bockover * build/build.environment.mk: * configure.ac: * src/Extensions/Extensions.mds: * src/Extensions/Makefile.am: Build the new audio CD service * src/Extensions/Banshee.AudioCd/Banshee.AudioCd.addin.xml: Addin mainifest for the audio CD extension * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs: Stubbed out the empty audio CD service object 2008-03-28 Aaron Bockover * src/Backends/Banshee.Hal/Banshee.HalBackend/BlockDevice.cs: Implement GetEnumerator to provide child volumes * src/Backends/Banshee.Hal/Banshee.HalBackend/Device.cs: * src/Backends/Banshee.Hal/Banshee.HalBackend/DiskDevice.cs: * src/Backends/Banshee.Hal/Banshee.HalBackend/CdromDevice.cs: * src/Backends/Banshee.Hal/Banshee.HalBackend/HardwareManager.cs: Fix up protection levels and support holding on to the manager reference * src/Backends/Banshee.Hal/Banshee.HalBackend/Volume.cs: Implemented the base HAL volume object with some properties * src/Backends/Banshee.Hal/Banshee.HalBackend/DiscVolume.cs: Implemented a child HAL volume object for optical disc volumes * src/Core/Banshee.Services/Banshee.Hardware/IDiscVolume.cs: Added MediaCapacity property * src/Core/Banshee.Services/Banshee.Hardware/IVolume.cs: Make Available long instead of ulong since it could be invalid (-1) * src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs: Add some more tests/debug 2008-03-28 Gabriel Burt This patch adds proper case-insensitive sorting and searching. It should also speed searching and other ops up a bit. * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: Add internal Reload method that doesn't raise Reloaded right way, so that the track model can trigger them to reload, reload itself, but get its alert out first so its can start redrawing while the others refresh. Also, sort by new *Lowered column. * src/Core/Banshee.Services/Banshee.Collection/BansheeListModel.cs: Add internal RaiseReload method for the track model to use on artist/album models. * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Do the above mentioned shenanigans. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Add Title/NameLowered properties with Select = false, meaning the value is not retrieved in SELECT queries, but is INSERTed/UPDATEd. * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: Set some more pragas in the quest for better performance. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add Title/NameLowered columns to CoreTracks/Artists/Albums. Is literally just obj.Name/Title.ToLower (), but means we can do case-insensitive sorting and searching w/o having to use Sqlite's lower() method (which is slow to use on the fly vs caching this, and only works for latin1.) Also, remove a bunch of indicies and add some new ones, in search of performance. Trigger another metadata refresh to fill the *Lowered columns. * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Use the *Lowered columns for sorting and querying. * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumnAttribute.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Allow setting Select = True/false on the DatabaseColumn attribute, and if its false, do not SELECT it (or requier a setter on the property/field). Also, do not UPDATE or INSERT the primary key. * src/Libraries/Hyena/Hyena.Query/QueryField.cs: Determine once (instead of every time we generate SQL) whether the given column is a custom format. Also, scan for 'Lowered' and if it's there, do not use the hacky "a like b OR lower(a) like b.ToLower ()". * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmTrackListModel.cs: Whitespace. 2008-03-27 Aaron Bockover * src/Backends/Banshee.Hal: First pass at the HAL implementation for the new hardware layer; very incomplete * src/Core/Banshee.Services/Banshee.Hardware/IHardwareManager.cs: * src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs: Filled out some functionality; GetAllBlockDevices, GetAllCdromDevices, and GetAllDiskDevices * src/Core/Banshee.Services/Banshee.Hardware/IBlockDevice.cs: * src/Core/Banshee.Services/Banshee.Hardware/ICdromDevice.cs: * src/Core/Banshee.Services/Banshee.Hardware/IDevice.cs: * src/Core/Banshee.Services/Banshee.Hardware/IDiscVolume.cs: * src/Core/Banshee.Services/Banshee.Hardware/IDiskDevice.cs: * src/Core/Banshee.Services/Banshee.Hardware/IVolume.cs: Stubbed out more interfaces for the hardware object model * src/Core/Banshee.Services/Banshee.Services.addin.xml: Added the hardware manager extension point 2008-03-28 Alexander Hixon * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs:: Make sure we only scrobble and set the Now Playing information on Music tracks, rather than anything played. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs: Removed some extra debug spew that was unnecessary. 2008-03-27 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Change some string comparisons to use IsNullOrEmpty. 2008-03-27 Aaron Bockover * src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs: Stubbed the base hardware manager service out; load extension managers from MA * src/Core/Banshee.Services/Banshee.Hardware/IBlockDevice.cs: * src/Core/Banshee.Services/Banshee.Hardware/IDevice.cs: * src/Core/Banshee.Services/Banshee.Hardware/IHardwareManager.cs: * src/Core/Banshee.Services/Banshee.Hardware/IVolume.cs: Stubbed some basic hardware related interfaces * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: * src/Core/Banshee.Services/Banshee.ServiceStack/UserJobManager.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: Implement IRequiredService since we can't survive without these * src/Core/Banshee.Services/Banshee.ServiceStack/IRequiredService.cs: Services that are important enough to cause startup to fail if they cannot be started should implement IRequiredService * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Do not bail if a core service throws an exception that is not an IRequiredService 2008-03-27 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Fix formatting issue with showing full precision in certain cases when the value was < 2. 2008-03-27 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistInfo.cs: Fix issue with importing items that have null artist or album names. Fixes BGO #524600. 2008-03-27 Gabriel Burt * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: The First () method is used to start playback when a source, artist, or album is activated, and represents a break from the previous playback. It should not raise the Transition event. Fixes BGO #524556. 2008-03-27 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs: When an artist or album is activated, make sure we switch playback to the active source before playing the first song in the playback source. Fixes BGO #524609. 2008-03-27 Gabriel Burt * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: Pulse the Now Playing source when a song or video starts playing and it's not the active source. 2008-03-27 Gabriel Burt * data/mimetypes.txt: List of mimetypes, one per line, combining what we already had with Totem's list. * data/mimetypes.pl: Perl script that sorts and removes duplicates from mimetypes.txt, and prints out a ; separated list suitable for the .desktop file. * data/banshee-1.desktop.in.in: Use the output from mimetypes.pl, and change the name to Banshee Media Player. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Add some more file extensions to the whitelist. * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Load smart playlists here just like we load playlists. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Services.mdp: * src/Core/Banshee.Services/Banshee.Query/SmartPlaylistQueryValue.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Remove SmartPlaylistCore. The functionality from it that remained is now in SmartPlaylistSource, mostly as static methods. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Moved the SmartPlaylistCore code into here. On the first Reload call, if we haven't yet Refresh'd, do it. * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Avoid activating a source twice by returning if it's already the active souce. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/PersistentColumnController.cs: If the source has a Parent, use its UniqueId to determine what columns to show, otherwise use the source's UniqueId. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Add UniqueId property, and protected abstract TypeUniqueId that doesn't have to be unique across different Source subclasses. * src/Core/Banshee.Services/Banshee.Sources/ErrorSource.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: Override TypeUniqueId and use UniqueId. 2008-03-26 Aaron Bockover Banshee 1.0 Alpha 2 (0.98.2) Released 2008-03-26 Aaron Bockover * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea.dll.config: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationArea.cs: Change the default DllImport for libX11 directly to libX11.so.6 and then provide a .config file map that distributors could override if necessary 2008-03-26 Aaron Bockover * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VideoDisplay.cs: Some code clean up and render the idle logo when there is no video playing * src/Libraries/Hyena.Gui/Hyena.Gui/EntryInsertAction.cs: Avoid an NRE in the merge code 2008-03-26 Gabriel Burt * src/Core/Banshee.Core/Banshee.Streaming/SaveTrackMetadataJob.cs: Port fix for Artist tag saving from stable. * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs: Remove artist/album readonly warning, whitespace fixes. 2008-03-26 Gabriel Burt * NEWS: Update for forthcoming 0.98.2 release. 2008-03-26 Sebastian Dröge * build/m4/banshee/notify-sharp.m4: * src/Extensions/Banshee.NotificationArea/Makefile.am: * configure.ac: Allow building against an external notify-sharp if one is found. This is especially important as the next notification-daemon release in a few days changes the DBus API and a newer notify-sharp is required then. 2008-03-25 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs: Start playing when activated. Fixes BGO #524412. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs: Catch exceptions with loading artwork. Catches 'no data in image' error. 2008-03-25 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Emergency fix0rz!!1! 2008-03-25 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Don't display 'Add Station' action when on a station source. 2008-03-25 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Use QueueDraw. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: New QueueDraw method so that new rendering model will properly update. 2008-03-25 Aaron Bockover * build/Makefile.am: Removed the old .pc file, SUBDIRS the new pkg-config * build/pkg-config/Makefile.am: Generate .pc files from the .pc.in files * build/pkg-config/banshee-1-core.pc.in: * build/pkg-config/banshee-1-hyena-gui.pc.in: * build/pkg-config/banshee-1-hyena.pc.in: * build/pkg-config/banshee-1-lastfm-gui.pc.in: * build/pkg-config/banshee-1-lastfm.pc.in: * build/pkg-config/banshee-1-mono-media.pc.in: * build/pkg-config/banshee-1-services.pc.in: * build/pkg-config/banshee-1-thickclient.pc.in: .pc files that represent the entire assembly layout of the core Banshee Media Framework * configure.ac: Bumped version 2008-03-25 Gabriel Burt * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: Change icon to application-multimedia. Not perfect, but at least not confusing with the play button. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Override clear, calling base and resetting the first_order_id, fixing bug in IndexOf that was causing playback issues with smart playlists. * src/Libraries/Hyena/Hyena.Data/ArrayModelCache.cs: * src/Libraries/Hyena/Hyena.Data/DictionaryModelCache.cs: Remove lock around Clear method since now done in subclass. 2008-03-25 Wouter Bolsterlee reviewed by: Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Correctly guard against null SourceView instances, so that non-Nereid clients without a SourceView do not instantly crash upon startup. Patch suggested by Gabriel Burt on IRC. 2008-03-25 Aaron Bockover * src/Clients/Nereid/Nereid/PlayerInterface.cs: Set the source on the track view column controller when it changes * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/PersistentColumnController.cs: Preliminary work to allow column settings to persist against each primary source; all settings go to the default save location for now * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Set the FillAlpha when rendering the sort rectangle for the column so it blends with the row rules * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: Render the row rule with a set FillAlpha 2008-03-25 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistInfo.cs: In FindOrCreate methods, cache the last result to avoid looking up an artist and album for each track in an album. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Within the Save method make sure the artist and album are up to date and in the database. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Album/artist creation now done in DatabaseTrackInfo. * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs: Re-enable editing of artist/albums. * src/Libraries/Hyena/Hyena.Data/ArrayModelCache.cs: Forgot to put threading fix in this when previously updated DictionaryModelCache. 2008-03-25 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseArtistInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryArtistInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: * src/Core/Banshee.Services/Makefile.am: Rename LibraryArtistInfo class to DatabaseArtistInfo. 2008-03-25 Gabriel Burt * src/Core/Banshee.Core/Resources/translators.xml: Updated. * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: Don't allow renaming or searching. 2008-03-24 Gabriel Burt This patch fixes issues with smart playlist/search date fields not working right/at all. Also adds support for different widgets within one field on the smart playlist editor dialog (eg absolute dates vs relative dates for date fields). * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Use new TimeSpanQueryValue for DurationField, and use RelativeTimeSpanQueryValue in addition to DateQueryValue for LastPlayed/Skipped. * src/Core/Banshee.Services/Banshee.SmartPlaylist/Migrator.cs: Use new RelativeTimeSpanQueryValue class. * src/Core/Banshee.ThickClient/Banshee.Query.Gui/SmartPlaylistQueryValueEntry.cs: Avoid crashing if there are no smart playlists. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/DateQueryValueEntry.cs: Old code moved mostly to *TimeSpanQueryValueEntry, replaced with an actual abs date entry. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/NullQueryValueEntry.cs: Empty, if the user has selected this 'operator', no more UI is needed. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs: Handle QueryFields having multiple ValueTypes (each with their own set of operators). This allows us to have both relative dates and absolute date widegts for one field (LastPlayed, say). * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryTermsBox.cs: When creating a new row, set it to the previous row's field/operator. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryValueEntry.cs: Connect new QueryValue types to their Entry types. Add static lookup method. * src/Libraries/Hyena/Hyena.Query/DateQueryValue.cs: Move the relative/TimeSpan code out. * src/Libraries/Hyena.Gui/Makefile.am: * src/Libraries/Hyena/Hyena.Query/NullQueryValue.cs: New QueryValue class with one operator to see if a value is null. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/RelativeTimeSpanQueryValueEntry.cs: * src/Libraries/Hyena.Gui/Hyena.Query.Gui/TimeSpanQueryValueEntry.cs: New classes, mostly a copy of the old DateQueryValueEntry code, with an entry and a units (factors) dropdown (and an "ago" label for the Relative one). * src/Libraries/Hyena/Hyena.Query/QueryField.cs: Instead of QueryFields having one ValueType, make it an array. * src/Libraries/Hyena/Hyena.Query/QueryTermNode.cs: * src/Libraries/Hyena/Hyena.Query/QueryValue.cs: Handle multiple ValueTypes. * src/Libraries/Hyena/Hyena.Query/QueryOperator.cs: If the Label is null return the Name. Useful for debugging with adding new operators. * src/Libraries/Hyena/Makefile.am: * src/Libraries/Hyena/Hyena.Query/TimeSpanQueryValue.cs: * src/Libraries/Hyena/Hyena.Query/RelativeTimeSpanQueryValue.cs: New files for representing time spans in queries. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: Use new ExtensionCacheRoot. 2008-03-24 Aaron Bockover * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Use InstalledApplicationData to build the catalog path for gettext and initialize it (whoops) (BGO #523047) * src/Core/Banshee.Core/Banshee.Base/Paths.cs: Added InstalledApplicationPrefix, InstalledApplicationDataRoot, and InstalledApplicationData properties that are detected at runtime based on the path of the entry assembly (used to figure out datadir, basically, without having to hardcode the paths at compile time) 2008-03-24 Aaron Bockover * src/Clients/Nereid/Nereid/Client.cs: Implement new ClientId property * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Support a stack of client objects; ideally we'll be able to run multiple clients in a single application instance (think mini mode) - this is probably not well thought out, but it's a start * src/Core/Banshee.Services/Banshee.ServiceStack/Client.cs: Added a new base Client class that is not GUI based * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/PersistentColumnController.cs: Support loading/saving the column widths * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Set up some good visibility defaults for the columns * src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs: Extend the new Client class and push itself into the application client stack * src/Libraries/Hyena.Gui/Hyena.Data.Gui/SortableColumn.cs: Some new ctor signatures * src/Libraries/Hyena.Gui/Hyena.Data.Gui/Column.cs: Some new ctor signatures and removed the IsVisible property * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnController.cs: Added a QueueUpdate method * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Call QueueUpdate on the column controller when a column is resized 2008-03-24 Aaron Bockover * src/Core/Banshee.Core/Banshee.Base/CoverArtSpec.cs: Use XDG_CACHE_HOME as the base directory for the album art disk cache * src/Core/Banshee.Core/Banshee.Base/Paths.cs: Changed some other paths to use XDG_CACHE_HOME, especially for extension caches * src/Core/Banshee.Core/Banshee.Base/XdgBaseDirectorySpec.cs: Moved the XDG code into its own class from Paths * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs: Ensure the artwork cache directory gets created if it doesn't exist * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs: Use the new ExtensionCacheRoot path 2008-03-24 Aaron Bockover * libbanshee/gst-playback-0.10.c: Disable the equalizer temporarily as it is causing a few audio problems for some people and is not properly implemented in the pipeline (BGO #523878) 2008-03-24 Aaron Bockover * libbanshee/gst-playback-0.10.c: * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VisualisationConfigBox.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingInterface.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying.mdp: * src/Extensions/Banshee.NowPlaying/Makefile.am: Reverted Alexander Hixon's visualization patches from 2008-03-23 since a number of people have been reporting playback issues after this landed - also it had no review 2008-03-21 Gabriel Burt * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GnomeService.cs: Attempt to fix compiler error for older versions of mono. 2008-03-23 Alexander Hixon * libbanshee/gst-playback-0.10.c: Fix up some tab to space formatting. 2008-03-23 Alexander Hixon * src/Extensions/Banshee.NowPlaying/Makefile.am: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying.mdp: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingInterface.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VisualisationConfigBox.cs: Add a new cool-looking visualisation switcher bar to the top of the visualisation display. Hides away if we watch video. * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs: * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: * libbanshee/gst-playback-0.10.c: Add support for multiple visualisations, with configurable sizes. 2008-03-22 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Moved the ColumnHeaderCellText.HasSort determination from PaintHeaderCell into RegenerateColumnCache. This means we run that code less often. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Fixed stupid bug in rendering which I can't believe I missed. Better, faster, stronger. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Regenerate the column cache after the sort column changes so that we re-assign the HasSort properties of the ColumnHeaderCellText 2008-03-22 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/Column.cs: Added MaxWidth property (currently not used anywhere). * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Began reworking the column layout code. Columns will now resize themselves to take up the header width. No logic yet for min or max column widths: that's tommorrow! 2008-03-22 Alexander Hixon * libbanshee/gst-playback-0.10.c: Hookup the 'goom' visualisation element to the playbin so we can watch wicked things during Now Playing for an audio track. We'd probably want to go throught the element registry to find a suitable element later. 2008-03-21 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_DragAndDrop.cs: Fixed rendering issue when dragging ends. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: New column sorting effect. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Fixed column resize cursor appearing when the mouse is over the list. 2008-03-21 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Minor improvements to rendering. Vertical resizing is now much more efficient, only rendering new rows that com into view as a result of resizing (rather than rendering everything on every pass). * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Minor improvements to rendering. 2008-03-21 Gabriel Burt This patch implements actually updating the play/skip counts and last played/skipped stamps. * src/Clients/Nereid/Nereid/PlayerInterface.cs: Update the status bar when the active source is Updated. * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Add IncrementSkipCount method and LastSkipped property, and update LastSkipped and LastPlayed within their respective Increment methods. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Save the track after incremting its play/skip count. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add a LastSkippedStamp column to CoreTracks. * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: When opening a new track or uri, if there is a currently playing song, if it's over half way done, call IncrementPlayCount on it, otherwise call IncrementSkipCount. * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: Add a NOTE about refactoring to allow models to provide the random track functionality. * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Add LastSkipped query field and sorting. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Add a Last Skipped column. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmTrackInfo.cs: Within IncrementPlayCount override call the base method. 2008-03-21 Aaron Bockover This commit should make Banshee look better on darker themes * src/Clients/Nereid/Nereid/Client.cs: Allow ignoring the gtkrc if --no-gtkrc is passed; nice for debugging * src/Clients/Nereid/Nereid/PlayerInterface.cs: Remove the subtle midtone coloring since I can't figure out a reliable way to make it work on darker themes and lighter themes; GTK themes seriously suck and I hate them and where in the hell is GTK 3. Seriously. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Hacky version of the mid tone stuff since it's absolutely necessary here * src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs: Set a GLib log handler when in --debug mode * src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Get a proper mid tone using the base and text colors * src/Core/Banshee.Widgets/Banshee.Widgets/StreamPositionLabel.cs: Render text using the foreground, not text colors, like other text that should be rendered on background and not base * src/Libraries/Hyena.Gui/Hyena.Data.Gui/CellContext.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnHeaderCellText.cs: Allow rendering text in the cell as foreground or text colors * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Fixed some small rendering/theme issues; do not render a highlight under the sorted column since it looks like ass on some themes and I'm tired of GTK themes * src/Libraries/Hyena.Gui/Hyena.Gui/CairoExtensions.cs: * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: Add some color foo * src/Libraries/Hyena.Gui/Hyena.Gui/ShadingTestWindow.cs: Just something I'm working on, nothing interesting, never used 2008-03-21 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Override QueueDraw to use our own methods. (Fixes bug where hiding/showing columns did not update list) 2008-03-21 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Added some rendering fixes, hook up the Pixmap canvases. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Rendering of the list is now done to an off-screen Pixmap. This is done so that we can recycle pixels when scrolling the list: the contents of the pixmap are shifted up or down by the amount of scrolling, and only the newly visible rows are rendered in place. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Don't paint everything when we're scrolling vertically. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: Paint everything when the model changes. * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/Theme.cs: * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: Add DrawListBackground, re-ordered some methods to match their execution order for readability. 2008-03-21 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/QueryBuilder.cs: * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/QueryBuilderModel.cs: Remove. 2008-03-21 Alexander Hixon * src/Core/Banshee.Widgets/Banshee.Widgets/VolumeButton.cs: Patch missing from previous revision. 2008-03-21 Alexander Hixon * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/PreferencesDialog.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/AboutDialog.cs: Unbreak builds for people using newer versions of Gtk#. 2008-03-20 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Better polymorphism, removed unnessisary qualifications. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Better polymorphism. 2008-03-20 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: This fixes the header disapearing if you switch to and from the Now Playing source. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Whitespace. 2008-03-20 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TerseTrackListView.cs: Started a new track view that can be very narrow and won't have columns; think, 'is this what a detachable play queue looks like?' * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellTrack.cs: Started a cell renderer for showing a track in a list with a single column * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/BetaReleaseViewOverlay.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Get rid of the preview release overlay thingy. It sucked. 2008-03-20 Scott Peterson * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Better polymorphism. 2008-03-20 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Minor rendering fix when reordering columns. 2008-03-20 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Patch from Michael Miceli adding a composer column to the TrackListView, fixes BGO #523666. * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Add a Composer sort case. 2008-03-20 Scott Peterson * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Fixed rendering in with non-composited window managers. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Got rid of private method - instead use Gdk.Rectangle.Contains() 2008-03-20 Scott Peterson * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs: Got rid of padding stuff. That will be taken care of in AnimatedVBox. 2008-03-20 Scott Peterson This gets rid of the 5 (count 'em: five) GdkWindows we were using to render the ListView. We now render everything to the GdkWindow of the ListView's parent. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: ListWindow is no more. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs: Use Style to paint the layout rather than the Drawable. This is not ideal, but nessisary so we can clip. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnHeaderCellText.cs: Moved triangle-drawing code into the Theme. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_DragAndDrop.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: InvalidateListWindow is now InvalidateList. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Replaced five input-output GdkWidows with one input-only GdkWindow. Also improved RowsInView calculation. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Changed the math to account for just one GdkWindow, got rid of unnessisary method ShowHideHeader(). * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Rework of rendering. Everything draws to a single GdkWindow. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Changed the math to account for just one GdkWindow. Split the OnButtonPressEvent and OnButtonReleaseEvent methods into methods specific to the header and list. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: Clip to the clipping box. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/CellContext.cs: Add a clip property for the clipping box. * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/Theme.cs: Added DrawRectangle. Split DrawFrame into DrawFrameBackground and DrawFrameBorder. * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: Added DrawRectangle. Split DrawFrame into DrawFrameBackground and DrawFrameBorder. Misc rendering improvements. 2008-03-20 Alexander Hixon * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Revert change from previous revision. 2008-03-20 Alexander Hixon * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs: Added left padding, so it doesn't look so bad on fullscreen. Also made addition to code comment from previous commit, and some evil whitespace. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Patch to fix small bug introduced in r3487 where the missing pixbuf icon would be displayed as an album cover type when it shouldn't be (ie the black box around the icon). * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Slightly more awesome status bar text, shamelessly ported from stable. * src/Core/Banshee.Services/Banshee.Collection/ImportManager.cs: Removed more mentions of 'songs' and replaced with 'media'. 2008-03-20 Alexander Hixon * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs: Stop hiding the job tile host, so that any ease-out animations that occur with only a single widget in the host display correctly, instead of being completely hidden. 2008-03-20 Gabriel Burt * src/Extensions/Banshee.Bookmarks/Banshee.Bookmarks/BookmarksService.cs: Work around issue with CanSeek being equal to false for a bit after the engine loads the song we want to jump within. 2008-03-19 Gabriel Burt Patch from Bertrand Lorentz porting the Bookmarks plugin. * build/build.environment.mk: * configure.ac: * src/Extensions/Banshee.Bookmarks/Banshee.Bookmarks.addin.xml: * src/Extensions/Banshee.Bookmarks/Banshee.Bookmarks.mdp: * src/Extensions/Banshee.Bookmarks/Banshee.Bookmarks/BookmarksService.cs: * src/Extensions/Banshee.Bookmarks/Makefile.am: * src/Extensions/Banshee.Bookmarks/Resources/BookmarksMenu.xml: * src/Extensions/Extensions.mds: * src/Extensions/Makefile.am: Port the Bookmarks plugin to trunk. 2008-03-19 Gabriel Burt * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Lots of 'song' to 'item' changes. 2008-03-19 Gabriel Burt * src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs: Take the title from the filename if needed. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Display a video icon for missing video 'album art'. * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Change 'song' to 'item' in a few places. 2008-03-19 Aaron Bockover * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: Added a TrackStarted event that will always be raised, even if the playback controller did not transition to the track, but most importantly it will _always_ be raised after the Transition event; this allows users to connect to both events to determine if the track that is playing was manually played or not * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: Activate the now playing source if the user manually started playing a track with a video stream; uses the nice transition/track start stuff noted above 2008-03-19 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Stubbed some stuff out to allow showing separator rows; not complete * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingInterface.cs: Pack the video widget into a rounded frame to look sexy * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VideoDisplay.cs: * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: Respect ShowStroke * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/ThemeContext.cs: Added ShowStroke property * src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Allow setting a custom fill color and the ability to hide the border/stroke 2008-03-19 Aaron Bockover * build/m4/banshee/gstreamer.m4: Link gstinterfaces and gstvideo libraries * libbanshee/gst-playback-0.10.c: First pass at hopefully properly implementing the GstXOverlay stuff; adds video rough video support to the pipeline/player engine * src/Core/Banshee.Services/Banshee.MediaEngine/NullPlayerEngine.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Implement a few video related features to allow setting/exposing to a GdkWindow for video support * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: Send the GdkWindow/Video calls into the player engine - binds the pipeline XOverlay to a window in the UI * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VideoDisplay.cs: Managed GdkWindow and video slab display widget thingy that can be drawn on by an engine 2008-03-18 Gabriel Burt * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Forgot to make the db schema changes in the InitializeFreshDatabase method. 2008-03-18 Aaron Bockover * src/Clients/Nereid/Nereid/PlayerInterface.cs: Hide the view container when the source doesn't support custom contents or has a track model * src/Core/Banshee.Services/Banshee.Library/MusicLibrarySource.cs: * src/Core/Banshee.Services/Banshee.Library/VideoLibrarySource.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Fix up the source ordering to allow for some play * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Changed the argument to have MA spew its guts to --debug-addins * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Changed to reflect the Nereid source contents properties and hide the source contents header since it's pointless for Last.fm * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs: * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingInterface.cs: Stubbed out the basics for the new 'Now Playing' source that will be used to display video, visualizations, and other data related to the currently playing track * src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/VideoDisplay.cs: Basic placeholder GdkWindow to be used to render video 2008-03-18 Gabriel Burt * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: Set ShowBrowser to the same value as our Parent, by default. So playlists under VideoLibrary will not show the browser. 2008-03-18 Gabriel Burt This commit makes it easy/possible to create playlists and smart playlists on any PrimarySource. * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add PrimarySourceID column to Core[Smart]Playlists. * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Load and save PrimarySourceID. * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: Handle loading smart playlists from various primary sources. * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: * src/Core/Banshee.ThickClient/Resources/banshee-dialogs.glade: * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: Change Music to Media where appropriate. * src/Core/Banshee.Services/Banshee.Playlist/PlaylistFileUtil.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: When creating new playlists, create them with the correct primary source. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: This needs to be fixed up - the 'New Playlist' playlist that appears when you drag tracks over the SourceView only displays for the Music Library atm. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Update to new PlaylistSource ctor. 2008-03-18 Gabriel Burt * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: If a file contains video, put it in the VideoLibrary instead of the MusicLibrary. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Library/MusicLibrarySource.cs: * src/Core/Banshee.Services/Banshee.Library/VideoLibrarySource.cs: New files. VideoLibrarySource turns off the browser. * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: Changed to not be music specific. Subclassed by new Music/VideoLibrarySource classes. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: * src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs: Update SourceManager.Library references to SourceManager.MusicLibrary. * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Create VideoLibrarySource. * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Rename Library property to MusicLibrary, and add VideoLibrary property. * src/Core/Banshee.ThickClient/Banshee.Gui/IconThemeUtils.cs: Check the executing assembly for the resource file if it's not found in the given assembly. * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Rename ImportMusicAction to ImportAction. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Change icon to normal playlist icon for now since the Music Library now uses our old icon. Listen for events on the VideoLibrary too. 2008-03-18 Sebastian Dröge * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: * src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerView.cs: Change the unit of the preamp setting into dB, otherwise the scale next to it is confusing. 2008-03-18 Gabriel Burt * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: Fix delete from library code so that remove tracks from database is only called once per Range. 2008-03-17 Aaron Bockover * src/Core/Banshee.Services/Banshee.Sources/MessageAction.cs: Non-GUI action that can be attached to a SourceMessage * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Added SourceMessage support to replace the Message.* properties; supports a stack of messages * src/Core/Banshee.Services/Banshee.Sources/SourceMessage.cs: Message class replacing all of the Message.* properties * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedMessageBar.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Updated to use the new Source/SourceMessage changes * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs: Some code clean ups and the ability to remove all widgets at once * src/Libraries/Hyena.Gui/Hyena.Widgets/MessageBar.cs: Minor rendering fix 2008-03-17 Gabriel Burt * src/Core/Banshee.Widgets/Banshee.Widgets/RatingEntry.cs: Add ability preview-on-hover, but keep it disabled for now. 2008-03-16 Aaron Bockover * src/Core/Banshee.Core/Banshee.Collection/TrackMediaAttributes.cs: Defined a starting set of general flags that can be used to describe the track, including VideoStream, AudioStream, Podcast, AudioBook, etc. * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Added a MediaAttributes property * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Override MediaAttributes and bind it to the Attributes column * src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs: Detect and merge some MediaAttributes into the track (i.e. if taglib says the file has audio and/or video streams, apply those as attributes) * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Added the first schema changes using the migrator now that we have actually made a release, we don't want to break users' database; add a column called Attributes to CoreTracks * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: NotifyTracksAdded a little more frequently than we do right now * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteUtils.cs: Special case Enum types so that we can convert integer values in the database to the enum values they represent if a bound property's type is an enum 2008-03-16 Scott Peterson Added animated layout widgets to Hyena.Gui * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Cast the shutdown handlers in the foreach statement. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost. cs: User jobs now use the fancy fancy AnimatedVBox. * src/Libraries/Hyena.Gui/Hyena.Gui.Theatrics/Actor.cs: Added an overload for Rest which takes a new duration. * src/Libraries/Hyena.Gui/Hyena.Gui.Theatrics/Choreographer.cs: A static class which provides math-o-magical easing equations. * src/Libraries/Hyena.Gui/Hyena.Gui.Theatrics/Stage.cs: Added an overload for Rest which takes a new duration and &= the ActorStepHandlers together to fix a theoretical bug. * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs: A base class for doing animated packing. * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs: A container for animatedly packing widgets into a horizontal box. * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs: A container for animatedly packing widgets into a vertical box. * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedWidget.cs: An internal class used by the AnimatedBox classes * src/Libraries/Hyena.Gui/Makefile.am: * src/Core/Banshee.Services/Banshee.Services.mdp: * src/Libraries/Hyena.Gui/Hyena.Gui.mdp: 2008-03-16 Wouter Bolsterlee * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/AboutDialog.cs: Use a real en dash for date ranges. This is 2008 and we do speak Unicode nowadays! :) 2008-03-14 Aaron Bockover * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Define a property for the icon name that is expected to be in the GTK icon theme; set this value to the new media-player-banshee icon name (used to be music-player-banshee, changed to avoid conflicts) * src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/GtkNotificationAreaBox.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: Remove all hardcoded references to music-player-banshee, the old icon name, and replaced with the new Application property 2008-03-13 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Fix mono 1.2.4 build issue. 2008-03-14 Scott Peterson * src/Libraries/Mono.Media/Mono.Media.mdp: Removed unnessisary reference. 2008-03-13 Aaron Bockover Banshee 1.0 Alpha 1 (0.98.1) Released 2008-03-13 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs: Disable one broken pre-defined smart playlist, and ensure the others are refreshed/reloaded when 'selected for use'. 2008-03-13 Aaron Bockover * NEWS: Updated for 0.98.1 * configure.ac: Require Mono 1.2.2, oops 2008-03-13 Gabriel Burt * src/Libraries/Hyena/Hyena/DateTimeUtil.cs: Super ugly hack to work around ArgumentOutOfRangeException thrown by DateTime parser. 2008-03-13 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Add Banshee Group radio station as a default. 2008-03-13 Aaron Bockover * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Protect against NRE when comparing track objects 2008-03-13 James Willcox * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Correctly update after cover art appears 2008-03-13 Gabriel Burt * src/Extensions/Banshee.Lastfm/Resources/audioscrobbler.png: Replace 24x24 version with 22x22 version. 2008-03-13 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: Disable repeat modes in the UI since they are not actually implemented in the playback controller at this time 2008-03-13 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Patch from Alexander Hixon fixing the Audioscrobbler now-playing delay issue, properly listens for the account being updated to update links/actions. * src/Core/Banshee.Core/Resources/contributors.xml: Add Michael Monreal to Artists. 2008-03-13 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Avoid GtkCritical warning by checking that the TreeIter is not Zero before setting a value on it. Fixes bug with closing the Error Source. 2008-03-13 Gabriel Burt * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteUtils.cs: Patch from Scott Peterson fixing up some DateTime/SQL related issues. 2008-03-13 Aaron Bockover * configure.ac: * src/AssemblyInfo.cs.in: * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Expose a display version in assembly metadata and API * src/Core/Banshee.Core/Banshee.Base/ProductInformation.cs: Fix small bug * src/Core/Banshee.Core/Resources/contributors.xml: Updated * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/AboutDialog.cs: Some minor fixes and cosmetic polish; the link works again 2008-03-12 Aaron Bockover * src/Core/Banshee.Core/Banshee.Base/Paths.cs: Redefine LegacyApplicationData to mean the previous ApplicationData, not the one from when we were using ~/.gnome2/banshee * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs: Migrate cover art from the new LegacyApplicationData path * src/Core/Banshee.Services/Makefile.am: Fixed build 2008-03-12 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseAlbumInfo.cs: Rename LibraryAlbumInfo to DatabaseAlbumInfo. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Change all DateTime.MinValue stamps to NULL. * src/Extensions/Banshee.Lastfm/Makefile.am: Alphabetize. * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteUtils.cs: Serialize and unserialze DateTime.MinValue as NULL. * src/nuke-core-tables: Update to new config subdir. 2008-03-12 Gabriel Burt * src/Core/Banshee.ThickClient/Resources/banshee-dialogs.glade: * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs: Disable artist/album editing and add note explaining they are disabled for the preview release. * src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs: * src/Core/Banshee.Core/Banshee.Streaming/SaveTrackMetadataJob.cs: Save all metadata possible back to files, and add notes about keeping these two classes in sync. 2008-03-12 Scott Peterson * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: Don't copy the old db file unless it exists. 2008-03-12 Aaron Bockover * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Make CanPlay false if there is a stream error on the track * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationType.cs: Change some of the icons for now 2008-03-12 Aaron Bockover * src/Core/Banshee.Core/Banshee.Base/Paths.cs: Change the application data directory to banshee-1; create the directory if it doesn't exist; added ExtensionsData to Paths * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: Copy the old library to the new path if it exists - this will allow both old and new Banshee series to fully coexist * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs: Use the ExtensionsData path 2008-03-12 Aaron Bockover Yes. I made all the build stuff refer to Banshee as banshee-1 instead of banshee-preview. This includes all paths, launchers, and even gconf keys. 2008-03-12 Aaron Bockover * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GnomeService.cs: Fixed the null check, actually works now * src/Clients/Nereid/Nereid/ViewContainer.cs: Add a 'Help' menu item to the bottom of the search entry filter menu * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Add a menu item that takes the user to the documentation on the Wiki for query/search syntaxt and examples * src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs: Expose the Menu * src/Libraries/Lastfm/Lastfm/Account.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Hook up the web browser stuff again so account links work * src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginDialog.cs: Add the account signup button back * src/Libraries/Lastfm/Lastfm/Browser.cs: Fixed up to work again 2008-03-12 Aaron Bockover * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GnomeService.cs: Added an all-singing, all-dancing GNOME entry service; currently this just hooks up Gnome.Url.Show (gnome-open) to Banshee.Web.Browser; ideally Process.Start would work properly, but it's got some issues, even though it does use xdg-open (which gnome-open should use); gnome-open is also a bit more backwards compatible and may be necessary on SLED, for instance; phew. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Fixed the playback indication for database tracks (BGO #520503) * src/Core/Banshee.Services/Banshee.Web/Browser.cs: Implemented an OpenHandler to allow extensions to override the default way of opening a link in a browser * src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfConfigurationClient.cs: Renamed namespace from Banshee.Gnome to Banshee.GnomeBackend since there is a possibility of conflicts with the standard Gnome namespace * build/build.rules.mk: Add some rules to filter out duplicate references that will be passed to the compiler due to the dependency chain in the build environment; makes debugging easier even though the compiler would filter this out by itself; also put hard target dependencies on assemblies that are referenced in bin/; hopefully will help some occasional build problems 2008-03-12 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Call RefreshAndReload on smart playlist Refresh action. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: Call RefreshAndReload when loading the smart playlists if we just migrated them. 2008-03-12 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryArtistInfo.cs: * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/ICacheableItem.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Add a CacheModelId property to Track/Artist/Album classes, and rename SourceEntryId to CacheEntryId. 2008-03-11 Gabriel Burt This commit cleans up and speeds up reloading. * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: Listen for Selection.Changed event and reload the track model with the appropriate ReloadTrigger argument. * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Add a Reload method that takes a ReloadTrigger argument identifying what caused the reload (user query, artist or album filter) so each can be handled optimally. Should fix performance regressions introduced in yesterday's bug fixes. * src/Core/Banshee.Services/Banshee.Collection/SelectAllSelection.cs: If there is only one real item and it's selected, then AllSelected = true. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add a bunch more indexes to CoreTracks. * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Do not call lower() within ORDER BY fragments for track sorting. This means it will be case sensitive for now. Sqlite's lower() method doesn't work with non-LATIN characters, and it's slow. We need to add columns where we store the result of lowercasing Album, Artist, and Title in C#. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Add a new Refresh method that actually regenerates the smart playlist entries, since this doesn't need to happen on every Reload. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Move the complicated Reload logic into the *ListDatabaseModels. Get rid of FilteredDuration/FileSize properties. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Banshee.Services/Banshee.Sources/IFileSizeAggregator.cs: * src/Core/Banshee.Services/Banshee.Sources/IDurationAggregator.cs: Remove Filtered* properties - we never display both, so might was well not require it or bother to calculate the un-filtered version. * src/Libraries/Hyena/Hyena.Data/IFilterable.cs: Remove Refilter method. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Fix bug with default sort column where it was based on your column order. * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs: Call new Refresh method on SmartPlaylistSources. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Remove selection-changed source reload code - that's handled internally by the *ListDatabaseModels now. * src/Libraries/Hyena/Hyena.Data/ModelCache.cs: Change Reload to return void. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Use slightly faster INSERT INTO pattern, and don't automatically Save/RestoreSelection and UpdateAggregates within Reload. 2008-03-11 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Gui/CairoExtensions.cs: Do not crash if the native Cairo pop/push group functions do not exist 2008-03-11 Aaron Bockover * build/build.rules.mk: * build/m4/banshee/gtk-sharp.m4: * configure.ac: Check for Gtk# 2.10 or better and define HAVE_GTK_2_10 on all the assemblies; this will allow the build to succeed on Gtk# 2.8 * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/GtkNotificationAreaBox.cs: Do not build if we don't HAVE_GTK_2_10, since GtkStatusIcon was introduced in that version; we only use GtkStatusIcon as a fallback if we are not running on X11/Unix anyway (i.e. it's mainly used for Windows) * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Do not try to instantiate GtkNotificationAreaBox if we don't HAVE_GTK_2_10; and since now we are not guaranteed to have some sort of INotificationAreaBox, properly dispose the notification area service if we never get a reference to one (i.e. running on not X11/Unix and not Gtk# 2.10+) 2008-03-11 Aaron Bockover * src/Clients/Nereid/Nereid/PlayerInterface.cs: Remove a bad line where I set the colormap of the window to be RGBA for no reason; I was playing around one night and committed this awful thing; SORRY 2008-03-11 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Gui/PangoCairoHelper.cs: Wrap the Pango Cairo calls we care about so we'll build and run on GTK 2.8 again, which is quite important (yay SLED) * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/BetaReleaseViewOverlay.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: Use the new Hyena.Gui.PangoCairoHelper API * src/Libraries/Hyena.Gui/Hyena.Data.Gui/CairoHelper.cs: Nuked 2008-03-11 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationType.cs: * src/Extensions/Banshee.Lastfm/Makefile.am: New tag, recommended, neighbour, and personal icons. * src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginForm.cs: Do not update the account information until the Close button is pressed. 2008-03-11 Gabriel Burt * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: Removed Equals and GetHashCode override that ignored type differences, and caused the playqueue to disappear if you had a smartplaylist of the same id. 2008-03-10 Gabriel Burt * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: Fix scrolling to jump to the first selected item only if a selected item is not already in view. If the model count < the visible rows, scroll to the top. 2008-03-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnController.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: Default the sort of the TrackList to sort by Artist. 2008-03-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryArtistInfo.cs: * src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/ICacheableItem.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Rename CacheId to SourceEntryId, only require T : ICacheableItem in *ModelCache classes, and set the SourceEntryId in SqliteModelCache. * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Remove cruft. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Comment out logging. 2008-03-10 Gabriel Burt * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Fix bug with inconsistent table name in SQL. 2008-03-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryArtistInfo.cs: Add CacheId property that can be used to uniqued ID an item within a list. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Notify the Library about the metadata-refreshed tracks after closing the user job so it doesn't look like it's hung. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: SpawnFromMain a few methods. * src/Core/Banshee.Services/Banshee.Database/BansheeModelCache.cs: * src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: * src/Libraries/Hyena/Makefile.am: * src/Libraries/Hyena/Hyena.Data.Sqlite/ICacheableItem.cs: New interface containing CacheId property that *ModelCache and *ModelProvider classes require. 2008-03-10 Aaron Bockover * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Change AudiblyEqual to TrackEqual since it makes more sense; make the base comparison compare the track URIs * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Override TrackEqual and use database IDs for comparisons since that is much more efficient; not complete however; renamed DbId to TrackId * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Changed to use TrackId instead of DbId 2008-03-10 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTile.cs: Patch from Lukas Lipka to use the stop icon instead of close icon in the UserJobTile widget (BGO #520342) 2008-03-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Fix smart playlists to work with new ReloadTrack override. 2008-03-10 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui/ViewActions.cs: * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: Use the new Ready state instead of Initialized * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs: Do not allow state transitions unless the engine is setting itself to the ready state; send the idle state automatically once the engine sends the ready state; all engines must transition to ready before anything else * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Handle the NotReady state in much the same way Idle is handled; some generic code cleanup * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineState.cs: Removed Initialized state in favor of Ready, added the NotReady state, which is the default state for all engines; engines must manually transition to the Ready state before any other state changes can occur * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Set the playing track when PlayerEngineEvent.StartOfStream is raised; do not set the playing track manually when querying the model 2008-03-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: 2008-03-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: Add override to Reload method with options for suppressing notification and filtering. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Remove RateLimitedFilter method, rework Reload to do suffice. Remove cruft. Call track model's Reload with arguments to suppress notification and artist/album filtering. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Remove cruft, call PruneArtistsAlbums from within OnTracksDeleted * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Simplify Selection changed handler to just call Reload on the source. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ISourceContents.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ObjectListSourceContents.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: Change to use ISource instead of Source. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Prevent unnecessary Selection.Changed raising. * src/Libraries/Hyena/Hyena.Collections/Selection.cs: Add ToString override for debugging. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Do ++count so Library gets refreshed on even 500s instead of N*500 + 1. 2008-03-10 Aaron Bockover * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Removed all of the excessive [potential] thread spawning; it will be moved to where it is actually necessary (it is not necessary in most cases, is overkill, and can cause unexpected problems); this fixes the regression in the Play Queue 2008-03-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Fix the build. 2008-03-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: Now depends on the Artist model, resets the artist filter at each reload, exposes CacheId and ClearCache. * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: Expose CacheId property and ClearCache method. * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Keep references to the artist/album models and regenerate the artist/album filter for each reload. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Reset the count to 0 when finished importing. * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: Whitespace. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Avoid triggering the Reloaded event when reloading it twice in a row - no flicker. OnTracksRemoved now reloads the current source, but not the library etc. New PruneArtistsAlbums method that deletes artists/albums from the cache that have been removed from the library. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Rename TracksRemoved event to TracksDeleted for clarity/parity with method names. Override PruneArtistsAlbums method. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Fix reloading when selection changes. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: TracksRemoved event renamed to TracksDeleted for clarity. 2008-03-10 Gabriel Burt * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Avoid unnecessary db queries in saving/restoring selection. Fix bugs with IndexOf method. * src/Libraries/Hyena/Hyena.Data/DictionaryModelCache.cs: Add lock around Clear command. 2008-03-07 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_DragAndDrop.cs: Calculate the row index for reordering * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Render a line to indicate the row reordering index 2008-03-07 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_DragAndDrop.cs: Some minor fixes and cleanups 2008-03-07 Aaron Bockover * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_DragAndDrop.cs: Added another partial class for drag and drop specific stuff for the view; implement variable velocity scrolling when dragging rows in the view; it's awesome; added a Reorderable property, but it does not do anything yet (other than the awesome scrolling) * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Moved some DnD code into the new partial class * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Set Reorderable and ForceDragSourceSet properties * src/Core/Banshee.ThickClient/Banshee.Gui.DragDrop/DragDropTarget.cs: Removed the model selection target * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: Use the model selection target from hyena * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: Fixed a crasher/NRE 2008-03-07 Aaron Bockover * src/Libraries/Hyena/Hyena/ConsoleCrayon.cs: Added Hutch's terminfo changes to do all the coloring properly 2008-03-06 Gabriel Burt * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: * src/Core/Banshee.Core/Banshee.Streaming/CommonTags.cs: * src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add Composer, Copyright, LicenseUri, and Comment columns to CoreTracks. * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Add Composer field. 2008-03-06 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryAlbumInfo.cs: Add ToString override for debugging purposes. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Scroll to the top if artist or album selection changes to all selected. * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: When refreshing the view for the model, scroll to the first selected item if possible. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: * src/Libraries/Hyena/Hyena.Data/ModelCache.cs: Add locks to make thread-safe, solves (at least some) spurious browser issues people have been seeing. 2008-03-06 Aaron Bockover * src/Core/Banshee.Widgets/Banshee.Widgets/StreamPositionLabel.cs: Render the buffering progress bar using the GTK styles, take care of the pango layout manually instead of using a GtkLabel to be able to render the text in two colors, depending on the progress bar * build/build.rules.mk: Do not pass -warnaserror if mono is older than 1.2.4 since there appear to be some fake warnings raised with the older gmcs compiler * build/m4/shamrock/mono.m4: Added a method to detect the mono version but not bail if it wasn't met, and set a result * configure.ac: Check for at least mono 1.2.4 and export the result 2008-03-05 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/BetaReleaseViewOverlay.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Use the allocation passed to Render to do the maths * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Expose ListAllocation as a protected property 2008-03-05 Aaron Bockover Lots of build fixes, preparing for the release * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Always update the addin registry so new/changed addins are rescanned * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Workaround for a mono 1.2.4 bug 2008-03-05 Gabriel Burt * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Small but powerful fix - was not clearing the selection between reloads at all. 2008-03-05 Gabriel Burt * src/Core/Banshee.Services/Banshee.Base/RateLimiter.cs: Change to prevent the method from being called while it is still running, queueing another run to happen when the current one finishes, instead of specifying a specific rate limit. * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: Set HasSelectAllItem on cache to true. * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Avoid parsing the user query if it hasn't changed since we last parsed it. Add SuppressReloads method so we can update both the album and artist filter before doing a Reload, and add a ClearArtistAlbumFilters method that directly, quickly does that. * src/Core/Banshee.Services/Banshee.Collection/AlbumListModel.cs: * src/Core/Banshee.Services/Banshee.Collection/ArtistListModel.cs: * src/Core/Banshee.Services/Banshee.Collection/BansheeListModel.cs: * src/Core/Banshee.Services/Banshee.Collection/TrackListModel.cs: Create the selection object within each subclass so that Album and Artist models can create a SelectAllSelection. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Collection/SelectAllSelection.cs: New class that makes sure the first item is selected as the AllSelected = true state. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Override new ReloadTrackModel method which is called by DatabaseSource's RateLimitedReload and RateLimitedFilter methods. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Add RateLimitedFilter method for spawning off the filter handler. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Updated to work with SelectAllSelection and to trigger two track model updates when the artist model changes - one that is not filtered by any artists or albums, and one that is filtered by the artist/album selection, if any. * src/Libraries/Hyena/Hyena.Collections/Selection.cs: Change AllSelected and SelectAll to be virtual, add a MaxIndex getter. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Update the SaveSelection and RestoreSelection code to work with artist/album selections that have a first (fake) item "All *". 2008-03-05 Gabriel Burt * src/Core/Banshee.Services/Banshee.ServiceStack/DBusServiceManager.cs: Ignore deprecation warning. 2008-03-05 Aaron Bockover * build/build.rules.mk: Turned on -warnaserror and only show the bold compiling message if the terminal supports colors and is a tty * src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/CairoHelper.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: Fixed warnings 2008-03-05 Gabriel Burt * src/Core/Banshee.Core/Resources/COPYING: Update to 2008. * src/Clients/Nereid/Nereid/PlayerInterface.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Fix warnings. 2008-03-04 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryArtistInfo.cs: Replace confusing constructors with static FindOrCreate methods. Should fix an issue with finding/creating/associating new albums too. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Use new FindOrCreate methods. 2008-03-04 Gabriel Burt * src/Libraries/Hyena/Hyena.Data/ISelectable.cs: Forgot to commit new file. 2008-03-04 Gabriel Burt This commit fixes a long standing bug in trunk - selections now persist across source reloads (assuming the tracks are still in the source/not filtered). * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Add a bool CachesJoinTableEntries property so Smart Playlists can use the join table but fill the CoreCache with TrackIDS not EntryIDS - needed, since their EntryIDs don't last long b/c they are wiped/created anew every time its Reloaded. * src/Core/Banshee.Services/Banshee.Collection/BansheeListModel.cs: Don't clear the selection on reload. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Override CachesJoinTableEntries to false. * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Check model.CachesJoinTableEntries instead of JoinTable != null. * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Whitespace. * src/Libraries/Hyena/Hyena.Data.Sqlite/ICacheableDatabaseModel.cs: Inherit from ISelectable and add CachesJoinTableEntries property. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: SaveSelection before a Reload and RestoreSelection afterward. * src/Libraries/Hyena/Hyena.Data/ModelCache.cs: * src/Libraries/Hyena/Hyena.Data/ArrayModelCache.cs: * src/Libraries/Hyena/Hyena.Data/DictionaryModelCache.cs: Update to use Int64s where appropriate. * src/Libraries/Hyena/Hyena.Data/IListModel.cs: Inherit from ISelectable. * src/Libraries/Hyena/Hyena.Data/ModelSelection.cs: Comment out unimplemented IndexOf method. * src/Libraries/Hyena/Makefile.am: New ISelectable interface. 2008-03-04 Gabriel Burt This commit adds more granular events for when tracks are added, changed, and removed to each track's PrimarySource. Playlists etc can listen for these events, and only reload when necessary (still work to do on this front). Reloads happen not in the main thread, so actions (like rating 4800 songs at once) return quickly, but other sources may take a second or few to be updated. * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: In Save method, trigger PrimarySource's TrackAdded or Changed method as appropriate. * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Cache the unfiltered query string. * src/Core/Banshee.Services/Banshee.Collection/ImportManager.cs: Call OnImportFinished even if cancelled. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add CoreRemovedTracks table. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Pass false to DatabaseTrackInfo.Save method, and manually trigger TracksAdded event every 500 songs or when finished/cancelled. * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: Use RemoveTrackRange instead of remove_track_command. * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: Add stamps for tracking when last handled Tracks* events, add count commands for use in determining if an event affects this source. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Handle TracksChanged and TracksRemoved events from our PrimarySource parent. Right now we just always trigger a Reload, but these handlers are ripe for optimizations that will avoid Reloads unless absolutely necessary. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Trigger the Track* events on the primary source when adding/changing/removing tracks. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Add TracksAdded, TracksChanged, and TracksRemoved methods. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Make SetParentSource a virtual method. * src/Core/Banshee.Services/Banshee.Collection/BansheeListModel.cs: * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Make sure GUI-related events are handled in the main loop. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: Turn DateTime values into integers. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: Add another override for Query/Query/Execute (HyenaSqliteCommand, params). * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Cache the reload command. 2008-03-04 Aaron Bockover * src/Libraries/Hyena/Hyena/Log.cs: Added InformationTimer methods akin to DebugTimer methods that will work without --debug mode * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Use InformationTimer instead of DebugTimer to show the overall startup time; set the addin cache path to just be the application data path, since Mono.Addins creates its own subdirectory underneath * src/Core/Banshee.Services/Banshee.Services.addins: Scan Extensions and Backends directories for addins * build/build.environment.mk: Define EXTENSIONS_INSTALL_DIR, BACKENDS_INSTALL_DIR * src/Backends/Banshee.GStreamer/Makefile.am: * src/Backends/Banshee.Gnome/Makefile.am: * src/Backends/Banshee.Unix/Makefile.am: * src/Extensions/Banshee.Lastfm/Makefile.am: * src/Extensions/Banshee.MultimediaKeys/Makefile.am: * src/Extensions/Banshee.NotificationArea/Makefile.am: * src/Extensions/Banshee.PlayQueue/Makefile.am: * src/Extensions/Banshee.Skins/Makefile.am: Set the INSTALL_DIR to either EXTENSIONS_INSTALL_DIR or BACKENDS_INSTALL_DIR so addins are a bit more organized in the install/packages * src/Extensions/Makefile.am: Disable the skins extension 2008-03-04 Aaron Bockover * src/Libraries/Hyena/Hyena/ConsoleCrayon.cs: A workaround for the somewhat broken terminfo driver for setting console colors in System.Console on Mono. If xterm and tty is detected, ANSI control codes will be used to color the console, otherwise if the runtime is not mono and the OS is not unix, the regular System.Console API will be used * src/Libraries/Hyena/Hyena/Log.cs: Use Hyena.ConsoleCrayon instead of System.Console to set/reset the terminal colors 2008-03-03 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmTrackInfo.cs: Catch Web exceptions in Love and Ban methods, avoiding crashing. 2008-03-03 Gabriel Burt This patch fixes a poor assumption made quite a while ago that for playlists put the TrackID into the CoreCache table, which if you had a song in a playlist twice would make it impossible to remove one and not the other. * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: Fix reload fragments to use the track_model's JoinTable etc when needed. * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Add JoinTable, JoinPrimaryKey, and JoinColumn properties that allow the model to specify that it joins, for example, the CoreTracks table with the CoreCache table via the CorePlaylistEntries table. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add a EntryID primary key to CoreSmartPlaylistEntries, and create an index for it. * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: Add JoinPrimaryKey virtual property, and set the Join* properties. * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Fix AddTrackRange method to work with track model's that have a join table. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Change INSERT to add NULL so primary key automatically set. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Implement RemoveTrack by calling RemoveTrackRange with an appropriate Range. Add ReloadPrimarySource method that reloads the current source's "nearest" PrimarySource - either itself, its parent, or all PrimarySources. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Remove RemoveTrack method - fully implemented in DatabaseSource. * src/Libraries/Hyena/Hyena.Data.Sqlite/ICacheableDatabaseModel.cs: Add Join properties. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Handle models that specify a JoinTable. 2008-03-02 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: Activate the repeat action when it's loaded from configuration 2008-03-02 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/BetaReleaseViewOverlay.cs: Fix some small bugs; do not show with --debug passed 2008-03-02 Alexander Hixon * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Add a null check before sorting out dependencies, so we don't bomb out on creating a new simple Smart Playlist. 2008-03-01 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/BetaReleaseViewOverlay.cs: A sweet overlay thingy that draws some big warning/welcome for users about the state of trunk/preview release * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Render the hot overlay * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Expose some properties as protected * src/Libraries/Hyena.Gui/Hyena.Gui.Theatrics/Stage.cs: Fix a bug when iterating actors in the stage by creating a copy to iterate; this allows actor step handlers to modify the stage actors * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/Theme.cs: Added DrawPie * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/ThemeContext.cs: Add some more state properties 2008-03-01 Scott Peterson * src/Libraries/Hyena/Hyena.Query/QueryNode.cs: Got rid of unnecessary condition. 2008-03-01 Scott Peterson * src/Libraries/Hyena/Hyena.Query/QueryNode.cs: Added methods to search a QueryNode tree for values of a given type either by depth or breadth. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Consume the new QueryNode.SearchForValues method. 2008-03-01 Scott Peterson * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Fixed typo. 2008-03-01 Scott Peterson * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Implements new HasDepenencies property. * src/Core/Banshee.Services/Banshee.Sources/ITrackModelSource.cs: Added HasDependencies property. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: The public Children property is now a ReadOnlyCollection since other code has no business modifying the collection directly. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: No longer reload a child source if it has dependencies (the dependencies will trigger a reload of the source which depends on them). * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: Overrided Equals and GetHashCode to compare DbId. * src/Core/Banshee.Services/Banshee.Query/SmartPlaylistQueryValue.cs: Implements new abstract member Resolve(). Used to turn a DbId into a SmartPlaylistSource. * src/Core/Banshee.Services/Banshee.Query/PlaylistQueryValue.cs: Implements new abstract memeber Resolve () (right now it just returns null b/c we don't use the ObjectValue of a PlaylistQueryValue. In the future, this may change). * src/Core/Banshee.Services/Banshee.Query/AbstractPlaylistQueryValue.cs: Added abstract query value to handle the OperatorSet overload used by both SmartPlaylistQueryValue and PlaylistQueryValue. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: Made to use generics and addded GetSmartPlaylistFromDbId () method. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Now keeps track of SmartPlaylistSources on which it depends. Used for listening to dependencies' Update events. * src/Libraries/Hyena/Hyena.Query/IntegerQueryValue.cs: SetValue made virtual. * src/Libraries/Hyena/Hyena.Query/IntegerKeyedObjectQueryValue.cs: New abstract class which allows an IntegerObjectValue to map to an object. 2008-02-29 Scott Peterson * src/Core/Banshee.Services/Banshee.PlayerMigration/AmarokPlayerImportSource.cs: Fixed warnings. 2008-02-29 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Show the FilteredFileSize in the status message, like we show the FilteredDuration. 2008-02-29 Alexander Hixon * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmTrackInfo.cs: Modify the LastfmTrackInfo object, and add in the new trackauth variable in the constructor and associated property. We get the trackauth value from the track returned from Last.fm (lastfm:trackauth). * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Only submit NowPlaying tracks if the track is more than 30 seconds in length and the user has enabled scrobbling of tracks. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs: Support the new TrackAuth property in LastfmTrackInfo, submit that and the correct source code if the track was from radio, otherwise say it was from the library. * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Lots of cleanups to do with HACKING guidelines, trying to send stuff when we're not allowed to (ie not connected), and *heaps* of logic/name cleanups. * src/Libraries/Mono.Media/Media.Playlists.Xspf/Track.cs: Expose some lame kind of method to get extra key values. 2008-02-28 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Fix calculation figuring out whether or not the click is on the expander. 2008-02-28 Gabriel Burt * src/Core/Banshee.Services/Banshee.Base/RateLimiter.cs: * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryBox.cs: * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryLimitBox.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: * src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginDialog.cs: * src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginForm.cs: Fix warnings. 2008-02-28 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Add a Save (bool notify) method so processes that are triggering lots of Save's can avoid notifying the track's PrimarySource until they choose to - eg in the metadata refresh process. * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: Add comment to PRAGMA cache_size call. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add indices to Core[Smart]PlaylistEntries, and use track.Save (false) when updating the metadata. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Set Library.Importing = true/false around the import process. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Add ReloadChildren method. Add RateSelectedTracks method. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Add Importing property that when set true increases the period between TrackUpdated calls to 5 s (from the normal 0.25 s). Fix bug where Reload always reloaded all children - not something we want to do when the user is searching, say. Explicitly call ReloadChildren where needed. * src/Core/Banshee.Services/Banshee.Base/RateLimiter.cs: Make more thread safe. * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Add an ActiveSource convenience property. * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Use ActiveSource property. * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Use new ActiveSource property, and call RateSelectedTracks to rate entire selection Ranges at a time - much much faster. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: Make Execute and WaitForResult internal methods. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: Put locks on the current command around Query/Execute calls to prevent a thread from calling the same command before an earlier thread gets its result. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Avoid checking the cache table more times than necessary. 2008-02-28 Aaron Bockover * src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs: Added a new base version of TrackInfoMerge that allows you to switch priority/fallback values to prefer either the database track or the taglib file data * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: Move the migration consumer stuff out, make the migrator accessible to others * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Use a UserJob to report the migration track scanning progress * src/Core/Banshee.Services/Banshee.ServiceStack/IInitializeService.cs: A simple interface that will tell the service manager to call initialize on it after registering; this allows other objects to listen for the service before the service actually does anything * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Support IInitializeService.Initialize * src/Core/Banshee.Services/Banshee.ServiceStack/UserJob.cs: Added some more ctor overrides to make it easier to use * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeDbFormatMigratorMonitor.cs: A UI for reporting the migration progress in the database layer * src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs: Connect to the database migration layer and use the new UI to report progress * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Draw a bubble, shouldn't commit this, in a hurry * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/CellContext.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs: Fixed up to use the new Hyena.Gui.Theming API * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListViewGraphics.cs: Nuked * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkColors.cs: * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/GtkTheme.cs: * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/Theme.cs: * src/Libraries/Hyena.Gui/Hyena.Gui.Theming/ThemeContext.cs: New simple theme API that will make doing the custom drawing easier than the crappy ListViewGraphics bloated/hard to use API 2008-02-27 Aaron Bockover * src/Core/Banshee.Services/Banshee.Base/ThreadAssist.cs: Do not set the main thread automatically and instead require an explicit call to a new InitializeMainThread method just for sanity to avoid possible race * src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs: Call ThreadAssist.InitializeMainThread * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Enable the database URI pre-check when importing, minor clean up, wrap the commits in database transactions, and do an explicit save on the LibraryAlbumInfo (not sure if this is correct) * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs: Fixed a big threading bug - the actual user job/manager API is designed to be consumed from many threads, and the UI host for the jobs has to manage threading; this fixes some odd UI behavior after library imports * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTile.cs: Use generic/type-safe service manager methods * src/Core/Banshee.Services/Banshee.Collection/ImportManager.cs: Some clean up, remove an anonymous method to make more readable 2008-02-27 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Fix up last SourceView commit. 2008-02-27 Aaron Bockover * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Added a generic Contains method so Contains checks can be type safe just like the generic Get service calls * src/Core/Banshee.Services/Banshee.ServiceStack/TestUserJob.cs: Added a method to spawn a few test user jobs which is useful for debugging the user job API and host tile display * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs: When the magic command line argument is passed, spawn the test jobs * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Only render the focus row if the view actually has focus * src/Libraries/Hyena/Hyena.CommandLine/CommandLineParser.cs: Fix a minor crasher bug 2008-02-27 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Do not activate a Source when its expander is clicked. 2008-02-27 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackRepeatActions.cs: Created UI actions for repeat mode functionality; this is where the repeat mode can be accessed and is stored/loaded from configuration; the UI actions are set up here * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/RepeatActionButton.cs: A special button that syncs its state with the PlaybackRepeatActions and presents the actions as a popup menu * src/Clients/Nereid/Nereid/PlayerInterface.cs: Make the footer actually a Gtk.Toolbar, pack the new RepeatActionButton, and do some allocation magic to ensure the status bar is always centered on the toolbar; moved the only two schema items that are still at the client level into here * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeIconFactory.cs: Added the media-repeat icons into the stock * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Load the PlaybackRepeatActions as a child set of actions * src/Clients/Nereid/Nereid/PlayerWindowSchema.cs: Removed * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Added a ToolbarFooter object * src/Libraries/Hyena/Hyena/StringUtil.cs: Added UnderCaseToCamelCase method that does the opposite of what CamelCaseToUnderCaseDoes; use a StringBuilder for the latter * tests/Hyena/StringUtilTests.cs: Added some tests for the above two methods 2008-02-27 Gabriel Burt * src/Clients/Nereid/Nereid/PlayerInterface.cs: Remove unnecessary Show. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs: Add the inner VBox to the Alignment...hard for it to show otherwise. 2008-02-27 Gabriel Burt * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Improve the metadata refresh process - use the existing OnSlow* calls in the migrator, don't die if a track can't be refreshed, etc. 2008-02-27 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Add and comment out an implementation for 'New Smart Playlist From Search'. It works, but the smart playlist Editor needs to be changed to accept conditions with no field (eg implying search-all-default-fields). * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Comment out 'New Smart Playlist From Search' item. 2008-02-27 Gabriel Burt * src/Core/Banshee.Services/Banshee.Services.mdp: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.mdp: * src/Libraries/Lastfm.Gui/Lastfm.Gui.mdp: * src/Libraries/Lastfm/Lastfm.mdp: * src/Libraries/Mono.Media/Mono.Media.mdp: Fix MD build. * src/Extensions/Banshee.Lastfm/Makefile.am: Remove non-existant file. 2008-02-27 Alexander Hixon * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Support lazy authentication. Also implement retrying if sending a 'Now Playing' track failed. Slightly more detailed logging is also added. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Removed a useless boolean value. Also implemented lazy connecting before queuing tracks. 2008-02-27 Alexander Hixon * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Only scrobble tracks if the 'Enable song reporting' checkbox is active. 2008-02-27 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: Fix crasher - don't update GTK outside the main thread. 2008-02-26 Gabriel Burt This commit brings back a thread-safe database layer. Unfortunately, that currently means switching back to the deprecated Mono.Data.SqliteClient library. Mono.Data.Sqlite does not allow executing a command in one thread and reading it in another, where M.D.SqliteClient does. * Makefile.am: Add BANSHEE_DEV_MONO_OPTIONS env var to enable setting --profile=default:stat for example to run with make run. * build/build.environment.mk: Depend on Mono.Data.SqliteClient again. Mono.Data.Sqlite requires that even reading the results of a query must be done in the same thread that ran the query/owns the connection. * src/Core/Banshee.Core/Banshee.IO/Provider.cs: Clean up. * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/Migrator.cs: * src/Core/Banshee.Services/Banshee.Configuration/DatabaseConfigurationClient.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryAlbumInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryArtistInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: New HyenaSqliteConnection API. * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: Get rid of unused ctor and execute useful performance-related PRAGMAs. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Use HyenaSqliteConnection's utility methods, new API. Add UserJob to rescan a user's songs when migrating over in order to get fields we now store in the database - like Disc, etc. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Get rid of ProxyToMain call. * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Add null check. * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Reorder loading of Library, Library playlists. * src/Core/Banshee.Services/Banshee.PlayerMigration/AmarokPlayerImportSource.cs: Use Mono.Data.SqliteClient. * src/Core/Banshee.Services/Banshee.ServiceStack/UserJob.cs: Avoid duplication in ctors. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Increase the delay betwen refreshes. * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs: Get rid of ProxyToMain calls. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Do not login to Last.fm radio until a source is activated. * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: Convert longs in a different way that M.D.SqliteClient likes. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: Combined with QueuedSqliteCommand code, meant to be called by threaded/queued HyenaSqliteConnection. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: Combined with QueuedSqliteDatabase code (from F-Spot's copy). Supports blocking other threads during transactions and has no busy-waits. 2008-02-26 Aaron Bockover * ChangeLog: Fixed all the improper formatting that has been committed to this file lately. Wrote a guide that describes the proper formatting procedure for this file http://banshee-project.org/ChangeLogForDevelopers * HACKING: Updated with above link 2008-02-25 Alexander Hixon * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Attempt to queue the currently playing track when we dispose the service, in case it's scrobbable, but the user quit before hitting the next button to send it off to the server. It gets queued until next start. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Fix TrackInfoDisplay by making sure we pass the correct EventMasks so that we don't bombard the user with cover art on track change, if the user had shown the cover art popup previously in the session. Also fixes hiding the cover art popup after the correct amount of time. * src/Libraries/Lastfm/Lastfm/RadioConnection.cs: * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: * src/Libraries/Lastfm/Lastfm/LastfmCore.cs: Remove Account from constructors for RadioConnection and AudioscrobblerConnection. Also get the Connections to reference LastfmCore.Account rather than keeping track of their own copy. 2008-02-24 Alexander Hixon * src/Libraries/Lastfm/Lastfm/RadioConnection.cs: * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Remove class- based UserAgent properties, values and constructor arguments. Use LastfmCore.UserAgent instead. * src/Libraries/Lastfm/Lastfm/LastfmCore.cs: Simplify UserAgent's setter, and update instance creation to reflect changes in ctor definitions. 2008-02-23 Alexander Hixon * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/TrackInfoPopup.cs: Decrease spacing between time and progress bar. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: * src/Libraries/Lastfm/Lastfm/LastfmCore.cs: Use LastfmCore as a singleton to access Last.fm classes. * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Provide support for user agent when sending requests to Audioscrobbler servers. Can be passed via ctor or by setting the UserAgent property. Also marked ctor as internal. * src/Libraries/Lastfm/Lastfm/RadioConnection.cs: Added UserAgent property. Marked ctor as internal. * src/Libraries/Lastfm/Lastfm/Account.cs: Remove the static Account instance, since it's now provided by LastfmCore as a singleton. 2008-02-23 Scott Peterson * src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs, * src/Core/Banshee.Services/Banshee.PlayerMigration/AmarokPlayerImportSource.cs: Renamed DoImport to ImportCore as per Framework Design Guidelines, also slapped the new keyword onto the static AmarokPlayerImportSource.CanImport property to get rid of the warning about it hiding a base member of the same name (which it should). 2008-02-23 Alexander Hixon * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: Get track duration and progress information before showing the popup and relying on the fact that we're playing to determine the progress label text. Showing the popup during a paused song now works. * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/TrackInfoPopup.cs: Add some padding around the TrackInfoDisplay to pretty things up slightly and line up the cover art. * src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginForm.cs: Don't try to run Account.Save if the username or password haven't changed since the time the dialog was opened till the time it closed. Prevents reconnecting if you simply open the dialog and close it again. 2008-02-23 Alexander Hixon * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/TrackInfoPopup.cs: Added LinearProgress hotness. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedSeekSlider.cs: Fixed a bug where the user would change tracks while a track was mid-way through being buffered, and the first track's buffering result would cover up the song duration/progress information. 2008-02-23 Alexander Hixon * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Rewrote the SongTimer class to use PlayerEngine.Position. Doesn't rely on PlayerEngineState events anymore. This also means that SongTimer works well while listening to songs on Last.fm. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs: * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Implement MusicBrainzId property and using that data to generate requests to Last.fm. Currently isn't attached to any real data source, so the ID is always empty. 2008-02-23 Alexander Hixon * src/Core/Banshee.ThickClient/Banshee.Gui/BaseClientWindow.cs: Port fix across from stable so that using Alt+F4 to close the main window works again. 2008-02-23 Alexander Hixon * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Remove a few bits of commented code. Added Stock.Properties icon for the Configure menu item. * src/Core/Banshee.ThickClient/Banshee.Gui/ViewActions.cs: Added Ctrl+E keyboard shortcut for equalizer window. * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: Added Stock.Preferences icon for Preferences menu item. * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Added E keyboard shortcut for track editor dialog. 2008-02-23 Alexander Hixon * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Use the static instance of Account shared by others, rather than creating a seperate instance. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Added support for keeping track of network connection state and automatically connecting. Also included better debugging messages. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Fix queuing tracks that have actually been played long enough but were not submitted. Also added a few simple checks to see if the current track attempting to be queued is null or has been listened to for less than one second. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs: Send tracks with the correct original play-start time (instead of double-universal time). * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Make sure that errors when POSTing the current track being listened to aren't displayed to the user via the HIG message dialog - log them silently to console instead. 2008-02-22 Alexander Hixon * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: Use a slightly less brain-dead method of checking the total length of the track played. Skipping through a track but playing the correct length for inclusion on a Last.fm profile now works correctly. Also added support for sending NowPlaying information. * src/Libraries/Lastfm/Lastfm/Account.cs: Create an 'Instance' property for use via multiple modules. * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: Uncommented and exposed NowPlaying method, so that Last.fm lists the current track as playing. 2008-02-22 Alexander Hixon * src/Extensions/Banshee.Audioscrobbler: Mark this as removed in SVN. Accidentally missed in previous revision. * src/Extensions/Banshee.Lastfm/Resources/AudioscrobblerMenu.xml: Added missing file, enables Audioscrobbler extension service to load without error. 2008-02-22 Alexander Hixon * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml: Cleaned version of the Audioscrobbler plugin from stable. Glue to hook up player engine and AudioscrobblerConnection logic lives here. * src/Libraries/Lastfm/Lastfm/AudioscrobblerConnection.cs: * src/Libraries/Lastfm/Lastfm/IQueue.cs: Seperate out web bits and queue interface into our Last.fm library. Uses version 1.2 of the Last.fm protocol. * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: Added 'Tools' menu. 2008-02-22 Scott Peterson * src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs: Minor fix for fetching the UserJob's Title. 2008-02-22 Scott Peterson * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs, * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: HyenaSqliteConnection.GetSchema now returns an IDictionary rather than a Dictionary. 2008-02-22 Scott Peterson * src/Core/Banshee.Services/Banshee.Library/ImportSourceManager.cs, * src/Core/Banshee.Services/Banshee.PlayerMigration/AmarokPlayerImportSource.cs: Minor change to Amarok's CanImport property name. 2008-02-21 Gabriel Burt * build/build.environment.mk: * configure.ac: * src/Clients/Nereid/Nereid/Client.cs: * src/Extensions/Banshee.Skins/Banshee.Skins.addin.xml: * src/Extensions/Banshee.Skins/Banshee.Skins.mdp: * src/Extensions/Banshee.Skins/Banshee.Skins/SkinManager.cs: * src/Extensions/Banshee.Skins/Makefile.am: * src/Extensions/Banshee.Skins/Resources/GlobalUI.xml: * src/Extensions/Makefile.am: New extension for switching skins (*.gtkrc files under ~/.config/plugins/skins/). 2008-02-21 Gabriel Burt * src/Libraries/Hyena/Hyena.Query/DateQueryValue.cs: Make the regex static. * src/Libraries/Lastfm/Lastfm.Data/DataEntryCollection.cs: * src/Libraries/Lastfm/Lastfm.Data/DataEntry.cs: Enforce the Root as being a XmlElement, and if it doesn't have a child element of the requied name, see if it has an attribute. 2008-02-21 Gabriel Burt * src/Libraries/Hyena/Hyena.Query/DateQueryValue.cs: Cleanup. 2008-02-21 Gabriel Burt * build/build.environment.mk: Add Mono.Unix dep to Hyena so strings can be translated, like they already could be in Hyena.Gui. * src/Core/Banshee.Services/Banshee.Base/RateLimiter.cs: Add option to not run wrapped method immediately, but to have a delay first. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Implement DependsOn using depth-first scan of the ConditionTree. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Set a 10ms delay before responding to OnTrackUpdated. * src/Core/Banshee.ThickClient/Banshee.Query.Gui/SmartPlaylistQueryValueEntry.cs: Check if Editor.CurrentlyEditing is set, and if so, do not put the current playlist or ones that depend on it in the dropdown. * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs: Expose through a public static property what Smart Playlist is currently being edited. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryBox.cs: Add and use a Gtk.Entry if the query is more complicated than our GUI can handle. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs: Clean. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryTermsBox.cs: Make methods protected instead of public, throw exception if unable to handle the QueryNode given. * src/Libraries/Hyena/Hyena.Query/DateQueryValue.cs: Support parsing and generating relative-date user queries. * src/Libraries/Hyena/Hyena.Query/FileSizeQueryValue.cs: Put a space between the file size and its unit. * src/Libraries/Hyena/Hyena.Query/IntegerQueryValue.cs: Change the default alias for the Equal operator to "=" instead of "==". * src/Libraries/Hyena/Hyena.Query/QueryListNode.cs: Use ' or ' instead of ', ' to separate OR'd nodes in generated user queries. * src/Libraries/Hyena/Hyena.Query/UserQueryParser.cs: Add a static Parse method for convenience. 2008-02-21 Scott Peterson * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Changed it so that the "Sort Children" option appears only if there are two or more children of a source: a list of one is always sorted :) 2008-02-21 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Add DateUpdated property and update it in Save method. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Rename DiscNumber to Disc to avoid automatic column creation. Fix issue with DateUpdatedStamp not being created, and use DateAdded as its default value for migrated tracks. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Use the Source property on DatabaseTrackInfo instead of SourceId. Remove reload call to Library since it saving the tracks automatically triggers it now. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Increase minimum time between reloads. * src/Core/Banshee.Services/Banshee.Sources/ErrorSource.cs: Implement IUnmapableSource. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Add TracksUpdated event. * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Try to popdown the menu before rating. * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Add custom context menu for ErrorSource. * src/Libraries/Hyena/Hyena/Log.cs: Make log type string all the same length so they line up better. 2008-02-21 Scott Peterson This commit begins to port the player migration namespace from stable into trunk. I've only done the Amarok importer as a proof-of-concept and I haven't tested it. This commit is more about laying out the namespace/object design for the player migration stuff for critique. What is presented here in this patch is subject to change if anyone wants to massage it a little more. Otherwise I'll go ahead with porting/testing the other player migrators. So please provide feedback! * src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs: Added a base class for IImportSources which will perform a single-method import operation in a ThreadPool thread. * src/Core/Banshee.Services/Banshee.Library/ImportSourceManager.cs: Added Amarok importer to import sources. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Created a new public method AddTrackToLibrary, which contains the logic for adding a track to the library and hooking up the related Artist and Album infos. * src/Core/Banshee.Services/Banshee.PlayerMigration/AmarokPlayerImportSource.cs: Ported the Amarok importer from stable. NOTE: I don't have Amarok - and it's 3am - so I haven't tested this. It needs testing! SOMEONE TEST THIS!!! 2008-02-20 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: If possible, set album art on the lists of tracks. Unfortunately the Last.fm feed for recently loved songs doesn't include the album name, so no cover art there. * src/Libraries/Lastfm/Lastfm.Data/DataEntry.cs: Add new Entry types for Artist data. * src/Libraries/Lastfm/Makefile.am: * src/Libraries/Lastfm/Lastfm.Data/LastfmArtistData.cs: Expose artist-related data. 2008-02-20 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: Fix numbering. 2008-02-20 Gabriel Burt * src/Core/Banshee.Services/Banshee.Web/Browser.cs: Add implementation, gleaned from MonoDevelop. * src/Core/Banshee.Widgets/Makefile.am: * src/Core/Banshee.Widgets/Banshee.Widgets/MenuTile.cs: Subclass of Tile that overrides the OnButtonPress so it can be used to pop up a menu. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Add actions and handlers for artists, albums, and tracks that go to various websites (Last.fm, Wikipedia) and other fun things. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: Add two lists: 10 most recently played songs, and 10 most recently loved. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationType.cs: Break types out into public static variables. * src/Extensions/Banshee.Lastfm/Resources/GlobalUI.xml: Add Popups for artists, albums, and tracks. Currently only tracks is actually used. * src/Libraries/Lastfm/Makefile.am: * src/Libraries/Lastfm/Lastfm.Data/UserData.cs: * src/Libraries/Lastfm/Lastfm.Data/LastfmUserData.cs: Move to LastfmUserData, and change API - expose as properites data that doesn't take any arguments. Cache results in a local dictionary to avoid hitting the network every time property is accessed. * src/Libraries/Lastfm/Lastfm.Data/LastfmData.cs: Add Refresh method that will ignore the cache. * src/Libraries/Lastfm/Lastfm/RadioConnection.cs: Add comment with unimplemented xmlrpc methods. * src/Libraries/Lastfm/Test.cs: Update to new API. 2008-02-20 Gabriel Burt This commit adds a CorePrimarySources table and a SourceID column to the CoreTracks table, allowing non-Library tracks to be stored there (and therefore benefit from our searching, playlist, smart playlist, and view code). * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.Base/RateLimiter.cs: Allow specifying a min_interval on each rate-limited execute. * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs: Rename to DatabaseTrackInfo, add SourceId property. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Add new CorePrimarySources table, add SourceID to CoreTracks, remove unique constraint on CorePlaylistEntries. * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: When importing set the SourceId on the new DatabaseTrackInfos. * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: Refactor a lot of logic into PrimarySource, and inherit from it. * src/Core/Banshee.Services/Banshee.Library/HomeDirectoryImportSource.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistFileUtil.cs: Use shorter way of getting a specific service from the ServiceManager. * src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: New class to be subclassed by LibrarySource, DaapSource, DapSource, etc - a way of reusing CoreTracks and all associated goodness for non-Library tracks. * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Add Library convenience property. * src/Core/Banshee.Services/Banshee.Services.mdp: * src/Core/Banshee.Services/Makefile.am: Updated * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Use DatabaseTrackInfo. * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: Avoid problem in Mono.Data.Sqlite in getting Int64 value. * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: Add convience methods for Query, Execute, ExecuteReader that accept the same parameters as the HyenaSqliteCommand ctor does, allowing Query("select x from y where ?", z) instead of Query(new HyenaSqliteCommand ("select x from y where ?", z)). * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Add try/catch around Load method to avoid crashing and provide debugging if there are issues loading a row into an object. 2008-02-20 Aaron Bockover * src/Core/Banshee.Services/Banshee.MediaEngine/NullPlayerEngine.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/MessageBar.cs: Minor fixes for Windows * win-deps/Mono.Addins.dll.config: Added the .config for Mono.Addins 2008-02-20 Aaron Bockover * src/Clients/Nereid/Nereid/PlayerInterface.cs: If control is being held down when the source view activates a row, set the source to be the playback source, but do not play the first song in that source - this means that ctrl+double-clicking a source will 'queue' that source to play next * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Make sure the editor button works on all database sources * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Because the ctrl+click behavior is strange on this use of the tree view, override it and emulate the row activation * src/Libraries/Hyena.Gui/Hyena.Gui/GtkUtilities.cs: Support reading modifier states from Gdk.EventButton as well; make the array params 2008-02-20 Aaron Bockover * src/Core/Banshee.Services/Banshee.Library/ImportSourceManager.cs: Fixed loading after Scott's commit, defer the loading of these import objects until they are actually needed to improve theoretical startup speed * src/Core/Banshee.Services/Banshee.Library/IImportSource.cs: Added the CanImport member that Scott used in IExtensionImportSource * src/Core/Banshee.Services/Banshee.Library/IExtensionImportSource.cs: Removed, no sense in having this interface * src/Core/Banshee.Services/Banshee.Library/HomeDirectoryImportSource.cs: * src/Core/Banshee.ThickClient/Banshee.Library.Gui/FileImportSource.cs: * src/Core/Banshee.ThickClient/Banshee.Library.Gui/FolderImportSource.cs: Implement CanImport 2008-02-19 Scott Peterson * src/Core/Banshee.Services/Banshee.Library/IExtensionImportSource.cs: Added copyright name. 2008-02-19 Scott Peterson * src/Core/Banshee.Services/Banshee.Library/IExtensionImportSource.cs: Added the IExtensionImportSource interface which extends the IImportSource interface to include bool CanImport { get; }. This means that an extension-provided import source will only be added to the list if the import source can be imported. Such a check might entail determining whether Beagle is installed, or a particular file (other music player's db) is present, &c.. * src/Core/Banshee.Services/Banshee.Library/ImportSourceManager.cs: Made to use the new IExtensionImportSource when adding extension sources to the list of availible import sources. 2008-02-19 Aaron Bockover * src/Clients/Nereid/Nereid/PlayerInterface.cs: Apply the window default background to override the toolbar background instead of just a flat colored rectangle; should play nicer with some themes * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Apply a default background and override OnUnrealized and OnUnmapped * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Remove WidgetFlags.Realized in OnUnrealized 2008-02-19 Aaron Bockover * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Added the skip song feature back 2008-02-19 Aaron Bockover * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: Ported the show/hide TrackInfoPopup/tooltip when the mouse cursor is over the notification area icon * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/TrackInfoPopup.cs: Ported the TrackInfoPopup/tooltip to use the new TrackInfoDisplay * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Implemented proper managed resource disposing and set the current track on size allocation * src/Clients/Nereid/Nereid/PlayerInterface.cs: Set the title of the window to the track information * src/Core/Banshee.ThickClient/Banshee.Gui/BaseClientWindow.cs: Added a TitleChanged event and an UpdateTitle abstract method * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/GtkNotificationAreaBox.cs: Set the tooltip to the primary window's title, track it when it changes * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/INotificationAreaBox.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Added a proxy method for player engine events * src/Extensions/Banshee.NotificationArea/Notifications/Notification.cs: Do not crash when Widget is null 2008-02-19 Aaron Bockover * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Ported notification bubbles. Hawt. 4 u snorp lol. * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs: Added constant VolumeDelta and SkipDelta public fields * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs: Don't use the redundant string parameter version of ServiceManager.Get * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/GtkNotificationAreaBox.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/INotificationAreaBox.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: Added a Widget property for the notifications to use * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationArea.cs: Ignore some other crappy warnings 2008-02-19 Gabriel Burt * src/Core/Banshee.Services/Banshee.Playlists.Formats/M3uPlaylistFormat.cs: * src/Core/Banshee.Services/Banshee.Playlists.Formats/PlsPlaylistFormat.cs: Uncomment out Save methods, and modify to work with TrackListModel. * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: Work on ImportPlaylistAction - still not enabled/working. * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Add ExportPlaylistAction handler. * src/Core/Banshee.ThickClient/Makefile.am: * src/Core/Banshee.ThickClient/Banshee.Playlist.Gui/PlaylistExportDialog.cs: Ported from stable. * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Add Export playlist action to source context menu and edit menu. 2008-02-19 Gabriel Burt * src/Clients/Nereid/Nereid/PlayerInterface.cs: Fix bug in getting sources' custom views. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.mdp: * src/Extensions/Banshee.Lastfm/Makefile.am: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs: New class, shows how sources can set custom views. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Set the custom view, allow activating. 2008-02-19 Gabriel Burt * src/Extensions/Banshee.Lastfm/Resources/Banshee.Lastfm.addin.xml: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.mdp: * src/Extensions/Banshee.Lastfm/Makefile.am: Move the addin.xml file up from Resources. 2008-02-19 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ISourceContents.cs: New interface. * src/Clients/Nereid/Nereid/PlayerInterface.cs: When the ActiveSource is changed, call ISourceContents.ResetSource on the current SourceContents. Check the new source for a NereidSourceContents property and use it if it exists (allowing Sources to define custom views). And finally call ISourceContents.SetSource on the new SourceContents. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/CompositeTrackListView.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs: Move to Banshee.Sources.Gui and implement ISourceContents. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ObjectListSourceContents.cs: New class that wraps a ObjectListView in a ScrolledWindow and implements ISourceContents. * src/Clients/Nereid/Nereid/ViewContainer.cs: Defined Contents as a ISourceContents not a Widget. * src/Core/Banshee.ThickClient/Makefile.am: Updated. 2008-02-19 Aaron Bockover This commit adds most of the functionality of the notification area back, and adds a new layer of cross platform support, so it should work on Windows with limited functionality since Windows doesn't support what the raw X11 version can * src/Clients/Nereid/Nereid/PlayerInterface.cs: * src/Clients/Nereid/Nereid/PlayerWindowSchema.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/BaseClientWindow.cs: Moved some windowing/state functionality into BaseClientWindow; includes stuff like ToggleVisibility * src/Core/Banshee.ThickClient/Banshee.Gui/GtkElementsService.cs: Expose PrimaryWindow as BaseClientWindow and added the PrimaryCloseHandler * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Major refactor of the notification area; get most of the basic interaction functionality working again (clicking the icon, toggling window visibility, popup menu; push the actual notification area down a level into the new INotificationAreaBox abstraction, implementing common events in the service layer * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/INotificationAreaBox.cs: An interface to expose common functionality of the area boxes so that the service can implement common functionality once * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/X11NotificationAreaBox.cs: An advanced INotificationAreaBox implementation that supports more events on the notification area; this is functionally on par with Banshee stable but will only work on X11; when it fails, GtkNotificationAreaBox will work * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/GtkNotificationAreaBox.cs: An INotificationAreaBox implementation that wraps GtkStatusIcon; this is a very basic one since the GtkStatusApi is extremely limited due to cross platform support; only the context menu and left click are supported, but it will work on Windows 2008-02-18 Aaron Bockover * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Removed duplicate using declaration * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: Added a property to get the LastfmActions * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: When the lastfm error is account related, add a message action to allow the user to enter their account details * src/Libraries/Hyena.Gui/Hyena.Widgets/MessageBar.cs: Fix a few bugs * src/Libraries/Lastfm/Lastfm/RadioConnection.cs: Lots of tabs->spaces 2008-02-18 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: Disable the extension manager UI for now 2008-02-18 Aaron Bockover * src/Extensions/Banshee.Lastfm/Resources/GlobalUI.xml: Hide the love/ban from the menu since it doesn't make sense yet * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Hide menu items that don't apply when the source is not library-based 2008-02-18 Aaron Bockover * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmActions.cs: Implement love/hate actions * src/Extensions/Banshee.Lastfm/Resources/GlobalUI.xml: Add love/hate buttons to the header * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeIconFactory.cs: Allow new theme icons to be mapped into stock publicly 2008-02-18 Aaron Bockover * src/Libraries/Lastfm/Lastfm/RadioConnection.cs: Make the network connection handshake run in a thread again 2008-02-18 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedMessageBar.cs: Set some default spacing * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListViewGraphics.cs: Add a version of DrawFrame that takes a color * src/Libraries/Hyena.Gui/Hyena.Widgets/MessageBar.cs: Draw our nice rounded frame and set a good default padding 2008-02-18 Aaron Bockover * src/Clients/Nereid/Nereid/ViewContainer.cs: Pack a ConnectedMessageBar * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceIconResolver.cs: Pulled the icon resolver out of SourceRowRenderer since sources may have multiple icons and it's useful outside of the renderer * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/ConnectedMessageBar.cs: Works against a number of standardized Message.* properties that can be set on a source's PropertyStore; this allows sources to communicate status messages easily to the user * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Use the new Message.* properties to communicate status messages to the user * src/Libraries/Hyena/Hyena.Data/PropertyStore.cs: Added RemoveStartingWith * src/Libraries/Hyena.Gui/Hyena.Gui.Theatrics/Actor.cs: Added a CanExpire property; reset the percentage to 0 when it reaches 1 and the actor is not allowed to expire * src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedImage.cs: * src/Libraries/Hyena.Gui/Hyena.Widgets/MessageBar.cs: Ported/moved from Banshee.Widgets; AnimatedImage works better and uses Hyena.Gui.Theatrics * src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Send the expose events to children * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Sources/ErrorSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs: * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Updated to reflect the property name change from IconName to Icon.Name 2008-02-18 Scott Peterson * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Changed LoadAll method to return IEnumerable rather than List. Since the method is only ever iterated over, we can do away with the List object. 2008-02-17 Gabriel Burt * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Avoid hitting the model/database when clicking where there is no row. 2008-02-17 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Add Genre columsn to CoreTracks, and support it as a query field, query order, and ListView column. 2008-02-17 Gabriel Burt * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Change LastPlayed and DateAdded order names. * src/Core/Banshee.Services/Banshee.SmartPlaylist/Migrator.cs: Wrap the migration in a transaction, print error message if it fails. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: Only initialize if the migration was successful. * src/Libraries/Hyena.Gui/Hyena.Query.Gui/QueryLimitBox.cs: BansheeQuery's Orders array has nulls in it to indicate where separators would be nice - actually implement those in the ComboBox. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Improve comment. 2008-02-16 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Only keep the last five played or skipped songs. 2008-02-16 Gabriel Burt * src/Libraries/Lastfm/Test.cs: * src/Libraries/Lastfm.Gui/Test.cs: Add tests. 2008-02-16 Gabriel Burt * src/Libraries/Lastfm/Lastfm/Connection.cs: * src/Libraries/Lastfm/Lastfm/RadioConnection.cs: Rename to RadioConnection.cs * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Use RadioConnection. 2008-02-16 Gabriel Burt * src/Extensions/Banshee.Lastfm/*: Grr, overwrote Aaron's last fixes with my svn mv, since I'd initiated it locally before svn up'ing his changes. 2008-02-16 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm: Move Banshee.Lastfm to Banshee.Lastfm.Radio in preparation for merging the Audioscrobbler and Recommendations plugins. 2008-02-16 Gabriel Burt This commit adds support for most of the user-particular data feeds Audioscrobbler offers into Lastfm.dll, our Banshee-independent Lastfm library. * src/Libraries/Lastfm/Lastfm.Data/LastfmDataCollection.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopTracks.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopArtists.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopData.cs: * src/Libraries/Lastfm/Lastfm.Data/Profile.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopAlbums.cs: Removed files. * src/Libraries/Lastfm/Test.cs: * src/Libraries/Lastfm.Gui/Test.cs: Moved test to Lastfm.Gui. * src/Libraries/Lastfm/Lastfm.Data/DataCore.cs: New static class for doing initialization and settings. * src/Libraries/Lastfm/Lastfm.Data/DataEntryCollection.cs: New class that wraps a XmlNodeList. * src/Libraries/Lastfm/Makefile.am: Updates, add make test rule. * src/Libraries/Lastfm/Lastfm.Data/DataEntry.cs: Move all DataEntry subclasses here. There are too many to have in separate classes (and the header/code ratio is really high). * src/Libraries/Lastfm/Lastfm.Data/UserData.cs: Wrap almost all of the Last.fm data feeds that pertain to a particular user. * src/Libraries/Lastfm/Lastfm.Data/LastfmData.cs: Update for DataCore changes, and instantiate and wrap a DataEntryCollection. 2008-02-16 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Set RowSensitivePropertyName to 'CanPlay' * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: * src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Added a RowSensitivePropertyName property, defaulting to 'Sensitive'; objects in the model will be queried for this property to indicate whether the object is sensitive (enabled) or not; render the row's sensitivity * src/Libraries/Lastfm/Lastfm/Connection.cs: Clear the password if invalid 2008-02-16 Aaron Bockover * src/Libraries/Lastfm/Lastfm/Account.cs: Renamed Username to UserName * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmActions.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmSource.cs: * src/Libraries/Lastfm.Gui/Lastfm.Gui/AccountLoginForm.cs: * src/Libraries/Lastfm/Lastfm/Connection.cs: Use the UserName property * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/StationSource.cs: Store the MD5 hashed last.fm password * src/Libraries/Hyena/Hyena/CryptoUtil.cs: Moved some MD5 methods from Last.fm to here * tests/Hyena/CryptoUtilTests.cs: Tests for CryptoUtil 2008-02-16 Aaron Bockover * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Fixed bug with the new NullPlayerEngine fallback loading 2008-02-16 Aaron Bockover * src/Core/Banshee.Core/Banshee.Base/PlatformHacks.cs: Only run these hacks if we are on Unix, and don't crash even if we are and they fail * src/Core/Banshee.Services/Banshee.MediaEngine/NullPlayerEngine.cs: A fake engine that does nothing, used to allow Banshee to at least start up on Windows without libbanshee * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: Load the NullPlayerEngine if no real engines could be loaded * src/Core/Banshee.Services/Banshee.ServiceStack/DBusServiceManager.cs: Disable DBus support if BusG.Init fails * src/Libraries/Hyena.Gui/Hyena.Data.Gui/CairoHelper.cs: Do not P/Invoke to get the cairo context, instead use Gdk.CairoHelper 2008-02-16 Aaron Bockover * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: Added a necessary null check and return default (T) for the generic Query method that Scott introduced - fixes the bug everyone has been complaining about 2008-02-16 Aaron Bockover Moved Nereid from Core/ to Clients/; fixed up a lot of MonoDevelop stuff 2008-02-15 Aaron Bockover * build/build.environment.mk: Link against ICSharpCode.SharpZipLib * configure.ac: Check for Mono.Data.Sqlite instead of Mono.Data.SqliteClient 2008-02-15 Gabriel Burt * src/Libraries/Lastfm/Lastfm.Data/UserTopArtists.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopData.cs: * src/Libraries/Lastfm/Lastfm.Data/Profile.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopAlbums.cs: * src/Libraries/Lastfm/Lastfm.Data/UserData.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopTracks.cs: Remove unnecessary usings. 2008-02-15 Gabriel Burt * src/Libraries/Lastfm/Lastfm/Connection.cs: Fix warnings. * src/Libraries/Lastfm/Makefile.am: * src/Libraries/Lastfm/Lastfm.Data: Add new namespace. * src/Libraries/Lastfm/Lastfm.Data/DataEntry.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopArtists.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopData.cs: * src/Libraries/Lastfm/Lastfm.Data/LastfmDataCollection.cs: * src/Libraries/Lastfm/Lastfm.Data/LastfmData.cs: * src/Libraries/Lastfm/Lastfm.Data/Profile.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopAlbums.cs: * src/Libraries/Lastfm/Lastfm.Data/UserData.cs: * src/Libraries/Lastfm/Lastfm.Data/UserTopTracks.cs: New files that expose Last.fm metadata. 2008-02-14 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmActions.cs: Handle SourcePropertiesAction for LastfmSource and StationSources. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/StationSource.cs: Set HasProperties = true so Edit Properties action shows up. 2008-02-14 Gabriel Burt * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteUtils.cs: Forgot to svn add. 2008-02-14 Gabriel Burt * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/StationSource.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: * src/Libraries/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: * src/Libraries/Hyena/Hyena.mdp: * src/Libraries/Hyena/Makefile.am: The last commit reverted some of scottp's changes due to svn mv'ing files that weren't up to date. 2008-02-14 Gabriel Burt The Last.fm extension can actually play music now. Still need to port the status bar. Also, moved Hyena and Hyena.Gui out of Core and into Libraries. * build/build.environment.mk: Libraries/Lastfm depends on Libraries/Hyena for logging. * configure.ac: * src/Banshee.mds: * src/Core/Banshee.Core/Makefile.am: * src/Core/Core.mds: Reflect new organization. * src/Libraries/Hyena/Makefile.am: * src/Libraries/Hyena/Hyena.mdp: * src/Core/Banshee.Core/Banshee.Core.mdp: * src/Core/Banshee.Core/Banshee.Base/Log.cs: * src/Libraries/Hyena/Hyena/Log.cs: Move Log to Hyena, replace ApplicationContext dep with Debugging property. * src/Core/Banshee.Core/Banshee.Collection/UnknownTrackInfo.cs: * src/Core/Banshee.Core/Banshee.Collection/SampleTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryTrackInfo.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs: * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Add/use properties for all attributes - the flags are way to painful an API. * src/Core/Banshee.Services/Banshee.Services.mdp: * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Fix whitespace. If the defining assembly for a source is not Banshee.Services, record it for use when retrieving resources. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs: * src/Extensions/Banshee.MultimediaKeys/Banshee.MultimediaKeys/MultimediaKeysService.cs: * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: * src/Backends/Banshee.Unix/Banshee.IO.Unix/Directory.cs: * src/Core/Banshee.Core/Banshee.Configuration/ConfigurationClient.cs: * src/Core/Banshee.Core/Banshee.IO/Provider.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Collection/ImportManager.cs: * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: * src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs: * src/Core/Banshee.Services/Banshee.Metadata.MusicBrainz/MusicBrainzQueryJob.cs: * src/Core/Banshee.Services/Banshee.Metadata.Rhapsody/RhapsodyQueryJob.cs: * src/Core/Banshee.Services/Banshee.Networking/NetworkDetect.cs: * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: * src/Core/Banshee.Services/Banshee.ServiceStack/DBusServiceManager.cs: * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: * src/Core/Banshee.Services/Banshee.Streaming/RadioTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Web/Browser.cs: Add using Hyena. * src/Core/Banshee.Core/Banshee.Base/ApplicationContext.cs: Add static ctor that sets Hyena.Log.Debugging. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/AboutDialog.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/GladeDialog.cs: Add ctor from stable. * src/Core/Banshee.ThickClient/Banshee.Gui/IconThemeUtils.cs: Support loading resources from arbitrary assemblies (eg from extensions). * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Specify the Source's defining assembly as the assembly to load the icon resource from. * src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml: * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Add RefreshSmartPlaylist action to the Edit menu, and add a BelowAddToPlaylist placeholder in the track context menu. * src/Core/Makefile.am: * src/Core/Hyena.Gui/*: * src/Core/Hyena/*: Move Hyena* to src/Libraries * src/Libraries/Makefile.am: * src/Libraries/Libraries.mds: Add Hyena and Hyena.Gui. * src/Extensions/Extensions.mds: Add Banshee.Lastfm. * src/Extensions/Makefile.am: Add Banshee.Lastfm to the build. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.mdp: Reflect new/removed files. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastFMSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmSource.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastFMTrackInfo.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmTrackInfo.cs: * src/Extensions/Banshee.Lastfm/Resources/Banshee.LastFM.addin.xml: * src/Extensions/Banshee.Lastfm/Resources/Banshee.Lastfm.addin.xml: Lower case fm. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmActions.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmTrackListModel.cs: New List based model. * src/Extensions/Banshee.Lastfm/Resources/Actions.xml: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/Plugin.cs: Removed. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/StationEditor.cs: * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/StationSource.cs: Update headers, fix creation/saving, use new model. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/StationType.cs: Update header. * src/Extensions/Banshee.Lastfm/Makefile.am: * src/Extensions/Banshee.Lastfm/Resources/ActiveSourceUI.xml: * src/Extensions/Banshee.Lastfm/Resources/GlobalUI.xml: New action resources. * src/Libraries/Hyena/Hyena.Data/IFilterable.cs: * src/Libraries/Hyena/Hyena.Data/ISortable.cs: Whitespace. * src/Libraries/Hyena/Hyena.Data/PropertyStore.cs: Whitespace, reorder some logic. * src/Libraries/Lastfm.Gui/Lastfm.Gui.mdp: * src/Libraries/Lastfm/Lastfm.mdp: * src/Libraries/Mono.Media/Mono.Media.mdp: New mdp files. * src/Libraries/Lastfm/Lastfm/Account.cs: Remove abstract class modifier. * src/Libraries/Lastfm/Lastfm/Connection.cs: Use Hyena.Log for logging msgs. * src/Libraries/Mono.Media/Makefile.am: * src/Libraries/Mono.Media/Playlists.Xspf/*: * src/Libraries/Mono.Media/Media.Playlists.Xspf/*: Change namespace to Media.Playlists.Xspf. Merge fix for not-quite-compliant Last.fm Playlist files from stable. 2008-02-13 Scott Peterson * src/Core/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Made to use new generic Query method and added GetProperty, SetProperty and ClearProperty. These methods allow you to store/retrieve properties from the database that are not defined in the type T. Suppose you write an extension that needs to keep persistant data on a per-track basis for every track in the library. Rather than define it's own table and join it with CoreTracks, the extension could call LibraryTrackInfo.Provider.GetProperty and SetProperty. This will be used by the iTunes importer at least. * src/Core/Hyena/Hyena.Data.Sqlite/DatabaseColumn.cs: Added DbColumn class for lightweight column descrption, made to use new SqliteUtils class for simple operations, and protected some constructors. * src/Core/Hyena/Hyena.Data.Sqlite/SqliteUtils.cs: Common sqlite-related functions. * src/Core/Hyena/Hyena.Data.Sqlite/HyenaSqliteConnection.cs: Replaced QueryInt32 and QueryString with a new generic Query method. Added ColumnExists(string table_name, string column_name) method. Also reworked the way GetSchema works. * src/Core/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs, * src/Core/Banshee.Services/Banshee.Configuration/DatabaseConfigurationClient.cs, * src/Core/Banshee.Services/Banshee.SmartPlaylist/Migrator.cs: Made to use new generic Query method. * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryTrackInfo.cs: Took advantage of the fact that DbColumn-bound members can now be DateTime or TimeSpan. 2008-02-11 Gabriel Burt * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Remove debugging WriteLines. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Add CanRefresh property that is true if ordered by random. * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Add RefreshSmartPlaylist action to the source toolbar and context menu. * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Fix whitespace, add and handle RefreshSmartPlaylist action. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/Plugin.cs: Get rid of old PluginModuleEntry. 2008-02-11 Gabriel Burt * src/Libraries/Lastfm.Gui/Makefile.am: Forgot to commit this. 2008-02-11 Gabriel Burt * build/build.environment.mk: Add System.Web to Lastfm deps. * src/Core/Banshee.Services/Banshee.Streaming/RadioTrackInfo.cs: Fix broken build; Xspf is now in Mono.Media. * src/Libraries/Lastfm/Last.FM.mdp: Rename. * src/Libraries/Lastfm/Lastfm/Account.cs: Add Updated event. * src/Extensions/Banshee.Lastfm/Banshee.Lastfm/Connection.cs: * src/Libraries/Lastfm/Makefile.am: * src/Libraries/Lastfm/Lastfm/Connection.cs: Move Connection class out of extension, pull out Banshee dependencies. * src/Libraries/Mono.Media/Playlists.Xspf/LinkEntry.cs: * src/Libraries/Mono.Media/Playlists.Xspf/MetaEntry.cs: * src/Libraries/Mono.Media/Playlists.Xspf/Playlist.cs: * src/Libraries/Mono.Media/Playlists.Xspf/Track.cs: * src/Libraries/Mono.Media/Playlists.Xspf/W3CDateTime.cs: * src/Libraries/Mono.Media/Playlists.Xspf/XmlUtil.cs: * src/Libraries/Mono.Media/Playlists.Xspf/XspfBaseObject.cs: Fix headers and namespaces. 2008-02-11 Gabriel Burt * build/build.environment.mk: * configure.ac: * src/Libraries/Makefile.am: * src/Libraries/Mono.Media/Makefile.am: Create Mono.Media library. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Playlists.Formats.Xspf/*: Move to Mono.Media, so it can be used by Lastfm library. 2008-02-11 Gabriel Burt * configure.ac: * src/Extensions/Banshee.LastFM/*: Rename to Banshee.Lastfm. 2008-02-11 Gabriel Burt * src/Libraries/*: Update svn:ignore 2008-02-11 Gabriel Burt * src/Makefile.am: * src/Libraries/Makefile.am: New directory for what was Extras in stable. * build/build.environment.mk: * configure.ac: * src/Libraries/Lastfm/*: * src/Libraries/Lastfm.Gui/*: Bring Last.FM library over from stable, and rip out the Gnome.Keyring dependency. * src/Extensions/Banshee.LastFM/*: Bring Last.FM plugin over from stable. Not part of the default build yet; lots of porting still to do. 2008-02-11 Gabriel Burt * src/Extensions/Banshee.LastFM/*: Copy from stable. 2008-02-11 Aaron Bockover * src/Core/Nereid/Nereid/Client.cs: Load custom gtkrc files from either the user config (~/.config/banshee/gtkrc) or any custom gtkrc shipped with the application * src/Core/Nereid/Nereid/PlayerInterface.cs: Get rid of some whitespace 2008-02-11 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Draw a bottom border on the dragging column 2008-02-11 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/CompositeTrackListView.cs: Major fix that reparents the artist/album/track views when switching browser positions instead of destroying them and rebuilding; fixes a slew of issues with events when switching positions, is much cleaner overall, and probably has some positive (minor) memory implications. Sweet. 2008-02-10 Gabriel Burt * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryTermsBox.cs: Fix warning. 2008-02-10 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.AudioProfiles.Gui/ProfileComboBoxConfigurable.cs: * src/Core/Banshee.ThickClient/Banshee.AudioProfiles.Gui/ProfileConfigurationDialog.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/CompositeTrackListView.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: * src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerWindow.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/PlaylistMenuItem.cs: * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/GtkElementsService.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/ViewActions.cs: * src/Core/Banshee.ThickClient/Banshee.Library.Gui/ImportDialog.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: * src/Core/Banshee.ThickClient/Banshee.ThickClient.mdp: * src/Core/Banshee.ThickClient/Makefile.am: More warnings fixed 2008-02-10 Gabriel Burt This commit greatly improves the smart playlist editor, both in terms of coming up to par with what we have in stable, and in terms of doing that in a clean way. You'll need to blow away your current trunk db to have your smart playlists remigrated. Limits to smart playlists now are functional. You can create and edit smart playlits. * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Move GetSort method to BansheeQuery to provide consistent sorting for smart playlists too. * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: Make LimitCriterion a TEXT field and get rid of OrderDir. Database change, no migration, so run src/nuke-core-tables. * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Add public static QueryOrder and QueryLimit arrays that define the types of sorting and limiting smart playlists can handle. Break QueryFields into separate public static variables in addition to providing FieldSet. Within static constructor, translate Hyena query operators. * src/Core/Banshee.Services/Banshee.Query/SmartPlaylistQueryValue.cs: Inherit from PlaylistQueryValue. * src/Core/Banshee.Services/Banshee.SmartPlaylist/Migrator.cs: Get rid of OrderDir, migrate old smart playlists to use new QueryLimit/Order classes. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: Add QueryOrder, Limit, and LimitValue properties that, if all set, define how a smart playlist is limited. Move list of Orders to BansheeQuery. * src/Core/Banshee.ThickClient/Banshee.Query.Gui/BansheeQueryBox.cs: Add SmartPlaylistQueryValueEntry mapping, and instantiate base class (QueryBox) with BansheeQuery's FieldSet, Orders, and Limits. * src/Core/Hyena.Gui/Hyena.Query.Gui/StringQueryValueEntry.cs: * src/Core/Banshee.ThickClient/Banshee.Query.Gui/PlaylistQueryValueEntry.cs: Specify a fixed widths for value entries. * src/Core/Banshee.ThickClient/Banshee.Query.Gui/SmartPlaylistQueryValueEntry.cs: Exact same thing as PlaylistQueryValueEntry - should probably be merged or factored out. * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs: Update to work with QueryLimit/Order classes and save/restore the limit/order. Update the predefined playlists, though I think they're still broken atm. * src/Core/Banshee.ThickClient/Makefile.am: Add new class. * src/Core/Hyena.Gui/Hyena.Query.Gui/DateQueryValueEntry.cs: Make sure query value and gui are in sync, and set a default combo box value. * src/Core/Hyena.Gui/Hyena.Query.Gui/FileSizeQueryValueEntry.cs: Similar to date value entry, provide a dropdown with MB, GB, etc. * src/Core/Banshee.ThickClient/Banshee.Query.Gui/RatingQueryValueEntry.cs: * src/Core/Hyena.Gui/Hyena.Query.Gui/IntegerQueryValueEntry.cs: Make sure the query value is in sync with the gui. * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryBox.cs: Contains a QueryTermsBox and a QueryLimitBox. Provides the main GUI interface that the smart playlist Editor deals with. * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryLimitBox.cs: New class, a HBox that contains widgetry to limit a smart playlist. * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs: Instead of defining this as a HBox with field, op, value across it, make QueryTermBox not actually a widet, and put its components into their respective VBoxes so that each column is always the same width. * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryTermsBox.cs: New file, a HBox containing VBoxes for field, op, value, and button columns filled by the components of one or more QueryTermBoxes. * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryValueEntry.cs: Set spacing, define default width for entries, and add FileSize entry mapping. * src/Core/Hyena.Gui/Makefile.am: Add new classes. * src/Core/Hyena/Hyena.Query/DateQueryValue.cs: Only offer GreaterThan and LessThan operators, for now at least. * src/Core/Hyena/Hyena.Query/FileSizeQueryValue.cs: Define SetValue method. * src/Core/Hyena/Hyena.Query/QueryLimit.cs: New class used to create named, labelized limit criteria (row based and not). Smart playlists use this to LIMIT their membership if needed. Current, non row-based Limits aren't implemented. * src/Core/Hyena/Hyena.Query/QueryOrder.cs: New class used to create a list of named, labelized orderings. Used in Banshee to give a list of orderings ("selected by") when you limit a smart playlist. * src/Core/Hyena/Hyena.Query/QueryValue.cs: Add ToString override. * src/Core/Hyena/Makefile.am: New files. 2008-02-10 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/PersistentColumnController.cs: Preserve the hard-coded order when loading the column orders and no order could be loaded from configuration * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Make the column titles translatable 2008-02-10 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnController.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Fixed some really bad compiler warnings and made more progress on column show/hide support through the columns menu; visibility now persists * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnHeaderCellText.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ObjectListView.cs: * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs: * src/Core/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: * src/Core/Hyena/Hyena.Query/XmlQueryParser.cs: * src/Core/Hyena/Hyena.SExpEngine/ListFunctionSet.cs: Cleaned up more compiler warnings 2008-02-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: Fixed/disabled more compiler warnings. 2008-02-10 Aaron Bockover * src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs: * src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs: * src/Core/Banshee.Services/Banshee.Playlists.Formats.Xspf/Playlist.cs: * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Fixed more compiler warnings 2008-02-10 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Fix some compiler warnings. 2008-02-10 Aaron Bockover * src/Core/Banshee.Services/Banshee.AudioProfiles/ProfileConfiguration.cs: * src/Core/Banshee.Services/Banshee.AudioProfiles/ProfileManager.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs: * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: * src/Core/Banshee.Services/Banshee.PlaybackController/ICanonicalPlaybackController.cs: Cleaned up a lot of compiler warnings 2008-02-10 Alan McGovern * src/Dap/Banshee.DapCore/Banshee.DapCore/AsyncDevice.cs: Fixed build issue 2008-02-10 Alan McGovern * src/Dap/Banshee.DapCore/Banshee.DapCore/AsyncDevice.cs: Cosmetic changes and fixed a typo in UploadTrack 2008-02-10 Alan McGovern * src/Dap/Banshee.DapCore/Makefile.am * src/Dap/Banshee.DapCore/Banshee.DapCore/AsyncDevice.cs: Added wrapper to make the calls to devices asynchronous 2008-02-10 Alan McGovern * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/Device.cs: Commented out my changes because i can't make em compile ;) 2008-02-10 Alan McGovern * src/Dap/Banshee.DapCore/Banshee.DapCore/IDevice.cs * src/Dap/Banshee.DapCore/Banshee.DapCore/AbstractDevice.cs * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/Device.cs: Updated the interface, implemented the abstract class and made MassStorage inherit from AbstractDevice. 2008-02-10 Scott Peterson * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Assures that all rows in view are rendered. 2008-02-09 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Do not show the 'sort children' menu item if the source does not have children (thanks Scott) 2008-02-09 Aaron Bockover This commit adds initial support to load/save the column settings in the track list; it is not yet complete, also it adds a popup menu for the columns, but it's not done yet and doesn't work * src/Core/Hyena/Hyena/StringUtil.cs: * src/Backends/Banshee.Gnome/Banshee.Gnome/GConfConfigurationClient.cs: * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: * src/Core/Banshee.Core/Banshee.Base/StringUtil.cs: Moved StringUtil into Hyena * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/PersistentColumnController.cs: A wrapper around ColumnController that loads and saves through Banshee.Configuration * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Use PersistentColumnController to load and save settings * src/Core/Hyena.Gui/Hyena.Data.Gui/Column.cs: Added an Id property * src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnController.cs: Added IndexOf and EnableColumnMenu * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: Added a popup menu for selecting which columns are visible * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Fixed reordering logic to work with columns which aren't visible and added right click on the header 2008-02-10 Ruben Vermeersch * src/Dap/Banshee.Dap.MassStorage: Added. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage: Added. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage.addin.xml: Added. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage.mdp: Added. * src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/Device.cs: Added. * src/Dap/Banshee.Dap.MassStorage/Makefile.am: Added. Added a basic Banshee.Dap.MassStorage extension which will be the first device class to be ported, used to test the stack. * src/Dap/Banshee.DapCore/Banshee.DapCore/AbstractDevice.cs: Added. * src/Dap/Banshee.DapCore/Banshee.DapCore/DapCore.cs: Store the extension nodes, not the types themselves. 2008-02-09 Ruben Vermeersch Moved the Banshee.DapCore extension out of src/Extensions/ and into src/Dap/. This folder will house all media device addins. * configure.ac: * src/Dap: Added. * src/Dap/Banshee.DapCore: Copied from src/Extensions/Banshee.DapCore. * src/Dap/Banshee.DapCore/Banshee.DapCore/DeviceClassNode.cs: Removed. * src/Dap/Makefile.am: Added. * src/Extensions/Banshee.DapCore: Removed. * src/Extensions/Banshee.DapCore/Banshee.DapCore: Removed. * src/Extensions/Banshee.DapCore/Banshee.DapCore.mdp: Removed. * src/Extensions/Banshee.DapCore/Banshee.DapCore/DapCore.cs: Removed. * src/Extensions/Banshee.DapCore/Banshee.DapCore/HalCore.cs: Removed. * src/Extensions/Banshee.DapCore/Banshee.DapCore/IDevice.cs: Removed. * src/Extensions/Banshee.DapCore/Makefile.am: Removed. * src/Extensions/Banshee.DapCore/Resources: Removed. * src/Extensions/Banshee.DapCore/Resources/Banshee.DapCore.addin.xml: Removed. * src/Extensions/Banshee.DapCore/hal-sharp: Removed. * src/Extensions/Banshee.DapCore/hal-sharp/Device.cs: Removed. * src/Extensions/Banshee.DapCore/hal-sharp/Manager.cs: Removed. * src/Extensions/Banshee.DapCore/hal-sharp/Volume.cs: Removed. * src/Extensions/Makefile.am: * src/Makefile.am: 2008-02-09 Ruben Vermeersch * src/Extensions/Banshee.DapCore/Banshee.DapCore/DapCore.cs: Get the type from TypeExtensionNode. Use Aaron's trick to get the class name from the node. * src/Extensions/Banshee.DapCore/Banshee.DapCore/DeviceClassNode.cs: Removed. * src/Extensions/Banshee.DapCore/Banshee.DapCore/IDevice.cs: Fix namespace issue. * src/Extensions/Banshee.DapCore/Resources/Banshee.DapCore.addin.xml: Back to TypeExtensionNode. 2008-02-09 Ruben Vermeersch * src/Extensions/Banshee.DapCore/Banshee.DapCore/DapCore.cs: Start porting the device initialization code. * src/Extensions/Banshee.DapCore/Banshee.DapCore/DeviceClassNode.cs: Added. Provides an extension node wich offers types, not instances (this could be useful outside of this extension as well). * src/Extensions/Banshee.DapCore/Banshee.DapCore/HalCore.cs: Don't make manager static (not needed). * src/Extensions/Banshee.DapCore/Banshee.DapCore/IDeviceClass.cs: Will soon be renamed to IDevice. * src/Extensions/Banshee.DapCore/Makefile.am: Add DeviceClassNode. * src/Extensions/Banshee.DapCore/Resources/Banshee.DapCore.addin.xml: Use DeviceClassNode instead of TypeExtensionNode. 2008-02-09 Alan McGovern * src/Extensions/Banshee.DapCore/IDeviceClass.cs: Updated the interface 2008-02-09 Alan McGovern * Banshee.DapCore/IDeviceClass.cs: Slight refactor 2008-02-09 Alan McGovern * Banshee.DapCore/IDeviceClass.cs: Initial ideas for the interface 2008-02-09 Ruben Vermeersch * src/Extensions/Banshee.DapCore/Resources/Banshee.DapCore.addin.xml: Register a new Extension point /Banshee/Dap/DeviceClass. This will be used to register new DAP plugins. Each plugin provides a family of devices (e.g. iPod or MTP). * src/Extensions/Banshee.DapCore/Banshee.DapCore/DapCore.cs: Handle the new extension point. Still need to hook up the initialization code. * src/Extensions/Banshee.DapCore/Banshee.DapCore/IDeviceClass.cs: Added. Currently empty. 2008-02-09 Ruben Vermeersch Add the groundwork for the DapCore plugin. Currently does... nothing. Contains a copy of hal-sharp until we have a properly abstracted HAL. * build/build.environment.mk: Add the dependencies for DapCore. * configure.ac: Generate build files for the new addin. * src/Extensions/Banshee.DapCore: Added. * src/Extensions/Banshee.DapCore/Banshee.DapCore: Added. * src/Extensions/Banshee.DapCore/Banshee.DapCore.mdp: Added. * src/Extensions/Banshee.DapCore/Banshee.DapCore/DapCore.cs: Added. * src/Extensions/Banshee.DapCore/Banshee.DapCore/HalCore.cs: Added. * src/Extensions/Banshee.DapCore/Makefile.am: Added. * src/Extensions/Banshee.DapCore/Resources: Added. * src/Extensions/Banshee.DapCore/Resources/Banshee.DapCore.addin.xml: Added. * src/Extensions/Banshee.DapCore/hal-sharp: Added. * src/Extensions/Banshee.DapCore/hal-sharp/Device.cs: Added. * src/Extensions/Banshee.DapCore/hal-sharp/Manager.cs: Added. * src/Extensions/Banshee.DapCore/hal-sharp/Volume.cs: Added. * src/Extensions/Makefile.am: Add Banshee.DapCore. 2008-02-09 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Finished actual column reordering 2008-02-08 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Fixed double clicking again 2008-02-08 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Implemented most of what is required for column reordering, but not 100% complete yet * src/Core/Hyena.Gui/Hyena.Data.Gui/ListViewGraphics.cs: DrawColumnHighlight now can have an override color * src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnController.cs: Added Reorder 2008-02-08 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Fixes to mouse/button behavior: context menu works on multiple selection again and a single row can be selected (clearing all other rows) inside of a multi-row selection 2008-02-08 Aaron Bockover This commit adds child source sorting on the library and gets rid of any remaining gobject/gtk warnings and other ugly debug spew * build/build.rules.mk: Copy .config files to the output directory if they exist in the source directory * configure.ac: Do not generate the .config for Banshee.Widgets * src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs: If Volume is changed before the engine is initialized then store it temporarily and perform the actual set after initialization * src/Core/Banshee.Services/Banshee.ServiceStack/DBusServiceManager.cs: Use Log to print messages instead of Console.WriteLine * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Added child source sorting back * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Connect the UI and actions to allow child source sorting * src/Core/Banshee.Widgets/Banshee.Widgets.dll.config.in: Remove obsolete maps - the only one we need (and it's not even required) is for libgobject inside of the bacon volume widget 2008-02-08 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Make GtkScrolledWindow happy by overriding OnSetScrollAdjustments to avoid g_warning spewage 2008-02-08 Scott Peterson * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Got rid of extra semicolon; 2008-02-07 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: Support single row selection toggling when CTRL+Space is pressed 2008-02-07 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: Draw the focus row again, make it really sexy by merging it into the selection if it borders one * src/Core/Hyena.Gui/Hyena.Gui/CairoExtensions.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListViewGraphics.cs: Support drawing selections/rounded rectangles that fall through to others 2008-02-07 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Model.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs: * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs: Split ListView.cs into several partial class implementations so maintaining and reading the code is a lot easier since this is a huge class; lots of cosmetic cleanup * src/Core/Hyena.Gui/Hyena.Data.Gui/RowActivatedHandler.cs: Moved to its own file from ListView.cs 2008-02-07 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Implement OnDragSourceSet; the ListView will call this when it's okay for drag sources to be enabled * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView.cs: Added a virtual OnDragSourceSet method that the view will call when drag and drop from the widget is allowed (i.e. when not playing with the header); remove drag sources when the header is pressed, add them back when released 2008-02-07 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Only add the separator to the add to playlist menu if there are actually playlists that can be added to; remove the playlist map and pass the source through the .Data property of the object 2008-02-07 Gabriel Burt * src/Core/Banshee.Services/Banshee.ServiceStack/DBusServiceManager.cs: Comment out super-verbose logging. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Sweet little patch that disconnects the [shift]ctrl-a keybindings while focused in the Artist and Album views. 2008-02-07 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Fix bugs with source actions being out of sync with what's highlighted/active. Open Editor for smart playlists when OnSourceProperties. * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs: If given a smart playlist, set the Hyena.Query.Gui condition. * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs: * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryBox.cs: Add a QueryNode setter so can initialize with an existing query/smart playlist. 2008-02-07 Gabriel Burt * src/Core/Nereid/Nereid/PlayerInterface.cs: Fix bug that prevented using keybindings while in the search entry. 2008-02-07 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Gui.Dialogs/ExceptionDialog.cs: Use AppendFormat instead of allocating a bunch of separate strings; added a platform check to skip collecting kernel, distro, and LSB information if the platform is not Unix; added some exception handling when gathering this information just in case 2008-02-07 Aaron Bockover This commit adds Mono.Unix IO support back, inside the new Unix/POSIX extension; yay cross-platform * src/Backends/Banshee.Unix/Banshee.IO.Unix: Added the Unix IO backend * src/Backends/Banshee.Unix/Banshee.Unix.addin.xml: Extension file for the unix backend * src/Core/Banshee.Core/Banshee.IO/UnixIOProvider.cs: Removed * src/Core/Banshee.Services/Banshee.Services.addin.xml: Removed extension points that belonged in core, not services * build/build.environment.mk: * build/build.rules.mk: * configure.ac: Build foo 2008-02-07 Aaron Bockover This commit adds GConf support back, inside the new GNOME platform extension; yay cross-platform * build/build.environment.mk: * build/m4/banshee/gtk-sharp.m4: Added build foo for gconf and the gnome platform extension * src/Backends/Banshee.Gnome/Banshee.Gnome.addin.xml: Implement the configuration client extension * src/Backends/Banshee.Gnome/Banshee.Gnome/GConfConfigurationClient.cs: A little cleanup * src/Backends/Banshee.Gnome/Banshee.Gnome/GnomeVfs.cs: Removed since it's never really worked well and we'll be adding GIO support soon anyway * src/Core/Banshee.Core/Banshee.Configuration/ConfigurationClient.cs: Whitespace and header fixes, use Mono.Addins to load an configuration client extension, falling back to the built-in XML client * src/Core/Banshee.Core/Banshee.Configuration/IConfigurationClient.cs: * src/Core/Banshee.Core/Banshee.Configuration/SchemaEntry.cs: * src/Core/Banshee.Core/Banshee.Configuration/XmlConfigurationClient.cs: Whitespace and header fixes, just cosmetics * src/Core/Banshee.Core/Banshee.Core.addin.xml: Core now has two extension points (ConfigurationClient and IOProvider) * src/Core/Banshee.Core/Banshee.IO/Provider.cs: Use Mono.Addins to load the preferred IO provider extension, falling back to the internal System.IO provider * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Initialize the configuration layer before booting services 2008-02-06 Gabriel Burt * src/Core/Nereid/Nereid/PlayerInterface.cs: Patch from Alex Hixon adding the track properties button to the bottom bar. Tweaked to be not quite as tall. 2008-02-06 Gabriel Burt This commit fixes the last big hack in Hyena.Query - operators. Operaters are now defined per QueryValue subclass, so you you will never get a contains operator on an int field, for example. A new Hyena.Query.Gui layer provides widegtry for editing queries while allowing custom types to be integrated seamlessly (see RatingQueryValueEntry and PlaylistQueryValueEntry). You can see the progress of reimplementing smart playlist editing by trying to create a new one. It is not by any means finished, so it doesn't actually save yet. * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Collection/TrackListModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Query/BansheeQuery.cs: Move FieldSet, AlbumField, and ArtistField from TrackListDatabaseModel to BansheeQuery. * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Show the smart playlist dialog on New Smart Playlist action. * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Get ArtistField and AlbumField from BansheeQuery, not the TrackListDatabaseModel. * src/Core/Banshee.ThickClient/Banshee.SmartPlaylist.Gui/Editor.cs: Get somewhat working with new Hyena.Query.Gui code. * src/Core/Banshee.Services/Makefile.am: New Banshee.Query classes. * src/Core/Banshee.Services/Banshee.Query/NaturalIntegerQueryValue.cs: * src/Core/Banshee.Services/Banshee.Query/YearQueryValue.cs: * src/Core/Banshee.Services/Banshee.Query/RatingQueryValue.cs: * src/Core/Banshee.Services/Banshee.Query/PlaylistQueryValue.cs: * src/Core/Banshee.Services/Banshee.Query/SmartPlaylistQueryValue.cs: Subclasses of existing Hyena.Query QueryValue types, providing limits and/or default values. * src/Core/Hyena.Gui/Makefile.am: New Hyena.Query.Gui classes. * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryValueEntry.cs: * src/Core/Hyena.Gui/Hyena.Query.Gui/StringQueryValueEntry.cs: * src/Core/Hyena.Gui/Hyena.Query.Gui/IntegerQueryValueEntry.cs: * src/Core/Hyena.Gui/Hyena.Query.Gui/DateQueryValueEntry.cs: New gui classes that define the gui for editing a QueryValue type. * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryBox.cs: New VBox subclass that contains multiple QueryTermBoxes. * src/Core/Hyena.Gui/Hyena.Query.Gui/QueryTermBox.cs: New class that represents one QueryTermNode, and one row/condition in the smart playlist editor. * src/Core/Banshee.ThickClient/Makefile.am: * src/Core/Banshee.ThickClient/Banshee.Query.Gui/RatingQueryValueEntry.cs: * src/Core/Banshee.ThickClient/Banshee.Query.Gui/BansheeQueryBox.cs: * src/Core/Banshee.ThickClient/Banshee.Query.Gui/PlaylistQueryValueEntry.cs: New Banshee-specific query gui classes. * src/Core/Hyena/Makefile.am: * src/Core/Hyena/Hyena.Query/AliasedObjectSet.cs: New generic class for containing a set of of aliased objects. Used by QueryFieldSet and QueryValue's OperatorSet. * src/Core/Hyena/Hyena.Query/QueryValue.cs: Define an OperatorSet for each QueryValue type. * src/Core/Hyena/Hyena.Query/StringQueryValue.cs: Define OperatorSet. * src/Core/Hyena/Hyena.Query/IntegerQueryValue.cs: Add Min/Max/Default value properties, define OperatorSet. * src/Core/Hyena/Hyena.Query/DateQueryValue.cs: Actually use the RelativeDateFactor property. * src/Core/Hyena/Hyena.Query/QueryField.cs: Implement IAliasedObject. * src/Core/Hyena/Hyena.Query/QueryFieldSet.cs: Factor most of the set logic into AliasedObjectSet so it can be reused for Operators. * src/Core/Hyena/Hyena.Query/QueryOperator.cs: Add SqlFormat property instead of doing a switch in QueryTermNode to produce the right SQL for an operator. Get rid of cruft. Add ability to have multiple 'aliases' (user-entered query operators, eg :). * src/Core/Hyena/Hyena.Query/QueryTermNode.cs: Operators are scoped to value types, and have SqlFormat properties; use them. * src/Core/Banshee.Services/Banshee.SmartPlaylist/Migrator.cs: * src/Core/Hyena/Hyena.Query/XmlQueryParser.cs: Operators are scoped to value types now. 2008-02-06 Aaron Bockover Okay, so this is a big one. Probably nasty. This commit temporarily breaks settings saving/loading from GConf and the POSIX IO layer is disabled for now as well; these features will be reimplemented as platform extensions in my next commit; This commit puts us very close to being able to run the managed Banshee core out of the box on Windows and probably OS X. * src/Core/Banshee.Services/Banshee.AudioProfiles/ProfileConfiguration.cs: Applied Scott's from SoC that makes this configuration layer just use the standard configuration APIs in Banshee, so profile configuration is stored using whatever provider is active (GConf, XML); Scott rules. * src/Backends/Banshee.Gnome: Moved out GNOME specific code (GConf, GnomeVFS) into this new platform extension, but it's not complete * src/Core/Banshee.Core/Banshee.Base/RateLimiter.cs: * src/Core/Banshee.Services/Banshee.Base/ThreadAssist.cs: Moved to the service layer since these depend on Application * src/Core/Banshee.Core/Banshee.Base/Resource.cs: * src/Core/Banshee.Core/Banshee.Base/NamingUtil.cs: Moved/fixed these classes out of the old Utilities.cs dumping grounds * src/Core/Banshee.Core/Banshee.Configuration/ConfigurationClient.cs: Do not reference the GConfConfigurationClient; for now the Xml one is hard coded to use until I finish turning the GConf support into a provider - no complaining - the next commit will address it * src/Core/Banshee.Core/Banshee.I18n/AssemblyCatalogAttribute.cs: * src/Core/Banshee.Core/Banshee.I18n/Catalog.cs: Moved/cleaned up the internal Banshee gettext wrapper * src/Core/Banshee.Core/Banshee.IO: Redesigned the IO layer to be easier to extend (soon) through extensions and it now provides a cleaner API to use (no more IOProxy) * src/Core/Banshee.Core/Banshee.IO.SystemIO: Fixed up System.IO provider to implement the new Banshee.IO design changes * src/Core/Banshee.Core/Banshee.Base/FileNamePattern.cs: * src/Core/Banshee.Core/Banshee.Collection/FileTrackInfo.cs: * src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Collection/ImportManager.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistFileUtil.cs: * src/Core/Banshee.Services/Banshee.Playlists.Formats/PlaylistParser.cs: Updated to consume the nicer Banshee.IO APIs * src/Core/Banshee.Core/Banshee.IO/StreamAssist.cs: Added a class that makes doing some common stream operations (currently, just saving one stream to another) easier * src/Core/Banshee.Services/Banshee.Metadata.Embedded/EmbeddedQueryJob.cs: * src/Core/Banshee.Services/Banshee.Metadata/MetadataServiceJob.cs: Updated to use the new Banshee.IO APIs and also StreamAssist.Save to reduce so much duplication of stream code * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Added another Inovke method that takes an EventHandler delegate to stay compatible with Gtk.Application.Invoke * src/Core/Banshee.Services/Banshee.Services.addin.xml: Added a few platform extension points * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: Removed unnecessary Gnome.Vfs call * src/Core/Banshee.Widgets/Banshee.Widgets/LinkLabel.cs: Removed default Gnome.Open implementation; users must set a handle at all times so the widget is not bound to a platform * src/Core/Nereid/Nereid/Client.cs: Removed crappy Gnome.Program stuff since it really doesn't provide anything for us * src/Extensions/Template/Makefile.am: Small fix * src/Core/Banshee.Core/Banshee.Base/Utilities.cs: * src/Core/Banshee.Services/Banshee.AudioProfiles/GConfProfileConfiguration.cs: Nuked, finally * build/build.environment.mk: * build/m4/banshee/gtk-sharp.m4: Removed gnome-sharp and gconf-sharp dependencies 2008-02-06 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/InterfaceActionService.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/ActionButton.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/CustomActionProxy.cs: * src/Core/Banshee.Widgets/Banshee.Widgets/RatingActionProxy.cs: Fix mono 1.9 compiler error with amibuous Action references. * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Fix mono 1.9 compiler error with if (bool?) statement. 2008-02-05 Aaron Bockover * src/create-extension: A simple script that will create some of the files necessary for creating new extensions; it allows you to specify the extension name extension points that will be implemented and it tries to build at least most of the necessary shell for the extension * src/Extensions/Template/Makefile.am: * src/Extensions/Template/Template.addin.xml: * src/Extensions/Template/Template.mdp: Files to use as the base for generated extensions 2008-02-05 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: Some minor reorg, finish the DnD split 2008-02-05 Scott Peterson * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView.cs: Got rid of obsolete type. Last commit, I swear. 2008-02-05 Scott Peterson * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView.cs: Merged PaintRows into PaintList since PaintList had become a withered shell of its former self, not worth the method call. 2008-02-05 Scott Peterson * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView.cs: Very minor change - removed unnessisary assignment. 2008-02-05 Scott Peterson * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView.cs: A rework of PaintList and PaintRows. Previously, all rows needed to be iterated over three times: once to calculate the selection blocks, once to draw the rule, and once to draw the content. Now it is only iterated over once - rules, content for unselected rows, and selection blocks are drawn during iteration while selected rows are put into a list and their content is drawn at the end. This exploits the fact that the most common numbers of visible selected rows are 0 and 1. The actual performance gains for this patch are rather modest, but tangeble (a millisecond or two for the execution time of PaintList acording to the profiler). 2008-02-04 Scott Peterson * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: Made some private fields readonly. 2008-02-04 Scott Peterson * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.Core/Banshee.Configuration.Schema/LibrarySchema.cs: * src/Core/Banshee.Core/Banshee.Base/SafeUri.cs: Standardized venacular around "Location" rather than "Path" when refering to the file URI in user-facing strings (BGO 436453) 2008-02-04 Scott Peterson * src/Core/Hyena/Hyena.Data/DictionaryModelCache.cs: Initialize the cache dictionary to the proper capacity (since we know it). 2008-02-04 Aaron Bockover This commit adds source merge behavior and the ability to drag and drop sources in the source view; i.e. drag the play queue to a new playlist to save it * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Banshee.Services/Banshee.Sources/SourceMergeType.cs: Added some stuff to advertise how sources can interact with eachother; concept of merging sources into sources * src/Core/Banshee.Services/Banshee.Library/LibrarySource.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Implement merge behaviors * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: Finished the drag and drop support for the source view internally * src/Core/Hyena.Gui/Hyena.Gui.Theatrics/SingleActorStage.cs: Override OnActorStep so that single actor stages work again * src/Core/Hyena.Gui/Hyena.Gui.Theatrics/Stage.cs: Nuke ugly writeline 2008-02-04 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection/TrackListModel.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/Migrator.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs: * src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Hyena/Hyena.mdp: * src/Core/Hyena/Makefile.am: * src/Core/Hyena/Hyena.Data.Query/*: * src/Core/Hyena/Hyena.Query/*: Change Hyena.Data.Query namespace to Hyena.Query. 2008-02-04 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Only draw the hot cairo stuff if we have a cairo context (and we don't when the row is being dragged) 2008-02-04 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Check to see if the actor TreeIter is valid in notify_stage.ActorStep - expire the actor if it is not * src/Core/Hyena.Gui/Hyena.Gui.Theatrics/Stage.cs: Allow the step handler to expire the actor by returning false 2008-02-03 Aaron Bockover This commit adds Drag and Drop support from the track list to the source view; i.e. you can drag tracks to the play queue or playlists * src/Core/Banshee.Services/Banshee.Sources/Source.cs: * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Added and implemented AcceptsInputFromSource and MergeSourceInput methods that allows source to see if they are 'compatible' with other sources; for instance, copying some tracks from one source to another * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Implemented source-mode drag and drop for the track list * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: Implemented dest-mode drag and drop for track contexts (cannot DnD to/from source view yet) * src/Core/Banshee.ThickClient/Banshee.Gui.DragDrop/DragDropTarget.cs: Modernized the drop targets we'll start with for trunk * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Remove some obsolete properties * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView.cs: Started fixing up click behavior for selections to work properly with multi-row DnD; currently there is still some bad behavior and it needs work - almost done though 2008-02-03 Aaron Bockover * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Do some trimming in the Display* properties 2008-02-03 Ruben Vermeersch Rename extension types into more meaningful names. TypeExtensionNode is an implementation detail. * src/Core/Banshee.Services/Banshee.Services.addin.xml: Rename the four different TypeExtensionNodes (which all had different functionality into): Service, Source, ImportSource and PlayerEngine. * src/Backends/Banshee.GStreamer/Banshee.GStreamer.addin.xml: * src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml: * src/Extensions/Banshee.Audioscrobbler/Resources/Banshee.Audioscrobbler.addin.xml: * src/Extensions/Banshee.MultimediaKeys/Resources/Banshee.MultimediaKeys.addin.xml: * src/Extensions/Banshee.NotificationArea/Resources/Banshee.NotificationArea.addin.xml: * src/Extensions/Banshee.PlayQueue/Resources/Banshee.PlayQueue.addin.xml: Adjust addin.xml files accordingly. 2008-02-02 Ruben Vermeersch * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellTrackNumber.cs: Added. * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: * src/Core/Banshee.ThickClient/Makefile.am: Fix a regression from old Banshee, don't show the track number if it's zero. Just show empty space. 2008-02-02 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Use smarter calculations for computing the row height and middle-aligning contents in a row; should look better across all font sizes now * src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Reduce the inner border width to the correct size to be consistent with the ListView 2008-02-01 Scott Peterson * src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs: Made to use DatabaseConfigurationClient when checking for version. * src/Core/Banshee.Services/Banshee.Configuration: * src/Core/Banshee.Services/Banshee.Configuration/DatabaseConfigurationClient.cs: Added DatabaseConfigurationClient, an IConfigurationClient wrapper for the CoreConfiguration table. 2008-01-31 Gabriel Burt This commits adds j, k, Home, and End key support for scrolling list views. Also fixes issue with not fading newly created playlist. * src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs: Add public UserNotifyUpdated method so extensions etc can use it. * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Call UserNotifyUpdated in the action handler when creating a playlist. * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView.cs: Add j and k as key bindings for down/up respectively. Add Home/End key support. Handle all relevant key pad keys. * src/Core/Nereid/Nereid/PlayerInterface.cs: Don't have j or J focus the search any more, it's now used for scrolling the ListViews. 2008-01-31 Aaron Bockover * src/Core/Banshee.Services/Banshee.ServiceStack/IExtensionService.cs: Added a simple method that extension services must implement; extension services should do nothing in their constructors so we can get type information from them at runtime at a minimum * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Require extension services to be IExtensionService; catch all exceptions from them, do not bail if an extension explodes and log the error * src/Extensions/Banshee.MultimediaKeys/Banshee.MultimediaKeys/MultimediaKeysService.cs: Extreme hack to support both GNOME Settings Daemon 2.20 and 2.22; I just love how pointless API breakage is a common theme in GNOME - the price of being an ISV and not 'in GNOME' is high - too high * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Use 'q' as a shortcut for adding stuff to the play queue * src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs: * src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler/AudioscrobblerService.cs: * src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs: Implement IExtensionService 2008-01-31 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Within sort by album, do not sort by artist because it messes up multi-artist albums. This change will mess up albums that have the same name however. Should have a sort by album-artist in here though. 2008-01-31 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPlaybackIndicator.cs: * src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs: Remove the little speaker icon in the header of the list view that represents the column which can hold the playback indicator; apparently this is confusing and may lead to the expectation of it being clickable and have it do something; fixes BNC #188717 * src/Core/Hyena.Gui/Hyena.Data.Gui/ListView.cs: Do not try to render a null cell 2008-01-31 Aaron Bockover * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Push IDisposable services into a dispose stack on startup; unwind this stack on shutdown, disposing services in the proper (safe) order * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: Make IDisposable and dispose all sources if they are in turn IDisposable * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: * src/Extensions/Banshee.PlayQueue/Resources/GlobalUI.xml: Added 'clear on quit' support; make IDisposable, clearing the queue if set on Dipose * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Finish porting the naming utility stuff to create proper playlist names; not actually in use yet * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Get rid of the params Add method since there are many more ActionEntry arrays that won't work with params 2008-01-31 Aaron Bockover Patch that adds sorting by Disc number and editing it as well from Will Farrington. Awesomeness. * src/Core/Banshee.Core/Banshee.Collection/FileTrackInfo.cs: * src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: * src/Core/Banshee.Core/Banshee.Streaming/CommonTags.cs: * src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryTrackInfo.cs: Add backend support for having Track.Disc as a column in TrackInfo * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Set default sorting, artist, and album sorting to sort with respect to the disc number; Add QueryField: searchable keywords are "disc" "cd" and "discnum" * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/TrackEditor.cs: * src/Core/Banshee.ThickClient/Resources/banshee-dialog-ui.xml: Add Disc field to the Track Editor 2008-01-31 Aaron Bockover Patch to enable the preferences dialog by Alex Hixon * src/Core/Banshee.Services/Banshee.Collection.Database/LibraryTrackInfo.cs: * src/Core/Banshee.Services/Banshee.Library/LibraryImportManager.cs: Copy track to library directory if it's not already there and the user has opted to copy files * src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/PreferencesDialog.cs: Port the preferences dialog from stable * src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Added preferences actions 2008-01-30 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Make the notification highlight extra sexy with some fade in and out * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Set the stage duration to 1.5s * src/Core/Hyena.Gui/Hyena.Data.Gui/ListViewGraphics.cs: DrawRowSelection has a few new overrides including taking a color 2008-01-30 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs: Ported the animation/timeline code to use Hyena.Gui.Theatrics * src/Core/Hyena.Gui/Hyena.Gui.Theatrics/SingleActorStage.cs: A helper stage that will only have up to one actor at a time 2008-01-30 Aaron Bockover * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Added UserNotifyUpdated event that sources can use to trigger notifications or visual cues in the source view * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Use the new Hyena theatre stage/actors to animate update notifications on source rows in the source views * src/Core/Hyena.Gui/Hyena.Data.Gui/ListViewGraphics.cs: Added a method for drawing a flat row highlight * src/Core/Hyena.Gui/Hyena.Gui.Theatre/Stage.cs: An object that manages timeouts for a set of Actors bound to targets of T; used for animating collections of objects bound to actors * src/Core/Hyena.Gui/Hyena.Gui.Theatre/Actor.cs: An object bound to a target of T with life span and percentage properties used for animations * src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: Remove redundant BorderWidth property 2008-01-30 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Use the list view theme engine to draw the highlight selection * src/Core/Hyena.Gui/Hyena.Data.Gui/ListViewGraphics.cs: Make it optional to draw the row selection fill 2008-01-30 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CellEditEntry.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs: Lots of clean up/reorg of the SourceView code to make it easier to read and manage; split all of the drag and drop code into a separate file and SourceView is now a partial class 2008-01-30 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Stupid cast to work around possible bug in gmcs 1.2.5 2008-01-30 Aaron Bockover * src/Core/Hyena.Gui/Hyena.Data.Gui/ListViewGraphics.cs: Added a DrawFrame method to simply draw the entire ListView like frame around a rect * src/Core/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs: A widget like the standard Gtk.Frame, except it uses our ListViewGraphics to draw a sexy rounded frame that blends in with the list views * src/Core/Hyena.Gui/Hyena.Widgets/ScrolledWindow.cs: A custom ScrolledWindow that proxies Hadjustmend and Vadjustment of the child of a RoundedFrame if one is added to the ScrolledWindow * src/Core/Nereid/Nereid/PlayerInterface.cs: Use a Hyena ScrolledWindow with AddFrame to make the source view TreeView look like our ListView widgets - dead sexy 2008-01-30 Aaron Bockover * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Use the new AddImportant method to make the play queue 'clear' text show up in the header * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Fixed Add to be 'new', added AddImportant 2008-01-30 Aaron Bockover * build/build.rules.mk: Fixed installation. Yay. 2008-01-30 Ruben Vermeersch Add the basic files for the Audioscrobbler plugin. Nothing functional yet, just the boilerplate code for the addin. * build/build.environment.mk: Add refs for Audioscrobbler. * configure.ac: Add the Audioscrobbler Makefile. * src/Extensions/Banshee.Audioscrobbler: Added. * src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler: Added. * src/Extensions/Banshee.Audioscrobbler/Banshee.Audioscrobbler/AudioscrobblerService.cs: Added. * src/Extensions/Banshee.Audioscrobbler/Makefile.am: Added. * src/Extensions/Banshee.Audioscrobbler/Resources: Added. * src/Extensions/Banshee.Audioscrobbler/Resources/Banshee.Audioscrobbler.addin.xml: Added. * src/Extensions/Makefile.am: Add Audioscrobbler. 2008-01-29 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Fix a few minor rendering issues 2008-01-29 Gabriel Burt * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: New Add method that takes params ActionEntry [] and sets all the created Actions as IsImportant=true so if they are used in the toolbar their text will appear. * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Use new Add(params ActionEntry []) override to add actions. * src/Core/Nereid/Nereid/PlayerInterface.cs: Set the toolbar style to BothHoriz. * src/Core/Banshee.ThickClient/Banshee.Gui/ViewActions.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Inherit from BansheeActionGroup. 2008-01-29 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Draw the same cairo selections that the track list view uses, overriding the crappy GTK selection for the tree view * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Set up a cairo context and list view graphics for the renderer 2008-01-29 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui/BansheeActionGroup.cs: Make protected properties public - they should be since they are just wrappers to functionality that can be used via alternate API * src/Core/Banshee.ThickClient/Banshee.Gui/InterfaceActionService.cs: Automatically load/unload XML UI resources and actions for the active source if actions and UI are set in the source properties * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Do not crash if the source context menu is null * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Reset the highlight on left mouse click * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Split the XML UI between two definitions since one needs loading/unloading as the active source changes (the toolbar UI) * src/Extensions/Banshee.PlayQueue/Resources/ActiveSourceUI.xml: UI for use when the play queue is the active source * src/Extensions/Banshee.PlayQueue/Resources/GlobalUI.xml: UI for the play queue to be loaded at all times 2008-01-29 Aaron Bockover * src/Core/Banshee.ThickClient/Banshee.Gui/IHasSourceView.cs: Expose ResetHighlight * src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Reset the highlight in the source view when done with the context menu * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs: Draw a special highlight for the highlight path * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs: Add a concept of a highlight path which is now different from the selected path to avoid confusion of the selection changing source when using the context menu * src/Core/Nereid/Nereid/PlayerInterface.cs: Implement ResetHightlight * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: * src/Extensions/Banshee.PlayQueue/Resources/Actions.xml: Expose a source context menu 2008-01-28 Aaron Bockover * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Make the status text much less intrusive with less specificity (display only a single time scale); do not display any status if there are no tracks * src/Core/Nereid/Nereid/PlayerInterface.cs: Add some padding to the bottom of the status bar; change the text color of the status bar to a nice foreground/background blend to make it less intrusive 2008-01-28 Aaron Bockover * src/Core/Banshee.Services/Banshee.Playlist/PlaylistSource.cs: Make the IUnmappable implementation virtual * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Override CanUnmap, return false 2008-01-28 Gabriel Burt * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Customize name of Remove Track(s) action. 2008-01-28 Gabriel Burt * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.Sources/Source.cs: Fix brokenness of confusing Count/Unfiltered count issue; unfortunately no less confusing though. 2008-01-28 Aaron Bockover * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: Implemented a clear queue action and set visibility and sensitivity of the queue actions properly * src/Extensions/Banshee.PlayQueue/Resources/Actions.xml: Added actions * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Added some more placeholders 2008-01-28 Gabriel Burt * src/Core/Banshee.Services/Banshee.Collection.Database/AlbumListDatabaseModel.cs: * src/Core/Banshee.Services/Banshee.Collection.Database/ArtistListDatabaseModel.cs: Implement SelectAggregates. * src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs: Add Duration and FileSize properties. * src/Core/Banshee.Services/Makefile.am: * src/Core/Banshee.Services/Banshee.Sources/IDurationAggregator.cs: * src/Core/Banshee.Services/Banshee.Sources/IFileSizeAggregator.cs: New interfaces for determining if a source has certain properties. * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: Implement both new interfaces. * src/Core/Banshee.Services/Banshee.Sources/Source.cs: New GetStatusText method that the interface with default implementation that returns count, duration, and file size. * src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/UserJobTileHost.cs: Place VBox inside of Alignment so we can get our top padding, but only show it when we are shown (instead of spacing in our parent vbox that is always there). * src/Core/Hyena/Hyena.Data.Query/FileSizeQueryValue.cs: Add new ctor. * src/Core/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs: Rename variable for clarity. * src/Core/Hyena/Hyena.Data.Sqlite/ICacheableDatabaseModel.cs: Add SelectAggregates property, used by models to load aggregate values (eg SUM(FileSize) when the count is taken. * src/Core/Hyena/Hyena.Data.Sqlite/SqliteModelCache.cs: Add support for SelectAggregate properties. Add AggregatesUpdated event so models can handle the results of the query themselves (except the count, which we still handle). * src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs: * src/Core/Hyena/Hyena.Data.Sqlite/SqliteModelProvider.cs: Make TableName public. * src/Core/Hyena/Hyena.Data/IFilterable.cs: Revert previous UnfilteredCount -> FilteredCount change. * src/Core/Nereid/Nereid/PlayerInterface.cs: Add BuildFooter method, add the status label in the footer, keep it updated as the source track model changes. 2008-01-28 Aaron Bockover * src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs: * src/Extensions/Banshee.PlayQueue/Resources/Actions.xml: * src/Extensions/Banshee.PlayQueue/Resources/Banshee.PlayQueue.addin.xml: Moved the play queue out of core into an extension * src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs: * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: * src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Remove any knowledge of PlayQueue as it's now an extension (awesome) * src/Core/Banshee.Services/Banshee.Services.addin.xml: * src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs: * src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs: Created a new extension point for sources * src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs: Added a more useful Get method that infers the service name from the generic type argument passed to it ala typeof (T).Name 2008-01-28 Gabriel Burt * Makefile.am: add --debug to mono call. 2008-01-28 Aaron Bockover * src/Core/Banshee.Services/Banshee.Playlist/PlayQueueSource.cs: Change the sort order so 'add to play queue' works as expected; override ConfirmRemoveTracks so a prompt does not invade your life when you remove from the queue * src/Core/Banshee.Services/Banshee.Sources/DatabaseSource.cs: * src/Core/Banshee.Services/Banshee.Sources/ITrackModelSource.cs: Added ConfirmRemoveTracks * src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Do not confirm if the source does not want you to when removing tracks 2008-01-28 Aaron Bockover Okay, 5% to go with the play queue ... it's working * src/Core/Banshee.Services/Banshee.Playlist/PlayQueueSource.cs: Implement the actual play queue logic in the proper place this time; remove the top track when done pl