Re: High-resolution scroll events

2010-11-17 Thread Sven Herzberg
Hi, Am Mittwoch, den 17.11.2010, 13:29 +0100 schrieb Max Schwarz: Do you have an idea on how to implement this? I think Qt's model is quite nice, they have a 'delta' field in their event [3] which gives more precise information. Of course, If you want to retain API compability (which I think

Re: High-resolution scroll events

2010-11-17 Thread Sven Herzberg
Hi, Am Mittwoch, den 17.11.2010, 16:25 +0100 schrieb Max Schwarz: Do you have an idea on how to implement this? I think Qt's model is quite nice, they have a 'delta' field in their event [3] which gives more precise information. Of course, If you want to retain API compability (which

Re: gtk3 planning

2010-06-29 Thread Sven Herzberg
Hi, Am Freitag, den 25.06.2010, 14:12 -0400 schrieb Colin Walters: On Fri, Jun 25, 2010 at 12:50 PM, Matthias Clasen matthias.cla...@gmail.com wrote: Fwiw, a big motivation for all the sealing business was to make it possible that GTK3 _can_ move faster and incorporate more new stuff

Re: Is it a bug in Gio::FileMonitor?

2010-06-02 Thread Sven Herzberg
Hi, Am Mittwoch, den 02.06.2010, 04:26 +0300 schrieb Владимир: On Tue, Jun 1, 2010 at 12:57 PM, Alexander Larsson al...@redhat.com wrote: On Mon, 2010-05-31 at 17:36 +0300, Владимир wrote: There is nothing server about change notification

Re: Testing for memory leaks in GTK

2010-01-05 Thread Sven Herzberg
Hi Erik, Am Dienstag, den 05.01.2010, 23:32 +1100 schrieb Erik de Castro Lopo: I have written a small test program that can create independent toplevel windows based on a command line parameter. Currently these top level windows contain nothing more than a GtkLabel widget and destroy

Re: Why do constructors return GtkWidget?

2009-11-04 Thread Sven Herzberg
Hi, Am Mittwoch, den 04.11.2009, 06:23 +0100 schrieb Javier Jardón: The question: why is it normal for GTK widget constructors to return GtkWidget and not their real type? Cody perfectly replied to that already. PD: If there is not technical reasons, maybe we can change this for GTK+ 3 (or

Re: test locations

2009-07-13 Thread Sven Herzberg
Benjamin, Am Montag, den 13.07.2009, 16:52 +0200 schrieb Benjamin Otte: On Mon, Jul 13, 2009 at 3:55 PM, Martin Nordholtsense...@gmail.com wrote: Always building the tests ensures that they are kept up do date with changes in the rest of the code base. If they are not built along with the

Re: Gtk+ problem with time-consuming threads

2009-05-11 Thread Sven Herzberg
Am Dienstag, den 05.05.2009, 18:57 -0700 schrieb patkhor: I provide the user with the OK button, when user click on that button, the program will create some number of threads (more than 10) and each threads will do time-consuming work in the background. I successfully compiled my program, but

Re: GTK+ web site [PATCH]

2009-03-28 Thread Sven Herzberg
Am Samstag, den 28.03.2009, 12:37 +0100 schrieb Christian Dywan: Am Fri, 27 Mar 2009 17:38:12 -0700 schrieb Eugenia Loli-Queru el...@hotmail.com: So, what about that link? :-) Here's a patch. I'm not quite sure who decides if we can change it back, but it's ready to go. I don't think we

Re: fsync in glib/gio

2009-03-16 Thread Sven Herzberg
Am Montag, den 16.03.2009, 11:49 +0100 schrieb Alexander Larsson: On Mon, 2009-03-16 at 10:23 +, Michael Meeks wrote: On Sun, 2009-03-15 at 10:19 +0100, Alexander Larsson wrote: But there are milllions of lines of code that does the rename as atomic replace and the chances that

Re: fsync in glib/gio

2009-03-12 Thread Sven Herzberg
Hi, Am Donnerstag, den 12.03.2009, 21:11 +0100 schrieb Alexander Larsson: typedef enum { G_FILE_CREATE_NONE= 0, G_FILE_CREATE_PRIVATE = (1 0), - G_FILE_CREATE_REPLACE_DESTINATION = (1 1) + G_FILE_CREATE_REPLACE_DESTINATION = (1 1), + G_FILE_CREATE_ASYNC_WRITE = (1 2), }

Re: Bulding client-side-windows branch

2009-02-16 Thread Sven Herzberg
Hi, Am Montag, den 16.02.2009, 09:51 +0100 schrieb Alexander Larsson: On Mon, 2009-02-09 at 18:27 -0800, C.J. Adams-Collier wrote: I'm having a problem building gtk from Alex's branch. Am I doing something wrong? I had jhbuild take care of building the deps and got a jhbuild shell before

Re: [Patch] Cursor cache

2009-01-27 Thread Sven Herzberg
Hi, Am Montag, den 19.01.2009, 03:08 -0500 schrieb Matthias Clasen: On Sun, Jan 18, 2009 at 12:24 PM, Dr. David Alan Gilbert gilbe...@treblig.org wrote: * Matthias Clasen (matthias.cla...@gmail.com) wrote: On Sat, Jan 17, 2009 at 8:19 PM, Dr. David Alan Gilbert gilbe...@treblig.org wrote:

Re: gtk+ speed

2008-12-22 Thread Sven Herzberg
Am Montag, den 22.12.2008, 14:27 +0100 schrieb Olav Vitters: On Mon, Dec 22, 2008 at 03:10:13PM +0200, Eugene Gorodinsky wrote: Vala is a high level language which is translated to GObject and C, so you are proposing to rewrite GObject using GObject. Vala can be modified, since it is

Re: Howto retrieve selected font size from GtkFontButton

2008-12-02 Thread Sven Herzberg
Am Dienstag, den 02.12.2008, 14:55 +0100 schrieb Christian Dywan: Am Tue, 2 Dec 2008 14:19:49 +0100 schrieb Nelson Benítez León [EMAIL PROTECTED]: 2008/12/2 Christian Dywan [EMAIL PROTECTED] Am Tue, 2 Dec 2008 14:03:01 +0100 schrieb Nelson Benítez León [EMAIL PROTECTED]: Hi,

[Patch] Re: Howto retrieve selected font size from GtkFontButton

2008-12-02 Thread Sven Herzberg
http://bugzilla.gnome.org/show_bug.cgi?id=562998 Regards, Sven ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: g_utf8_validate() and NUL characters

2008-10-08 Thread Sven Herzberg
Hi, Am Donnerstag, den 09.10.2008, 00:01 + schrieb Maciej Katafiasz: Den Tue, 07 Oct 2008 16:55:29 -0400 skrev Behdad Esfahbod: coda wrote: Another possibility mentioned was making more use of GString. Not a huge fan. Why's that? GString is a very odd animal, we have it, it works

Re: Patch biohazard report, Sep 29th

2008-09-29 Thread Sven Herzberg
Am Montag, den 29.09.2008, 15:34 +0200 schrieb Christian Dywan: Low hanging fruits: Plus this one: http://bugzilla.gnome.org/show_bug.cgi?id=548666 Bug 548666 – [PATCH] Allow searching for a given item in a GSequence Patch attached; applies cleanly; documentation in there; even a test case

Re: Minutes of the GTK+ Team Meeting - 2008-09-23

2008-09-24 Thread Sven Herzberg
Am Mittwoch, den 24.09.2008, 18:03 +0200 schrieb Xavier Bestel: BTW where can I find a list of 2.90/3.0-deprecations ? 2.90 and 3.0 won't deprecate anything. Your list will be the list of deprecated API shipped with 2.16.0. Regards, Sven ___

Re: RFC: Deprecate GTK_{RESPONSE,STOCK}_{YES,NO}

2008-08-25 Thread Sven Herzberg
Am Montag, den 25.08.2008, 14:12 +0200 schrieb Murray Cumming: At the least, any Yes/No stuff in the API reference documentation should have a note saying that they are generally a bad idea, probably with a link to the GNOME HIG. And also, please mention that some languages don't even have

Re: When to call g_thread_init(), again...

2008-08-15 Thread Sven Herzberg
Am Freitag, den 15.08.2008, 15:06 +0200 schrieb Christian Dywan: Am Fri, 15 Aug 2008 15:45:29 +0300 schrieb Tor Lillqvist [EMAIL PROTECTED]: I think both is rather open for missunderstandings actually, before and after the improvement of the g_thread_init documentation. g_mem_set_vtable

Re: setting up a gtk dev environment

2008-07-27 Thread Sven Herzberg
Am Sonntag, den 27.07.2008, 15:48 -0400 schrieb Patrick Hallinan: I do not know why Werror would be enabled. If you cannot find the reason, then when the compilation fails and you get the jhbuild options as to what to do, pick Option 4 which gives you a shell. Enter the guile directory

Re: About GTK+ 3.0 and deprecated things

2008-07-17 Thread Sven Herzberg
Am Donnerstag, den 17.07.2008, 06:59 -0500 schrieb Travis Watkins: On Thu, Jul 17, 2008 at 6:51 AM, Kalle Vahlman [EMAIL PROTECTED] wrote: The problem is this code cleanup release breaks everyone's applications for no reason. This is wrong for 2 reasons: 1. It does only breaks apps that don't

Re: About GTK+ 3.0 and deprecated things

2008-07-16 Thread Sven Herzberg
Hi, Am Mittwoch, den 16.07.2008, 18:08 -0400 schrieb Paul Davis: On Wed, 2008-07-16 at 16:51 -0400, Morten Welinder wrote: i totally agree with those who are arguing against the current notion of what GTK3 should be. i haven't seen any evidence that any of the problems that our developers

Re: Is this a bug of GMainLoop?

2008-05-14 Thread Sven Herzberg
out there, it's quite unlikely that you hit a massive bug like this). Regards, Sven -- Sven Herzberg Imendio AB - Expert solutions in GTK+ http://www.imendio.com ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman

Re: Move to LGPL3

2008-03-18 Thread Sven Herzberg
Hi Tommi, Am Dienstag, den 18.03.2008, 11:56 +0200 schrieb Tommi Komulainen: On Sat, 2008-03-15 at 21:03 +0100, ext ryan lortie wrote: After some talk at the Hackfest about it, I'm writing the list to officially request that glib and GTK be moved to LGPL version 3 or later. IANAL and

Re: Move to LGPL3

2008-03-18 Thread Sven Herzberg
Quoting GPL 2: »However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component

Re: Request for API/ABI breaks in glib/gio

2008-02-22 Thread Sven Herzberg
Am Freitag, den 22.02.2008, 16:34 +0100 schrieb Alexander Larsson: The first one concerns g_uri_get_scheme. The webkit developers has plans to add a GUri object in glib, and g_uri_get_scheme (which takes a uri string and returns the scheme part) would conflict with the g_uri_ namespace.

Re: Can I use gtk_widget_unref() to releasetthe object created by gtk_invisible_new()?

2008-01-30 Thread Sven Herzberg
Am Mittwoch, den 30.01.2008, 10:54 +0200 schrieb [EMAIL PROTECTED]: The floating references in GTK make the whole reference counting a bit messy. The following points make life easier: * Always have a matching g_object_unref for each g_object_ref you have You mean, g_object_ref_sink().

Re: Extended Layout Summary

2008-01-10 Thread Sven Herzberg
Am Freitag, den 21.12.2007, 11:05 +0100 schrieb Mathias Hasselmann: Am Donnerstag, den 20.12.2007, 11:46 -0500 schrieb Havoc Pennington: Third, since implementing an interface requires extra boilerplate GObject stuff, it would be convenient for authors of a custom widget if GtkWidget

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 Natterer wrote:

Re: gtester git repo (Re: GLib testing framework)

2007-11-16 Thread Sven Herzberg
Your API has g_test_rand_bit() which should (IMO) be called g_test_rand_boolean() to match the fundamental type's name that's used for this in glib (gboolean) and also to provide consistency with g_rand_boolean(). I think a difference to the rest of the g_* API isn't really helpful in

Re: GInterfaces and API Stability

2007-11-14 Thread Sven Herzberg
Alp Toker wrote: Matthias Clasen wrote: Well, I have certainly considered C ABI compatibility to be the main deciding factor when making such decisions. I'd say if C# interfaces are inflexible like that then mapping GObject interfaces directly to C# interfaces was probably wrong.

Re: GObject Interface vs Pure Virtual Class

2007-05-12 Thread Sven Herzberg
Kuang-Chun Cheng wrote: Hi, I'm studying GObject system and found that I can implement both Pure Virtual Class (by setting all member functions NULL to make the class pure virtual) and an Interface in GObject. I'm a C programmer without much C++ experiences, but according to my

libccc (was: Re: goocanvas notes)

2007-05-02 Thread Sven Herzberg
Havoc Pennington wrote: If that makes sense, I'd suggest that others review and write up their thinking on GooCanvas, perhaps reading some of the old threads, Piccolo, HippoCanvas, etc. as background material. And also if there are other canvas maintainers who want to put their hat in the

Re: goocanvas notes

2007-05-02 Thread Sven Herzberg
Carl Worth wrote: On Mon, 30 Apr 2007 12:52:55 -0400, Havoc Pennington wrote: The latest commit mentioned there talks about a 0.0.5 release, but I don't know where a tar file for that might exist. Sven? Yves had two small issues with my test-tarball of 0.0.5 and I'm going to fix these

Re: GtkCanvas requirements?

2007-04-29 Thread Sven Herzberg
Carlos Garnacho wrote: Hello!, On Fri, 2007-04-20 at 17:11 +0200, Sven Herzberg wrote: Marco Pesenti Gritti wrote: There is something which bothers me though. Support for some units, points for example, would require floating points measures. And I suspect we don't want to do

Re: GtkCanvas requirements?

2007-04-20 Thread Sven Herzberg
Cody Russell wrote: I'd like the canvas system to be generalized enough that we can have multiple implementations of it, in the same way that GDK allows us to port to Win32 or MacOSX. In particular, I think we could have an implementation that is much like what most of the canvases are doing

Re: GtkCanvas requirements?

2007-04-20 Thread Sven Herzberg
Carlos Garnacho wrote: First of all we need to specify the feature requirements for the canvas. The following is a list of features I think we should consider, hope it's a good start, please add to it if there are others: - GTK+ suitable API. - a11y support. - Model/View split. - Size

Re: GtkCanvas requirements?

2007-04-20 Thread Sven Herzberg
Marco Pesenti Gritti wrote: There is something which bothers me though. Support for some units, points for example, would require floating points measures. And I suspect we don't want to do layout in floating point (instability issues). Mozilla converts css units in twips (an arbitrary integer

Re: has anyone valgrind'd gtk?

2006-12-06 Thread Sven Herzberg
On Mi, 2006-12-06 at 22:00 +0800, [EMAIL PROTECTED] wrote: The reality is that gtk is leaking. Let's call it »Your test case is leaking« (whether or not GTK+ is the source of that needs to be checked). g_signal_newv() from within a g_object_new() from within a gtk_window_new() isn't freed.

Re: Getting Background app into focus

2006-11-29 Thread Sven Herzberg
Hey Kaustubh, On Mi, 2006-11-29 at 10:38 +0530, Kaustubh Atrawalkar wrote: How to get a background running application into focus by another application? I mean there is a gtk application running on which another gtk application is running. Now i need to get that background application

CCC: cairo based canvas 0.0.3

2006-09-03 Thread Sven Herzberg
What is libccc? === Libccc is a canvas library designed to be easy to use and yet provide many useful features to application developers. Features: * API is similar to Gnome Canvas (but avoids several API bugs from Gnome Canvas) * Model/View based interface *

Re: Editable GtkLabel?

2006-07-20 Thread Sven Herzberg
On Do, 2006-07-20 at 10:04 +0200, Murray Cumming wrote: In the GTK+ meeting at GUADEC ( http://www.gtk.org/plan/meetings/20060625.txt ) there was talk of making GtkLabel editable. For what is this needed? You can to use that in UI builders like glade to edit menu items in place. Regards,

GTK-Canvas

2006-02-27 Thread Sven Herzberg
Hi there, I spend the last weeks to develop a cairo based canvas for GTK+. When developing that canvas I was inspired by the GNOME canvas API. For people who have been using the GNOME canvas, it's very easy to use, there's just one bis change: Model/View split. The dependency list of that

Re: replacing old C++ wrapping code in some headers files of GTK+ 2.6.7

2005-04-28 Thread Sven Herzberg
Hi, I think it would be easier for the GTK+ people if you could contribute patches. If you're working with CVS (in case you don't: you should) just edit the files you want to change ans then create a patch by executing: cvs diff -Nup changes.patch This will create a changes.patch file