Re: [Gambas-user] Release of Gambas 3.3.2

2012-09-30 Thread Olivier Cruilles
Hi Benoit, I successfully compiled the Gambas 3.3.2. All it's ok and my Web Site now works with the Session.CookiePath. Great work. Cordialement, Olivier Cruilles Mail: linu...@club-internet.fr Le 1 oct. 2012 à 00:55, Laurent Carlier a écrit : > Le lundi 1 octobre 2012 00:34:01 Benoît Minis

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread RICHARD WALKER
>Just installed a rebuilt >>>3.3.2<<< rpm and my test project passed with >flying colours (or colors?) It was just a typo in the original message now corrected. The "flying colours" reference is an idiomatic expression of possibly military origin which originally meant something like "proudly ide

Re: [Gambas-user] TableView Data from database

2012-09-30 Thread rocko
You are so close Bruce! Actually I dont need to send data back to the database. Thats done with a DataBrowser that displays and updates the entire database. This is a separate entity that gets SOME data form the database IF the daysLeft field in the database is less than a certain amount, 20 days f

Re: [Gambas-user] TableView Data from database

2012-09-30 Thread rocko
Oh yes, but can I do an 'IF Then" that that limits the fields returned from the database? If (daysLeft < 21) Then sResult!DaysLeft = DataView1.Columns1.Daysleft And so on.. On 09/29/2012 03:47 AM, Benoît Minisini wrote: > Le 29/09/2012 05:11, rocko a écrit : >> Ok that makes a

Re: [Gambas-user] Issue 333 in gambas: In the report the spacing changed in the latest version

2012-09-30 Thread gambas
Updates: Labels: -Version Version-3.3.0 Comment #5 on issue 333 by benoit.m...@gmail.com: In the report the spacing changed in the latest version http://code.google.com/p/gambas/issues/detail?id=333 (No comment was entered for this change.)

Re: [Gambas-user] Issue 332 in gambas: Not able to use Desktop.ActiveWindow to change the active window

2012-09-30 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 332 by benoit.m...@gmail.com: Not able to use Desktop.ActiveWindow to change the active window http://code.google.com/p/gambas/issues/detail?id=332 Indeed. I tried some fixes but nothing works, although

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread Benoît Minisini
Le 01/10/2012 01:29, RICHARD WALKER a écrit : > or even, 3.3.2 :-( > I don't understand what you are saying. -- Benoît Minisini -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Downl

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread RICHARD WALKER
or even, 3.3.2 :-( -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread RICHARD WALKER
Just installed a rebuilt 3.2.2 rpm and my test project passed with flying colours (or colors?) R -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free tod

Re: [Gambas-user] Release of Gambas 3.3.2

2012-09-30 Thread Laurent Carlier
Le lundi 1 octobre 2012 00:34:01 Benoît Minisini a écrit : > Le 30/09/2012 23:40, Laurent Carlier a écrit : > > Le dimanche 30 septembre 2012 22:47:10 Benoît Minisini a écrit : > >> Hi, > >> > >> I have just released Gambas 3.3.2. with a few fixes for last-minute > >> annoying bugs (again). > >> >

Re: [Gambas-user] Release of Gambas 3.3.2

2012-09-30 Thread Benoît Minisini
Le 30/09/2012 23:40, Laurent Carlier a écrit : > Le dimanche 30 septembre 2012 22:47:10 Benoît Minisini a écrit : >> Hi, >> >> I have just released Gambas 3.3.2. with a few fixes for last-minute >> annoying bugs (again). >> >> All the information is on the web site! >> >> Regards, > > Is gb.libxml

[Gambas-user] File Explorer example Gtk errors

2012-09-30 Thread John Spikowski
I was trying the "File Explorer" example and noticed these errors in the console window of the IDE. The example seemed to run fine. (Explorer:11523): Gtk-CRITICAL **: IA__gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed ** (Explorer:11523): CRITICAL **: os_pager_set_parent: assertion

[Gambas-user] gb.net.pop3

2012-09-30 Thread John Spikowski
I just compiled from scratch the latest release and noticed the following exclusion. I have never noticed this issue before. 64 bit Linux DISTRIB_ID=Ubuntu DISTRIB_RELEASE=11.10 DISTRIB_CODENAME=oneiric Path: . URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk Repository Root:

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread RICHARD WALKER
Awestruck. No other word for it, I'm stricken with awe. Thank you Richard -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doublec

Re: [Gambas-user] Release of Gambas 3.3.2

2012-09-30 Thread Laurent Carlier
Le dimanche 30 septembre 2012 22:47:10 Benoît Minisini a écrit : > Hi, > > I have just released Gambas 3.3.2. with a few fixes for last-minute > annoying bugs (again). > > All the information is on the web site! > > Regards, Is gb.libxml deprecated ? ++ signature.asc Description: This is a digi

Re: [Gambas-user] R: Release of Gambas 3.3.2

2012-09-30 Thread Benoît Minisini
Le 30/09/2012 23:21, Ru Vuott a écrit : > uhmmm but... simply the word "3.3.2" is not visible, despite the version > update happens regularly. Or the version is not updated ? > > If it is the latter, how do I upgrade to 3.3.2 ? > > Thanks > vuott > If you are using /trunk, you don't care. Go

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread Emil Lenngren
It is the same in almost all languages. unsigned char i; for(i=0; i<255; i++){} and unsigned int i; for(i=0; i<4294967295U; i++){} in C will never terminate. In Gambas, Dim i As Integer For i = 0 To 2147483647 Next will not terminate either. You might think that because you say the range 0 To X,

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread RICHARD WALKER
Sinclair BASIC on the QL used to have a FOR loop epilogue which could be used to handle this sort of thing. A simple FOR loop was FOR index = start TO stop do some stuff END FOR index The NEXT control could be added to create the epilogue so: FOR byte = 0 TO 254 PRINT index NEXT index

Re: [Gambas-user] R: Release of Gambas 3.3.2

2012-09-30 Thread Ru Vuott
uhmmm but... simply the word "3.3.2" is not visible, despite the version update happens regularly. Or the version is not updated ? If it is the latter, how do I upgrade to 3.3.2 ? Thanks vuott --- Dom 30/9/12, Benoît Minisini ha scritto: > Da: Benoît Minisini > Oggetto: Re: [Gambas-u

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread RICHARD WALKER
Sinclair BASIC on the QL used to have a FOR loop epilogue which could be used to handle this sort of thing. A simple FOR loop was FOR index = start TO stop On 30/09/2012, Jussi Lahtinen wrote: > I think all Basics work this way! > > Test with any basic: > > For ii = 1 to 10 > Next > > Print ii

Re: [Gambas-user] R: Release of Gambas 3.3.2

2012-09-30 Thread Benoît Minisini
Le 30/09/2012 23:09, Ru Vuott a écrit : > Hello, > > I updated right now my Gambas-3 with rev. #5219. But in "System information" > window I still read : > If you are using /trunk, this is normal, the version may not be updated. Regards, -- Benoît Minisini

[Gambas-user] R: Release of Gambas 3.3.2

2012-09-30 Thread Ru Vuott
Hello, I updated right now my Gambas-3 with rev. #5219. But in "System information" window I still read : [Gambas 3] Version=3.3.0 Path=/usr/local/bin/gbx3 Why is it not written "3.3.2" ? Regards vuottt --- Dom 30/9/12, Benoît Minisini ha scritto: > Da: Benoît Minisini > Oggetto: [Gamb

Re: [Gambas-user] Crash with translation tool

2012-09-30 Thread Benoît Minisini
Le 30/09/2012 22:51, Jussi Lahtinen a écrit : > Translation tool says everything is already translated, which is not true, > and when I close the window IDE crashes. > > > [13] Null object. > FTranslate.ShiftToSort.1306 > > > I couldn't isolate the problem with quick look. > > I'll try again tomorr

[Gambas-user] Crash with translation tool

2012-09-30 Thread Jussi Lahtinen
Translation tool says everything is already translated, which is not true, and when I close the window IDE crashes. [13] Null object. FTranslate.ShiftToSort.1306 I couldn't isolate the problem with quick look. I'll try again tomorrow. Gambas 3 rev 5208 @ Xubuntu 12.04 64bit. Jussi

[Gambas-user] Release of Gambas 3.3.2

2012-09-30 Thread Benoît Minisini
Hi, I have just released Gambas 3.3.2. with a few fixes for last-minute annoying bugs (again). All the information is on the web site! Regards, -- Benoît Minisini -- Everyone hates slow websites. So do we. Make your

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread Benoît Minisini
Le 30/09/2012 18:42, Benoît Minisini a écrit : > Le 30/09/2012 15:15, RICHARD WALKER a écrit : >> Some more information, but I am not sure what it means... >> >> I have written a rudimentary testbed program to emulate the operation >> of the colour chooser thing and it works in both qt4 and gtk mod

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread Jussi Lahtinen
I think all Basics work this way! Test with any basic: For ii = 1 to 10 Next Print ii What you expect? I think all basic languages gives 11 as result. Jussi On Sun, Sep 30, 2012 at 10:14 PM, Kevin Fishburne < kevinfishbu...@eightvirtues.com> wrote: > This one bit me a while back and the

Re: [Gambas-user] New Printer example

2012-09-30 Thread Fabien Bodard
Public Sub GetPrinterResolution() Dim sResultPath, sResultRow As String Dim iPosition As Integer Shell "locate -b *.ppd | grep " & myPrinter.Name To sResultPath Shell "grep '*DefaultResolution:' " & sResultPath To sResultRow iPosition = InStr(sResultRow, Chr(58)) iPrinterDPI = Mid(sRe

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread Kevin Fishburne
This one bit me a while back and the answer was the same and I confirmed it through testing. Maybe the documentation for For...Next should mention it. I suspect many BASIC dialects don't work this way, which could lead to confusion for new users of GAMBAS. I could be wrong, but I think even GAM

Re: [Gambas-user] Forbid DataSource to fetch certain fields

2012-09-30 Thread Tobias Boege
On Sun, 30 Sep 2012, Beno?t Minisini wrote: > Le 30/09/2012 11:48, Tobias Boege a ?crit : > DataSource can take a SQL request instead of a table. But then you > cannot modify the records. > > -- > Beno?t Minisini > >>> > >>> Bruce, clever idea. That's certainly feasible but

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread Benoît Minisini
Le 30/09/2012 15:15, RICHARD WALKER a écrit : > Some more information, but I am not sure what it means... > > I have written a rudimentary testbed program to emulate the operation > of the colour chooser thing and it works in both qt4 and gtk modes. > What it does: > > 1. Take a screenshot of the a

Re: [Gambas-user] New Printer example

2012-09-30 Thread Benoît Minisini
Le 30/09/2012 12:14, Tobias Boege a écrit : > Hi Benoit and Printer people, > > Hans delved into the Printer class and concluded that there are actually > three Printer examples needed: > (1) Text > (2) Pictures > (3) Drawings > Because printing those are somewhat different processes. > > He wrote

Re: [Gambas-user] Forbid DataSource to fetch certain fields

2012-09-30 Thread Benoît Minisini
Le 30/09/2012 11:48, Tobias Boege a écrit : DataSource can take a SQL request instead of a table. But then you cannot modify the records. -- Beno?t Minisini >>> >>> Bruce, clever idea. That's certainly feasible but a workaround. >>> Benoit, is there any reason there is no s

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread Jussi Lahtinen
It is not bug, Richard is right. Jussi On Sun, Sep 30, 2012 at 6:32 PM, Tobias Boege wrote: > On Sun, 30 Sep 2012, Ru Vuott wrote: > > ...I have: > > > > [Gambas 3] > > Version=3.3.0 > > > > > > > > > > > > --- Dom 30/9/12, Ru Vuott ha scritto: > > > > > Da: Ru Vuott > > > Oggetto: [Gambas-

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread Tobias Boege
On Sun, 30 Sep 2012, Ru Vuott wrote: > ...I have: > > [Gambas 3] > Version=3.3.0 > > > > > > --- Dom 30/9/12, Ru Vuott ha scritto: > > > Da: Ru Vuott > > Oggetto: [Gambas-user] Unending cycle "For...Next" with variable As Byte > > A: gambas-user@lists.sourceforge.net > > Data: Domenica 30

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread Ru Vuott
Thanks, Richard. vuottt --- Dom 30/9/12, RICHARD WALKER ha scritto: > Da: RICHARD WALKER > Oggetto: Re: [Gambas-user] R: Unending cycle "For...Next" with variable As > Byte > A: "mailing list for gambas users" > Data: Domenica 30 settembre 2012, 17:11 > Just guessing here, but valid values

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread RICHARD WALKER
Just guessing here, but valid values for Byte are 0-255. From observation I have seen that FOR loops terminate with the loop index at final value+1. For Byte that would probably be zero (if it just wraps around from 255 to 0) so there is no reason to terminate the loop. Richard --

[Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread Ru Vuott
...I have: [Gambas 3] Version=3.3.0 --- Dom 30/9/12, Ru Vuott ha scritto: > Da: Ru Vuott > Oggetto: [Gambas-user] Unending cycle "For...Next" with variable As Byte > A: gambas-user@lists.sourceforge.net > Data: Domenica 30 settembre 2012, 16:57 > Hello, > > maybe I'm in the clouds but

[Gambas-user] Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread Ru Vuott
Hello, maybe I'm in the clouds but I don't understand why this cycle: ** Public Sub Button1_Click() Dim j As Byte For j = 0 To 255 Print j Next End ** runs "ad infinitum" ! Regards vuott -

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread RICHARD WALKER
Some more information, but I am not sure what it means... I have written a rudimentary testbed program to emulate the operation of the colour chooser thing and it works in both qt4 and gtk modes. What it does: 1. Take a screenshot of the area around the mouse to prove that screenshots work 2. Cli

Re: [Gambas-user] New Printer example

2012-09-30 Thread Tobias Boege
On Sun, 30 Sep 2012, Tobias Boege wrote: > Hi Benoit and Printer people, > > Hans delved into the Printer class and concluded that there are actually > three Printer examples needed: > (1) Text > (2) Pictures > (3) Drawings > Because printing those are somewhat different processes. > > He wrote a

[Gambas-user] New Printer example

2012-09-30 Thread Tobias Boege
Hi Benoit and Printer people, Hans delved into the Printer class and concluded that there are actually three Printer examples needed: (1) Text (2) Pictures (3) Drawings Because printing those are somewhat different processes. He wrote a class to address (2) - it's attached - and would like to hea

Re: [Gambas-user] Forbid DataSource to fetch certain fields

2012-09-30 Thread Tobias Boege
> >> DataSource can take a SQL request instead of a table. But then you > >> cannot modify the records. > >> > >> -- > >> Beno?t Minisini > > > > Bruce, clever idea. That's certainly feasible but a workaround. > > Benoit, is there any reason there is no such DataSource.Columns As String[]? > > > >