On 10 February 2013 15:22, Emmanuele Bassi eba...@gmail.com wrote:
On 10 February 2013 13:57, Ross Lagerwall rosslagerw...@gmail.com wrote:
On Sun, Feb 10, 2013 at 11:08:31AM +, Emmanuele Bassi wrote:
disabling cast checks is usually the result of performance profiling,
tho, so it
On 05/29/2012 10:21 PM, Ben Pfaff wrote:
Mikkel Kamstrup Erlandsenmikkel.kamst...@canonical.com writes:
On 05/29/2012 07:23 PM, Ben Pfaff wrote:
Mikkel Kamstrup Erlandsenmikkel.kamst...@canonical.com writes:
I have been looking at gcc's cleanup attribute[1] that allows one to
specify a
On 05/29/2012 05:36 PM, Colin Walters wrote:
On Sun, 2012-05-27 at 11:20 +0200, Mikkel Kamstrup Erlandsen wrote:
Attached a new version as a late update to this thread, but better
than nothing I hope :-) I still haven't gotten around to sticking it
in libegg (or even a bug). Sorry! I'll do
On 05/29/2012 07:23 PM, Ben Pfaff wrote:
Mikkel Kamstrup Erlandsenmikkel.kamst...@canonical.com writes:
I have been looking at gcc's cleanup attribute[1] that allows one to
specify a callback that will be invoked when a variable goes out of
scope. This allows one to play with automatically
On 10 April 2012 11:28, Mikkel Kamstrup Erlandsen
mikkel.kamst...@canonical.com wrote:
On 04/04/2012 05:35 AM, Colin Walters wrote:
On Wed, 2011-11-16 at 21:05 +0100, Mikkel Kamstrup Erlandsen wrote:
Hi all,
I have been looking at gcc's cleanup attribute[1] that allows one to
specify
On 04/04/2012 05:35 AM, Colin Walters wrote:
On Wed, 2011-11-16 at 21:05 +0100, Mikkel Kamstrup Erlandsen wrote:
Hi all,
I have been looking at gcc's cleanup attribute[1] that allows one to
specify a callback that will be invoked when a variable goes out of
scope. This allows one to play
On 12/12/2011 03:24 AM, Matthew Brush wrote:
On 12/11/2011 12:14 PM, Stefan Sauer wrote:
On 12/09/2011 01:00 AM, Ryan Lortie wrote:
hi,
Today I landed the GMenuModel work on glib master. A release will be
following shortly.
Just one quick question - why is this in GLib? Is that to allow
Hi all,
In Unity, at least, we're pushing around quite a lot of GVariants, and
while it's not slow, I was wondering if we could make even faster. If
nothing, it would be a fun exercise :-)
The basic idea I have is stolen from Java's Boolean and Integer classes
where they have singletons to
On 11/21/2011 04:54 PM, Hub Figuière wrote:
On 21/11/11 07:34 AM, Mikkel Kamstrup Erlandsen wrote:
This is precisely my motivation for introducing this; ie. not to catch
leaks, but to tidy the code. Bigger code bases almost always grow
functions with multiple returns - notably when error
On 11/21/2011 04:51 PM, Ross Burton wrote:
On 21 November 2011 15:43, Dominic Lachowiczdomlachow...@gmail.com wrote:
If you want this sort of behavior, use a language like C++ that
supports stack-allocated objects natively. GtkMM and GlibMM already do
this wonderfully. Using a GNU-C ism which
On 11/21/2011 03:45 PM, Morten Welinder wrote:
if (1)
{
glocal_object GFile *file = g_file_new_for_path (/tmp);
glocal_string gchar *basename = g_file_get_basename (file);
g_debug (Basename is '%s', basename);
// look ma' no leaks!
}
This is, of course, cute
General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*
* Author: Mikkel Kamstrup Erlandsen mikkel.kamst...@canonical.com
*/
#include glib.h
#include glib-object.h
#ifndef __GLIB_GCC_H__
On 09/26/2011 02:59 PM, Tony Houghton wrote:
I'm developing a simple wrapper library, with the objects defined using
gob2 and I want to export gi bindings for it. At first I didn't bother
making the object methods virtual but they didn't get exported into the
.gir file. When I made them virtual
On 09/26/2011 04:10 PM, Tony Houghton wrote:
On Mon, 26 Sep 2011 15:57:15 +0200
Mikkel Kamstrup Erlandsenmikkel.kamst...@canonical.com wrote:
Sorry if this is not a direct solution to your problem at hand, but if
possible (and I guess it is, if it's a simple library wrapper) you
should
On Thu, 6 May 2010 14:06:40 -0400, Matthias Clasen
Hey,
I thought I should let everybody know that we are getting very close
to merging gdbus into GLib. David has created a gdbus-merge branch
where we'll stage things before the final merge to master. So, if you
haven't payed attention to
2009/11/9 David Zeuthen da...@fubar.dk:
Hey Mikkel,
Sorry for not replying sooner!
On Wed, 2009-10-28 at 21:23 +0100, Mikkel Kamstrup Erlandsen wrote:
Attached is a series of patches (0001 should be identical to my
previous) implementing what you describe, except adding the gboolean
2009/10/28 Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com:
2009/10/27 Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com:
2009/10/27 David Zeuthen da...@fubar.dk:
Hey Mikkel,
On Mon, 2009-10-26 at 23:52 +0100, Mikkel Kamstrup Erlandsen wrote:
I just looked over the newly introduced
2009/10/28 Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com:
2009/10/28 Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com:
2009/10/27 Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com:
2009/10/27 David Zeuthen da...@fubar.dk:
Hey Mikkel,
On Mon, 2009-10-26 at 23:52 +0100, Mikkel
2009/10/27 David Zeuthen da...@fubar.dk:
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
2009/10/27 Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com:
2009/10/27 David Zeuthen da...@fubar.dk:
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
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
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 something akin to dynamically
spawning objects on the server side
2009/10/15 David Zeuthen da...@fubar.dk:
Hey,
At the GNOME summit this weekend, Ryan Lortie, Matthias Clasen, Will
Thompson and myself had a hallway conversation about how to get D-Bus
functionality into the GLib stack. This mail is an attempt at
summarizing what we talked about.
Thanks for
2009/10/5 Dana Jansens d...@cg.scs.carleton.ca:
Hello,
I am interested in contributing code for persistent binary search
trees to the GLib project. This would actually count as credit
towards a grad level data structures class for me, but I have a lot of
experience working with GLib in the
2009/10/5 Dana Jansens d...@cg.scs.carleton.ca:
2009/10/5 Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com:
Don't let that hold you back. As far as I can imagine I don't have any
use case ready, but that is probably because I've never had a
persistent BST at hand :-)
If I where you I'd
2009/8/3 Freddie Unpenstein fredde...@excite.com:
From: Steve Fr-23;cinaux, Date: 03/08/2009 19:38, Wrote:
Bastien Nocera wrote:
I could think of at least 5 types of compressions that would be useful
to have without having to use a command-line tool to decompress:
- gzip for anything and
2009/8/1 Bastien Nocera had...@hadess.net:
On Fri, 2009-07-31 at 21:17 +0100, Alberto Ruiz wrote:
2009/7/31 Brian J. Tarricone bj...@cornell.edu:
On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote:
From the looks of it, it should be straight forward to write
GZip{In,Out}putStream
:48 AM, Mikkel Kamstrup Erlandsen wrote:
From the looks of it, it should be straight forward to write
GZip{In,Out}putStream classes based on zlib
I'd say call it GCompressed{In,Out}putStream and have it either
auto-detect
the compression type, or have a param in the API to specify
Hi,
I've been eye balling the GIO docs for a while without finding
in-/output for gzip compression... So if I missed it stop me now :-)
From the looks of it, it should be straight forward to write
GZip{In,Out}putStream classes based on zlib[1]. If I write these
classes would a zlib dep. be OK
2009/7/31 Jody Goldberg j...@gnome.org:
On Fri, Jul 31, 2009 at 02:48:47PM +0200, Mikkel Kamstrup Erlandsen wrote:
Hi,
I've been eye balling the GIO docs for a while without finding
in-/output for gzip compression... So if I missed it stop me now :-)
From the looks of it, it should
2009/7/31 Brian J. Tarricone bj...@cornell.edu:
On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote:
From the looks of it, it should be straight forward to write
GZip{In,Out}putStream classes based on zlib
I'd say call it GCompressed{In,Out}putStream and have it either auto-detect
2009/6/17 Alexander Larsson al...@redhat.com:
SNIP
So, please, please, please, test this code. We need people who run
uncommon apps to test it, and we need people to run it on apps they
know really well so we can find minor changes in behaviour.
Here are some usage observations. I'll hopefully
2009/6/17 Alexander Larsson al...@redhat.com:
The client side window branch is now feature complete on X11, and
includes API to do offscreen window embedding (with patches for
clutter-gtk availible to test this). Today I merged the latest master
into the branch to make it easy for people to
2009/5/12 Matthias Clasen matthias.cla...@gmail.com:
I should have been slightly more clear: I am interested in being able to
provide a GtkTreeModel for those people who wish to use it without having to
link to libgtk myself.
So the problem with using GNode: GtkTreeView doesn't use it.
I
2009/5/4 Simon McVittie simon.mcvit...@collabora.co.uk:
On Sat, 02 May 2009 at 13:02:39 -0400, David Zeuthen wrote:
o I'm worried that GVariant supports a superset of the D-Bus
protocol.
Right, ideally GVariant as merged in GLib should support exactly the D-Bus
protocol (either by code
2009/4/9 Dan Winship d...@gnome.org:
Ryan Lortie wrote:
The type system, of course, is that of DBus.
I love your feedback. Please give it all to me.
I took at a look at GVariant from the perspective of could I make
libsoup's XML-RPC (and future JSON) code use GVariant instead of
GValue.
2009/3/2 Havoc Pennington havoc.penning...@gmail.com
Anyway, I think there is no difference between method calls and
message passing. The only difference is in whether the client side API
is made to look just like a native object. But that's totally
orthogonal to the IDL and to the wire
2009/3/3 Havoc Pennington h...@pobox.com
Hi,
On Tue, Mar 3, 2009 at 6:03 AM, Mikkel Kamstrup Erlandsen
mikkel.kamst...@gmail.com wrote:
2009/3/2 Havoc Pennington havoc.penning...@gmail.com
Anyway, I think there is no difference between method calls and
message passing. The only
2009/3/2 Mark Doffman mark.doff...@codethink.co.uk
SNIP
Methods are declared by:
method methodName {
enumName anenum;
} reply {
structName astruct;
} throws (ErrorOne, ErrorTwo);
If you are so keen on clearing out that this is not really a 'method' then
why is it
2008/12/27 David Zeuthen da...@fubar.dk
On Fri, 2008-12-26 at 22:39 +0100, Mikkel Kamstrup Erlandsen wrote:
So you'd need to tag (using gtk-doc annotations) what methods,
properties and signals are to be exported via D-Bus. But it
would need
2008/12/23 David Zeuthen da...@fubar.dk
On Tue, 2008-12-23 at 10:12 +0100, Mikkel Kamstrup Erlandsen wrote:
Hehe, I think it would be stretch to call you that. After all you do
produce tonnes of code :-)
I a while ago I started hacking on a generic dynamic method invocation
framework
2008/9/9 David Zeuthen [EMAIL PROTECTED]:
On Tue, 2008-09-09 at 10:12 -0700, Mathieu Lacage wrote:
I am neither a native english speaker nor a compiler writer but callee
vs caller is pretty standard terminology.
Completely agree.
David (not a native English speaker either)
Ok. I admit
2008/9/7 Paolo Bonzini [EMAIL PROTECTED]:
I'm leaning towards using the ownership terminology instead of transfer.
typedef enum {
GI_OWNERSHIP_CALLER, /* caller owns it, caller should free it after use
*/
GI_OWNERSHIP_CALLEE /* callee owns it, caller should leave it as it is
*/
}
2008/8/21 Yu Feng [EMAIL PROTECTED]:
On Wed, 2008-08-20 at 17:59 -0400, Havoc Pennington wrote:
Hi,
On Wed, Aug 20, 2008 at 3:10 PM, Yu Feng [EMAIL PROTECTED] wrote:
Is there any particular reason that GLib doesn't provide a ref-counted
string and a ref-counted array type? Lacking them in
2008/7/17 Mikkel Kamstrup Erlandsen [EMAIL PROTECTED]:
2008/7/17 Havoc Pennington [EMAIL PROTECTED]:
Hi,
Here are some alternate ideas, just brainstorming:
1) have an iterator concept in gobject-introspection and map from
GList etc. in g-i. So g-i would allow you to invoke a method
2008/7/2 Johan Dahlin [EMAIL PROTECTED]:
Mikkel Kamstrup Erlandsen wrote:
[..]
* Relation to GObject-introspection. As far as I can tell GProxy and
GObject-introspection are two completely different things. Maybe I do
not understand the implications of GObject introspection fully
2008/7/2 Michael Lawrence [EMAIL PROTECTED]:
On Tue, Jul 1, 2008 at 3:08 PM, Johan Dahlin [EMAIL PROTECTED] wrote:
Mikkel Kamstrup Erlandsen wrote:
[..]
* Relation to GObject-introspection. As far as I can tell GProxy and
GObject-introspection are two completely different things. Maybe I
2008/7/2 Tim Janik [EMAIL PROTECTED]:
On Tue, 1 Jul 2008, Mikkel Kamstrup Erlandsen wrote:
Over the past few weeks I have been pondering a way to add dynamic
method invocation and introspection to GObjects. I am meaning to
implement this myself (unless someone else really want to do
2008/5/14 Emmanuele Bassi [EMAIL PROTECTED]:
On Wed, 2008-05-14 at 22:15 +0300, Stefan Kost wrote:
* rework the gobject tutorial
- it is old and unmaintained
- the signals section is broken
- teaches bad practises
I can go over it. Please send me pointers to what you want to
Hi All,
I just read through the detailed version of Imendio's Vision on Gtk+ [1],
and I have some questions that I do not know the right forum to post in. I
hope that here is ok.'
1) Relation to GLib. Are these methodologies being imposed on GLib too? To
some extent it must atleast, since
Hi all,
I am wondering how errors are reported in the g_*put_stream_*_async methods.
Inside gio I see that a SimpleAsyncResult is used for this. It has a GError
error member, but it is not exposed in any public api as far as I can tell,
so apps receiving an AsyncResult have no way to check if
On 28/02/2008, Jürg Billeter [EMAIL PROTECTED] wrote:
Hi Mikkel,
On Thu, 2008-02-28 at 23:05 +0100, Mikkel Kamstrup Erlandsen wrote:
I am wondering how errors are reported in the g_*put_stream_*_async
methods.
Inside gio I see that a SimpleAsyncResult is used for this. It has
On 27/02/2008, Brian J. Tarricone [EMAIL PROTECTED] wrote:
Pavel Syomin wrote:
Hi, all!
I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora
8. I have found, that if there is reference to unknown type in UI-file,
then application crashes. Is it a GtkBuilder bug?
On 24/02/2008, Claudio Saavedra [EMAIL PROTECTED] wrote:
This is not the appropriate list for this kind of questions, in the
future, please use gtk-app-devel-list or gtk-list at gnome.org.
El dom, 24-02-2008 a las 14:12 -0800, Wade Renzi escribió:
I ask because I recently screwed up my
On 10/02/2008, Thorsten Wilmer [EMAIL PROTECTED] wrote:
Hello,
thank you for gtk+ and especially gtkmm.
I want to Display a really _huge_ List with TreeView. My result is,
that my application consumes a even more huge amount of memory -- more
than Virtual Memory is available. The
On 07/01/2008, Mikkel Kamstrup Erlandsen [EMAIL PROTECTED] wrote:
On 06/01/2008, Mikkel Kamstrup Erlandsen [EMAIL PROTECTED] wrote:
On 06/01/2008, muppet [EMAIL PROTECTED] wrote:
On Jan 5, 2008, at 6:46 PM, Mikkel Kamstrup Erlandsen wrote:
The wait_for_signal() method process
On 06/01/2008, Mikkel Kamstrup Erlandsen [EMAIL PROTECTED] wrote:
On 06/01/2008, muppet [EMAIL PROTECTED] wrote:
On Jan 5, 2008, at 6:46 PM, Mikkel Kamstrup Erlandsen wrote:
The wait_for_signal() method process the main loop until a signal is
emitted on a given object - or maybe until
On 06/01/2008, muppet [EMAIL PROTECTED] wrote:
On Jan 5, 2008, at 6:46 PM, Mikkel Kamstrup Erlandsen wrote:
The wait_for_signal() method process the main loop until a signal is
emitted on a given object - or maybe until a timeout is reached[1].
The whole idea about that method
On 05/01/2008, Tim Janik [EMAIL PROTECTED] wrote:
On Fri, 4 Jan 2008, Mikkel Kamstrup Erlandsen wrote:
Hi,
I am playing around with using the new glib testing utilities for
xesam-glib and I am wondering if there is any smart way to integrate
tests with a GMainLoop.
The situation
Hi,
I am playing around with using the new glib testing utilities for
xesam-glib and I am wondering if there is any smart way to integrate
tests with a GMainLoop.
The situation is that I need to test a bunch of async dbus
communications and for that I need a running GMainLoop. For now I have
a
On 13/12/2007, Martyn Russell [EMAIL PROTECTED] wrote:
Alexander Larsson wrote:
On Thu, 2007-12-13 at 14:43 +0100, Michael Natterer wrote:
Alexander Larsson wrote:
It just adds new types and type relations you have to learn, and forces
you to remember that you have to cast to some common
On 16/11/2007, BJörn Lindqvist [EMAIL PROTECTED] wrote:
On Nov 15, 2007 10:34 PM, Mikkel Kamstrup Erlandsen
[EMAIL PROTECTED] wrote:
Some background info about this project is found here:
* http://www.mail-archive.com/gtk-devel-list@gnome.org/msg06472.html
* http://live.gnome.org
On 13/11/2007, BJörn Lindqvist [EMAIL PROTECTED] wrote:
Hello all!
Some background info about this project is found here:
* http://www.mail-archive.com/gtk-devel-list@gnome.org/msg06472.html
* http://live.gnome.org/GtkCairoIntegration
* http://bugzilla.gnome.org/show_bug.cgi?id=395578#c6
On 09/11/2007, Tim Janik [EMAIL PROTECTED] wrote:
On Thu, 8 Nov 2007, Mikkel Kamstrup Erlandsen wrote:
On 07/11/2007, Mikkel Kamstrup Erlandsen [EMAIL PROTECTED]
wrote:
How about token concatenation[1]?
i have to use that already for the current implementation,
see my recent header
Matthias Clasen matthias clasen gmail com, Tue, 6 Nov 2007 13:12:02
-0500
On 11/1/07, Tim Janik timj imendio com wrote:
- we provide an extended set of assertions for strings, ints and floats
that allow printing of assertion arguments upon failures to reduce
the need for
2006/11/17, Matthias Clasen [EMAIL PROTECTED]:
I have put an updated patch for filechooser search support in
http://bugzilla.gnome.org/show_bug.cgi?id=344785
It is a port of the NautilusSearchEngine framework and supports
both beagle and tracker, as well as a simple ftw()-based search.
It
66 matches
Mail list logo