I've just committed initial support for pointers to class instances. The
main differences between references and pointers are the following:
* Vala manages the memory when using references (usually with
reference counting) but Vala doesn't manage the memory when
using
On Fri, 2007-11-09 at 13:23 +0100, Ondřej Jirman wrote:
Here is patch that updates libxml-2.0 bindings to add tree and xpath
API. It requires [Instance(position = n)] patch that I sent yesterday.
Based on this patch, I've now committed an update to the libxml-2.0
bindings. It does not include
On Tue, 2007-12-11 at 12:16 -0500, A. Walton wrote:
Here's a patch to update the GIO bindings. Right now it requires you
have a version of GIO from Glib trunk.
Thanks for the patch. gio-2.0.vapi is generated by vapigen as noted in
the first line of the file, so you need to update the files that
Hi Zach,
On Wed, 2007-12-12 at 13:25 -0500, Zach Smith wrote:
I am doing some research for a paper at Anderson University over Vala
and I was wondering if you could help to point me in the right
direction. I am looking for some articles or other publications that
will give me some insight
On Mon, 2008-01-07 at 23:10 +0100, Daniel Svensson wrote:
On Jan 7, 2008 10:55 PM, Ed Schouten [EMAIL PROTECTED] wrote:
You can just do this:
| [NoArrayLength]
| public bool get_dest_row_at_pos (int drag_x, int drag_y, out weak |
Gtk.TreePath path, Gtk.TreeViewDropPosition[] pos);
On Sat, 2008-01-12 at 11:52 +0100, Daniel Svensson wrote:
On Jan 3, 2008 11:47 PM, Jürg Billeter [EMAIL PROTECTED] wrote:
Hi Daniel,
But _tmp1 will be declared in __lambda0 function and not in the
function it's used.
I've committed a fix for this to Vala SVN now.
Jürg
On Sat, 2008-01-12 at 01:52 +0100, Andrea Del Signore wrote:
attached a quick patch to the gstreamer bindings.
It fixes some missing ellipsis and add out parameter definitions in
gst_structure and gst_elements functions.
Thanks, committed to SVN.
Out of curiosity, why vapigen don't set
On Sun, 2008-01-20 at 20:23 +0100, Michael 'Mickey' Lauer wrote:
Jürg Billeter wrote:
* Add support for instance delegates.
public delegate void Maman.InstanceCallback ();
class Maman.Bar : GLib.Object {
void do_instance_action () { }
static void main (string[] args
On Sun, 2008-01-20 at 20:23 +0100, Michael 'Mickey' Lauer wrote:
Jürg Billeter wrote:
Changes since 0.1.5
* Add support for instance delegates.
public delegate void Maman.InstanceCallback ();
class Maman.Bar : GLib.Object {
void do_instance_action () { }
static void main
Hi,
On Fri, 2008-01-25 at 00:02 +0100, Mikael Hermansson wrote:
Is it possible to have inline C code in vala if not it would be great
too have it.
Vala doesn't support inline C code as it would only make the language
unnecessary complicated. If you want to write C code, use [Import] as
Hi,
On Tue, 2008-01-22 at 21:33 +0100, gege2061 wrote:
I wan't implement singleton pattern but I have compilation error :
static properties are currently not supported in Vala. We'll add support
for that in some later version. In the meantime just use static getter
and setter methods, shouldn't
On Mon, 2008-01-21 at 17:00 +0100, Hans Vercammen wrote:
Just realized you probably ment the o-free () in relation to pointers
Object* o = new Object();
o-free ();
I don't know why keyword delete isn't used, maybe this can be supported
in future?
We're planning to add support for the
Hi Andrew,
On Fri, 2008-02-29 at 17:25 -0800, coulamac wrote:
First I tried to compile valaSamples.vala with valac
from a directory of my making in ~/Documents. I
received an error saying I should include
gobject-2.0.pc to my PKG_CONFIG_PATH. I've been
trying to echo $PKG_CONFIG_PATH and
On Mon, 2008-02-04 at 23:04 +0200, Vlad Grecescu wrote:
Sorry, I misinterpreted the g_get_system_data_dirs () documentation.
It actually returns an array of folders (Application Data is among
them) but the key to vala's problem on win32 is still here:
Then the share subfolder in the
Hi Kerby,
On Sat, 2008-03-01 at 14:06 -0500, Kerby A Shedden wrote:
I'm having trouble reading a gzipped file in vala using the short example
below.
I've fixed the bindings so that the following example works fine now:
using ZLib;
using GLib;
public class test_libz {
static void main
Hi Stefan,
On Sat, 2008-02-16 at 16:15 +0100, Stefan Zimmermann wrote:
i found a little missing feature in the GLib.FileStream class.
i had to manually flush a FileStream but there was no definition of a
flush method in the FileStream definition.
so i added the method 'flush ()' with
Hi Andrea,
On Sun, 2008-03-02 at 16:59 +0100, Andrea Del Signore wrote:
first I want to say a big thanks to the vala team for the new release,
then attached to this message there's a micro patch that fix some bugs
in the gtk+ AboutDialog vapi.
Thanks, committed.
I always have some problems
On Tue, 2008-03-04 at 12:32 +0200, Vlad Grecescu wrote:
I worked around the issue (patch attached) but I suppose a bug should
be filed for the compiler - I just don't know what would be the
desired behavior (issue an error or compile gracefully)?
Thanks, I've committed it to SVN. The compiler
On Mon, 2008-03-03 at 20:50 -0800, [EMAIL PROTECTED] wrote:
Something is not right - it gets confused with the function names in the
Value class in sqlite.vapi int(), int64() and double.
It's fixed in SVN now.
Jürg
___
Vala-list mailing list
On Wed, 2008-03-05 at 18:35 +0100, Ed Schouten wrote:
* Alessandro Pellizzari [EMAIL PROTECTED] wrote:
The other values are OK and showing expected boundaries.
I am using vala 0.1.7
That is because %i is just a regular `int'. You should use the following
code:
We'll hopefully be able to
for further languages.
More information about libgee is available at
http://live.gnome.org/Libgee
Jürg Billeter
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
On Mon, 2008-03-10 at 10:13 +0100, Rob Taylor wrote:
Sending again as an attachment as mailman wants to break lines...
Makes the length field of a multidim array an array of ints, with values
corresponding to the dimensions of the array. This currently only works
with literals for the
On Fri, 2008-03-14 at 19:50 +0100, pancake wrote:
Is there a possibility to build 0.1.7 without glib 2.12? (is the regex stuff
the only
missing?) I know that its stupid to make steps backward.. but I tried
building glib2.12
and don't seems to do it properly because some internals of the SDK
On Fri, 2008-03-21 at 00:15 +0100, Isma kane wrote:
I'm a beginner with vala, and I try to create a little application to
create/modificate file with package gio-2.0. And I found one problem
in compilation stage (valac --pkg gtk+-2.0 --pkg gio-2.0 ...),error:
gio/gio.h doesn't exist. I'm
On Tue, 2008-04-01 at 18:10 -0400, Michel Salim wrote:
On Tue, Apr 1, 2008 at 5:42 PM, Jürg Billeter [EMAIL PROTECTED] wrote:
The current roadmap can be found on the wiki at
http://live.gnome.org/Vala/RoadMap
Any documentation on .gir ? It's not easy to Google for it.
It's
On Thu, 2008-04-03 at 00:18 +0300, Vlad Grecescu wrote:
Great news!
Do you plan to add i18n (gettext) support to Vala? or is it already
possible at C level?
That should already work fine. The GLib namespace contains _, Q_, and N_
functions, just like in C.
We use this successfully for
On Wed, 2008-04-02 at 20:24 +0200, Ali Sabil wrote:
On Wed, Apr 2, 2008 at 7:42 PM, Jürg Billeter [EMAIL PROTECTED] wrote:
How exactly do you use private top-level classes at the moment? Do you
have multiple top-level classes in one source file, some of them private
and you access
On Thu, 2008-04-03 at 16:13 +0200, Michael 'Mickey' Lauer wrote:
Excellent, that looks like a good roadmap.
Thanks!
It's probably not that important for you, but do you think you could
steal some time to put dbus service into? Ideally this would be modelled
after the Python decorator syntax.
On Wed, 2008-04-02 at 12:52 +0200, Juerg Billeter wrote:
On Sat, March 22, 2008 20:06, Mikael Hermansson wrote:
1:
If I want a copy of Gtk.TreePath I have to use weak but the problem is
howto free it after use?
That's a bug in the bindings, copy should obviously not return a weak
Vala differentiates between non-null and possibly-null types by means of
the type suffix `?` since version 0.1.6. The advantages of
distinguishing between non-null and possibly-null types are
* Interface documentation for method parameters and return values
* Automatic generation of
On Wed, 2008-04-09 at 16:20 -0400, Michel Salim wrote:
On Tue, Apr 8, 2008 at 1:07 PM, Jürg Billeter [EMAIL PROTECTED] wrote:
Short example:
public void foo (Bar bar) {
// bar is expected to be non-null
// will be enforced at run-time in future Vala versions
On Tue, 2008-04-08 at 19:07 +0200, Jürg Billeter wrote:
So far, Vala doesn't use the non-null type information by default, i.e.
your application will work fine even if you don't specify the `?` type
suffix for possibly-null types. That's about to change in the upcoming
0.3.x releases
On Sun, 2008-04-13 at 18:27 +0200, Olivier Rossiny wrote:
I'm trying to code with Vala. In fact to rewrite a C piece of code.
But this piece uses pointer arithmetic inside strings. Are Vala-strings
unmutable ?
Yes, strings are usually considered immutable in Vala.
if I write this, I get
Hi J-P,
On Wed, 2008-04-16 at 17:07 +0300, [EMAIL PROTECTED] wrote:
Thanks for a great language! I was wondering if you have plans to add
first class regular expressions? They should be relatively simple to
implement since the libs are there in Glib but they would make code much
easier to
On Mon, 2008-04-21 at 07:43 +0200, Jaap A. Haitsma wrote:
However when I change Gee.List list = new ArrayListstring (); to
var list = new ArrayListstring (); it doesn't
That was a bug, it's fixed now in SVN.
Jürg
___
Vala-list mailing list
Hi,
On Mon, 2008-04-21 at 00:08 +0200, Klaus Rotter wrote:
I have started coding with vala and I really like it! Great work! It is
really a big step ahead compared to plain C gtk programming.
Thanks.
But I have some questions:
1) I often use some preprocessor strings in my C code like
On Tue, 2008-04-08 at 19:26 +0200, Andrea Bolognani wrote:
I noticed the vbox property of Gtk.Dialog is declared of type Gtk.Widget, so
if I want to add a widget to the dialog I have to explicitly cast it to
a Gtk.Container as in the code below
((Gtk.Container) dialog.vbox).add (label);
-GObject
libraries, that you can use as examples.
However, it's not possible to use C++ libraries from Vala, if they don't
provide a C API.
Jürg
--
Jürg Billeter [EMAIL PROTECTED]
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org
On Sun, 2008-05-11 at 03:39 -0400, Yu Feng wrote:
The need for an 'Any' type emerges in the following context:
Object o = new Object();
Object o1 = new Object();
string s = string
o.set_data(data, o1);
o.set_data(string, s);
set_data is currently declared as
set_data(string, void
On Tue, 2008-05-13 at 12:09 +0200, Frederik wrote:
I think in the GIO vapi bindings there are more parameters that should
be marked as nullable. For example: etag as in File.replace() or
progress_callback as in File.move().
Yes, we certainly still miss a lot of nullable annotations.
btw, is
Hi Vlad,
On Wed, 2008-05-14 at 00:25 +0300, Vlad Grecescu wrote:
What am I doing now is that I extend Vala.Parser, process the *.gtkaml
files myself then feed *.vala files in their place.
That is, text processing: given an XML, I am writing a text that
represents a Vala source.
Two things:
--
Jürg Billeter [EMAIL PROTECTED]
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
a fix, it should work fine now
with string[].
Jürg
--
Jürg Billeter [EMAIL PROTECTED]
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
Hi Hannes,
On Sat, 2008-05-24 at 12:15 +0200, Hannes Matuschek wrote:
It looks like there is a problem connecting non-static methods to DBus
signals.
This is probably bug 532290[1], which has been fixed an hour ago.
Juerg
[1]http://bugzilla.gnome.org/show_bug.cgi?id=532290
On Sun, 2008-05-25 at 00:51 -0400, Jamie McCracken wrote:
Var to be used in foreach
We should certainly allow this, also in Vala. The logic in
ForeachStatement.accept_children is slightly broken as you're missing
visit_end_full_expression in the var case. It also seems that you
could simplify
On Sat, 2008-05-31 at 03:03 +0200, Hans Vercammen wrote:
Thanks again for clearing things up.
For cases where this is a performance issue, we're improving the support
for non-GObject (but still GType-registered) classes, which follow more
closely the C# and Java construction scheme.
On Sat, 2008-05-31 at 20:26 +0200, gege2061 wrote:
I have this strange error with this very simple code:
src/preferences-dlg.vala:446.5-446.12: error: internal error:
duplicating string[] instances not yet supported
string[] fields = new string[3];
The error is not on this
On Sat, 2008-05-31 at 21:19 +0200, gege2061 wrote:
Thank, but I do not see where I have ownership transfer:
public void add ()
{
string[] fields = new string[this.nb_colonne];
if (this.show (ref fields))
{
Gtk.TreeIter iter;
Gtk.ListStore list_store =
Hi Frederik,
On Tue, 2008-06-03 at 13:02 +0200, Frederik wrote:
I have seen that the current Vala SVN trunk now supports verbatim
strings. That's a nice feature, but I think that the chosen triple
double-quote syntax could conflict with another feature I would love to
see in Vala someday:
is available at
http://live.gnome.org/Vala
The Vala Team
Jürg Billeter and Raffaele Sandrini
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
On Tue, 2008-06-03 at 23:22 +0200, Maciej Piechotka wrote:
Is it possible to create an array one can resize (similar to realloc).
It will be often accessed and rary resized but I need this fuction.
Vala supports that using the resize() method. Check the set_capacity
method in gee/arraylist.vala
On Tue, 2008-06-03 at 14:58 -0700, Michael Lawrence wrote:
On Tue, Jun 3, 2008 at 2:18 PM, Jürg Billeter [EMAIL PROTECTED] wrote:
Vala 0.3.3 is now available for download at:
http://download.gnome.org/sources/vala/0.3/
Changes since 0.3.2
* Support
the equivalent for NULL checking yet. (This was
to save re-opening module for every attached signal).
`NULL' in C is `null' in Vala
Jürg
--
Jürg Billeter [EMAIL PROTECTED]
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo
On Tue, 2008-06-17 at 15:15 -0400, Levi Bard wrote:
Awesome to here! I really want to get the autocomplete support more
stable/effective,
That would be nice - what we need for that is integration of a real parser.
but outside that: Does anyone know if stetic is
super C# specific or if
Hi Christian,
On Wed, 2008-06-18 at 14:39 -0700, Christian Hergert wrote:
I'm a very happy user of vala who is curious what the timeline is for
implementing generic methods. It sounds like a technical feat, so I'll
understand if its not anytime soon.
There is a bug[1] open about it and we
On Wed, 2008-07-02 at 10:20 +0300, Arto Karppinen wrote:
Why not do it sh(1) style? (continue 2, break 2).
I would say that the perl style is a lot clearer about what happens.
If you have a lot of loops inside one another, it needs some figuring
out which loops happens to be number
On Thu, 2008-05-15 at 02:28 -0300, Matías De la Puente wrote:
vala, will include operators overload like in c#?
We're not planning to support operator or method overloading, however,
we might add limited support to implement operators by the use of
special interfaces, similar to how it already
On Wed, 2008-07-02 at 15:01 +0100, Sam Liddicott wrote:
* Jürg Billeter wrote, On 02/07/08 14:19:
There are many cases where method overloading makes code harder to read,
as each method can do something completely different, and you have to
look carefully at each argument type
Hi Roberto,
On Fri, 2008-05-23 at 02:34 +0200, Roberto Majadas wrote:
Here is the output of vala-gen-introspect and vapigen and the bindings
files.
[EMAIL PROTECTED]:~/Desktop/vala/vapi/packages$ vala-gen-introspect
libgda-3.0 libgda-3.0
Dropping [...] duplicate
Nothing to worry about
On Tue, 2008-07-15 at 11:05 +0100, Sam Liddicott wrote:
The reference counting that vala supports is only for gobject; which
is fine, but the glib vapi file shows that this is done by the vapi
file and not by vala as such.
[CCode (ref_function = g_object_ref, unref_function =
On Tue, 2008-07-15 at 11:11 +0100, Sam Liddicott wrote:
* Ali Sabil wrote, On 15/07/08 10:47:
Signal handler always have the signal sender as 1st parameter, in
this case it would be the AdvancedSample instance from which the
foo signal originated.
I proposed the sender keyword
On Sun, 2008-06-08 at 06:20 -0700, Michael Lawrence wrote:
Is there any way in vala to specify 'const void*' / 'gconstpointer'? I
often get warnings from gcc, because 'void*' in vapi files translate
to gpointer, not gconstpointer.
If not, maybe 'void*' should be made 'const void* by
On Mon, 2008-06-09 at 14:56 -0700, Michael Lawrence wrote:
Since empty G(S)Lists are NULL, whenever using a G(S)List as a
parameter, I need to specify ?. It's a bit strange to assert that
G(S)List parameters are non-null, as they are actually valid
G(S)Lists.
Yes, that's a strange special
On Mon, 2008-06-23 at 17:37 +0100, Sam Liddicott wrote:
How should be quoted inside a verbatim string?
Verbatim strings don't have support for escaping, so you need to resort
to normal string literals if you need triple double quotes in a string.
How will string literal concatenation work?
On Thu, 2008-06-26 at 15:09 +0100, Sam Liddicott wrote:
We see that the last function (above) has the arguments the wrong way
around because I had removed the instance_pos.
But in fact it is only the entry method that needs to take into account
instance_pos when ordering it's declared
On Fri, 2008-06-27 at 22:42 -0700, Michael Lawrence wrote:
When overriding a property, I found that I needed to declare it
'public' before it was actually accessible (i.e. the internal getter
function was defined but the override was not registered in
class_init). Is this by design? It's
On Wed, 2008-07-23 at 06:19 -0700, Michael Lawrence wrote:
On Wed, Jul 23, 2008 at 2:43 AM, Jürg Billeter [EMAIL PROTECTED] wrote:
On Fri, 2008-06-27 at 22:42 -0700, Michael Lawrence wrote:
When overriding a property, I found that I needed to declare
On Wed, 2008-07-23 at 14:07 +0100, Sam Liddicott wrote:
Even compiling valac without this change, and then using that to
compile
itself with this change results in the same error:
I tried make distclean and still the same problem. Is there something
wrong with the make file?
There is
On Wed, 2008-07-23 at 14:14 +0100, Sam Liddicott wrote:
What's the equivalent of __FILE__ and __LINE__ in vala?
There is no direct equivalent at the moment, however, we support the
[Diagnostics] attribute to automatically include the current file and
line in logged messages.
Is there an irc on
Hi Frederic,
On Fri, 2008-08-08 at 09:31 +0200, picca wrote:
I attached a file that do not compile with
valac -C
I expected to declare a Hkl namespace, a class PseudoAxis and a
namespace Pseudoaxis and a class Engine in the hkl.PseudoAxis namepsace
but vala complaine about an already
On Mon, 2008-08-11 at 11:31 -0700, Noah Gibbs wrote:
Hi! I'm new to Vala, but impressed at what you've done so far.
I was wondering... The Vala compiler is LGPL'd. Is there a
particular license on generated code? Could I write non-GPL and
non-LGPL code (public domain, say, or
that
all compile-time information is available when generating a binding.
More information about Vala is available at
http://live.gnome.org/Vala
The Vala Team
Jürg Billeter and Raffaele Sandrini
___
Vala-list mailing list
Vala-list
On Fri, 2008-08-15 at 15:17 +0100, Sam Liddicott wrote:
* Matías De la Puente wrote, On 15/08/08 14:12:
Hi Xavier
I have two ways to put the constants and the functions in the binding:
The first one is put the constants and the functions as they appear in
the header file,
Hi Yu,
On Fri, 2008-08-22 at 02:58 -0400, Yu Feng wrote:
Which do you prefer if you want to split a string? mysplit or split?
[CCode (cname = g_strmysplit, snippet = gchar ** rt = g_strsplit(this,
delimiter, max_tokens); *result_length1 = rt?g_strv_length(rt):0; return
rt;)]
On Fri, 2008-08-22 at 13:28 +0400, Alexey Lubimov wrote:
Jürg Billeter пишет:
Ok, as you agree that the null-terminated arrays should be handled,
your
g_strv_length example is not a real use case for the snippet support.
Can you provide a concrete example where you think it makes more
On Fri, 2008-08-22 at 05:24 -0400, Yu Feng wrote:
On Fri, 2008-08-22 at 11:04 +0200, Jürg Billeter wrote:
Another direction of this patch is to allow small wrapping code in
the .vapi declarations (which might ease the vapi authors's life)
This is the only place where I might consider
On Fri, 2008-08-22 at 05:49 -0400, Yu Feng wrote:
Just a scratch of idea:
class arrayT {
[CCode (snippet = int i; while(((T)this)[i]) i++; return i;)]
public int get_length();
This won't work (arrays may contain null/0 entries), and it would be
slow.
[CCode (snippet = gpointer *
On Sat, 2008-09-06 at 14:40 -0700, Mihail Naydenov wrote:
1
public class ListG{
...
public G data; //is this correct? Is not weak missing? Every
other member function returning the data or a new list returns weak
ref
public ListG next; //same here
public weak ListG prev;
}
On Sun, 2008-09-07 at 06:16 -0700, Mihail Naydenov wrote:
Im pretty new to both glib/gobject and vala so I might be missing
something,
but creating a weak reference is supposed not to create a new
reference to the object it points to.
On the other hand var is supposed to guess the type of
On Thu, 2008-09-04 at 11:20 -0400, Cliff Brake wrote:
from the below code, I assume its not valid to use structs in lists?
That's right, GList does not directly support arbitrary struct elements.
However, it's possible to put nullable/boxed structs in a GList.
To do this, you need to declare
On Tue, 2008-09-16 at 22:48 +0100, Sam Liddicott wrote:
Here I am working my self into brain fever, and not a peep!
No-one says stop him, the fool or darn fiendish cunning or even
he's using goto's, the churlish knave.
No-ones saying don't taint the language with your base practicalities
On Tue, 2008-09-16 at 15:39 -0700, Christian Hergert wrote:
I absolutely love the yield idea, very python-twisted'ish. Lets make
sure the yield can return a value as well so we can have the
following:
var value = yield obj.do_something ();
Sure, return values should certainly be possible.
Hi Matias,
On Fri, 2008-06-13 at 19:21 -0300, Matías De la Puente wrote:
I updated the GSL binding for vala, the modifications are:
+ use of 'namespace' insted of 'public static class' for general
functions
+ implementation of the 'new' operator in all the objects (see
samples:
Hi Martin,
On Tue, 2008-09-23 at 09:48 +0200, Martin (OpenGeoMap) wrote:
have Vala suppor to RAII like c++, D, c# or ruby???
Vala supports RAII. If you, for example, use GIO to read files, you
usually don't need to explicitly close the streams. Streams get
automatically closed when the
Hi Karl,
On Mon, 2008-10-06 at 11:58 +0100, Karl Lattimer wrote:
I'm trying to figure out my way around vala's time stuff, but I'm
having
a hard time, looking at vapi files isn't great :/
Specifically I want to produce timestamps, generally this is an easy
thing to do in most languages but
On Tue, 2008-10-07 at 11:16 +0200, Luca Dionisi wrote:
Is an update to the Vala RoadMap page planned?
http://live.gnome.org/Vala/RoadMap
I've updated the page with a tentative roadmap.
Jürg
___
Vala-list mailing list
Vala-list@gnome.org
Hi,
On Mon, 2008-10-06 at 21:35 +0200, Hans Vercammen wrote:
I have been toying a bit with the new gobject-introspection module at
gnome-svn and some things caught my attention. It seems that the glib
library is divided into different namespaces according to the glib
modules, which follows
Hi Yu,
On Wed, 2008-10-29 at 19:05 -0400, Yu Feng wrote:
vala will try to call panel_applet_construct from my_applet_construct
which doesn't exist.
I had a short look into gtk+-2.0.vapi. There are a lot of such empty
parameter constructors which implies some difficult in subclassing
On Wed, 2008-09-17 at 16:22 +0200, Michael 'Mickey' Lauer wrote:
Am Wednesday 17 September 2008 00:34:08 schrieb Jürg Billeter:
I like the idea of adding language support for asynchronous method
calls, I was thinking of implementing this for some months but it wasn't
on the top of my todo
languages.
More information about libgee is available at
http://live.gnome.org/Libgee
Jürg Billeter
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
On Sat, 2008-11-01 at 22:42 +, Sam Liddicott wrote:
It'll be a couple of weeks at least before I can look at it.
Jürg, are you intending to allow the callbacks to pass in additional
variables?
The plan is to allow access to all local variables using closures.
Are you planning to base
On Sat, 2008-11-01 at 18:01 -0700, Christian Hergert wrote:
It would be useful if delegates could through exceptions here too.
Particularly when you do async calls that take a delegate.
Delegates can already throw exceptions. However, I don't really see the
relation to async calls as it won't
On Mon, 2008-11-03 at 16:42 -0800, Christian Hergert wrote:
Changes since 0.4.0
* Support type checks for error domains and error codes.
* Experimental support for yield statements and coroutines.
* Support GValue and GHashTable in D-Bus clients.
On Mon, 2008-11-03 at 20:15 +, Sam Liddicott wrote:
Jürg, I'll call your stuff async and mine callbacks.
You're right that I can do most of what I need with continuation
lamdas.
Perhaps I could abuse the keyword pair continue inline to cause the
lambda to invoke the main body at the
On Fri, 2008-11-14 at 18:07 +0100, Thijs Vermeir wrote:
bin.add_many is the problem because the c function takes the
ownership, but the bindings don't do it. Just use bin.add for every
element as a workaround...
I've fixed the gst_bin_add_many binding in vala trunk. Let me know if
there are
On Fri, 2008-11-14 at 04:29 -0800, Mihail Naydenov wrote:
Hi,
I started writing a vapi for a c library and I want to use
instance_pos to set the place of the instance parameter.
Problem is, I need it to be the *second param*, but instance_pos = 1
or instance_pos = 2 remove it altogether.
I
Hi Yu,
On Wed, 2008-11-19 at 01:52 -0500, Yu Feng wrote:
I was trying to chain up some class constructors for non-GObject classes with
0.5.1/0.4.0.
The following code is generated. The instance is created twice.
If I change the parent class to GObject, the extra create_instance is
Hi Matt,
On Fri, 2008-11-21 at 09:48 +, Spencer, Matthew wrote:
But I get errors:
error: missing class prerequisite for interface 'InterfaceA'
on the lines marked with 1 and 2.
Interfaces need to have a class as prerequisite to be usable as a
variable - we miss memory management
On Fri, 2008-11-21 at 12:46 +, Karl Lattimer wrote:
After overcoming my previous issues I'm now running into some other
problems.
Again any help much appreciated.
This looks like a vala-independent libtool issue. Possibly using libtool
2 without clean autogen? Can you try again after a
On Fri, 2008-11-21 at 13:20 +, Karl Lattimer wrote:
On Fri, 2008-11-21 at 14:11 +0100, Jürg Billeter wrote:
On Fri, 2008-11-21 at 12:46 +, Karl Lattimer wrote:
After overcoming my previous issues I'm now running into some other
problems.
Again any help much appreciated
1 - 100 of 401 matches
Mail list logo