You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
(68) |
Aug
(4) |
Sep
|
Oct
(23) |
Nov
(95) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(3) |
Feb
|
Mar
|
Apr
(51) |
May
(81) |
Jun
(2) |
Jul
(86) |
Aug
(143) |
Sep
(3) |
Oct
(31) |
Nov
(63) |
Dec
(90) |
2005 |
Jan
(277) |
Feb
(157) |
Mar
(99) |
Apr
(195) |
May
(151) |
Jun
(148) |
Jul
(98) |
Aug
(123) |
Sep
(20) |
Oct
(174) |
Nov
(155) |
Dec
(26) |
2006 |
Jan
(51) |
Feb
(19) |
Mar
(16) |
Apr
(12) |
May
(5) |
Jun
|
Jul
(11) |
Aug
(7) |
Sep
(10) |
Oct
(31) |
Nov
(174) |
Dec
(56) |
2007 |
Jan
(45) |
Feb
(52) |
Mar
(10) |
Apr
(5) |
May
(47) |
Jun
(16) |
Jul
(80) |
Aug
(29) |
Sep
(14) |
Oct
(59) |
Nov
(46) |
Dec
(16) |
2008 |
Jan
(10) |
Feb
(1) |
Mar
|
Apr
|
May
(49) |
Jun
(26) |
Jul
(8) |
Aug
(4) |
Sep
(25) |
Oct
(53) |
Nov
(9) |
Dec
(1) |
2009 |
Jan
(66) |
Feb
(11) |
Mar
(1) |
Apr
(14) |
May
(8) |
Jun
(1) |
Jul
(2) |
Aug
(2) |
Sep
(9) |
Oct
(23) |
Nov
(35) |
Dec
|
2010 |
Jan
(7) |
Feb
(2) |
Mar
(39) |
Apr
(19) |
May
(161) |
Jun
(19) |
Jul
(32) |
Aug
(65) |
Sep
(113) |
Oct
(120) |
Nov
(2) |
Dec
|
2012 |
Jan
|
Feb
(5) |
Mar
(4) |
Apr
(7) |
May
(9) |
Jun
(14) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
(12) |
Dec
(2) |
2013 |
Jan
(1) |
Feb
(17) |
Mar
(4) |
Apr
(4) |
May
(9) |
Jun
|
Jul
(8) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: <du...@co...> - 2008-05-22 19:24:30
|
Wed May 21 17:41:32 EDT 2008 Peter Gavin <pg...@gm...> * gstreamer: DataQueue only available for gstreamer >= 0.10.11 hunk ./gstreamer/hsgstreamer.h 36 +#if GST_VERSION_MAJOR > 0 || GST_VERSION_MINOR > 10 || GST_VERSION_MICRO > 10 hunk ./gstreamer/hsgstreamer.h 38 +#endif |
From: <du...@co...> - 2008-05-22 19:24:27
|
Wed May 21 01:53:38 EDT 2008 Peter Gavin <pg...@gm...> * gnomevfs: read/write not supported on ghc < 6.6; no ByteString 6.4 is much older than I care to worry about, chances are no-one will use it anyhow hunk ./gnomevfs/System/Gnome/VFS/Ops.chs.pp 49 +#if __GLASGOW_HASKELL__ >= 606 hunk ./gnomevfs/System/Gnome/VFS/Ops.chs.pp 52 +#endif hunk ./gnomevfs/System/Gnome/VFS/Ops.chs.pp 77 +#if __GLASGOW_HASKELL__ >= 606 hunk ./gnomevfs/System/Gnome/VFS/Ops.chs.pp 84 +#endif hunk ./gnomevfs/System/Gnome/VFS/Ops.chs.pp 146 +#if __GLASGOW_HASKELL__ >= 606 hunk ./gnomevfs/System/Gnome/VFS/Ops.chs.pp 185 +#endif |
From: <du...@co...> - 2008-05-22 19:24:25
|
Wed May 21 01:37:35 EDT 2008 Peter Gavin <pg...@gm...> * gnomevfs: require gnome-vfs-module-2.0 hunk ./configure.ac 351 -GTKHS_PKG_CHECK(gnomevfs, gnomevfs, GNOMEVFS, [gnome-vfs-2.0 >= 2.0.0], +GTKHS_PKG_CHECK(gnomevfs, gnomevfs, GNOMEVFS, [gnome-vfs-2.0 >= 2.0.0 gnome-vfs-module-2.0 >= 2.0.0 ], |
From: <du...@co...> - 2008-05-22 19:24:25
|
Tue May 20 23:09:09 EDT 2008 Peter Gavin <pg...@gm...> * gtk: check for gtk >= 2.8.0 and cairo for functions using Cairo.Matrix hunk ./gtk/Graphics/UI/Gtk/Pango/Context.chs.pp 67 -#if PANGO_CHECK_VERSION(1,6,0) +#if PANGO_CHECK_VERSION(1,6,0) && GTK_CHECK_VERSION(2,8,0) && defined(ENABLE_CAIRO) hunk ./gtk/Graphics/UI/Gtk/Pango/Context.chs.pp 210 -#if PANGO_CHECK_VERSION(1,6,0) +#if PANGO_CHECK_VERSION(1,6,0) && GTK_CHECK_VERSION(2,8,0) && defined(ENABLE_CAIRO) |
From: <du...@co...> - 2008-05-22 19:24:23
|
Tue May 20 21:53:14 EDT 2008 Peter Gavin <pg...@gm...> * gtk: G.U.G.ModelView.IconView: gtk_target_table_new_from_list not available until gtk-2.10.0 hunk ./gtk/Graphics/UI/Gtk/ModelView/IconView.chs.pp 101 +#if GTK_CHECK_VERSION(2,10,0) hunk ./gtk/Graphics/UI/Gtk/ModelView/IconView.chs.pp 106 +#endif hunk ./gtk/Graphics/UI/Gtk/ModelView/IconView.chs.pp 719 +#if GTK_CHECK_VERSION(2,10,0) hunk ./gtk/Graphics/UI/Gtk/ModelView/IconView.chs.pp 723 --- * Available since Gtk+ version 2.8 +-- * Available since Gtk+ version 2.10 hunk ./gtk/Graphics/UI/Gtk/ModelView/IconView.chs.pp 748 --- * Available since Gtk+ version 2.8 +-- * Available since Gtk+ version 2.10 hunk ./gtk/Graphics/UI/Gtk/ModelView/IconView.chs.pp 769 --- * Available since Gtk+ version 2.8 +-- * Available since Gtk+ version 2.10 hunk ./gtk/Graphics/UI/Gtk/ModelView/IconView.chs.pp 779 --- * Available since Gtk+ version 2.8 +-- * Available since Gtk+ version 2.10 hunk ./gtk/Graphics/UI/Gtk/ModelView/IconView.chs.pp 785 +#endif |
From: <du...@co...> - 2008-05-22 19:24:22
|
Tue May 20 21:41:54 EDT 2008 Peter Gavin <pg...@gm...> * gtk: G.U.G.Gdk.PixbufData: MArray.bounds(PixbufData): PixbufData has 4 arguments that part was only compiled for < ghc-6.5, so we missed it until now hunk ./gtk/Graphics/UI/Gtk/Gdk/PixbufData.hs.pp 65 - bounds (PixbufData pb ptr bd) = bd + bounds (PixbufData pb ptr bd cnt) = bd |
From: <du...@co...> - 2008-05-22 19:24:21
|
Mon May 19 21:16:33 EDT 2008 Peter Gavin <pg...@gm...> * gstreamer: M.S.G.Core.ElementFactory: Control.Monad.>=> not available before ghc 6.8 hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 67 -import Control.Monad ( liftM - , (>=>) ) +import Control.Monad ( liftM ) hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 216 + where infixr 8 >=> + a >=> b = \x -> a x >>= b |
From: <du...@co...> - 2008-05-22 19:24:21
|
Mon May 19 22:07:41 EDT 2008 Peter Gavin <pg...@gm...> * gstreamer: M.S.G.Core.ElementFactory: gst_element_factory_has_interface not available before gstreamer-0.10.14 move ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs.pp hunk ./Makefile.am 1912 - gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs \ + gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs.pp \ hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs.pp 58 +#if GSTREAMER_CHECK_VERSION(0,10,14) hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs.pp 60 +#endif hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs.pp 158 +#if GSTREAMER_CHECK_VERSION(0,10,14) hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs.pp 170 +#endif |
Mon May 19 21:00:14 EDT 2008 Peter Gavin <pg...@gm...> * gstreamer: M.S.G.Core.Types.chs: staticPadTemplateGet: Control.Monad.>=> not available before ghc 6.8; don't export StaticPadTemplate constructors hunk ./gstreamer/Media/Streaming/GStreamer/Core/Types.chs 65 - StaticPadTemplate(..), + StaticPadTemplate {-(..)-}, hunk ./gstreamer/Media/Streaming/GStreamer/Core/Types.chs 314 -staticPadTemplateGet = - {# call static_pad_template_get #} >=> takeObject +staticPadTemplateGet staticPadTemplate = + {# call static_pad_template_get #} staticPadTemplate >>= takeObject |
From: <du...@co...> - 2008-05-22 19:24:17
|
Sun May 18 23:19:07 EDT 2008 Peter Gavin <pg...@gm...> * gtk: G.U.G.ModelView.ComboBox: a foreign import wrapper is conditionally generated, so generate a dummy function (to force the stub file) hunk ./gtk/Graphics/UI/Gtk/ModelView/ComboBox.chs.pp 491 +#else +foreign import ccall "wrapper" dummyForStub :: (CInt -> IO ()) -> IO (FunPtr (CInt -> IO ())) |
From: <du...@co...> - 2008-05-22 19:24:16
|
Sun May 18 23:02:55 EDT 2008 Peter Gavin <pg...@gm...> * gtk: G.U.G.ModelView.TreeView.TreeViewGridLines not available until gtk-2.0 >= 2.10.0 hunk ./gtk/Graphics/UI/Gtk/ModelView/TreeView.chs.pp 81 +#if GTK_CHECK_VERSION(2,10,0) hunk ./gtk/Graphics/UI/Gtk/ModelView/TreeView.chs.pp 83 +#endif |
From: <du...@co...> - 2008-05-22 19:24:14
|
Sun May 18 22:44:23 EDT 2008 Peter Gavin <pg...@gm...> * gtk: G.U.G.Pango.Types.PangoGravity{,Hint} only available in pango >= 1.16.0 move ./gtk/Graphics/UI/Gtk/Pango/Markup.hs ./gtk/Graphics/UI/Gtk/Pango/Markup.hs.pp hunk ./Makefile.am 598 - gtk/Graphics/UI/Gtk/Pango/Markup.hs \ + gtk/Graphics/UI/Gtk/Pango/Markup.hs.pp \ hunk ./gtk/Graphics/UI/Gtk/Pango/Markup.hs.pp 66 - PangoGravity, PangoGravityHint ) +#if PANGO_CHECK_VERSION(1,16,0) + PangoGravity, PangoGravityHint +#endif + ) hunk ./gtk/Graphics/UI/Gtk/Pango/Markup.hs.pp 149 +#if PANGO_CHECK_VERSION(1,16,0) hunk ./gtk/Graphics/UI/Gtk/Pango/Markup.hs.pp 155 +#endif hunk ./gtk/Graphics/UI/Gtk/Pango/Markup.hs.pp 171 +#if PANGO_CHECK_VERSION(1,16,0) hunk ./gtk/Graphics/UI/Gtk/Pango/Markup.hs.pp 174 +#endif |
From: <du...@co...> - 2008-05-22 19:24:13
|
Sun May 18 22:34:45 EDT 2008 Peter Gavin <pg...@gm...> * gtk: G.U.G.Pango.Structs: PangoAttribute(AttrLetterSpacing) only available in pango >= 1.6 hunk ./gtk/Graphics/UI/Gtk/Pango/Structs.hsc 250 +#endif +#if PANGO_CHECK_VERSION(1,6,0) |
Sun May 18 22:10:37 EDT 2008 Peter Gavin <pg...@gm...> * gtk: gtk_target_table_new_from_list & gtk_target_table_free only available for gtk-2.0 >= 2.10, so disable treeViewEnableModelDragDest & treeViewEnableModelDragSource hunk ./gtk/Graphics/UI/Gtk/ModelView/TreeView.chs.pp 154 +#if GTK_CHECK_VERSION(2,10,0) hunk ./gtk/Graphics/UI/Gtk/ModelView/TreeView.chs.pp 157 -#if GTK_CHECK_VERSION(2,10,0) hunk ./gtk/Graphics/UI/Gtk/ModelView/TreeView.chs.pp 1136 +#if GTK_CHECK_VERSION(2,10,0) hunk ./gtk/Graphics/UI/Gtk/ModelView/TreeView.chs.pp 1180 -#if GTK_CHECK_VERSION(2,10,0) |
From: <du...@co...> - 2008-05-22 19:24:10
|
Sun May 18 22:03:30 EDT 2008 Peter Gavin <pg...@gm...> * gnomevfs: S.G.VFS.Drive.driveGetMountedVolumes only available for gnome-vfs-2.0 >= 2.8.0 hunk ./gnomevfs/System/Gnome/VFS/Drive.chs.pp 62 +#if GNOME_VFS_CHECK_VERSION(2,8,0) hunk ./gnomevfs/System/Gnome/VFS/Drive.chs.pp 64 +#endif hunk ./gnomevfs/System/Gnome/VFS/Drive.chs.pp 217 + +#if GNOME_VFS_CHECK_VERSION(2,8,0) hunk ./gnomevfs/System/Gnome/VFS/Drive.chs.pp 228 +#endif |
From: <du...@co...> - 2008-05-22 19:24:09
|
Sun May 18 22:00:12 EDT 2008 Peter Gavin <pg...@gm...> * gnomevfs: S.G.VFS.Drive.driveGetHalUDI only available for gnome-vfs-2.0 >= 2.8.0 move ./gnomevfs/System/Gnome/VFS/Drive.chs ./gnomevfs/System/Gnome/VFS/Drive.chs.pp hunk ./Makefile.am 1742 - gnomevfs/System/Gnome/VFS/Drive.chs \ + gnomevfs/System/Gnome/VFS/Drive.chs.pp \ hunk ./gnomevfs/System/Gnome/VFS/Drive.chs.pp 52 +#if GNOME_VFS_CHECK_VERSION(2,8,0) hunk ./gnomevfs/System/Gnome/VFS/Drive.chs.pp 54 +#endif hunk ./gnomevfs/System/Gnome/VFS/Drive.chs.pp 189 +#if GNOME_VFS_CHECK_VERSION(2,8,0) hunk ./gnomevfs/System/Gnome/VFS/Drive.chs.pp 199 +#endif |
From: <du...@co...> - 2008-05-22 19:24:07
|
Sun May 18 21:56:26 EDT 2008 Peter Gavin <pg...@gm...> * gnomevfs: S.G.VFS.Volume.volumeGetHalUDI only available for gnome-vfs-2.0 >= 2.8.0 move ./gnomevfs/System/Gnome/VFS/Volume.chs ./gnomevfs/System/Gnome/VFS/Volume.chs.pp hunk ./Makefile.am 1741 - gnomevfs/System/Gnome/VFS/Volume.chs \ + gnomevfs/System/Gnome/VFS/Volume.chs.pp \ hunk ./gnomevfs/System/Gnome/VFS/Volume.chs.pp 51 +#if GNOME_VFS_CHECK_VERSION(2,8,0) hunk ./gnomevfs/System/Gnome/VFS/Volume.chs.pp 53 +#endif hunk ./gnomevfs/System/Gnome/VFS/Volume.chs.pp 216 +#if GNOME_VFS_CHECK_VERSION(2,8,0) hunk ./gnomevfs/System/Gnome/VFS/Volume.chs.pp 226 +#endif |
From: <du...@co...> - 2008-05-22 19:24:07
|
Sun May 18 21:48:47 EDT 2008 Peter Gavin <pg...@gm...> * gnomevfs: S.G.VFS.URI.uriResolveSymbolicLink only available in gnome-vfs >= 2.16.0 move ./gnomevfs/System/Gnome/VFS/URI.chs ./gnomevfs/System/Gnome/VFS/URI.chs.pp hunk ./gnomevfs/System/Gnome/VFS/URI.chs.pp 43 +#if GNOME_VFS_CHECK_VERSION(2,16,0) hunk ./gnomevfs/System/Gnome/VFS/URI.chs.pp 45 +#endif hunk ./gnomevfs/System/Gnome/VFS/URI.chs.pp 127 +#if GNOME_VFS_CHECK_VERSION(2,16,0) hunk ./gnomevfs/System/Gnome/VFS/URI.chs.pp 138 +#endif |
From: <du...@co...> - 2008-05-22 19:24:07
|
Sun May 18 21:40:42 EDT 2008 Peter Gavin <pg...@gm...> * glib: System.Glib.MainLoop: g_source_id_destroyed is only available since 2.12.0 hunk ./glib/System/Glib/MainLoop.chs.pp 58 +#if GLIB_CHECK_VERSION(2,12,0) hunk ./glib/System/Glib/MainLoop.chs.pp 60 +#endif hunk ./glib/System/Glib/MainLoop.chs.pp 339 +#if GLIB_CHECK_VERSION(2,12,0) hunk ./glib/System/Glib/MainLoop.chs.pp 344 +#endif |
From: <du...@co...> - 2008-05-22 19:24:07
|
Sun May 18 20:49:51 EDT 2008 Peter Gavin <pg...@gm...> * gstreamer: more docs for M.S.G.Core.Bus hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 77 + BusClass, hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 84 - BusClass, hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 128 - => busT - -> IO [BusFlags] + => busT -- ^ @bus@ - a 'Bus' + -> IO [BusFlags] -- ^ the flags set on @bus@ hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 134 - => busT - -> [BusFlags] + => busT -- ^ @bus@ - a 'Bus' + -> [BusFlags] -- ^ the flags to set on @bus@ hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 141 - => busT - -> [BusFlags] + => busT -- ^ @bus@ - a 'Bus' + -> [BusFlags] -- ^ the flags to unset on @bus@ hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 147 -busNew :: IO Bus +busNew :: IO Bus -- ^ the newly created 'Bus' object hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 153 - => busT - -> Message - -> IO Bool + => busT -- ^ @bus@ - a 'Bus' + -> Message -- ^ @message@ - the message to post + -> IO Bool -- ^ 'True' if the message was posted, or + -- 'False' if the bus is flushing hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 163 - => busT - -> IO Bool + => busT -- ^ @bus@ - a 'Bus' + -> IO Bool -- ^ 'True' if there are messages + -- on the bus to be handled, otherwise 'False' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 169 --- | Get the message at the front of the queue. It will remain on the --- queue. +-- | Get the message at the front of the queue. Any message returned +-- will remain on the queue. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 172 - => busT - -> IO (Maybe Message) + => busT -- ^ @bus@ - a 'Bus' + -> IO (Maybe Message) -- ^ the first 'Message' on the bus, or + -- 'Nothing' if the bus is empty hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 181 - => busT - -> IO (Maybe Message) + => busT -- ^ @bus@ - a 'Bus' + -> IO (Maybe Message) -- ^ the first 'Message' on the bus, or + -- 'Nothing' if the bus is empty hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 191 - => busT - -> Maybe ClockTime - -> IO (Maybe Message) + => busT -- ^ @bus@ - a 'Bus' + -> Maybe ClockTime -- ^ @timeoutM@ - the time to wait for, + -- or 'Nothing' to wait forever + -> IO (Maybe Message) -- ^ the first message recieved, or + -- 'Nothing' if the timeout has expired hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 207 - => busT - -> Bool + => busT -- ^ @bus@ - a 'Bus' + -> Bool -- ^ @flushing@ - the new flushing state hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 213 --- these will leak memory, maybe one day we can set a destroy notifier... - hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 233 --- the following mess is necessary to clean up safely after busSetSyncHandler. --- gstreamer doesn't give us a nice way to do this (such as a DestroyNotify) +-- the following mess is necessary to clean up the FunPtr after +-- busSetSyncHandler. gstreamer doesn't give us a nice way to do this +-- (such as a DestroyNotify pointer in the argument list) hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 287 - => busT - -> Maybe BusSyncHandler + => busT -- ^ @bus@ - a 'Bus' + -> Maybe BusSyncHandler -- ^ @busSyncHandlerM@ - the new 'BusSyncHandler' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 305 - => busT + => busT -- ^ @bus@ - a 'Bus' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 318 - => busT - -> IO Source + => busT -- ^ @bus@ - a 'Bus' + -> IO Source -- ^ the new event 'Source' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 349 - => busT - -> Priority - -> BusFunc - -> IO HandlerId + => busT -- ^ @bus@ - a 'Bus' + -> Priority -- ^ @priority@ - the priority of the watch + -> BusFunc -- ^ @func@ - the action to perform when a message is recieved + -> IO HandlerId -- ^ the event source ID hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 374 - => busT + => busT -- ^ @bus@ - a 'Bus' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 396 - => busT + => busT -- ^ @bus@ - a 'Bus' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 409 - => busT - -> Priority + => busT -- ^ @bus@ - a 'Bus' + -> Priority -- ^ @priority@ - the priority of the watch hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 417 - => busT + => busT -- ^ @bus@ - a 'Bus' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 438 -busPoll :: Bus - -> [MessageType] - -> ClockTimeDiff +busPoll :: BusClass busT + => busT -- ^ @bus@ - a 'Bus' + -> [MessageType] -- ^ @events@ - the set of messages to poll for + -> ClockTimeDiff -- ^ @timeout@ - the time to wait, or -1 to wait indefinitely hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 444 - {# call bus_poll #} bus + {# call bus_poll #} (toBus bus) hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 451 -busMessage :: BusClass bus - => Signal bus (Message -> IO ()) +busMessage :: BusClass busT + => Signal busT (Message -> IO ()) hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bus.chs 463 -busSyncMessage :: BusClass bus - => Signal bus (Message -> IO ()) +busSyncMessage :: BusClass busT + => Signal busT (Message -> IO ()) |
From: <du...@co...> - 2008-05-22 19:24:04
|
Sun May 18 20:52:33 EDT 2008 Peter Gavin <pg...@gm...> * gstreamer: more docs in M.S.G.Core.Caps hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 106 --- | Returns the number of structures contained in the 'Caps'. -capsSize :: Caps - -> Word +-- | Get the number of structures contained in the 'Caps'. +capsSize :: Caps -- ^ @caps@ - a 'Caps' + -> Word -- ^ the number of structures contained in the 'Caps' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 112 --- | Returns the 'Structure' at the given index. -capsGetStructure :: Caps - -> Word - -> Maybe Structure +-- | Get the 'Structure' at the given index. +capsGetStructure :: Caps -- ^ @caps@ - a 'Caps' + -> Word -- ^ @index@ - the index of the 'Structure' + -> Maybe Structure -- ^ the 'Structure' at the given index, or 'Nothing' + -- if @index@ is invalid hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 122 --- | Returns a new 'Caps' containing only the 'Structure' at the given +-- | Create a new 'Caps' containing only the 'Structure' at the given hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 124 -capsCopyNth :: Caps - -> Word - -> Maybe Caps +capsCopyNth :: Caps -- ^ @caps@ - a 'Caps' + -> Word -- ^ @index@ - the index of the 'Structure' + -> Maybe Caps -- ^ the new 'Caps', or 'Nothing' + -- if @index@ is invalid hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 133 --- | Returns 'True' if the caps represents no media formats. -capsIsEmpty :: Caps - -> Bool +-- | Determine whether @caps@ represents no media formats. +capsIsEmpty :: Caps -- ^ @caps@ - a 'Caps' + -> Bool -- ^ 'True' if @caps@ is empty, otherwise 'False' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 140 --- | Returns 'True' if the caps is fixed. -capsIsFixed :: Caps - -> Bool +-- | Determine whether the @caps@ is fixed; that is, if it has exactly +-- one structure, and each field in the structure describes a fixed type. +capsIsFixed :: Caps -- ^ @caps@ - a 'Caps' + -> Bool -- ^ 'True' if @caps@ is fixed, otherwise 'False' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 149 -capsIsEqual :: Caps - -> Caps - -> Bool +-- [_$_] +-- This function does not work reliably if optional properties for +-- 'Caps' are included on one 'Caps' but omitted on the other. +capsIsEqual :: Caps -- ^ @caps1@ - the first 'Caps' + -> Caps -- ^ @caps2@ - the second 'Caps' + -> Bool -- ^ 'True' if both 'Caps' represent the same set + -- of capabilities. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 165 -capsIsEqualFixed :: Caps - -> Caps - -> Bool +capsIsEqualFixed :: Caps -- ^ @caps1@ - the first 'Caps' + -> Caps -- ^ @caps2@ - the second 'Caps' + -> Bool -- ^ 'True' if both 'Caps' represent the same set + -- of capabilities hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 176 -capsIsAlwaysCompatible :: Caps - -> Caps - -> Bool +capsIsAlwaysCompatible :: Caps -- ^ @caps1@ - the first 'Caps' + -> Caps -- ^ @caps2@ - the second 'Caps' + -> Bool -- ^ 'True' if @caps1@ is a subset of @caps2@, otherwise 'False' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 188 -capsIsSubset :: Caps - -> Caps - -> Bool +capsIsSubset :: Caps -- ^ @caps1@ - the first 'Caps' + -> Caps -- ^ @caps2@ - the second 'Caps' + -> Bool -- ^ 'True' if @caps1@ is a subset of @caps2@, otherwise 'False' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 197 -capsIntersect :: Caps - -> Caps - -> Caps +capsIntersect :: Caps -- ^ @caps1@ - the first 'Caps' + -> Caps -- ^ @caps2@ - the second 'Caps' + -> Caps -- ^ a new 'Caps' containing all capabilities present + -- in both @caps1@ and @caps2@ hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 209 -capsUnion :: Caps - -> Caps - -> Caps +capsUnion :: Caps -- ^ @caps1@ - the first 'Caps' + -> Caps -- ^ @caps2@ - the second 'Caps' + -> Caps -- ^ a new 'Caps' containing all capabilities present + -- in either @caps1@ and @caps2@ hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 220 -capsSubtract :: Caps - -> Caps - -> Caps +capsSubtract :: Caps -- ^ @caps1@ - the first 'Caps' + -> Caps -- ^ @caps2@ - the second 'Caps' + -> Caps -- ^ a new 'Caps' containing all capabilities present + -- in @caps1@ but not @caps2@ hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 231 -capsNormalize :: Caps - -> Caps +capsNormalize :: Caps -- ^ @caps@ - a 'Caps' + -> Caps -- ^ the new, normalized 'Caps' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 239 -capsToString :: Caps - -> String +capsToString :: Caps -- ^ @caps@ - a 'Caps' + -> String -- ^ the string representation of 'Caps' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 246 -capsFromString :: String - -> Maybe Caps +capsFromString :: String -- ^ @string@ - the string representation of a 'Caps' + -> Maybe Caps -- ^ the new 'Caps', or 'Nothing' if @string@ is invalid hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 272 -capsCreate :: CapsM a - -> (Caps, a) -capsCreate action = +capsCreate :: CapsM a -- ^ @mutate@ - the mutating action + -> (Caps, a) -- ^ the new 'Caps' and the action's result +capsCreate mutate = hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 277 - action + mutate hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 280 -capsModify :: Caps - -> CapsM a - -> (Caps, a) -capsModify caps action = - marshalCapsModify ({# call caps_copy #} caps) action +capsModify :: Caps -- ^ @caps@ - the 'Caps' to modify + -> CapsM a -- ^ @mutate@ - the mutating action + -> (Caps, a) -- ^ the new 'Caps' and the action's result +capsModify caps mutate = + marshalCapsModify ({# call caps_copy #} caps) mutate hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 287 -capsAppendStructure :: Structure +capsAppendStructure :: Structure -- ^ @structure@ - the 'Structure' to append to the current 'Caps' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 299 -capsMergeStructure :: Structure +capsMergeStructure :: Structure -- ^ @structure@ - the 'Structure' to merge with the current 'Caps' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Caps.chs 310 -capsRemoveStructure :: Word +capsRemoveStructure :: Word -- ^ @idx@ - the index of the 'Structure' to remove |
From: <du...@co...> - 2008-05-22 19:24:01
|
Sun May 18 20:48:59 EDT 2008 Peter Gavin <pg...@gm...> * gstreamer: small fixes in M.S.G.Core.Event hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 26 --- | Maintainer : gtk2hs-devel\@lists.sourceforge.net --- Stability : alpha --- Portability : portable (depends on GHC) +-- | +-- Maintainer : gtk2hs-devel\@lists.sourceforge.net +-- Stability : alpha +-- Portability : portable (depends on GHC) +-- [_$_] +-- An object describing events that are passed up and down a pipeline. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 33 + +-- * Detail + + -- | An 'Event' is a message that is passed up and down a pipeline. + -- [_$_] + -- There are a number of predefined events and functions returning + -- events. To send an event an application will usually use + -- 'Media.Streaming.GStreamer.Core.Element.elementSendEvent', and + -- elements will use + -- 'Media.Streaming.GStreamer.Core.Pad.padSendEvent' or + -- 'Media.Streaming.GStreamer.Core.padPushEvent'. + -- [_$_] + -- [_$_] + +-- * Types + Event, + EventClass, + EventType(..), + +-- * Event Operations + eventType, + eventNewCustom, + eventNewEOS, + eventNewFlushStart, + eventNewFlushStop, + eventNewLatency, + eventNewNavigation, + eventNewNewSegment, + eventNewNewSegmentFull, + eventNewQOS, + eventNewSeek, + eventNewTag, + eventParseBufferSize, + eventParseLatency, + eventParseNewSegment, + eventParseNewSegmentFull, + eventParseQOS, + eventParseSeek, + eventParseTag, + eventTypeGetName, + eventTypeGetFlags, hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 76 + hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 86 -eventType :: Event +eventType :: EventClass event + => event hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 90 - cToEnum $ unsafePerformIO $ withMiniObject event cEventType + cToEnum $ unsafePerformIO $ withMiniObject (toEvent event) cEventType hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 188 -eventParseBufferSize :: Event +eventParseBufferSize :: EventClass event + => event hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 194 - do {# call event_parse_buffer_size #} event + do {# call event_parse_buffer_size #} (toEvent event) hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 206 -eventParseLatency :: Event +eventParseLatency :: EventClass event + => event hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 211 - do {# call event_parse_latency #} event + do {# call event_parse_latency #} (toEvent event) hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 216 -eventParseNewSegment :: Event +eventParseNewSegment :: EventClass event + => event hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 224 - do {# call event_parse_new_segment #} event + do {# call event_parse_new_segment #} (toEvent event) hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 240 -eventParseNewSegmentFull :: Event +eventParseNewSegmentFull :: EventClass event + => event hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 248 - do {# call event_parse_new_segment_full #} event + do {# call event_parse_new_segment_full #} (toEvent event) hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 266 -eventParseQOS :: Event +eventParseQOS :: EventClass event + => event hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 272 - do {# call event_parse_qos #} event + do {# call event_parse_qos #} (toEvent event) hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 282 -eventParseSeek :: Event +eventParseSeek :: EventClass event + => event hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 290 - do {# call event_parse_seek #} event + do {# call event_parse_seek #} (toEvent event) hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 308 -eventParseTag :: Event +eventParseTag :: EventClass event + => event hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 313 - do {# call event_parse_tag #} event (castPtr tagListPtr) + do {# call event_parse_tag #} (toEvent event) (castPtr tagListPtr) hunk ./gstreamer/Media/Streaming/GStreamer/Core/Event.chs 315 + | otherwise = Nothing |
From: <du...@co...> - 2008-05-22 19:24:01
|
Sat May 17 15:47:36 EDT 2008 Peter Gavin <pg...@gm...> * gstreamer: document M.S.G.Core.Bin hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 104 --- | Creates a new 'Bin' with the given name. -binNew :: String -- ^ the name of the new bin - -> IO Bin -- ^ the new bin +-- | Create a new 'Bin' with the given name. +binNew :: String -- ^ @name@ - the name to give the new 'Bin' + -> IO Bin -- ^ the new 'Bin' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 110 --- | Adds the given 'Element' to the 'Bin'. Sets the element's parent. An --- element can only be added to one bin. +-- | Add @element@ to @bin@, and set @element@'s parent to +-- @bin@. An 'Element' can only be added to one 'Bin' at a time. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 113 --- If the element's pads are linked to other pads, the pads will be --- unlinked before the element is added to the bin. +-- If any of @element@'s pads are linked to other 'Pad's, they will be +-- unlinked before @element@ is added to @bin@. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 116 - => bin -- ^ a bin - -> element -- ^ the element to be added + => bin -- ^ @bin@ - a 'Bin' + -> element -- ^ @element@ - the element to add hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 123 --- | Removes the given 'Element' from the 'Bin', unparenting it as well. +-- | Remove @element@ from @bin@, unparenting it as well. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 125 --- If the element's pads are linked to other pads, the pads will be --- unlinked before the element is removed from the bin. +-- If any @element@'s pads are linked to other pads, they will be +-- unlinked before @element@ is added to @bin@. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 128 - => bin -- ^ a bin - -> element -- ^ the element to remove - -> IO Bool -- ^ 'True' if the element could be removed, 'False' - -- if the bin does not want to remove the element + => bin -- ^ @bin@ - a 'Bin' + -> element -- ^ @element@ - the element to remove + -> IO Bool -- ^ 'True' if @element@ could be removed, otherwise 'False' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 134 --- | Gets the 'Element' with the given name from a 'Bin'. This --- function recurses into child bins. Returns 'Nothing' if no element --- with the given name is found in the bin. +-- | Get the 'Element' with the given name @name@ from @bin@, +-- recursing down through @bin@'s children. 'Nothing' is returned if no +-- 'Element' with the given name is found. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 138 - => bin -- ^ a bin - -> String -- ^ the element name to search for - -> IO (Maybe Element) -- ^ the element with the given name, or 'Nothing' + => bin -- ^ @bin@ - a 'Bin' + -> String -- ^ @name@ - the name to search for + -> IO (Maybe Element) -- ^ the 'Element' with the name @name@, or 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 144 --- | Gets the element with the given name from this bin. If the --- element is not found, a recursion is performed on the parent --- bin. Returns 'Nothing' if no element with the given name is --- found. +-- | Get the 'Element' with the given name @name@ from @bin@, +-- recursing up through @bin@'s parents. Returns 'Nothing' if no +-- element with the given name is found. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 148 - => bin -- ^ a bin - -> String -- ^ the element name to search for - -> IO (Maybe Element) -- ^ the element with the given name, or 'Nothing' + => bin -- ^ @bin@ - a 'Bin' + -> String -- ^ @element@ - the name to search for + -> IO (Maybe Element) -- ^ the 'Element' with the given name, or 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 155 --- | Looks for an element inside the bin that implements the given --- interface. If such an element is found, it returns the --- element. You can case this element to the given interface --- afterwards. If you want all the elements that implement an +-- | Find an 'Element' inside @bin@ that implements the interface +-- given by @iface@. The returned 'Element' can be casted to +-- @iface@'s type. If you want all the 'Element's that implement an hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 162 - => bin -- ^ a bin - -> GType -- ^ the interface's type - -> IO (Maybe Element) -- ^ an element inside the bin implementing the interface, or 'Nothing' + => bin -- ^ @bin@ - a 'Bin' + -> GType -- ^ @iface@ - the type of the requested interface + -> IO (Maybe Element) -- ^ the 'Element' inside @bin@ that implements @iface@, or 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 169 --- | Gets an 'Iterator' for the 'Element's in this 'Bin'. +-- | Get an 'Iterator' over the 'Element's in @bin@. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 171 - => bin -- ^ a bin - -> IO (Maybe (Iterator Element)) -- ^ an iterator on elements, or 'Nothing' + => bin -- ^ @bin@ - a 'Bin' + -> IO (Maybe (Iterator Element)) -- ^ an 'Iterator' over the 'Element's in @bin@, + -- or 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 178 --- | Gets an 'Iterator' for the 'Element's in this 'Bin'. This --- iterator recurses into the bin's children. +-- | Get an 'Iterator' over the 'Element's in @bin@. This +-- iterator recurses into @bin@'s children. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 181 - => bin -- ^ a bin - -> IO (Maybe (Iterator Element)) -- ^ an iterator on elements, or 'Nothing' + => bin -- ^ @bin@ - a 'Bin' + -> IO (Maybe (Iterator Element)) -- ^ an 'Iterator' over the 'Element's in @bin@ + -- and its descendents, or 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 188 --- | Gets an iterator for all elements in the bin that have the +-- | Get an iterator over the 'Element's in @bin@ that have the hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 191 - => bin -- ^ a bin - -> IO (Maybe (Iterator Element)) -- ^ an iterator on elements, or 'Nothing' + => bin -- ^ @bin@ - a 'Bin' + -> IO (Maybe (Iterator Element)) -- ^ an 'Iterator' over the sinks in @bin@, or 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 204 - => bin -- ^ a bin - -> IO (Maybe (Iterator Element)) -- ^ an iterator on elements, or 'Nothing' + => bin -- ^ @bin@ - a 'Bin' + -> IO (Maybe (Iterator Element)) -- ^ an 'Iterator' over the 'Element's in @bin@, or 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 213 - => bin -- ^ a bin - -> IO (Maybe (Iterator Element)) -- ^ an iterator on elements, or 'Nothing' + => bin -- ^ @bin@ - a 'Bin' + -> IO (Maybe (Iterator Element)) -- ^ an 'Iterator' on elements, or 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 223 - => bin -- ^ a bin - -> GType -- ^ the interface's type - -> IO (Maybe (Iterator Element)) -- ^ an iterator on elements, or 'Nothing' + => bin -- ^ @bin@ - a 'Bin' + -> GType -- ^ @iface@ - the interface's 'GType' + -> IO (Maybe (Iterator Element)) -- ^ an 'Iterator' on elements, or 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Bin.chs.pp 235 - => bin -- ^ a bin - -> PadDirection -- ^ whether to look for a source pad or a sink pad - -> IO (Maybe Pad) -- ^ an unconnected pad or 'Nothing' + => bin -- ^ @bin@ - a 'Bin' + -> PadDirection -- ^ @direction@ - the direction of the requested 'Pad' + -> IO (Maybe Pad) -- ^ an unconnected 'Pad', or 'Nothing' |
From: <du...@co...> - 2008-05-22 19:24:00
|
Sat May 17 19:53:27 EDT 2008 Peter Gavin <pg...@gm...> * gstreamer: M.S.G.Core.Buffer documentation edits and additions hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 36 - -- | Buffers are the basic unit of data transfer in GStreamer. The + -- | 'Buffer's are the basic unit of data transfer in GStreamer. The hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 39 - -- supported, allowing a smaller region of a buffer to become its - -- own buffer, with mechansims in place to ensure that neither + -- supported, allowing a smaller region of a 'Buffer' to become its + -- own 'Buffer', with mechansims in place to ensure that neither hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 105 --- | Get the flags set on this buffer. +-- | Get the flags set on @buffer@. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 107 - => bufferT - -> [BufferFlags] + => bufferT -- ^ @buffer@ - a 'Buffer' + -> [BufferFlags] -- ^ the flags set on @buffer@ hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 111 --- | Get the flags set on the current buffer. +-- | Get the flags set on the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 113 - => MiniObjectT bufferT m [BufferFlags] + => MiniObjectT bufferT m [BufferFlags] -- ^ the flags set on the current 'Buffer' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 116 --- | Set flags on the current buffer. +-- | Set flags on the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 118 - => [BufferFlags] + => [BufferFlags] -- ^ @flags@ - the flags to set on the current 'Buffer' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 122 --- | Unset flags on the current buffer. +-- | Unset flags on the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 124 - => [BufferFlags] + => [BufferFlags] -- ^ @flags@ - the flags to unset on the current 'Buffer' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 128 --- | Get the size of the buffer. +-- | Get @buffer@'s size in bytes. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 130 - => bufferT - -> Word + => bufferT -- ^ @buffer@ - a 'Buffer' + -> Word -- ^ the size of @buffer@ in bytes hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 143 --- | Get the size of the current buffer. +-- | Get the size of the current 'Buffer' in bytes. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 145 - => MiniObjectT bufferT m Word + => MiniObjectT bufferT m Word -- ^ the size of the current 'Buffer' in bytes hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 150 --- | Make an O(n) copy of the buffer data. +-- | Make an O(n) copy of the data stored in @buffer@. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 152 - => bufferT - -> BS.ByteString + => bufferT -- ^ @buffer@ - a 'Buffer' + -> BS.ByteString -- ^ the data stored in @buffer@ hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 164 --- | Make an O(n) copy of the current buffer. +-- | Make an O(n) copy of the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 166 - => MiniObjectT bufferT m BS.ByteString + => MiniObjectT bufferT m BS.ByteString -- ^ the data stored in the current 'Buffer' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 177 --- | Store an O(n) copy of the provided data in the current buffer. +-- | Store an O(n) copy of the provided data in the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 179 - => BS.ByteString + => BS.ByteString -- ^ @bs@ - the data to store in the current 'Buffer' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 196 --- be used once the buffer is returned. +-- be used once the 'Buffer' is returned. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 198 - => MiniObjectT bufferT m (Ptr Word8) + => MiniObjectT bufferT m (Ptr Word8) -- ^ a pointer to the data stored in the current 'Buffer' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 238 --- | Get the timestamp for this buffer. +-- | Get the timestamp on @buffer@. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 240 - => bufferT - -> Maybe ClockTime + => bufferT -- ^ @buffer@ - a 'Buffer' + -> Maybe ClockTime -- ^ the timestamp on @buffer@ hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 245 --- | Get the timestamp of the current buffer. +-- | Get the timestamp on the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 247 - => MiniObjectT bufferT m (Maybe ClockTime) + => MiniObjectT bufferT m (Maybe ClockTime) -- ^ the timestamp on the current 'Buffer' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 251 --- | Set the timestamp of the current buffer. +-- | Set the timestamp on the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 253 - => Maybe ClockTime + => Maybe ClockTime -- ^ @timestamp@ - the timestamp to set on the current 'Buffer' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 258 --- | Get the duration of the buffer. +-- | Get the duration of @buffer@. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 260 - => bufferT - -> Maybe ClockTime + => bufferT -- ^ @buffer@ - a 'Buffer' + -> Maybe ClockTime -- ^ the duration of @buffer@ hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 265 --- | Get the duration of the current buffer. +-- | Get the duration of the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 267 - => MiniObjectT bufferT m (Maybe ClockTime) + => MiniObjectT bufferT m (Maybe ClockTime) -- ^ the duration of the current 'Buffer' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 271 --- | Set the duration of the current buffer. +-- | Set the duration of the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 273 - => Maybe ClockTime + => Maybe ClockTime -- ^ @duration@ - the duration to set on the current 'Buffer' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 278 --- | Get the caps of the buffer. +-- | Get the 'Caps' of @buffer@. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 280 - => bufferT - -> Maybe Caps + => bufferT -- ^ @buffer@ - a buffer + -> Maybe Caps -- ^ the 'Caps' of @buffer@ if set, otherwise 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 287 --- | Get the caps of the current buffer. +-- | Get the caps of the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 289 - => MiniObjectT bufferT m (Maybe Caps) + => MiniObjectT bufferT m (Maybe Caps) -- ^ the 'Caps' of the current 'Buffer' + -- if set, otherwise 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 297 --- | Set the caps of the current buffer. +-- | Set the caps of the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 299 - => Maybe Caps + => Maybe Caps -- ^ @caps@ - the 'Caps' to set on the current + -- 'Buffer', or 'Nothing' to unset them hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 310 --- | Get the offset of the buffer. +-- | Get the start offset of the 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 312 - => bufferT - -> Maybe Word64 + => bufferT -- ^ @buffer@ - a buffer + -> Maybe Word64 -- ^ the start offset of @buffer@ if set, otherwise 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 317 --- | Get the start offset of the current buffer. +-- | Get the start offset of the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 319 - => MiniObjectT bufferT m (Maybe Word64) + => MiniObjectT bufferT m (Maybe Word64) -- ^ the start offset of the current + -- 'Buffer' if set, otherwise 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 324 --- | Set the start offset of the current buffer. +-- | Set the start offset of the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 326 - => Maybe Word64 + => Maybe Word64 -- ^ @offset@ - the start offset to set on the current buffer hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 331 --- | Get the end offset of the buffer. +-- | Get the end offset of the 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 333 - => bufferT - -> Maybe Word64 + => bufferT -- ^ @buffer@ - a buffer + -> Maybe Word64 -- ^ the end offset of @buffer@ if set, otherwise 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 338 --- | Get the end offset of the current buffer. +-- | Get the end offset of the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 340 - => MiniObjectT bufferT m (Maybe Word64) + => MiniObjectT bufferT m (Maybe Word64) -- ^ the start offset of the current + -- 'Buffer' if set, otherwise 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 345 --- | Set the end offset of the current buffer. +-- | Set the end offset of the current 'Buffer'. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 347 - => Maybe Word64 + => Maybe Word64 -- ^ @offset@ - the end offset to set on the current buffer hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 352 --- | Return 'True' if the buffer marks a discontinuity in a stream, or +-- | Return 'True' if the 'Buffer' marks a discontinuity in a stream, or hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 356 - => bufferT - -> Bool + => bufferT -- ^ @buffer@ - a buffer + -> Bool -- ^ 'True' if @buffer@ marks a discontinuity in a stream hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 361 --- | Return 'True' if the current buffer marks a discontinuity in a +-- | Return 'True' if the current 'Buffer' marks a discontinuity in a hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 364 - => MiniObjectT bufferT m Bool + => MiniObjectT bufferT m Bool -- ^ 'True' if the current buffer marks a + -- discontinuity in a stream hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 369 --- | Create an empty buffer and mutate it according to the given --- action. Once this function returns, the buffer is immutable. +-- | Create an empty 'Buffer' and mutate it according to the given +-- action. Once this function returns, the 'Buffer' is immutable. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 372 - => MiniObjectT Buffer m a -- ^ the mutating action + => MiniObjectT Buffer m a -- ^ @mutate@ - the mutating action hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 377 --- | Create and mutate a buffer of the given size. +-- | Create and mutate a 'Buffer' of the given size. hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 379 - => Word -- ^ the size of the buffer to be created - -> MiniObjectT Buffer m a -- ^ the mutating action - -> m (Buffer, a) -- ^ the new buffer and the action's result + => Word -- ^ @size@ - the size of the 'Buffer' to be created + -> MiniObjectT Buffer m a -- ^ @mutate@ - the mutating action + -> m (Buffer, a) -- ^ the new 'Buffer' and the action's result hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 386 --- | Create a sub-buffer from an existing buffer with the given offset +-- | Create a sub-buffer from an existing 'Buffer' with the given offset hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 394 - => bufferT -- ^ the parent buffer - -> Word -- ^ the offset - -> Word -- ^ the size + => bufferT -- ^ @parent@ - the parent buffer + -> Word -- ^ @offset@ - the offset + -> Word -- ^ @size@ - the size hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 408 - => bufferT1 - -> bufferT2 - -> Bool + => bufferT1 -- ^ @buffer1@ - the first buffer + -> bufferT2 -- ^ @buffer2@ - the second buffer + -> Bool -- ^ 'True' if the buffers are contiguous, + -- or 'False' if copying would be + -- required hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 418 --- | Create a new buffer that consists of a span across the given +-- | Create a new 'Buffer' that consists of a span across the given hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 427 - => bufferT1 -- ^ the first buffer - -> Word32 -- ^ the offset into the concatenated buffer - -> bufferT2 -- ^ the second buffer - -> Word32 -- ^ the length of the final buffer + => bufferT1 -- ^ @buffer1@ - the first buffer + -> Word32 -- ^ @offset@ - the offset into the concatenated buffer + -> bufferT2 -- ^ @buffer2@ - the second buffer + -> Word32 -- ^ @len@ - the length of the final buffer hunk ./gstreamer/Media/Streaming/GStreamer/Core/Buffer.chs.pp 444 - => bufferT1 -- ^ a buffer - -> bufferT2 -- ^ a buffer + => bufferT1 -- ^ @buffer1@ - a buffer + -> bufferT2 -- ^ @buffer2@ - a buffer |
From: <du...@co...> - 2008-05-22 19:23:59
|
Sun Feb 17 20:12:06 EST 2008 Peter Gavin <pg...@gm...> * gstreamer: document & implement missing API for M.S.G.Core.ElementFactory hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 26 --- | Maintainer : gtk...@li... --- Stability : alpha --- Portability : portable (depends on GHC) +-- | +-- Maintainer : gtk...@li... +-- Stability : alpha +-- Portability : portable (depends on GHC) +-- [_$_] +-- A factory for creating 'Element's. hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 33 - [_$_] + +-- * Detail + + -- | 'ElementFactory' is used to create instances of 'Element's. + -- [_$_] + -- Use 'elementFactoryFind' and 'elementFactoryCreate' to create + -- element instances, or use 'elementFactoryMake' as a convenient + -- shortcut. + +-- * Types [_$_] hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 48 +-- * ElementFactory Operations hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 58 + elementFactoryHasInterface, hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 60 - elementFactoryMake + elementFactoryMake, + elementFactoryCanSinkCaps, + elementFactoryCanSrcCaps, + elementFactoryGetPadTemplates hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 67 -import Control.Monad ( liftM ) +import Control.Monad ( liftM + , (>=>) ) +import Data.Maybe ( fromMaybe ) hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 75 +import System.Glib.GList ( readGList ) hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 80 -elementFactoryFind :: String - -> IO ElementFactory +-- | Search for an element factory with the given name. +elementFactoryFind :: String -- ^ @name@ - the name of the desired factory + -> IO (Maybe ElementFactory) -- ^ the factory if found, otherwise 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 84 - withUTFString name {# call element_factory_find #} >>= takeObject + withUTFString name {# call element_factory_find #} >>= maybePeek takeObject hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 86 -elementFactoryGetElementType :: (ElementFactoryClass elementFactory) => - elementFactory - -> IO (Maybe GType) +-- | Get the 'GType' for elements managed by the given factory. The type +-- can only be retrieved if the element factory is loaded, which can +-- be assured with +-- 'Media.Streaming.GStreamer.Core.PluginFeature.pluginFeatureLoad'. +elementFactoryGetElementType :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> IO (Maybe GType) -- ^ the type of elements managed + -- by the factory, or 'Nothing' if + -- the factory is not loaded hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 101 -elementFactoryGetLongname :: (ElementFactoryClass elementFactory) => - elementFactory - -> IO String +-- | Get the long name for the given factory. +elementFactoryGetLongname :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> IO String -- ^ the factory's long name hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 109 -elementFactoryGetKlass :: (ElementFactoryClass elementFactory) => - elementFactory - -> IO String +-- | Get the class for the given factory. +elementFactoryGetKlass :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> IO String -- ^ the factory's class hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 117 -elementFactoryGetDescription :: (ElementFactoryClass elementFactory) => - elementFactory - -> IO String +-- | Get the description for the given factory. +elementFactoryGetDescription :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> IO String -- ^ the factory's description hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 125 -elementFactoryGetAuthor :: (ElementFactoryClass elementFactory) => - elementFactory - -> IO String +-- | Get the author of the given factory. +elementFactoryGetAuthor :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> IO String -- ^ the factory's author hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 133 -elementFactoryGetNumPadTemplates :: (ElementFactoryClass elementFactory) => - elementFactory - -> IO Word +-- | Get the number of 'PadTemplate's provided by the given factory. +elementFactoryGetNumPadTemplates :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> IO Word -- ^ the number of 'PadTemplate's hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 141 -elementFactoryGetURIType :: (ElementFactoryClass elementFactory) => - elementFactory - -> IO Word +-- | Get the type of URIs supported by the given factory. +elementFactoryGetURIType :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> IO Int -- ^ the type of URIs supported by the factory hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 149 -elementFactoryGetURIProtocols :: (ElementFactoryClass elementFactory) => - elementFactory - -> IO (Maybe [String]) +-- | Get the list of protocols supported by the given factory. +elementFactoryGetURIProtocols :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> IO [String] -- ^ the supported protocols hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 155 - maybePeek peekUTFStringArray0 + liftM (fromMaybe []) . maybePeek peekUTFStringArray0 hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 157 -elementFactoryCreate :: (ElementFactoryClass elementFactory) => - elementFactory - -> String - -> IO (Maybe Element) +-- | Check if the given factory implements the interface with the given name. +elementFactoryHasInterface :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> String -- ^ @name@ - the interface name + -> IO Bool -- ^ true if the interface is implemented +elementFactoryHasInterface factory name = + liftM toBool . + withUTFString name . + {# call element_factory_has_interface #} . + toElementFactory $ + factory + +-- | Create a new element of the type supplied by the given +-- factory. It will be given the name supplied. +elementFactoryCreate :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> String -- ^ @name@ - the new element's name + -> IO (Maybe Element) -- ^ the new element if it could be created, + -- otherwise 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 181 -elementFactoryMake :: String - -> String - -> IO (Maybe Element) +-- | Create a new element of the type supplied by the named +-- factory. +elementFactoryMake :: String -- ^ @factoryName@ - the name of an element factory + -> Maybe String -- ^ @name@ - the new element's name, or + -- 'Nothing' generate a unique name + -> IO (Maybe Element) -- ^ the new element if it could be created, + -- otherwise 'Nothing' hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 190 - withUTFString name $ \cName -> + maybeWith withUTFString name $ \cName -> hunk ./gstreamer/Media/Streaming/GStreamer/Core/ElementFactory.chs 194 +-- | Check if the given factory can sink the given capabilities. +elementFactoryCanSinkCaps :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> Caps -- ^ @caps@ - the capabilities to check for + -> IO Bool -- ^ 'True' if @factory@ can sink the given capabilities +elementFactoryCanSinkCaps factory caps = + liftM toBool $ {# call element_factory_can_sink_caps #} (toElementFactory factory) caps + +-- | Check if the given factory can source the given capabilities. +elementFactoryCanSrcCaps :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> Caps -- ^ @caps@ - the capabilities to check for + -> IO Bool -- ^ 'True' if @factory@ can source the given capabilities +elementFactoryCanSrcCaps factory caps = + liftM toBool $ {# call element_factory_can_src_caps #} (toElementFactory factory) caps + +-- | Get the pad templates provided by the given factory. +elementFactoryGetPadTemplates :: (ElementFactoryClass elementFactory) + => elementFactory -- ^ @factory@ - an element factory + -> IO [PadTemplate] -- ^ the provided pad templates +elementFactoryGetPadTemplates = + {# call element_factory_get_static_pad_templates #} . toElementFactory >=> + readGList >=> mapM staticPadTemplateGet + |