[Vala] Tor

2013-03-07 Thread Brian Duffy
Is there a way to write Tor enabled applications in Vala? -- Duff ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Fwd: Request for new keyword "nobreak"

2013-01-24 Thread Brian Duffy
-- Forwarded message -- From: Brian Duffy Date: Thu, Jan 24, 2013 at 3:02 PM Subject: Re: [Vala] Request for new keyword "nobreak" To: Flemming Richter Mikkelsen Can't you use an "if ... else if" structure to accomplish this behavior? On Thu, Jan 24,

Re: [Vala] Examples in documentation

2012-11-10 Thread Brian Duffy
Sqlite > > is completely devoid of valadoc comments in it's vapi. > > > > http://unstable.valadoc.org/#!api=sqlite3/Sqlite > > > > I looked up the vapi, it's not difficult to figure out: > > > > http://git.gnome.org/browse/vala/tree/vapi/sqlite3.vap

Re: [Vala] Examples in documentation

2012-11-10 Thread Brian Duffy
What is the deal with the server that valadoc.org runs on? Would the comment system need to be based on flat files or is their a db (mysql, sqlite, etc) available? On Fri, Nov 9, 2012 at 9:24 AM, Brian Duffy wrote: > I think it is things like good code examples, good documentation, and g

Re: [Vala] Examples in documentation

2012-11-09 Thread Brian Duffy
http://unstable.valadoc.org/#!api=sqlite3/Sqlite > > I looked up the vapi, it's not difficult to figure out: > > http://git.gnome.org/browse/vala/tree/vapi/sqlite3.vapi > > Steven N. Oliver > > > > On Thu, Nov 8, 2012 at 9:11 PM, Brian Duffy wrote: > >> Very

Re: [Vala] Examples in documentation

2012-11-08 Thread Brian Duffy
Very much looking forward to this feature! What do you think of Luca's suggestions? ETA? On Thu, Nov 8, 2012 at 8:33 PM, Florian Brosch wrote: > Hey guys, > > I'm already working on a comment system: > > http://unstable.valadoc.org/ > > > On Thu, Nov 8, 2012 at 1:43 PM, Gilzad Hamuni wrote: >

Re: [Vala] Examples in documentation

2012-11-08 Thread Brian Duffy
That sounds good to me. On Thu, Nov 8, 2012 at 1:19 PM, Luca Bruno wrote: > Personally I don't like things to be moderated, I'd never contribute to a > thing like that. Things like stackoverflow, wikipedia, gnome wiki & co work > because there's no moderation. > At last one can have a login acc

Re: [Vala] Examples in documentation

2012-11-08 Thread Brian Duffy
ithin some designated begin and close tag is listed as code. On Thu, Nov 8, 2012 at 10:32 AM, Brian Duffy wrote: > Here we can see that community comments have been in the planning (since > February). > > http://valajournal.blogspot.com/2012/02/valadoc-website-renewal.html >

Re: [Vala] Examples in documentation

2012-11-08 Thread Brian Duffy
Here we can see that community comments have been in the planning (since February). http://valajournal.blogspot.com/2012/02/valadoc-website-renewal.html I'm guessing it is this moderator issue that is holding things back. I wish I were qualified to be the moderator myself. On Thu, Nov 8, 2012 a

Re: [Vala] Examples in documentation

2012-11-08 Thread Brian Duffy
It looks like the php doc comments section is moderated. When choosing to add a comment you are directed to a page that discusses the rules. That makes sense, otherwise you would wind

Re: [Vala] Examples in documentation

2012-11-08 Thread Brian Duffy
Amen, brother! The code examples in the php docs are extremely useful. I would love to have that capability. I could contribute quite a few snippets myself, from advice I have gotten from this list. Let's get this done. It looks like Florian Brosch is the maintaner of Valadoc.org. (* flo.bro...@gm

[Vala] [Clutter/Vala] background color issue development environment

2012-06-29 Thread Brian Duffy
Just to reiterate my development environment, I'm on fc17 with latest stable packages of Clutter and Vala. -- Duff ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Last message sent in error please refer to this one

2012-06-29 Thread Brian Duffy
Hi, I am having a problem setting the background colors of items in my layout. Please try this out if you can and see if the text items background color is set properly when iterating through the items. Thanks Brian using Clutter; /* Gui: class called from main to define the ui before the clut

[Vala] [Vala/Clutter] ClutterText.set_single_line_mode() problem

2012-06-29 Thread Brian Duffy
Hi, Vala 0.16-0.4.fc17 Clutter 1.10.6-1.fc17 Here I have a stripped down program to demonstrate a problem I am having with setting a ClutterText to single_line_mode. If I do mainMenuListItem7.set_single_line_mode(true), and stage.set_key_focus(mainMenuItem7), then the text box works as I need it

[Vala] [Vala/Clutter] set_background_color confusion

2012-06-27 Thread Brian Duffy
Hi, I have a collection of text actors inside a parent actor with a BoxLayout applied to the parent actor. I am obtaining pointers to the different Text objects in the collection with the get_child_at_index(int Index) method. My wish is to just set the background color of the Text object as I iter

[Vala] sqlite3_finalize() ??

2012-06-27 Thread Brian Duffy
Hi, Is it safe to say that I don't have to worry about calling finalize() on an sqlite3 prepared statement in Vala? I can't find any reference to it in ValaDoc. thnx Brian -- Duff ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/

Re: [Vala] R: The perfect Vala/GNOME IDE...

2012-06-26 Thread Brian Duffy
That's a nice synopsis of what is needed. The question is why is it not happening? Let's just assume for a minute that Vala is the right language to attract more mainstream development to linux, and I don't want to debate that (please, no!), then make the next logical assumption that more people wo

[Vala] sqlheavy?

2012-06-21 Thread Brian Duffy
Hi everyone, I need to use sqlite in my app. Does anyone have any experience using the sqlheavy wrapper? Does it make working with sqlite in Vala more friendly in your experience? Is it kept up to date? thanks Brian -- Duff ___ vala-list mailing list

Re: [Vala] DBUS warnings (I don't understand)

2012-06-05 Thread Brian Duffy
Okidoke. On Tue, Jun 5, 2012 at 6:27 AM, Luca Bruno wrote: > On Mon, Jun 4, 2012 at 8:39 PM, Brian Duffy wrote: > >> Hello everyone, >> >> I have a simple dbus example working, but I am getting some compiler >> warnings that I don't understand. >

[Vala] DBUS warnings (I don't understand)

2012-06-04 Thread Brian Duffy
Hello everyone, I have a simple dbus example working, but I am getting some compiler warnings that I don't understand. eg. warning: passing argument 3 of ‘g_cclosure_new’ from incompatible pointer type [enabled by default]. I have narrowed it down to the Bus.own_name call ... Bus.own_name (Bus

[Vala] Clutter-Gst 1.5.6 (fc17)

2012-06-01 Thread Brian Duffy
So, it looks like 1.5.6 has a fix related to playing/pausing video with the default cluttersink. This may solve my problem. What is the recommended way to get 1.5.6 on my fc17 box? Will there likely be an update available in fc17 soon (it just dropped a few days ago) or should I uninstall the 1.5.4

[Vala] VideoTexture Correction Correction (OMG)

2012-06-01 Thread Brian Duffy
Sorry, I just needed to point out that I forgot to do "videoPlayer.set_playing(false);" when creating the player. If I don't do that then the if statement in the buttonevent handler does not work. Here is the working test (still the same problem as original post) ... using Clutter; using ClutterG

[Vala] Clutter-Gst VideoTexture correction

2012-06-01 Thread Brian Duffy
The example does not work without initially using Hello all, I installed fedora 17 (vala 0.16, clutter 1.10) on a development machine today and tried porting a project over from fedora 16 (using vala 0.14, clutter 1.8, etc). I'm having trouble getting the Clutter-Gst VideoTexture to work now. I c

[Vala] Clutter-Gst VideoTexture problem (fc17)

2012-06-01 Thread Brian Duffy
Hello all, I installed fedora 17 (vala 0.16, clutter 1.10) on a development machine today and tried porting a project over from fedora 16 (using vala 0.14, clutter 1.8, etc). I'm having trouble getting the Clutter-Gst VideoTexture to work now. I can start the movie and pause it , but then I can't

[Vala] DBUS client to listen for messages from dbus-send

2012-04-24 Thread Brian Duffy
Hi, I have been looking over the d-bus examples (gdbus) for Vala and I am wondering ... Can I just write some (client) code in my vala application to read messages from the dbus-send program? I'm not really sure how this works, but would the dbus-send command line utility be the server in this cas

[Vala] LIRC bindings?

2012-04-11 Thread Brian Duffy
I would like to allow my application to receive IR remote commands. How best to do it in Vala? thnx Brian -- Duff ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] remote control library in Vala?

2012-03-26 Thread Brian Duffy
Hi, Is there an open source remote control library out there with Vala bindings? -- Duff ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Code Example on Vala Home Page

2012-03-23 Thread Brian Duffy
Ah yes, I see now. I have added the Vala port of the code listing to the bottom of the wiki. Enjoy; and thanks. b On Fri, Mar 23, 2012 at 5:03 PM, Luca Bruno wrote: > On Fri, Mar 23, 2012 at 9:58 PM, Brian Duffy wrote: > >> After some help with JM on this list I was able to get

[Vala] Code Example on Vala Home Page

2012-03-23 Thread Brian Duffy
After some help with JM on this list I was able to get PocketSphinx working in my application. He ported the code from the article"Using Pocket Sphinx with Gstreamer and python" to Vala. There were a couple of tricky steps in the process in my opinio

Re: [Vala] Fwd: Porting "Using PocketSphinx with GStreamer and python" to Vala

2012-03-23 Thread Brian Duffy
t the python example seems to work. Just had a look at > the console. I didn't do further tests because my computer lacks a > microphone. > Your code looks fine, so far. On my machine I just don't get to the point > where you have the issues. > Regards > >

[Vala] Fwd: Fwd: Porting "Using PocketSphinx with GStreamer and python" to Vala

2012-03-22 Thread Brian Duffy
-- Forwarded message -- From: JM Date: Thu, Mar 22, 2012 at 6:39 PM Subject: Re: [Vala] Fwd: Porting "Using PocketSphinx with GStreamer and python" to Vala To: Brian Duffy Hello Brian I tried porting that python example to vala (attached file) and it doesn't work

[Vala] Bus Message Structure

2012-03-22 Thread Brian Duffy
Hello, I am trying to use CMU's PocketSphinx plugin for Gstreamer from Vala and I am running into a problem getting access to the message structure in my bus callback function (app_message). For some reason when I use the get_structure method to return the structure of the message and then call a

Re: [Vala] Fwd: Porting "Using PocketSphinx with GStreamer and python" to Vala

2012-03-21 Thread Brian Duffy
hat exactly are you speaking into the microphone? > Saying "null" or "hmm" may lead to segfauls ;) > > > Am Mittwoch, den 21.03.2012, 14:38 -0400 schrieb Brian Duffy: > > Sorry, forgot to mention that the segfault happens when I speak into the > > microphone; so

[Vala] Fwd: Porting "Using PocketSphinx with GStreamer and python" to Vala

2012-03-21 Thread Brian Duffy
Sorry, forgot to mention that the segfault happens when I speak into the microphone; so my pipeline and asr are working well enough to pick up utterances from my microphone. -- Forwarded message -- From: Brian Duffy Date: Wed, Mar 21, 2012 at 2:30 PM Subject: Porting "

[Vala] Porting "Using PocketSphinx with GStreamer and python" to Vala

2012-03-21 Thread Brian Duffy
Hello all, I am trying to port thisexample "Using PocketSphinx with GStreamer and Python" to Vala. I have an example compiling but I am getting some warnings that I don't understand and a segmentation fault when running. Also, I am not sure what data

Re: [Vala] Access Clutter Script Actor in Event handler

2012-01-27 Thread Brian Duffy
n_press_event.connect (() => {button_press (stage, ui); > return true;}); > stage.key_press_event.connect (key_pressed); > stage.show_all(); > Clutter.main(); > return 0; > } > > > and the json-file (slightly simpler) like this: > > [ > { >"id" : &qu

Re: [Vala] Access Clutter Script Actor in Event handler

2012-01-26 Thread Brian Duffy
: [ >{ "name" : "hide", "handler" : "clutter_main_quit" } > ], >"children" : [ > { >"id" : "rectangle", >"type" : "ClutterRectangle", >

[Vala] Access Clutter Script Actor in Event handler

2012-01-25 Thread Brian Duffy
Hi again, I'm trying to get clutter script working with vala. I can't figure out how to access my rectangle in its button-press-event handler. how can I define the params of the handler to get access to the ui object? ... thnx using Clutter; using GLib; bool button_press (ButtonEvent event, Sc

Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Brian Duffy
e Bassi wrote: > > On 2012-01-13 at 09:32, Brian Duffy wrote: > > > Maybe I'm wrong but I was going on the assumption that the vapi > authors are > > > not basing their version numbers on "minor" releases such as > clutter-1.8 or > > > clutter-gst-1.4

Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Brian Duffy
r and clutter-gst, are having their vapi files updated to something *atleast* relatively recent. On Fri, Jan 13, 2012 at 9:46 AM, Andrea Del Signore wrote: > On Fri, 2012-01-13 at 09:32 -0500, Brian Duffy wrote: > > > I would be interested if anyone can clarify what the deal is here. I

Re: [Vala] Binding problem or ClutterGst problem or my problem?

2012-01-13 Thread Brian Duffy
se. thnx Brian On Fri, Jan 13, 2012 at 5:25 AM, Andrea Del Signore wrote: > Hi, > > On Fri, 2012-01-06 at 10:02 -0500, Brian Duffy wrote: > > I'm getting the error "set_seek_flags" does not > > exist in the context of ClutterGst.VideoTexture. I

[Vala] Binding problem or ClutterGst problem or my problem?

2012-01-06 Thread Brian Duffy
Hello, Having trouble figuring out why I can't use set_seek_flags(...) on a ClutterGst VideoTexture. I'm getting the error "set_seek_flags" does not exist in the context of ClutterGst.VideoTexture. I have confirmed I'm using Clutter-Gst 1.4.4 with ClutterGst.Version.check(1,4,4). Also, I am using

[Vala] VideoTexture.set_seek_flags

2012-01-05 Thread Brian Duffy
Hello again, I can't seem to call set_seek_flags on my ClutterGst VideoTexture. I get the error that set_seek_flags does not exist in the context of ClutterGst.VideoTexture. I am using Vala 0.14 and Clutter-Gst 1.4.4. I would like my set_progress to do an accurate seek rather than fast. Here it is

[Vala] Clutter actor signal connect

2012-01-05 Thread Brian Duffy
Hello again, Can anyone show me how to handle a mouse click event on my VideoTexture? I'm just getting started and I have a movie playing on a VideoTexture that I would like to start and stop by clicking on the movie. No master plan here yet, I am just trying to learn how to hookup actor events to

Re: [Vala] OFF - choose a database.

2011-12-27 Thread Brian Duffy
Does it require much concurrent db access while accessing over the network? I like sqlite for local db storage. It could be a good choice on the server as well if you are not planning on servicing multiple concurrent connections. Probably, I would use sqlite locally and mysql or postgresql on the s

Re: [Vala] Debugging

2011-12-18 Thread Brian Duffy
Dratz! I already applied the previous patch you linked to. Are you expecting me to apply this to the current stable release (7.3.1) or to git master? thanks Brian On Sun, Dec 18, 2011 at 12:26 PM, Abderrahim Kitouni wrote: > في ح، 18-12-2011 عند 09:33 -0500 ، كتب Brian Duffy: >

Re: [Vala] Debugging

2011-12-18 Thread Brian Duffy
dth(r) Internal error: `self' is not an aggregate (gdb) quit How can I test if your patches are doing what they are designed to do so far? Thanks Brian On Sun, Dec 18, 2011 at 6:54 AM, Abderrahim Kitouni wrote: > Hello, > > في س، 17-12-

Re: [Vala] Debugging

2011-12-18 Thread Brian Duffy
o the latest version of gdb and I'll let you know what I come up with. thnx Brian On Sun, Dec 18, 2011 at 6:54 AM, Abderrahim Kitouni wrote: > Hello, > > في س، 17-12-2011 عند 11:41 -0500 ، كتب Brian Duffy: > > Okay, that was enlightening. I certainly am gla

Re: [Vala] Vala on Windows/Mac OS

2011-12-17 Thread Brian Duffy
Good new Jim, Let me know if there is any way I can help you with that. b On Sat, Dec 17, 2011 at 1:02 PM, Jim Peters wrote: > Brian Duffy wrote: > > If you really want to know if Vala can work effectively on Windows > > then you better try installing Vala (and Gtk) on wind

Re: [Vala] Debugging

2011-12-17 Thread Brian Duffy
11:18 AM, Andrea Bolognani wrote: > On Sat, Dec 17, 2011 at 10:42:00AM -0500, Brian Duffy wrote: > > > My compiler arguments have always been -g --pkg clutter-1.0 --save-temps > ... > > > > Actually, I just set a break point in my code and tried to inspect the > &

Re: [Vala] Vala on Windows/Mac OS

2011-12-17 Thread Brian Duffy
I'm still trying to evaluate Vala on linux so I can't be of help there but I would love to read your article when you are done. Piece of advice. These lists can be really helpful to get you a piece of information but often all you get is a piece that helps you to figure out a little more on your ow

Re: [Vala] Debugging

2011-12-17 Thread Brian Duffy
My compiler arguments have always been -g --pkg clutter-1.0 --save-temps ... Actually, I just set a break point in my code and tried to inspect the property value of a clutter object that had been instantiated. It seems that gdb can't read the value of this property at the vala code page level. It

[Vala] Wrong List?

2011-12-14 Thread Brian Duffy
Is there another Vala list I should be subscribing to as an application developer (not hacking on Vala itself)? I notice that only Vala hackers seem to be having any meaningful conversation here. thnx Brian -- Duff ___ vala-list mailing list vala-lis

[Vala] Debugging

2011-12-13 Thread Brian Duffy
Is anyone working on improving the debugging experience with vala? thnx Brian -- Duff ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] debug info

2011-12-11 Thread Brian Duffy
Hi, I'm new to vala development and trying to setup Nemiver to debug my vala programs. I'm using monodevelop to edit and build the clutter-demo example from the vala web page. I am passing the compiler the --pkg clutter-1.0 -g --save-temps options. I have the clutter-debuginfo package installed (I