Re: [Gambas-user] Small printing question

2012-05-21 Thread Johny Provoost
Op 20-05-12 23:26, Fabien Bodard schreef: > A simple gb.report example > > > Thanks Fabien, I was looking for something like that with some colons and had not figured it out yet (not constant busy with it). It save me some research. No we can go on (that was the last 5% :>)) Johny Provo

Re: [Gambas-user] Small printing question

2012-05-21 Thread Fabien Bodard
2012/5/21 Johny Provoost > > > Op 20-05-12 23:26, Fabien Bodard schreef: > > A simple gb.report example > > > > > > > > Thanks Fabien, > I was looking for something like that with some colons and had not > figured it out yet (not constant busy with it). It save me some research. > No we can go o

[Gambas-user] How to run a webpage?

2012-05-21 Thread Алексей Беспалов
Hi! I'm trying to study the work of Gambas weppage (ASP like syntax). I run a test page and get a working html file. $ Webpage1.webpage > Webpage1.html Webpage1.html opens in browser successfully. How should I configure Apache to work Webpage1.webpage? May you have ready conf files or instructi

Re: [Gambas-user] DrawingArea not drawn under qt4

2012-05-21 Thread Benoît Minisini
Le 21/05/2012 08:39, Rolf-Werner Eilert a écrit : > Last afternoon I downloaded and installed the latest trunk version of > Gambas3 to see if my qt4 DrawingArea problem has been solved. > > It has not :-( I still don't see anything drawn on the DrawingArea when > under KDE4. > > So, this is why I a

Re: [Gambas-user] How to run a webpage?

2012-05-21 Thread Benoît Minisini
Le 21/05/2012 13:21, Алексей Беспалов a écrit : > Hi! > I'm trying to study the work of Gambas weppage (ASP like syntax). > > I run a test page and get a working html file. > > $ Webpage1.webpage> Webpage1.html > > Webpage1.html opens in browser successfully. > > How should I configure Apache to w

Re: [Gambas-user] How to run a webpage?

2012-05-21 Thread Fabien Bodard
2012/5/21 Benoît Minisini > Le 21/05/2012 13:21, Алексей Беспалов a écrit : > > Hi! > > I'm trying to study the work of Gambas weppage (ASP like syntax). > > > > I run a test page and get a working html file. > > > > $ Webpage1.webpage> Webpage1.html > > > > Webpage1.html opens in browser succes

Re: [Gambas-user] Gambas2 prog Circular Reference

2012-05-21 Thread Jussi Lahtinen
Without source code, it's pretty much impossible to say. That error message should specify the object involved..? Benoit, I'm not sure this is related, but at least there is bug how to handle circular references. See attached project. Jussi On Mon, May 21, 2012 at 9:32 AM, Rolf-Werner Eiler

Re: [Gambas-user] Gambas2 prog Circular Reference

2012-05-21 Thread Jussi Lahtinen
Sorry, this was on Gambas 3 rev 4745 @ Xubuntu 12.04 64bit. Jussi On Mon, May 21, 2012 at 5:45 PM, Jussi Lahtinen wrote: > Without source code, it's pretty much impossible to say. > That error message should specify the object involved..? > > Benoit, > I'm not sure this is related, but at leas

Re: [Gambas-user] Gambas2 prog Circular Reference

2012-05-21 Thread Rolf-Werner Eilert
Hi Jussi, just being alone in the office, I shut down the server, replugged the HD and started the new one to try it and tell you what it was. You guess what? Everything ran as expected, no circular reference anymore... No idea what had caused this... Sorry for the noise. Rolf Am 21.05.2012

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

2012-05-21 Thread Christer Johansson
Sounds like a great addition, looking forward to test it! /CJ > -Original Message- > From: Benoît Minisini [mailto:gam...@users.sourceforge.net] > Sent: Saturday, May 19, 2012 1:58 PM > To: mailing list for gambas users > Subject: [Gambas-user] New feature in Gambas 3 > > > Hi, > > I hav

Re: [Gambas-user] Two bugs/issues noted

2012-05-21 Thread Christer Johansson
Thanks for clarifying... Was you or toni able to reproduce the wierd issue with Shell "clear" Wait on your end? /CJ > -Original Message- > From: Benoît Minisini [mailto:gam...@users.sourceforge.net] > Sent: Saturday, May 19, 2012 2:03 PM > To: mailing list for gambas users > Subject: Re:

Re: [Gambas-user] Rev 4751 doesn't compile

2012-05-21 Thread Benoît Minisini
Le 21/05/2012 18:49, Jussi Lahtinen a écrit : > /usr/local/bin/gbi3: symbol lookup error: /usr/local/lib/gambas3/gb.gtk.so: > undefined symbol: _ZN12gApplication16onLeaveEventLoopE > > Logs attached. > > > Jussi > Oops, fixed in revision #4752. -- Benoît Minisini ---

Re: [Gambas-user] Two bugs/issues noted

2012-05-21 Thread Benoît Minisini
Le 14/05/2012 12:00, Christer Johansson a écrit : > > > Second is regarding the Shell command. If I execute the following > code on my NAS nothing happens, same code works OK in Xubuntu running > on x86... > >... >Shell "clear" Wait >... > > Simple repro code for both issues in attachem

Re: [Gambas-user] Two bugs/issues noted

2012-05-21 Thread Christer Johansson
NAS is running Debian Lenny @ ARM. /CJ > -Original Message- > From: Benoît Minisini [mailto:gam...@users.sourceforge.net] > Sent: Monday, May 21, 2012 7:05 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Two bugs/issues noted > > > Le 14/05/2012 12:00, Christer Johans

[Gambas-user] Shell with wait does not wait till work complettion

2012-05-21 Thread sundar j
In my application I need to copy folder content to other folder using shell cp command (since gambas does not support COPY recurse) with wait option. When copying is in progress TextLabel will indicate "Copy in Progress" .  Once copying is complete then TextLable will indicate something else. Fo

Re: [Gambas-user] Shell with wait does not wait till work complettion

2012-05-21 Thread tobi
On Mon, 21 May 2012, sundar j wrote: > In my application I need to copy folder content to other folder using shell > cp command (since gambas does not support COPY recurse) with wait option. > When copying is in progress TextLabel will indicate "Copy in Progress" > .  Once copying is complete th

Re: [Gambas-user] Rev 4751 doesn't compile

2012-05-21 Thread Jussi Lahtinen
Works now, thanks! Jussi On Mon, May 21, 2012 at 8:01 PM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 21/05/2012 18:49, Jussi Lahtinen a écrit : > > /usr/local/bin/gbi3: symbol lookup error: /usr/local/lib/gambas3/ > gb.gtk.so: > > undefined symbol: _ZN12gApplication16onLeaveEv

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

2012-05-21 Thread Jussi Lahtinen
Is it possible to have separated start and stop buttons for the profiler? I have huge project and when it starts it goes through pretty long initialization (wait loops, pre-computed values, etc), and I'm really only interested to optimize certain parts of the run. Right now the interesting part i

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

2012-05-21 Thread Benoît Minisini
Le 21/05/2012 20:39, Jussi Lahtinen a écrit : > Is it possible to have separated start and stop buttons for the profiler? > > I have huge project and when it starts it goes through pretty long > initialization (wait loops, pre-computed values, etc), > and I'm really only interested to optimize cert

[Gambas-user] Fw: Shell with wait does not wait till work complettion

2012-05-21 Thread sundar j
TextLabel.Text = "Copy in progress" Shell "cp -r " Wait TextLabel.Text = "Completed." I used above code in my application. Shell indicated that all files are being copied one-by-one. But TextLable did not display Copy in progress. I did lot of experiment with the above code. Finaly

Re: [Gambas-user] Fw: Shell with wait does not wait till work complettion

2012-05-21 Thread tobi
On Mon, 21 May 2012, sundar j wrote: > > TextLabel.Text = "Copy in progress" > > Shell "cp -r " Wait > TextLabel.Text = "Completed." > > I used above code in my application. Shell indicated that all files are being > copied one-by-one. But TextLable did not display Copy in progress.

[Gambas-user] Data Structures like C++

2012-05-21 Thread Demosthenes Koptsis
Basic languages have simple data structures like vars and arrays but other languages like c++ with the help of pointers can have advanced data structures like containers etc... see a full list here http://en.wikipedia.org/wiki/List_of_data_structures i wonder if such data structures can be impl

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

2012-05-21 Thread tobi
On Mon, 21 May 2012, Demosthenes Koptsis wrote: > Basic languages have simple data structures like vars and arrays but > other languages > like c++ with the help of pointers can have advanced data structures > like containers etc... > > see a full list here > http://en.wikipedia.org/wiki/List_of

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

2012-05-21 Thread Jussi Lahtinen
Yes, that would be great! Jussi On Mon, May 21, 2012 at 10:29 PM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 21/05/2012 20:39, Jussi Lahtinen a écrit : > > Is it possible to have separated start and stop buttons for the profiler? > > > > I have huge project and when it starts

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

2012-05-21 Thread Emil Lenngren
Hash tables and arrays are already implemented. The most important missing ones are Multimaps, Sets, Multisets, Linked lists, Deques. It should be quite easy to write c++ wrappers and put them in a component. For example, a Set can use a std::set internally. Implementing them in Gambas should wor

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

2012-05-21 Thread Demosthenes Koptsis
Στις 21/5/2012 22:56, ο/η tobi έγραψε: > On Mon, 21 May 2012, Demosthenes Koptsis wrote: >> Basic languages have simple data structures like vars and arrays but >> other languages >> like c++ with the help of pointers can have advanced data structures >> like containers etc... >> >> see a full list

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

2012-05-21 Thread Demosthenes Koptsis
Στις 21/5/2012 22:59, ο/η Emil Lenngren έγραψε: > Hash tables and arrays are already implemented. > > The most important missing ones are Multimaps, Sets, Multisets, Linked > lists, Deques. > It should be quite easy to write c++ wrappers and put them in a component. > For example, a Set can use a s

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

2012-05-21 Thread tobi
On Mon, 21 May 2012, Demosthenes Koptsis wrote: > Στις 21/5/2012 22:56, ο/η tobi έγραψε: > > On Mon, 21 May 2012, Demosthenes Koptsis wrote: > >> Basic languages have simple data structures like vars and arrays but > >> other languages > >> like c++ with the help of pointers can have advanced data

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

2012-05-21 Thread Demosthenes Koptsis
Στις 21/5/2012 22:59, ο/η Emil Lenngren έγραψε: > Hash tables and arrays are already implemented. > > The most important missing ones are Multimaps, Sets, Multisets, Linked > lists, Deques. > It should be quite easy to write c++ wrappers and put them in a component. Can they be implemented as gamb

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

2012-05-21 Thread Demosthenes Koptsis
Στις 21/5/2012 23:05, ο/η tobi έγραψε: > On Mon, 21 May 2012, Demosthenes Koptsis wrote: >> Στις 21/5/2012 22:56, ο/η tobi έγραψε: >>> On Mon, 21 May 2012, Demosthenes Koptsis wrote: Basic languages have simple data structures like vars and arrays but other languages like c++ with th

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

2012-05-21 Thread Benoît Minisini
Le 21/05/2012 21:51, Demosthenes Koptsis a écrit : > Basic languages have simple data structures like vars and arrays but > other languages > like c++ with the help of pointers can have advanced data structures > like containers etc... > > see a full list here > http://en.wikipedia.org/wiki/List_of

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

2012-05-21 Thread Demosthenes Koptsis
Στις 21/5/2012 23:25, ο/η Benoît Minisini έγραψε: > Le 21/05/2012 21:51, Demosthenes Koptsis a écrit : >> Basic languages have simple data structures like vars and arrays but >> other languages >> like c++ with the help of pointers can have advanced data structures >> like containers etc... >> >> s

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

2012-05-21 Thread tobi
On Mon, 21 May 2012, Benoît Minisini wrote: > Le 21/05/2012 21:51, Demosthenes Koptsis a écrit : > > Basic languages have simple data structures like vars and arrays but > > other languages > > like c++ with the help of pointers can have advanced data structures > > like containers etc... > > > > s

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

2012-05-21 Thread Emil Lenngren
Sometimes linked list are used to manipulate data in the middle of the list (insertions, removals), then arrays are too slow. O(1) vs O(n). However, a linked list is very easy to implement in Gambas, using object references. Sometimes (ordered) sets are used by the fact that they are ordered. Then

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

2012-05-21 Thread Emil Lenngren
Usual implementations of trees does not have restrictions on number of children. Each node are allocated separately. They use to contain pointers to the left and right children, and maybe to the parent as well. I don't see any reason why Graphs should be implemented as a special Collection. There

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

2012-05-21 Thread Kevin Fishburne
Disclaimer: I've been working on this for days and neither Google nor trial and error is adequate, apparently. I'm trying to render an overhead, 2D scene with the "camera" at the center of the screen and the world objects rotated around it. Here are my variables: Camera.WorldX As Single '