Re: [Gambas-user] Toggle Button with big letter - underlined

2012-05-21 Thread Rolf-Werner Eilert
Am 19.05.2012 14:01, schrieb Benoît Minisini: Le 18/05/2012 14:19, Rolf-Werner Eilert a écrit : Hi, a recent case brought this back to me, this happens at least under Gambas2 and under any older and newer kde and gtk. When I have ToggleButtons (I don't know if it happens with ordinary

[Gambas-user] Gambas2 prog Circular Reference

2012-05-21 Thread Rolf-Werner Eilert
This weekend I came about this one: On my new server (Suse 12.1 64 bit), all Gambas2 programs we are using here are running flawlessly, only one of them gives a Circular Reference message and stops. It even seems not to start at all, but I guess it does start and is shot dead before any window

[Gambas-user] DrawingArea not drawn under qt4

2012-05-21 Thread Rolf-Werner Eilert
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 ask everyone again: Does anyone here have any problems with

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 Provoost

Re: [Gambas-user] Small printing question

2012-05-21 Thread Fabien Bodard
2012/5/21 Johny Provoost johny.provo...@skynet.be 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

[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

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 ask

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 work

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

2012-05-21 Thread Fabien Bodard
2012/5/21 Benoît Minisini gam...@users.sourceforge.net 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

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

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 jussi.lahti...@gmail.comwrote: 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

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 have just

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 attachement. I

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 Johansson a

[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 .nbsp; Once copying is complete then TextLable will indicate something else.

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 .nbsp; Once copying is complete

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:

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 certain

[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 lt;srcgt; lt;dstgt; 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.

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 lt;srcgt; lt;dstgt; 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

[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

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

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 it goes

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::setGB_VARIANT_VALUE internally. Implementing them in

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 here

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

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 structures

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 gambas

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

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... see a full

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.

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