[Gambas-user] Gabmas web. How works with component?

2012-05-24 Thread Алексей Беспалов
How works with component? for example Dim Con As New Connection *% Dim Quere, sChet As String Dim Row, Col, i As Integer Dim $Result As Result Dim Con As New Connection % * -- Alex. -- Live Security Virtual

Re: [Gambas-user] Is there anywhere hosting for gambas web?

2012-05-24 Thread Caveat
If you need to install a Gambas runtime (I'm guessing yes?), then you'll need a hosting service that lets you do that. Most hosting services that give you a complete (virtual) machine with root access should be fine. You'll need to make sure they don't give you a Windoze host of course LOL

Re: [Gambas-user] Data Structures like C++

2012-05-24 Thread Bruce
On Wed, 2012-05-23 at 17:19 +0200, tobi wrote: On Thu, 24 May 2012, Bruce wrote: On Mon, 2012-05-21 at 22:25 +0200, Benoît Minisini wrote: * Tree * Graph Native implementation of that would be interesting. Any volunteer? :-) I think trees are easily implemented

Re: [Gambas-user] Data Structures like C++

2012-05-24 Thread tobi
On Thu, 24 May 2012, Bruce wrote: On Wed, 2012-05-23 at 17:19 +0200, tobi wrote: On Thu, 24 May 2012, Bruce wrote: On Mon, 2012-05-21 at 22:25 +0200, Benoît Minisini wrote: * Tree * Graph Native implementation of that would be interesting. Any volunteer? :-)

Re: [Gambas-user] Data Structures like C++

2012-05-24 Thread Bruce
On Thu, 2012-05-24 at 11:07 +0200, tobi wrote: (Completely giving up anything I knew about binary trees now, because it wasn't much and it wasn't even from a book): You said that you can traverse from any node in the tree. No, any node can be considered as a root for a subtree.

Re: [Gambas-user] Data Structures like C++

2012-05-24 Thread tobi
On Thu, 24 May 2012, Bruce wrote: On Thu, 2012-05-24 at 11:07 +0200, tobi wrote: (Completely giving up anything I knew about binary trees now, because it wasn't much and it wasn't even from a book): You said that you can traverse from any node in the tree. No, any node can be

[Gambas-user] Issue 252 in gambas: Enumerating Param for constant strings memory leak.

2012-05-24 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 252 by emil.len...@gmail.com: Enumerating Param for constant strings memory leak. http://code.google.com/p/gambas/issues/detail?id=252 1) Describe the problem. This code

Re: [Gambas-user] New JIT Compiler

2012-05-24 Thread Jussi Lahtinen
Great work guys! Documentation still contains following sentence: Gambas http://gambasdoc.org/help/def/gambas is an interpreted language, with no just-in-time or other compilation to native code at all. http://gambasdoc.org/help/doc/benchmark Jussi On 24 May 2012 01:39, Benoît Minisini

Re: [Gambas-user] New JIT Compiler

2012-05-24 Thread Benoît Minisini
Le 24/05/2012 19:49, Jussi Lahtinen a écrit : Great work guys! Documentation still contains following sentence: Gambashttp://gambasdoc.org/help/def/gambas is an interpreted language, with no just-in-time or other compilation to native code at all. http://gambasdoc.org/help/doc/benchmark

Re: [Gambas-user] New feature in Gambas 3

2012-05-24 Thread Jussi Lahtinen
Unfortunately I still got the signal 6 with rev 4772. Xubuntu 12.04 64bit. *** buffer overflow detected ***: ProfilerBug terminated === Backtrace: = /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f4d30bcc007] /lib/x86_64-linux-gnu/libc.so.6(+0x107f00)[0x7f4d30bcaf00]

[Gambas-user] Bug with rev 4772

2012-05-24 Thread Jussi Lahtinen
Hi! I tried to start one of my project with new revision, but nothing showed up (there should be window which tells about initialization progress). So, I tried to run it with gdb to see what is going on. Interpreter is in loop and so I cannot get anything from it, so I killed it. Unfortunately I

[Gambas-user] JIT on archlinux fails to build

2012-05-24 Thread Sebastian Kulesz
Hi, I tried building the JIT component under archlinux. I had to slightly patch the configure.ac file to pass the configure tests. Currently, as a rolling release distribution, it uses llvm 3.1. With the attached patch applied, it configures and builds properly. Thanks a lot for all your work,

Re: [Gambas-user] JIT on archlinux fails to build

2012-05-24 Thread Emil Lenngren
Hi Does someone here know a good way in automake scripts to make the llvm linking work in all distributions? I can't manage to get llvm-config to print out the correct .so file. /Emil 2012/5/25 Sebastian Kulesz sebi...@gmail.com Hi, I tried building the JIT component under archlinux. I had to

Re: [Gambas-user] JIT on archlinux fails to build

2012-05-24 Thread Sebastian Kulesz
Maybe the best thing to do is ask on the llvm mailing list. There must be a way. Talking about the component. I tested it on several classes in a project. The performance gain is clearly noted, but i'm having a lot of crashes and error messages. I would like to know how can I upload the output,

Re: [Gambas-user] JIT on archlinux fails to build

2012-05-24 Thread Benoît Minisini
Le 25/05/2012 00:26, Emil Lenngren a écrit : Hi Does someone here know a good way in automake scripts to make the llvm linking work in all distributions? I can't manage to get llvm-config to print out the correct .so file. /Emil A few points: 1) You must assume that llvm-config is in

Re: [Gambas-user] JIT on archlinux fails to build

2012-05-24 Thread Emil Lenngren
Try revision 4774, it should solve that bug. You can use the environmental variable GB_JIT=info to make LLVM dump out the optimized code. To debug how the code looks like before optimization passes, you have to uncomment a line //M-dump() in gb.jit/src/jit_codegen.cpp. Enumerating classes is

Re: [Gambas-user] JIT on archlinux fails to build

2012-05-24 Thread Emil Lenngren
No, try revision 4775 ;) 2012/5/25 Emil Lenngren emil.lenng...@gmail.com Try revision 4774, it should solve that bug. You can use the environmental variable GB_JIT=info to make LLVM dump out the optimized code. To debug how the code looks like before optimization passes, you have to

Re: [Gambas-user] gb3: OpenGL Rotate and Translate logic

2012-05-24 Thread Kevin Fishburne
On 05/24/2012 05:00 AM, tommyl...@eircom.net wrote: Hi Kevin. I think you should concider using Glu.LookAt function, which should solve all your problems. I used it in collision project (attached) to follow the ball. You just set the camera with few parameters, and that's it! Please check