Intricate changes to Quartz/OSX backend

2009-10-26 Thread Kristian Rietveld
Hi, Over the weekend I have reworked how the Quartz backend does its coordinate transformation. You can imagine this is at the very core of the backend and thus a very intricate change set. I have just pushed these changes to git master. This is a call out to all GTK+ users on Quartz to please

Mocks and coverage with gtk/glib test frameworks?

2009-10-26 Thread Michael Libby
Forgive me if I'm on the wrong list with these questions, but gtk-devel seems to be the place where most gtk/glib test discussion has occurred. If there's a more appropriate place to bring this up, please let me know. I am using the gtk/glib test frameworks to do test driven development in C.

Re: Mocks and coverage with gtk/glib test frameworks?

2009-10-26 Thread Simon McVittie
On Mon, 26 Oct 2009 at 06:58:35 -0500, Michael Libby wrote: 2. Is there any way to measure code coverage? In Telepathy we use the standard gcov framework that comes with gcc, together with lcov (apt-get install lcov) to produce a nice HTML report. For instance, have a look at /m4/compiler.m4 and

Re: Intricate changes to Quartz/OSX backend

2009-10-26 Thread John Ralls
On Oct 26, 2009, at 2:07 AM, Kristian Rietveld wrote: Hi, Over the weekend I have reworked how the Quartz backend does its coordinate transformation. You can imagine this is at the very core of the backend and thus a very intricate change set. I have just pushed these changes to git master.

Re: Intricate changes to Quartz/OSX backend

2009-10-26 Thread Paul Davis
On Mon, Oct 26, 2009 at 10:03 AM, John Ralls jra...@ceridwen.us wrote: On Oct 26, 2009, at 2:07 AM, Kristian Rietveld wrote: Hi, Over the weekend I have reworked how the Quartz backend does its coordinate transformation.  You can imagine this is at the very core of the backend and thus a

Re: Intricate changes to Quartz/OSX backend

2009-10-26 Thread John Ralls
On Oct 26, 2009, at 7:44 AM, Paul Davis wrote: I'm starting a build with moduleset-unstable. I've run into a fairly problem at the meta-gtk-osx-bootstrap stage: *** Checking out docbook-setup *** [2/13] jhbuild build: failed to unpack /Users/paul/gtk/source/pkgs/DB_1 there is nothing wrong

Re: Intricate changes to Quartz/OSX backend

2009-10-26 Thread John Ralls
On Oct 26, 2009, at 7:44 AM, Paul Davis wrote: I'm starting a build with moduleset-unstable. I've run into a fairly problem at the meta-gtk-osx-bootstrap stage: *** Checking out docbook-setup *** [2/13] jhbuild build: failed to unpack /Users/paul/gtk/source/pkgs/DB_1 there is nothing wrong

Re: Intricate changes to Quartz/OSX backend

2009-10-26 Thread Kristian Rietveld
On Oct 26, 2009, at 4:23 PM, John Ralls wrote: Oh, and unstable won't build without intervention on Tiger, because the latest Pango uses CoreText instead of ATSUI; CoreText wasn't supported before Leopard. They didn't really port the backend to CoreText. It is still using the ATSUI API

Re: Intricate changes to Quartz/OSX backend

2009-10-26 Thread Kristian Rietveld
On Oct 26, 2009, at 3:03 PM, John Ralls wrote: I'll pull build for SL this morning. What particular dual-monitor behavior should I look for? I have verified that it builds fine on SL. Things that might be broken are event delivery on the secondary monitor (or on the main monitor if the

Re: Pango CoreText/ATSUI (was:Intricate changes to Quartz/OSX backend)

2009-10-26 Thread John Ralls
On Oct 26, 2009, at 8:34 AM, Kristian Rietveld wrote: On Oct 26, 2009, at 4:23 PM, John Ralls wrote: Oh, and unstable won't build without intervention on Tiger, because the latest Pango uses CoreText instead of ATSUI; CoreText wasn't supported before Leopard. They didn't really port the

Re: Intricate changes to Quartz/OSX backend

2009-10-26 Thread Kristian Rietveld
On Oct 26, 2009, at 4:50 PM, John Ralls wrote: On Oct 26, 2009, at 8:36 AM, Kristian Rietveld wrote: On Oct 26, 2009, at 3:03 PM, John Ralls wrote: I'll pull build for SL this morning. What particular dual- monitor behavior should I look for? I have verified that it builds fine on SL.

Re: Intricate changes to Quartz/OSX backend

2009-10-26 Thread Paul Davis
On Mon, Oct 26, 2009 at 11:07 AM, John Ralls jra...@ceridwen.us wrote: When I've encountered that in the past it's been because Python was too old: Jhbuild's tarball.py uses a function that's only available in Python 2.5. While jhbuild bootstrap will install a new Python for you on Tiger

Re: Building Gtk-OSX (was: Intricate changes to Quartz/OSX backend)

2009-10-26 Thread Paul Davis
On Mon, Oct 26, 2009 at 12:17 PM, John Ralls jra...@ceridwen.us wrote: On Oct 26, 2009, at 9:07 AM, Paul Davis wrote: On Mon, Oct 26, 2009 at 11:07 AM, John Ralls jra...@ceridwen.us wrote: When I've encountered that in the past it's been because Python was too old: Jhbuild's tarball.py

[REMINDER] GTK+ IRC Team meeting - 2009-10-27

2009-10-26 Thread Emmanuele Bassi
hi everyone; this is a reminder for the GTK+ team IRC meeting: * date: 2009-10-27 * time: 20:00 UTC [0] * channel: #gtk-devel on irc.gnome.org * agenda: - fundamental types for gint16/guint16 (bug: 562498) [jjardon] - use target milestone field in bugzilla for creating release-based queries

Re: Building Gtk-OSX (was: Intricate changes to Quartz/OSX backend)

2009-10-26 Thread John Ralls
On Oct 26, 2009, at 9:35 AM, Paul Davis wrote: On Mon, Oct 26, 2009 at 12:17 PM, John Ralls jra...@ceridwen.us wrote: On Oct 26, 2009, at 9:07 AM, Paul Davis wrote: On Mon, Oct 26, 2009 at 11:07 AM, John Ralls jra...@ceridwen.us wrote: When I've encountered that in the past it's been

Re: Building Gtk-OSX (was: Intricate changes to Quartz/OSX backend)

2009-10-26 Thread Paul Davis
On Mon, Oct 26, 2009 at 3:22 PM, John Ralls jra...@ceridwen.us wrote: Um, how long ago did you last run jhbuild bootstrap? The m4 module was added to bootstrap.modules last December, with version 1.4.11. more than bootstrap - fixing this required an entirely new version of jhbuild. there is

Re: Intricate changes to Quartz/OSX backend

2009-10-26 Thread John Ralls
On Oct 26, 2009, at 9:00 AM, Kristian Rietveld wrote: On Oct 26, 2009, at 4:50 PM, John Ralls wrote: On Oct 26, 2009, at 8:36 AM, Kristian Rietveld wrote: On Oct 26, 2009, at 3:03 PM, John Ralls wrote: I'll pull build for SL this morning. What particular dual- monitor behavior should I

Re: GDBus API Questions; was: GDBus/GVariant plans for next GLib release

2009-10-26 Thread Mikkel Kamstrup Erlandsen
2009/10/25 Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com: 2009/10/15 David Zeuthen da...@fubar.dk: Hey Mikkel, On Thu, 2009-10-15 at 08:24 +0200, Mikkel Kamstrup Erlandsen wrote:  * Can I register a GDBusInterfaceVTable without registering an object? The use case I have in mind is

RE: Building Gtk-OSX (was: Intricate changes to Quartz/OSX backend)

2009-10-26 Thread Shawn Bakhtiar
Very Sweet guys Last I tried Snow Leopard I was not able to get past the bootstrap / build process (a couple of a months ago). I am going to spend the rest of the day re-building the environment, and our application to see if this is all works on OS X 10.6 Snow Kitty (SL). I don't

Re: GDBus API Questions; was: GDBus/GVariant plans for next GLib release

2009-10-26 Thread David Zeuthen
Hey Mikkel, On Mon, 2009-10-26 at 23:52 +0100, Mikkel Kamstrup Erlandsen wrote: I just looked over the newly introduced g_dbus_connection_register_subtree() and related data structures, and I think it will fit very nicely with what I am going to need. All in all it looks really sweet,

g_object_new shared memory

2009-10-26 Thread Hieu Le Trung
Hi, I've posted this through gtk-app-devel list but no good response. So that I'm doing cross post here. Here is my situation. I'm using GLib in my application, and I'm using g_object_new to allocate memory of an object. As in C++ specification, there is new placement technique that can allow us

Re: error building git head GTK on OS X ... IM symbols missing etc.

2009-10-26 Thread John Ralls
On Oct 26, 2009, at 4:50 PM, Paul Davis wrote: just tried a jhbuild of gtk on OS X (tiger). things went well until it got to the link stage in the input methods code. i got a large number of messages of this form, one for each (every?) IM module: Cannot load module

g_object_new shared memory

2009-10-26 Thread Hieu Le Trung
Hi, I'm using GLib in my application, and I'm using g_object_new to allocate memory of an object. As in C++ specification, there is new placement technique that can allow us to place a new object into our predefined memory region. And we can also do with malloc by redefine the malloc fuction. I

Re: g_object_new shared memory

2009-10-26 Thread David Nečas
On Mon, Oct 26, 2009 at 05:09:42PM +0700, Hieu Le Trung wrote: I'm using GLib in my application, and I'm using g_object_new to allocate memory of an object. As in C++ specification, there is new placement technique that can allow us to place a new object into our predefined memory region. And

RE: g_object_new shared memory

2009-10-26 Thread Hieu Le Trung
On Monday, October 26, 2009 5:22 PM, David Nečas wrote: On Mon, Oct 26, 2009 at 05:09:42PM +0700, Hieu Le Trung wrote: I wonder if we can do it with g_object_new or not? The purpose is to have g_object_new to allocate memory on my own memory region. I don't think it's possible because