Re: [Vala] Removal of Mono

2009-06-29 Thread Daniel Lucraft
I remember reading once that although Excel had the ability to import from Lotus 123 since the beginning, it was only when Excel gained the ability to *export* to Lotus 123 that it saw significant takeup, because offices didn't have to worry that they would get locked in to an untested product.

Re: [Vala] Listing directory content with GIO

2009-05-06 Thread Daniel Lucraft
Hi Jan, I'm doing it like this: string name; var d = Dir.open(/path/to/dir); while ((name = d.read_name()) != null) {  stdout.printf(dir: %s\n, name); } best, DBL Daniel Benjamin Lucraft www.daniellucraft.com/blog twitter.com/danlucraft 2009/5/6 Jan

Re: [Vala] how to call extern function expecting function pointer?

2008-12-11 Thread Daniel Lucraft
way that array.size and array.move are. But you could still use this patch to make sort work in your own applications. best, Dan ___ Daniel Lucraft http://www.daniellucraft.com/ 2008/12/9 Alexander Bokovoy [EMAIL PROTECTED]: 2008/12/9 Adam Dingle [EMAIL PROTECTED]: You

Re: [Vala] Release testing

2008-12-01 Thread Daniel Lucraft
' make: *** [all] Error 2 ? Dan ___ Daniel Lucraft http://www.daniellucraft.com/ ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Release testing

2008-12-01 Thread Daniel Lucraft
Gtk.TextIter target_iter, int y, out int line_top); public void get_line_yrange (Gtk.TextIter iter, int y, int height); public bool get_overwrite (); public int get_pixels_above_lines (); thanks Dan ___ Daniel Lucraft http

[Vala] ArrayList sort function

2008-11-21 Thread Daniel Lucraft
the test), but I just couldn't make them work. (I tried hard!) thanks Dan ___ Daniel Lucraft http://www.daniellucraft.com/ From 743a5cee465d1dfa049dc9521bc78b8ce87684f1 Mon Sep 17 00:00:00 2001 From: Daniel Lucraft [EMAIL PROTECTED] Date: Fri, 21 Nov 2008 06:58:38 +

Re: [Vala] [ANNOUNCE] Vala 0.5.1 - Compiler for the GObject type system

2008-11-04 Thread Daniel Lucraft
Changes since 0.4.0 ... * Experimental support for yield statements and coroutines. This is great news. I too would like to see an example of this syntax. thanks! Dan ___ Daniel Lucraft http://www.daniellucraft.com

Re: [Vala] Gee.HashMap doesn't work

2008-10-28 Thread Daniel Lucraft
It may be that you need to use direct_hash, direct_equal instead of int_hash, int_equal. As I understand it, the latter are for boxed ints. best, Dan ___ Daniel Lucraft http://www.daniellucraft.com/ 2008/10/28 Кутейников Дмитрий [EMAIL PROTECTED]: What I'am doing

Re: [Vala] GTest

2008-10-27 Thread Daniel Lucraft
wants to get this working I can provide an example build script (there is little documentation). best, Dan ___ Daniel Lucraft http://www.daniellucraft.com/ 2008/10/27 Ali Sabil [EMAIL PROTECTED]: Hi, In the People[1] project we also have been looking into a better

Re: [Vala] embedding c code snippet in vala source.

2008-08-22 Thread Daniel Lucraft
--- Emmanuele Bassi [EMAIL PROTECTED] wrote: no, please: let's not turn Vala into the new GOB. this makes the code an unbearable mess - been there, done that. wow, I'd not seen that project before. I like how one of the GOB examples includes a 'shoot_yourself_in_the_head' function. Says it

Re: [Vala] Personal iterable, collection, list classes

2008-08-18 Thread Daniel Lucraft
Hi Alessandro, because you are wrapping an already iterable object (your 'objects' property) you can do this very simply by returning the iterator for that collection: public class MyList : Object, IterableMyObject { protected ArrayListMyObject objects; public Type get_element_type () {