Re: GVfs status report

2007-09-16 Thread Yevgen Muntyan
Alexander Larsson wrote: > On Fri, 2007-09-14 at 10:47 -0400, Havoc Pennington wrote: > >> Hi, >> >> On 9/14/07, Alexander Larsson <[EMAIL PROTECTED]> wrote: >> >>> Well, the same class is used on both unix and windows. Its the >>> implementation of "native files", and I don't see any need

Re: GVfs status report

2007-09-16 Thread Alexander Larsson
On Fri, 2007-09-14 at 10:47 -0400, Havoc Pennington wrote: > Hi, > > On 9/14/07, Alexander Larsson <[EMAIL PROTECTED]> wrote: > > Well, the same class is used on both unix and windows. Its the > > implementation of "native files", and I don't see any need to split it > > out really. What differenc

Re: Theory of good signal/event API design?

2007-09-16 Thread Sander Marechal
Robert Schwebel wrote: > On Sun, Sep 16, 2007 at 08:51:26PM +0200, Sander Marechal wrote: >> Maybe. I did a bit of reading and it looks like bdus was created for >> communication between applications and for os->application >> communication, not for passing messages around within a single applicati

Re: Behaviour of getters wrt dup/ref

2007-09-16 Thread Mathias Hasselmann
Am Sonntag, den 16.09.2007, 12:12 -0400 schrieb Behdad Esfahbod: > On Sun, 2007-09-16 at 03:03 -0400, David Nečas (Yeti) wrote: > > On Sat, Sep 15, 2007 at 11:08:38PM -0400, Behdad Esfahbod wrote: > > > On Fri, 2007-09-14 at 10:35 -0400, Alexander Larsson wrote: > > > > > > > > char * g_data_

GLib 2.14.1 released

2007-09-16 Thread Matthias Clasen
GLib 2.14.1 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.14/ http://download.gnome.org/sources/glib/2.14/ glib-2.14.1.tar.bz2 md5sum: 196d7944a8ddc1f7c3d1e9c7146dd560 glib-2.14.1.tar.gzmd5sum: dd436aceda2b0fac690d11129b157dc9 This is a bug fix release in the 2.14 series

Re: Theory of good signal/event API design?

2007-09-16 Thread Robert Schwebel
On Sun, Sep 16, 2007 at 08:51:26PM +0200, Sander Marechal wrote: > Maybe. I did a bit of reading and it looks like bdus was created for > communication between applications and for os->application > communication, not for passing messages around within a single application. Yes, sure. I assumed th

Re: Theory of good signal/event API design?

2007-09-16 Thread Sander Marechal
Robert Schwebel wrote: > On Sun, Sep 16, 2007 at 06:28:56PM +0200, Sander Marechal wrote: >> Is there some theory, guidelines, tutorials, whatever about >> designing an event/message system, especially about what >> events/messages/signals to add at which locations? > > Wouldn't that be an applica

Re: Theory of good signal/event API design?

2007-09-16 Thread Robert Schwebel
On Sun, Sep 16, 2007 at 06:28:56PM +0200, Sander Marechal wrote: > I am building an application in which pretty much all functionality is > abstracted away in various modules. All these modules can be loaded and > configured at will and everything communicates by passing > messages/events around. M

Re: Behaviour of getters wrt dup/ref

2007-09-16 Thread Yeti
On Sun, Sep 16, 2007 at 12:12:11PM -0400, Behdad Esfahbod wrote: > > > > The right interface for this type of functions have been > > already invented: that of glibc's getline. It can allocate > > new buffers, it can reuse existing buffers resizing them if > > necessary -- and it can be even used

Theory of good signal/event API design?

2007-09-16 Thread Sander Marechal
Hello, I am building an application in which pretty much all functionality is abstracted away in various modules. All these modules can be loaded and configured at will and everything communicates by passing messages/events around. Modules can listen for specific messages and respond to it, or sen

Re: Behaviour of getters wrt dup/ref

2007-09-16 Thread Behdad Esfahbod
On Sun, 2007-09-16 at 03:03 -0400, David Nečas (Yeti) wrote: > On Sat, Sep 15, 2007 at 11:08:38PM -0400, Behdad Esfahbod wrote: > > On Fri, 2007-09-14 at 10:35 -0400, Alexander Larsson wrote: > > > > > > char * g_data_input_stream_get_line (GDataInputStream *data_stream, > > >

Re: GTK+ Website Review - draft 2

2007-09-16 Thread Philip Withnall
Hi, It might be an idea to link the list items in the "Interfaces" and "Foundations" section of the features page to the relevant parts of the API documentation on library.gnome.org. That is, unless the features page isn't meant for programmers. You might also want to insert some more whitespace

GTK+ Website Review - draft 2

2007-09-16 Thread Martyn Russell
Hi, I finally got round to finishing these pages for a second review. You can test the latest version here: http://imendio.com/~martyn/gtk/draft2b/about.html I have changed a few things compared to draft 1 which I initially did: - Fixed the pages so they work on devices like the N800. - F

Re: Behaviour of getters wrt dup/ref

2007-09-16 Thread Yeti
On Sat, Sep 15, 2007 at 11:08:38PM -0400, Behdad Esfahbod wrote: > On Fri, 2007-09-14 at 10:35 -0400, Alexander Larsson wrote: > > > > char * g_data_input_stream_get_line (GDataInputStream *data_stream, > > gsize *length, > >