Re: [Vala] custom widget and File observer

2012-05-14 Thread Antono Vasiljev
D.H. Bahr db...@uci.cu writes: The application would consist solely on a Stream Browser providing access to (and only to) user own files, that is: all files within the user dirs (e.g: Documents, Pictures, Videos, Music, Public, Download and Home directories, recursively off course).

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

2012-01-19 Thread Antono Vasiljev
On 01/18/2012 11:51 PM, Denis Kuzmenok wrote: Can you show some helpful example of use? The code is not yet written so no examples yet. The goal of this standartization is stackable apps/middleware: Request Response | | (App1) (App1) | | ...

[Vala] GNet bug?

2012-01-07 Thread Antono Vasiljev
Hello all. I cannot find good URI parsing library for GLib so i stuck with GURI from legacy GNet. Nut sure what I'm doing wrong but even this small example sefaults: // uri.vala // // valac --pkg gnet-2.0 uri.vala ./uri void main (string[] args) { var uri = new

Re: [Vala] Vala logo

2012-01-02 Thread Antono Vasiljev
On Sun, 2012-01-01 at 02:03 +0100, Tobias Bernard wrote: In case someone hasn't seen the proposals, here's the most recent versionhttp://ubuntuone.com/p/1DBL/ I like version 05 :) ___ vala-list mailing list vala-list@gnome.org

[Vala] LuaJIT vapi

2011-12-11 Thread Antono Vasiljev
Hello, all. I've updated lua.vapi to use luajit headers[1]. Maybe this vapi should also be available as luajit.vapi from vala distribution (or somehow autogenerated from lua.vapi). LuaJIT intented as (faster) drop-in replacement for Lua. [1]:

Re: [Vala] Valum and ctpl update

2011-12-11 Thread Antono Vasiljev
On 12/11/2011 07:02 PM, Denis Kuzmenok wrote: Think of looking for modify date of templates and save them to exclude repeated template parsing. That would speed up template work for a little bit :) As for me template file should be accessed only during template engine

Re: [Vala] GValue get type

2011-12-11 Thread Antono Vasiljev
Replying to myself :) On 12/11/2011 10:32 PM, Antono Vasiljev wrote: foreach (var e in hash.entries) { // THIS IS PSEUDOCODE if (e.value.type == typeof(int)) { counter += e.value; } } if (e.value.holds(typeof(string))) http://www.valadoc.org/gobject-2.0/GLib.Value.html

Re: [Vala] Web framework in Vala

2011-12-09 Thread Antono Vasiljev
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 instructions for Valum for vala-0.14?

Re: [Vala] Web framework in Vala

2011-12-09 Thread Antono Vasiljev
On 12/09/2011 05:53 PM, Denis Kuzmenok wrote: I've installed all g-based libs from source, also added to makefile -X -llua-5.1 -X -lmemcached to include libraries, If you use --pkg luajit you should add -X -lluajit or something like this. Or just pass --pkg lua to vala compiler. Not

Re: [Vala] Valum - web framework in Vala

2011-12-09 Thread Antono Vasiljev
On 12/09/2011 10:50 PM, Denis Kuzmenok wrote: Recompiled many time glib2/dbus/libsoup, and at last it's working. Cool! Can you add Your steps to README.md or Wiki on github? Btw, if you test it on concurrent benchmark then you'll see that it's using only one CPU core, i don't remember if

Re: [Vala] Web framework in Vala

2011-12-08 Thread Antono Vasiljev
Yo, Matias! On 12/08/2011 01:21 PM, Matias De la Puente wrote: Great job Antono! Thanks :) It was easy. Now it's time to make something production ready and fun. Last year i was trying to build the vapi files of ctpl. I attach the vapi files I build. Oh. If i only know :) I spent so much

Re: [Vala] Web framework in Vala

2011-12-07 Thread Antono Vasiljev
On 12/08/2011 08:47 AM, Evan Nemerson wrote: AFAIK GPL restrictions is irrelevant in server side context. GPL not forces You to share unless you distribute your program. AGPL do if I understand correctly. However GPL3 restrictions may become true for embedded devices... It would be a problem

Re: [Vala] Looking for vapi for gimp

2011-03-17 Thread Antono Vasiljev
On Thu, 2011-03-17 at 12:02 +0800, Nor Jaidi Tuah wrote: Anybody working on vala binding for gimp? I only know about gegl-vala: http://gegl.org/gegl-vala/ ___ vala-list mailing list vala-list@gnome.org

[Vala] Vala syntax support in highlight.js

2011-03-09 Thread Antono Vasiljev
Hello, All. I implemented Vala syntax highlighting for hightlight.js[1] and it was merged to master. Tools[2] page in Vala wiki is also updated. Best regards! [1]: https://github.com/isagalaev/highlight.js [2]: http://live.gnome.org/Vala/Tools -- xmpp:s...@antono.info gopher://antono.info/

Re: [Vala] Vala to Genie

2011-02-23 Thread Antono Vasiljev
Hello, Nicolas. On Wed, 2011-02-23 at 11:55 +0100, Nicolas wrote: What happens if you simple declare the class like this: class GenieItem : Match And let all properties untouched. No success: genie-test-plugin.gs:37.5-37.28: error: Synapse.GeniePlugin.GenieItem: some prerequisites

Re: [Vala] Vala to Genie

2011-02-22 Thread Antono Vasiljev
On Mon, 2011-02-21 at 11:42 -0500, Jamie McCracken wrote: Also need to translate following: private class Connect : Object, Match { // from Match interface public string title { get; construct set; } public string description { get; set; }

Re: [Vala] Genie async methods

2011-02-21 Thread Antono Vasiljev
On Mon, 2011-02-21 at 11:48 +0100, Nicolas wrote: I don't test this code but i suppose is: def search (query : Query) : async ResultSet? raises SearchError Nope, neither when swapped async and ResultSet. Compilation failed: 1 error(s), 1 warning(s) def search (query : Query) : async

Re: [Vala] Vala to Genie

2011-02-21 Thread Antono Vasiljev
On Mon, 2011-02-21 at 12:42 +0100, Nicolas wrote: def async search (query : Query) : ResultSet? raises SearchError Don't forget to build with --pkg gio-2.0 Nicolas. Nope, neither when swapped async and ResultSet. Compilation failed: 1 error(s), 1 warning(s) def search (query

[Vala] Genie async methods

2011-02-20 Thread Antono Vasiljev
Hello, All. I trying to implement plugin for synapse launcher[1] in Genie. How can i translate following vala code to genie: public async ResultSet? search (Query query) throws SearchError { ... } [1]: https://launchpad.net/synapse-project -- xmpp:s...@antono.info