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

2012-03-26 Thread Denis Kuzmenok
Wrong link ;) Monday, March 26, 2012, 7:47:19 PM, you wrote: We are pleased to announce version 0.16.0 of Vala, a compiler for the GObject type system. Vala 0.16.0 is now available for download at: http://download.gnome.org/sources/vala/0.15/ Changes since 0.15.2 * Add udisks2

Re: [Vala] jSON parser

2012-03-14 Thread Denis Kuzmenok
{data:50.65} // jSON stdout.printf (data: %d\n, root_object.get_int_member (data)); // dont work! I cant control the value. ¿How get variant type data? Try: stdout.printf (data: %d\n, int.parse (root_object.get_double_member (data))) ___

[Vala] Gearmand Vapi

2012-02-25 Thread Denis Kuzmenok
I've created vapi for gearmand ( http://gearman.org/ ) library, in short, it's a job server/client with bindings to almost every popular language. As i'm new to Vala i will appreciate if anyone checks vapi and find errors or gives some advice on better syntax. Thanks.

Re: [Vala] IP Address From Client

2012-01-19 Thread Denis Kuzmenok
Thursday, January 19, 2012, 4:13:38 PM, you wrote: As I can get the client IP address in the example shown in this direction http://live.gnome.org/Vala/GIONetworkingSample Million thanks for your help http://www.valadoc.org/gio-2.0/GLib.SocketConnection.get_remote_address.html

Re: [Vala] Unified Server Gateway Interface (RFC)

2012-01-18 Thread Denis Kuzmenok
Can you show some helpful example of use? Wednesday, January 18, 2012, 4:25:16 PM, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yo, All. I going to start work on unified server gatewey interface for vala. Something like rack for ruby, wsgi for python or jsgi for commonjs. I

[Vala] Aho–Corasick string matching algorithm Vapi

2012-01-11 Thread Denis Kuzmenok
I've made a Vapi for Aho–Corasick string matching algorithm. Lib can be taken from here: http://sourceforge.net/projects/multifast/files/ Need modifications of Makefile to make shared lib: add line to the head: SONAME := libahocorasick.so.$(ACVERSION) add to CFLAGS: -fPIC

[Vala] Vapi automatic installation

2012-01-03 Thread Denis Kuzmenok
What do you think about making vapi repository like perl's cpan to search over different vapi's, and install them easily via commandline utils? With storage containing them, of course. ___ vala-list mailing list vala-list@gnome.org

Re: [Vala] Write to file

2011-12-28 Thread Denis Kuzmenok
Adding BufferedOutputStream did the trick) var fstream = file.create (FileCreateFlags.NONE); var dos = new DataOutputStream (new BufferedOutputStream.sized (fstream, 65536)); Wish it was documented somewhere in Samples/Docs :( tried this: file = Posix.FILE.open(to, w); fileno =

Re: [Vala] BDB

2011-12-26 Thread Denis Kuzmenok
If you're not picky about which database you want to use, Tokyo Cabinet bindings are distributed with Vala, and I'm working on LevelDB bindings which I'll be sharing soon (probably this week). That would be great! PS: i don't need sqlite, cause my database is about 15 millions of

Re: [Vala] Vala libs for other languages

2011-12-22 Thread Denis Kuzmenok
Can you show example of using those bindings? I can't get it how that works =\ Thanks Hello, All. I've created simple example of vala - %language% bindings via GObject Introspection Repository. Git repository at github: https://github.com/antono/vala-object I think such things should

Re: [Vala] Web framework in Vala

2011-12-09 Thread Denis Kuzmenok
warning(s) ./bin/app.valum On 12/08/2011 06:17 PM, Denis Kuzmenok wrote: Did you try compiling it with vala-0.15 ? No, i have no vala-0.15 yet. Maybe there's a need in latest packages? I've used ones from yum. Oh. If you use rpm based distro coul'd you please make installation

Re: [Vala] Web framework in Vala

2011-12-09 Thread Denis Kuzmenok
Sorry for a stupid question (for the bigger part of readers), but if the C++ lib says it has (C API), does it mean we can bind it like any C library in Vala? It would be great if someone write vapi for CTPP2 ( http://ctpp.havoc.ru/en/ ) template parser. It's more clean

Re: [Vala] Web framework in Vala

2011-12-09 Thread Denis Kuzmenok
I've used --pkg, but without -X -l... it doesn't work. maybe 0.15 is braked in someway. Also there's vala-0.16, 0.16 directory, and no 0.15, maybe there's a bug of hidden feature, i'll try with 0.14.1 :) On 12/09/2011 05:53 PM, Denis Kuzmenok wrote: I've installed all g-based libs from

Re: [Vala] Web framework in Vala

2011-12-08 Thread Denis Kuzmenok
Did you try compiling it with vala-0.15 ? Maybe there's a need in latest packages? I've used ones from yum. I'm getting many errors: [ava@elgato valum]$ make run rm -f ./bin/app.valum valac --enable-experimental --thread --vapidir=./vapi/ --cc=gcc --gir Valum-1.0.gir -D BENCHMARK --pkg gio-2.0

[Vala] Prepare XML data

2010-03-10 Thread Denis Kuzmenok
Hello, people. I wonder is there any functionality to write xml files and prepare data for xml? = lt; = quot; etc, Thank you in advance ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] [Genie] bug in array construction?

2010-01-14 Thread Denis Kuzmenok
row : string[] causes error: mysql.vala.c: In function ‘_main’: mysql.vala.c:25: error: array size missing in ‘row2’ mysql.vala.c:38: error: incompatible types in assignment row : string[]? causes error: error: syntax error, expected line end or semicolon but got `?' while Vala works fine with

[Vala] running Soup example

2010-01-13 Thread Denis Kuzmenok
Hi, i'm new to vala, trying examples now, i've tried this example: http://live.gnome.org/Vala/LibSoupSample but recieve this error: r...@centos-54-64-minimal ~/develop/vala # valac --pkg libsoup-2.4 --thread server.vala r...@centos-54-64-minimal ~/develop/vala # ./server ./server: error while

Re: [Vala] running Soup example

2010-01-13 Thread Denis Kuzmenok
Got it to work with: PKG_CONFIG_PATH, somehow libsoup/glib2 lies in /usr/lib, and system on lib64, but now it's ok, seems to me. Thanks, anyway ;) Please try this: LD_DEBUG=libs server and look at the output. Cem Eliguzel On 01/13/2010 12:30 AM, Denis Kuzmenok wrote: Hi, i'm new

[Vala] Mysql binding

2010-01-13 Thread Denis Kuzmenok
Hi, i'm trying mysql bindings now, and it doesn't work for me, r...@centos-54-64-minimal ~/develop/vala # valac --pkg mysql mysql2.vala ./mysql2 mysql2.vala:10.19-10.33: error: `Mysql.Database' does not have a default constructor Database mysql = new Database ();