[Vala] Does Vala have a command-line documentation tool like pydoc or godoc ? (Not a HTML doc generator like valadoc)

2011-06-08 Thread Serge Hulne
Does Vala have a command-line documentation tool like pydoc or godoc ? which could instantly list all the methods associated with a given class or module ? (I am not talking about HTML doc generators like Javadoc, Valadoc etc ...) Alternatively, is there an autocomplete plugin for Vim or Emacs.

Re: [Vala] Text-processing performance test : Vala vs Go

2011-06-08 Thread Levi Bard
IMHO there isn't a significant difference. [...] 1) Vala : real    0m1.756s [...] 2 ) Go: real    0m3.708s 2x isn't a significant difference? ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Text-processing performance test : Vala vs Go

2011-06-08 Thread Dmitry Romanov
Why there are different results in this comparison? On Tue, Jun 7, 2011 at 9:48 PM, Serge Hulne serge.hu...@gmail.com wrote: The test consisted in determining the words with the highest occurrence frequency in Shakespeare' s complete work. Here is the result: The resp. codes are attached

Re: [Vala] Warning or Bug ?

2011-06-08 Thread Andrea Del Signore
On Wed, 2011-06-08 at 09:25 +0200, Serge Hulne wrote: // // Struct to hold key, values pairs: struct pair { public intfreq; public string word; } // Equality function for structs : bool equals (pair a, pair b) { return (Posix.strcmp(a.word,

Re: [Vala] Does Vala have a command-line documentation tool like pydoc or godoc ? (Not a HTML doc generator like valadoc)

2011-06-08 Thread Andrea Del Signore
Hi, On Wed, 2011-06-08 at 10:37 +0200, Serge Hulne wrote: Does Vala have a command-line documentation tool like pydoc or godoc ? which could instantly list all the methods associated with a given class or module ? I'm not aware of such a tool, but I usually open the vapi and search through it

[Vala] install vala + valide to ubuntu 10.10

2011-06-08 Thread Victor D.
hi all, i tried to install vala+valide on my system but failed several times with different reasons right now, i am using linux mint 10 (based on ubuntu 10.10) can you help or point me to a good, idiot-proof how to? of course, it's much more convenient not to compile things, if possible --

Re: [Vala] install vala + valide to ubuntu 10.10

2011-06-08 Thread Гаврилов Максим
Did you use special ppa? On what moment did you fail? 08.06.2011 16:54 пользователь Victor D. victor.dra...@gmail.com написал: hi all, i tried to install vala+valide on my system but failed several times with different reasons right now, i am using linux mint 10 (based on ubuntu 10.10) can

Re: [Vala] install vala + valide to ubuntu 10.10

2011-06-08 Thread Victor D.
hi gavrilov, edwin, i just tried to install again using ppa:vala-team the installation seems successful but i can't use valac here's what i did. after installation, i opened valac and created a new project of type GTK+ after typing a few chars, the program just quit with no message monodevelop

Re: [Vala] install vala + valide to ubuntu 10.10

2011-06-08 Thread Alexandre Rosenfeld
On Wed, Jun 8, 2011 at 09:44, Victor D. victor.dra...@cabanova.info wrote: monodevelop is out of question for me, i just quit using m$ related stuff for about 2 years now, and it seems quite enjoyable. MonoDevelop is not related to Microsoft at all and it is a quite capable IDE for Vala. I

Re: [Vala] install vala + valide to ubuntu 10.10

2011-06-08 Thread Гаврилов Максим
Try running Valaide from terminal to watch errors it writes into it. 08.06.2011 17:44 пользователь Victor D. victor.dra...@cabanova.info написал: hi gavrilov, edwin, i just tried to install again using ppa:vala-team the installation seems successful but i can't use valac here's what i did.

Re: [Vala] install vala + valide to ubuntu 10.10

2011-06-08 Thread Victor D.
one of them is PluginCompletion-ERROR **: parser.vala:56: failed to add GLib 2.0 another Error opening directory '/home/victor/.valide/plugins': No such file or directory 2011/6/8 Гаврилов Максим ull...@gmail.com Try running Valaide from terminal to watch errors it writes into it.

Re: [Vala] install vala + valide to ubuntu 10.10

2011-06-08 Thread Гаврилов Максим
Do you have nessesary *-dev packages installed? 08.06.2011 18:46 пользователь Victor D. victor.dra...@cabanova.info написал: one of them is PluginCompletion-ERROR **: parser.vala:56: failed to add GLib 2.0 another Error opening directory '/home/victor/.valide/plugins': No such file or

Re: [Vala] install vala + valide to ubuntu 10.10

2011-06-08 Thread Victor D.
probably not, this is why eas asking for a complete tutorial, to save your time ;) though, ideally, a ppa should add dependencies for *all* packages you can regard my system as a fresh ubuntu install. not even build-essential or similar thanks again ;) 2011/6/8 Гаврилов Максим ull...@gmail.com

Re: [Vala] install vala + valide to ubuntu 10.10

2011-06-08 Thread Gavrilov Maksim
08.06.2011 19:38, Victor D. пишет: probably not, this is why eas asking for a complete tutorial, to save your time ;) though, ideally, a ppa should add dependencies for *all* packages you can regard my system as a fresh ubuntu install. not even build-essential or similar thanks again ;)

Re: [Vala] Text-processing performance test : Vala vs Go

2011-06-08 Thread Serge Hulne
I used (the equivalent of) isspace() in the Go example and !isalnum() in the Vala example. I now use the same (isspace()) is both examples, the result is now identical: except for the execution speed : The factor 2 remains the same Serge. Go: serge2$ time ./go_test (77850,the)

[Vala] warning: copying delegates is discouraged

2011-06-08 Thread Jim Nelson
Running valac from master, I'm seeing this warning pop up a lot: warning: copying delegates is discouraged Can someone explain the rationale for this? (I'm guessing it has to do with references.) Are there any blessed workarounds (other than not copying delegates)? -- Jim