Re: [Vala] Vala for embedded systems, IDEs, debugging

2012-09-12 Thread Mikkel Kamstrup Erlandsen
On 12 September 2012 07:41, Adrian Stern wrote: > But didn't they drop the POSIX Profile with Vala 0.17.4? If glib/GObject is too heavy for the embedded device in question I don't think Vala is the right choice to begin with. There are many cases where it's non-trivial to really have lowlevel co

Re: [Vala] Volatile keyword in Vala(please answer)

2012-08-28 Thread Mikkel Kamstrup Erlandsen
On 24 August 2012 17:31, Tal Hadad wrote: > > Is volatile keyword supported in Vala? Is it planned? > Few sources say it does, but testing showing it's not. > > I asked this question a month ago and no one replay. > Does Jörg Biller include this in Vala? This question is a bit scarce on detail. W

Re: [Vala] Future-proofing ABI - how to add dummy v-methods to Vala classes

2012-08-07 Thread Mikkel Kamstrup Erlandsen
On 6 August 2012 06:30, Maciej Piechotka wrote: > Hi, > > What is recommended way of adding dummy v-methods to classes (IIUC that > is not an issue for GObject interfaces as size of V-table is not part of > ABI for interfaces)? > > Just adding reserved v-method (if yes how to prevent it from appea

Re: [Vala] Can adding new virtual method break ABI?

2011-12-14 Thread Mikkel Kamstrup Erlandsen
On 12 December 2011 12:15, Jürg Billeter wrote: > On Mon, 2011-12-12 at 12:12 +0100, Luca Bruno wrote: >> >> On Mon, Dec 12, 2011 at 12:01 PM, Jürg Billeter wrote: >>         On Sun, 2011-12-11 at 11:34 +0100, Luca Bruno wrote: >>         > 2011/12/11 Tal Hadad >>         > >>         > > This i

Re: [Vala] .vala's and .h's

2010-08-03 Thread Mikkel Kamstrup Erlandsen
On 24 July 2010 01:32, Borja Varela Brea wrote: > > Hi, I want to now if is posible doing something like this: > > Archive Function.c > -- > >    int sum (int a, int b) { >       return a+b; >    } > > > Archive Function.h > --- > >    int sum (int a, int b); > > >

Re: [Vala] vala and actors model

2010-07-28 Thread Mikkel Kamstrup Erlandsen
On 20 July 2010 18:28, Fabien CELLIER wrote: > Hello everybody, > > I created a small wrapper for actor model in vala (just a poc for a friend, > in order to show that multithreading could be easy with glib ). > The code is small and contains, probably, bugs but I won't delete the repo > before ne

Re: [Vala] Realize - proto2

2009-11-20 Thread Mikkel Kamstrup Erlandsen
2009/11/20 pancake : > I don't see any complication in using libvala to convert from vala to > C in memory and then use libtcc to execute the generated C code > at runtime. > > I was looking at libjit few days ago and it can be also used as a > backend to generate assembly code on runtime (but it c

Re: [Vala] Vala bindings for epiphany?

2009-10-05 Thread Mikkel Kamstrup Erlandsen
2009/10/3 Magnus Therning : > On Sat, Oct 03, 2009 at 01:50:02PM +0300, Xan Lopez wrote: >> On Sat, Oct 3, 2009 at 1:30 PM, Magnus Therning wrote: >> > On Fri, Oct 02, 2009 at 06:00:07PM +0200, Wouter Bolsterlee wrote: >> >> Op vrijdag 25-09-2009 om 22:11 uur [tijdzone +0100], schreef Magnus >> >>

Re: [Vala] Final / Sealed classes in Vala

2009-09-21 Thread Mikkel Kamstrup Erlandsen
2009/9/22 Jan Hudec : > On Tue, Sep 22, 2009 at 06:40:10 +0200, Marco Trevisan (Treviño) wrote: >> Is it possible to define both in VAPIs and in a vala code a class which >> can not be extended? >> >> I mean something like "final" does for Java and "sealed" for C#... > > I don't think so. Though so

Re: [Vala] Custom attributes/decorators

2009-04-22 Thread Mikkel Kamstrup Erlandsen
2009/4/22 Vlad Grecescu : > On Wed, Apr 22, 2009 at 3:54 AM, Christian Hergert > wrote: >> >> Hi Folks, >> >> I'm curious about how people feel about adding a feature for custom >> attributes/decorators that can be used for meta-programming.  If that >> doesn't make sense, let me show an example o

Re: [Vala] Array slicing?

2008-08-02 Thread Mikkel Kamstrup Erlandsen
2008/7/23 Jürg Billeter <[EMAIL PROTECTED]>: > On Wed, 2008-06-04 at 13:49 +0200, Mikkel Kamstrup Erlandsen wrote: >> I am very much enjoying array slicing[1] in Python and I am >> contemplating having a stab at implementing it for Vala. However I >> would like a bit

[Vala] Array slicing?

2008-06-04 Thread Mikkel Kamstrup Erlandsen
Hi Valists, I am very much enjoying array slicing[1] in Python and I am contemplating having a stab at implementing it for Vala. However I would like a bit of feedback before I start spending too much time on it. It looks like it may require a lot of work. I see three cases where it can be applie

[Vala] ABI stable code?

2008-04-25 Thread Mikkel Kamstrup Erlandsen
I am wondering if it is possible to write a lib in Vala that can be ABI stable... Both varying (ABI stable) code changes, but also varying Vala compiler versions? This could be very cool, but I think it will also be quite hard to assure from Vala? Cheers, Mikkel __

Re: [Vala] Gee tests and extension proposal

2008-04-02 Thread Mikkel Kamstrup Erlandsen
On 02/04/2008, Juerg Billeter <[EMAIL PROTECTED]> wrote: > > On Mon, March 24, 2008 00:52, Quikee wrote: > > I have extended the tests in Gee library. Now they cover all methods > > provided by the interfaces they extend so that future changes to the > > library can be done without fear to break th

Re: [Vala] Request: Some high level documentation about how vala works internally

2008-01-18 Thread Mikkel Kamstrup Erlandsen
On 18/01/2008, Florian Brosch <[EMAIL PROTECTED]> wrote: > I run valadoc through the sourcefiles now: > > > http://www.rpgsquare.de/valadoc/vala/ Is there some where I might grab the sources for Valadoc? Cheers, Mikkel ___ Vala-list mailing list Vala-l

Re: [Vala] Request: Some high level documentation about how vala works internally

2008-01-17 Thread Mikkel Kamstrup Erlandsen
On 17/01/2008, Jürg Billeter <[EMAIL PROTECTED]> wrote: > Hi Jaap, > > On Sun, 2008-01-13 at 15:44 +0100, Jaap A. Haitsma wrote: > > I think it would be very helpful for potential contributors to have > > some high level documentation on how vala works internally > > E.g. class diagrams, a descript

Re: [Vala] Class-comment in generated standard-constructor

2008-01-04 Thread Mikkel Kamstrup Erlandsen
On 04/01/2008, foo bar <[EMAIL PROTECTED]> wrote: > I got a small issue by working on valadoc with libvala: > > I created a documentation of a class with no constructor. In Succession a > Vala.CreationMethod was added as standard-constructor. So my problem is that > the comment-string is the same a

Re: [Vala] [patch] glib style methods in generated C code

2007-12-26 Thread Mikkel Kamstrup Erlandsen
On 26/12/2007, Jürg Billeter <[EMAIL PROTECTED]> wrote: > Hi Mikkel, > > On Mon, 2007-12-24 at 14:41 +0100, Mikkel Kamstrup Erlandsen wrote: > > Here's a patch to make the generated C code follow the GLib style more > > closely. > > > > What it does is

[Vala] [patch] glib style methods in generated C code

2007-12-24 Thread Mikkel Kamstrup Erlandsen
Hi, Here's a patch to make the generated C code follow the GLib style more closely. What it does is to put newlines after the method return type and before the code block. Method decls are not affected. Output looks like this: static gint sample_main (int args_length1, char** args); static g

Re: [Vala] Unit testing in Vala

2007-12-12 Thread Mikkel Kamstrup Erlandsen
On 11/12/2007, Thijs Vermeir <[EMAIL PROTECTED]> wrote: > Hello, > > I want to start a new project in Vala, but I can't find an > easy way to add Unit testing to my project. > Is there already some way of unit testing in Vala? > Or how are you (unit) testing your vala applications or libraries? I

Re: [Vala] Possibly, error in code generator

2007-12-10 Thread Mikkel Kamstrup Erlandsen
On 10/12/2007, Jürg Billeter <[EMAIL PROTECTED]> wrote: > > Hi, > > On Mon, 2007-12-10 at 18:22 +0300, Denis Cheremisov wrote: > > The program gives segmentation fault. > > FileStream.open is a static method (fopen) that creates and returns a > new FileStream (FILE*). > > "new FileStream ()" should

Re: [Vala] How to work with files in Vala?

2007-12-10 Thread Mikkel Kamstrup Erlandsen
On 10/12/2007, Jan Van Buggenhout <[EMAIL PROTECTED]> wrote: > > A better idea is to not use this api but to look at the GIO API, even > though it is not officially integrated in glib yet, it will be the recom- > mended API in the future. Just to clarify: It is indeed in glib trunk, Alexander Lar