[Vala] Vala wip/cpp ?

2012-04-12 Thread Jacques-Pascal Deplaix
On 04/12/2012 07:28 PM, Luca Bruno wrote: Most physics engines out there are C++, and Vala can't handle C++ (not yet). Hi, I have seen the branch named wip/cpp this morning... What do you intend to do with it ? ___ vala-list mailing list

Re: [Vala] Vala wip/cpp ?

2012-04-12 Thread Jacques-Pascal Deplaix
On 04/12/2012 10:29 PM, Luca Bruno wrote: Hi, I have seen the branch named wip/cpp this morning... What do you intend to do with it ? It's not going to be merged anytime soon. It's supposed to be a basic support for using C++ libraries. Ok, great !

Re: [Vala] Class finalizer

2012-03-10 Thread Jacques-Pascal Deplaix
On 03/10/2012 12:08 AM, Luca Bruno wrote: On Fri, Mar 9, 2012 at 11:24 PM, Jacques-Pascal Deplaix jp.depl...@gmail.com mailto:jp.depl...@gmail.com wrote: It compile but the destructor is never called. When is it supposed to be called ? I've sent an email some days ago

Re: [Vala] Class finalizer

2012-03-09 Thread Jacques-Pascal Deplaix
On 03/09/2012 07:09 AM, Derek Dai wrote: I tried the syntax too. The same issue. But it's OK with class construct/destruct. class MyClass : Object { static string message = null; class construct { message = Bla; } class ~MyClass() { message = null; } } Derek Dai It compile but

Re: [Vala] Class finalizer

2012-03-08 Thread Jacques-Pascal Deplaix
On 03/08/2012 12:30 PM, Luca Bruno wrote: On Thu, Mar 8, 2012 at 7:03 AM, Derek Dai daide...@gmail.com wrote: Hi, In Vala, if I allocate resource in static construct block, where can I free it? Thanks. static ~Foo () { } Hi, I'm very interested about that. But when I tried that solution,

Re: [Vala] Vala Logo Showcase

2011-07-29 Thread Jacques-Pascal Deplaix
On 07/29/2011 01:33 PM, Luca Bruno wrote: Personally, I prefer the big V with emerald color. So do I. The little one remind me a super hero logo. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala Logo Showcase

2011-07-29 Thread Jacques-Pascal Deplaix
On 07/29/2011 03:46 PM, Luca Bruno wrote: On Fri, Jul 29, 2011 at 03:42:33PM +0200, Jacques-Pascal Deplaix wrote: On 07/29/2011 01:33 PM, Luca Bruno wrote: Personally, I prefer the big V with emerald color. So do I. The little one remind me a super hero logo. I meant logo #8 ;) Oups, I

Re: [Vala] Why the temporary variables in the C code are usefull ?

2011-07-07 Thread Jacques-Pascal Deplaix
On 07/07/2011 07:58 PM, Luca Bruno wrote: There've been a number of refactoring lately that will hopefully lead to dropping lots of useless temporary variables. That's for the sake of C code readability and smaller C code footprint. Fine ! I hope it will work better and faster

Re: [Vala] Why the temporary variables in the C code are usefull ?

2011-07-06 Thread Jacques-Pascal Deplaix
On 07/06/2011 08:15 PM, pancake wrote: The compiler can optimize this. Those temp vars are just to make the vala compiler simpler.. It would be great if vala could do some minor optimization steps before spitting C. But if you compile with -O2 it shouldnt be something to worry. Ok, fine...

Re: [Vala] Static local variable

2011-06-02 Thread Jacques-Pascal Deplaix
this (C-like static) we should define a new keyword like 'permanent', but it just make things look wrong. And it's out of the design principles of Vala. On 06/02/11 12:19, Jacques-Pascal Deplaix wrote: I have a question for a long time: Why Vala don't support static keyword for a local variable

[Vala] [ANNOUNCE] ValaTerm 0.3

2011-05-19 Thread Jacques-Pascal Deplaix
I am pleased to announce the release of ValaTerm 0.3, a lightweight terminal emulator written in Vala. The project is licensed under the GNU GPLv3. == Why another terminal ? == First, let me explain why I wrote: There are still a few months I was using GNOME gnome-terminal. But then I

[Vala] [PATCH] Variable never used

2011-05-19 Thread Jacques-Pascal Deplaix
2e54fcd569f437b58c97ca3e0c546226aea4b8a1 Mon Sep 17 00:00:00 2001 From: Jacques-Pascal Deplaix jp.depl...@gmail.com Date: Thu, 19 May 2011 22:23:32 +0200 Subject: [PATCH] Variable never used --- vala/valagirparser.vala |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/vala/valagirparser.vala b/vala

Re: [Vala] [PATCH]: Vte vapi: Vte.Terminal.fork_command_full some arguments can be nullable

2011-04-30 Thread Jacques-Pascal Deplaix
On 29/04/2011 23:47, Luca Bruno wrote: On Fri, Apr 29, 2011 at 10:35:33PM +0200, Jacques-Pascal Deplaix wrote: Hello everybody, Vte in version= 0.26 had the function Vte.Terminal.fork_command_full. But in the vte vapi file, this function had some arguments non-nullable and some other arguments

[Vala] [PATCH]: Vte vapi: Vte.Terminal.fork_command_full some arguments can be nullable

2011-04-29 Thread Jacques-Pascal Deplaix
2001 From: Jacques-Pascal Deplaix jp.depl...@gmail.com Date: Fri, 29 Apr 2011 21:56:19 +0200 Subject: [PATCH] Vte vapi: Vte.Terminal.fork_command_full some arguments can be nullable --- vapi/vte.vapi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vapi/vte.vapi b/vapi