Re: [Vala] How to abort sorting in Gee.ArrayList?

2010-07-06 Thread Luca Bruno
On Mon, Jul 05, 2010 at 11:17:59PM +0200, Didier 'Ptitjes' wrote: [Hum, guess that should go to the list too...] Hi Christer, Could you open a feature-request ticket in Gee bug-tracker for that ? Does it means there's a possibility to add a gio dependency to gee? Or creating a thread-safe

Re: [Vala] strings find

2010-07-06 Thread Luca Bruno
On Mon, Jul 05, 2010 at 10:05:28PM -0600, Mark wrote: I've noticed that there appears to be no 'find' method available within the string class. .str() (strstr in C) method returns a pointer to the position or null (s.str(something)-s gives you the integer position). although in C itself it

Re: [Vala] strings find

2010-07-06 Thread Mark
Luca Bruno wrote: .str() (strstr in C) method returns a pointer to the position or null (s.str(something)-s gives you the integer position). … Thanks for the help and clarification Luca (and others). Just to add on top of the responses given I've discovered something else that should

Re: [Vala] Graphic toolkits for Vala?

2010-07-06 Thread Martin DeMello
On Sat, Jul 3, 2010 at 2:32 AM, CaStarCo casta...@gmail.com wrote: Thanks to all :) , now i'm trying to decide if is better to use some web system such as webkit or to use something like clutter because it's more orientated to graphics than webkit... probably i'll take the webkit option

Re: [Vala] Genie, subclassing and some help!

2010-07-06 Thread Harry Van Haaren
Hey, Got this compiled after a little hassle, for people that want the command: valac --vapidir=./ --pkg gtk+-2.0 --pkg appindicator-0.1 --pkg webkit-1.0 indicator.gs webkit_view.gs main_window.gs main.gs with the appindicator.vapi in the same dir as the files. It should compile, assuming you

Re: [Vala] Graphic toolkits for Vala?

2010-07-06 Thread Martin DeMello
On Sat, Jul 3, 2010 at 2:14 AM, Martin Olsson mn...@minimum.se wrote: Checkout all the ones listed on this page: http://live.gnome.org/ProjectRidley/CanvasOverview Also take a moment a serious consider doing it using open web standards rendered via a WebKit webview or similar (inside you can

Re: [Vala] Graphic toolkits for Vala?

2010-07-06 Thread George Farris
On Wed, 2010-07-07 at 01:04 +0530, Martin DeMello wrote: On Sat, Jul 3, 2010 at 2:14 AM, Martin Olsson mn...@minimum.se wrote: Checkout all the ones listed on this page: http://live.gnome.org/ProjectRidley/CanvasOverview Also take a moment a serious consider doing it using open web

Re: [Vala] Graphic toolkits for Vala?

2010-07-06 Thread CaStarCo
I was searching about javascript engines and now i have this info: · The V8 engine is programmed into C++ language, and i don't know any binding to C or other languages . · The Webkit project have many ways to work with javascript, but the documentations is very poor U_U . · The

Re: [Vala] Graphic toolkits for Vala?

2010-07-06 Thread CaStarCo
Ok, to simplify the development i'm goint to use the JavaScriptCore library that's inside webkit. It's slower than tracemonkey and V8 but, in any case, if I choose the other ones i'll suffer to combine it with webkit. Some interesting info to make bindings to JavaScript of C functions using

Re: [Vala] Graphic toolkits for Vala?

2010-07-06 Thread Frederik
Here's the beginning of a JavaScriptCore binding (only the necessary functions to call a Vala callback from JavaScript). However, it's not perfect. There is some C compiler warning when compiling 'demo.vala'. I have not found a way to suppress it. Best regards Frederik /* * Compile with * $

Re: [Vala] Graphic toolkits for Vala?

2010-07-06 Thread Frederik
And here's a 'demo.html' to test it: html head /head body h1Demo/h1 script type=text/javascript sayHello(); sayGoodbye(); /script /body /html ___ vala-list mailing list vala-list@gnome.org