Re: Test Framework Mini Tutorial

2007-12-14 Thread Kouhei Sutou
Hi, I'm developing Cutter(*) that is an unit testing framework for C to write tests more easily and simply. (*): http://cutter.sf.net/ In <[EMAIL PROTECTED]> "Test Framework Mini Tutorial" on Thu, 13 Dec 2007 18:14:57 +0100 (CET), Tim Janik <[EMAIL PROTECTED]> wrote: > The main goals in writ

Re: gvfs hal volume monitoring backend

2007-12-14 Thread Matthias Clasen
On Dec 14, 2007 7:21 PM, David Zeuthen <[EMAIL PROTECTED]> wrote: > - build fixes since only gio/gio.h can be included now >(btw, should gio.h conditionally include the UNIX specific bits? This > is not the case right now; I manually have to unclude gunixmounts.h) No. We generally leave

Re: [PATCH] Use the volume monitor correctly and make it act like Nautilus' sidebar

2007-12-14 Thread David Zeuthen
On Fri, 2007-12-14 at 19:25 -0500, David Zeuthen wrote: > I've attached the patch to this mail. Thanks for reviewing it. And here's a patch that fixes a leak. Goes on top of the previous one. Sorry about that. Thanks! David diff --git a/src/gtkfilesystemgvfs.c b/src/gtkfilesystemgvfs.c ind

[PATCH] Use the volume monitor correctly and make it act like Nautilus' sidebar

2007-12-14 Thread David Zeuthen
Hey Carlos, Here's a patch that makes the GTK+ gvfs file chooser backend correctly use the volume monitor and make it act like the Nautilus places sidebar. Which is how the gnome-vfs GTK+ file chooser backend in libgnomeui currently works. Notably - unmounted media is shown and if you double cli

Re: gvfs hal volume monitoring backend

2007-12-14 Thread David Zeuthen
On Fri, 2007-12-14 at 03:22 -0500, David Zeuthen wrote: > Hi again, > > Here we go with the patches for the hal volume monitoring backend: > >  http://people.freedesktop.org/~david/gio.patch > http://people.freedesktop.org/~david/nautilus.patch > http://people.freedesktop.org/~david/gvfs.pat

Re: GIO API review

2007-12-14 Thread Matthias Clasen
On Dec 14, 2007 3:27 AM, Alexander Larsson <[EMAIL PROTECTED]> wrote: > Anything that has cancellable operations (things like libsoup or > whateveR) should use GCancellable. And GAsyncResult is a very powerful > pattern for doing async operation that all libraries with async > operations should ta

Re: GIO API review

2007-12-14 Thread Sven Herzberg
Alexander Larsson wrote: > On Thu, 2007-12-13 at 14:50 +0100, Michael Natterer wrote: > >> Alexander Larsson wrote: >> >>> On Wed, 2007-12-12 at 16:46 +0100, Michael Natterer wrote: >>> Alexander Larsson wrote: > On Tue, 2007-12-11 at 17:48 +0100, Michael Natte

Re: nmake build fixes for glib.

2007-12-14 Thread Lieven van der Heide
Here you go: http://bugzilla.gnome.org/show_bug.cgi?id=503602 Did you have a chance to look at it? Greets, Lieven van der Heide. On 12/12/07, Cody Russell <[EMAIL PROTECTED]> wrote: > On Wed, 2007-12-12 at 17:43 +0100, Lieven van der Heide wrote: > > Hi, > > > > I made some fixes for the nmake

Re: GIO API review

2007-12-14 Thread Martyn Russell
Matthias Clasen wrote: > On Dec 13, 2007 1:21 PM, Martyn Russell <[EMAIL PROTECTED]> wrote: > >> I don't really see the need for adding symbols to the library to >> represent 0. If there is only one "flag" in each of these that matters, >> doesn't it make more sense to just have a boolean? >> > >

Re: GIO API review

2007-12-14 Thread Mikael Hallendal
14 dec 2007 kl. 09.27 skrev Alexander Larsson: Hi, > On Thu, 2007-12-13 at 19:19 +0100, Mikael Hallendal wrote: > >> For example, if we plan to never use the GAsync infrastructure for >> anything other than GIO there is a point to put it under the GIO >> namespace as it shows where it belongs and

Re: GIO API review

2007-12-14 Thread Alexander Larsson
On Thu, 2007-12-13 at 19:19 +0100, Mikael Hallendal wrote: > For example, if we plan to never use the GAsync infrastructure for > anything other than GIO there is a point to put it under the GIO > namespace as it shows where it belongs and what part of GLib it is > used for. It also means w

gvfs hal volume monitoring backend

2007-12-14 Thread David Zeuthen
Hi again, Here we go with the patches for the hal volume monitoring backend:  http://people.freedesktop.org/~david/gio.patch http://people.freedesktop.org/~david/nautilus.patch http://people.freedesktop.org/~david/gvfs.patch First there's a gio patch with some feature additions and fixes fo

Re: GIO API review

2007-12-14 Thread Alexander Larsson
On Thu, 2007-12-13 at 19:45 +0100, Richard Hult wrote: > Mikael Hallendal wrote: > > I just wanted to clarify though that it's not so much for technical > > reasons I suggested that we namespace a bit more carefully. > > > > For example, if we plan to never use the GAsync infrastructure for >