Re: [Vala] Gee.Testcase

2012-07-26 Thread Joseph Montanez
54 AM, Simon Busch wrote: > Am 25.07.2012 22:07, schrieb Joseph Montanez: > >> So I ran across this blog: >> http://esite.ch/2012/06/26/writing-tests-for-vala/ >> >> I gave it a try and I can't seem to compile. I tried compiling the >> lastest libgee and cha

[Vala] Gee.Testcase

2012-07-25 Thread Joseph Montanez
.vala TestExample.vala:1.21-1.32: error: The type name `Gee.TestCase' could not be found class TestExample : Gee.TestCase { Am I missing something? -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list

Re: [Vala] undefined reference to 'SDL_Init' and/or 'WinMain@16' (under Windows)

2012-03-26 Thread Joseph Montanez
>>> Hello, >>>> >>>> 2012/3/20: >>>>> Perhaps a basic linkage error but I dont know how to correct :D >>>> You should be looking at the SDL FAQ for Windows: >>>> http://wiki.libsdl.org/moin.cgi/FAQWindows >>>> >>>> For example

Re: [Vala] libsoup serves only one request at a time

2012-03-17 Thread Joseph Montanez
___ > vala-list mailing list > vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo/vala-list > -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Purple.CoreUiOps

2012-02-20 Thread Joseph Montanez
That was it, thank you so much! On Monday, February 20, 2012, Luca Bruno wrote: > > > On Mon, Feb 20, 2012 at 7:14 PM, Joseph Montanez > 'jmonta...@gorilla3d.com');> > > wrote: > >> Here is the full error: >> app.vala:83.4-83.27: error: Inva

Re: [Vala] Purple.CoreUiOps

2012-02-20 Thread Joseph Montanez
urple vapi is available at: https://gist.github.com/1870407 On Monday, February 20, 2012, Luca Bruno wrote: > On Mon, Feb 20, 2012 at 7:47 AM, Joseph Montanez > 'jmonta...@gorilla3d.com');> > > wrote: > >> and changed it too: >>[CCode (chead

Re: [Vala] Purple.CoreUiOps

2012-02-19 Thread Joseph Montanez
let me add parameters to a callback? On Fri, Feb 17, 2012 at 9:08 AM, Joseph Montanez wrote: > I tried that one too: > >    Purple.CoreUiOps ui_ops = { >        null, null, null, null, null >    }; > > error: initializer list used for `Purple.CoreUiOps?', which is

Re: [Vala] Purple.CoreUiOps

2012-02-17 Thread Joseph Montanez
th vala is wrong? On Fri, Feb 17, 2012 at 7:16 AM, Luca Bruno wrote: > On Fri, Feb 17, 2012 at 3:38 PM, Joseph Montanez > wrote: >> >> My brain is melting trying to figure out how to get Purple.CoreUiOps >> to initialize. >> >> Here is the vapi:

[Vala] Purple.CoreUiOps

2012-02-17 Thread Joseph Montanez
NULL }; I just can't seem to get it to work in Vala. I am sure its something stupid on my end. I am using vala 0.15.1 -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Looking for an example on how to get the data from a web form (when using a Soup-based server)

2011-11-16 Thread Joseph Montanez
eturn 0; >>    52.  } >> >> >> *Alexandre Rosenfeld* >> >> On Sat, Nov 12, 2011 at 21:50, Serge Hulne wrote: >> >>> Hi, >>> >>> I am looking for a slightly more complete example than the one from the >>> Vala tutorial

Re: [Vala] The name `type' does not exist in the context of `Xml.XPath.Object*'

2011-08-19 Thread Joseph Montanez
ode.get_path()); } } On Fri, Aug 19, 2011 at 8:17 PM, Joseph Montanez wrote: > Is this a problem with the vapi? I tried removing the failing lines > and use the debugger with break points added to the c code. However > the xpath eval returns a variable

[Vala] The name `type' does not exist in the context of `Xml.XPath.Object*'

2011-08-19 Thread Joseph Montanez
blic double floatval; public string stringval; public void* user; public int index; public void* user2; public int index2; } -- Joseph Montanez Web Developer Gor

[Vala] How to unload, reload, or unregister a Module?

2011-08-18 Thread Joseph Montanez
I was looking at http://live.gnome.org/Vala/TypeModules and tried digging around Rygel but I couldn't find a way to reload a module. -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org

Re: [Vala] Simple Memory Management Issue

2011-08-18 Thread Joseph Montanez
ins[choice]).new_object (); plugin.run (items); } In result it creates a new object every time but at least it works :\. On Thu, Aug 18, 2011 at 5:21 AM, Luca Bruno wrote: > On Wed, Aug 17, 2011 at 07:48:36PM -0700, Joseph Montanez wrote: >> Luca, >> >> (gdb) bt &

Re: [Vala] Simple Memory Management Issue

2011-08-17 Thread Joseph Montanez
011 at 8:06 AM, Luca Bruno wrote: > On Tue, Aug 16, 2011 at 06:53:34AM -0700, Joseph Montanez wrote: >> I've been trying to get this to work but it keeps crashing :\. I don't >> think I understand the memory model here.. "PlugPlug* plugin" is >> suppose to

Re: [Vala] Vala logo proposals

2011-08-16 Thread Joseph Montanez
t; website<http://tobias.bluestain.net/>. > I'm using Inkscape/GIMP on Ubuntu 11.04. > > ___ > vala-list mailing list > vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo/vala-list > > -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___

[Vala] Simple Memory Management Issue

2011-08-16 Thread Joseph Montanez
plug_plug_run (plugin, items); } _g_object_unref0 (plugin); } -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala Logo Showcase

2011-07-29 Thread Joseph Montanez
prefer the big V with emerald color. > > -- > http://www.debian.org - The Universal Operating System > ___ > vala-list mailing list > vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo/vala-list > -- Joseph Mo

[Vala] Closure inside a closure and variable access

2011-06-07 Thread Joseph Montanez
flag I can use to catch this sort of issue? -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] OpenGL & SDL Windows

2011-06-04 Thread Joseph Montanez
a src/paddle.vala On Fri, Jun 3, 2011 at 10:22 AM, Joseph Montanez wrote: > Current Makefile https://gist.github.com/1005976 > > I know this is a bit out of the realm for Vala as its a GCC linking > issue, but I can't seem to get OpenGL working with SDL on windows. > Basically

[Vala] OpenGL & SDL Windows

2011-06-03 Thread Joseph Montanez
up. The entire source code I've been trying to compile is located at https://github.com/gorilla3d/Vala-Pong -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/m

Re: [Vala] Static local variable

2011-06-02 Thread Joseph Montanez
@gnome.org >>> http://mail.gnome.org/mailman/listinfo/vala-list >>> >> >> ___ >> vala-list mailing list >> vala-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/vala-list > > ___ > vala-list mailing list > vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo/vala-list > -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] VALA + mYSQL WINDOWS HELP

2011-06-02 Thread Joseph Montanez
_ > vala-list mailing list > vala-list@gnome.org > http://mail.gnome.org/mailman/listinfo/vala-list > > -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] An array of Delegations?

2011-06-02 Thread Joseph Montanez
Jim, That worked perfectly! On Wed, Jun 1, 2011 at 9:44 PM, Jim Nelson wrote: > That's just a missing access modifier.  Add "public" before the "delegate" > keyword on the first line and it should compile. > > -- Jim > > On Wed, Jun 1, 2011 at 9

Re: [Vala] An array of Delegations?

2011-06-01 Thread Joseph Montanez
cb) { >     DelegateWrapper wrapper = new DelegateWrapper(); >     wrapper.cb = cb; >     ar += wrapper; >   } > } > > (This is just off the top of my head, I didn't compile this to verify.) > > -- Jim > > On Wed, Jun 1, 2011 at 4:20 PM, Joseph Montanez >

[Vala] An array of Delegations?

2011-06-01 Thread Joseph Montanez
around is have a number of nullable single delegates in a class then keeping track of the last assigned index. -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailma

[Vala] Valadoc.org or Gnome's Vala/Documentation

2011-04-22 Thread Joseph Montanez
erences/mysql/0.11.5/Mysql.Database.real_escape_string.html -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Template languages?

2011-04-20 Thread Joseph Montanez
e: var bar = "hello world"; var foo = @""" $bar """; But that only results in a syntax error. -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Invalid assignment from owned expression to unowned variable

2011-04-15 Thread Joseph Montanez
up.Message msg2 = (owned) msg; ^^^ Compilation failed: 1 error(s), 0 warning(s) On Fri, Apr 15, 2011 at 12:18 PM, Joseph Montanez wrote: > Abderrahim, > > 1)  msg = (owned) msg; >    Results in "No reference to be transferred" > >  

Re: [Vala] Invalid assignment from owned expression to unowned variable

2011-04-15 Thread Joseph Montanez
string get_session_id (unowned Soup.Message msg) Results in "error: syntax error, `new' modifier not allowed on creation method" This tries to initialize the variable msg On Fri, Apr 15, 2011 at 10:36 AM, Abderrahim Kitouni wrote: > Hello, > > On Thu, Apr 14, 2011 a

Re: [Vala] Invalid assignment from owned expression to unowned variable

2011-04-15 Thread Joseph Montanez
Actually when I access anything from "msg", it just segment faults :( https://gist.github.com/922060 On Thu, Apr 14, 2011 at 6:45 PM, Joseph Montanez wrote: > I got it, I needed > > public void dostuff (out unowned Soup.Message msg) > > and then I could do: > dostu

Re: [Vala] Invalid assignment from owned expression to unowned variable

2011-04-14 Thread Joseph Montanez
I got it, I needed public void dostuff (out unowned Soup.Message msg) and then I could do: dostuff(out msg); On Thu, Apr 14, 2011 at 11:24 AM, Abderrahim Kitouni wrote: > Hello, > >                 في خ، 14-04-2011 عند 07:58 -0700 ، كتب Joseph Montanez: >> I am trying to pass S

[Vala] Invalid assignment from owned expression to unowned variable

2011-04-14 Thread Joseph Montanez
s well and still the same results. -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] LibSoup set_response with binary data?

2011-04-13 Thread Joseph Montanez
5AM -0700, Joseph Montanez wrote: >> var loaded = file.load_contents (null, out response_text, out length, out >> etag); > > Obviously the bindings for this method are broken. Feel free to report a > bug. > >> msgbody.append(Soup.MemoryUse.TEMPORARY, response_text.

[Vala] LibSoup set_response with binary data?

2011-04-13 Thread Joseph Montanez
_text.data); msg.response_body = msgbody; unowned Soup.MessageHeaders headers = msg.response_headers; headers.set_content_length (length); -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnom

[Vala] Fast compile times in vala using TCC instead of GCC?

2010-04-20 Thread Joseph Montanez
vala generates. While its great for testing but I wouldn't compile the final product with it. -- Joseph Montanez Web Developer Gorilla3D Design, Develop, Deploy ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala on CentOS?

2010-04-02 Thread Joseph Montanez
Compiles perfect and runs too! Thank you Jan, Jürg, and Abderrahim so much! On Fri, Apr 2, 2010 at 11:57 AM, Jan Hudec wrote: > On Fri, Apr 02, 2010 at 09:44:47 -0700, Joseph Montanez wrote: >> [...] >> ./main: symbol lookup error: ./main: undefined symbol: >> g_comput

Re: [Vala] Vala on CentOS?

2010-04-02 Thread Joseph Montanez
ion but I am at a loose at what to really do, any help would be appreciated. On Fri, Apr 2, 2010 at 12:22 AM, Jürg Billeter wrote: > On Thu, 2010-04-01 at 22:16 -0700, Joseph Montanez wrote: >> I am trying to deploy a vala application on a web server running >> CentOS 5. I've

[Vala] Vala on CentOS?

2010-04-01 Thread Joseph Montanez
That seems to compile, but when I run ./main I get a bunch of missing share libraries. I've tried to link them to /lib64 but because the CentOS is built on an older glib I get a bunch of undefined symbols. Anyone have any experience with this, maybe there a repo they use with a newer glib?

Re: [Vala] HashMap issues

2010-03-31 Thread Joseph Montanez
Frederik, That would make a lot of sense now, seeing every other email referring to gee ended up having an older version. I had 0.3.0 and upgraded to 0.5.0 which fixed everything! On Wed, Mar 31, 2010 at 4:13 PM, Frederik wrote: > Am 01.04.2010 00:38, Joseph Montanez wrote: >> main.va

[Vala] HashMap issues

2010-03-31 Thread Joseph Montanez
' does not exist in the context of `Gee.HashMap' None of these work url_list.has_key() url_list.keys url_list.values I have no way of iterating over them, so a bit frustrating. Do a have to build a template for them? Is there examples somewhere? -- Joseph Montanez Web Developer Goril

Re: [Vala] Threading, passing data around?

2009-11-12 Thread Joseph Montanez
Abderrahim & Frederik, Thanks! On Thu, Nov 12, 2009 at 1:53 AM, Frederik wrote: > Joseph Montanez wrote: >> I am looking at >> http://references.valadoc.org/glib-2.0/GLib.Thread.html without much >> luck on finding information on how to pass data to and from a thr

[Vala] Threading, passing data around?

2009-11-12 Thread Joseph Montanez
I am looking at http://references.valadoc.org/glib-2.0/GLib.Thread.html without much luck on finding information on how to pass data to and from a thread. The functions are static so I don't have much luck on trying to access any object properties. -- Joseph Montanez Web Developer Gori

Re: [Vala] Libxml2 being nicer?

2009-11-11 Thread Joseph Montanez
009 at 10:14 AM, Joseph Montanez > wrote: >> Hm.. I think that would work but I've been following >> http://references.valadoc.org/libxml-2.0.html So i guess the bindings >> for the html parse of libxml isn't there yet. I tried to follow >> http://live.gnome.org

Re: [Vala] Libxml2 being nicer?

2009-11-11 Thread Joseph Montanez
ere wasn't much luck running with the vala-gen-introspect. It just hangs doing nothing. On Wed, Nov 11, 2009 at 5:26 AM, Reid Thompson wrote: > On Tue, 2009-11-10 at 23:54 -0800, Joseph Montanez wrote: >> I am a php / c++ developer and trying my hand at vala. I am trying to >> get

[Vala] Libxml2 being nicer?

2009-11-10 Thread Joseph Montanez
I am a php / c++ developer and trying my hand at vala. I am trying to get html parsed but libxml is very strict on reading it and failing to initialize my document. Is there a way to have libxml let up on on the parsing errors and just take it as is? -- Joseph Montanez Web Developer Gorilla3D