Jiří Zárevúcky | 1 Feb 2010 02:15
Picon
Gravatar

[Vala] Vala Journal, Issue #1

Hello everyone. Seeing the subject of this message, you probably started
to wonder what the heck this is.
Here's the plan: Each weekend, I'm going to sumarize what is going on
around Vala. This includes recently included features, open discussions,
fixed issues, etcetera. I may even drop in some unintrusive
advertisement of interesting projects written in Vala. ;)

The exact form this takes I haven't really decided yet, and will depend
mainly on your feedback. The point will be to keep those of you, who are
not subscribed to bugzilla and don't enjoy reading git log, informed,
and make this list more involved in the development.

This week, since it is the first attempt, I just went through bugs
changed during last month and picked those I find most interesting. This
only includes language related bugs this time. Next time I'll probably
include a full report of last weeks changes, add small info about some
really cool projects that catch my interest (or someone points out to
me), perhaps note discussions on the IRC channel that are relevant (in
case I'm present there at the time. isn't there any log of the
channel?). But as I said, the final form is still largely undecided.

So, enough of the introduction. In case you have any suggestions, feel
free to present them to me. Also, any noteworthy information related to
Vala should go straight to my INBOX. ;) If you have a blog where you
write about Vala, I'd be glad if you dropped me a message as well.

Note:
I'm not a journalist, so this my attempt may very well seem lame at
first. As has already been said, suggestions are more than welcome.

(Continue reading)

Nor Jaidi Tuah | 1 Feb 2010 07:44
Favicon

Re: [Vala] Vala Journal, Issue #1


> Coalesce operator (??) is now implemented in master. ;)
> https://bugzilla.gnome.org/show_bug.cgi?id=580816

May I suggest adding ??=, as in
x ??= y;

hand
Nor Jaidi Tuah
Alessandro Pellizzari | 1 Feb 2010 11:13
Picon

Re: [Vala] Vala Journal, Issue #1

Il giorno lun, 01/02/2010 alle 02.15 +0100, Jiří Zárevúcky ha scritto:

> Here's the plan: Each weekend, I'm going to sumarize what is going on
> around Vala. This includes recently included features, open discussions,
> fixed issues, etcetera. I may even drop in some unintrusive
> advertisement of interesting projects written in Vala. ;)

Thank you very much! :)

--

-- 
Alessandro Pellizzari

_______________________________________________
Vala-list mailing list
Vala-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
Xavier Bestel | 1 Feb 2010 12:24
Picon
Favicon

Re: [Vala] Vala Journal, Issue #1

On Mon, 2010-02-01 at 14:44 +0800, Nor Jaidi Tuah wrote:
> > Coalesce operator (??) is now implemented in master. ;)
> > https://bugzilla.gnome.org/show_bug.cgi?id=580816
> 
> May I suggest adding ??=, as in
> x ??= y;

Too bad C# choose ?? as the coalescing operator. GCC already has it and
simply uses the traditional ?: with an empty second argument, like:

	x = y ?: z;

which is, IMHO, quite easier to understand.

	Xav
Xavier Bestel | 1 Feb 2010 12:26
Picon
Favicon

Re: [Vala] Vala Journal, Issue #1

On Mon, 2010-02-01 at 02:15 +0100, Jiří Zárevúcky wrote:
> Here's the plan: Each weekend, I'm going to sumarize what is going on
> around Vala. This includes recently included features, open discussions,
> fixed issues, etcetera. I may even drop in some unintrusive
> advertisement of interesting projects written in Vala. ;)

Thanks a lot for this Jiří !

I know it'll be hard to maintain a regular weekly schedule (many others
tried on other projects), but even if irregular it'll be really useful.

Thanks,
	Xav

_______________________________________________
Vala-list mailing list
Vala-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
Darren Shepherd | 1 Feb 2010 16:18
Picon

[Vala] interface properties support construct?

I'm pretty new to vala, so I'm not sure if the following is a bug, or
that the following syntax is not supported.  I'm using 0.7.9 from the
vala-team-ppa on Ubuntu karmic.

i.vala:

public interface IDInterface : Object {
	public abstract string id { get; construct; }
}

o.vala:

public class IDObject : IDInterface, Object {
	public string id { get; construct; }
}

public static void main(string[] args) {
}

valac i.vala o.vala:

/home/darren/Projects/VMake/temp/o.vala.c:66: warning:
‘id_interface_set_id’ used but never defined
/tmp/ccfvotda.o: In function `id_object_set_property':
o.vala.c:(.text+0x350): undefined reference to `id_interface_set_id'
collect2: ld returned 1 exit status
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)

The above is reproducible only when the interface and object are in
(Continue reading)

Luca Bruno | 1 Feb 2010 20:51
Picon
Gravatar

Re: [Vala] Vala Journal, Issue #1

On Mon, Feb 01, 2010 at 02:15:38AM +0100, Jiří Zárevúcky wrote:
> Hello everyone. Seeing the subject of this message, you probably started
> to wonder what the heck this is.
> Here's the plan: Each weekend, I'm going to sumarize what is going on
> around Vala. This includes recently included features, open discussions,
> fixed issues, etcetera. I may even drop in some unintrusive
> advertisement of interesting projects written in Vala. ;)
> 
> The exact form this takes I haven't really decided yet, and will depend
> mainly on your feedback. The point will be to keep those of you, who are
> not subscribed to bugzilla and don't enjoy reading git log, informed,
> and make this list more involved in the development.

This is great thanks. How to help? Any place where to find this on internet
other than this mailing list?

--

-- 
http://www.debian.org - The Universal Operating System
_______________________________________________
Vala-list mailing list
Vala-list@...
http://mail.gnome.org/mailman/listinfo/vala-list
Adam B | 1 Feb 2010 21:33
Picon

[Vala] Vala Clutter example segfaults

Hello all,

I compiled the clutter example linked from the Vala website and it segfaults
near the end of the animation.
http://live.gnome.org/Vala/ClutterSamples

If I comment out this code it works:

                animations[i] = rectangles[i].animate (
                        AnimationMode.EASE_OUT_BOUNCE, 3000,
                        "x", Random.next_double () * stage.width,
                        "y", Random.next_double () * stage.height / 2
                                                   + stage.height / 2,
                        "rotation-angle-z", rectangles[i].rotation_angle_z,
                        "opacity", 0.0);

Other wise it segfaults on the first iteration (i == 0).

I'm using Vala 0.7.9 and Clutter 1.0.6-0ubuntu1 on Ubuntu Karmic AMD64.  I'd
try it on the latest Clutter but I can't find packages for that.

Can anybody reproduce this?  Is it Vala's fault or Clutter's?
Jürg Billeter | 1 Feb 2010 21:43
Picon

Re: [Vala] Vala Clutter example segfaults

On Mon, 2010-02-01 at 12:33 -0800, Adam B wrote:
> Hello all,
> 
> I compiled the clutter example linked from the Vala website and it segfaults
> near the end of the animation.
> http://live.gnome.org/Vala/ClutterSamples
> 
> If I comment out this code it works:
> 
>                 animations[i] = rectangles[i].animate (
>                         AnimationMode.EASE_OUT_BOUNCE, 3000,
>                         "x", Random.next_double () * stage.width,
>                         "y", Random.next_double () * stage.height / 2
>                                                    + stage.height / 2,
>                         "rotation-angle-z", rectangles[i].rotation_angle_z,
>                         "opacity", 0.0);
> 
> Other wise it segfaults on the first iteration (i == 0).
> 
> I'm using Vala 0.7.9 and Clutter 1.0.6-0ubuntu1 on Ubuntu Karmic AMD64.  I'd
> try it on the latest Clutter but I can't find packages for that.
> 
> Can anybody reproduce this?  Is it Vala's fault or Clutter's?

It's a bug in the above code snippet, "opacity" is expecting a guchar,
not a double. Replacing 0.0 by 0 fixes the issue. I've updated the wiki.

Jürg

_______________________________________________
(Continue reading)

George Farris | 2 Feb 2010 00:47
Picon
Favicon

[Vala] Acire type application for Vala

Hi all,

Just wondering if anyone was working on an Acire type application for
Vala.  Acire is really awesome for Python/PyGtk and I think it would be
a great boon to people wanting to write stuff in Vala.

If you don't know what Acire is, it's a project to browse, read, run and
learn from a library of Python examples.

Go here to have a look.  Nice screenshot pretty much says it all.

http://www.jonobacon.org/2010/01/12/acire-0-2-released/

Cheers
George

Gmane