Re: [Vala] Generating API errors

2009-08-07 Thread Clément David
? -- Clément DAVID ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Libgee's Roadmap proposal

2009-07-20 Thread Clément David
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >>> - Are there some things missing ? >> A compressed trie structure would be nice but there is no such thing for >> GLib at the moment (with support for prefix matching etc.) > > Well, I have the project to code a radix tree (already started a vers

Re: [Vala] Removal of Mono

2009-06-29 Thread Clément David
Don't forget that these benchs are micro-benchs and are not representative of real application*. -- Clément David My religion : 'Do and share it if you want. Criticisms will come later' :) ___ Vala-list mailing list Vala-list@gnome.org h

[Vala] Some patches for posix.vapi

2009-05-08 Thread Clément David
patch 0003-Adding-standards-methods-to-Posix-types-when-posix.patch Clément David (aka davidcl) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoEaYYACgkQuqPIXyz9+3Ix/gCgmQntlin8uf83vu0OtNC

Re: [Vala] Ownership syntax changes

2008-12-20 Thread Clément DAVID
[...] >> } > > I like the idea, but the word "owned" doesn't really tells by who it's > owned (caller or callee). How about something like "callers" or > "transfer" ? > > > ___ > Vala-

Re: [Vala] Beginners question about keyboard input

2008-12-03 Thread Clément DAVID
> > I have created a patch with the beginning of GNU Readline bindings: > http://bugzilla.gnome.org/show_bug.cgi?id=563057 > ___ > Vala-list mailing list > Vala-list@gnome.org > http://mail.gnome.org/m

Re: [Vala] Beginners question about keyboard input

2008-12-01 Thread Clément DAVID
t must have got redefined at some time. > > Ah, it's so easy in Bash: > > read ONELINE > > Regards, > Barry Kauler > _______ > Vala-list mailing list > Vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo

Re: [Vala] File I/O

2008-11-16 Thread Clément DAVID
Hi, You may use the GLib.FileStream class. 2008/11/16 Кутейников Дмитрий <[EMAIL PROTECTED]> > How to open file in vala? > > ___ > Vala-list mailing list > Vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo/vala-list > >

Re: [Vala] (no subject)

2008-10-10 Thread Clément DAVID
Hi, I don't think that the ShapeLib use GObject convention so you cannot automagically generate a vapi file from it. But you can hand-write a vapi which act as an auto transform layer from Vala to C the functions call. Can you post the generated vapi file here ? 2008/10/10 Tonatiuh Morales <[EMA

Re: [Vala] New vala website??

2008-10-02 Thread Clément DAVID
Hi, Is there a reason why your work isn't on a sub domain of http://www.vala-project.org/ (like http://www.vala-project.org/doc/vala/) ? Your good platform need more popularity :) Regards 2008/10/2 Martin (OpenGeoMap) <[EMAIL PROTECTED]> > Hi: > > , >>

Re: [Vala] Accessing "base" property of Gtk.Style

2008-09-16 Thread Clément DAVID
just more informations from http://live.gnome.org/Vala/Tutorial §"Control structures" "Prefixing symbols with @ let you using reserved keywords. This is mainly useful for bindings. You can use an argument @foreach for example." 2008/9/16, Clément DAVID <[EMAIL PROTECTE

Re: [Vala] Accessing "base" property of Gtk.Style

2008-09-16 Thread Clément DAVID
Hi, if you look at the corresponding vapi file, you can see that the 'base' attribute has been renamed to '@base' in order to prevent this error *. * It's just a quick answer I haven't test this. 2008/9/15, Federico Pelloni <[EMAIL PROTECTED]>: > Hello everyone! > > I just started learning Vala

Re: [Vala] Question on Documentation and tutorials.

2008-09-10 Thread Clément DAVID
(ctx, hal_device_lost_capability); libhal_ctx_set_device_property_modified (ctx, hal_property_modified); Quit big to read but very interressant. 2008/9/10 Alessandro Pellizzari <[EMAIL PROTECTED]>: > Il giorno ven, 22/08/2008 alle 14.42 +0200, Clément DAVID ha scritto: > >

Re: [Vala] Question on Documentation and tutorials.

2008-08-22 Thread Clément DAVID
Hi, You can take a look at samples on the Vala main page : http://live.gnome.org/Vala#head-9c728d151a2a0483d4f3b5837e5b545df9d8499d If you want more informations about gtk and glib ecosystem, look at : http://library.gnome.org/devel/references or with devhelp (which is better) with the right docu

Re: [Vala] trunk fails compiling .vala files.

2008-08-22 Thread Clément DAVID
Me too, you can switch to HEAD-1 to get no errors 2008/8/21 Victor Manuel Jáquez Leal <[EMAIL PROTECTED]>: > Me! since yesterday > > On Thu, Aug 21, 2008 at 6:11 PM, Yu Feng <[EMAIL PROTECTED]> wrote: >> Dear Juerg, and others, >> >> A trunk built from a vala 0.3.4 can not compile any program, giv

Re: [Vala] IDE VALA needs

2008-05-30 Thread Clément DAVID
I think it is not a good idea to hide the source file because many operations require knowledge of the file organisation (SCV, small patch, eavy change of the code structure). For me, the concept is to offer another view of a file/project but not to hide the file/project ;) . 2008/5/30 Yu Feng <

Re: [Vala] IDE VALA needs

2008-05-30 Thread Clément DAVID
* a navigator tree that inspect the current file is a very useable feature like in [http://www.netbeans.org/features/ide/editor.html]. May be easier to make with the full integration of libvala on the IDE. * Integration with valadoc to display help with the autocompletion. others ideas ?

Re: [Vala] Va(a)lide : IDE for Vala !

2008-05-27 Thread Clément DAVID
Hi, Have you any plans to use libvala for syntax checking at typing or other cool feature (tree of classes and others). Good job but I think making plugins for others IDE can be easier than started another (SCV integration and code factoring). Clément David Le 27 mai 2008 23:53, gege2061

Re: [Vala] : benchmarks gobject

2008-05-20 Thread Clément DAVID
Hi, I have made this benchmarks only to demonstrate the performance of Vala versus C# (C++ has been added after the creation). In the case of C++, Vala may be better or worse depending the bench, like in plain-C [http://shootout.alioth.debian.org/gp4/c.php]. When you use many OO features of Vala,

Re: [Vala] How to write a string to an IOChannel

2008-04-28 Thread Clément DAVID
Hi Frederik, You can use : IOChannel.write_chars ("My string".skip); Clément 2008/4/28, Frederik <[EMAIL PROTECTED]>: > > I would like to write a string to a GLib IOChannel (a file), but > IOChannel.write_chars() wants a char[] as argument. > > thank you > > Frederik > _

Re: [Vala] translating union in vapi file

2008-03-03 Thread Clément DAVID
ublic int type; public InfoEntityInfo info; [CCode (cname="mpd_newInfoEntity")] public InfoEntity (); } public struct InfoEntityInfo { public Directory directory; public Song song; public PlaylistFile playlistFile; } 2008/2/21, C

[Vala] translating union in vapi file

2008-02-21 Thread Clément DAVID
Hi, I'm in trouble while translating non-Object library which this kind of structure : typedef struct mpd_InfoEntity { /* the type of entity, use with MPD_INFO_ENTITY_TYPE_* to determine * what this entity is (song, directory, etc...) */ int type; /* the actual data you want

Re: [Vala] Vapi for time/localtime

2008-02-09 Thread Clément DAVID
You can check fonctions in the Glib API documentation [http://library.gnome.org/devel/glib/stable/glib-Date-and-Time-Functions.html] and there corresponding Vala binding in glib-2.0.vapi file. 2008/2/8, Andreas Sliwka <[EMAIL PROTECTED]>: > On Feb 8, 2008 8:06 PM, Mikael Hermansson <[EMAIL PROTEC

Re: [Vala] Math.exp2 not portable

2008-01-31 Thread Clément DAVID
I think the a 'Deprecated' tag must be too hard to use. For this case a @deprecated in the comment, like doxygen, can be sufficient for many people. The message won't be visible for users but developers know that there is a problem with this method and why. /** * Bla Bla Bla * @param arg Argum

Re: [Vala] no Gtk when it is installed ??

2008-01-23 Thread Clément DAVID
Hi, After trying to compile the exemple I saw some problems with Vala 0.1.6: * The ui file is missing ("../ui/din_ekonomi.ui") * listmodel.set(...) need no 'ref' on the TreeIter argument * listmodel.append(...) need an 'out' and not a 'ref' Could you update the page please ? 2008/1/2

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

2008-01-18 Thread Clément DAVID
If you want more exemple take a look at the vala/tests/*.vala . You can also take a look at my vala-benchmark project. I re-implement part of "The Computer Language Benchmarks Game" in Vala. These benchmarks are implemented in many languages and you can compare these with the Vala version. Vala b

[Vala] Adding comments to vapi

2007-12-30 Thread Clément DAVID
I think it may be good to add comments to the VAPI files (generated by vapigen). With this improvement we can use doxygen or other tool to get the documentation with the real Vala case and without devhelp deprecated file. Furthermore manually written VAPI files maybe more maintainable and well doc