Re: GLib plans for the next cycle

2009-04-21 Thread Allin Cottrell
On Tue, 21 Apr 2009, Havoc Pennington wrote: > On Mon, Apr 20, 2009 at 10:31 PM, Allin Cottrell wrote: > > IANAL, but... Hypothesis: Monster Corp distributes D-BUS under > > AFL, while believing that DB in fact violates patents held by > > Monster Corp. �MC then sues users of DB. �MC can no longe

Re: Using By-Value Compound Getters (Re: gtk_widget_get_allocation)

2009-04-21 Thread Cody Russell
On Tue, 2009-04-21 at 20:00 +0200, Tim Janik wrote: > To sum up our getter options: > > a) > /* force adding lots of helper variables into user code */ > void gtk_widget_get_allocation (GtkWidget *widget, > GtkAllocation *allocation); > > b) > /

Re: Using By-Value Compound Getters (Re: gtk_widget_get_allocation)

2009-04-21 Thread Behdad Esfahbod
On 04/21/2009 04:11 PM, Kalyanov Dmitry wrote: I think that using pass-by-value struct will bring more headache for language bindings developers, because this complicates ABI and not every language's foreign function interface supports passing structs by value. (I think that passing structs by va

Re: Using By-Value Compound Getters (Re: gtk_widget_get_allocation)

2009-04-21 Thread Kalyanov Dmitry
I think that using pass-by-value struct will bring more headache for language bindings developers, because this complicates ABI and not every language's foreign function interface supports passing structs by value. (I think that passing structs by value is not part of C language, but of C++ (or

Re: Using By-Value Compound Getters (Re: gtk_widget_get_allocation)

2009-04-21 Thread Havoc Pennington
Hi, On Tue, Apr 21, 2009 at 2:00 PM, Tim Janik wrote: > Keeping current uses just because we're used to them is going to > prevent change for the better. And introducing a new API style will > create "inconsistencies" only temporarily, fixing all getters over to > the new style and cleaning old c

Re: GLib plans for the next cycle

2009-04-21 Thread Brian J. Tarricone
Alexander Larsson wrote: On Mon, 2009-04-20 at 18:45 -0400, Allin Cottrell wrote: On Mon, 20 Apr 2009, Alexander Larsson wrote: gvfs needs a session bus, not a system bus, so you're falling back to a non-gvfs system. Thus no http support. >> OK, I suppose I can get this working on my own sys

Using By-Value Compound Getters (Re: gtk_widget_get_allocation)

2009-04-21 Thread Tim Janik
On Fri, 17 Apr 2009, Cody Russell wrote: This is rather old, but it never came up again after this so I'd like to see what thoughts are about how to implement this in C. It was in 2.13 but removed before 2.14 because of disagreement, but I can't find any public record of the disagreement in gtk