Re: [Gambas-user] An arbitrary precision calculator class

2012-08-24 Thread Sebi
Great workaround!! I created a snippets page on the wiki some time ago, you will find a link on the main page. Feel free to add it there! -Original Message- From: Jussi Lahtinen Date: Sat, 25 Aug 2012 03:59:58 To: Gambas mailing list for users. Reply-To: mailing list for gambas users

[Gambas-user] An arbitrary precision calculator class

2012-08-24 Thread Jussi Lahtinen
Almost forgot... Some weeks(?) ago I noticed that people tend have problems with floating point precision (problem with all general purpose languages). So, I'll share my quick & dirty solution. Short but useful code if you need very precise numbers for math, but speed is not crucial. I personally

Re: [Gambas-user] Gambas is not multi-threaded, but...

2012-08-24 Thread Jussi Lahtinen
> Tasks are the same thing, but simpler to use that processes. > I will look into this later. > And this is *not* multi-threading, but multi-processing. > Oh yes, you are right. Jussi -- Live Security Virtual Confere

Re: [Gambas-user] Gambas is not multi-threaded, but...

2012-08-24 Thread Benoît Minisini
Le 25/08/2012 01:08, Jussi Lahtinen a écrit : > I think I don't have enough time right now to go deeply into this, but I > have already done multithreading with Gambas. > One of my project has interface class which uses exec command to launch > command line program made with Gambas. > > Argument fo

Re: [Gambas-user] Gambas is not multi-threaded, but... (fixed version)

2012-08-24 Thread Sebastian Kulesz
On Fri, Aug 24, 2012 at 7:50 PM, Benoît Minisini wrote: > Le 25/08/2012 00:47, Olivier Cruilles a écrit : >> Hi Benoit, >> >> Great news, i'll try it as soon because it's very interesting. Why did you >> implement that now, just to know ? >> >> Cordialement, >> >> Olivier Cruilles > > Just becaus

Re: [Gambas-user] Gambas is not multi-threaded, but...

2012-08-24 Thread Jussi Lahtinen
I think I don't have enough time right now to go deeply into this, but I have already done multithreading with Gambas. One of my project has interface class which uses exec command to launch command line program made with Gambas. Argument for the command line program describe what it should do. Li

Re: [Gambas-user] Gambas is not multi-threaded, but... (fixed version)

2012-08-24 Thread Benoît Minisini
Le 25/08/2012 00:47, Olivier Cruilles a écrit : > Hi Benoit, > > Great news, i'll try it as soon because it's very interesting. Why did you > implement that now, just to know ? > > Cordialement, > > Olivier Cruilles Just because I had the idea last night, and that the implementation was simple e

Re: [Gambas-user] Gambas is not multi-threaded, but... (fixed version)

2012-08-24 Thread Olivier Cruilles
Hi Benoit, Great news, i'll try it as soon because it's very interesting. Why did you implement that now, just to know ? Cordialement, Olivier Cruilles Mail: linu...@club-internet.fr Le 25 août 2012 à 00:41, Benoît Minisini a écrit : > Hi, > > In revision #5076, I added a new gb.task compo

[Gambas-user] Gambas is not multi-threaded, but... (fixed version)

2012-08-24 Thread Benoît Minisini
Hi, In revision #5076, I added a new gb.task component that allows you to run a class in the background. Internally, the interpreter is "simply" forked. But it's not that simple. :-) How does it work? Once gb.task is checked in the IDE, you get a new class named "Task". To run a class in the

[Gambas-user] Gambas is not multi-threaded, but...

2012-08-24 Thread Benoît Minisini
Hi, In revision #5076, I added a new gb.task component that allows you to run a class in the background. Internally, the interpreter is "simply" forked. But it's not that simple. :-) How does it work? Once gb.task is checked in the IDE, you get a new class named "Task". To run a class in the

Re: [Gambas-user] The program has returned the value: 127

2012-08-24 Thread Charlie Reinl
Am Freitag, den 24.08.2012, 18:44 +0200 schrieb Benoît Minisini: > Le 24/08/2012 18:21, Charlie Reinl a écrit : > > Am Freitag, den 24.08.2012, 13:29 +0200 schrieb Benoît Minisini: > >> Le 24/08/2012 10:43, Charlie Reinl a écrit : > >>> > >>> Salut, > >>> > >>> found that output in the IDE-Consol,

Re: [Gambas-user] The program has returned the value: 127

2012-08-24 Thread Benoît Minisini
Le 24/08/2012 18:21, Charlie Reinl a écrit : > Am Freitag, den 24.08.2012, 13:29 +0200 schrieb Benoît Minisini: >> Le 24/08/2012 10:43, Charlie Reinl a écrit : >>> >>> Salut, >>> >>> found that output in the IDE-Consol, may be important : >>> >>> signal127: symbol lookup error: /usr/local/lib/gamba

Re: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal

2012-08-24 Thread Ru Vuott
> > > It's very easy to compile gambas3 on quantal : > sudo apt-get add-repository ppa:sebikul/gambas-daily > sudo apt-get update > sudo apt-get build-dep gambas3 > you get the svn on gambas.sourceforge.net > (maybe you will have to install subversion before : sudo > apt-get install > subversion)

Re: [Gambas-user] The program has returned the value: 127

2012-08-24 Thread Charlie Reinl
Am Freitag, den 24.08.2012, 13:29 +0200 schrieb Benoît Minisini: > Le 24/08/2012 10:43, Charlie Reinl a écrit : > > > > Salut, > > > > found that output in the IDE-Consol, may be important : > > > > signal127: symbol lookup error: /usr/local/lib/gambas3/gb.gtk.so: > > undefined symbol: _gtk_window_

Re: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal

2012-08-24 Thread Sebi
The svn revision used to build the package can be calculated using the revno on its name +1105 (Due to a bug on how source packages are built, i can't yet use the real revision). The version 3.2.90 corresponds to the 3.3 release, which has not been made. -Original Message- From: John Ros

Re: [Gambas-user] Shadow effects... please tell if you like it...

2012-08-24 Thread Bruce
On Fri, 2012-08-24 at 15:02 +0200, Benoît Minisini wrote: > Le 24/08/2012 14:56, Bruce a écrit : > > On Fri, 2012-08-24 at 21:48 +0930, Bruce wrote: > >>> The shadow means that the GridView inner pass "under" the headers. > >>> Something like that: > >>> > >>> > >>> > >>>(1)

Re: [Gambas-user] Shadow effects... please tell if you like it...

2012-08-24 Thread Benoît Minisini
Le 24/08/2012 14:56, Bruce a écrit : > On Fri, 2012-08-24 at 21:48 +0930, Bruce wrote: >>> The shadow means that the GridView inner pass "under" the headers. >>> Something like that: >>> >>> >>> >>>(1) (2) >>>-- (3) -- >>>

Re: [Gambas-user] gb.ncurses project ?

2012-08-24 Thread Tobias Boege
On Thu, 23 Aug 2012, wally wrote: > Does anyone have a gb.ncurses project, just to learn elementary usage ? > > thx wally > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's s

Re: [Gambas-user] Shadow effects... please tell if you like it...

2012-08-24 Thread Bruce
On Fri, 2012-08-24 at 21:48 +0930, Bruce wrote: > > The shadow means that the GridView inner pass "under" the headers. > > Something like that: > > > > > > > > (1) (2) > > -- (3) -- > >.=--=. > >

Re: [Gambas-user] Shadow effects... please tell if you like it...

2012-08-24 Thread marco bra
2012/8/24 Benoît Minisini : > Le 24/08/2012 14:18, Bruce a écrit : >>> The shadow means that the GridView inner pass "under" the headers. >>> Something like that: >>> >>> >>> >>>(1) (2) >>>-- (3) -- >>> .=--

[Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal

2012-08-24 Thread John Rose
Charles & Ricardo, Sorry, I made a mistake & put in the wrong subject line on my last post. As I previously said: "The web page doesn't seem to give any list showing release, svn & revision correspondences. Please clarify.". Re the url quoted, it shows version 3.2.1. When I click the 'Browse Sou

Re: [Gambas-user] Shadow effects... please tell if you like it...

2012-08-24 Thread Benoît Minisini
Le 24/08/2012 14:18, Bruce a écrit : >> The shadow means that the GridView inner pass "under" the headers. >> Something like that: >> >> >> >>(1) (2) >>-- (3) -- >> .=--=. >>/ __

Re: [Gambas-user] Shadow effects... please tell if you like it...

2012-08-24 Thread Bruce
> The shadow means that the GridView inner pass "under" the headers. > Something like that: > > > > (1) (2) > -- (3) -- >.=--=. > / __ \ >| | / \ / \ | | >

Re: [Gambas-user] Shadow effects... please tell if you like it...

2012-08-24 Thread marco bra
2012/8/24 Benoît Minisini > > Le 24/08/2012 10:11, marco bra a écrit : > > 2012/8/23 Benoît Minisini > > > >> Le 23/08/2012 17:13, marco bra a écrit : > >>> 2012/8/23 Benoît Minisini > >>> > Le 23/08/2012 15:52, marco bra a écrit : > > Hi, > > > > here some graphic idea to dress

Re: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal

2012-08-24 Thread Girard Henri
Le 24. 08. 12 09:32, John Rose a écrit : > FAO Sebastian Kulesz, > > How do the svn & version shown on the Launchpad webpage of your ppa > relate to the version number, which Benoit quotes when asking people to > try a new version (for bug fixes / new features)? > > For example, Benoit asked me to

Re: [Gambas-user] The program has returned the value: 127

2012-08-24 Thread Benoît Minisini
Le 24/08/2012 10:43, Charlie Reinl a écrit : > > Salut, > > found that output in the IDE-Consol, may be important : > > signal127: symbol lookup error: /usr/local/lib/gambas3/gb.gtk.so: > undefined symbol: _gtk_window_group_get_current_grab > OK, -that's- the information I need! GASP... Which is

Re: [Gambas-user] Shadow effects... please tell if you like it...

2012-08-24 Thread Benoît Minisini
Le 24/08/2012 10:11, marco bra a écrit : > 2012/8/23 Benoît Minisini > >> Le 23/08/2012 17:13, marco bra a écrit : >>> 2012/8/23 Benoît Minisini >>> Le 23/08/2012 15:52, marco bra a écrit : > Hi, > > here some graphic idea to dress in a different way (see the attached > Gamba

Re: [Gambas-user] http://gambas.sourceforge.net/en/main.html

2012-08-24 Thread Charlie Reinl
Am Freitag, den 24.08.2012, 11:54 +0100 schrieb John Rose: > I've looked at http://gambas.sourceforge.net/en/main.html > > It doesn't seem to give any list showing release, svn & revision > correspondences. Please clarify. > > > ---

[Gambas-user] http://gambas.sourceforge.net/en/main.html

2012-08-24 Thread John Rose
I've looked at http://gambas.sourceforge.net/en/main.html It doesn't seem to give any list showing release, svn & revision correspondences. Please clarify. -- Live Security Virtual Conference Exclusive live event will co

Re: [Gambas-user] gb.ncurses project ?

2012-08-24 Thread wally
William, yes, this gives me a first idea how to use it. Thank you. Should this project also wotk in the IDE's console panle or do i need always to make an executable an run in separat terminal/Konsole ? wally On Thursday 23 August 2012 20:58:00 William Cabrera wrote: > Hi, i made this a littl

[Gambas-user] Small typos in XMLRPC code

2012-08-24 Thread Ron
gambas/2.0/gb.xml/src/rpc/gb.xml.rpc: RpcClient.class: IF ME.Mode = RpcClient.httpAsync THEN RAISE BadReply("Unable to contact with server, or bad reply from server") RpcClient.class: Error.Raise("Unable to contact with server, or bad reply from server") gambas/trunk/gb.xml/src/rpc/gb.xm

Re: [Gambas-user] The program has returned the value: 127

2012-08-24 Thread Charlie Reinl
Am Freitag, den 24.08.2012, 01:44 +0200 schrieb Benoît Minisini: > Le 24/08/2012 00:09, Karl Reinl a écrit : > > Salut, > > > > I open the IDE, create a new project and when I start it (F5) it get : > > > > The program has returned the value: 127 > > > > any clue ? > > > > > > Without more informa

Re: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal

2012-08-24 Thread Ru Vuott
> > No, the command you issued earlier is to install gambas3, to > update > it, yo need to execute: > > sudo apt-get update  (to update the package list) > sudo apt-get upgrade (to upgrade every package on your > system) > > To use the latest version, you need to do this on a daily > basis, as >

Re: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal

2012-08-24 Thread Ricardo Díaz Martín
Please, read http://gambas.sourceforge.net/en/main.html 2012/8/24 John Rose > FAO Sebastian Kulesz, > > How do the svn & version shown on the Launchpad webpage of your ppa > relate to the version number, which Benoit quotes when asking people to > try a new version (for bug fixes / new feature

Re: [Gambas-user] The program has returned the value: 127

2012-08-24 Thread Charlie Reinl
Am Freitag, den 24.08.2012, 01:44 +0200 schrieb Benoît Minisini: > Le 24/08/2012 00:09, Karl Reinl a écrit : > > Salut, > > > > I open the IDE, create a new project and when I start it (F5) it get : > > > > The program has returned the value: 127 > > > > any clue ? > > > > > > Without more informa

[Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal

2012-08-24 Thread John Rose
FAO Sebastian Kulesz, How do the svn & version shown on the Launchpad webpage of your ppa relate to the version number, which Benoit quotes when asking people to try a new version (for bug fixes / new features)? For example, Benoit asked me to try revision #5070 and the webpage currently states

Re: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal

2012-08-24 Thread marco bra
... >> will include endpoint security, mobile security and the > >> latest in malware > >> threats. > I strongly suggest you to use a stable release (latest stable is Ubuntu 12.04.1) instead of use Ubuntu 12.10 quantal ( this release is in alpha stage ) since you are asking how to update a Ubuntu