PATCH: GString overwriting functions

2006-10-31 Thread Samuel Cormier-Iijima
Hi everyone, I've cooked up a small patch that adds overwriting functionality to GStrings. It's explained in more detail in the bug report: http://bugzilla.gnome.org/show_bug.cgi?id=368686 This is the first patch I've submitted to such a visible project, so of course your standards are going to b

Re: What about official GTK+ installer for win32?

2006-10-31 Thread Allin Cottrell
On Fri, 27 Oct 2006, JustFillBug wrote: > Anyway, if only pango and locale stuff were not so bloated, it would be > ok to ship gtk lib with applications. You only need to ship the full pango and locale material if your program supports a large range of languages and scripts. My application sup

Re: Absolute font sizes

2006-10-31 Thread Owen Taylor
On Tue, 2006-10-31 at 15:46 -0500, Behdad Esfahbod wrote: > On Tue, 2006-10-31 at 12:02 +0100, Kristian Rietveld wrote: > > Hey Behdad, > > Hey Kris, > > > We noticed this week that nothing in GTK+ currently checks whether the > > font size returned by pango_font_description_get_size() is absolu

Re: Absolute font sizes

2006-10-31 Thread Behdad Esfahbod
On Tue, 2006-10-31 at 12:02 +0100, Kristian Rietveld wrote: > Hey Behdad, Hey Kris, > We noticed this week that nothing in GTK+ currently checks whether the > font size returned by pango_font_description_get_size() is absolute or not. This is a very unfortunate side effect of the fact that abso

Re: Gtk+ unit tests (brainstorming)

2006-10-31 Thread Stefan Kost
Hi Tim, Tim Janik wrote: > Hi all. > > as mentioned in another email already, i've recently worked on improving > unit test integration in Beast and summarized this in my last blog entry: >http://blogs.gnome.org/view/timj/2006/10/23/0 # Beast and unit testing > > I did a presentation on che

Re: Gtk+ unit tests (brainstorming)

2006-10-31 Thread Carl Worth
[CC'ing Keith for a question near the end...] On Tue, 31 Oct 2006 15:26:35 +0100 (CET), Tim Janik wrote: > i.e. using averaging, your numbers include uninteresting outliers > that can result from scheduling artefacts (like measuring a whole second > for copying a single pixel), and they hide the i

Re: GTK+ Application class

2006-10-31 Thread Yevgen Muntyan
Emmanuele Bassi wrote: >hy Yevgen; > >On Wed, 2006-10-25 at 15:34 -0500, Yevgen Muntyan wrote: > > > What's the purpose of this? >>>These vfuncs have been moved too to the GtkDocumentModel interface, >>>inside a more complex GtkDocumentInfo boxed type. The rati

Re: Gtk+ unit tests (brainstorming)

2006-10-31 Thread Tim Janik
On Wed, 25 Oct 2006, Carl Worth wrote: > On Wed, 25 Oct 2006 12:40:27 -0500, Federico Mena Quintero wrote: > There are some things I really don't like in cairo's "make check" > suite right now: > 2. The tests take forever to link. Each test right now is a separate > program. I chose this origi

Re: Gtk+ unit tests (brainstorming)

2006-10-31 Thread Tim Janik
On Wed, 25 Oct 2006, Federico Mena Quintero wrote: > On Wed, 2006-10-25 at 17:52 +0200, Tim Janik wrote: >> - GLib based test programs should never produce a "CRITICAL **:" or >>"WARNING **:" message and succeed. > > Definitely. I have some simple code in autotestfilechooser.c to catch > thi

Absolute font sizes

2006-10-31 Thread Kristian Rietveld
Hey Behdad, We noticed this week that nothing in GTK+ currently checks whether the font size returned by pango_font_description_get_size() is absolute or not. Looking at some uses of pango_font_description_get_size_is_absolute() in Pango, it seemed to me that the correct code snippet to get the

Re: Gtk+ unit tests (brainstorming)

2006-10-31 Thread Iago Toral Quiroga
Havoc Pennington wrote: > Tim Janik wrote: > > > > ah, interesting. could you please explain why you consider it > > such a big win? > > > > Without it I think I usually write about 10% coverage, and imagine in my > mind that it is 50% or so ;-) I'm guessing this is pretty common. > > With it,