2009/5/16 Matías De la Puente mfpuente...@gmail.com:
You have to use vala-gen-introspect only for Glib/GObject based libs.
For non-Glib libraries you have to write the vapi file by hand.
Take a look at this page http://live.gnome.org/Vala/ExternalBindings
And you will see glib and non-glib
2009/5/4 Benjamin Solis lince2...@gmail.com:
Hi:
A query, why this new and innovative programming language called Vala?
http://live.gnome.org/Vala#head-76f9b12bb9c9258b22f6dd9ce2533481f9243cc9
___
Vala-list mailing list
Vala-list@gnome.org
GLib-ERROR **: /build/buildd/glib2.0-2.18.2/glib/gmem.c:136: failed to
allocate 4294967295 bytes
aborting...
Aborted
Looks like a Vala bug I've seen here on the list before..
Hans
___
Vala-list mailing list
Vala-list@gnome.org
2009/4/18 Jan Hudec b...@ucw.cz:
Hello Folks,
I have a switch, that will actually always initialize a variable of type
Glib.Pid, but valac wouldn't trust me and say it might be uninitialized.
Using a cast
GLib.Pid pid = (GLib.Pid)0;
works for me.
Without the patch using the flags won't compile.
Hans
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 3eaa980..2a31671 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1553,9 +1553,9 @@ namespace GLib {
public enum IOFlags {
APPEND,
NONBLOCK,
- READABLE,
-
Hi,
in order to avoid duplicated effort: Has
anyone worked on an ALSA vapi file?
Hans
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
From 97a1664c46b37a323969546c9098da5cb17e73bd Mon Sep 17 00:00:00 2001
From: Hans Baier hansfba...@googlemail.com
Date: Thu, 26 Mar 2009 04:59:12 +0700
Subject: [PATCH] libglade-2.0.vapi: nullable arguments in register_widget
---
vapi/libglade-2.0.vapi |2 +-
vapi
It's so beautifully simple! The thing is though, I'm stuck on one
thing and I was wondering if someone on this mail-list could advise a
solution. I want to grey-out the forward and back buttons
as-appropriate, and I have a update_buttons() method in the code, but
I don't know how to call it
^
Compilation failed: 6 error(s), 0 warning(s)
P.S.: used latest git commit 66d126e6bebca5cb6ea286979764b3ce15da24a7
___
Vala-list mailing list
Vala-list@gnome.org
2009/3/10 Yu Feng rainwood...@gmail.com:
Dear list,
Are friend classes available in VALA? If not, are there any particular
reason against it, and are there any alternatives for friend classes?
Regards,
Yu
If you need friend classes, you should probably redesign the code.
What do you need
Here is my jack.vapi, that I use in
http://www.hans-baier.de/wordpress/jackpanel
http://repo.or.cz/w/jackpanel.git?a=blob;f=jack.vapi;hb=HEAD
Sincerely,
Hans
___
Vala-list mailing list
Vala-list@gnome.org
-- Forwarded message --
From: Hans Baier hansfba...@googlemail.com
Date: 2009/3/6
Subject: Re: [Vala] jack binding
To: Alberto Colombo a.colo...@kingston.ac.uk
2009/3/6 Hans Baier hansfba...@googlemail.com:
Here is my jack.vapi, that I use in
http://www.hans-baier.de/wordpress
2009/3/6 Michael 'Mickey' Lauer mic...@vanille-media.de:
Added the IntegerType descriptor. Can we apply the attached patch then?
Maybe you could consider altering glib.vapi too,
because there, Pid is defined as:
[SimpleType]
[CCode (default_value = 0)]
public struct Pid
see patch
From c1010cd2704d946660801d02a2cd31f34c7f00a4 Mon Sep 17 00:00:00 2001
From: Hans Baier hansfba...@googlemail.com
Date: Wed, 4 Mar 2009 05:13:51 +0700
Subject: [PATCH] posix.vapi: added kill
---
vapi/posix.vapi |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git
Now it doesnt depend on GLib anymore
From b68a32b73a1aecefd25809777b8e5a948c0e3c9a Mon Sep 17 00:00:00 2001
From: Hans Baier hansfba...@googlemail.com
Date: Wed, 4 Mar 2009 06:17:53 +0700
Subject: [PATCH] posix.vapi: Added kill and pid_t
---
vapi/posix.vapi |7 +++
1 files changed, 7
Hello,
since Vala is ideal for writing custom Gtk+ widgets,
I wonder whether there already is a tool to autogenerate
C++ wrappers a la/based on glibmm for a given vala library.
Thanks,
Hans
___
Vala-list mailing list
Vala-list@gnome.org
Hi,
I didnt look into the details of vala, but what is of great value
(especially for tool support) is a standard compiler API and
standard AST form of vala code so that every vala program can parse
its own code and modify it.
This is essential for IDE tools like automated refactoring
and code
Hi,
I just generated librsvg-bindings.
the output of vapigen needed some manual tweaking,
but now it seems to run...
I hope this is useful,
and maybe can be contributed.
License: public domain.
Cheers,
Hans
librsvg-2.0.vapi
Description: Binary data
I still have a long way to learn Vala.
Since someone is successfully using Vala in a number
of projects I think they already have a good knowledge
of common pitfalls, best practices and the like.
Writing a book is one of the most efficient ways to
learn. Believe me, that is how I learnt
19 matches
Mail list logo