Re: [Vala] How to call base constructors

2009-05-10 Thread Jan Hudec
Adi Roiban writes: > > În data de Jo, 07-05-2009 la 20:18 +, Jan Hudec a scris: > > Adi Roiban writes: > > > În data de Mi, 06-05-2009 la 17:48 +, Jan Hudec a scris: > [snip] > > > For example in the case of MenuItem, we have the "activated" signal and > > > there is not way to pass use

Re: [Vala] Nested anonymous struct

2009-05-10 Thread Michael 'Mickey' Lauer
On Sunday 10 May 2009 20:02:50 Yu Feng wrote: > There doesn't seem to be a feature request on bugzilla yet. > I am curious if there is any intention to implement the anonymous struct > in the future, and if a patch is welcomed, which part of the compiler is > relevant, and what will be the technica

Re: [Vala] How to get the local variables of a method?

2009-05-10 Thread gege2061
ok, but how to iterate over all children blocks? 2009/5/10 Jürg Billeter > Hi, > > On Sat, 2009-05-09 at 23:32 +0200, gege2061 wrote: > > I continu my learning of the vala parser. > > > > I seek to get the local variables of a method. I tested > > Method.body.get_local_variables() but the list i

[Vala] Nested anonymous struct

2009-05-10 Thread Yu Feng
Dear list, Currently the vala compiler (0.7.2) doesn't compiler the following code: public struct Large { public struct { int small; int verysmall; } foo; } neither does it accept the code in a vapi file. One year ago Sam expressed the need in a

[Vala] POSIX bindings + stropts.h

2009-05-10 Thread Sudharshan S
Hi all, Browsing through posix.vapi on my fedora installation, I found bindings for stropts.h which is non-existent in some Linux systems. A little googling around I found that Linux doesn't support STREAMS but is a part of POSIX XSR[1]. Please take a look. (Or did I miss something obvious?) If

Re: [Vala] Vapigen errors?

2009-05-10 Thread Robert Palmqvist
Whahoo, it worked! I already tried the libexif.metadata file but I must have gotten it wrong the first time (I only had one of them in there but got the same error for all 3 of them so I assumed it was not the way to go, maybe I got the syntax wrong and used Exif.Content.priv hidden="1" or somethin

Re: [Vala] Vapigen errors?

2009-05-10 Thread Travis Watkins
On Sun, May 10, 2009 at 3:33 AM, Robert Palmqvist wrote: > > > On Sun, May 10, 2009 at 9:32 AM, Robert Palmqvist > wrote: >> >> There is a typedef for "_ExifContentPrivate" but I can't find it defined >> anywhere. It's the same for "_ExifDataPrivate" in "exif-data.h" and >> "_ExifEntryPrivate" in

Re: [Vala] Vapigen errors?

2009-05-10 Thread Robert Palmqvist
On Sun, May 10, 2009 at 9:32 AM, Robert Palmqvist wrote: > > There is a typedef for "_ExifContentPrivate" but I can't find it defined > anywhere. It's the same for "_ExifDataPrivate" in "exif-data.h" and > "_ExifEntryPrivate" in "exif-entry.h"... > > Anyone got a solution? I have found the defin

[Vala] New signal syntax is not 100% compatible with old

2009-05-10 Thread Харин Роман
In the previous discusion (http://mail.gnome.org/archives/vala-list/2009-May/msg00069.html) Yu Feng notice me to test old signal syntax (+=) with inheritted signal. I wrote small testcase to reproduce this feature (vala 0.7.2). Is this bug? -- Харин Роман jabber://har...@jabber.ru // valac test

Re: [Vala] Vapigen errors?

2009-05-10 Thread Robert Palmqvist
I am trying to figure this last one out so I went trough the libexif header files in search for the "ContentPrivate", "DataPrivate" and "EntryPrivate" generating the errors... someu...@somehost:~$ grep -i 'ContentPrivate' /usr/include/libexif/*.h /usr/include/libexif/exif-content.h:typedef struct