Re: [Gambas-user] Error with XmlWriter tag in gb.xml

2012-06-16 Thread Adrien Prokopowicz
Le vendredi 15 juin 2012 00:44:03 Ru Vuott a écrit : This should be solved in the revision #4826. Oh, Adrien, thanks, I'll communicate it to that italian Gambas-forum user. -- Live Security Virtual Conference

Re: [Gambas-user] Error with XmlWriter tag in gb.xml

2012-06-16 Thread Adrien Prokopowicz
Le mercredi 13 juin 2012 23:53:02 Ru Vuott a écrit : Hello Benoit, an user of Gambas-it.org Community ask me to write to you about a possible error with XmlWriter tag in gb.xml. He says that he found a problem, linked to the library gb.xml, especially with XMLWriter (but there is probably

[Gambas-user] [gb.eval.highlight] Spaces and syntax highlighting

2012-06-16 Thread Adrien Prokopowicz
Hi, I noticed that the Higlight.Analyze() method doesn't like when the Gambas code hasn't spaces between operators, commas and a few other ones. There is a good example of that problem here : http://www.gambasforge.org/wiki/testHighlight Maybe this behaviour is intended, in order to keep

Re: [Gambas-user] Access global variable from other .class

2012-06-16 Thread Jussi Lahtinen
No, xdg-su is no longer part of xdg-utils. Do you know reason for this? I have not used the xdg-su script for privilege escalation, but a quick (and I mean quick!) look through it at it stands is not going to be a great success. Privilege escalation means exploitation, not use of

[Gambas-user] Bug with JIT and external functions

2012-06-16 Thread Jussi Lahtinen
See attachment. If you comment out Fast from mTest, all works perfectly. Gambas 3 rev 4837 @ Xubuntu 12.04 64bit Jussi GambasTester-0.9.28.tar.gz Description: GNU Zip compressed data -- Live Security Virtual Conference

Re: [Gambas-user] Bug with JIT and external functions

2012-06-16 Thread Emil Lenngren
Hi. What error do you get? The extern part seems to work fine for me... /Emil 2012/6/16 Jussi Lahtinen jussi.lahti...@gmail.com See attachment. If you comment out Fast from mTest, all works perfectly. Gambas 3 rev 4837 @ Xubuntu 12.04 64bit Jussi

Re: [Gambas-user] Bug with JIT and external functions

2012-06-16 Thread Jussi Lahtinen
From this (integer to integer): Dim iResult As Integer = mTest.DoTests() Type mismatch: wanted Standard type, got Class instead in FMain:9. Jussi On 17 June 2012 02:47, Emil Lenngren emil.lenng...@gmail.com wrote: Hi. What error do you get? The extern part seems to work fine for me...

Re: [Gambas-user] Bug with JIT and external functions

2012-06-16 Thread Emil Lenngren
That has nothing to do with extern ;) The code you are trying to execute is Try oo = [TestClass1]. As that code is always illegal, the jit throws an error directly at compile time, before running the code. That should help people debugging code because if there is an error in an uncommon code

Re: [Gambas-user] Bug with JIT and external functions

2012-06-16 Thread Jussi Lahtinen
Aaa... OK, sorry for the trouble. I assumed it is because of extern, because with my actual project I had similar error messages from modules where extern is used. Also the error message is pretty misleading as it points to the line I copypasted. I will investigate more... Jussi On 17 June

Re: [Gambas-user] Bug with JIT and external functions

2012-06-16 Thread Emil Lenngren
The IDE is strange... If I run gbx3 from the terminal, a correct stack backtrace is shown. The IDE seems to miss a stack frame. I don't know why... /Emil 2012/6/17 Jussi Lahtinen jussi.lahti...@gmail.com Aaa... OK, sorry for the trouble. I assumed it is because of extern, because with my

Re: [Gambas-user] Bug with JIT and external functions

2012-06-16 Thread Jussi Lahtinen
Yeah, terminal gives other position... With my actual project, I got error message; wanted string, got blaablaaClass instead. And that error message comes from function (from other module without Fast) which takes two objects are parameters. So either terminal isn't showing the real stack, or