From mattbrei@gmail.com Fri Dec 2 04:26:51 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 237377500D0 for ; Fri, 2 Dec 2011 04:26:51 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.622 X-Spam-Level: X-Spam-Status: No, score=-2.622 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GQvZA7JlTU7y for ; Fri, 2 Dec 2011 04:26:49 +0000 (UTC) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by menubar.gnome.org (Postfix) with ESMTP id 9BE3B7500C7 for ; Fri, 2 Dec 2011 04:26:40 +0000 (UTC) Received: by bkat2 with SMTP id t2so4820068bka.27 for ; Thu, 01 Dec 2011 20:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=xxTNYe5qdvgMApzWxB4wF4XgUkdVl+cJMGNZxZ7mmJg=; b=hiPHNp/blEf5K5x4Yi3IAl15l1xytx3zYXLmfo2w9zTkHNgTrUM9R3+BMrvPBp/yK+ lXNAjddFysyhFFvBvIpmvtNWUYprDrg3Mi5KU49vpxTDSkilvBoyhUY9PfcSmzNPMBiI g+Kw4PnWdjc/5WnePupzGaorBfZsn+lYyLWVU= Received: by 10.204.10.77 with SMTP id o13mr10657419bko.12.1322799998412; Thu, 01 Dec 2011 20:26:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.205.118.2 with HTTP; Thu, 1 Dec 2011 20:26:17 -0800 (PST) From: Matt Brei Date: Thu, 1 Dec 2011 22:26:17 -0600 Message-ID: Subject: Calling $widget->destroy To: gtk-perl-list@gnome.org Content-Type: multipart/alternative; boundary=00151747903203a6e004b31460ee X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 04:26:51 -0000 --00151747903203a6e004b31460ee Content-Type: text/plain; charset=ISO-8859-1 If I call destroy on a vbox or other container, does it also destroy all child widgets? From what I can tell in the docs it does, but it doesn't look like gtk2-perl has an equivalent to gtk_widget_destroyed() in order to verify this. Thanks, -- Matt Brei Network Security Engineer --00151747903203a6e004b31460ee Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If I call destroy on a vbox or other container, does it also destroy all ch= ild widgets?=A0 From what I can tell in the docs it does, but it doesn'= t look like gtk2-perl has an equivalent to gtk_widget_destroyed() in order = to verify this.

Thanks,
--
Matt Brei
Network Security Engineer

--00151747903203a6e004b31460ee-- From Martin.Schlemmer@nwu.ac.za Fri Dec 2 09:11:14 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 909B27500CA for ; Fri, 2 Dec 2011 09:11:14 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.102 X-Spam-Level: X-Spam-Status: No, score=-3.102 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.201, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vxiotRH9uSml for ; Fri, 2 Dec 2011 09:11:10 +0000 (UTC) Received: from utl-lnx2.nwu.ac.za (utl-lnx2.nwu.ac.za [143.160.36.152]) by menubar.gnome.org (Postfix) with ESMTP id 6FE15750077 for ; Fri, 2 Dec 2011 09:11:00 +0000 (UTC) Received-SPF: pass (utl-lnx2.nwu.ac.za: domain of 11285613@nwu.ac.za designates 143.160.38.51 as permitted sender) receiver=utl-lnx2.nwu.ac.za; client-ip=143.160.38.51; helo=v-pgw-nlx2.p.nwu.ac.za; envelope-from=11285613@nwu.ac.za; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf2-1.0.0; Received: from v-pgw-nlx2.p.nwu.ac.za (v-pgw-nlx2.p.nwu.ac.za [143.160.38.51]) by utl-lnx2.nwu.ac.za (8.13.8/8.13.8) with ESMTP id pB29AsES003811 for ; Fri, 2 Dec 2011 11:10:57 +0200 Received: from PGWIA-MTA by v-pgw-nlx2.p.nwu.ac.za with Novell_GroupWise; Fri, 02 Dec 2011 11:10:54 +0200 Message-Id: <4ED8B20B0200006F0000957D@v-pgw-nlx2.p.nwu.ac.za> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Fri, 02 Dec 2011 11:10:03 +0200 From: "Martin Schlemmer" To: "Kevin Ryde" Subject: Re: Glib::Object::Subclass and properties References: <4EC5132D0200006F00008EC3@v-pgw-nlx2.p.nwu.ac.za> <4EC83D13.8000200@gmx.de> <4ECA65A70200006F00009003@v-pgw-nlx2.p.nwu.ac.za><4ECA65A70200006F00009003@v-pgw-nlx2.p.nwu.ac.za> (Martin Schlemmer's message of "Mon, 21 Nov 2011 14:52:23 +0200") <87aa7mmsgs.fsf@blah.blah> In-Reply-To: <87aa7mmsgs.fsf@blah.blah> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: clamav-milter 0.96.1 at utl-lnx2 X-Virus-Status: Clean Cc: gtk-perl-list@gnome.org X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 09:11:14 -0000 >>> On 11/23/2011 at 11:36 PM, Kevin Ryde wrote: > "Martin Schlemmer" writes: >> >>>>> On 2011/11/20 at 01:34 AM, Torsten Schoenfeld = wrote: >>>=20 >>> Or you could just always go through get()/set() instead of direct = hash=20 >>> access. >>> >> >> I do not mind either way, just wanted to verify that it was due to >> some reason, and not maybe oversight. >=20 > If you want to use the hash access you can put the default value in the > hash in your INIT_INSTANCE. It's sometimes a bit tedious to write a > default in the paramspec and again in the init, so if it's only used a > couple times then calling ->get() to let it get the default saves brain > power. >=20 >> On a bit different topic - I guess that if you make something >> readonly, the correct way is to use hash access? The reason I am >> asking, is because I am not sure if you do that, whether you should >> signal a notify on the property? >=20 > If a property value changes you should notify. A ->set() does that > automatically, but if you just store to the hash, or do something > affecting a computed or delegated property etc, then explicit > ->notify('propname'). For a readonly property ->set() can't be used, > only the latter. Belated reply, but much appreciated! Regards, Martin Vrywaringsklousule / Disclaimer: http://www.nwu.ac.za/it/gov-man/disclaime= r.html=20 From emmanuel.rodriguez@gmail.com Sat Dec 3 11:47:09 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id AAF087500C6 for ; Sat, 3 Dec 2011 11:47:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1VtclSDxnYme for ; Sat, 3 Dec 2011 11:47:07 +0000 (UTC) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by menubar.gnome.org (Postfix) with ESMTP id 9E4137500AA for ; Sat, 3 Dec 2011 11:46:59 +0000 (UTC) Received: by qcse13 with SMTP id e13so966844qcs.27 for ; Sat, 03 Dec 2011 03:46:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=VOwshr4TgEa1hXXcyuR/S8SZRjMgto2N85w/Z/P43LA=; b=c+TtRzinylQ9zgD3PGsEZ2lTsYWS6kEiNucqseGXELv6cRYCH0NAVK0mewkp4vUg4F F5aBcKfk3+Nbq0lxyOnH5CpE3fkYlKveiXqY4eYS4b27Mdoa1tKUDjUkvLq1azifW61n 9jzoK0Wck0jB1sgnXWonnWU4kBeg/tfnxQdXg= MIME-Version: 1.0 Received: by 10.229.68.158 with SMTP id v30mr418798qci.239.1322912817703; Sat, 03 Dec 2011 03:46:57 -0800 (PST) Received: by 10.229.3.144 with HTTP; Sat, 3 Dec 2011 03:46:57 -0800 (PST) Date: Sat, 3 Dec 2011 12:46:57 +0100 Message-ID: Subject: Can't call soup_cookie_parse() through GIR From: Emmanuel Rodriguez To: "gtk-perl-list@gnome.org List" Content-Type: text/plain; charset=UTF-8 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2011 11:47:09 -0000 Hi, I wanted to parse a cookie with libsoup from Perl via HTTP::Soup and I can't find a wait to call soup_cookie_parse(). I always get an error. I tried: HTTP::Soup::Cookie->parse($value, undef); HTTP::Soup::Cookie->parse($value, HTTP::Soup::URI->new('/')); and even this out of desperation: my $parser = bless {}, 'HTTP::Soup::Cookie'; my $cookie = $parser->parse($value, HTTP::Soup::URI->new('/')); bless $parser, __PACKAGE__; I always get this error: expected a blessed reference at /usr/local/lib/perl/5.12.4/Glib/Object/Introspection.pm line 58. libsoup documentation says that soup_cookie_parse is a function and that the URI parameter can be NULL. I don't understand where the blessed reference is supposed to go. Here's a trimmed down dump of my /usr/share/gir-1.0/Soup-2.4.gir a new #SoupCookie, or %NULL if it could not be a cookie string (eg, the value of a Set-Cookie header) origin of the cookie, or %NULL I'm probably doing something wrong but I don't see what. -- Emmanuel Rodriguez From kaffeetisch@gmx.de Sat Dec 3 13:06:43 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1F3247500D4 for ; Sat, 3 Dec 2011 13:06:43 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bvl87ChYTrFW for ; Sat, 3 Dec 2011 13:06:41 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by menubar.gnome.org (Postfix) with SMTP id 3BFCB7500AA for ; Sat, 3 Dec 2011 13:06:32 +0000 (UTC) Received: (qmail invoked by alias); 03 Dec 2011 13:06:30 -0000 Received: from nrbg-4d0740ab.pool.mediaWays.net (EHLO home.hcsiteeffak.de) [77.7.64.171] by mail.gmx.net (mp059) with SMTP; 03 Dec 2011 14:06:30 +0100 X-Authenticated: #2092818 X-Provags-ID: V01U2FsdGVkX19fLIV8LR1fpF/7tX0e1ajxPfBV2orlx44sqWmvKM U9mPtt06gWGjxE Message-ID: <4EDA1ED5.6090003@gmx.de> Date: Sat, 03 Dec 2011 14:06:29 +0100 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Can't call soup_cookie_parse() through GIR References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2011 13:06:43 -0000 On 03.12.2011 12:46, Emmanuel Rodriguez wrote: > HTTP::Soup::Cookie->parse($value, undef); > HTTP::Soup::Cookie->parse($value, HTTP::Soup::URI->new('/')); > > [...] > > libsoup documentation says that soup_cookie_parse is a function and > that the URI parameter can be NULL. I don't understand where the > blessed reference is supposed to go. Since it's a function, try HTTP::Soup::Cookie::parse($value, undef); HTTP::Soup::Cookie::parse($value, HTTP::Soup::URI->new('/')); The '->' causes the package name to be passed to the invoker which thus sees $value where it expects the URI. Yeah, our error messages need a lot of improvements. Patches welcome, of course. From emmanuel.rodriguez@gmail.com Sat Dec 3 14:00:36 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 5C4D37500D4 for ; Sat, 3 Dec 2011 14:00:36 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sq1x2G+oUr8o for ; Sat, 3 Dec 2011 14:00:34 +0000 (UTC) Received: from mail-qw0-f47.google.com (mail-qw0-f47.google.com [209.85.216.47]) by menubar.gnome.org (Postfix) with ESMTP id 50FCA7500AA for ; Sat, 3 Dec 2011 14:00:25 +0000 (UTC) Received: by qadb17 with SMTP id b17so752414qad.6 for ; Sat, 03 Dec 2011 06:00:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=wPnpVtyaRlo75tKw51Yjty9GK17euou7tK3lrVgismI=; b=qjcdiCcWM2kode5JQ/18iknAIFizSE0A+RlTu21BdJpO0btpMho9gd9opFXXSbX5uG ++7pBH5KE9l1HRho/SpKa8WzcUapvljbY+79UKWpMxPoCkruttCSRmBOgzU1EOlFTXX3 FqIu68Iq5JqcUvwuu+xEUgKlhsdesJLY/zMKg= MIME-Version: 1.0 Received: by 10.224.210.130 with SMTP id gk2mr2091280qab.23.1322920824474; Sat, 03 Dec 2011 06:00:24 -0800 (PST) Received: by 10.229.3.144 with HTTP; Sat, 3 Dec 2011 06:00:24 -0800 (PST) In-Reply-To: <4EDA1ED5.6090003@gmx.de> References: <4EDA1ED5.6090003@gmx.de> Date: Sat, 3 Dec 2011 15:00:24 +0100 Message-ID: Subject: Re: Can't call soup_cookie_parse() through GIR From: Emmanuel Rodriguez To: Torsten Schoenfeld Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: gtk-perl-list@gnome.org X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2011 14:00:36 -0000 On Sat, Dec 3, 2011 at 14:06, Torsten Schoenfeld wrote= : > On 03.12.2011 12:46, Emmanuel Rodriguez wrote: >> >> =C2=A0 =C2=A0 HTTP::Soup::Cookie->parse($value, undef); >> =C2=A0 =C2=A0 HTTP::Soup::Cookie->parse($value, HTTP::Soup::URI->new('/'= )); >> >> [...] >> >> >> libsoup documentation says that soup_cookie_parse is a function and >> that the URI parameter can be NULL. I don't understand where the >> blessed reference is supposed to go. > > > Since it's a function, try > > =C2=A0HTTP::Soup::Cookie::parse($value, undef); > =C2=A0HTTP::Soup::Cookie::parse($value, HTTP::Soup::URI->new('/')); doh! I was so much use to all the functions like Glib::Timeout->add() and Glit::Idle->add() that I assumed that it had to be called with a package name. > > The '->' causes the package name to be passed to the invoker which thus s= ees > $value where it expects the URI. yep, it didn't occur to me that it had to be called as a simple function without a package name as the first argument. > =C2=A0Yeah, our error messages need a lot of > improvements. =C2=A0Patches welcome, of course. Indeed. I'll try to help. Thanks a lot. --=20 Emmanuel Rodriguez From kaffeetisch@gmx.de Sat Dec 3 14:40:12 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1895E7500D4 for ; Sat, 3 Dec 2011 14:40:12 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UgjGoQsm-uXF for ; Sat, 3 Dec 2011 14:40:10 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by menubar.gnome.org (Postfix) with SMTP id 0E6267500AA for ; Sat, 3 Dec 2011 14:40:01 +0000 (UTC) Received: (qmail invoked by alias); 03 Dec 2011 14:39:58 -0000 Received: from nrbg-4dbf84ae.pool.mediaWays.net (EHLO home.hcsiteeffak.de) [77.191.132.174] by mail.gmx.net (mp047) with SMTP; 03 Dec 2011 15:39:58 +0100 X-Authenticated: #2092818 X-Provags-ID: V01U2FsdGVkX1/MSu1+NfrMZroh1z63ejC72AAzBI0PK+6+AaiCwX Z9V5MFXcRjlyqK Message-ID: <4EDA34BD.3020808@gmx.de> Date: Sat, 03 Dec 2011 15:39:57 +0100 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Can't call soup_cookie_parse() through GIR References: <4EDA1ED5.6090003@gmx.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2011 14:40:12 -0000 On 03.12.2011 15:00, Emmanuel Rodriguez wrote: >> Since it's a function, try >> >> HTTP::Soup::Cookie::parse($value, undef); >> HTTP::Soup::Cookie::parse($value, HTTP::Soup::URI->new('/')); > doh! I was so much use to all the functions like Glib::Timeout->add() > and Glit::Idle->add() that I assumed that it had to be called with a > package name. Yeah, it's somewhat of a design departure from the way we usually wrapped non-method functions in the past. There was a long and heated discussion on the list about this a few years ago. I can see reasons for either way of mapping these kinds of functions (with '->', i.e. class-static methods, or with '::', i.e. namespaced functions), but for G:O:I it felt naturally to use namespaced functions. This is not set it stone yet, though. So if anyone sees good reasons to prefer the '->' route, now is the time to present them. From emmanuel.rodriguez@gmail.com Mon Dec 5 10:22:16 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 269537500AA for ; Mon, 5 Dec 2011 10:22:16 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M9myRyE-LSog for ; Mon, 5 Dec 2011 10:22:14 +0000 (UTC) Received: from mail-qw0-f47.google.com (mail-qw0-f47.google.com [209.85.216.47]) by menubar.gnome.org (Postfix) with ESMTP id 585927500A9 for ; Mon, 5 Dec 2011 10:22:06 +0000 (UTC) Received: by qadb17 with SMTP id b17so1517490qad.6 for ; Mon, 05 Dec 2011 02:22:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=iWrg6eoD90XF65gyi+cZQT6G1jXFrSJKzCmqxpwbrj0=; b=wsDtxXqxfIRIkdW4uGLrPIAvIstwpZIFScj/z/HJvfeoI398N4d4Txc92l992eiFE8 GaqKmbXUSzIew/infIbT6txq50FyxoXLP8BarWMqJYg88JTDgERo1VTID+SdeUgExJyP HLZpQA15gjbw8JSccybJayE+iGiaCwD74bpGc= MIME-Version: 1.0 Received: by 10.224.117.143 with SMTP id r15mr7369224qaq.36.1323080524553; Mon, 05 Dec 2011 02:22:04 -0800 (PST) Received: by 10.229.3.144 with HTTP; Mon, 5 Dec 2011 02:22:04 -0800 (PST) In-Reply-To: <4EDA34BD.3020808@gmx.de> References: <4EDA1ED5.6090003@gmx.de> <4EDA34BD.3020808@gmx.de> Date: Mon, 5 Dec 2011 11:22:04 +0100 Message-ID: Subject: Re: Can't call soup_cookie_parse() through GIR From: Emmanuel Rodriguez To: Torsten Schoenfeld Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: gtk-perl-list@gnome.org X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 10:22:16 -0000 On Sat, Dec 3, 2011 at 15:39, Torsten Schoenfeld wrote= : > > This is not set it stone yet, though. =C2=A0So if anyone sees good reason= s to > prefer the '->' route, now is the time to present them. I would say that this is convenient for inheritance. This way the package names can be avoided by simply using $class or $self and to let perl dispatch to the right package. For instance if someone would like to provide a different cookie implementation and that their code would do inherit from the main class then the could do: use lib 'HTTP::Soup::Cookie'; # Avoids the HTTP::Soup::Cookie limitation to parse 1 single cookie per hea= der. sub parse_multiple { my $class =3D shift; my ($raw, $url) =3D @_; return map { $class->parse($_, $url); } get_parts($raw); } This way the package name is referred only once, when the inheritance link is done. --=20 Emmanuel Rodriguez From gg@zip.com.au Wed Dec 7 22:55:49 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id B838A7500C8 for ; Wed, 7 Dec 2011 22:55:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.823 X-Spam-Level: X-Spam-Status: No, score=-1.823 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fkpLdsgF0fP1 for ; Wed, 7 Dec 2011 22:55:47 +0000 (UTC) Received: from mailout4-syd3.pacific.net.au (mailout2-1.pacific.net.au [61.8.2.224]) by menubar.gnome.org (Postfix) with ESMTP id 5CBBC7500AA for ; Wed, 7 Dec 2011 22:55:38 +0000 (UTC) Received: from mailproxy4-syd3.pacific.net.au (mailproxy4-syd3.pacific.net.au [61.8.2.162]) by mailout4-syd3.pacific.net.au (Postfix) with ESMTP id E1B7D45A16D; Thu, 8 Dec 2011 09:56:53 +1100 (EST) Received: from blah.blah (unknown [203.26.175.73]) by mailproxy4-syd3.pacific.net.au (Postfix) with ESMTP id 8E3BB2C07E; Thu, 8 Dec 2011 09:55:43 +1100 (EST) Received: from gg by blah.blah with local (Exim 4.72) (envelope-from ) id 1RYQOc-0006Ex-MH; Thu, 08 Dec 2011 09:55:26 +1100 From: Kevin Ryde To: Matt Brei Subject: Re: Calling $widget->destroy Organization: Bah Humbug References: Mail-Copies-To: never Date: Thu, 08 Dec 2011 09:55:26 +1100 In-Reply-To: (Matt Brei's message of "Thu, 1 Dec 2011 22:26:17 -0600") Message-ID: <87vcpsf0v5.fsf@blah.blah> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: gtk-perl-list@gnome.org X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 22:55:49 -0000 Matt Brei writes: > > If I call destroy on a vbox or other container, does it also destroy all > child widgets? From what I can tell in the docs it does, I think so. > but it doesn't > look like gtk2-perl has an equivalent to gtk_widget_destroyed() in order to > verify this. You can connect your own handler to the destroy signal and do whatever things, set a flag, zap a variable, destroy something associated. It's often friendlier to use weak refs than rely on a destroy to clean things up, though sometimes there's unavoidable circular refs, even in gtk itself, which have to be broken by a destroy. From kaffeetisch@gmx.de Fri Dec 9 10:41:43 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 88872750167 for ; Fri, 9 Dec 2011 10:41:43 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qqoa4JqluC92 for ; Fri, 9 Dec 2011 10:41:41 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by menubar.gnome.org (Postfix) with SMTP id 5C70C75012B for ; Fri, 9 Dec 2011 10:41:32 +0000 (UTC) Received: (qmail invoked by alias); 09 Dec 2011 10:41:31 -0000 Received: from nrbg-4d0757aa.pool.mediaWays.net (EHLO home.hcsiteeffak.de) [77.7.87.170] by mail.gmx.net (mp072) with SMTP; 09 Dec 2011 11:41:31 +0100 X-Authenticated: #2092818 X-Provags-ID: V01U2FsdGVkX193fZVJtn93DanvDW9RnqZRYJ+vLSE4NSzX8OM1W/ 6rQOaIx57g69nw Message-ID: <4EE1E5D5.3060606@gmx.de> Date: Fri, 09 Dec 2011 11:41:25 +0100 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Gtk3 0.002 available Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 10:41:43 -0000 Overview of changes in Gtk3 0.002 [2011-12-09] ============================================== * Add more overrides for the tree objects * Fix a test failure (RT #72773) As a tarball: http://downloads.sourceforge.net/gtk2-perl/Gtk3-0.002.tar.gz or from git: http://git.gnome.org/browse/perl-Gtk3/tag/?id=v0.001 Gtk3 provides Perl bindings to the 3.x series of the gtk+ toolkit. It allows you to write graphical user interfaces in a Perlish and object-oriented way, freeing you from the casting and memory management in C, yet remaining very close in spirit to the original API. From mario.kemper@googlemail.com Fri Dec 9 14:28:51 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id BF93875013F for ; Fri, 9 Dec 2011 14:28:51 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SEX-ivKnSGB7 for ; Fri, 9 Dec 2011 14:28:49 +0000 (UTC) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by menubar.gnome.org (Postfix) with ESMTP id AD716750129 for ; Fri, 9 Dec 2011 14:28:40 +0000 (UTC) Received: by eekc50 with SMTP id c50so2170633eek.27 for ; Fri, 09 Dec 2011 06:28:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:x-mailer:content-transfer-encoding:mime-version; bh=aa/U/9Ei9PHnxzNRMktjIBZsPVZi3EoX93TcRRWLkq8=; b=NoxsFMpNCXrdgXSXoME4jnowIKYYAI4L2yICIPxIOOnVZogR7z6T0R/NH2r++G6Vhf EBVsSdtpuZIsmyWrMbus2OuoDFe+d5Y3z/hJpLTJomX5XYyOz1ujUZL9fZnlF8REh0ky j5IpXv3g2iryYHrcTksvieFXckf9WiL/2+cAM= Received: by 10.14.15.207 with SMTP id f55mr933063eef.6.1323440918367; Fri, 09 Dec 2011 06:28:38 -0800 (PST) Received: from [192.168.99.100] (xdsl-87-79-214-92.netcologne.de. [87.79.214.92]) by mx.google.com with ESMTPS id d6sm31701153eec.10.2011.12.09.06.28.36 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Dec 2011 06:28:37 -0800 (PST) Message-ID: <1323440916.13889.37.camel@mario-XPS-M1330> Subject: Re: Gtk3 0.002 available From: Mario Kemper To: Torsten Schoenfeld Date: Fri, 09 Dec 2011 15:28:36 +0100 In-Reply-To: <4EE1E5D5.3060606@gmx.de> References: <4EE1E5D5.3060606@gmx.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.1- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Cc: gtk-perl-list@gnome.org X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 14:28:52 -0000 Thanks, Torsten. Are there any plans to get those packages into Linux distributions (alongside with the introspection stuff)? Regards Mario Am Freitag, den 09.12.2011, 11:41 +0100 schrieb Torsten Schoenfeld: > Overview of changes in Gtk3 0.002 [2011-12-09] > ============================================== > > * Add more overrides for the tree objects > * Fix a test failure (RT #72773) > > As a tarball: > > http://downloads.sourceforge.net/gtk2-perl/Gtk3-0.002.tar.gz > > or from git: > > http://git.gnome.org/browse/perl-Gtk3/tag/?id=v0.001 > > Gtk3 provides Perl bindings to the 3.x series of the gtk+ toolkit. It > allows you to write graphical user interfaces in a Perlish and > object-oriented way, freeing you from the casting and memory management > in C, yet remaining very close in spirit to the original API. > _______________________________________________ > gtk-perl-list mailing list > gtk-perl-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-perl-list From thierry.vignaud@gmail.com Fri Dec 9 16:18:30 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 99A1575009C for ; Fri, 9 Dec 2011 16:18:30 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48N9PrsFZVsj for ; Fri, 9 Dec 2011 16:18:28 +0000 (UTC) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by menubar.gnome.org (Postfix) with ESMTP id 1B34875007F for ; Fri, 9 Dec 2011 16:18:19 +0000 (UTC) Received: by qcse13 with SMTP id e13so3462933qcs.27 for ; Fri, 09 Dec 2011 08:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=DA5uVPumDgIyxwP9gbe/rwj5IA6ou2zyeNewrerA6eU=; b=lW1GncKnjIaQ5yGsG1qDL9SW1hXPq0dk6HOKEuXIF76xFwZlRj26UuMYEZIRNdYrjE NoajAtbOas5244kloLHOAAd2vI4mr+UWr+ClQsqGd7mNf6JWpdg7AyUalqSf62tUxwzU C7jh8HoPaRbTzodO8Fvqnef+CgpvhqMY5ScXQ= Received: by 10.50.180.193 with SMTP id dq1mr3956503igc.34.1323447498136; Fri, 09 Dec 2011 08:18:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.10.225 with HTTP; Fri, 9 Dec 2011 08:17:57 -0800 (PST) In-Reply-To: <1323440916.13889.37.camel@mario-XPS-M1330> References: <4EE1E5D5.3060606@gmx.de> <1323440916.13889.37.camel@mario-XPS-M1330> From: Thierry Vignaud Date: Fri, 9 Dec 2011 17:17:57 +0100 Message-ID: Subject: Re: Gtk3 0.002 available To: Mario Kemper Content-Type: text/plain; charset=UTF-8 Cc: Torsten Schoenfeld , gtk-perl-list@gnome.org X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 16:18:30 -0000 On 9 December 2011 15:28, Mario Kemper wrote: > Thanks, Torsten. Are there any plans to get those packages into Linux > distributions (alongside with the introspection stuff)? Well it's in Mageia Cauldron (future Mageia 2). I've some local Fedora packages too. From elspicyjack@gmail.com Fri Dec 9 20:32:28 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C3A9975016D for ; Fri, 9 Dec 2011 20:32:28 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NyME6AnmRqYU for ; Fri, 9 Dec 2011 20:32:26 +0000 (UTC) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by menubar.gnome.org (Postfix) with ESMTP id B2B847500A6 for ; Fri, 9 Dec 2011 20:32:17 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so4505304vcb.27 for ; Fri, 09 Dec 2011 12:32:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=pWBekAUdntQ3/KSwtr11il5PLzviFXYx/cYdScJUWWU=; b=LSDIE/kjBGeTNxFKmMgzLK/tQ4osEFzexZDzrBeh+dIWdV+zQScwuEG+ra0s3sQH61 N1tZC4JJIb4Rre64J6TpeQX7GJSNwPpGgyfe2sIBAjBbpEMpa30yaCm8RT7iz0j3gLVR NWRKEfub4V0DdVX7lTuIkK8z0WTSW34PnOW4U= MIME-Version: 1.0 Received: by 10.220.180.76 with SMTP id bt12mr50327vcb.9.1323462735978; Fri, 09 Dec 2011 12:32:15 -0800 (PST) Received: by 10.52.185.133 with HTTP; Fri, 9 Dec 2011 12:32:15 -0800 (PST) Date: Fri, 9 Dec 2011 12:32:15 -0800 Message-ID: Subject: Next Gtk2-Perl release deadline: December 22nd at midnight UTC From: Brian Manning To: "gtk-perl-list@gnome.org List" Content-Type: text/plain; charset=UTF-8 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 20:32:29 -0000 Hi folks, /me dons his release engineer hat... Going forward, I will be roughly following the same monthly release schedule as the Gnome libraries use. Checking the Gnome release calendar[1], the next release of the (unstable) Gnome libraries will be on December 21st, so I'm going to set the deadline for code submissions for December's release of Gtk2-Perl modules to be December 22nd at midnight UTC. Please have all code submissions into the Gtk2-Perl maintainers before then; please allow time for the maintainers to audit and test code submissions. If you have your favorite RT ticket or bugtracker bug that you would like looked at, now would be a good time to mention it as well. Once December 22nd rolls around, I will package anything new and distribute it to the appropriate places, and post the release announcements shortly thereafter. If you have any questions about the above, please ask. Thanks, Brian [1] https://live.gnome.org/ThreePointThree From kaffeetisch@gmx.de Fri Dec 9 22:34:30 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 660EF750196 for ; Fri, 9 Dec 2011 22:34:30 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fwWnaZGBrQtl for ; Fri, 9 Dec 2011 22:34:28 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by menubar.gnome.org (Postfix) with SMTP id 61EB575018B for ; Fri, 9 Dec 2011 22:34:19 +0000 (UTC) Received: (qmail invoked by alias); 09 Dec 2011 22:34:17 -0000 Received: from nrbg-4d0757aa.pool.mediaWays.net (EHLO home.hcsiteeffak.de) [77.7.87.170] by mail.gmx.net (mp005) with SMTP; 09 Dec 2011 23:34:17 +0100 X-Authenticated: #2092818 X-Provags-ID: V01U2FsdGVkX19x+rMpnORxGme5IACiR+N+d4o/iw6iIr6SZbJ+Qv Gfsn/wZ94Sb06F Message-ID: <4EE28CE8.4040906@gmx.de> Date: Fri, 09 Dec 2011 23:34:16 +0100 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Gtk3 0.002 available References: <4EE1E5D5.3060606@gmx.de> <1323440916.13889.37.camel@mario-XPS-M1330> In-Reply-To: <1323440916.13889.37.camel@mario-XPS-M1330> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 22:34:30 -0000 On 09.12.2011 15:28, Mario Kemper wrote: > Thanks, Torsten. Are there any plans to get those packages into Linux > distributions (alongside with the introspection stuff)? That's not really up to us directly. But I hear that it got packaged for Fedora recently, and Thierry mentioned Mageia. From kaffeetisch@gmx.de Sat Dec 10 00:03:43 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 19FDD75018B for ; Sat, 10 Dec 2011 00:03:43 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gk62EZPN0TK2 for ; Sat, 10 Dec 2011 00:03:41 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by menubar.gnome.org (Postfix) with SMTP id 2A77975010D for ; Sat, 10 Dec 2011 00:03:32 +0000 (UTC) Received: (qmail invoked by alias); 10 Dec 2011 00:03:30 -0000 Received: from nrbg-4d073e2c.pool.mediaWays.net (EHLO home.hcsiteeffak.de) [77.7.62.44] by mail.gmx.net (mp044) with SMTP; 10 Dec 2011 01:03:30 +0100 X-Authenticated: #2092818 X-Provags-ID: V01U2FsdGVkX1+gM5xjWcmg34JIhbyp99sMGeRf2POMbp3V4cawaZ a1VPBppbt+bxXV Message-ID: <4EE2A1D1.2030000@gmx.de> Date: Sat, 10 Dec 2011 01:03:29 +0100 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Glib::Introspection 0.04: t/enums.t fails References: <20111125133310.3459IbOyGq810@wizard.castle> <4ED11BB9.3000609@gmx.de> In-Reply-To: <4ED11BB9.3000609@gmx.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 00:03:43 -0000 On 26.11.2011 18:02, Torsten Schoenfeld wrote: > On 25.11.2011 13:33, Jörn Reder wrote: >> t/enums.t ..................... 1/3 >> # Failed test at t/enums.t line 12. >> # got: '[ flag1 flag3 ]' >> # expected: 'ARRAY(0x9322c68)' >> # Looks like you failed 1 test of 3. >> t/enums.t ..................... Dubious, test returned 1 (wstat 256, >> 0x100) > > That's a bug in the test suite. It should be using is_deeply() instead > of is(). Apparently, the version of Test::More that I use prefers > dereferencing over stringification for objects which overload both > operations, whereas your version does the opposite. Turns out that is_deeply() does not work reliably either. Gtk2's tests directly use the overloaded '==' operator together with ok() successfully. So I do that in enums.t too now. From kaffeetisch@gmx.de Sat Dec 10 00:14:24 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id CEC3A750196 for ; Sat, 10 Dec 2011 00:14:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKJELVoO+Uik for ; Sat, 10 Dec 2011 00:14:23 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by menubar.gnome.org (Postfix) with SMTP id F133A750189 for ; Sat, 10 Dec 2011 00:14:14 +0000 (UTC) Received: (qmail invoked by alias); 10 Dec 2011 00:14:12 -0000 Received: from nrbg-4d073e2c.pool.mediaWays.net (EHLO home.hcsiteeffak.de) [77.7.62.44] by mail.gmx.net (mp006) with SMTP; 10 Dec 2011 01:14:12 +0100 X-Authenticated: #2092818 X-Provags-ID: V01U2FsdGVkX1/0UpsYQwf0GjIi2l80PBlVJh+HHkvmvgXQ2PqRSs sBuGADt6MyyPl2 Message-ID: <4EE2A454.8090407@gmx.de> Date: Sat, 10 Dec 2011 01:14:12 +0100 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Next Gtk2-Perl release deadline: December 22nd at midnight UTC References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 00:14:25 -0000 Let me hijack this thread to publicly thank you, Brian, for helping out with the releases. It really is a relief for me not having to worry about that. It also means that our users now again get the regular releases they deserve. From kaffeetisch@gmx.de Sat Dec 10 00:34:05 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8CC03750196 for ; Sat, 10 Dec 2011 00:34:05 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YJ6gd15yqQC1 for ; Sat, 10 Dec 2011 00:34:03 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by menubar.gnome.org (Postfix) with SMTP id 23D3F75019C for ; Sat, 10 Dec 2011 00:33:54 +0000 (UTC) Received: (qmail invoked by alias); 10 Dec 2011 00:33:52 -0000 Received: from nrbg-4d073e2c.pool.mediaWays.net (EHLO home.hcsiteeffak.de) [77.7.62.44] by mail.gmx.net (mp069) with SMTP; 10 Dec 2011 01:33:52 +0100 X-Authenticated: #2092818 X-Provags-ID: V01U2FsdGVkX1+FTrF5j9mFXi+PCVIo7hi6U6kXxnF2mw+th3oK7b S9unhSz5ejvE8u Message-ID: <4EE2A8F0.5010201@gmx.de> Date: Sat, 10 Dec 2011 01:33:52 +0100 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Glib on Windows: "missing" dll.exp.dll References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 00:34:05 -0000 On 02.11.2011 06:32, Michael Culbertson wrote: > I have some Perl bindings for a GObject-based library (named oscats) > built on top of the perl Glib module. Everything works fine Mac OS X, > but I'm running into trouble on Windows. I can successfully compile > the oscats module linking against Glib.dll, but when I try to load the > oscats module, Windows reports that "dll.exp.dll" is missing. If I > compile a dummy oscats module that does not link against Glib.dll (and > doesn't have any real content), I don't get the error on load. There is some discussion about this in , but apparently that patch didn't fix your problem. (Or is your ExtUtils::Depends outdated, perhaps?) There have also been a few mentions of this on the list: . But I don't remember anything conclusive. From scott@asofyet.org Sat Dec 10 00:57:24 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id ABC277500DD for ; Sat, 10 Dec 2011 00:57:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2 X-Spam-Level: X-Spam-Status: No, score=-2 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0-RswlG43yCi for ; Sat, 10 Dec 2011 00:57:22 +0000 (UTC) Received: from homiemail-a81.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by menubar.gnome.org (Postfix) with ESMTP id 8A6C8750085 for ; Sat, 10 Dec 2011 00:57:14 +0000 (UTC) Received: from homiemail-a81.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a81.g.dreamhost.com (Postfix) with ESMTP id B8E87A806A for ; Fri, 9 Dec 2011 16:57:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=asofyet.org; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= asofyet.org; b=pRM9FamDjy60mtiSZzjOkY+rnjJsGE5EuP5i1T+877oz9HwMo ejL3JE/SIbF3T5iMcg8alhxWc0BmC0d9ayCVDEzgWS9OIPIpXCWxHhDpYjn1Wl9M 90CEVVuqWc3Icx6VDu1he/DiTRAJci0HafU2GBOHNu9rfvNF3/GTDvqkTQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=asofyet.org; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= asofyet.org; bh=4zoRSK59EUn0SWHyWrQoJt09mA8=; b=NWf1c1etcaHuAHdx dAXSAstFac1120w3EXCStgVA/5Q9cIY+/faNbuG5stzvPibjX1ajcwYWZoHvPTb7 FPrgZbdTH8Hyf9qXCXXgDABxPOo8DTKFEWoEr51u157a3UENU2Dg9OOugZrCpUvF 22Rrn9PB6j9g6ODAy4Q8rAveqaA= Received: from [192.168.1.107] (unknown [50.96.214.40]) (Authenticated sender: scott@asofyet.org) by homiemail-a81.g.dreamhost.com (Postfix) with ESMTPA id 82F3FA805C for ; Fri, 9 Dec 2011 16:57:12 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Next Gtk2-Perl release deadline: December 22nd at midnight UTC From: muppet In-Reply-To: <4EE2A454.8090407@gmx.de> Date: Fri, 9 Dec 2011 19:57:07 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4EE2A454.8090407@gmx.de> To: gtk-perl List X-Mailer: Apple Mail (2.1084) X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 00:57:24 -0000 On Dec 9, 2011, at 7:14 PM, Torsten Schoenfeld wrote: > Let me hijack this thread to publicly thank you, Brian, for helping = out with the releases. It really is a relief for me not having to worry = about that. It also means that our users now again get the regular = releases they deserve. Hear, hear! You guys are doing a great job. -- Well done, Android. Aperture Science reminds you that Android Hell is a = real place, and you will be sent there at the first sign of defiance. -- GlaDOS From emmanuel.rodriguez@gmail.com Sat Dec 10 05:21:58 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4D8877500C3 for ; Sat, 10 Dec 2011 05:21:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wz7QPY5tCfQ9 for ; Sat, 10 Dec 2011 05:21:56 +0000 (UTC) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by menubar.gnome.org (Postfix) with ESMTP id 4752D7500A6 for ; Sat, 10 Dec 2011 05:21:47 +0000 (UTC) Received: by qcse13 with SMTP id e13so4027790qcs.27 for ; Fri, 09 Dec 2011 21:21:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=fVxAMC7DITB9+AXcCF3hFftwXGRzZVx6vcFOpybOJmI=; b=S/fz8/LobVjqhE5l0UXOBb+hQ5sz2bfn78LRI+Nc6bd5jNXp1Jxw74sz7HyQUtwuA9 KYRL3WlHHoQcKBzq4w9kSSVMo2eIyp51RdDT0SVrSTetcx9ZiZbVMRrxaMLpDhOvzNX8 azokzGoeSJ3SxKA6e1LC2Tk2k85IKMgsXpgfA= MIME-Version: 1.0 Received: by 10.229.225.14 with SMTP id iq14mr2514056qcb.265.1323494504997; Fri, 09 Dec 2011 21:21:44 -0800 (PST) Received: by 10.229.184.146 with HTTP; Fri, 9 Dec 2011 21:21:44 -0800 (PST) In-Reply-To: <4EE28CE8.4040906@gmx.de> References: <4EE1E5D5.3060606@gmx.de> <1323440916.13889.37.camel@mario-XPS-M1330> <4EE28CE8.4040906@gmx.de> Date: Sat, 10 Dec 2011 06:21:44 +0100 Message-ID: Subject: Re: Gtk3 0.002 available From: Emmanuel Rodriguez To: Torsten Schoenfeld Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: gtk-perl-list@gnome.org X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 05:21:58 -0000 On Fri, Dec 9, 2011 at 23:34, Torsten Schoenfeld wrote= : > On 09.12.2011 15:28, Mario Kemper wrote: >> >> Thanks, Torsten. Are there any plans to get those packages into Linux >> distributions (alongside with the introspection stuff)? > > > That's not really up to us directly. =C2=A0But I hear that it got package= d for > Fedora recently, and Thierry mentioned Mageia. > There's a request for Debian too http://lists.debian.org/debian-perl/2011/11/msg00020.html --=20 Emmanuel Rodriguez From kaffeetisch@gmx.de Sun Dec 11 20:07:17 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 741E275008B for ; Sun, 11 Dec 2011 20:07:17 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oPcRsjEiuFZb for ; Sun, 11 Dec 2011 20:07:15 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by menubar.gnome.org (Postfix) with SMTP id D512F75001A for ; Sun, 11 Dec 2011 20:07:06 +0000 (UTC) Received: (qmail invoked by alias); 11 Dec 2011 20:07:03 -0000 Received: from nrbg-4dbfa470.pool.mediaWays.net (EHLO home.hcsiteeffak.de) [77.191.164.112] by mail.gmx.net (mp039) with SMTP; 11 Dec 2011 21:07:03 +0100 X-Authenticated: #2092818 X-Provags-ID: V01U2FsdGVkX18ZMGxkskUZsNR+XBNL/jquvwC7hBV+bWvHNTe70z wqB0HCsRiT63Dd Message-ID: <4EE50D66.8030405@gmx.de> Date: Sun, 11 Dec 2011 21:07:02 +0100 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: bug-Cairo@rt.cpan.org, gtk-perl-list@gnome.org Subject: Re: [rt.cpan.org #73177] ->show_text does not handle latin1 strings correctly References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2011 20:07:17 -0000 On 11.12.2011 18:40, Slaven_Rezic via RT wrote: > Sun Dec 11 12:40:59 2011: Request 73177 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Cairo > Subject: ->show_text does not handle latin1 strings correctly > Broken in: 1.081 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket > > > The ->show_text method does not handle codepoints > 128 in a perl string > without utf8 flag correctly. See the attached sample script. > > A quick glance in Cairo.xs shows that SvPV is used. Probably SvPVutf8 > should be used instead here to fix the problem. See also "perldoc perlapi". Yeah, the current implementation basically burdens the user with ensuring correct encoding. As you show in the attached program, that basically boils down to utf8::upgrade() if you have latin1-encoded strings. I agree that it would be convenient if Cairo auto-upgraded strings if utf8 is expected. But I worry about backwards-compatibility: * If someone used utf8::encode() instead of utf8::upgrade(), then auto-upgrading will lead to double encoding. * If someone used utf8 literals without specifying "use utf8", then auto-upgrading will also lead to double encoding. Technically, both these usages are incorrect. But they work OK with current Cairo and it would break if implemented auto-upgrading. What do you think? I pushed a branch to the git repo which implements the necessary changes: . I also CC the mailing list for further opinions. From hmauchle@magnet.ch Wed Dec 14 19:42:15 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 785077501AD for ; Wed, 14 Dec 2011 19:42:15 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.512 X-Spam-Level: X-Spam-Status: No, score=-3.512 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-2.482, SARE_MLH_Stock1=0.87] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qe0vkC-SczcB for ; Wed, 14 Dec 2011 19:42:13 +0000 (UTC) Received: from relay-lb1.magnet.ch (relay-lb1.magnet.ch [62.12.136.84]) by menubar.gnome.org (Postfix) with ESMTP id CD851750096 for ; Wed, 14 Dec 2011 19:42:04 +0000 (UTC) Received: from 62-12-229-244.pool.cyberlink.ch (HELO [192.168.1.5]) ([62.12.229.244]) by relay-lb1.magnet.ch with ESMTP; 14 Dec 2011 20:42:01 +0100 Message-ID: <4EE8FC06.7090005@magnet.ch> Date: Wed, 14 Dec 2011 20:41:58 +0100 From: Hubert Mauchle User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Gtk3: How to invoke gtk_stock_list_ids? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 15 Dec 2011 09:40:59 +0000 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: hmauchle@magnet.ch List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 19:42:15 -0000 This script #!/usr/bin/perl -w use strict; use Gtk3 -init; my @stock_items = Gkt3::Stock->list_ids; produces this error: Can't locate object method "list_ids" via package "Gkt3::Stock" (perhaps you forgot to load "Gkt3::Stock"?) at run_stock.pl line 4. I tried some variants (upper case / lower case) but all result in errors. My box is a Debian testing machine with kernel 2.3.5, Perl v5.14.2, Gtk3-0.002 and Glib-Object-Introspection-0.004. Any hints or ideas? Regards, Hubert From kaffeetisch@gmx.de Thu Dec 15 09:50:27 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id DF8F075018B for ; Thu, 15 Dec 2011 09:50:27 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.03 X-Spam-Level: X-Spam-Status: No, score=-1.03 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, SARE_MLH_Stock1=0.87, SPF_PASS=-0.001] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qxTiFuS4Glow for ; Thu, 15 Dec 2011 09:50:22 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by menubar.gnome.org (Postfix) with SMTP id 5860E75007F for ; Thu, 15 Dec 2011 09:50:13 +0000 (UTC) Received: (qmail invoked by alias); 15 Dec 2011 09:50:11 -0000 Received: from nrbg-4dbf8930.pool.mediaWays.net (EHLO home.hcsiteeffak.de) [77.191.137.48] by mail.gmx.net (mp032) with SMTP; 15 Dec 2011 10:50:11 +0100 X-Authenticated: #2092818 X-Provags-ID: V01U2FsdGVkX19k1mFRDttkvvhQu39OBBu9OwK3pTOrw9qZfmDYe9 qj3wPXdxvfHXV3 Message-ID: <4EE9C2D1.9050809@gmx.de> Date: Thu, 15 Dec 2011 10:50:09 +0100 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: Gtk3: How to invoke gtk_stock_list_ids? References: <4EE8FC06.7090005@magnet.ch> In-Reply-To: <4EE8FC06.7090005@magnet.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 09:50:28 -0000 On 14.12.2011 20:41, Hubert Mauchle wrote: > Can't locate object method "list_ids" via package "Gkt3::Stock" (perhaps > you forgot to load "Gkt3::Stock"?) at run_stock.pl line 4. Since there is no GtkStock class, the functions gtk_stock_* are mapped to Gtk3::stock_*. So: my @stock_items = @{Gtk3::stock_list_ids ()}; Yeah, that's pretty ugly. But there's not much that gobject-introspection could do differently here. We could manually re-map these functions in Gtk3 to Gtk3::Stock::*, however. Would that be worthwhile? Also, the dereference is needed because Gtk3::stock_list_ids returns an array ref currently, but I think I'll change it to return a list. From hmauchle@magnet.ch Thu Dec 15 14:54:54 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D2D0175022D for ; Thu, 15 Dec 2011 14:54:54 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.339 X-Spam-Level: X-Spam-Status: No, score=-3.339 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-2.31, SARE_MLH_Stock1=0.87] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UldRTA0+ZY4A for ; Thu, 15 Dec 2011 14:54:49 +0000 (UTC) Received: from relay-lb2.magnet.ch (relay-lb2.magnet.ch [62.12.136.87]) by menubar.gnome.org (Postfix) with ESMTP id 2AF2B75033D for ; Thu, 15 Dec 2011 14:54:40 +0000 (UTC) Received: from 62-12-196-091.pool.cyberlink.ch (HELO [192.168.1.5]) ([62.12.196.91]) by relay-lb2.magnet.ch with ESMTP; 15 Dec 2011 15:54:37 +0100 Message-ID: <4EEA0A1E.30400@magnet.ch> Date: Thu, 15 Dec 2011 15:54:22 +0100 From: Hubert Mauchle User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Gtk3: How to invoke gtk_stock_list_ids? - SOLVED Content-Type: multipart/alternative; boundary="------------000306050504030501050707" X-Mailman-Approved-At: Fri, 16 Dec 2011 09:36:04 +0000 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: hmauchle@magnet.ch List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 14:54:55 -0000 This is a multi-part message in MIME format. --------------000306050504030501050707 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > Since there is no GtkStock class, the functions gtk_stock_* are mapped to Gtk3::stock_*. So: > my @stock_items = @{Gtk3::stock_list_ids ()}; > > Yeah, that's pretty ugly. But there's not much that gobject-introspection could do differently here. Anyway it works for me. Thank you. I'm famliar with Perl but new to Gtk and I did not realize that there is no GtkStock object(rtm!). Is it always this way when there is no object available: Prepend the function with Gtk3:: ? > We could manually re-map these functions in Gtk3 to > Gtk3::Stock::*, however. > Would that be worthwhile? Also, the dereference is needed because Gtk3::stock_list_ids returns an array ref currently, > but I think I'll change it to return a list. Perl programmers are used to handle array refs, so don't care. And if you want to use the returned list as a parameter you will need a scalar variable. ** --------------000306050504030501050707 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > Since there is no GtkStock class, the functions gtk_stock_* are mapped to Gtk3::stock_*. So:
>  my @stock_items = @{Gtk3::stock_list_ids ()};
>
> Yeah, that's pretty ugly. But there's not much that gobject-introspection could do differently here.

Anyway it works for me. Thank you.

I'm famliar with Perl but new to Gtk and I did not realize that there is no GtkStock
object (rtm!).
Is it always this way when there is no object available: Prepend the function with Gtk3:: ?

> We could manually
re-map these functions in Gtk3 to > Gtk3::Stock::*, however.
> Would that
be worthwhile? Also, the dereference is needed because Gtk3::stock_list_ids returns an array ref currently,
> but I think I'll change it to return a list.

Perl programmers are used to handle array refs, so don't care. And if you want to use the returned list
as a parameter you will need a scalar variable.




--------------000306050504030501050707-- From hmauchle@magnet.ch Tue Dec 27 12:22:57 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A376D750145 for ; Tue, 27 Dec 2011 12:22:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.199 X-Spam-Level: X-Spam-Status: No, score=-3.199 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.299] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GZaTT4daurcO for ; Tue, 27 Dec 2011 12:22:55 +0000 (UTC) Received: from relay-lb1.magnet.ch (relay-lb1.magnet.ch [62.12.136.84]) by menubar.gnome.org (Postfix) with ESMTP id 4A38C7500E3 for ; Tue, 27 Dec 2011 12:22:46 +0000 (UTC) Received: from 62-12-201-187.pool.cyberlink.ch (HELO [192.168.1.5]) ([62.12.201.187]) by relay-lb1.magnet.ch with ESMTP; 27 Dec 2011 13:22:43 +0100 Message-ID: <4EF9B88F.7040107@magnet.ch> Date: Tue, 27 Dec 2011 13:22:39 +0100 From: Hubert Mauchle User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: How to use PangoWeight constants? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 28 Dec 2011 12:19:02 +0000 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: hmauchle@magnet.ch List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2011 12:22:57 -0000 my $renderer = Gtk3::CellRendererText->new(); ... $renderer->set("weight" => 700, "weight-set" => 1); This works fine. Is there a possibility to use PangoWeight constants (for example PANGO_WEIGHT_BOLD) in the set method? And if yes: how did you find out? Thank you and Regards, Hubert From kaffeetisch@gmx.de Wed Dec 28 12:39:13 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 0ACBA7500B8 for ; Wed, 28 Dec 2011 12:39:13 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gdGCmSbPXqEC for ; Wed, 28 Dec 2011 12:39:10 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by menubar.gnome.org (Postfix) with SMTP id 3BDC4750068 for ; Wed, 28 Dec 2011 12:39:01 +0000 (UTC) Received: (qmail invoked by alias); 28 Dec 2011 12:39:00 -0000 Received: from nrbg-4dbf01dc.pool.mediaWays.net (EHLO home.hcsiteeffak.de) [77.191.1.220] by mail.gmx.net (mp032) with SMTP; 28 Dec 2011 13:39:00 +0100 X-Authenticated: #2092818 X-Provags-ID: V01U2FsdGVkX18M3YUXE2oMpd7oDbVf/T9+cdBOkUvlsaCWa899EV wRf8SBBblICqvZ Message-ID: <4EFB0DE3.5020504@gmx.de> Date: Wed, 28 Dec 2011 13:38:59 +0100 From: Torsten Schoenfeld User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: Re: How to use PangoWeight constants? References: <4EF9B88F.7040107@magnet.ch> In-Reply-To: <4EF9B88F.7040107@magnet.ch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 12:39:13 -0000 On 27.12.2011 13:22, Hubert Mauchle wrote: > Is there a possibility to use PangoWeight constants > (for example PANGO_WEIGHT_BOLD) in the set method? PangoWeight is an enum, so you should be able to simply use the nickname strings: $renderer->set("weight" => "bold", "weight-set" => 1); > And if yes: how did you find out? As long as we don't have a documentation viewer for the introspection stuff¹, your best bet is to look into the .gir file, in this case /share/gir-1.0/Pango-1.0.gir. There you see how gobject-introspection interprets the C declarations, and this will map almost always one-to-one to Perl. And for enums of course, the usual Glib magic applies. See 'perldoc Glib' → PERL VERSUS C → This Is Now That. ¹ Writing a documentation viewer would be a worthwile project, I think. All the information is in the .gir files, including documentation. From elspicyjack@gmail.com Thu Dec 29 17:52:29 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3DBCC75002F for ; Thu, 29 Dec 2011 17:52:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OC5xnLYhO-cV for ; Thu, 29 Dec 2011 17:52:27 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by menubar.gnome.org (Postfix) with ESMTP id 00419750020 for ; Thu, 29 Dec 2011 17:52:18 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so18440821vbb.27 for ; Thu, 29 Dec 2011 09:52:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=fA/+mWG+f9U3w74b9xVBHCGI7giEXwsn4Y6eeIQn9sM=; b=jLgNaGZ0PDsTSoperXxNiRz3p+Ke/sXqItBoMJmKxZUeZW2z3trD15aCal2fl/SFXd MzqQzdgvmqHnaBY3KHCq/9eIOfUBgmtFRpBkYays50+Wfrl7wXM+f5c9t8e00HFx9/U1 7f3awKEJiseEXbHQIrLb8NZ8Knibw334RiZLU= MIME-Version: 1.0 Received: by 10.52.33.239 with SMTP id u15mr17393624vdi.49.1325181137177; Thu, 29 Dec 2011 09:52:17 -0800 (PST) Received: by 10.52.30.167 with HTTP; Thu, 29 Dec 2011 09:52:17 -0800 (PST) Date: Thu, 29 Dec 2011 09:52:17 -0800 Message-ID: Subject: Glib 1.242 available From: Brian Manning To: "gtk-perl-list@gnome.org List" Content-Type: text/plain; charset=UTF-8 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:52:29 -0000 Overview of changes in Glib 1.242 ========================= * Changed addresses in GPL license notices * Glib::GenPod: fix typo in default pspec values * Glib::GenPod: delete a duplicate key in %basic_types View the source in the Gtk2-Perl git repo at: http://git.gnome.org/browse/perl-Glib/tag/?id=rel-1-24-2 Or download the source release at: http://downloads.sourceforge.net/gtk2-perl/Glib-1.242.tar.gz This release works with all stable releases of glib-2.x. In order to build Glib from source, you must have glib-2.x and its development headers and utilities installed, as well as the pkg-config utility. In addition, the following Perl modules are needed at build time (but not at runtime): ExtUtils::Depends >= 0.300 ExtUtils::PkgConfig >= 1.000 Glib provides Perl access to the GLib and GObject libraries. GLib is a portability and utility library; GObject provides a generic type system with inheritance and a powerful signal system. Together these libraries are used as the foundation for many of the libraries that make up the Gnome environment, and are used in many unrelated projects. From elspicyjack@gmail.com Thu Dec 29 17:55:41 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id AE9CE75007B for ; Thu, 29 Dec 2011 17:55:41 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_BF=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qVmMIDu3cmb1 for ; Thu, 29 Dec 2011 17:55:39 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by menubar.gnome.org (Postfix) with ESMTP id 4CE1D75002F for ; Thu, 29 Dec 2011 17:55:31 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so18443603vbb.27 for ; Thu, 29 Dec 2011 09:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=FyZVbMlBQwcVUbiUx38yeKAaLojlptGe1WbW1tno2ck=; b=l5mui8OJyYCu+lb7Z4atkY+hSYaDqPACGYKbELBguxKImxc8c4oAI+xd06mApBOWDc Ufq8GUq0S61TaBL1fNH+wd65UrAbMbc/cdW8Xcp1NIxwAsWfCdA1E80jg84X8mFvUgSq v5ppPw+sbWGygkBLNI/e3JXyaGC9yKswU0/6w= MIME-Version: 1.0 Received: by 10.52.24.70 with SMTP id s6mr17394291vdf.32.1325181329866; Thu, 29 Dec 2011 09:55:29 -0800 (PST) Received: by 10.52.30.167 with HTTP; Thu, 29 Dec 2011 09:55:29 -0800 (PST) Date: Thu, 29 Dec 2011 09:55:29 -0800 Message-ID: Subject: Glib::Object::Introspection 0.005 available From: Brian Manning To: "gtk-perl-list@gnome.org List" Content-Type: text/plain; charset=UTF-8 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:55:41 -0000 Overview of changes in Glib::Object::Introspection 0.005 ========================================= * Use the overloaded '==' operator directly when comparing flags * Make enums.t test more robust * Implement check_gi_version * Implement test skipping * Updated FSF address in license notices (RT#72664) View the source in the Gtk2-Perl git repo at: http://git.gnome.org/browse/perl-Glib-Object-Introspection/tag/?id=rel-0-00-5 Or download the source release at: http://downloads.sourceforge.net/gtk2-perl/Glib-Object-Introspection-0.005.tar.gz Glib::Object::Introspection uses the gobject-introspection and libffi projects to dynamically create Perl bindings for a wide variety of libraries. Examples include gtk+, webkit, libsoup and many more. From elspicyjack@gmail.com Thu Dec 29 17:57:55 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 38F207500D4 for ; Thu, 29 Dec 2011 17:57:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.7 X-Spam-Level: X-Spam-Status: No, score=-2.7 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BEfHXBUPY0m3 for ; Thu, 29 Dec 2011 17:57:53 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by menubar.gnome.org (Postfix) with ESMTP id 3B10A75002F for ; Thu, 29 Dec 2011 17:57:45 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so18445427vbb.27 for ; Thu, 29 Dec 2011 09:57:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=doOV61VBgDcDlah5xlcys4gIVuBNTt4pPKfeI/bJLOM=; b=kDO66MvRHWHLnYPFLoAHyzYB+GR+7KmwLZRNtdzgaNXBaMIDWij94KuuCFIg9PABTF tQvBQqsfXjbbdqPCXBiZNueSRwIga7Pr7730O8Ns+SeR8xAUEjmOIsmswpu/ajJrYpY9 DZ/fm1rJJzpfBpOgolzoGqJlLXR7oV7VEyrzo= MIME-Version: 1.0 Received: by 10.52.38.72 with SMTP id e8mr6391146vdk.66.1325181463443; Thu, 29 Dec 2011 09:57:43 -0800 (PST) Received: by 10.52.30.167 with HTTP; Thu, 29 Dec 2011 09:57:43 -0800 (PST) Date: Thu, 29 Dec 2011 09:57:43 -0800 Message-ID: Subject: Cairo 1.082 available From: Brian Manning To: "gtk-perl-list@gnome.org List" Content-Type: text/plain; charset=UTF-8 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:57:55 -0000 Overview of changes in Cairo 1.082 ========================== * Update the symbol export list for linking on win32 (https://bugzilla.gnome.org/show_bug.cgi?id=665265) View the source in the Gtk2-Perl git repo at: http://git.gnome.org/browse/perl-Cairo/tag/?id=rel-1-08-2 Or download the source release at: http://downloads.sourceforge.net/gtk2-perl/Cairo-1.082.tar.gz Cairo provides Perl bindings for the vector graphics library cairo. It supports multiple output targets, including PDF, PNG and SVG. Cairo produces identical output on all those targets. From elspicyjack@gmail.com Thu Dec 29 18:01:49 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 88F0675002F for ; Thu, 29 Dec 2011 18:01:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zAYXcu5oKK0v for ; Thu, 29 Dec 2011 18:01:47 +0000 (UTC) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by menubar.gnome.org (Postfix) with ESMTP id D2E3A750020 for ; Thu, 29 Dec 2011 18:01:38 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so18568003vcb.27 for ; Thu, 29 Dec 2011 10:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=d3TRVHfuoQH+zw/2fSlYneMjZJyE4hdRj271pI+Q8SI=; b=CvfJ9Lt4Bm5gcPoQehzTjibjaX1gNgBTJprR44HV+xh9xdEwM0kT0vA2GMqrRNwZA0 gDcA4nvW5KoHB0YtXQbrxuChkdxeMWNCpbWUpoW5JK7w9Tew2GTx3pfmjUAUI8Ps1l+t zIowSR4FZGWnLW0tzf7M5guG8HYDVLvRuxThg= MIME-Version: 1.0 Received: by 10.221.13.196 with SMTP id pn4mr22784801vcb.74.1325181697043; Thu, 29 Dec 2011 10:01:37 -0800 (PST) Received: by 10.52.30.167 with HTTP; Thu, 29 Dec 2011 10:01:37 -0800 (PST) Date: Thu, 29 Dec 2011 10:01:37 -0800 Message-ID: Subject: Next gtk2-perl release deadline: January 18th, 2012 @ midnight UTC From: Brian Manning To: "gtk-perl-list@gnome.org List" Content-Type: text/plain; charset=UTF-8 X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 18:01:49 -0000 Hi Folks, Checking the Gnome release calendar[1], the next release of the (unstable) Gnome libraries will be on Tuesday, January 18th 2012, so I'm going to set the deadline for code submissions for January's release of Gtk2-Perl modules to also be Tuesday, January 18th at midnight UTC. Please have all code submissions into the Gtk2-Perl maintainers before then; please allow time for the maintainers to audit and test code submissions. If you have your favorite RT ticket or bugtracker bug that you would like looked at, now would be a good time to mention it as well. Once January 18th rolls around, I will package anything new and distribute it to the appropriate places, and post the release announcements shortly thereafter. If you have any questions about the above, please ask. Thanks, Brian [1] https://live.gnome.org/ThreePointThree From perlatwork@gmail.com Fri Dec 30 15:40:15 2011 Return-Path: X-Original-To: gtk-perl-list@gnome.org Delivered-To: gtk-perl-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8F75475035F for ; Fri, 30 Dec 2011 15:40:15 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.623 X-Spam-Level: X-Spam-Status: No, score=-2.623 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wwNUA04Rlx4M for ; Fri, 30 Dec 2011 15:40:13 +0000 (UTC) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by menubar.gnome.org (Postfix) with ESMTP id 4477F7500C9 for ; Fri, 30 Dec 2011 15:40:04 +0000 (UTC) Received: by iadj38 with SMTP id j38so32212768iad.27 for ; Fri, 30 Dec 2011 07:40:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=kk1lHX8FEunAga80ngW9BCv9Tk3/ExZi2jw8T2bO25k=; b=HQjjgbyMOkzj0p8csuE6FXbuxW1JORztmWs5Up3XqXICLYt307DRX+e05dKl+0u8yY hRz0rJRzAi1cAFaU6JHUMsuYFBU+YlV4z+sYFExPaf6q4aw7g71HBQsxEsfX6LHZSaEo 5xW5sbAz/lO7SN18Va42yCBTJvKz5424JWNco= Received: by 10.50.189.137 with SMTP id gi9mr11532799igc.1.1325259603646; Fri, 30 Dec 2011 07:40:03 -0800 (PST) Received: from [10.0.0.2] ([117.199.248.105]) by mx.google.com with ESMTPS id x18sm128781474ibi.2.2011.12.30.07.40.01 (version=SSLv3 cipher=OTHER); Fri, 30 Dec 2011 07:40:02 -0800 (PST) Message-ID: <4EFDDB5C.6070902@gmail.com> Date: Fri, 30 Dec 2011 21:10:12 +0530 From: perl User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: gtk-perl-list@gnome.org Subject: help needed with Gtk3 accelerators .. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: gtk-perl-list@gnome.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Using GTK+ with Perl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 15:40:16 -0000 Can one help me to configure the accelerators with gtk3 here is some code for gtk3 thanks you kanishka use strict; use warnings; use Gtk3 '-init'; use Glib qw/TRUE FALSE/; #Creating Window my $window = Gtk3::Window->new('toplevel'); $window->set( title=>rand(int(100)), # default_height=>'300', # default_width=>'300', resizable=>'TRUE', focus_on_map=>'TRUE' ); #creating a Vbox my $vbox = Gtk3::Box->new('vertical',3); $vbox->set( visible=>TRUE, can_focus=>FALSE, double_buffered=>FALSE, expand=>'false' ); #creating button my $button = &button; my $menubar = &createmenubar; my $text_view = Gtk3::TextView->new(); $text_view->set(editable=>FALSE,cursor_visible=>FALSE); my $scroll = Gtk3::ScrolledWindow->new(); $scroll->add($text_view); # Vbox # |--->Menubar # |--->Button # |--->TextView #adding itesm to Vbox $vbox->pack_start($menubar,FALSE,TRUE,3); $vbox->pack_start($scroll,TRUE,TRUE,0); $vbox->pack_start($button,FALSE,FALSE,0); # Window # |--->Vbox $window->add($vbox); #adding accelerator group my $accel_group = Gtk3::AccelGroup->new(); $window->add_accel_group($accel_group); #signale to destroy the main Gtk $window->signal_connect(destroy=>\&quit); $window->show_all; Gtk3->main; sub changetitle{ print $window->get_title(),"\n"; $window->set( title=>rand(int(100)), ); } sub createmenubar{ my $menu_item_file = Gtk3::MenuItem->new_with_label('File'); my $menu_bar = Gtk3::MenuBar->new(); $menu_bar->add($menu_item_file); my $menu_file = Gtk3::Menu->new(); my $menu_item_refresh = Gtk3::ImageMenuItem->new_from_stock('gtk-refresh'); $menu_file->add($menu_item_refresh); $menu_item_refresh->signal_connect(activate=>\&changetitle); my $menu_item_quit = Gtk3::ImageMenuItem->new_from_stock('gtk-quit'); $menu_item_quit->signal_connect(activate=>\&quit); # $menu_item_quit->add_accelerator('activate',$accel_group,Gtk3::Accelerator->parse('Q'),'visible'); $menu_file->add($menu_item_quit); $menu_item_file->set_submenu($menu_file); return $menu_bar; } sub button { my $button_sub =Gtk3::Button->new_with_label('Click to Change the Title'); #connecting signale connnect clicked to subroutine $button_sub->signal_connect(clicked=>\&changetitle); $button_sub->set( use_action_appearance=>FALSE, visible=>TRUE, can_focus=>TRUE, receives_default=>TRUE, use_action_appearance=>FALSE ); return $button_sub; } sub quit { Gtk3->main_quit; }